/* ============================================================================
   KUO REDESIGN — paleta blanco/grises, estructura literal del sitio actual
============================================================================ */

:root {
  --w: #FFFFFF;
  --w2: #FAFAFA;
  --w3: #F2F2F2;
  --ink: #1A1A1A;
  --ink-soft: #333333;
  --mute: #707070;
  --mute-2: #9A9A9A;
  --line: #E5E5E5;
  --teal: #3F6E68;
  --teal-d: #2E5550;
  --header-h: 84px;
  --f-display: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-sans: "Nunito", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--w); color: var(--ink); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }


/* ========================================================================== */
/*  VARIATION A — EDITORIAL                                                   */
/* ========================================================================== */
.ed-page { background: var(--w); color: var(--ink); font-family: var(--f-sans); font-size: 16px; line-height: 1.6; }
.ed-page h1, .ed-page h2, .ed-page h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.015em; margin: 0; }
.ed-eyebrow { font-family: var(--f-sans); font-weight: 600; font-size: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 16px; text-align: center; }
.ed-eyebrow-light { color: var(--teal); }

/* Nav — más fino, delicado */
.ed-nav {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  padding: 10px 64px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
}
.ed-logo { display: flex; align-items: center; }
.ed-logo img { height: 64px; width: auto; border-radius: 0; object-fit: contain; }
.ed-links { display: flex; gap: 40px; justify-self: center; }
.ed-links a { font-size: 16px; color: var(--ink-soft); font-weight: 500; }
.ed-links a:hover { color: var(--teal); }
.ed-social { display: flex; gap: 18px; align-items: center; color: var(--mute); }
.ed-social svg { width: 20px; height: 20px; }
.ed-social a:hover { color: var(--teal); }

/* Hero — fills viewport below sticky header, no white space */
.ed-hero { padding: 0; }
.ed-hero-fig { margin: 0; position: relative; width: 100%; height: calc(100vh - var(--header-h)); min-height: 520px; overflow: hidden; }
.ed-hero-fig img { width: 100%; height: 100%; object-fit: cover; }
.ed-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; padding: 64px 72px; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%); color: #fff; }
.ed-hero-overlay h1 { font-size: clamp(44px, 5.6vw, 88px); line-height: 1.05; max-width: 14ch; color: #fff; font-weight: 600; }
.ed-hero-lead { font-size: 18px; line-height: 1.5; max-width: 56ch; color: rgba(255,255,255,0.92); margin: 0; }
.ed-hero-cta { align-self: start; padding: 0; background: transparent; color: #7FB8B0; border: 0; font-size: 17px; font-weight: 700; letter-spacing: 0.02em; transition: color .2s; display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; }
.ed-hero-cta:hover { color: #fff; }

/* About */
.ed-about { padding: 120px 64px; background: var(--w2); }
.ed-about-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; max-width: 1280px; margin-inline: auto; align-items: start; }
.ed-about-grid > div:first-child .ed-eyebrow { margin-bottom: 14px; }
.ed-about-grid h2 { font-size: clamp(32px, 3.2vw, 48px); line-height: 1.1; font-weight: 600; }
.ed-about-body p { margin: 0 0 18px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }

/* Services */
.ed-services { padding: 120px 64px; }
.ed-services h2 { font-size: clamp(32px, 3.2vw, 48px); text-align: center; margin-bottom: 64px; font-weight: 600; }
.ed-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; max-width: 1280px; margin-inline: auto; }
.ed-srv { display: flex; flex-direction: column; gap: 14px; position: relative; }
.ed-srv-img { aspect-ratio: 4/3; overflow: hidden; background: var(--w2); display: flex; align-items: center; justify-content: center; padding: 0; }
.ed-srv-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s ease; }
.ed-srv:hover .ed-srv-img img { transform: scale(1.04); }
.ed-srv-n { font-family: var(--f-sans); font-weight: 600; font-size: 12px; color: var(--mute); letter-spacing: 0.14em; margin-top: 8px; }
.ed-srv h3 { font-size: 22px; font-weight: 600; }
.ed-srv p { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.ed-srv-link { font-size: 13px; font-weight: 600; color: var(--teal); padding-bottom: 0; align-self: start; text-transform: uppercase; letter-spacing: 0.08em; border: 0; transition: color .2s; }
.ed-srv-link:hover { color: var(--teal-d); }

/* Works (mosaic) — no crop, respeta proporción del plano/render */
.ed-works { padding: 120px 64px; background: var(--w2); }
.ed-works h2 { font-size: clamp(32px, 3.2vw, 48px); text-align: center; margin-bottom: 64px; font-weight: 600; }
.ed-works-grid { columns: 3; column-gap: 16px; max-width: 1400px; margin-inline: auto; }
.ed-w { margin: 0 0 16px; overflow: hidden; background: var(--w3); position: relative; cursor: zoom-in; break-inside: avoid; display: block; }
.ed-w img { width: 100%; height: auto; display: block; transition: transform .6s ease, opacity .3s; }
.ed-w:hover img { transform: scale(1.03); }
.ed-w-zoom { display: none; }
.ed-w:hover img { transform: scale(1.05); }

/* Lightbox */
.ed-lb { position: fixed; inset: 0; background: rgba(10,10,10,0.94); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 64px; animation: edFade .25s ease; }
@keyframes edFade { from { opacity: 0; } to { opacity: 1; } }
.ed-lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; cursor: default; }
.ed-lb-close, .ed-lb-prev, .ed-lb-next { position: absolute; background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; font-size: 24px; line-height: 1; transition: all .2s; }
.ed-lb-close:hover, .ed-lb-prev:hover, .ed-lb-next:hover { background: #fff; color: var(--ink); border-color: #fff; }
.ed-lb-close { top: 32px; right: 32px; font-size: 28px; }
.ed-lb-prev { left: 32px; top: 50%; transform: translateY(-50%); }
.ed-lb-next { right: 32px; top: 50%; transform: translateY(-50%); }
.ed-lb-count { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.08em; }

/* Stats */
.ed-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 64px 64px; max-width: 900px; margin-inline: auto; gap: 32px; text-align: center; }
.ed-stats div { display: flex; flex-direction: column; gap: 10px; }
.ed-stats strong { font-family: var(--f-display); font-weight: 300; font-size: 40px; line-height: 1; letter-spacing: -0.01em; color: var(--ink); }
.ed-stats span { font-size: 10px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.18em; font-weight: 500; }

