:root {
  --ink: #0a1220;
  --navy: #0b2b55;
  --blue: #1659a8;
  --sky: #dcecff;
  --mist: #f4f7fb;
  --white: #ffffff;
  --line: #d7e0ea;
  --muted: #4b5d70;
  --success: #176b42;
  --danger: #a32323;
  --radius: 1.35rem;
  --shadow: 0 18px 50px rgba(7, 34, 67, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 0.2em; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffbf47; outline-offset: 4px; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem), 800px); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.section--soft { background: var(--mist); }
.section--dark { color: var(--white); background: linear-gradient(135deg, #06182e, #0c3e76); }
.section--dark p { color: #dce9f7; }
.section--dark .card { color: var(--ink); }
.section--dark .card p { color: var(--muted); }
.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section--dark .eyebrow, .hero--inner .eyebrow { color: #9fc8fa; }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 940px; font-size: clamp(2.7rem, 7vw, 5.8rem); }
h2 { max-width: 780px; font-size: clamp(2rem, 4.5vw, 3.65rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
p { margin: 0 0 1.15rem; color: var(--muted); }
.lead { max-width: 780px; font-size: clamp(1.18rem, 2.2vw, 1.45rem); }
.section-heading { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading p { max-width: 720px; }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 750; text-decoration: none; }
.text-link::after { content: "\2192"; transition: transform 180ms ease; }
.text-link:hover::after { transform: translateX(0.25rem); }

.skip-link { position: fixed; z-index: 999; top: 0.75rem; left: 0.75rem; padding: 0.7rem 1rem; color: var(--white); background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(10, 35, 65, 0.1); background: rgba(255,255,255,0.94); backdrop-filter: blur(14px); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { color: var(--ink); font-size: 1.45rem; font-weight: 900; letter-spacing: -0.05em; text-decoration: none; }
.brand span { color: var(--blue); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--white); cursor: pointer; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { display: block; width: 20px; height: 2px; margin: 4px auto; content: ""; background: currentColor; transition: 180ms ease; }
.site-nav ul { display: flex; align-items: center; gap: clamp(1rem, 2.6vw, 2rem); margin: 0; padding: 0; list-style: none; }
.site-nav a { color: var(--ink); font-size: 0.96rem; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.site-nav .nav-cta { padding: 0.65rem 1.05rem; border-radius: 999px; color: var(--white); background: var(--navy); }
.site-nav .nav-cta:hover { color: var(--white); background: var(--blue); }
.site-nav .nav-cta[aria-current="page"] { color: var(--white); }

.hero { position: relative; min-height: min(860px, calc(100svh - 76px)); display: grid; align-items: center; overflow: hidden; background: linear-gradient(120deg, #fff 28%, #ddecff 100%); }
.hero::before { position: absolute; inset: auto -15% -40% 44%; width: 65vw; aspect-ratio: 1; border-radius: 50%; content: ""; background: radial-gradient(circle, rgba(33,106,188,.22), transparent 66%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding: clamp(3.5rem, 9vw, 7rem) 0; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); }
.hero h1 .blue { color: #1659a8; }
.hero-copy { max-width: 650px; }
.hero-copy .lead { margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img { aspect-ratio: 4 / 5; border-radius: 11rem 1.5rem 1.5rem 1.5rem; object-fit: cover; box-shadow: var(--shadow); }
.hero-note { position: absolute; right: -1.4rem; bottom: 2rem; max-width: 220px; padding: 1rem 1.2rem; border-radius: 1rem; color: var(--white); background: var(--navy); box-shadow: var(--shadow); font-size: 0.95rem; font-weight: 700; }
.hero--inner { min-height: 470px; display: grid; align-items: end; color: var(--white); background: linear-gradient(135deg, rgba(4,19,39,.94), rgba(10,58,110,.88)), var(--page-image) center/cover; }
.hero--inner .container { padding-top: 6rem; padding-bottom: 5rem; }
.hero--inner h1 { max-width: 880px; font-size: clamp(2.7rem, 6vw, 5.2rem); }
.hero--inner p { max-width: 740px; color: #e3edf8; }

.button-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.8rem 1.25rem; border: 2px solid var(--navy); border-radius: 999px; color: var(--white); background: var(--navy); font-weight: 800; line-height: 1.2; text-decoration: none; transition: transform 180ms ease, background 180ms ease; }
.button:hover { color: var(--white); background: var(--blue); transform: translateY(-2px); }
.hero-primary { border-color: #1659a8; color: var(--white); background: #1659a8; }
.hero-primary:hover { border-color: #124c8f; color: var(--white); background: #124c8f; }
.hero-primary:focus-visible { color: var(--white); background: #1659a8; }
.button--ghost { color: var(--navy); background: transparent; }
.button--ghost:hover { color: var(--white); }
.button--light { border-color: var(--white); color: var(--navy); background: var(--white); }
.button--light:hover { color: var(--white); background: transparent; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.75rem); }
.card { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 36px rgba(7,34,67,.07); }
.hero--inner + .section .grid-2 > .card { display: flex; flex-direction: column; }
.hero--inner + .section .grid-2 > .card h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); white-space: nowrap; }
.hero--inner + .section .grid-2 > .card > .button { align-self: flex-start; margin-top: auto; }
.challenge-card { min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; color: var(--white); background-position: center; background-size: cover; }
.challenge-card::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(to top, rgba(3,15,30,.96) 12%, rgba(3,20,41,.38) 100%); }
.challenge-card p { color: #e2ebf4; }
.challenge-card .text-link { color: var(--white); }
.feature-list { display: grid; gap: 0; margin: 2rem 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding: 1.15rem 0 1.15rem 2.1rem; border-top: 1px solid var(--line); }
.feature-list li::before { position: absolute; top: 1.35rem; left: 0; width: 0.85rem; height: 0.85rem; border-radius: 50%; content: ""; background: var(--blue); box-shadow: 0 0 0 5px var(--sky); }
.split { display: grid; grid-template-columns: 0.92fr 1.08fr; align-items: center; gap: clamp(2.5rem, 7vw, 7rem); }
.split--reverse > :first-child { order: 2; }
.media-frame img { aspect-ratio: 5 / 4; border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.number { display: block; margin-bottom: 1.2rem; color: var(--blue); font-size: 2.5rem; font-weight: 900; line-height: 1; }
.real-card { border-top: 5px solid var(--blue); }
.real-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.icon-circle { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; margin-bottom: 1.3rem; border-radius: 50%; color: var(--white); background: var(--blue); font-weight: 900; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.45rem 0.8rem; border-radius: 999px; color: var(--navy); background: var(--sky); font-size: 0.93rem; font-weight: 750; }

.talk-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 12px 36px rgba(7,34,67,.07); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease; }
.talk-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.talk-card-image { aspect-ratio: 4 / 3; overflow: hidden; }
.talk-card-image img { width: 100%; height: 100%; object-fit: cover; }
.talk-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.talk-card-category { margin: 0 0 0.5rem; color: var(--blue); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.talk-card-title { margin: 0 0 0.6rem; color: var(--navy); font-size: 1.15rem; font-weight: 800; line-height: 1.3; }
.talk-card-desc { flex: 1; margin: 0 0 1.2rem; color: var(--muted); font-size: 0.95rem; }
.talk-card-cta { display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--blue); font-weight: 750; font-size: 0.93rem; }
.talk-card-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 280px; padding: 2rem; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; background: var(--mist); }
.talk-card-soon h3 { margin: 0 0 0.5rem; color: var(--muted); font-size: 1rem; }
.talk-card-soon p { margin: 0; color: var(--muted); font-size: 0.9rem; opacity: 0.8; }
.cta-panel { padding: clamp(2rem, 6vw, 5rem); border-radius: calc(var(--radius) * 1.25); color: var(--white); background: linear-gradient(135deg, #06172d, #0c4b8d); box-shadow: var(--shadow); }
.cta-panel p { max-width: 680px; color: #dce9f7; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { display: block; margin-bottom: 0.42rem; color: var(--ink); font-weight: 750; }
.required { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; padding: 0.85rem 0.95rem; border: 1px solid #aebdcc; border-radius: 0.65rem; color: var(--ink); background: var(--white); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,89,168,.15); outline: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.error { min-height: 1.35rem; margin: 0.25rem 0 0; color: var(--danger); font-size: 0.88rem; }
.form-note { font-size: 0.9rem; }
.form-status { display: none; margin-bottom: 1.5rem; padding: 1rem 1.15rem; border-radius: 0.7rem; font-weight: 700; }
.form-status.is-visible { display: block; }
.form-status--success { color: #0e5633; background: #ddf5e8; }
.form-status--error { color: #7f1717; background: #fde5e5; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.contact-aside { padding: 2rem; border-radius: var(--radius); color: var(--white); background: var(--navy); }
.contact-aside p, .contact-aside a { color: #e6f0fa; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr); align-items: start; gap: clamp(2rem, 5vw, 4rem); }

.site-footer { padding: 4rem 0 1.5rem; color: var(--white); background: #03070d; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.site-footer .brand { color: var(--white); }
.site-footer p, .site-footer a { color: #c5d0dc; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: 0.45rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px solid #26313d; font-size: .88rem; }
.whatsapp { position: fixed; z-index: 90; right: 1.1rem; bottom: 1.1rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: #188c52; box-shadow: 0 10px 28px rgba(0,0,0,.25); text-decoration: none; transition: transform 180ms ease; }
.whatsapp:hover { color: var(--white); transform: translateY(-3px) scale(1.03); }
.whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 76px; right: 0; left: 0; display: none; padding: 1rem; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: .75rem; }
  .site-nav .nav-cta { margin-top: .5rem; text-align: center; }
  .hero { min-height: auto; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: initial; }
  .real-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 721px) and (max-width: 900px) {
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 1.75rem); padding: 4rem 0; }
  .hero h1 { font-size: clamp(2.65rem, 5.5vw, 3.1rem); }
}

@media (max-width: 720px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.7rem, 8vw, 3.6rem); }
  .hero-media { width: min(78%, 520px); margin-inline: auto; }
  .hero-media img { aspect-ratio: 5 / 4; border-radius: 8rem 1.5rem 1.5rem; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .section { padding: 3.6rem 0; }
  .grid-2, .grid-3, .real-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero--inner + .section .grid-2 > .card h2 { white-space: normal; }
  .field--full { grid-column: auto; }
  .challenge-card { min-height: 390px; }
  .hero-note { right: -.5rem; bottom: 1rem; }
  .footer-bottom { flex-direction: column; }
  .whatsapp { width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
