:root {
  --blue: #0A2A66;
  --blue-dark: #071E4A;
  --red: #C8102E;
  --red-dark: #A00D25;
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --ink: #0F1B2D;
  --ink-2: #4A5A70;
  --wa: #25D366;
  --wa-dark: #1EB257;
  --white: #FFFFFF;
  --line: #DCE3EE;
  --ok-bg: #E7F8EE;
  --ok-ink: #0B5A2B;
  --err-bg: #FDECEE;
  --err-ink: #8A0B20;
  --focus: #FFB81C;
  --radius: 12px;
  --max: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: 88px;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; color: var(--blue); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--white); padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: var(--white); }

/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; }
.wordmark { font-size: 1.4rem; font-weight: 800; color: var(--blue); text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.wordmark span { color: var(--red); }
.wordmark:hover { color: var(--blue); }
.nav { display: flex; align-items: center; gap: 8px; }
.nav-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 10px; font-weight: 600; text-decoration: none; }
.nav-link[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: var(--blue); }
.btn-wa:hover { background: var(--wa-dark); color: var(--blue); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); color: var(--white); }
.btn-outline-white { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline-white:hover { background: var(--white); color: var(--blue); }
.btn-sm { padding: 10px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .7; cursor: wait; }

/* Hero */
.hero { background: var(--blue); color: var(--white); }
.hero-inner { display: grid; gap: 28px; padding: 40px 20px 48px; }
.hero h1 { color: var(--white); }
.hero p { font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: var(--card); }
.lead { color: var(--ink-2); max-width: 60ch; }
.grid { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.section-alt .card { background: var(--bg); }
.card p { color: var(--ink-2); margin: 0; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--white);
  font-weight: 800; margin-bottom: 12px;
}
.accent-bar { width: 40px; height: 4px; background: var(--red); border-radius: 2px; margin-bottom: 14px; }

.photos { display: grid; gap: 16px; }
.photos img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.assoc { background: var(--blue); color: var(--white); }
.assoc h2 { color: var(--white); }
.assoc-inner { display: grid; gap: 28px; align-items: center; }
.assoc img { border-radius: var(--radius); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* FAQ */
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
.faq summary {
  cursor: pointer; padding: 16px 20px; min-height: 48px; font-weight: 700; color: var(--blue);
  list-style-position: inside;
}
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--ink-2); }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--card);
  border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; min-height: 48px;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--blue); }
.form-field textarea { min-height: 140px; resize: vertical; }
.hint { font-size: .95rem; color: var(--ink-2); }
.hidden-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-status.is-ok { background: var(--ok-bg); color: var(--ok-ink); }
.form-status.is-error { background: var(--err-bg); color: var(--err-ink); }
.form-status a { color: inherit; }

/* Footer */
.site-footer {
  background: var(--blue-dark);
  color: var(--white);
  padding: 48px 0 108px;
  margin-bottom: -88px;
}
.footer-inner {
  display: grid;
  gap: 32px;
}
.footer-wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}
.footer-wordmark span { color: var(--white); }
.footer-wordmark:hover { color: var(--white); }
.footer-tagline {
  color: #B2C2D8;
  font-size: 0.95rem;
  margin: 6px 0 0;
  max-width: 38ch;
  line-height: 1.5;
}
.footer-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
}
.footer-links, .footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}
.footer-links a, .footer-contact-link, .footer-icon-item {
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  font-size: 0.95rem;
}
.footer-links a:hover, .footer-contact-link:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}
.footer-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.footer-icon-wa {
  color: var(--wa);
}
.footer-bottom {
  border-top: 1px solid rgba(220, 227, 238, 0.18);
  margin-top: 36px;
  padding-top: 24px;
}
.copyright {
  color: #A3B8D8;
  font-size: 0.88rem;
  margin: 0;
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; z-index: 50;
  right: calc(16px + env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(10, 42, 102, .3);
  transition: background-color .15s ease;
}
.wa-float:hover { background: var(--wa-dark); color: var(--blue); }
.wa-float svg { width: 30px; height: 30px; }

@media (min-width: 720px) {
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .photos { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1.6fr; align-items: start; gap: 40px; }
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 64px 20px 72px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .assoc-inner { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1.6fr 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.steps { list-style: none; padding: 0; margin: 0; }
