/* ==========================================================
   ALPHA DEVELOPMENT GROUP - Shared Landing Page Styles
   Covers: CSS reset, brand variables, typography, and all
   shared component styles for kitchen & bathroom pages.
   ========================================================== */

/* --- CSS Custom Properties (Brand Colors & Spacing) --- */
:root {
  /* Brand colors from the ADG website */
  --color-dark: #1A1A2E;        /* Near-black for text & dark backgrounds */
  --color-red: #D40000;          /* Brand red for CTAs and accents */
  --color-red-hover: #B00000;    /* Darker red for hover states */
  --color-white: #FFFFFF;
  --color-light-gray: #F5F5F7;  /* Section backgrounds */
  --color-medium-gray: #4A4A5A; /* Body text */
  --color-border: #E0E0E4;      /* Input borders, card borders */
  --color-success: #2E7D32;     /* Form success green */

  /* Font families loaded from Google Fonts */
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;    /* 8px */
  --space-sm: 1rem;      /* 16px */
  --space-md: 1.5rem;    /* 24px */
  --space-lg: 2.5rem;    /* 40px */
  --space-xl: 4rem;      /* 64px */

  /* Sizing */
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 12px;
}


/* ==========================================================
   CSS RESET
   Removes default browser spacing and sets up consistent
   box-sizing across all elements.
   ========================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-medium-gray);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Prevents horizontal scroll */
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}


/* ==========================================================
   TYPOGRAPHY
   Plus Jakarta Sans for headings (bold, punchy)
   DM Sans for body text (clean, readable)
   ========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-sm);
}


/* ==========================================================
   LAYOUT HELPERS
   ========================================================== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Section headings */
.section-heading {
  font-size: 1.65rem;
  margin-bottom: var(--space-sm);
}

.section-heading--center {
  text-align: center;
}

.section-subheading {
  color: var(--color-medium-gray);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  text-align: center;
}


/* ==========================================================
   BUTTONS
   Primary red CTA buttons used throughout the page
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  min-height: 52px;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn--primary:hover {
  background-color: var(--color-red-hover);
}

.btn--primary:active {
  transform: scale(0.98);
}

/* Full-width button (used in forms) */
.btn--full {
  width: 100%;
}


/* ==========================================================
   SECTION 1: HERO
   Full-screen background image with dark overlay, headline
   on the left, lead capture form on the right.
   ========================================================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  min-height: 100dvh; /* Uses dynamic viewport height on mobile */
  display: flex;
  align-items: center;
  padding: var(--space-lg) 0;
}

/* Dark gradient overlay for text readability on the photo */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.88) 0%,
    rgba(26, 26, 46, 0.65) 100%
  );
  z-index: 1;
}

/* Container sits above the overlay */
.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* --- Hero text content (left side on desktop) --- */
.hero__content {
  color: var(--color-white);
  text-align: center; /* Center on mobile */
}

.hero__logo {
  height: auto;
  width: 320px;
  max-width: 80%;
  margin-bottom: -19px;
  margin-left: auto;  /* Center the logo on mobile */
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero__logo {
    width: 400px;
    margin-left: 0; /* Left-align on desktop */
    margin-right: 0;
  }

  .hero__content {
    text-align: left; /* Left-align on desktop */
  }
}

.hero__headline {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  line-height: 1.15;
}

.hero__subheadline {
  font-size: 1.05rem;
  line-height: 1.65;
  opacity: 0.9;
  margin-bottom: var(--space-md);
}

/* Trust badges row (checkmark + text) */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center; /* Center badges on mobile */
}

@media (min-width: 768px) {
  .hero__badges {
    justify-content: flex-start; /* Left-align on desktop */
  }
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
}

.hero__badge-icon {
  flex-shrink: 0;
}


/* ==========================================================
   FORM CARD
   The white card containing the lead capture form.
   Used in the hero section and as standalone in bottom form.
   ========================================================== */
.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.form-card__title {
  font-size: 1.4rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.form-card__subtitle {
  color: var(--color-medium-gray);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.form-card__disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: #888;
  margin-top: var(--space-xs);
  margin-bottom: 0;
}

/* Form fields (inputs & textarea) */
.form-field {
  margin-bottom: var(--space-sm);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 16px; /* 16px prevents iOS auto-zoom on focus */
  color: var(--color-dark);
  background: var(--color-light-gray);
  transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-red);
  background: var(--color-white);
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
}

