:root {
  --navy: #2A3F62;
  --navy-deep: #1F2F4A;
  --ink: #2A3F62;
  --ink-soft: #4A5670;
  --coral: #DC8E8C;
  --coral-light: #F5BCB9;
  --coral-tint: #FBE9E7;
  --coral-text: #A8433F;
  --blue: #839AD2;
  --blue-icon: #7589B1;
  --blue-tint: #E7ECF8;
  --blue-text: #435A9C;
  --bg: #F4F2F1;
  --surface: #FFFFFF;
  --line: #E2DEDD;
  --wa: #1E7B45;
  --wa-hover: #17653A;
  --focus: #435A9C;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(42, 63, 98, .06), 0 8px 24px rgba(42, 63, 98, .08);
  --shadow-lg: 0 2px 4px rgba(42, 63, 98, .06), 0 18px 40px rgba(42, 63, 98, .12);
  --font-head: "Oswald", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h2 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }
a { color: var(--blue-text); text-underline-offset: .18em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.narrow { max-width: 820px; }

.icon { width: 24px; height: 24px; flex: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 22px; height: 22px; }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: var(--wa-hover); color: #fff; }
.btn-outline { background: var(--surface); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.site-header {
  position: relative;
  top: 0;
  z-index: 50;
  background: rgba(244, 242, 241, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: var(--header-h);
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  min-height: 44px;
}
.brand-icon { width: 34px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand-role {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-top: 3px;
}

.site-nav { width: 100%; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 4px;
}
.site-nav li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}
.site-nav li a:hover { color: var(--coral-text); }
.header-cta { margin: 8px 0 4px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 2px solid var(--navy);
  border-radius: 14px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.js .site-header { position: sticky; }

@media (max-width: 959px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; padding: 8px 0 16px; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; }
  .js .site-nav li a { width: 100%; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .header-cta { margin-top: 16px; width: 100%; }
}

@media (min-width: 960px) {
  .site-header { position: sticky; }
  .site-nav { width: auto; display: flex; align-items: center; gap: 12px; }
  .header-cta { margin: 0; }
  .site-nav li a { padding: 0 9px; font-size: .97rem; }
  .brand-icon { width: 38px; }
  .brand-name { font-size: 1.2rem; }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 40px 0 64px;
  isolation: isolate;
}
.deco { position: absolute; pointer-events: none; z-index: -1; }
.blob-pink { top: 0; left: 0; width: 180px; fill: var(--coral-light); }
.blob-blue { bottom: 0; right: 0; width: 240px; fill: var(--blue); opacity: .85; }
.waves {
  top: 30%;
  left: 0;
  width: 100%;
  height: 300px;
  color: var(--navy);
  opacity: .07;
}
.dot-grid {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  background-image: radial-gradient(circle, var(--navy) 3px, transparent 3.5px);
  background-size: 18px 18px;
  background-position: -2px -2px;
  opacity: .9;
}
.hero-inner { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin: 0; }
.h1-name {
  display: block;
  font-size: clamp(2.2rem, 1.4rem + 4vw, 3.9rem);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .005em;
}
.h1-role {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(.95rem, .85rem + .6vw, 1.2rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--coral-text);
}
.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  margin: 22px 0;
}
.divider::before, .divider::after { content: ""; flex: 1; height: 2px; border-radius: 2px; }
.divider::before { background: var(--blue-icon); }
.divider::after { background: var(--coral); }
.divider span { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-icon); }
.hero-specialty {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .95rem;
  margin-bottom: .6em;
}
.hero-tagline {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--blue-text);
  margin-bottom: .6em;
}
.hero-lead { color: var(--ink-soft); max-width: 36em; }
.hero-photo { position: relative; justify-self: center; width: min(100%, 420px); }
.hero-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px 14px 14px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--coral-light);
  z-index: -1;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 900px) {
  .hero { padding: 72px 0 104px; }
  .hero-inner { grid-template-columns: 1.15fr .85fr; gap: 56px; }
  .blob-pink { width: 280px; }
  .blob-blue { width: 380px; }
}

.section { padding: 72px 0; position: relative; }
.section-tint { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head > p:not(.eyebrow) { color: var(--ink-soft); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: .8em;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--coral);
  border-radius: 2px;
}