/* Team — sin círculos, foto cuadrada vertical sutil */
.ed-team { padding: 120px 64px; background: var(--w2); }
.ed-team h2 { font-size: clamp(32px, 3.2vw, 48px); text-align: center; margin-bottom: 64px; font-weight: 600; }
.ed-team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 28px; max-width: 1200px; margin-inline: auto; }
.ed-member { text-align: left; }
.ed-member-photo { aspect-ratio: 3/4; border-radius: 0; overflow: hidden; margin: 0 0 18px; background: var(--w3); }
.ed-member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .4s, transform .6s; }
.ed-member:hover .ed-member-photo img { filter: grayscale(0); transform: scale(1.03); }
.ed-member h3 { font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.ed-member p { margin: 0; font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }

/* FAQ */
.ed-faq { padding: 120px 64px; }
.ed-faq h2 { font-size: clamp(32px, 3.2vw, 48px); text-align: center; margin-bottom: 48px; font-weight: 600; }
.ed-faq-list { list-style: none; padding: 0; margin: 0 auto; max-width: 880px; border-top: 1px solid var(--line); }
.ed-faq-list li { border-bottom: 1px solid var(--line); }
.ed-faq-list button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 22px 0; font-family: var(--f-display); font-weight: 600; font-size: 18px; text-align: left; }
.ed-faq-toggle { color: var(--teal); font-family: var(--f-sans); font-size: 22px; }
.ed-faq-body { padding: 0 0 24px; max-width: 70ch; }
.ed-faq-body p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }

