/* ============================================
   SEGURO INSURANCE CENTER
   Premium bilingual insurance site
   Colors derived from Seguro brand (navy + teal)
   ============================================ */

:root {
  /* Brand Colors (from Seguro logo) */
  --navy-darkest: #0A1628;
  --navy-dark: #0E1E36;
  --navy: #132747;
  --navy-mid: #1B3358;
  --navy-light: #2A456F;

  --teal: #2B9CB0;
  --teal-light: #4DB8CA;
  --teal-glow: #5FC7D8;
  --teal-dark: #1E7D8E;

  /* Neutrals */
  --white: #FFFFFF;
  --cream: #F6F5F1;
  --gray-50: #F7F8FA;
  --gray-100: #EEF1F5;
  --gray-200: #D8DEE7;
  --gray-300: #B6BECC;
  --gray-400: #8892A6;
  --gray-500: #5B6578;
  --gray-600: #3E4757;
  --gray-700: #2A3142;

  /* Semantic */
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --text: #132747;
  --text-soft: #5B6578;
  --border: #E5E9F0;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1280px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   RESET + BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--teal);
  color: var(--white);
}

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

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-darkest);
  z-index: 9999;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
  color: var(--teal-light);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-shield {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  animation: shield-pulse 1.6s ease-in-out infinite;
}

.preloader-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes shield-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.6; }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 18px;
  position: relative;
  padding-left: 32px;
}

.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 22px;
  height: 1px;
  background: var(--teal);
}

.eyebrow-light {
  color: var(--teal-light);
}

.eyebrow-light::before {
  background: var(--teal-light);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 22ch;
  margin-bottom: 20px;
  font-variation-settings: 'opsz' 80;
}

.section-title-light {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 62ch;
}

.section-head {
  margin-bottom: 72px;
}

.section-head-center {
  text-align: center;
}

.section-head-center .eyebrow {
  justify-content: center;
}

.section-head-center .section-title,
.section-head-center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px -2px rgba(43, 156, 176, 0.45);
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(43, 156, 176, 0.55);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-200);
}

.btn-ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-ghost-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost-light:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-ghost-dark {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px -2px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:hover {
  background: #1EB855;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(37, 211, 102, 0.55);
}

.btn-link {
  background: none;
  padding: 10px 0;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease);
  text-align: center;
  display: block;
}

.btn-link:hover {
  color: var(--teal-light);
}

.btn-link-center {
  margin: 8px auto 0;
  display: block;
  width: 100%;
}

.btn-block {
  width: 100%;
}

.btn-large {
  padding: 17px 30px;
  font-size: 15px;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--navy-darkest);
  color: var(--gray-200);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
}

.topbar-item svg {
  color: var(--teal-light);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language Toggle */
.lang-toggle {
  background: transparent;
  padding: 0;
}

.lang-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 3px;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}

.lang-pill:hover {
  border-color: rgba(255, 255, 255, 0.28);
}

.lang-option {
  position: relative;
  z-index: 2;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-300);
  transition: color 0.3s var(--ease);
}

.lang-option.active {
  color: var(--navy-darkest);
}

.lang-slider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  background: var(--teal-light);
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out);
  z-index: 1;
}

[data-lang="es"] .lang-slider {
  transform: translateX(100%);
}

@media (max-width: 640px) {
  .topbar-hide-mobile {
    display: none;
  }
  .topbar-inner {
    padding: 9px 20px;
  }
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 20px -10px rgba(19, 39, 71, 0.12);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.25s var(--ease);
}

.logo:hover {
  opacity: 0.8;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.logo-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}

.logo-primary {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.logo-secondary {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.24em;
  color: var(--teal-dark);
  margin-top: 4px;
}

.logo-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: 0.01em;
  color: var(--teal);
  margin-top: 3px;
  opacity: 0.85;
}

