/* SECOCET — cambia estos colores para personalizar la identidad. */
:root {
  --paper: #f5f4ef;
  --ink: #171817;
  --muted: #62635f;
  --blue: #244bff;
  --line: #d7d8cf;
  --white: #fff;
  --shell: 1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { color: var(--white); background: var(--blue); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
button, a { touch-action: manipulation; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 6px; }
.shell { width: calc(100% - 112px); max-width: var(--shell); margin-inline: auto; }
.section-space { padding-top: 112px; padding-bottom: 112px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 20px; top: -120px; z-index: 20; color: white; background: var(--ink); padding: 14px 20px; }
.skip-link:focus { top: 12px; }

/* Encabezado */
.site-header { position: sticky; z-index: 10; top: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 98px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex-shrink: 0; }
.brand-mark { display: grid; place-content: center; width: 43px; height: 43px; border-radius: 10px; color: white; background: var(--blue); font-weight: 800; font-size: 39px; letter-spacing: -4px; line-height: 1; padding: 0 5px 5px 0; }
.brand-lockup { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-size: 23px; font-weight: 800; letter-spacing: -.8px; }
.brand-tagline { font-size: 9px; text-transform: uppercase; letter-spacing: 1.3px; }
.navigation { display: flex; gap: 32px; align-items: center; font-size: 13px; font-weight: 500; }
.navigation a { padding-block: 12px; }
.navigation a:hover { color: var(--blue); }
.navigation .nav-contact { padding: 12px 18px; display: flex; gap: 18px; align-items: center; border: 1px solid var(--ink); border-radius: 28px; transition: background .18s, color .18s; }
.navigation .nav-contact:hover { color: var(--white); background: var(--ink); }
.nav-contact span { font-size: 20px; line-height: 1; }
.menu-toggle { padding: 12px 0 12px 12px; background: none; border: 0; align-items: center; gap: 12px; font-size: 13px; color: var(--ink); }
.menu-lines, .menu-lines::after { display: block; width: 19px; height: 1px; background: currentColor; }
.menu-lines { position: relative; margin-top: -5px; }
.menu-lines::after { position: absolute; content: ''; top: 6px; }

/* Portada */
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: 36px; padding-block: 63px 62px; }
.hero-copy { position: relative; z-index: 1; padding-block: 7px; }
.eyebrow, .section-label { font-size: 11px; font-weight: 600; letter-spacing: 1.8px; line-height: 1.6; text-transform: uppercase; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 31px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
h1 { font-size: clamp(64px, 6.9vw, 99px); line-height: .98; letter-spacing: -6px; font-weight: 700; }
h1 span { display: block; }
.accent { color: var(--blue); }
.hero-description { max-width: 360px; color: var(--muted); font-size: 15px; line-height: 1.8; margin-block: 29px 27px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 25px; min-height: 56px; padding: 9px 10px 9px 23px; border: 1px solid transparent; border-radius: 36px; font-size: 13px; line-height: 1.3; font-weight: 500; transition: background .18s, transform .18s; }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--blue); transform: translateY(-2px); }
.button-arrow { display: grid; place-content: center; width: 36px; height: 36px; flex-shrink: 0; background: white; color: var(--ink); border-radius: 50%; font-size: 23px; }
.hero-note { margin-top: 19px; font-size: 11px; color: var(--muted); }
.hero-visual { position: relative; min-width: 0; background: #e9e6e1; border-radius: 4px; overflow: hidden; }
.hero-visual img { width: 100%; height: auto; aspect-ratio: 1 / 1.12; object-fit: cover; }
.image-label { position: absolute; z-index: 1; top: 22px; left: 24px; display: flex; align-items: center; gap: 8px; font-size: 9px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.image-label span { color: var(--blue); font-size: 19px; }
.hero-visual figcaption { position: absolute; bottom: 0; inset-inline: 0; display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 16px 24px; background: rgba(245,244,239,.95); color: var(--ink); font-size: 9px; text-transform: uppercase; letter-spacing: 1.1px; }
.discipline-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding-block: 23px; }
.strip-inner > span:not(.strip-star) { font-weight: 600; font-size: clamp(15px, 2.5vw, 31px); letter-spacing: -1px; }
.strip-star { color: var(--blue); font-size: 35px; line-height: 1; }

/* Servicios */
.section-label { color: var(--blue); margin-bottom: 22px; }
.section-heading { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end; margin-bottom: 59px; }
h2 { font-size: clamp(34px, 4.1vw, 54px); line-height: 1.09; letter-spacing: -2.4px; font-weight: 500; }
.section-description { color: var(--muted); font-size: 14px; line-height: 1.85; max-width: 352px; padding-bottom: 3px; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; row-gap: 42px; }
.service { border-top: 1px solid var(--line); padding-top: 21px; }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 19px; }
.item-number { font-size: 11px; color: var(--muted); }
.service-symbol { color: var(--blue); font-size: 27px; }
h3 { font-size: 25px; line-height: 1.2; letter-spacing: -.7px; font-weight: 500; }
.service > p { max-width: 430px; font-size: 14px; color: var(--muted); line-height: 1.85; margin-top: 16px; }
.tags { padding: 0; margin: 24px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 7px 11px; border: 1px solid var(--line); border-radius: 20px; font-size: 10px; line-height: 1.4; color: #52534f; }

/* Galería editorial: imágenes completas, composición escalonada. */
.gallery-section { background: #ebede7; border-top: 1px solid var(--line); }
.gallery-section .section-heading { align-items: end; }
.gallery-hint { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 11px; color: #444640; }
.gallery-hint span { font-size: 19px; color: var(--blue); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; align-items: start; }
.gallery-card:nth-child(3n + 2) { padding-top: 62px; }
.gallery-card:nth-child(3n) { padding-top: 124px; }
.gallery-open { position: relative; display: block; overflow: hidden; border-radius: 3px; background: #dfe1d9; }
.gallery-open > img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; transition: transform .4s ease; }
.gallery-open:hover > img { transform: scale(1.035); }
.gallery-expand { position: absolute; bottom: 13px; right: 13px; display: flex; gap: 11px; align-items: center; padding: 9px 12px; border-radius: 24px; background: var(--paper); color: var(--ink); font-size: 10px; box-shadow: 0 2px 10px #0000000d; }
.gallery-expand > span { font-size: 18px; line-height: 1; }
.gallery-card figcaption { padding-top: 20px; }
.gallery-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; color: var(--blue); font-size: 9px; font-weight: 600; letter-spacing: 1.1px; text-transform: uppercase; }
.gallery-meta > span:last-child { color: var(--muted); letter-spacing: 0; }
.gallery-card h3 { font-size: clamp(21px, 1.85vw, 26px); line-height: 1.17; letter-spacing: -.7px; }
.gallery-card figcaption > p { margin-top: 12px; color: #585b54; font-size: 12px; line-height: 1.75; }
.gallery-disclosure { display: flex; align-items: flex-start; gap: 10px; border-top: 1px solid #cdd1c7; padding-top: 22px; margin-top: 45px; color: #575b53; font-size: 10px; line-height: 1.7; }
.gallery-disclosure .status-dot { flex-shrink: 0; margin-top: 5px; width: 5px; height: 5px; }

/* Visor nativo: mantiene el foco dentro, permite Escape y oculta el fondo. */
.lightbox-open { overflow: hidden; }
.gallery-dialog { width: min(1160px, calc(100% - 48px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #3d403a; border-radius: 10px; background: #171817; color: var(--paper); box-shadow: 0 25px 100px #0008; overflow: auto; }
.gallery-dialog[open] { display: flex; flex-direction: column; }
.gallery-dialog::backdrop { background: #0e120ee8; }
.gallery-dialog :focus-visible { outline-color: #a0b0ff; outline-offset: 3px; }
.lightbox-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 14px 22px; }
.lightbox-category { color: #c3cdfd; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.lightbox-close { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 44px; padding: 8px 15px; border: 1px solid #51564b; border-radius: 25px; color: var(--paper); background: transparent; font-size: 12px; }
.lightbox-close > span { font-size: 24px; line-height: 1; }
.lightbox-stage { padding-inline: 22px; flex: 1; min-height: 0; }
.lightbox-image { width: 100%; height: min(62dvh, 710px); object-fit: contain; }
.lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px; }
.lightbox-copy { max-width: 740px; }
.lightbox-copy h2 { font-size: 24px; letter-spacing: -.6px; line-height: 1.2; }
.lightbox-copy p { font-size: 12px; color: #c5c9bf; line-height: 1.7; margin-top: 8px; }
.lightbox-navigation { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.lightbox-navigation button { display: grid; place-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #51564b; border-radius: 50%; color: var(--paper); background: transparent; font-size: 23px; }
.lightbox-navigation button:hover, .lightbox-close:hover { background: #30332d; }
.lightbox-count { min-width: 48px; text-align: center; color: #d6dacf; font-size: 11px; font-variant-numeric: tabular-nums; }

/* Enfoque */
.approach { background: var(--blue); color: var(--white); }
.approach .section-label { color: #fff; }
.approach .section-description { color: #edf0ff; }
.approach h2 { font-weight: 400; }
.approach :focus-visible { outline-color: white; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px; }
.steps li { border-top: 1px solid rgba(255,255,255,.4); padding-top: 25px; }
.step-number { display: block; font-size: 11px; letter-spacing: 1px; margin-bottom: 42px; color: #edf0ff; }
.steps h3 { margin-bottom: 16px; font-size: 30px; }
.steps p { font-size: 13px; line-height: 1.85; color: #edf0ff; max-width: 290px; }
.approach-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid rgba(255,255,255,.4); padding-top: 27px; margin-top: 55px; font-size: 11px; letter-spacing: .4px; }
.approach-foot > span:last-child { font-size: 30px; line-height: 1; }

/* Cierre, contacto y pie */
.contact h2, .closing h2 { font-size: clamp(44px, 5.7vw, 77px); line-height: 1.06; letter-spacing: -3px; }
.contact h2 span, .closing h2 span { color: var(--blue); }
.contact > p:not(.section-label) { margin-block: 24px 30px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.contact-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.email-link { display: flex; align-items: center; gap: 14px; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; overflow-wrap: anywhere; }
.email-link:hover { color: var(--blue); }
.closing { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 48px; }
.closing .section-label { grid-column: 1 / -1; }
.closing > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.85; padding-bottom: 6px; }
.site-footer { color: var(--paper); background: var(--ink); padding-top: 40px; }
.footer-brand { display: flex; justify-content: space-between; align-items: baseline; font-size: clamp(58px, 11.7vw, 167px); font-weight: 700; line-height: 1.2; letter-spacing: -8px; }
.footer-brand > span { color: #8398ff; font-weight: 400; font-size: .7em; }
.footer-top { padding-bottom: 31px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; border-top: 1px solid #3a3c37; font-size: 10px; line-height: 1.6; color: #c8cac2; }
.footer-bottom a { padding-block: 10px; display: flex; align-items: center; gap: 14px; }
.site-footer :focus-visible { outline-color: #a0b0ff; }

@media (min-width: 1560px) {
  .hero { padding-block: 75px; }
  h1 { font-size: 111px; }
}

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { min-height: 85px; }
  .navigation { gap: 22px; font-size: 12px; }
  .hero { gap: 25px; padding-block: 52px; }
  h1 { letter-spacing: -4.5px; }
  .hero-description { font-size: 14px; }
  .hero-visual img { aspect-ratio: 1 / 1.25; }
  .image-label { left: 18px; top: 18px; font-size: 8px; }
  .hero-visual figcaption { padding: 14px 18px; font-size: 8px; }
  .section-space { padding-block: 86px; }
  .section-heading { gap: 40px; }
  .services-grid { column-gap: 36px; }
  .gallery-grid { gap: 21px; }
  .gallery-card:nth-child(3n + 2) { padding-top: 42px; }
  .gallery-card:nth-child(3n) { padding-top: 84px; }
  .gallery-card h3 { font-size: 22px; }
  .footer-brand { letter-spacing: -5px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 90px; }
  .shell { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; min-height: 78px; gap: 0 20px; padding-block: 16px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 9px; font-size: 34px; }
  .brand-name { font-size: 21px; }
  .brand-tagline { font-size: 8px; }
  .menu-toggle:not([hidden]) { display: flex; }
  .navigation { width: 100%; flex-wrap: wrap; gap: 0 22px; padding-top: 16px; font-size: 13px; }
  .navigation .nav-contact { padding: 10px 14px; margin-top: 3px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-block: 45px 38px; }
  .hero-copy { padding: 0; }
  .eyebrow { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 26px; }
  h1 { font-size: clamp(66px, 12.5vw, 92px); letter-spacing: -4px; line-height: .99; }
  .hero-description { max-width: 450px; margin-block: 24px; font-size: 15px; }
  .hero-note { margin-top: 17px; }
  .hero-visual img { aspect-ratio: 1.14 / 1; object-fit: cover; }
  .hero-visual { max-width: 580px; width: 100%; }
  .image-label { font-size: 8px; }
  .hero-visual figcaption { font-size: 8px; padding: 12px 18px; }
  .strip-inner { gap: 12px; padding-block: 21px; }
  .strip-inner > span:not(.strip-star) { letter-spacing: -.5px; font-size: clamp(13px, 3.2vw, 20px); }
  .strip-star { font-size: 24px; }
  .final-star { display: none; }
  .section-space { padding-block: 67px; }
  .section-heading { grid-template-columns: 1fr; gap: 23px; margin-bottom: 35px; }
  .section-description { max-width: 480px; font-size: 14px; }
  .section-label { font-size: 10px; margin-bottom: 17px; }
  h2 { font-size: clamp(33px, 6.5vw, 44px); letter-spacing: -1.6px; }
  .services-grid { grid-template-columns: 1fr; gap: 34px; }
  .service { padding-top: 17px; }
  .service-top { margin-bottom: 15px; }
  .service > p { max-width: 520px; }
  .tags { margin-top: 19px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 37px; }
  .gallery-card:nth-child(n) { padding-top: 0; }
  .gallery-card h3 { font-size: 25px; }
  .gallery-card figcaption > p { max-width: 470px; font-size: 13px; }
  .gallery-meta { font-size: 10px; }
  .gallery-hint { margin-top: 15px; }
  .gallery-expand { bottom: 15px; right: 15px; padding: 11px 15px; }
  .gallery-disclosure { margin-top: 35px; }
  .gallery-dialog { width: calc(100% - 20px); max-height: calc(100dvh - 20px); border-radius: 7px; }
  .lightbox-toolbar { padding: 10px 14px; gap: 12px; }
  .lightbox-category { font-size: 9px; letter-spacing: .8px; }
  .lightbox-stage { padding-inline: 10px; }
  .lightbox-image { height: min(50dvh, 560px); }
  .lightbox-footer { align-items: flex-start; flex-direction: column; gap: 18px; padding: 20px 15px; }
  .lightbox-copy h2 { font-size: 22px; }
  .lightbox-copy p { font-size: 12px; }
  .lightbox-navigation { align-self: flex-end; }
  .steps { grid-template-columns: 1fr; gap: 33px; }
  .steps li { padding-top: 20px; }
  .step-number { margin-bottom: 20px; }
  .steps h3 { font-size: 28px; }
  .steps p { max-width: 500px; font-size: 14px; }
  .approach-foot { margin-top: 35px; font-size: 10px; }
  .contact h2, .closing h2 { font-size: clamp(42px, 8.2vw, 64px); letter-spacing: -2px; }
  .contact-actions { gap: 23px; }
  .closing { grid-template-columns: 1fr; gap: 0; }
  .closing > p:last-child { margin-top: 24px; }
  .site-footer { padding-top: 28px; }
  .footer-brand { font-size: clamp(47px, 11.6vw, 85px); letter-spacing: -3px; }
  .footer-top { padding-bottom: 26px; }
  .footer-bottom { padding-block: 18px; gap: 7px 16px; font-size: 9px; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: 60px; }
  .brand-name { font-size: 19px; }
  .hero-visual figcaption { font-size: 7px; }
  .button { font-size: 12px; gap: 14px; padding-left: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