/* Contact — encuadrado, formulario en card sutil. Llena el viewport al navegar a #contacto */
.ed-contact { padding: 64px 64px 56px; background: var(--w2); color: var(--ink); scroll-margin-top: var(--header-h); min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; }
.ed-contact .ed-eyebrow { color: var(--teal); text-align: center; margin-bottom: 12px; }
.ed-contact-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.ed-contact h2 { font-size: clamp(28px, 2.8vw, 40px); margin-bottom: 10px; font-weight: 600; color: var(--ink); line-height: 1.1; }
.ed-contact-sub { font-size: 15px; color: var(--mute); margin: 0 auto; max-width: 56ch; }
.ed-contact-grid { display: block; max-width: 720px; margin-inline: auto; background: var(--w); padding: 36px 48px; border: 1px solid var(--line); }
.ed-form { display: grid; gap: 20px; }
.ed-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ed-form label { display: flex; flex-direction: column; gap: 8px; }
.ed-form label span { font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 600; }
.ed-form input, .ed-form textarea { background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 8px 0; font: inherit; font-size: 15px; color: var(--ink); outline: none; }
.ed-form input::placeholder, .ed-form textarea::placeholder { color: var(--mute-2); }
.ed-form input:focus, .ed-form textarea:focus { border-color: var(--ink); }
/* Quitar el fondo amarillo/azul del autocompletar del navegador */
.ed-form input:-webkit-autofill,
.ed-form input:-webkit-autofill:hover,
.ed-form input:-webkit-autofill:focus,
.ed-form textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #FFFFFF inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 5000s ease-in-out 0s;
}
.ed-form textarea { resize: vertical; min-height: 90px; }
.ed-form button { background: transparent; color: var(--teal); padding: 0; font-size: 14px; font-weight: 700; letter-spacing: 0.04em; align-self: start; margin-top: 8px; text-transform: uppercase; transition: color .2s; border: 0; justify-self: center; }
.ed-form button:hover { color: var(--teal-d); }
.ed-form button:disabled { color: var(--mute); cursor: wait; }
.ed-form-msg { margin: 8px 0 0; text-align: center; font-size: 13px; letter-spacing: 0.02em; }
.ed-form-msg--ok { color: var(--teal); }
.ed-form-msg--err { color: #B53A3A; }

/* Info abajo, en línea, links sutiles */
.ed-contact-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; max-width: 1000px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--line); }
.ed-contact-info > div { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.ed-ci-label { font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.12em; margin: 0; font-weight: 600; }
.ed-ci-val { margin: 0; font-size: 16px; color: var(--ink); font-weight: 500; }
.ed-ci-val a { color: var(--teal); transition: color .2s; font-weight: 700; }
.ed-ci-val a:hover { color: var(--teal-d); }
.ed-ci-social-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; font-size: 15px; }

/* Foot — multi-columna, jerárquico */
.ed-foot { background: #0F0F0F; color: rgba(255,255,255,0.55); padding: 64px 64px 24px; }
.ed-foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 56px; max-width: 1200px; margin: 0 auto 48px; }
.ed-foot-brand img { height: 32px; width: auto; margin-bottom: 18px; filter: invert(1) brightness(1.5); }
.ed-foot-brand p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; max-width: 38ch; }
.ed-foot-col { display: flex; flex-direction: column; gap: 12px; }
.ed-foot-h { font-size: 11px; color: var(--w); text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 8px; font-weight: 700; }
.ed-foot-col a, .ed-foot-col span { font-size: 14px; color: rgba(255,255,255,0.55); }
.ed-foot-col a:hover { color: #7FB8B0; }
.ed-foot-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); max-width: 1200px; margin: 0 auto; font-size: 12px; color: rgba(255,255,255,0.4); }


/* ========================================================================== */
/*  VARIATION B — ATELIER                                                     */
/* ========================================================================== */
.at-page { background: var(--w); color: var(--ink); font-family: var(--f-sans); font-size: 15px; line-height: 1.6; }
.at-page h1, .at-page h2, .at-page h3 { margin: 0; font-weight: 500; letter-spacing: -0.015em; }

/* Nav */
.at-nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 20px 48px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); }
.at-logo img { height: 38px; width: auto; border-radius: 0; object-fit: contain; }
.at-nav nav { display: flex; gap: 32px; justify-self: center; }
.at-nav nav a { font-size: 14px; color: var(--ink-soft); }
.at-nav nav a:hover { color: var(--teal); }
.at-nav-social { display: flex; gap: 18px; font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
.at-nav-social a:hover { color: var(--teal); }

/* Hero */
.at-hero { padding: 80px 48px 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1400px; margin-inline: auto; }
.at-hero-text { display: flex; flex-direction: column; gap: 24px; }
.at-eyebrow { font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.08em; }
.at-hero h1 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(48px, 5.4vw, 92px); line-height: 1; letter-spacing: -0.03em; }
.at-hero-text p { font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 50ch; line-height: 1.55; }
.at-hero-fig { margin: 0; }
.at-hero-fig img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* About */
.at-about { padding: 96px 48px; border-top: 1px solid var(--line); }
.at-about h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 48px; max-width: 1400px; margin-inline: auto; }
.at-about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1400px; margin-inline: auto; }
.at-about-cols p { margin: 0; font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; }

