/* bomvidal.cl — estilos (dirección B+, 2026-10-14) */

/* Tipografías propias: Barlow Condensed y Jost (SIL OFL), servidas desde el sitio */
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/jost-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens (dirección B+) ---------- */
:root {
  --navy: #0f1d33;
  --navy-2: #1c2f4d;
  --teal: #14a89a;
  --teal-dark: #0c7d72;
  --teal-light: #5fe0d2;
  --tint: #e9f6f4;
  --amber: #E3B23C;
  --amber-dark: #cf9f30;
  --cream: #F5F0E4;
  --cream-dark: #e6dcc4;
  --warm-text: #6b5f45;
  --text: #1f2937;
  --muted: #5b6676;
  --muted-light: #9fb0c6;
  --on-dark: #c4d0df;
  --line: #d9dee5;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --max-width: 1120px;
  --radius: 16px;
  --radius-btn: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 600;
  padding: 15px 26px; border-radius: var(--radius-btn); border: 2px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-small { padding: 9px 18px; }
.btn-accent { background: var(--amber); color: var(--navy); }
.btn-accent:hover { background: var(--amber-dark); color: var(--navy); }
.btn-outline-light { border-color: var(--teal-light); color: #ffffff; }
.btn-outline-light:hover { background: rgba(95, 224, 210, .12); color: #ffffff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Cabecera y portada ---------- */
.dark-band { background: var(--navy); color: #ffffff; }
.site-header { padding: 16px 0; }
.navbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #ffffff; }
.brand:hover { color: #ffffff; }
.brand-logo { width: 44px; height: 44px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--teal); }
.brand-name { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 500; }
.nav-menu a { color: #dbe4ef; text-decoration: none; }
.nav-menu a:hover { color: #ffffff; }
.nav-menu a.btn-accent { color: var(--navy); }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  width: 48px; height: 48px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; height: 3px; width: 26px; background: #ffffff; border-radius: 2px; }

.hero { padding: 48px 0 0; }
.hero-inner { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; }
.hero-text { flex: 999 1 520px; min-width: 0; padding-bottom: 76px; }
.eyebrow { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--navy); margin: 0 0 6px; }
.eyebrow-light { color: var(--teal-light); }
.eyebrow-warm { color: var(--warm-text); }
.hero-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(44px, 7vw, 76px); line-height: .98; margin: 14px 0 22px;
}
.hl { color: var(--teal-light); }
.hero-lead { font-size: 19px; max-width: 600px; color: var(--on-dark); margin-bottom: 30px; }
.trust-line { margin: 24px 0 0; font-size: 14px; color: var(--muted-light); letter-spacing: .04em; }
.hero-art { flex: 1 1 320px; display: flex; justify-content: center; }
.arch {
  width: min(380px, 100%); aspect-ratio: 380 / 350; border-radius: 190px 190px 0 0;
  background: var(--teal); display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.arch img { width: 95%; height: auto; }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; }
.section-flush { padding-bottom: 64px; }
.section-tint { background: #f6f8fa; }
.section-cream { background: var(--cream); }
.section-title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  font-size: clamp(34px, 5vw, 46px); line-height: 1.05; color: var(--teal-dark); margin: 0 0 32px;
}
.section-title-ink { color: var(--navy); margin-bottom: 18px; }
.section-lead { max-width: 680px; margin-top: -12px; margin-bottom: 28px; }
.section-note { margin: 28px 0 0; color: var(--muted); font-size: 15px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #ffffff; }
.card-featured { border: 2px solid var(--teal); background: var(--tint); }
.card-plain { padding: 24px; }
.num-circle {
  width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #ffffff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px;
}
.card-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 700; text-transform: uppercase;
  color: var(--navy); line-height: 1.1; margin: 0 0 10px;
}
.price { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--navy); margin: 0; }

/* Pasos en bandas */
.steps { list-style: none; margin: 0; padding: 0; }
.step { padding: 22px 0; }
.step-alt { background: var(--teal); }
.step-inner { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.step-num { font-family: var(--font-display); font-size: 48px; font-weight: 800; width: 80px; color: var(--navy); line-height: 1; }
.step-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; flex: 1 1 260px; color: var(--navy); }
.step-desc { flex: 2 1 320px; }
.step-alt .step-num, .step-alt .step-name { color: #ffffff; }
.step-alt .step-desc { color: var(--navy); font-weight: 500; }

.chips { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { background: var(--tint); color: var(--navy); padding: 8px 16px; border-radius: 999px; font-weight: 500; }
.continuity { margin: 22px 0 0; color: var(--muted); }

/* Casos */
.case { background: #ffffff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.case dl { margin: 0 0 14px; }
.case dt { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-dark); margin-top: 12px; }
.case dd { margin: 2px 0 0; }
.tag { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .06em; background: var(--tint); color: var(--teal-dark); padding: 3px 10px; border-radius: 999px; margin-left: 6px; }
.text-link { font-weight: 600; }

/* Sobre mí */
.about > * { max-width: 820px; }
.about p { color: #2b3b3b; }
.name-box { background: #ffffff; border-radius: var(--radius); padding: 18px 22px; display: flex; gap: 16px; align-items: center; margin-top: 8px; }
.name-box img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 50%; background: var(--teal); flex: none; }
.name-box p { margin: 0; }

/* Contacto */
.contact-band { background: var(--navy); color: #ffffff; padding: 56px 0; }
.contact-inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.contact-title { font-family: var(--font-display); font-weight: 800; font-size: 46px; text-transform: uppercase; color: var(--teal-light); margin: 0 0 6px; }
.contact-band p { color: var(--on-dark); margin: 0 0 6px; }
.contact-alt a { color: #ffffff; }
.contact-alt a:hover { color: var(--teal-light); }

.site-footer { padding: 24px 0; font-size: 14px; color: var(--muted); border-top: 4px solid var(--teal); }
.site-footer p { margin: 0; letter-spacing: .03em; }

/* ---------- Móvil ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none; position: absolute; top: 60px; right: 0; left: 0; z-index: 50;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--navy-2); padding: 14px 18px; border-radius: 14px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 6px; }
  .nav-menu a.btn-accent { display: inline-block; margin-top: 6px; padding: 10px 18px; }
  .hero-text { padding-bottom: 32px; }
  .section { padding: 56px 0; }
  .step-num { width: auto; font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