.about { display: grid; gap: 32px; align-items: start; }
.about-copy p { color: var(--ink-soft); }
.credentials {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.credentials::after {
  content: "";
  position: absolute;
  right: -40px; bottom: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--blue-tint);
}
.credentials h3 { text-transform: uppercase; letter-spacing: .04em; }
.credentials dl { margin: 0; display: grid; gap: 14px; position: relative; z-index: 1; }
.credentials dl > div {
  padding: 12px 16px;
  border-left: 4px solid var(--coral);
  background: var(--bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.credentials dt { font-size: .9rem; color: var(--ink-soft); font-weight: 700; }
.credentials dd { margin: 0; font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .06em; }
.credentials-note { font-size: .9rem; color: var(--ink-soft); margin: 16px 0 0; position: relative; z-index: 1; }

@media (min-width: 860px) {
  .about { grid-template-columns: 1.3fr 1fr; gap: 56px; }
}

.pillars, .conditions, .contact-grid, .checklist, .info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pillars { display: grid; gap: 20px; }
.pillar {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
}
.pillar p { color: var(--ink-soft); margin: 0; }
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  margin-bottom: 18px;
}
.pillar-icon .icon { width: 30px; height: 30px; }
.pillar-icon-coral { background: var(--coral-tint); color: var(--coral-text); }
.pillar-icon-blue { background: var(--blue-tint); color: var(--blue-text); }
@media (min-width: 860px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.conditions { display: grid; gap: 16px; }
.condition {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.condition > .icon {
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--coral-tint);
  color: var(--coral-text);
}
.condition:nth-child(even) > .icon { background: var(--blue-tint); color: var(--blue-text); }
.condition h3 { font-size: 1.15rem; margin-bottom: .3em; }
.condition p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.condition-is-urgent { box-shadow: var(--shadow), inset 0 0 0 2px var(--coral-light); }
.condition .condition-urgent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--coral-tint);
  color: var(--coral-text);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.45;
}
.condition-urgent .icon { width: 18px; height: 18px; margin-top: 1px; }
@media (min-width: 640px) {
  .conditions { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .conditions { grid-template-columns: repeat(5, 1fr); gap: 18px; }
  .condition { flex-direction: column; gap: 14px; padding: 22px 18px; }
  .condition h3 { font-size: 1.1rem; }
  .condition p { font-size: .95rem; }
}

.section-warn { background: var(--blue-tint); overflow: hidden; }
.section-warn::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 220px; height: 220px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--coral-light);
  opacity: .6;
}
.warn-inner { position: relative; }
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}
.checklist .icon { color: var(--blue-text); margin-top: 2px; }
@media (min-width: 860px) {
  .checklist { grid-template-columns: repeat(2, 1fr); }
}
.emergency {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 2px solid var(--coral-text);
}
.emergency .icon { color: var(--coral-text); width: 28px; height: 28px; }
.emergency p { margin: 0; }
.emergency strong { color: var(--coral-text); }

.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2.5px solid var(--coral-text);
  border-bottom: 2.5px solid var(--coral-text);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: var(--radius-sm); }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--ink-soft); }

.office { display: grid; gap: 32px; align-items: center; }
.info-list { display: grid; gap: 24px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list > li > .icon {
  width: 48px; height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--coral-tint);
  color: var(--coral-text);
}
.info-list h3 { font-size: 1.1rem; margin-bottom: .2em; }
.info-list address, .info-list p { font-style: normal; color: var(--ink-soft); margin: 0 0 .4em; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.map iframe {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--bg);
}
@media (min-width: 860px) {
  .office { grid-template-columns: 1fr 1.2fr; gap: 56px; }
  .map iframe { height: 420px; }
}

.contact-grid { display: grid; gap: 14px; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  padding: 16px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.contact-card:hover { color: var(--navy); box-shadow: var(--shadow-lg); }
.contact-card > .icon {
  width: 48px; height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
}
.contact-card-wa > .icon { background: var(--wa); }
.contact-card > span { display: flex; flex-direction: column; min-width: 0; }
.contact-label { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.contact-value { font-size: 1.2rem; font-weight: 700; }
.contact-email { font-size: 1rem; overflow-wrap: anywhere; }
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 48px 0 104px;
  font-size: .95rem;
}
.footer-inner { display: grid; gap: 24px; }
.footer-name { font-family: var(--font-head); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .2em; }
.footer-role, .footer-cedulas, .footer-disclaimer { color: #C9D2E6; }
.footer-meta a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.footer-meta a:hover { color: var(--coral-light); }
.site-footer :focus-visible { outline-color: #fff; }
@media (min-width: 860px) {
  .footer-inner { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .footer-meta { text-align: right; }
}

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}
.wa-float:hover { background: var(--wa-hover); color: #fff; }
.wa-float .icon { width: 32px; height: 32px; }
.wa-float:focus-visible { outline-offset: 4px; border-radius: 50%; }

.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); text-transform: uppercase; }
.legal h2 { font-size: 1.5rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.draft-banner {
  background: var(--coral-tint);
  border: 2px solid var(--coral-text);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 32px;
  color: var(--navy);
}
.draft-banner strong { color: var(--coral-text); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .btn:hover, .contact-card:hover { transform: translateY(-2px); }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