/* Services */
.at-services { padding: 96px 48px; background: var(--w2); border-top: 1px solid var(--line); }
.at-services h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 56px; max-width: 1400px; margin-inline: auto; }
.at-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1400px; margin-inline: auto; }
.at-srv { background: var(--w); border: 1px solid var(--line); padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.at-srv-n { position: absolute; top: 24px; right: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--mute); }
.at-srv-img { aspect-ratio: 4/3; overflow: hidden; background: var(--w3); }
.at-srv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.at-srv:hover .at-srv-img img { transform: scale(1.04); }
.at-srv h3 { font-family: var(--f-sans); font-weight: 500; font-size: 20px; }
.at-srv p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.at-srv-link { font-size: 13px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.06em; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.at-srv-link::after { content: " →"; }

/* Works */
.at-works { padding: 96px 48px; }
.at-works h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 48px; max-width: 1400px; margin-inline: auto; }
.at-works-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 1400px; margin-inline: auto; }
.at-w { margin: 0; aspect-ratio: 4/3; overflow: hidden; background: var(--w3); }
.at-w img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.at-w:hover img { transform: scale(1.04); }

/* Stats */
.at-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 64px 48px; background: var(--ink); color: var(--w); gap: 0; }
.at-stats > div { padding: 24px 32px; border-right: 1px solid rgba(255,255,255,0.12); display: flex; flex-direction: column; gap: 8px; }
.at-stats > div:last-child { border-right: 0; }
.at-stats strong { font-family: var(--f-sans); font-weight: 300; font-size: 72px; line-height: 1; letter-spacing: -0.03em; }
.at-stats span { font-size: 13px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.06em; }

/* Team */
.at-team { padding: 96px 48px; }
.at-team h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 48px; max-width: 1400px; margin-inline: auto; }
.at-team-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; max-width: 1400px; margin-inline: auto; }
.at-member { display: flex; flex-direction: column; gap: 12px; }
.at-member-photo { aspect-ratio: 1/1; overflow: hidden; background: var(--w3); }
.at-member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .4s; }
.at-member:hover .at-member-photo img { filter: grayscale(0); }
.at-member h3 { font-family: var(--f-sans); font-weight: 500; font-size: 15px; }
.at-member p { margin: 0; font-size: 12px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.05em; }

