/* ==========================================================================
   Esteban Hernandez · Ingeniería estructural
   Hoja de estilos compartida (landing + herramientas + recursos)
   ========================================================================== */

:root {
  --teal-950: #06282c;
  --teal-900: #0a3b3f;
  --teal-800: #0f5257;
  --teal-700: #146a70;
  --teal-200: #b9d3d1;
  --teal-100: #dcebea;
  --teal-50: #eef4f3;
  --gold: #d9a441;
  --gold-700: #a87a1e;
  --ink: #10262a;
  --muted: #546a6d;
  --line: #d3dfde;
  --white: #ffffff;
  --paper: #f5f8f7;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 3px;
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--teal-900); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 200; border-radius: var(--radius); }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius);
  font: 600 .95rem/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-gold { background: var(--gold); color: var(--teal-950); }
.btn-gold:hover { background: #e7b656; color: var(--teal-950); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--teal-800); color: var(--white); }
.btn-dark:hover { background: var(--teal-900); color: var(--white); }

/* ---------- Encabezado y menú ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--teal-900); }
.brand svg { width: 46px; height: auto; color: var(--teal-800); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--teal-900); }
.brand-sub { font-size: .76rem; letter-spacing: .06em; color: var(--gold-700); margin-top: 3px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; color: var(--teal-900); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 20px; height: 2px; background: currentColor; position: relative; margin: auto; content: ""; }
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after { position: absolute; top: 6px; left: 0; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav > ul > li { position: relative; }
.nav a, .nav .sub-btn {
  display: block; padding: 10px 14px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font: 500 .94rem/1.2 var(--font-body);
  background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav a:hover, .nav .sub-btn:hover { color: var(--teal-700); background: var(--teal-50); }
.nav [aria-current="page"], .nav .is-active > .sub-btn { color: var(--teal-800); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 0; }
.sub-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.nav .sub {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 300px;
  background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  box-shadow: 0 18px 40px rgba(6,40,44,.14); padding: 8px; display: none; flex-direction: column; align-items: stretch; gap: 0;
}
.nav .sub a { padding: 10px 12px; white-space: normal; font-weight: 400; }
.nav .sub small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.nav .sub .soon { color: var(--muted); padding: 10px 12px; font-size: .94rem; cursor: default; }
.nav .sub .soon em { font-style: normal; font-size: .72rem; background: var(--teal-50); color: var(--teal-700); padding: 2px 7px; border-radius: 20px; margin-left: 6px; }
.nav .has-sub.open > .sub { display: flex; }
@media (hover: hover) and (min-width: 961px) { .nav .has-sub:hover > .sub { display: flex; } }
.nav .nav-cta { background: var(--teal-800); color: var(--white); margin-left: 8px; }
.nav .nav-cta:hover { background: var(--teal-900); color: var(--white); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav .sub { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--gold); margin: 0 0 8px 12px; min-width: 0; }
  .nav .nav-cta { margin: 10px 0 0; text-align: center; }
}

/* ---------- Portada ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--teal-900);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 72px 0 64px; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.06; margin-bottom: .45em; }
.hero p.lead { font-size: 1.14rem; color: var(--teal-200); max-width: 46ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero figure { margin: 0; position: relative; }
.hero figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.hero figcaption { position: absolute; left: 0; bottom: -34px; font-size: .82rem; color: var(--teal-200); }
.dim { border-top: 1px solid rgba(217,164,65,.7); margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; }
.dim li { border-left: 1px solid rgba(217,164,65,.7); padding: 16px 20px 6px; color: var(--teal-100); font-size: .95rem; }
.dim li:last-child { border-right: 1px solid rgba(217,164,65,.7); }
.dim strong { display: block; color: var(--white); font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; }
.hero .wrap.dim-wrap { display: block; padding: 0 0 48px; }

@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 48px 0 40px; gap: 40px; }
  .hero figcaption { position: static; margin-top: 8px; }
  .dim { grid-template-columns: 1fr; }
  .dim li:last-child { border-right: 0; }
}

/* ---------- Secciones ---------- */
.section { padding: 92px 0; }
.section--white { background: var(--white); }
.section--tint { background: var(--teal-50); }
.section--dark { background: var(--teal-900); color: var(--teal-100); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.sec-head { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 0; }
.sec-head p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 58ch; }
.section--dark .sec-head p { color: var(--teal-200); }
@media (max-width: 860px) { .section { padding: 64px 0; } .sec-head { grid-template-columns: 1fr; gap: 14px; } }

/* Servicios: lista de filas */
.svc-list { border-top: 2px solid var(--teal-800); }
.svc { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; padding: 26px 12px; border-bottom: 1px solid var(--line); transition: background .2s; }
.svc:hover { background: var(--white); }
.svc h3 { font-size: 1.3rem; margin: 0; }
.svc p { margin: 0; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 8px; } }

