/* ==========================================================================
   Twin Mentor — Style Sheet
   A warm, nurturing, family-focused aesthetic
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  --cream: #FDF8F3;
  --cream-dark: #F5EDE4;
  --teal: #0D6B6B;
  --teal-light: #158585;
  --teal-dark: #094D4D;
  --coral: #E8725E;
  --coral-light: #F09080;
  --coral-dark: #D15A48;
  --gold: #D4A34A;
  --gold-light: #E0B860;
  --lavender: #9B7FBA;
  --lavender-light: #B39DD4;
  --charcoal: #2D2B3A;
  --charcoal-light: #3E3C4D;
  --gray: #6B6975;
  --gray-light: #9E9CA8;
  --gray-lighter: #C5C3CE;
  --white: #FFFFFF;
  --shadow-soft: 0 2px 16px rgba(45, 43, 58, 0.06);
  --shadow-medium: 0 4px 24px rgba(45, 43, 58, 0.10);
  --shadow-warm: 0 4px 20px rgba(212, 163, 74, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  --max-width: 1200px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.25;
  font-weight: 700;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--charcoal);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.6;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  white-space: nowrap;
}

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(232, 114, 94, 0.35);
}

.btn-primary:hover {
  background: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 114, 94, 0.45);
}

.btn-secondary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(13, 107, 107, 0.30);
}

.btn-secondary:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 107, 107, 0.40);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform var(--transition-smooth);
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(253, 248, 243, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 0.625rem 0;
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--charcoal);
  z-index: 1001;
}

.nav-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.nav-logo-icon .heart-1 { fill: var(--coral); }
.nav-logo-icon .heart-2 { fill: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: color var(--transition-smooth);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: width var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--coral);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: 1001;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--transition-smooth);
}

.mobile-menu a:hover {
  color: var(--coral);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 6rem;
  overflow: hidden;
  background: linear-gradient(
    170deg,
    #FDF8F3 0%,
    #F9F1E8 25%,
    #FDF2EE 50%,
    #F5EDE4 75%,
    #FDF8F3 100%
  );
}

/* Floating Shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-shape {
  position: absolute;
  opacity: 0.55;
  will-change: transform;
}

.shape-circle {
  border-radius: 50%;
}

.shape-1 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232, 114, 94, 0.25), rgba(232, 114, 94, 0.05));
  top: 12%;
  left: 8%;
  animation: floatSlow 8s ease-in-out infinite;
}

.shape-2 {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(13, 107, 107, 0.22), rgba(13, 107, 107, 0.04));
  top: 20%;
  right: 10%;
  animation: floatSlow 7s ease-in-out 1s infinite;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(212, 163, 74, 0.25), rgba(212, 163, 74, 0.05));
  bottom: 22%;
  left: 12%;
  animation: floatSlow 9s ease-in-out 2s infinite;
}

.shape-4 {
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, rgba(155, 127, 186, 0.28), rgba(155, 127, 186, 0.06));
  top: 35%;
  left: 50%;
  animation: floatSlow 6.5s ease-in-out 0.5s infinite;
}

.shape-5 {
  width: 90px;
  height: 90px;
  background: radial-gradient(circle, rgba(232, 114, 94, 0.20), rgba(232, 114, 94, 0.04));
  bottom: 25%;
  right: 15%;
  animation: floatSlow 7.5s ease-in-out 1.5s infinite;
}

.shape-hex {
  width: 70px;
  height: 70px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.shape-6 {
  background: rgba(155, 127, 186, 0.18);
  top: 55%;
  left: 5%;
  animation: floatSlow 10s ease-in-out 3s infinite, rotateSlow 20s linear infinite;
}

.shape-7 {
  width: 55px;
  height: 55px;
  background: rgba(13, 107, 107, 0.16);
  top: 60%;
  right: 8%;
  animation: floatSlow 8.5s ease-in-out 0.8s infinite, rotateSlow 18s linear infinite reverse;
}

.shape-ring {
  width: 100px;
  height: 100px;
  border: 3px solid rgba(212, 163, 74, 0.22);
  border-radius: 50%;
}

.shape-8 {
  top: 18%;
  left: 45%;
  animation: floatSlow 11s ease-in-out 2.5s infinite;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) translateX(0) scale(1); }
  25% { transform: translateY(-20px) translateX(10px) scale(1.03); }
  50% { transform: translateY(-8px) translateX(-5px) scale(0.97); }
  75% { transform: translateY(-25px) translateX(-8px) scale(1.05); }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 107, 107, 0.08);
  border: 1px solid rgba(13, 107, 107, 0.15);
  color: var(--teal);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 540px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Stats inside Hero */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--charcoal);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}

.hero-stat-number .plus {
  color: var(--coral);
  font-size: 1.5rem;
}

.hero-stat-label {
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 0.25rem;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
  padding: 7rem 1.5rem;
  background: var(--white);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  border-radius: 50% 50% 0 0;
}

.about .container {
  max-width: 760px;
}

