/* ============================================================
   DESIGN SYSTEM — pastel, warm, modern
   ============================================================ */
:root {
  /* Pastel palette */
  --cream: #FBF7F2;
  --cream-2: #F5EFE6;
  --peach: #FFD8C2;
  --peach-soft: #FFE7D6;
  --mint: #C9E4D1;
  --mint-soft: #DEF0E3;
  --lavender: #E0D5F0;
  --lavender-soft: #EDE5F7;
  --sky: #CDE4F1;
  --sky-soft: #E0EEF7;
  --butter: #FFEEB8;
  --butter-soft: #FFF5D2;
  --rose: #F4C7C7;

  /* Text */
  --ink: #2B2A33;
  --ink-soft: #4A4956;
  --ink-muted: #7C7A88;

  /* Accent */
  --accent: #E07856;       /* warm terracotta — pairs with peach */
  --accent-hover: #C9614A;
  --accent-soft: #F5D8CB;

  /* Geometry */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Shadows — soft, pastel-friendly */
  --shadow-sm: 0 2px 8px rgba(43, 42, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(43, 42, 51, 0.06);
  --shadow-lg: 0 20px 50px rgba(43, 42, 51, 0.08);

  /* Type */
  --font-display: 'Bricolage Grotesque', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Decorative grain texture overlay for the entire page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.6 0 0 0 0 0.5 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.0;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.4rem;
  font-weight: 500;
}

.italic-accent { font-style: normal; color: var(--accent); }

p { color: var(--ink-soft); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 242, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(43, 42, 51, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
  position: relative;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

/* Footer logo a bit smaller */
.footer .logo img {
  height: 26px;
}

/* Mobile: smaller logo */
@media (max-width: 720px) {
  .logo img {
    height: 24px;
  }
  .footer .logo img {
    height: 22px;
  }
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
  list-style: none;
  margin: 0 auto; /* centers within space between logo and actions */
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); background: var(--cream-2); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Lang switcher */
.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--cream-2);
  border-radius: 100px;
}
.lang-switch button,
.lang-switch a {
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}


/* Ensure <a> tags inside language switcher look like buttons, not links */
.lang-switch a {
  text-decoration: none;
  display: inline-block;
}

.lang-switch button.active,
.lang-switch a.active {
  background: var(--ink);
  color: var(--cream);
}
.lang-switch button:hover:not(.active),
.lang-switch a:hover:not(.active) { color: var(--ink); }

/* Small CTA in nav */
.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

/* Burger — hidden on desktop */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-2);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  transition: background 0.2s ease;
}
.burger:hover { background: var(--peach-soft); }
.burger span {
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 16px;
  right: 16px;
  background: var(--cream);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  border: 1px solid rgba(43, 42, 51, 0.06);
}
.mobile-menu.open {
  display: flex;
  animation: dropDown 0.25s ease;
}
.mobile-menu a {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s ease;
}
.mobile-menu a:hover { background: var(--cream-2); }
.mobile-cta {
  margin-top: 10px;
  justify-content: center;
  width: 100%;
}
@keyframes dropDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--cream);
  box-shadow: 0 6px 20px rgba(224, 120, 86, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(224, 120, 86, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-ghost {
  background: var(--cream-2);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--peach-soft); }

.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* Mobile nav burger */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cream-2);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.burger span {
  width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* Hero decorative blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 1;
  animation: float 18s ease-in-out infinite;
}
.blob-1 { top: -50px; right: -80px; width: 400px; height: 400px; background: var(--peach); }
.blob-2 { top: 200px; left: -100px; width: 350px; height: 350px; background: var(--lavender); animation-delay: -6s; }
.blob-3 { bottom: -100px; right: 30%; width: 300px; height: 300px; background: var(--mint); animation-delay: -12s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--mint-soft);
  border: 1px solid var(--mint);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: #2D6B45;
  margin-bottom: 28px;
}
.badge .dot {
  width: 8px; height: 8px; background: #4CB071; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(76, 176, 113, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(76, 176, 113, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(76, 176, 113, 0.05); }
}