@media (max-width: 640px) {
  .logo-tagline {
    display: none;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 999px;
  transition: all 0.25s var(--ease);
  position: relative;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--gray-50);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--teal);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 85vw);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--navy-darkest);
    padding: 100px 30px 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    color: var(--gray-200);
    font-size: 17px;
    font-weight: 500;
    padding: 18px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links a:hover {
    background: transparent;
    color: var(--teal-light);
  }

  .menu-toggle {
    display: flex;
  }

  .nav-cta span {
    display: none;
  }

  .nav-cta {
    padding: 11px 14px;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 80px 0 100px;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy-darkest);
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(43, 156, 176, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 80% at 90% 80%, rgba(77, 184, 202, 0.12), transparent 70%),
    linear-gradient(180deg, var(--navy-darkest) 0%, var(--navy) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: glow-drift 12s ease-in-out infinite;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 70%);
  bottom: -50px;
  right: -50px;
  animation-delay: -6s;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.1); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 70px;
  align-items: center;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(77, 184, 202, 0.1);
  border: 1px solid rgba(77, 184, 202, 0.28);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--teal-glow);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--teal-glow);
  border-radius: 50%;
  box-shadow: 0 0 0 0 var(--teal-glow);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(95, 199, 216, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(95, 199, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 199, 216, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  font-variation-settings: 'opsz' 144;
}

.title-line {
  display: block;
}

.title-accent {
  background: linear-gradient(120deg, var(--teal-light) 0%, var(--teal-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-actions .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-actions .btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

.trust-item svg {
  color: var(--teal-light);
  flex-shrink: 0;
}

/* Hero Card (Quote Form) */
.hero-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card-shield {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.card-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-footer .logo-mark img {
  filter: none;
}

.card-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--white);
}

.card-badge {
  padding: 4px 10px;
  background: var(--teal);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;
}

.card-form .form-row {
  margin-bottom: 14px;
}

.form-row label,
.form-grid label {
  display: block;
}

.form-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 6px;
}

.form-label-light {
  color: rgba(255, 255, 255, 0.7);
}

.card-form input,
.card-form select,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 14.5px;
  transition: all 0.25s var(--ease);
}

.card-form input::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.card-form input:focus,
.card-form select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(77, 184, 202, 0.15);
}

.card-form select,
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234DB8CA' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.card-form select option,
.contact-form select option {
  background: var(--navy-dark);
  color: var(--white);
}

.form-note {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-top: 14px;
}

.form-note-light {
  color: rgba(255, 255, 255, 0.55);
}

.card-form .btn {
  margin-top: 8px;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), transparent);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: var(--teal-light);
  animation: scroll-down 2.4s ease-in-out infinite;
}

@keyframes scroll-down {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding: 60px 0 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hero-card {
    padding: 26px;
  }
  .hero-scroll {
    display: none;
  }
  .hero-trust {
    gap: 18px;
  }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  padding: 22px 0;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--white);
}

.marquee-dot {
  color: var(--teal);
  font-size: 0.9rem;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  padding: 38px 32px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(19, 39, 71, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  grid-column: span 1;
  border-color: transparent;
}

.service-card-featured::before {
  background: var(--teal-light);
  transform: scaleX(1);
}

.service-card-featured:hover {
  border-color: transparent;
  box-shadow: 0 30px 60px -20px rgba(19, 39, 71, 0.35);
}

.service-card-featured h3 {
  color: var(--white);
}

.service-card-featured p {
  color: rgba(255, 255, 255, 0.72);
}

.service-number {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin-bottom: 22px;
}

.service-card-featured .service-number {
  color: var(--teal-light);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--gray-50);
  color: var(--teal-dark);
  border-radius: 12px;
  margin-bottom: 22px;
  transition: all 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.05);
}

.service-card-featured .service-icon {
  background: rgba(77, 184, 202, 0.15);
  color: var(--teal-light);
}

.service-card-featured:hover .service-icon {
  background: var(--teal-light);
  color: var(--navy);
}

.service-icon-dollar {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--teal-dark);
  line-height: 1;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.service-list li {
  position: relative;
  padding-left: 20px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1.5px;
  background: var(--teal-light);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--teal-dark);
  padding-top: 6px;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all 0.25s var(--ease);
  align-self: flex-start;
}

.service-card-featured .service-link {
  color: var(--teal-light);
}

.service-link:hover {
  gap: 14px;
  border-bottom-color: currentColor;
}

@media (max-width: 900px) {
  .services {
    padding: 80px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SR-22 / FR-44 SECTION
   ============================================ */
.sr22 {
  position: relative;
  padding: 120px 0;
  background: var(--navy-darkest);
  color: var(--white);
  overflow: hidden;
}

.sr22-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sr22-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 0%, transparent 70%);
}

.sr22-bg::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.25;
}

.sr22-inner {
  position: relative;
  z-index: 1;
}

.sr22-content {
  max-width: 1100px;
  margin: 0 auto;
}

.sr22-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 65ch;
  margin-bottom: 60px;
}

.sr22-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 50px;
  align-items: start;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
}

.sr22-col-tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(77, 184, 202, 0.12);
  border: 1px solid rgba(77, 184, 202, 0.3);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--teal-light);
  margin-bottom: 20px;
}

.sr22-col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.75rem;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--white);
}

.sr22-col p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.sr22-list {
  list-style: none;
}

.sr22-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.sr22-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 1.5px;
  background: var(--teal-light);
}