/* Tipologías de obra */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work div { padding: 22px 22px 26px; border-top: 3px solid var(--gold); }
.work h3 { font-size: 1.25rem; }
.work p { color: var(--muted); margin: 0; font-size: .97rem; }
.also { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
.also li { border: 1px solid var(--line); background: var(--white); padding: 7px 14px; border-radius: 40px; font-size: .9rem; color: var(--teal-800); }
@media (max-width: 960px) { .works { grid-template-columns: 1fr; } .work { flex-direction: row; } .work img { width: 42%; aspect-ratio: auto; } }
@media (max-width: 640px) { .work { flex-direction: column; } .work img { width: 100%; aspect-ratio: 4/3; } }

/* Proceso (secuencia real) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; counter-reset: paso; }
.steps li { position: relative; padding-top: 58px; counter-increment: paso; }
.steps li::before {
  content: counter(paso); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--teal-950); font: 600 1.1rem/42px var(--font-display); text-align: center;
}
.steps li::after { content: ""; position: absolute; top: 21px; left: 54px; right: -12px; height: 1px; background: rgba(255,255,255,.28); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1rem; margin-bottom: .3em; }
.steps p { color: var(--teal-200); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr; gap: 28px; } .steps li { padding: 0 0 0 62px; } .steps li::after { display: none; } }

/* Herramientas */
.tools { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; }
.tools h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.tools > div > p { color: var(--teal-200); max-width: 42ch; }
.tool-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.2); }
.tool-list a, .tool-list .soon { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 14px; border-bottom: 1px solid rgba(255,255,255,.2); text-decoration: none; color: var(--white); transition: background .2s; }
.tool-list a:hover { background: rgba(255,255,255,.07); color: var(--white); }
.tool-list strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.tool-list span.d { display: block; color: var(--teal-200); font-size: .9rem; margin-top: 2px; }
.tool-list .go { color: var(--gold); font-weight: 600; font-size: .9rem; }
.tool-list .soon { color: var(--teal-200); }
.tool-list .soon .go { color: var(--teal-200); font-weight: 400; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; gap: 32px; } }

/* Recursos */
.res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.res a { display: block; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.res a:hover { border-left-color: var(--teal-800); box-shadow: 0 12px 30px rgba(6,40,44,.08); color: var(--ink); }
.res h3 { font-size: 1.2rem; margin-bottom: .3em; }
.res p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 860px) { .res { grid-template-columns: 1fr; } }

/* El despacho */
.about { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.about img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(6,40,44,.18); }
.about h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.about p { color: var(--muted); }
.norms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.norms li { border: 1px solid var(--teal-200); color: var(--teal-800); padding: 6px 13px; border-radius: var(--radius); font-size: .88rem; font-weight: 500; background: var(--teal-50); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* Contacto */
.contact { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; }
.contact h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.contact > div > p { color: var(--teal-200); max-width: 44ch; }
.contact dl { margin: 28px 0 0; display: grid; gap: 16px; }
.contact dt { color: var(--gold); font-size: .85rem; font-weight: 600; }
.contact dd { margin: 0; color: var(--white); }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 30px; }
.form-card h3 { font-size: 1.3rem; color: var(--teal-900); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-card .row { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 32px; } }
.form-note { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }

/* ---------- Formularios (compartidos) ---------- */
.field { margin-bottom: 14px; }
.field label, .field .lbl { display: block; font-size: .84rem; font-weight: 600; color: var(--teal-800); margin-bottom: 5px; }
input[type="number"], input[type="text"], input[type="email"], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #b7c8c7; border-radius: var(--radius);
  font: 400 .97rem var(--font-body); color: var(--ink); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(217,164,65,.55); border-color: var(--gold-700); }
textarea { min-height: 120px; resize: vertical; }

/* ---------- Pie de página ---------- */
.site-footer { background: var(--teal-950); color: var(--teal-200); padding: 56px 0 28px; }
.foot { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot .brand { color: var(--white); }
.foot .brand svg { color: var(--white); }
.foot .brand-name { color: var(--white); }
.foot p { max-width: 40ch; font-size: .93rem; margin-top: 16px; }
.foot h4 { color: var(--white); font-family: var(--font-body); font-size: .95rem; font-weight: 600; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--teal-200); text-decoration: none; font-size: .93rem; }
.foot a:hover { color: var(--gold); }
.legal { padding-top: 22px; font-size: .84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 860px) { .foot { grid-template-columns: 1fr; } }

/* ==========================================================================
   Páginas interiores (herramientas y recursos)
   ========================================================================== */