.hero h1 { margin-bottom: 28px; }
.hero h1 .underline-doodle {
  position: relative;
  display: inline-block;
}
.hero h1 .underline-doodle::after {
  content: '';
  position: absolute;
  left: -4px; right: -4px; bottom: -6px;
  height: 12px;
  background: var(--butter);
  z-index: -1;
  border-radius: 50%;
  transform: rotate(-1deg);
}

.hero-lead {
  font-size: 19px;
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 540px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Hero visual / illustration */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 460px;
  margin-left: auto;
}

.hero-photo {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--peach-soft), var(--lavender-soft));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}
.hero-photo:hover { transform: rotate(0deg); }
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Floating cards around the photo */
.float-card {
  position: absolute;
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 3;
  animation: float-card 6s ease-in-out infinite;
}
.float-card .emoji {
  font-size: 22px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
}
.float-card-1 {
  top: 6%; left: -8%;
  animation-delay: -2s;
}
.float-card-1 .emoji { background: var(--butter-soft); }
.float-card-2 {
  bottom: 8%; right: -6%;
  animation-delay: -4s;
}
.float-card-2 .emoji { background: var(--mint-soft); }
.float-card-3 {
  bottom: 35%; left: -12%;
  animation-delay: 0s;
}
.float-card-3 .emoji { background: var(--lavender-soft); }

@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head .eyebrow {
  display: inline-block;
}
.section-head p {
  font-size: 18px;
  margin-top: 16px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: linear-gradient(180deg, var(--cream) 0%, var(--peach-soft) 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 70px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--lavender-soft);
}
.about-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-photo::after {
  content: '';
  position: absolute;
  top: -16px; left: -16px;
  width: 100%; height: 100%;
  border: 2px dashed var(--accent);
  border-radius: var(--r-xl);
  z-index: -1;
}
.about h2 { margin-bottom: 24px; }
.about-body p {
  font-size: 17px;
  margin-bottom: 18px;
}
.about-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 14px;
}
.about-list li {
  background: var(--cream);
  padding: 16px 20px;
  border-radius: var(--r-md);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 4px solid var(--accent);
  font-size: 15.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.about-list .check {
  flex: none;
  width: 24px; height: 24px;
  background: var(--accent);
  color: var(--cream);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}

/* ============================================================
   FOR WHOM (3 cards)
   ============================================================ */
.for-whom { background: var(--cream); }
.for-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.for-card {
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.for-card:nth-child(1) { background: var(--peach-soft); }
.for-card:nth-child(2) { background: var(--mint-soft); }
.for-card:nth-child(3) { background: var(--lavender-soft); }

.for-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.for-card .num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 300;
  color: rgba(43, 42, 51, 0.12);
  line-height: 1;
  margin-bottom: 16px;
}
.for-card h3 {
  margin-bottom: 14px;
  font-size: 1.5rem;
}
.for-card p { font-size: 15.5px; }

/* ============================================================
   HOW (principles)
   ============================================================ */
.how {
  background: linear-gradient(180deg, var(--cream) 0%, var(--sky-soft) 100%);
}
.principles {
  display: grid;
  gap: 24px;
}
.principle {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  align-items: start;
}
.principle:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}
.principle .roman {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 56px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.principle h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}
.principle p { font-size: 16px; }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--cream); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.plan {
  background: var(--cream-2);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}
.plan:hover { transform: translateY(-6px); }