.sr22-divider {
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.sr22-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .sr22 {
    padding: 80px 0;
  }
  .sr22-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sr22-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: 120px 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.about-body {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
  margin-bottom: 36px;
}

.about-tagline {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.about-tagline span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--teal-dark) 0%, var(--teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-value-unit {
  font-size: 1.2rem;
  font-weight: 400;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.about-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}

.about-point-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--teal-dark);
  border: 1px solid var(--border);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}

.about-point:hover .about-point-num {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.about-point h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 6px;
}

.about-point p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

/* About Right - Stat Cards Layout */
.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  position: sticky;
  top: 100px;
}

.about-stat-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(19, 39, 71, 0.12);
  border-color: var(--teal);
}

.about-stat-card-1 {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-color: transparent;
  transform: translateY(20px);
}

.about-stat-card-1:hover {
  border-color: transparent;
  transform: translateY(16px);
}

.about-stat-card-4 {
  background: var(--gray-50);
  transform: translateY(20px);
}

.about-stat-card-4:hover {
  transform: translateY(16px);
}

.stat-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.about-stat-card-1 .stat-label {
  color: var(--teal-light);
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-stat-card-1 .stat-value {
  color: var(--white);
}

.stat-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

.about-stat-card-1 .stat-note {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 900px) {
  .about {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .about-right {
    position: static;
  }
}

@media (max-width: 520px) {
  .about-right {
    grid-template-columns: 1fr;
  }
  .about-stat-card-1,
  .about-stat-card-4 {
    transform: none;
  }
}

/* ============================================
   PROCESS
   ============================================ */
.process {
  padding: 120px 0;
  background: var(--gray-50);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.process-step {
  position: relative;
  padding: 40px 34px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.35s var(--ease);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -20px rgba(19, 39, 71, 0.1);
}

.process-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--teal);
  opacity: 0.25;
  margin-bottom: 16px;
}

.process-line {
  width: 32px;
  height: 2px;
  background: var(--teal);
  margin-bottom: 22px;
  transition: width 0.35s var(--ease);
}

.process-step:hover .process-line {
  width: 56px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-soft);
}

@media (max-width: 900px) {
  .process {
    padding: 80px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================
   VISIT
   ============================================ */
.visit {
  padding: 120px 0;
  background: var(--bg);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: stretch;
}

.visit-info {
  display: flex;
  flex-direction: column;
}

.visit-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 40px;
  line-height: 1.6;
}

.visit-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.visit-block:last-child {
  border-bottom: none;
}

.visit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--gray-50);
  color: var(--teal-dark);
  border-radius: 10px;
  flex-shrink: 0;
}

.visit-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 6px;
}

.visit-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  line-height: 1.35;
}

.visit-text-link:hover {
  color: var(--teal);
}

.visit-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  transition: gap 0.25s var(--ease);
}

.visit-link:hover {
  color: var(--teal);
}

.visit-hours {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
  font-size: 14.5px;
}

.visit-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--gray-600);
  font-weight: 500;
}

.visit-hours > div > span:first-child {
  color: var(--navy);
  font-weight: 600;
}

.visit-sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 6px;
}

/* Map */
.visit-map {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 30px 60px -30px rgba(19, 39, 71, 0.25);
  border: 1px solid var(--border);
}

.visit-map iframe {
  filter: grayscale(0.2) contrast(1.02);
}

.map-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 40px -15px rgba(19, 39, 71, 0.2);
  max-width: calc(100% - 40px);
}

.map-badge-shield {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.map-badge-shield img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-badge-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}

.map-badge-addr {
  font-size: 12.5px;
  color: var(--text-soft);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .visit {
    padding: 80px 0;
  }
  .visit-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .visit-map {
    min-height: 380px;
  }
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: 120px 0;
  background: var(--gray-50);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--teal);
}

.faq-item[open] {
  border-color: var(--teal);
  box-shadow: 0 20px 40px -20px rgba(19, 39, 71, 0.12);
}

.faq-item summary {
  padding: 22px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  list-style: none;
  transition: color 0.25s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--teal-dark);
}

.faq-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--teal);
  border-radius: 1px;
  transition: transform 0.3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 28px 22px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .faq {
    padding: 80px 0;
  }
  .faq-item summary {
    padding: 18px 22px;
    font-size: 1rem;
  }
  .faq-answer {
    padding: 0 22px 18px;
    font-size: 14px;
  }
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  position: relative;
  padding: 120px 0;
  background: var(--navy-darkest);
  color: var(--white);
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, black 0%, transparent 70%);
}

.contact-glow {
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
  filter: blur(100px);
  opacity: 0.25;
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 48px;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-direct-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}

.contact-direct-item:hover {
  background: rgba(77, 184, 202, 0.08);
  border-color: rgba(77, 184, 202, 0.3);
  transform: translateX(4px);
}