.page-hero {
  color: var(--white); padding: 52px 0 46px;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--teal-900);
  border-bottom: 3px solid var(--gold);
}
.crumbs { font-size: .86rem; color: var(--teal-200); margin-bottom: 14px; }
.crumbs a { color: var(--teal-200); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin: 0 8px; opacity: .6; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: .3em; }
.page-hero p { color: var(--teal-200); max-width: 66ch; margin: 0; font-size: 1.04rem; }
.page-main { padding: 40px 0 88px; }

.tool-layout { display: grid; grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); gap: 32px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.panel h3 { font-size: .95rem; font-family: var(--font-body); font-weight: 600; color: var(--teal-800); margin: 22px 0 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.panel h3:first-of-type { margin-top: 4px; }
.panel .inline { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg { display: flex; margin-bottom: 16px; border: 1px solid #b7c8c7; border-radius: var(--radius); overflow: hidden; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { flex: 1; text-align: center; padding: 10px 8px; cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--teal-800); background: var(--white); margin: 0; }
.seg input:checked + label { background: var(--teal-800); color: var(--white); }
.seg input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: -3px; }
.canvas-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; overflow-x: auto; }
.canvas-card canvas { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; }
@media (max-width: 960px) { .tool-layout { grid-template-columns: 1fr; } .panel { position: static; max-height: none; } }

/* Visor de documentos (fichas técnicas y ayudas de diseño) */
.doc-layout { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 28px; align-items: start; }
.doc-nav { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; }
.doc-nav details { border-bottom: 1px solid var(--line); }
.doc-nav details:last-child { border-bottom: 0; }
.doc-nav summary { cursor: pointer; padding: 12px 10px; font-weight: 600; color: var(--teal-800); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.doc-nav summary::-webkit-details-marker { display: none; }
.doc-nav summary::after { content: "+"; font-size: 1.2rem; color: var(--gold-700); }
.doc-nav details[open] summary::after { content: "–"; }
.doc-nav a { display: block; padding: 8px 12px; margin: 0 0 2px; border-radius: var(--radius); font-size: .92rem; color: var(--ink); text-decoration: none; border-left: 3px solid transparent; }
.doc-nav a:hover { background: var(--teal-50); border-left-color: var(--gold); color: var(--teal-900); }
.doc-nav a.is-open { background: var(--teal-50); border-left-color: var(--teal-800); font-weight: 600; }
.doc-nav .plain { padding: 4px 4px 8px; }
.doc-view { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-height: 72vh; overflow: hidden; }
.doc-view embed, .doc-view img { display: block; width: 100%; }
.doc-empty { min-height: 72vh; display: grid; place-content: center; text-align: center; padding: 32px; color: var(--muted); }
.doc-empty svg { width: 64px; margin: 0 auto 14px; color: var(--teal-200); }
.doc-empty strong { display: block; font-family: var(--font-display); color: var(--teal-800); font-size: 1.25rem; margin-bottom: 4px; }
@media (max-width: 960px) { .doc-layout { grid-template-columns: 1fr; } .doc-nav { position: static; max-height: 320px; } }

/* Glosario */
.glossary h2 { font-size: 1.5rem; margin: 44px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--teal-800); }
.glossary h2:first-child { margin-top: 0; }
.terms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0; }
.term { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 18px 20px; }
.term dt { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--teal-900); margin-bottom: 4px; }
.term dd { margin: 0; color: var(--muted); font-size: .97rem; }
.term--wide { grid-column: 1 / -1; }
.note { background: var(--teal-50); border-left: 4px solid var(--teal-800); padding: 16px 20px; border-radius: var(--radius); color: var(--teal-900); margin: 16px 0 0; }
@media (max-width: 760px) { .terms { grid-template-columns: 1fr; } }

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

/* Variante clara de la lista de herramientas (sobre fondo claro) */
.section--tint .tools > div > p { color: var(--muted); }
.section--tint .tool-list { border-top-color: var(--line); }
.section--tint .tool-list a, .section--tint .tool-list .soon { color: var(--ink); border-bottom-color: var(--line); }
.section--tint .tool-list a:hover { background: var(--white); color: var(--ink); }
.section--tint .tool-list strong { color: var(--teal-900); }
.section--tint .tool-list span.d { color: var(--muted); }
.section--tint .tool-list .go { color: var(--teal-700); }
.section--tint .tool-list .soon, .section--tint .tool-list .soon .go { color: var(--muted); }

.seg { position: relative; }
.canvas-card canvas { min-width: 640px; }
.panel-note { font-size: .84rem; color: var(--muted); margin: 14px 0 0; }

.panel--long { position: static; max-height: none; overflow: visible; }

.nav .sub { min-width: 340px; }
.nav .sub [aria-current="page"] { box-shadow: none; background: var(--teal-50); color: var(--teal-800); font-weight: 600; border-radius: var(--radius); }
.nav .sub .soon { white-space: nowrap; }
@media (max-width: 960px) { .nav .sub { min-width: 0; } .nav .sub .soon { white-space: normal; } }