.plan.featured {
  background: var(--ink);
  color: var(--cream);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.plan.featured:hover { transform: scale(1.04) translateY(-6px); }
.plan.featured h3, .plan.featured .plan-price { color: var(--cream); }
.plan.featured .plan-desc, .plan.featured .plan-features li { color: rgba(251, 247, 242, 0.75); }
.plan.featured .plan-features li::before {
  border-left-color: var(--peach);
  border-bottom-color: var(--peach);
  background: transparent;
}

.plan-badge {
  position: absolute;
  top: -14px; right: 24px;
  background: var(--peach);
  color: var(--ink);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan-desc {
  color: var(--ink-muted);
  font-size: 14.5px;
  margin-bottom: 28px;
  min-height: 44px;
}
.plan-price {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 4px;
}
.plan-price .currency { font-size: 32px; vertical-align: top; margin-right: 4px; }
.plan-unit {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 32px;
}
.plan.featured .plan-unit { color: rgba(251, 247, 242, 0.6); }

.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}
.plan-features li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-soft);
}
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 16px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.plan .btn { width: 100%; justify-content: center; }
.plan.featured .btn-primary { background: var(--peach); color: var(--ink); box-shadow: none; }
.plan.featured .btn-primary:hover { background: var(--cream); }
.plan .btn-ghost { background: var(--cream); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: var(--butter-soft);
  border-radius: var(--r-md);
  font-size: 15.5px;
  color: var(--ink-soft);
}
.pricing-note strong { color: var(--ink); }

/* ============================================================
   TESTIMONIALS — carousel
   ============================================================ */
.testimonials {
  background: linear-gradient(180deg, var(--cream) 0%, var(--lavender-soft) 100%);
  overflow: hidden;
}

.carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  padding: 12px 0 40px;
  margin: 0 -8px;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  padding: 0 8px;
  cursor: grab;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }
.carousel-track.dragging * { user-select: none; pointer-events: none; }

.testi-card {
  flex: 0 0 calc((100% - 48px) / 3); /* 3 cards visible on desktop, gap=24 */
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testi-card .stars {
  color: #F5B544;
  margin-bottom: 18px;
  font-size: 18px;
  letter-spacing: 2px;
}
.testi-card blockquote {
  font-family: var(--font-display);
  font-style: normal;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 24px;
  font-weight: 400;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(43, 42, 51, 0.08);
}
.testi-author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  font-size: 18px;
  flex-shrink: 0;
}
.testi-author .name { font-weight: 600; font-size: 15px; }
.testi-author .meta { font-size: 13px; color: var(--ink-muted); }