/* FAQ */
.at-faq { padding: 96px 48px; background: var(--w2); border-top: 1px solid var(--line); }
.at-faq h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 32px; max-width: 1100px; margin-inline: auto; }
.at-faq ul { list-style: none; padding: 0; margin: 0 auto; max-width: 1100px; border-top: 1px solid var(--line); }
.at-faq li { border-bottom: 1px solid var(--line); }
.at-faq li button { display: flex; justify-content: space-between; width: 100%; padding: 22px 0; text-align: left; font-size: 17px; }
.at-faq li button > span:last-child { color: var(--teal); }
.at-faq-body { padding: 0 0 22px; max-width: 80ch; }
.at-faq-body p { margin: 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* Contact */
.at-contact { padding: 96px 48px; }
.at-contact h2 { font-family: var(--f-sans); font-weight: 300; font-size: clamp(36px, 3.6vw, 56px); margin-bottom: 48px; max-width: 1100px; margin-inline: auto; }
.at-contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; max-width: 1100px; margin-inline: auto; align-items: start; }
.at-contact form { display: grid; gap: 20px; }
.at-contact label { display: flex; flex-direction: column; gap: 8px; }
.at-contact label span { font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
.at-contact input, .at-contact textarea { background: var(--w); border: 1px solid var(--line); padding: 12px 14px; font: inherit; font-size: 14px; color: var(--ink); outline: none; }
.at-contact input:focus, .at-contact textarea:focus { border-color: var(--ink); }
.at-contact button { background: var(--ink); color: var(--w); padding: 14px 28px; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; align-self: start; }
.at-contact button:hover { background: var(--teal); }
.at-contact aside dl { display: grid; gap: 18px; margin: 0; padding: 24px; background: var(--w2); border: 1px solid var(--line); }
.at-contact aside dt { font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 4px; }
.at-contact aside dd { margin: 0; font-size: 14px; }

/* Foot */
.at-foot { display: flex; justify-content: space-between; padding: 24px 48px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 11px; color: var(--mute); text-transform: uppercase; letter-spacing: 0.06em; }
.at-foot div { display: flex; gap: 18px; }
.at-foot a:hover { color: var(--teal); }

/* ===== Mobile / tablet ===================================================== */
@media (max-width: 900px) {
  :root { --header-h: 72px; }

  /* Nav — links a la derecha, social oculto (se ven en footer) */
  .ed-nav { padding: 10px 20px; grid-template-columns: auto 1fr; }
  .ed-logo img { height: 48px; }
  .ed-links { gap: 22px; justify-self: end; }
  .ed-links a { font-size: 14px; }
  .ed-social { display: none; }

  /* Hero */
  .ed-hero-overlay { padding: 32px 24px; gap: 18px; }
  .ed-hero-overlay h1 { font-size: clamp(36px, 9vw, 56px); line-height: 1.05; }
  .ed-hero-lead { font-size: 15px; }
  .ed-hero-cta { font-size: 15px; }

  /* About */
  .ed-about { padding: 64px 24px; }
  .ed-about-grid { grid-template-columns: 1fr; gap: 24px; }
  .ed-about-grid h2 { font-size: 32px; }
  .ed-about-body p { font-size: 15px; }

  /* Services */
  .ed-services { padding: 64px 24px; }
  .ed-services h2 { font-size: 28px; margin-bottom: 40px; }
  .ed-services-grid { grid-template-columns: 1fr; gap: 36px; }
  .ed-srv h3 { font-size: 20px; }

  /* Works mosaic — 2 columnas en mobile */
  .ed-works { padding: 64px 24px; }
  .ed-works h2 { font-size: 28px; margin-bottom: 40px; }
  .ed-works-grid { columns: 2; column-gap: 12px; }
  .ed-w { margin-bottom: 12px; }

  /* Lightbox */
  .ed-lb { padding: 80px 16px; }
  .ed-lb-close, .ed-lb-prev, .ed-lb-next { width: 40px; height: 40px; }
  .ed-lb-close { top: 16px; right: 16px; }
  .ed-lb-prev { left: 12px; }
  .ed-lb-next { right: 12px; }

  /* Stats */
  .ed-stats { padding: 40px 24px; grid-template-columns: 1fr; gap: 28px; }
  .ed-stats strong { font-size: 36px; }

  /* Team — 2 columnas */
  .ed-team { padding: 64px 24px; }
  .ed-team h2 { font-size: 28px; margin-bottom: 40px; }
  .ed-team-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  /* FAQ */
  .ed-faq { padding: 64px 24px; }
  .ed-faq h2 { font-size: 28px; margin-bottom: 32px; }
  .ed-faq-list button { font-size: 16px; padding: 18px 0; }

  /* Contact */
  .ed-contact { padding: 48px 20px; min-height: 0; }
  .ed-contact h2 { font-size: 28px; }
  .ed-contact-sub { font-size: 14px; }
  .ed-contact-grid { padding: 24px 20px; }
  .ed-form-row { grid-template-columns: 1fr; gap: 20px; }
  .ed-contact-info { grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 28px; }
  .ed-ci-val { font-size: 14px; }
  .ed-ci-social-links { flex-direction: column; gap: 6px; }

  /* Footer — apilado */
  .ed-foot { padding: 48px 24px 20px; }
  .ed-foot-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .ed-foot-brand p { max-width: 100%; }
  .ed-foot-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}

@media (max-width: 480px) {
  .ed-links { gap: 16px; }
  .ed-links a { font-size: 13px; }
  .ed-logo img { height: 40px; }
  .ed-team-grid { grid-template-columns: 1fr 1fr; }
  .ed-works-grid { columns: 1; }
  .ed-contact-info { grid-template-columns: 1fr; }
}