.about-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.about-narrative {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--charcoal);
}

.about-narrative p {
  margin-bottom: 1.75rem;
}

.about-narrative p:last-child {
  margin-bottom: 0;
}

/* Pull Quote */
.pull-quote {
  position: relative;
  margin: 3rem 0;
  padding: 2.5rem 3rem;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--coral);
}

.pull-quote-icon {
  position: absolute;
  top: -20px;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-family: var(--font-serif);
  line-height: 1;
}

.pull-quote-text {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pull-quote-author {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
}

.pull-quote-author span {
  font-weight: 400;
  color: var(--gray);
}

/* ==========================================================================
   Services Section — Alternating Timeline
   ========================================================================== */
.services {
  padding: 7rem 1.5rem;
  background: var(--cream);
}

.services-header {
  text-align: center;
  margin-bottom: 5rem;
}

.services-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.services-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--coral),
    var(--gold),
    var(--teal),
    var(--lavender)
  );
  border-radius: 2px;
  transform: translateX(-50%);
}

.service-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 4rem;
}

.service-item:last-child {
  margin-bottom: 0;
}

.service-item:nth-child(odd) {
  flex-direction: row;
}

.service-item:nth-child(even) {
  flex-direction: row-reverse;
}

.service-marker {
  position: absolute;
  left: 50%;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--white);
  border: 3px solid var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  color: var(--teal);
  font-size: 1.1rem;
}

.service-content {
  width: calc(50% - 50px);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-item:nth-child(odd) .service-content {
  margin-right: auto;
}

.service-item:nth-child(even) .service-content {
  margin-left: auto;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-icon.teal { background: rgba(13, 107, 107, 0.10); color: var(--teal); }
.service-icon.coral { background: rgba(232, 114, 94, 0.10); color: var(--coral); }
.service-icon.gold { background: rgba(212, 163, 74, 0.15); color: var(--gold); }
.service-icon.lavender { background: rgba(155, 127, 186, 0.12); color: var(--lavender); }

.service-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-content p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  font-size: 0.8rem;
  padding: 0.3rem 0.85rem;
  background: var(--cream);
  color: var(--gray);
  border-radius: var(--radius-full);
  font-weight: 500;
}

/* ==========================================================================
   How It Works — Vertical Steps
   ========================================================================== */
.how-it-works {
  padding: 7rem 1.5rem;
  background: var(--white);
}

.how-header {
  text-align: center;
  margin-bottom: 5rem;
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(to bottom, var(--coral-light), var(--teal-light));
  border-radius: 1px;
}

.step {
  position: relative;
  display: flex;
  gap: 2rem;
  margin-bottom: 3.5rem;
  padding-left: 0;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 800;
  z-index: 2;
  position: relative;
}

.step:nth-child(1) .step-number {
  background: var(--coral);
  color: var(--white);
}

.step:nth-child(2) .step-number {
  background: var(--gold);
  color: var(--white);
}

.step:nth-child(3) .step-number {
  background: var(--teal);
  color: var(--white);
}

.step:nth-child(4) .step-number {
  background: var(--lavender);
  color: var(--white);
}

.step-body {
  padding-top: 0.25rem;
}

.step-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.step-body p {
  color: var(--gray);
  line-height: 1.7;
  max-width: 500px;
}

.step-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--transition-smooth);
}

.step-detail:hover {
  color: var(--coral);
}

/* ==========================================================================
   Testimonials Carousel
   ========================================================================== */
.testimonials {
  padding: 7rem 1.5rem;
  background: linear-gradient(180deg, var(--cream) 0%, #FAF0E8 50%, var(--cream) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 1rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  display: block;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--coral);
  opacity: 0.25;
  margin-bottom: -1rem;
}

.testimonial-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--charcoal);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  flex-shrink: 0;
}

.avatar-1 { background: var(--coral); }
.avatar-2 { background: var(--teal); }
.avatar-3 { background: var(--lavender); }
.avatar-4 { background: var(--gold); }

.testimonial-name {
  font-weight: 700;
  color: var(--charcoal);
  text-align: left;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--gray);
  text-align: left;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--gray-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1.1rem;
  transition: all var(--transition-smooth);
}

.carousel-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-lighter);
  transition: all var(--transition-smooth);
}

.carousel-dot.active {
  background: var(--coral);
  transform: scale(1.3);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq {
  padding: 7rem 1.5rem;
  background: var(--white);
}

.faq-header {
  text-align: center;
  margin-bottom: 4rem;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth);
}

.faq-item.active {
  box-shadow: var(--shadow-soft);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--charcoal);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-smooth);
}

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

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gray);
  transition: all var(--transition-smooth);
  margin-left: 1rem;
}

.faq-item.active .faq-icon {
  border-color: var(--coral);
  color: var(--coral);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.75rem 1.5rem;
  color: var(--gray);
  line-height: 1.8;
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */
.cta-banner {
  padding: 6rem 1.5rem;
  background: var(--cream);
}

.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--teal) 0%, #0F7A7A 50%, var(--teal-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-card p {
  color: #D9D7DF;
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.cta-card .btn-primary {
  background: var(--gold);
  color: var(--charcoal);
  box-shadow: 0 4px 14px rgba(212, 163, 74, 0.4);
}