/* Validation error styles */
.form-field.error input,
.form-field.error textarea {
  border-color: var(--color-red);
}

.form-field .error-msg {
  display: none;
  color: var(--color-red);
  font-size: 0.8rem;
  margin-top: 4px;
}

.form-field.error .error-msg {
  display: block;
}

/* Success message (shown after form submit) */
.form-success {
  display: none;
  text-align: center;
  padding: var(--space-lg) var(--space-sm);
}

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

.form-success h3 {
  color: var(--color-success);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}


/* ==========================================================
   SECTION 2: SOCIAL PROOF BAR
   Horizontal strip of credentials and trust signals
   ========================================================== */
.social-proof {
  background-color: var(--color-light-gray);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}

/* Scrollable track on mobile */
.social-proof__track {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 var(--space-md) 4px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.social-proof__track::-webkit-scrollbar {
  display: none;
}

.social-proof__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  flex-shrink: 0;
}


/* ==========================================================
   SECTION 3: EMPATHY / PROBLEM
   Emotional connection section with pain points and solution
   ========================================================== */
.empathy {
  padding: var(--space-xl) 0;
}

.empathy__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  align-items: center;
}

.empathy__content h2,
.empathy__content .section-heading {
  margin-bottom: var(--space-sm);
}

.empathy__content p {
  font-size: 1.05rem;
  line-height: 1.7;
}

.empathy__image {
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.empathy__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  /* Subtle polish for phone-quality photos */
  filter: brightness(1.03) contrast(1.04);
}


/* ==========================================================
   SECTION 4: DIFFERENTIATORS
   Three feature cards showing what makes ADG different
   ========================================================== */
.differentiators {
  padding: var(--space-xl) 0;
  background-color: var(--color-light-gray);
}

.differentiators__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.diff-card {
  text-align: center;
  padding: var(--space-md);
}

.diff-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: rgba(212, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-card__title {
  margin-bottom: var(--space-xs);
}

.diff-card__text {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  margin-bottom: 0;
}


/* ==========================================================
   SECTION 5: GALLERY
   Grid of project photos
   ========================================================== */
.gallery {
  padding: var(--space-xl) 0;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* Slight polish for phone-quality photos */
  filter: brightness(1.02) contrast(1.03);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* CTA button centered below the gallery */
.gallery__cta {
  text-align: center;
}


/* ==========================================================
   SECTION 6: HOW IT WORKS
   Three numbered steps showing the process
   ========================================================== */
.how-it-works {
  padding: var(--space-xl) 0;
  background-color: var(--color-light-gray);
}

.steps__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.step-card {
  text-align: center;
}

/* Numbered circle */
.step-card__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.step-card__title {
  margin-bottom: var(--space-xs);
}

.step-card__text {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  max-width: 340px;
  margin: 0 auto;
}


/* ==========================================================
   SECTION 7: TESTIMONIALS
   Client review cards with stars
   ========================================================== */
.testimonials {
  padding: var(--space-xl) 0;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Gold star row */
.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-xs);
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial-card__quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-dark);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial-card__author {
  font-size: 0.9rem;
  color: var(--color-medium-gray);
  font-style: normal;
}

.testimonial-card__author strong {
  color: var(--color-dark);
}


/* ==========================================================
   SECTION 8: BOTTOM FORM
   Second lead capture form for visitors who scrolled down
   ========================================================== */
.bottom-form {
  padding: var(--space-xl) 0;
  background-color: var(--color-light-gray);
}

.bottom-form__wrapper {
  max-width: 560px;
  margin: 0 auto;
}

.lead-form--bottom {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-top: var(--space-md);
}

.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.lead-form--bottom .form-field {
  margin-bottom: var(--space-sm);
}

.bottom-form__submit {
  margin-top: var(--space-xs);
}

.bottom-form__submit .btn {
  width: 100%;
}


/* ==========================================================
   SECTION 9: FOOTER
   Minimal footer — no navigation, no social links
   ========================================================== */
.footer {
  background-color: var(--color-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  /* Extra padding at bottom for the sticky CTA bar on mobile */
  padding-bottom: calc(var(--space-lg) + 70px);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-xs);
}

.footer__company {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.footer__phone {
  margin-bottom: 0;
}

.footer__phone a {
  color: var(--color-white);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer__area {
  font-size: 0.85rem;
  max-width: 500px;
  line-height: 1.5;
  margin-top: var(--space-xs);
}

.footer__copyright {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-top: var(--space-xs);
}


/* ==========================================================
   MOBILE STICKY CTA BAR
   Red bar fixed to the bottom of mobile screens.
   Appears only when the visitor scrolls past the hero form.
   ========================================================== */
.sticky-cta {
  display: none; /* Hidden by default, JS adds .visible class */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--color-red);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.sticky-cta.visible {
  display: block;
}

.sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}


/* ==========================================================
   SCROLL ANIMATION
   Elements with .fade-in start invisible and slide up when
   they enter the viewport (JS adds .visible class).
   ========================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   DESKTOP BREAKPOINT (768px and up)
   Switches to side-by-side layouts
   ========================================================== */
@media (min-width: 768px) {
  /* Bigger headings on desktop */
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }
  .section-heading { font-size: 2rem; }

  /* Hero becomes side-by-side: headline left, form right */
  .hero {
    min-height: 85vh;
  }

  .hero__container {
    flex-direction: row;
    align-items: center;
  }

  .hero__content {
    flex: 1.2;
  }

  .hero__headline {
    font-size: 2.6rem;
  }

  .hero__form-wrapper,
  .hero__form-card {
    flex: 0 0 400px;
  }

  .hero__form-card {
    padding: var(--space-lg);
  }

  .form-card {
    padding: var(--space-lg);
  }

  /* Empathy section: text left, image right */
  .empathy__grid {
    flex-direction: row;
  }

  .empathy__content {
    flex: 1;
  }

  .empathy__image {
    flex: 0 0 380px;
  }

  .empathy__image img {
    height: 320px;
  }

  /* Differentiators: 3 columns */
  .differentiators__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Gallery: 3 columns */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Steps: 3 columns */
  .steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Testimonials: 3 columns */
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bottom form: 2-column layout for name/phone/email */
  .lead-form__grid {
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-sm);
  }

  .form-field--full {
    grid-column: 1 / -1;
  }

  /* Hide sticky CTA on desktop */
  .sticky-cta {
    display: none !important;
  }

  /* Remove extra footer padding on desktop */
  .footer {
    padding-bottom: var(--space-lg);
  }
}


