
:root {
  color-scheme: light;
  --header-height: 76px;
  --navy: #0d2340;
  --deep: #0a1a30;
  --ink: #142a43;
  --muted: #4c6074;
  --line: #dce5ee;
  --paper: #f5f8fc;
  --gold: #edc36a;
  --green: #087a3e;
  --green-hover: #056030;
  --serif: Georgia, "Times New Roman", serif;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); }
body { margin: 0; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b56e00; outline-offset: 4px; }
.hero :focus-visible, .contact-panel :focus-visible { outline-color: var(--gold); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -.04em; }
h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.025em; }
img { display: block; max-width: 100%; }
.wrap { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.skip { position: absolute; left: 12px; top: 12px; padding: 8px 14px; background: white; color: var(--navy); transform: translateY(-170%); z-index: 5; }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 4; background: #fff; }
.header-inner { min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 740; font-size: .99rem; line-height: 1.02; letter-spacing: -.035em; }
.brand strong { display: block; font-weight: inherit; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--gold); background: var(--navy); }
.brand-mark .icon { width: 24px; height: 24px; }
.site-header nav { display: flex; justify-content: center; align-items: center; gap: clamp(18px, 3.3vw, 49px); }
.mobile-nav { display: none; }
.site-header nav a, .mobile-nav a { display: grid; align-items: center; min-height: 44px; color: #364d65; font-size: .88rem; font-weight: 640; white-space: nowrap; }
.site-header nav a:hover, .mobile-nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; }
.header-contact { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 13px; border: 1px solid #d3e5db; border-radius: 9px; color: #076534; font-weight: 720; font-size: .86rem; }
.header-contact:hover { background: #edf8f1; }
.header-contact .icon { width: 18px; height: 18px; }
.hero {
  background: radial-gradient(ellipse at 88% 50%, #1c3c60 0%, transparent 58%), var(--deep);
  color: #fff;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 5vw, 84px); padding-block: clamp(52px, 6vw, 90px); }
.eyebrow { font-family: inherit; color: #52677b; font-size: .72rem; line-height: 1.4; font-weight: 760; text-transform: uppercase; letter-spacing: .15em; }
.hero h1 { font-size: clamp(2.6rem, 3.65vw, 3.65rem); text-align: justify; }
.hero-summary { max-width: 460px; margin: 22px auto 0; text-align: center; color: #d1dcec; font-size: clamp(1rem, 1.38vw, 1.13rem); line-height: 1.63; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 24px; margin-top: 28px; }
.button { min-height: 52px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 9px; font-size: .91rem; font-weight: 750; line-height: 1.25; white-space: nowrap; }
.button-green { color: white; background: var(--green); box-shadow: inset 0 0 0 1px #ffffff25; }
.button-green:hover, .whatsapp-float:hover { background: var(--green-hover); }
.hero-secondary, .text-link, .service-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 700; font-size: .88rem; }
.hero-secondary:hover, .text-link:hover, .service-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero-secondary .icon, .text-link .icon, .service-link .icon { width: 17px; height: 17px; }
.hero-media { position: relative; min-width: 0; margin-right: 10px; }
.hero-media::after { content: ""; position: absolute; inset: 11px -10px -10px 11px; border: 1px solid #edc36a92; border-radius: 20px; pointer-events: none; }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1.23; object-fit: cover; object-position: center top; border-radius: 20px; background: #294661; }
.scope { background: #f0f5fb; border-bottom: 1px solid #e4edf5; }
.scope-list { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin-block: 0; }
.scope-list li { display: flex; justify-content: center; align-items: center; min-height: 62px; font-size: .9rem; text-align: center; font-weight: 680; line-height: 1.25; }
.scope-list li + li { border-left: 1px solid #dce6f1; }
.section { padding-block: clamp(58px, 6.7vw, 96px); scroll-margin-top: 20px; }
.services { padding-top: clamp(24px, 3vw, 44px); }
.service-assurances { display: grid; gap: 4px; max-width: 42rem; margin: 0 auto clamp(26px, 3.5vw, 42px); text-align: center; font-size: .94rem; font-weight: 650; }
.section-heading { text-align: center; }
.section-heading h2:not(.eyebrow) { margin-top: 9px; font-size: clamp(2.45rem, 4.15vw, 4.05rem); text-wrap: balance; }
.section-heading > p:not(.eyebrow) { max-width: 600px; margin: 15px auto 0; color: var(--muted); font-size: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-top: 34px; }
.service { scroll-margin-top: 20px; display: flex; flex-direction: column; align-items: flex-start; padding: 20px 20px 11px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; }
.service-icon { align-self: center; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: #e5eef8; color: var(--navy); }
.service h3 { align-self: stretch; margin-top: 17px; text-align: center; }
.service p { margin-top: 8px; color: var(--muted); font-size: .91rem; text-align: justify; hyphens: auto; }
.service p:last-of-type { flex: 1; }
.service-tag { align-self: center; text-align: center; margin-top: 17px; color: #37546f; font-size: .73rem; font-weight: 700; }
.service-link { align-self: center; margin-top: 2px; color: var(--navy); }
.process { background: #f2f6fb; }
.process-layout, .faq-layout { display: grid; justify-items: center; gap: clamp(24px, 3vw, 42px); }
.process-layout .steps, .faq-layout .faq-list { width: min(100%, 760px); }
.text-link { margin-top: 11px; color: var(--navy); }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid #ccd9e6; }
.steps li { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 17px 0; border-bottom: 1px solid #ccd9e6; }
.step-number { display: grid; place-items: center; width: 41px; height: 41px; border-radius: 50%; background: var(--navy); color: var(--gold); font-size: .78rem; font-weight: 750; letter-spacing: .06em; }
.steps p { margin-top: 4px; color: var(--muted); font-size: .94rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; }
.faq-list summary { display: flex; min-height: 58px; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 2px; font-size: .97rem; font-weight: 710; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: #38597b; font-size: 1.28rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 16px 2px; color: var(--muted); font-size: .94rem; }
.contact { padding-top: 0; padding-bottom: 36px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(28px, 5vw, 62px); border-radius: 18px; color: white; background: radial-gradient(ellipse at 85% 15%, #234768 0%, transparent 63%), var(--navy); }
.contact-panel h2 { font-size: clamp(2.15rem, 3.9vw, 3.5rem); text-wrap: balance; }
.contact-panel p { max-width: 570px; margin-top: 10px; color: #d3dfee; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #dce8f4; font-size: .86rem; white-space: nowrap; }
.site-topics { padding-block: 28px 36px; border-top: 1px solid var(--line); background: var(--paper); color: var(--muted); text-align: center; font-size: .88rem; }
.site-topics h2 { color: var(--ink); font-family: inherit; font-size: 1rem; line-height: 1.4; font-weight: 720; letter-spacing: normal; }
.site-topics .wrap > p { max-width: 66ch; margin: 8px auto 0; }
.site-topics ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; padding: 0; margin: 8px 0 0; list-style: none; }
.site-topics a { display: inline-flex; align-items: center; min-height: 32px; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.topic-questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; max-width: 52rem; margin: 18px auto 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; scroll-margin-top: 16px; }
.topic-questions h3 { color: var(--ink); font-size: .95rem; line-height: 1.4; letter-spacing: normal; }
.topic-questions p { margin-top: 5px; }
.site-topics .topic-terms { max-width: 52rem; margin: 18px auto 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 400; }
#frases-academicas, .topic-terms { scroll-margin-top: 16px; }
.whatsapp-float {
  position: fixed;
  z-index: 3;
  right: max(21px, env(safe-area-inset-right));
  bottom: max(56px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 67.2px;
  height: 67.2px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--green);
  color: white;
  box-shadow: 0 5px 20px #0a1a3048;
}
.whatsapp-float .icon { width: 34.8px; height: 34.8px; }
@media (max-width: 1020px) {
  .site-topics { padding-bottom: max(140px, calc(env(safe-area-inset-bottom) + 84px)); }
  .wrap { width: calc(100% - 64px); }
  .hero-inner { gap: 34px; }
  .hero h1 { font-size: clamp(2.2rem, 4.3vw, 2.8rem); }
  .hero-media img { aspect-ratio: 1.04; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --header-height: 61px; }
  .wrap { width: calc(100% - 36px); }
  .header-inner { gap: 12px; }
  .site-header nav { display: none; }
  .mobile-nav { display: flex; justify-content: space-between; border-top: 1px solid #e8eef4; gap: 8px; }
  .mobile-nav a { font-size: .76rem; }
  .topic-questions { grid-template-columns: 1fr; gap: 14px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding-block: 35px 31px; }
  .hero h1 { font-size: clamp(2rem, 8.5vw, 3.25rem); text-align: center; text-wrap: balance; }
  .hero-summary { margin-top: 14px; }
  .hero-actions { margin-top: 19px; }
  .hero-media { margin-right: 6px; }
  .hero-media img { aspect-ratio: 1.62; object-position: center top; border-radius: 13px; }
  .hero-media::after { inset: 7px -6px -6px 7px; border-radius: 13px; }
  .scope-list { width: 100%; }
  .scope-list li { padding: 8px 4px; font-size: .7rem; }
  .service-grid { grid-template-columns: 1fr; align-items: start; gap: 12px; margin-top: 22px; }
  .service { padding: 15px 13px 7px; }
  .service h3 { font-size: 1.05rem; }
  .service p { font-size: .87rem; }
  .contact-panel { align-items: flex-start; flex-direction: column; gap: 18px; }
  .contact-actions { align-items: flex-start; }

  .whatsapp-float { right: max(12px, env(safe-area-inset-right)); }
}
@media (max-width: 385px) {
  .hero-actions { gap: 2px 18px; }
  .service-grid { grid-template-columns: 1fr; }
}