.cta-card .btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 6px 20px rgba(212, 163, 74, 0.5);
}

/* ==========================================================================
   Contact / Footer
   ========================================================================== */
.footer {
  background: var(--charcoal);
  color: #BFBCC7;
  padding: 5rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: #A6A3AF;
  transition: color var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--coral-light);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--coral-light);
  margin-top: 2px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #3E3C4D;
  text-align: center;
  font-size: 0.875rem;
  color: #757380;
}

/* ==========================================================================
   Contact Form (in a modal or inline — used on homepage)
   ========================================================================== */
.contact-section {
  padding: 7rem 1.5rem;
  background: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: var(--cream);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--gray-lighter);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  font-size: 1rem;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13, 107, 107, 0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

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

.form-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(13, 107, 107, 0.1);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--teal);
}

.form-success h3 {
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--gray);
}

/* ==========================================================================
   Scroll Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   SVG Favicon (inline in HTML)
   ========================================================================== */

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .services-timeline::before {
    left: 24px;
  }

  .service-marker {
    left: 24px;
    transform: none;
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .service-content {
    width: calc(100% - 70px);
    margin-left: 70px !important;
    margin-right: 0 !important;
  }

  .service-item:nth-child(odd),
  .service-item:nth-child(even) {
    flex-direction: row;
  }
}

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

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 7rem 1rem 4rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stat-number {
    font-size: 2rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .carousel-controls {
    margin-top: 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .pull-quote {
    padding: 2rem 1.5rem;
  }

  .contact-form-wrap {
    padding: 2rem 1.5rem;
  }

  .steps::before {
    left: 23px;
  }

  .step-number {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

  .step {
    gap: 1.25rem;
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 1rem;
    flex-direction: column;
  }

  .about-narrative {
    font-size: 1.05rem;
  }

  .service-content {
    padding: 1.5rem;
  }

  .faq-question {
    padding: 1.25rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   Privacy Page — Data Security Report Style
   ========================================================================== */
.privacy-page {
  background: var(--cream);
}

.privacy-hero {
  background: linear-gradient(135deg, var(--charcoal) 0%, #1F1E2A 100%);
  color: var(--white);
  padding: 8rem 1.5rem 5rem;
  text-align: center;
}

.privacy-hero-badge {
  display: inline-block;
  background: rgba(232, 114, 94, 0.2);
  color: var(--coral-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.privacy-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.privacy-hero p {
  color: #A6A3AF;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.privacy-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.privacy-chapter {
  margin-bottom: 3.5rem;
}

.privacy-chapter-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.privacy-chapter h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
}

.privacy-chapter p,
.privacy-chapter li {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.privacy-chapter ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.privacy-chapter ul li {
  margin-bottom: 0.5rem;
}

.privacy-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--teal);
  margin: 1.5rem 0;
}

.privacy-info-card h3 {
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.privacy-info-card p {
  font-size: 1rem;
  color: var(--gray);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.privacy-table th {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
}

.privacy-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--charcoal);
}

.privacy-table tr:nth-child(even) td {
  background: var(--cream);
}

.privacy-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--teal);
  font-weight: 600;
  margin-bottom: 2rem;
  transition: color var(--transition-smooth);
}

.privacy-back-link:hover {
  color: var(--coral);
}

.privacy-footer-note {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ==========================================================================
   Terms of Service Page
   ========================================================================== */
.terms-page {
  background: var(--cream);
}

.terms-hero {
  background: linear-gradient(135deg, #0D6B6B 0%, #094D4D 100%);
  color: var(--white);
  padding: 8rem 1.5rem 5rem;
  text-align: center;
}

.terms-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

.terms-hero p {
  color: #A6A3AF;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.terms-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.terms-section {
  margin-bottom: 3rem;
}

.terms-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.terms-section h2 .terms-num {
  width: 40px;
  height: 40px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.terms-section p,
.terms-section li {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
}

.terms-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.terms-section ul li {
  margin-bottom: 0.5rem;
}

.terms-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  transition: opacity var(--transition-smooth);
}

.terms-back-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--cream) 0%, #F9EDE5 50%, var(--cream) 100%);
  text-align: center;
  padding: 2rem;
}

.page-404-content {
  max-width: 520px;
}

.page-404-illustration {
  margin-bottom: 2rem;
  position: relative;
}

.page-404-number {
  font-size: clamp(7rem, 15vw, 11rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--coral) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.page-404-badge {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.page-404 h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.page-404 p {
  color: var(--gray);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.page-404-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Skip Link
   ========================================================================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--coral);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-weight: 600;
  z-index: 10000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   Focus Styles
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floating-shape,
  .reveal {
    animation: none !important;
    transition: none !important;
  }
}
