* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f7f8fa;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f2f5;
  --accent: #1a3c6e;
  --accent-light: #2a5ba8;
  --gold: #c9a84c;
  --gold-hover: #b8952e;
  --text-primary: #1a1a2e;
  --text-secondary: #5a6478;
  --text-light: #8a94a6;
  --border: #e2e6ed;
  --border-light: #eef0f4;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll-triggered animation classes */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children .animate:nth-child(1) { transition-delay: 0ms; }
.stagger-children .animate:nth-child(2) { transition-delay: 80ms; }
.stagger-children .animate:nth-child(3) { transition-delay: 160ms; }
.stagger-children .animate:nth-child(4) { transition-delay: 240ms; }
.stagger-children .animate:nth-child(5) { transition-delay: 320ms; }
.stagger-children .animate:nth-child(6) { transition-delay: 400ms; }

/* ========== NAV ========== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
  padding: 0.8rem 2.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand img {
  height: 192px;
  width: auto;
  margin: -60px -75px -60px -20px;
  transition: transform 0.3s ease, height 0.4s ease, margin 0.4s ease;
}

nav.scrolled .nav-brand img {
  height: 120px;
  margin: -35px -45px -35px -12px;
}

.nav-brand:hover img {
  transform: scale(1.05);
}

.nav-brand span {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--text-primary);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--accent-light) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 60, 110, 0.25);
}

.mobile-menu {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  background: none;
  border: none;
  padding: 0.25rem;
  transition: transform 0.2s;
}

.mobile-menu:active {
  transform: scale(0.9);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 60, 110, 0.2);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 60, 110, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ========== HERO ========== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 60, 110, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 60% 80%, rgba(226, 230, 237, 0.5) 0%, transparent 50%),
    var(--bg-primary);
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 60, 110, 0.03) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

#hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite 2s;
}

.hero-content {
  max-width: 820px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content h1 {
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-content h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-light);
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.stat-number {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ========== SECTIONS COMMON ========== */
section {
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ========== SERVICES ========== */
#services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  cursor: default;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0.6;
  transition: opacity 0.35s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.service-details {
  list-style: none;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.service-details li {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-details strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========== WHY US ========== */
#why-us {
  background: var(--bg-primary);
}

.features-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 2rem 2.25rem;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease,
              background 0.35s ease;
}

.feature-row.alt {
  background: var(--bg-secondary);
}

.feature-row:hover {
  transform: translateX(4px);
  border-color: var(--accent);
}

.feature-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  line-height: 1;
  min-width: 56px;
  flex-shrink: 0;
}

.feature-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.feature-body p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== HOW IT WORKS ========== */
#how-it-works {
  background: var(--bg-secondary);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 1.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.step:hover .step-number {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1);
}

.step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.step p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--accent), var(--border));
  margin-top: 26px;
  flex-shrink: 0;
  border-radius: 1px;
}

/* ========== ABOUT US ========== */
#about {
  background: var(--bg-primary);
}

.about-content {
  max-width: 920px;
  margin: 0 auto;
}

.about-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 0 auto 3.5rem;
}

.about-vision-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-vision-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-vision-text h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.about-vision-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-member {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-member:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.member-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.member-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.member-role {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.75rem;
}

.member-info p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

.about-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ========== FAQ ========== */
#faq {
  background: var(--bg-secondary);
  padding: 5rem 7%;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gold);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-toggle {
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== CONTACT / FORM ========== */
#contact {
  background: var(--bg-primary);
  padding: 7rem 2rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.35rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-item:hover {
  color: var(--text-primary);
  transform: translateX(4px);
}

.contact-team {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 0.5rem;
}

.team-member {
  padding: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.team-member h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.team-location {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.team-title {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.team-member .contact-item {
  margin: 0;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.contact-icon {
  font-size: 1.2rem;
}

/* ========== INTAKE FORM ========== */
.intake-form {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.intake-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.intake-form h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.dynamic-fields[hidden] {
  display: none;
}

.dynamic-fields {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 60, 110, 0.08);
  background: var(--bg-primary);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6478' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.08);
}

.form-hint[hidden] {
  display: none;
}

.form-hint {
  font-size: 0.82rem;
  color: #e53e3e;
  margin: -0.5rem 0 0.75rem;
}

.field-error {
  font-size: 0.78rem;
  color: #e53e3e;
  margin-top: 0.25rem;
  display: block;
}

.field-error[hidden] {
  display: none;
}

.intake-form .btn {
  margin-top: 0.5rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

.form-success[hidden] {
  display: none;
}

.form-success {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.success-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(26, 60, 110, 0.08);
  color: var(--accent);
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-success p {
  color: var(--text-secondary);
}

/* ========== FOOTER ========== */
footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 2rem 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  max-width: 1050px;
  margin: 0 auto 2.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.footer-col a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-contact-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
}

.footer-contact-name:first-of-type {
  margin-top: 0;
}

.footer-bottom {
  max-width: 1050px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.footer-bottom .disclaimer {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.5rem;
}

.footer-bottom .disclaimer a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom .disclaimer a:hover {
  color: #ffffff;
}

/* ========== CALCULATOR ========== */

#calculator-hero {
  padding: 10rem 2rem 3rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26, 60, 110, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.05) 0%, transparent 40%),
    var(--bg-primary);
  text-align: center;
}

#calculator-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

#calculator-hero p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

#calculator-tool {
  background: var(--bg-secondary);
  padding: 4rem 2rem 5rem;
}

.calculator-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.calculator-inputs {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calculator-inputs::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

.calculator-inputs h3,
.calculator-results h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.3rem;
}

.calc-conditional {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.calc-conditional[hidden] {
  display: none;
}

.result-card[hidden],
.results-section[hidden] {
  display: none;
}

.calculator-results {
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 6rem;
}

.results-section {
  margin-top: 1.5rem;
}

.results-section:first-of-type {
  margin-top: 1.25rem;
}

.results-section-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.result-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.result-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.result-card:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.result-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  transition: color 0.3s ease;
}

.result-card.highlight {
  background: var(--accent);
  border-color: var(--accent);
}

.result-card.highlight .result-label {
  color: rgba(255, 255, 255, 0.75);
}

.result-card.highlight .result-value {
  color: #fff;
}

.result-card.highlight-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-hover));
  border-color: var(--gold);
}