.cdi-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(77, 184, 202, 0.15);
  color: var(--teal-light);
  border-radius: 10px;
  flex-shrink: 0;
}

.cdi-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

.cdi-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--white);
}

/* Contact form */
.contact-form {
  padding: 38px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.contact-form .form-row {
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.contact-form .btn {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .contact {
    padding: 80px 0;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-form {
    padding: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-darkest);
  color: var(--gray-300);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-footer .logo-primary {
  color: var(--white);
}

.logo-footer .logo-secondary {
  color: var(--teal-light);
}

.footer-tag {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-400);
  max-width: 36ch;
}

.footer-col h5 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--gray-400);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--gray-500);
}

.footer-legal {
  color: var(--gray-500);
}

@media (max-width: 780px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.loaded .hero .reveal {
  animation: fade-up 1s var(--ease-out) forwards;
  animation-delay: calc(var(--delay, 0) * 1ms);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.no-scroll {
  overflow: hidden;
}

/* Web3Forms honeypot — must be invisible */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  tabindex: -1;
}

/* Form success state */
.form-success-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  min-height: 200px;
}

.form-success-icon {
  width: 56px;
  height: 56px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 16px;
  box-shadow: 0 0 0 8px rgba(43, 156, 176, 0.15);
}

.form-success-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}

.form-success-msg {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  max-width: 28ch;
  margin: 0 auto;
}

/* ============================================
   CARD TAGLINE (above quote form)
   ============================================ */
.card-tagline {
  text-align: center;
  padding: 0 0 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-tagline-text {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
  background: linear-gradient(120deg, var(--teal-light) 0%, var(--teal-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
}

.card-tagline-sub {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

/* ============================================
   STEP INDICATOR
   ============================================ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding: 0 4px;
}

.step-dot {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.35s var(--ease);
}

.step-dot.active .step-num {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(43, 156, 176, 0.15);
}

.step-dot.completed .step-num {
  background: var(--teal-light);
  border-color: var(--teal-light);
  color: var(--navy-darkest);
}

.step-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s var(--ease);
}

.step-dot.active .step-label,
.step-dot.completed .step-label {
  color: var(--teal-light);
}

.step-line {
  flex: 1;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 8px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
}

.step-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.step-line.filled::after {
  transform: scaleX(1);
}

/* ============================================
   FORM STEPS
   ============================================ */
.form-step {
  display: none;
  animation: step-in 0.4s var(--ease-out);
}

.form-step.active {
  display: block;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  padding: 10px 14px;
  background: rgba(77, 184, 202, 0.06);
  border: 1px solid rgba(77, 184, 202, 0.15);
  border-radius: 8px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.form-label-optional {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.req {
  color: var(--teal-light);
  margin-left: 3px;
}

.opt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.radio-option:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(77, 184, 202, 0.3);
}

.radio-option input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--teal-light);
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
}

.radio-option:has(input:checked) {
  background: rgba(77, 184, 202, 0.1);
  border-color: var(--teal-light);
  color: var(--white);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.form-actions-split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: 18px;
}

.form-actions-split .btn-ghost-dark {
  padding: 14px 18px;
}

.form-actions-split .btn-primary {
  width: 100%;
}

input[type="date"] {
  color-scheme: dark;
}

/* ============================================
   SERVICES - Commercial note
   ============================================ */
.services-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
  padding: 18px 28px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
}

.services-note svg {
  color: var(--teal-dark);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .services-note {
    border-radius: 14px;
    font-size: 13px;
    padding: 16px 20px;
    text-align: left;
    align-items: flex-start;
  }
}

/* ============================================
   VISIT - Contact row with dual numbers
   ============================================ */
.visit-contact-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.visit-contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.25s var(--ease);
}

.visit-contact-link:hover {
  border-color: var(--teal);
  background: var(--white);
  transform: translateX(3px);
}

.visit-contact-link-wa:hover {
  border-color: #25D366;
}

.visit-contact-tag {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

.visit-contact-link-wa .visit-contact-tag {
  color: #1EB855;
}

.visit-contact-val {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--navy);
}

/* ============================================
   Contact direct - WhatsApp variant
   ============================================ */
.cdi-icon-whatsapp {
  background: rgba(37, 211, 102, 0.15) !important;
  color: #25D366 !important;
}

.contact-direct-item-whatsapp:hover {
  background: rgba(37, 211, 102, 0.08) !important;
  border-color: rgba(37, 211, 102, 0.3) !important;
}

/* Responsive: form grids on mobile */
@media (max-width: 520px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .radio-group {
    grid-template-columns: 1fr;
  }
  .step-label {
    display: none;
  }
  .card-tagline-text {
    font-size: 1.2rem;
  }
  .card-tagline-sub {
    font-size: 12px;
  }
}
