/* ============ Design tokens ============ */
:root {
  --navy: #0f3b60;
  --navy-dark: #0a2a47;
  --midblue: #2f7fa6;
  --turquoise: #5fcec5;
  --accent: #1f8f83;
  --accent-dark: #146e64;

  --bg: #eef2f3;
  --surface: #ffffff;
  --surface-2: #e2e9ec;
  --ink: #0f3b60;
  --ink-soft: #4c6478;
  --line: #c7d3d9;

  --whatsapp-green: #25d366;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Segoe UI Variable", Roboto, Helvetica, Arial, sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(15, 59, 96, 0.08);
  --shadow-md: 0 6px 20px rgba(15, 59, 96, 0.12);

  --header-height: 72px;
}

/* ============ Reset ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Typography ============ */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); font-weight: 700; letter-spacing: -0.005em; text-wrap: balance; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 62ch; }
p.body-text { color: var(--ink-soft); max-width: 65ch; }

/* ============ Skip link ============ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  z-index: 200;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  height: var(--header-height);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
  flex-shrink: 0;
}
.brand img { height: 36px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--navy);
  background: var(--surface-2);
}
.main-nav a.active { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--navy);
}

@media (max-width: 880px) {
  .main-nav {
    display: none;
  }
  .main-nav.open {
    display: flex;
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 2px;
    overflow-y: auto;
    z-index: 150;
  }
  .main-nav a { padding: 14px 16px; font-size: 1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-actions .btn-label { display: none; }
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease, color 0.15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--navy-dark); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; border-color: var(--accent); color: var(--accent-dark); }
.btn-secondary:hover { background: var(--surface-2); }

.btn-whatsapp {
  background: var(--navy);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--navy-dark); }
.btn-whatsapp svg { fill: #fff; }

.btn-sm { padding: 9px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }

.header-actions .btn-whatsapp { padding: 9px 14px; font-size: 0.85rem; border-radius: var(--radius-sm); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* ============ Hero (brand gradient) ============ */
.hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--midblue) 55%, var(--turquoise) 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero .eyebrow { color: #d7f7f3; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255, 255, 255, 0.88); }
.hero .btn-secondary { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }
.hero .btn-whatsapp { background: #fff; color: var(--navy); }
.hero .btn-whatsapp svg { fill: var(--navy); }
.hero .btn-whatsapp:hover { background: #eaf6f4; }

.mini-hero { padding: 56px 0 48px; }
.mini-hero .lead { color: rgba(255, 255, 255, 0.92); margin-top: 10px; }

/* ============ Sections ============ */
section.block { padding: 56px 0; }
section.block.tight { padding: 40px 0; }
.block-alt { background: var(--surface); }

/* USP bar */
.usp-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.usp-bar li {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.usp-bar li::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--turquoise);
  flex-shrink: 0;
}

/* Service teaser grid (Home) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 700px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--turquoise); }
.service-card .icon-badge {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--turquoise));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  margin-bottom: 4px;
}
.service-card .icon-badge svg { width: 22px; height: 22px; fill: #fff; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }
.service-card .more-link { color: var(--accent-dark); font-weight: 700; font-size: 0.9rem; margin-top: auto; }
.service-card .more-link::after { content: " \2192"; }

/* Bullet list */
.check-list { display: grid; gap: 12px; margin-top: 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.6L4 14.1 9 19l11-11-1.5-1.5z"/></svg>') center/14px no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2l-3.5-3.6L4 14.1 9 19l11-11-1.5-1.5z"/></svg>') center/14px no-repeat;
}

/* Audience callout */
.audience-box {
  margin-top: 28px;
  padding: 18px 20px;
  background: var(--surface-2);
  border-left: 4px solid var(--turquoise);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
}
.audience-box span { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }

/* Cross-link to other services */
.cross-link { margin-top: 40px; font-size: 0.92rem; color: var(--ink-soft); }
.cross-link a { color: var(--accent-dark); font-weight: 700; }
.cross-link a:hover { text-decoration: underline; }

/* ============ Form ============ */
.offer-form-section { padding: 48px 0 64px; }
.offer-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.offer-form-card h2 { margin-bottom: 6px; }
.offer-form-card .lead { margin-bottom: 24px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.field label .req { color: var(--accent-dark); }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(31, 143, 131, 0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:invalid:not(:placeholder-shown) { border-color: #c94b4b; }

.form-footer { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.form-status { font-size: 0.9rem; font-weight: 600; }
.form-status[data-state="success"] { color: var(--accent-dark); }
.form-status[data-state="error"] { color: #c94b4b; }
.form-status[data-state="sending"] { color: var(--ink-soft); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ============ Contact block ============ */
.contact-block {
  background: linear-gradient(120deg, var(--navy) 0%, var(--midblue) 55%, var(--turquoise) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.contact-block .contact-info { display: flex; flex-direction: column; gap: 6px; }
.contact-block .contact-info a { font-weight: 700; }
.contact-block .contact-info a:hover { text-decoration: underline; }
.contact-block .contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.contact-block .btn-primary { background: #fff; color: var(--navy); }
.contact-block .btn-primary:hover { background: #eaf6f4; }
.contact-block .btn-secondary { border-color: rgba(255,255,255,0.7); color: #fff; }
.contact-block .btn-secondary:hover { background: rgba(255,255,255,0.12); }

/* Values list */
.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 18px;
}
.values-row li { font-weight: 700; color: var(--navy); font-size: 0.95rem; }

/* ============ Footer ============ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-brand img { height: 30px; }
.footer-col h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ Sticky mobile WhatsApp ============ */
.float-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.float-whatsapp svg { width: 26px; height: 26px; fill: #fff; }
@media (max-width: 880px) { .float-whatsapp { display: flex; } }

/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
