/* ─── Base ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ─── Color tokens ────────────────────────────────────────────────────── */
:root {
  --navy:      #0D1B2A;
  --navy-700:  #1a2f45;
  --gold:      #0D9488;
  --gold-dark: #0a7a70;
  --gold-light:#5eead4;
  --slate-soft:#F4F6F9;
}

/* ─── Hero background ─────────────────────────────────────────────────── */
.hero-bg {
  background-color: var(--navy);
}

/* ─── Navbar scroll state ─────────────────────────────────────────────── */
#navbar.scrolled {
  background-color: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s;
  border-radius: 1px;
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { transform: scaleX(1); }

/* ─── Buttons ─────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  box-shadow: 0 4px 15px rgba(13,148,136,0.3);
}
.btn-primary:hover {
  background: var(--gold-dark);
  box-shadow: 0 6px 20px rgba(13,148,136,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid rgba(255,255,255,0.25);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.08);
  color: var(--gold);
}

/* ─── Section helpers ────────────────────────────────────────────────── */
.section-padding { padding: 6rem 0; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-eyebrow-light {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-subtitle {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 36rem;
  margin: 0 auto;
}

/* ─── Service Cards ──────────────────────────────────────────────────── */
.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, box-shadow 0.25s, border-color 0.25s, opacity 0.5s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,27,42,0.1);
  border-color: var(--gold-light);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.25rem;
  transition: background 0.2s;
}
.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.service-list {
  list-style: none;
  padding: 0;
  space-y: 0.25rem;
}
.service-list li {
  font-size: 0.8rem;
  color: #9ca3af;
  padding-left: 1.25rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
}

/* ─── Stat Cards ─────────────────────────────────────────────────────── */
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 2rem;
  opacity: 0;
  transform: scale(0.95);
}
.stat-card.visible {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── Process Steps ──────────────────────────────────────────────────── */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}
.process-step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(13,148,136,0.4);
}
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.step-desc {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.65;
}

/* ─── Testimonial Cards ──────────────────────────────────────────────── */
.testimonial-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.75rem;
  opacity: 0;
  transform: translateY(20px);
}
.testimonial-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* ─── Social icons ───────────────────────────────────────────────────── */
.social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ─── Form ───────────────────────────────────────────────────────────── */
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.625rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.form-input::placeholder { color: #9ca3af; }

select.form-input { cursor: pointer; }

/* ─── Staggered animation delays ─────────────────────────────────────── */
.service-card:nth-child(1),
.stat-card:nth-child(1),
.process-step:nth-child(1),
.testimonial-card:nth-child(1) { transition-delay: 0.05s; }

.service-card:nth-child(2),
.stat-card:nth-child(2),
.process-step:nth-child(2),
.testimonial-card:nth-child(2) { transition-delay: 0.15s; }

.service-card:nth-child(3),
.stat-card:nth-child(3),
.process-step:nth-child(3),
.testimonial-card:nth-child(3) { transition-delay: 0.25s; }

.service-card:nth-child(4),
.stat-card:nth-child(4),
.process-step:nth-child(4) { transition-delay: 0.35s; }

.service-card:nth-child(5) { transition-delay: 0.45s; }
.service-card:nth-child(6) { transition-delay: 0.55s; }

/* ─── FAQ Accordion ──────────────────────────────────────────────────── */
.faq-item {
  background: white;
  border: 1.5px solid #e5e7eb;
  border-radius: 0.875rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:has(.faq-trigger[aria-expanded="true"]) {
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(13,148,136,0.1);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  font-family: inherit;
}
.faq-trigger:hover { color: var(--gold); }
.faq-trigger[aria-expanded="true"] { color: var(--gold); }
.faq-trigger[aria-expanded="true"] .faq-icon { transform: rotate(180deg); color: var(--gold); }
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}
.faq-body.open {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}
.faq-body p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.75;
  border-top: 1px solid #f3f4f6;
  padding-top: 1rem;
}

/* ─── WhatsApp floating button ───────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  border-radius: 9999px;
  padding: 0.85rem 1.25rem 0.85rem 1rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: fab-pulse 3s ease-in-out infinite;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(37,211,102,0.55);
  animation: none;
}
.whatsapp-label {
  white-space: nowrap;
}

@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 6px 32px rgba(37,211,102,0.7); }
}

@media (max-width: 480px) {
  .whatsapp-fab { padding: 0.9rem; }
  .whatsapp-label { display: none; }
}

/* ─── Responsive tweaks ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  .section-padding { padding: 4rem 0; }
}
