/* ==========================================================================
   Tamarisk Marketing — Redesign concept
   Same brand palette as the live site, new "modern SaaS/agency" visual
   language instead of the Apple-inspired original. Front-end only.
   ========================================================================== */

:root {
  /* ---- brand palette (unchanged from live site) ---- */
  --teal: #0F766E;
  --teal-dark: #0B5C55;
  --teal-light: #14B8A6;
  --navy: #1F2937;
  --bg-soft: #F1F5F9;
  --white: #FFFFFF;
  --border: rgba(31, 41, 55, 0.08);

  /* ---- derived tokens for the new look ---- */
  --gradient-brand: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
  --gradient-mesh: radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.16), transparent 45%),
                    radial-gradient(circle at 85% 0%, rgba(15, 118, 110, 0.14), transparent 40%),
                    radial-gradient(circle at 50% 100%, rgba(31, 41, 55, 0.06), transparent 50%);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.16);
  --shadow-brand: 0 16px 40px rgba(15, 118, 110, 0.28);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --max-width: 1240px;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

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

ul {
  list-style: none;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.12;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 108px 0;
}

@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

.accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: 1.15rem;
  color: #4B5563;
  max-width: 640px;
  margin-top: 20px;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15, 118, 110, 0.36);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--teal-dark);
  font-weight: 700;
  padding: 8px 0;
}

.btn-ghost:hover {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
}

.btn-on-dark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-on-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* ---------- Nav (sticky glass) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.mark-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 600;
  color: #4B5563;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta .btn {
  padding: 11px 20px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 4px;
    padding: 24px;
    background: var(--white);
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 16px 18px;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 100px;
  background: var(--gradient-mesh), var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  margin-top: 8px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 0.88rem;
  color: #6B7280;
  font-weight: 600;
}

.avatar-stack {
  display: flex;
}

.avatar-stack span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--gradient-brand);
  margin-left: -8px;
}

.avatar-stack span:first-child {
  margin-left: 0;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Media placeholder (video/image) ---------- */
.media-placeholder {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 2px dashed rgba(15, 118, 110, 0.35);
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.06), rgba(20, 184, 166, 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-placeholder-inner {
  text-align: center;
  padding: 28px;
  max-width: 360px;
}

.media-placeholder-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--teal);
}

.media-placeholder-label {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.media-placeholder-desc {
  font-size: 0.84rem;
  color: #6B7280;
  line-height: 1.5;
}

.media-placeholder-dims {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(31, 41, 55, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
  font-family: "SF Mono", "Menlo", monospace;
}

.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-9-16 { aspect-ratio: 9 / 16; max-width: 320px; margin: 0 auto; }
.ratio-4-3 { aspect-ratio: 4 / 3; }
.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-4-5 { aspect-ratio: 4 / 5; }

/* ---------- Real photo frame (reused real assets) ---------- */
.photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Stat strip ---------- */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  box-shadow: var(--shadow-lg);
}

.stat-strip .stat {
  flex: 1;
  min-width: 160px;
  text-align: left;
}

.stat-strip .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-strip .label {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Section head ---------- */
.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head p {
  color: #4B5563;
  margin-top: 14px;
  font-size: 1.02rem;
}

/* ---------- Bento grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(140px, auto);
  gap: 20px;
}

.bento-tile {
  border-radius: var(--radius-lg);
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.bento-tile.span-4 { grid-column: span 4; }
.bento-tile.span-3 { grid-column: span 3; }
.bento-tile.span-2 { grid-column: span 2; }
.bento-tile.dark {
  background: var(--navy);
  border-color: var(--navy);
}

.bento-tile.dark h3, .bento-tile.dark p { color: rgba(255, 255, 255, 0.92); }
.bento-tile.dark p { color: rgba(255, 255, 255, 0.65); }

.bento-tile.media {
  padding: 0;
  justify-content: stretch;
}

.bento-tile .icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bento-tile h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.bento-tile p {
  color: #6B7280;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-tile.span-4, .bento-tile.span-3, .bento-tile.span-2 {
    grid-column: span 1;
  }
}

/* ---------- Generic grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

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

@media (max-width: 900px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Feature / service cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 118, 110, 0.25);
}

.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card p {
  color: #6B7280;
  font-size: 0.96rem;
  margin-bottom: 16px;
}

/* ---------- Testimonial cards (placeholder content) ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.testimonial-quote {
  font-size: 1rem;
  color: var(--navy);
  line-height: 1.6;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px dashed rgba(15, 118, 110, 0.4);
  background: rgba(15, 118, 110, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}

.testimonial-role {
  font-size: 0.8rem;
  color: #9CA3AF;
}

.placeholder-note {
  display: inline-block;
  margin-top: 2px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(15, 118, 110, 0.08);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

/* ---------- Timeline / steps ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 28px;
  padding-bottom: 56px;
  position: relative;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-marker {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow-brand);
  z-index: 1;
}

.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 31px;
  width: 2px;
  bottom: 0;
  background: repeating-linear-gradient(to bottom, rgba(15, 118, 110, 0.3) 0, rgba(15, 118, 110, 0.3) 6px, transparent 6px, transparent 12px);
}

.timeline-content h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #4B5563;
  max-width: 620px;
}

.timeline-media {
  margin-top: 20px;
  max-width: 460px;
}

@media (max-width: 640px) {
  .timeline-step {
    grid-template-columns: 48px 1fr;
    gap: 18px;
  }
  .timeline-marker {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .timeline-step:not(:last-child)::before {
    left: 23px;
  }
}

/* ---------- Quote block ---------- */
.quote-block {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-block p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.quote-block .attribution {
  margin-top: 20px;
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.92rem;
}

/* ---------- Pricing ---------- */
.audience-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 48px;
}

.audience-toggle {
  display: inline-flex;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px;
  gap: 4px;
}

.audience-toggle button {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.94rem;
  font-weight: 700;
  color: #6B7280;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.audience-toggle button.active {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

@media (max-width: 640px) {
  .audience-toggle {
    flex-direction: column;
    width: 100%;
    border-radius: 16px;
  }
  .audience-toggle button {
    width: 100%;
    white-space: normal;
    border-radius: 12px;
  }
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

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

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color .3s ease;
  overflow: hidden;
}

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--border);
}

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

.price-card.featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.price-card.featured::before {
  background: var(--gradient-brand);
}

.price-card .badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.price-card h3 {
  font-size: 1.35rem;
  margin-top: 8px;
  margin-bottom: 6px;
}

.price-card .tagline {
  font-size: 0.9rem;
  color: #6B7280;
  margin-bottom: 20px;
}

.price-card .price {
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px;
}

.price-card .price .amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.price-original {
  text-decoration: line-through;
  color: #94A3B8;
  font-weight: 600;
  font-size: 1.25rem;
  margin-right: 6px;
}

.setup .price-original {
  font-size: 0.88rem;
}

.early-adopter-badge {
  display: inline-block;
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.price-card .price .period {
  font-size: 0.95rem;
  color: #6B7280;
  font-weight: 500;
}

.price-card .setup {
  font-size: 0.88rem;
  color: #6B7280;
  margin-bottom: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.price-card .setup strong {
  color: var(--teal-dark);
}

.price-card ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.94rem;
  color: #374151;
}

.price-card li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal);
}

