/* ═══════════════════════════════════════════════════════════════
   PREMIER HVAC SOLUTIONS — STYLESHEET
   Design System: Navy + Gold · Playfair Display + Inter
   ═══════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  /* Colors */
  --navy-deep:    #080F1C;
  --navy:         #0A1628;
  --navy-mid:     #0D1F3C;
  --navy-light:   #152847;
  --navy-muted:   #1e3560;

  --gold:         #C9A84C;
  --gold-light:   #E8C96B;
  --gold-pale:    #F0DFA0;
  --gold-dark:    #A08030;

  --white:        #FFFFFF;
  --off-white:    #F5F3EE;
  --warm-gray:    #EAE7E0;

  --text-primary: #0A1628;
  --text-body:    #3a4a5c;
  --text-muted:   #7a8a9a;
  --text-light:   #b0bcc8;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(72px, 10vw, 120px);
  --container:   1200px;
  --gutter:      clamp(16px, 4vw, 48px);

  /* Radii */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(8, 15, 28, 0.08);
  --shadow-md:  0 8px 32px rgba(8, 15, 28, 0.12);
  --shadow-lg:  0 20px 60px rgba(8, 15, 28, 0.18);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  /* Reusable gradients */
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--gold-light));
}

/* ── Reset & Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ── Container ───────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Typography ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  font-weight: 700;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

/* ── Section Header ──────────────────────────────────────────── */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-header h2 { margin: 12px 0 16px; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(201, 168, 76, 0.06);
}
.section-tag.light {
  color: var(--gold-light);
  border-color: rgba(232, 201, 107, 0.4);
  background: rgba(232, 201, 107, 0.08);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--gradient-gold);
  color: var(--navy);
  transition: all 0.2s var(--ease-out);
  margin-top: auto;
}
.btn-gold-sm:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-full { width: 100%; justify-content: center; padding: 16px 28px; font-size: 1rem; }

.btn-arrow {
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.35s var(--ease-out);
}
.navbar.scrolled {
  background: rgba(8, 15, 28, 0.96);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 4px 24px rgba(8, 15, 28, 0.4);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 60%; }

.nav-cta {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 7px;
  background: var(--gradient-gold);
  color: var(--navy);
  flex-shrink: 0;
  transition: all 0.25s var(--ease-out);
  box-shadow: 0 4px 14px rgba(201, 168, 76, 0.3);
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 100% 80% at 20% -20%, rgba(21, 40, 71, 0.8) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8, 15, 28, 0.3) 0%, rgba(8, 15, 28, 0.1) 50%, rgba(8, 15, 28, 0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-top: 100px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.badge-pulse {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 700px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.35s forwards;
}

.gold-italic {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 20%, var(--gold-pale) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.5s forwards;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.65s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-track {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ── TRUST BAR ───────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--warm-gray);
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 10;
}
.trust-bar .container { max-width: var(--container); }

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 22px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.trust-item:hover { color: var(--gold-dark); }

.trust-icon {
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.trust-item:hover .trust-icon { transform: scale(1.15); }

.trust-divider {
  width: 1px;
  height: 32px;
  background: var(--warm-gray);
  flex-shrink: 0;
}

/* ── SERVICES ────────────────────────────────────────────────── */
.services {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

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

/* Card flip */
.service-card {
  perspective: 1000px;
  height: 340px;
  cursor: pointer;
}
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:hover .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.card-front {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.service-card:hover .card-front {
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.3);
}

.card-back {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-light));
  transform: rotateY(180deg);
  border: 1px solid rgba(201, 168, 76, 0.2);
  box-shadow: var(--shadow-lg);
}
.card-back h3 { color: var(--white); margin-bottom: 18px; }
.card-back .service-list { flex: 1; }
.card-back .service-list li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-back .service-list li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.card-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
}
.service-card:hover .card-icon-wrap { transform: scale(1.05); }

.card-icon-wrap.heating {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.1));
  color: #e05a2a;
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.card-icon-wrap.cooling {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
  color: #2a8ae0;
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.card-icon-wrap.install {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(232, 201, 107, 0.12));
  color: var(--gold-dark);
  border: 1px solid rgba(201, 168, 76, 0.25);
}
.card-icon-wrap.emergency {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.1));
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.card-front h3 { color: var(--text-primary); margin-bottom: 10px; }
.card-front p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; flex: 1; }

.card-hover-hint {
  display: block;
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── WHY CHOOSE US ───────────────────────────────────────────── */
.why-us {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.why-us-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-content h2 { color: var(--white); margin: 14px 0 20px; }
.why-us-content > p { color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: 32px; }

.why-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
}
.why-list li svg { color: var(--gold); flex-shrink: 0; }

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
  backdrop-filter: blur(8px);
}
.metric-card:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.metric-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
}