/* Carousel controls */
.carousel-btn {
  position: absolute;
  top: calc(50% - 30px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  z-index: 5;
}
.carousel-btn:hover {
  background: var(--accent);
  color: var(--cream);
  transform: scale(1.08);
}
.carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.carousel-btn:disabled:hover {
  background: var(--cream);
  color: var(--ink);
  transform: none;
}
.carousel-prev { left: -22px; }
.carousel-next { right: -22px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(43, 42, 51, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--accent);
  width: 26px;
  border-radius: 4px;
}
.carousel-dot:hover:not(.active) {
  background: rgba(43, 42, 51, 0.35);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--cream); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--cream-2);
  border-radius: var(--r-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: background 0.3s ease;
}
.faq-item[open] { background: var(--peach-soft); }
.faq-item summary {
  padding: 22px 26px;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex: none;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer {
  padding: 0 26px 24px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.final-cta::before, .final-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
}
.final-cta::before {
  width: 400px; height: 400px;
  background: var(--peach);
  top: -100px; left: -100px;
}
.final-cta::after {
  width: 400px; height: 400px;
  background: var(--lavender);
  bottom: -100px; right: -100px;
}
.final-cta .container {
  text-align: center;
  max-width: 720px;
}
.final-cta h2 { color: var(--cream); margin-bottom: 24px; }
.final-cta p {
  color: rgba(251, 247, 242, 0.8);
  font-size: 18px;
  margin-bottom: 40px;
}
.final-cta .btn-primary {
  background: var(--peach);
  color: var(--ink);
  font-size: 17px;
  padding: 18px 36px;
}
.final-cta .btn-primary:hover { background: var(--cream); }

.contact-line {
  margin-top: 36px;
  font-size: 15px;
  color: rgba(251, 247, 242, 0.7);
}
.contact-line a {
  color: var(--peach);
  margin: 0 8px;
  font-weight: 500;
}
.contact-line a:hover { color: var(--cream); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(251, 247, 242, 0.6);
  padding: 40px 0;
  border-top: 1px solid rgba(251, 247, 242, 0.08);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
}
.footer .logo { color: var(--cream); }
.footer a { color: rgba(251, 247, 242, 0.7); }
.footer a:hover { color: var(--peach); }

/* ============================================================
   MODAL — contact form
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(43, 42, 51, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal {
  background: var(--cream);
  border-radius: var(--r-xl);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 44px 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.modal-overlay.active .modal {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cream-2);
  display: grid;
  place-items: center;
  font-size: 22px;
  color: var(--ink);
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close:hover { background: var(--peach-soft); transform: rotate(90deg); }

.modal h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.modal-sub {
  color: var(--ink-muted);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 18px;
}
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream-2);
  border: 1.5px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: all 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--cream);
}
.form-field textarea { resize: vertical; min-height: 90px; }

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

.modal .btn-primary { width: 100%; justify-content: center; margin-top: 12px; padding: 16px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.active { display: block; }
.form-success .icon {
  width: 70px; height: 70px;
  background: var(--mint);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid; place-items: center;
  font-size: 30px;
}
.form-success h3 { margin-bottom: 10px; }

/* ============================================================
   ANIMATIONS — scroll reveal
   ============================================================ */
.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}
/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .blob, .float-card, .badge .dot { animation: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* Tablet: hide center nav links, show burger */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .nav-cta { display: none; } /* CTA moves into mobile menu */
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { margin: 0 auto; max-width: 400px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 400px; margin: 0 auto; }
  .for-cards { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-6px); }
  .principle { grid-template-columns: 1fr; gap: 12px; padding: 26px; }
  .principle .roman { font-size: 42px; }

  /* Carousel — 2 cards visible */
  .testi-card { flex: 0 0 calc((100% - 24px) / 2); }
  .carousel-prev { left: -10px; }
  .carousel-next { right: -10px; }
}

@media (max-width: 720px) {
  section { padding: 70px 0; }
  .hero { padding: 50px 0 70px; }
  .container { padding: 0 18px; }

  /* Lang switch a bit more compact on mobile */
  .lang-switch button,
.lang-switch a { padding: 5px 8px; font-size: 11px; }

  .hero-stats { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .modal { padding: 32px 24px; }

  /* Float cards — hidden on mobile (they overlap and look broken on small screens) */
  .float-card { display: none; }

  /* Section heads */
  .section-head { margin-bottom: 44px; }

  /* Footer stack */
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }

  /* Final CTA contact line */
  .contact-line a { display: inline-block; margin: 4px 6px; }

  /* Carousel — 1 card visible, hide side buttons (use swipe + dots) */
  .testi-card { padding: 28px 24px; }

  /* Carousel — use native horizontal scroll on mobile (more reliable than JS transforms) */
  .carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 24px;
  }
  .carousel-viewport::-webkit-scrollbar { display: none; }
  .carousel-track {
    transform: none !important;
    transition: none;
  }
  .testi-card {
    scroll-snap-align: center;
    flex: 0 0 calc(100% - 16px);
  }
  /* Hide arrow buttons on mobile — users swipe instead */
  .carousel-btn { display: none; }
  .testi-card blockquote { font-size: 16px; }
  .carousel-viewport { padding: 8px 0 24px; }
  .carousel-btn { display: none; }
  .carousel-dots { margin-top: 8px; }
}

/* Very small phones */
@media (max-width: 380px) {
  .lang-switch { padding: 2px; }
  .lang-switch button,
.lang-switch a { padding: 4px 7px; font-size: 10.5px; }
  .burger { width: 36px; height: 36px; }
}