.price-note {
  text-align: center;
  max-width: 640px;
  margin: 40px auto 0;
  font-size: 0.9rem;
  color: #6B7280;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
}

.price-note strong {
  color: var(--teal-dark);
}

/* ---------- Add-ons ---------- */
.addon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .addon-grid {
    grid-template-columns: 1fr;
  }
}

.addon-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}

.addon-card .amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--teal-dark);
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  padding: 72px 40px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-mesh);
  opacity: 0.7;
}

.cta-band > * {
  position: relative;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 520px;
  margin: 16px auto 32px;
  font-size: 1.02rem;
}

/* ---------- Forms ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

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

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--navy);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.consent-field {
  background: var(--bg-soft);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.checkbox-label {
  display: flex;
  gap: 10px;
  font-size: 0.82rem;
  color: #6B7280;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--teal);
}

.booking-embed {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
}

/* ---------- Questionnaire: pill choice groups + file fields ---------- */
.q-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.q-section h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.q-section-intro {
  color: #6B7280;
  font-size: 0.92rem;
  margin-bottom: 28px;
}

.q-block {
  margin-bottom: 28px;
}

.q-block:last-child {
  margin-bottom: 0;
}

.q-block > label,
.q-block-label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 12px;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-option label {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  background: var(--bg-soft);
  font-size: 0.88rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.choice-option input:checked + label {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.choice-option input:focus-visible + label {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.q-note {
  margin-top: 14px;
}

.q-note textarea {
  min-height: 70px;
}

.file-field {
  margin-top: 14px;
}

.file-field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 8px;
}

.file-field input[type="file"] {
  display: block;
  width: 100%;
  font-family: inherit;
  font-size: 0.84rem;
  color: #4B5563;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 2px dashed rgba(15, 118, 110, 0.35);
  background: linear-gradient(160deg, rgba(15, 118, 110, 0.05), rgba(20, 184, 166, 0.02));
}

.file-field-hint {
  font-size: 0.78rem;
  color: #9CA3AF;
  margin-top: 6px;
}

.q-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer (dark, sitemap) ---------- */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 280px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal-links a {
  color: rgba(255, 255, 255, 0.4);
  margin: 0 6px;
  transition: color 0.2s ease;
}

.footer-legal-links a:first-child {
  margin-left: 0;
}

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

/* ---------- Legal pages (Privacy Policy, Terms, SMS Terms) ---------- */
.legal-prose {
  max-width: 760px;
}

.legal-prose .updated-note {
  color: #6B7280;
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-prose h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-prose h2:first-of-type {
  margin-top: 0;
}

.legal-prose h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-prose p {
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-prose ul {
  margin: 0 0 16px 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-prose li {
  color: #374151;
  font-size: 0.98rem;
  line-height: 1.6;
  padding-left: 22px;
  position: relative;
}

.legal-prose li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
}

.legal-prose a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.35);
}

.legal-prose a:hover {
  text-decoration-color: var(--teal-dark);
}

.legal-prose strong {
  color: var(--navy);
}

.legal-fill {
  background: rgba(217, 119, 6, 0.12);
  color: #B45309;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Chatbot widget spacing safety ---------- */
#tamarisk-chat-launcher {
  z-index: 200;
}