/* ==========================================================
   LARGE DESKTOP (1024px and up)
   ========================================================== */
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }

  .hero__headline {
    font-size: 3rem;
  }

  .hero__form-wrapper,
  .hero__form-card {
    flex: 0 0 440px;
  }
}


/* ==========================================================
   CLASS ALIASES
   Both pages use slightly different BEM naming for the same
   components. These rules ensure both conventions are styled.
   ========================================================== */

/* Hero form card — bathroom page uses hero__form-card */
.hero__form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Form fields — bathroom page uses form-group instead of form-field */
.form-group {
  margin-bottom: var(--space-sm);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 16px;
  color: var(--color-dark);
  background: var(--color-light-gray);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-red);
  background: var(--color-white);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group.error input,
.form-group.error textarea {
  border-color: var(--color-red);
}

/* Differentiators — bathroom uses differentiators__card / differentiators__icon */
.differentiators__card {
  text-align: center;
  padding: var(--space-md);
}

.differentiators__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
  background: rgba(212, 0, 0, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.differentiators__card h3 {
  margin-bottom: var(--space-xs);
}

.differentiators__card p {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  margin-bottom: 0;
}

/* Steps — bathroom uses step / step__number / step__title / step__description */
.step {
  text-align: center;
}

.step__number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-red);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.step__title {
  margin-bottom: var(--space-xs);
}

.step__description {
  font-size: 0.95rem;
  color: var(--color-medium-gray);
  max-width: 340px;
  margin: 0 auto;
}

/* Sticky CTA button alias — bathroom uses sticky-cta__button */
.sticky-cta__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}

/* Footer aliases — bathroom uses footer__container and footer__service-area */
.footer__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.footer__service-area {
  font-size: 0.85rem;
  max-width: 500px;
  line-height: 1.5;
  margin-top: var(--space-xs);
}

/* Bottom form aliases — bathroom uses bottom-form__content */
.bottom-form__content {
  max-width: 560px;
  margin: 0 auto;
}

.bottom-form__content .lead-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  margin-top: var(--space-md);
}