.metric-text-wrap { justify-content: center; }
.metric-text-large {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  text-align: center;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
.testimonials {
  background: var(--white);
  padding: var(--section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  transition: all 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(201, 168, 76, 0.3);
}

.testimonial-card.featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: var(--shadow-gold);
  transform: translateY(-8px);
}
.testimonial-card.featured:hover { transform: translateY(-12px); }
.testimonial-card.featured blockquote { color: rgba(255,255,255,0.85); }
.testimonial-card.featured .reviewer strong { color: var(--white); }
.testimonial-card.featured .reviewer span { color: rgba(255,255,255,0.55); }

.featured-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 4px 12px;
  border-radius: 100px;
  align-self: flex-start;
}

.stars { display: flex; gap: 3px; }

.testimonial-card blockquote {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.75;
  flex: 1;
}
.testimonial-card blockquote::before { content: '"'; }
.testimonial-card blockquote::after { content: '"'; }

.reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.testimonial-card.featured .reviewer { border-top-color: rgba(255,255,255,0.1); }

.reviewer-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  font-family: var(--font-sans);
  flex-shrink: 0;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviewer-info strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.reviewer-info span { font-size: 0.8rem; color: var(--text-muted); }

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

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

.contact-info h2 { color: var(--text-primary); margin: 14px 0 20px; }
.contact-info > p { color: var(--text-muted); line-height: 1.75; margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; }

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.detail-icon-wrap {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--gradient-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.25);
}

.contact-detail > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-detail strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-detail span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form */
.contact-form {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.required { color: var(--gold-dark); }

input, select, textarea {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--off-white);
  border: 1.5px solid var(--warm-gray);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  width: 100%;
  transition: all 0.2s var(--ease-out);
  outline: none;
}
input::placeholder, textarea::placeholder { color: var(--text-light); }

input:focus, select:focus, textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

textarea { resize: vertical; min-height: 120px; }

.select-wrap {
  position: relative;
}
.select-wrap select { appearance: none; padding-right: 40px; cursor: pointer; }
.select-arrow {
  position: absolute;
  right: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: 14px;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  inset: 0;
  background: var(--white);
  border-radius: var(--r-xl);
  text-align: center;
  padding: 40px;
}
.form-success.visible {
  display: flex;
  animation: successReveal 0.4s var(--ease-out) forwards;
}
.form-success strong { font-family: var(--font-serif); font-size: 1.5rem; color: var(--text-primary); }
.form-success p { color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin: 20px 0 28px;
  max-width: 300px;
}

.footer-logo { margin-bottom: 4px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  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: all 0.2s;
}
.social-link:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.4);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a, .footer-contact li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
  line-height: 1.5;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact { display: flex; flex-direction: column; gap: 11px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--gold-light); }

/* ── ANIMATIONS & KEYFRAMES ──────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

@keyframes ripple {
  to { transform: scale(60); opacity: 0; }
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%     { transform: translateX(-6px); }
  40%     { transform: translateX(6px); }
  60%     { transform: translateX(-4px); }
  80%     { transform: translateX(4px); }
}

@keyframes successReveal {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Micro-interaction utilities ─────────────────────────────── */
.ripple {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.55s ease-out forwards;
  pointer-events: none;
}

input.error {
  border-color: #ef4444 !important;
  animation: shake 0.4s ease;
}

/* GSAP initial states */
.gsap-hidden { opacity: 0; }
.gsap-up { opacity: 0; transform: translateY(40px); }
.gsap-left { opacity: 0; transform: translateX(-40px); }
.gsap-right { opacity: 0; transform: translateX(40px); }
.gsap-scale { opacity: 0; transform: scale(0.92); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-inner { gap: 48px; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .why-us-inner { grid-template-columns: 1fr; gap: 48px; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
  .testimonial-card.featured { transform: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(8, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 999;
    animation: fadeIn 0.3s ease;
  }
  .nav-links.open .nav-link { font-size: 1.5rem; padding: 14px 28px; }
  .nav-links.open .nav-cta-mobile {
    display: inline-block;
    margin-top: 20px;
    background: var(--gradient-gold);
    color: var(--navy);
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 1rem;
  }

  .nav-container { position: relative; z-index: 1001; }

  .trust-items { gap: 8px; }
  .trust-item { padding: 8px 16px; font-size: 0.8rem; }
  .trust-divider { display: none; }

  .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .service-card { height: 300px; }

  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { height: 280px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .hero-ctas { flex-direction: column; }
  .btn-ghost { justify-content: center; }
  .trust-items { flex-direction: column; align-items: flex-start; padding-left: 16px; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