.result-card.highlight-gold .result-label {
  color: rgba(255, 255, 255, 0.8);
}

.result-card.highlight-gold .result-value {
  color: #fff;
}

.result-warning {
  color: #d97706 !important;
}

.result-danger {
  color: #e53e3e !important;
}

.result-negative {
  color: #e53e3e !important;
}

.result-cards > .result-card:only-child {
  grid-column: 1 / -1;
}

.result-note {
  display: block;
  font-size: 0.68rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-top: 0.35rem;
  font-weight: 400;
}

.calculator-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.6;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

/* ========== GOOD DEAL SECTION ========== */
#good-deal {
  background: var(--bg-secondary);
  padding: 5rem 2rem;
}

.good-deal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.good-deal-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.good-deal-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.good-deal-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.good-deal-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.good-deal-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========== PRIVACY PAGE ========== */
.privacy-body {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-body h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2.5rem 0 0.75rem;
}

.privacy-body h2:first-child {
  margin-top: 0;
}

.privacy-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem;
}

.privacy-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.privacy-body ul {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 0.5rem 0 1rem 1.5rem;
}

.privacy-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

.privacy-body a:hover {
  color: var(--accent-light);
}

#calculator-cta {
  background: var(--bg-primary);
  padding: 5rem 2rem;
  text-align: center;
}

#calculator-cta .btn {
  margin-top: 1.5rem;
}

.nav-active {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

/* ========== RESPONSIVE ========== */

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-vision {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-team {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .step-connector {
    width: 2px;
    height: 30px;
    margin: 0;
    background: linear-gradient(180deg, var(--border), var(--accent), var(--border));
  }

  .step {
    padding: 0;
    max-width: 400px;
  }

  .calculator-wrapper {
    grid-template-columns: 1fr;
  }

  .calculator-results {
    position: static;
  }

  .good-deal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1.25rem;
  }

  .nav-brand img {
    height: 100px;
    margin: -30px -40px -30px -10px;
  }

  nav.scrolled .nav-brand img {
    height: 72px;
    margin: -20px -28px -20px -8px;
  }

  .nav-brand span {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 0.3s ease both;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  #hero {
    min-height: auto;
    padding: 7rem 1.25rem 3.5rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
  }

  .hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 3rem;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .hero-stats {
    gap: 2rem;
    padding-top: 2rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  section {
    padding: 4rem 1.25rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .feature-row {
    padding: 1.5rem 1.25rem;
    gap: 1.25rem;
  }

  .feature-number {
    font-size: 1.75rem;
    min-width: 44px;
  }

  .about-vision {
    grid-template-columns: 1fr;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .about-vision-img {
    max-height: 240px;
  }

  .about-vision-text p {
    font-size: 0.95rem;
  }

  .about-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .about-cta {
    margin-top: 2rem;
  }

  .contact-info h2 {
    font-size: 1.75rem;
  }

  .contact-info > p {
    margin-bottom: 1.5rem;
  }

  .contact-team {
    gap: 1.25rem;
  }

  .team-member {
    padding: 1rem;
  }

  .intake-form {
    padding: 1.75rem 1.25rem;
  }

  .intake-form h3 {
    font-size: 1.15rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-col {
    align-items: center;
  }

  #calculator-hero {
    padding: 7rem 1.25rem 2rem;
  }

  #calculator-hero h1 {
    font-size: 1.85rem;
  }

  #calculator-tool {
    padding: 2rem 1.25rem 3rem;
  }

  .calculator-inputs,
  .calculator-results {
    padding: 1.75rem 1.25rem;
  }

  .result-cards {
    grid-template-columns: 1fr;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
  }

  .stat {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .nav-brand img {
    height: 80px;
    margin: -22px -32px -22px -8px;
  }

  nav.scrolled .nav-brand img {
    height: 56px;
    margin: -14px -22px -14px -6px;
  }

  .nav-brand span {
    font-size: 0.9rem;
  }

  .intake-form {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.85rem;
    font-size: 1rem;
  }

  .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.9rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-details {
    grid-template-columns: 1fr;
  }

  .step-number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  #calculator-hero h1 {
    font-size: 1.5rem;
  }

  .calculator-inputs,
  .calculator-results {
    padding: 1.5rem 1rem;
    border-radius: 8px;
  }

  .result-value {
    font-size: 1.15rem;
  }

  .good-deal-grid {
    grid-template-columns: 1fr;
  }
}

/* Touch device improvements */
@media (hover: none) {
  .service-card:hover,
  .about-member:hover,
  .feature-row:hover,
  .contact-item:hover {
    transform: none;
    box-shadow: none;
  }

  .step:hover .step-number {
    background: var(--bg-primary);
    color: var(--accent);
    transform: none;
  }
}