.bottom-form__subtitle {
  text-align: center;
  color: var(--color-medium-gray);
  margin-bottom: var(--space-sm);
}

/* Testimonial author cite needs proper styling */
.testimonial-card__author span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-medium-gray);
  font-weight: 400;
}


/* ==========================================================
   HERO PHONE CTA
   "Speak with a real person" link in the hero section
   ========================================================== */
.hero__phone {
  margin-top: var(--space-md);
}

.hero__phone {
  display: flex;
  justify-content: center; /* Center on mobile */
}

@media (min-width: 768px) {
  .hero__phone {
    justify-content: flex-start; /* Left-align on desktop */
  }
}

.hero__phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
  font-size: 0.95rem;
  padding: 14px 24px;
  background-color: var(--color-red);
  border: none;
  border-radius: 50px;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.hero__phone-link:hover {
  background-color: var(--color-red-hover);
}

.hero__phone-link:active {
  transform: scale(0.98);
}

.hero__phone-link svg {
  flex-shrink: 0;
}

.hero__phone-link strong {
  font-weight: 700;
}


/* ==========================================================
   PHONE CTA BAR
   Standalone section with prominent click-to-call button
   ========================================================== */
.phone-cta {
  padding: var(--space-lg) 0;
  background-color: var(--color-dark);
  color: var(--color-white);
}

.phone-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.phone-cta__text h3 {
  color: var(--color-white);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.phone-cta__text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin-bottom: 0;
}

.phone-cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 16px 32px;
  background-color: var(--color-white);
  color: var(--color-dark);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
  min-height: 56px;
}

.phone-cta__button:hover {
  background-color: var(--color-light-gray);
}

.phone-cta__button:active {
  transform: scale(0.98);
}

.phone-cta__button svg {
  color: var(--color-red);
}


/* ==========================================================
   UPGRADED STICKY CTA BAR
   Split into two buttons: form scroll + phone call
   ========================================================== */
.sticky-cta .sticky-cta__btn--form {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.sticky-cta .sticky-cta__btn--phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 20px;
  height: 56px;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.15);
}

/* Make the sticky bar a flex container when it has two buttons */
.sticky-cta.visible {
  display: flex;
}


/* ==========================================================
   DESKTOP PHONE CTA BAR LAYOUT
   ========================================================== */
@media (min-width: 768px) {
  .phone-cta__inner {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }

  .phone-cta__button {
    font-size: 1.4rem;
  }
}


/* ==========================================================
   VIDEO SECTION WITH PHONE FRAME
   Vertical reel video displayed inside a CSS phone mockup
   ========================================================== */
.video-section {
  padding: var(--space-xl) 0;
  background-color: var(--color-dark);
  overflow: hidden;
}

.video-section__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
}

/* --- Phone Frame (pure CSS mockup) --- */
.phone-frame {
  position: relative;
  width: 260px;
  flex-shrink: 0;
  background: #000;
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 0 2px #333,
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 0 0 2px #1a1a1a;
}

/* The notch at the top of the phone */
.phone-frame__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 0 0 14px 14px;
  z-index: 3;
}

/* The video screen area */
.phone-frame__screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
}

/* The video fills the screen */
.phone-frame__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Unmute/mute button overlay */
.phone-frame__play-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
  white-space: nowrap;
}

.phone-frame__play-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* When unmuted, swap the icon appearance */
.phone-frame__play-btn.unmuted svg line {
  display: none;
}

/* --- Video section text content --- */
.video-section__content {
  color: var(--color-white);
  text-align: center;
}

.video-section__content .section-heading {
  color: var(--color-white);
  font-size: 1.65rem;
}

.video-section__lead {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}

.video-section__content p {
  color: rgba(255, 255, 255, 0.7);
}

.video-section__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.video-section__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.video-section__phone:hover {
  color: var(--color-white);
}

/* --- Desktop: side-by-side layout --- */
@media (min-width: 768px) {
  .video-section__grid {
    flex-direction: row;
    align-items: center;
    gap: var(--space-xl);
  }

  .phone-frame {
    width: 280px;
  }

  .video-section__content {
    flex: 1;
    text-align: left;
  }

  .video-section__content .section-heading {
    font-size: 2rem;
  }

  .video-section__cta {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .phone-frame {
    width: 300px;
  }
}
