/* -----------------------
   Base Reset & Variables
--------------------------*/

:root {
    --bg-color:      #f7f4f1;
    --text-color:    #1f1f1f;
    --accent-color:  #8b6f5a;
    --border-color:  #ddd6cf;
}

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


/* -----------------------
    Typography
--------------------------*/


body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}



h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

p {
    max-width: 720px;
    font-size: 1rem;
    margin: 0 auto;
}


/* -----------------------
    Layout
--------------------------*/

header {
    padding: 3rem 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

header h1 {
    letter-spacing: 0.05em;
}

nav {
    margin-top: 1rem;
}

nav a {
    margin: 0 1rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}


nav a:hover {
    color: var(--accent-color);
}


main {
    padding: 0 1.5rem 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

section {
    margin-bottom: 4rem;
    text-align: center;
}

/* ==================================================
   Neutralize Global Header/Nav Styles (Safe Override)
================================================== */

.site-header {
  padding: 0;
  text-align: left;
  border-bottom: none;
}

.site-header nav {
  margin-top: 0;
}

.site-header nav a {
  margin: 0;
  font-size: inherit;
  letter-spacing: inherit;
}

/* ==================================================
   SITE HEADER — REFINED & GROUNDED
================================================== */

.site-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Full-width header frame */
.header-frame {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1.35rem 2.5rem;
}

/* Constrained nav rail */
.header-inner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1320px;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}



/* ==================================================
   LOGO
================================================== */

.site-logo {
  margin: 0;
  padding-left: 2.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;              /* slightly stronger */
  font-weight: 600;
  letter-spacing: 0.05em;
}

.site-logo a {
  text-decoration: none;
  color: #1f2328;
  position: relative;
}

/* subtle brand underline (very restrained) */
.site-logo a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 42%;
  height: 2px;
  background: rgba(216, 143, 143, 0.35);
}

/* ==================================================
   NAVIGATION
================================================== */

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1f2328;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.25rem;
}

/* active page */
.site-nav a[aria-current="page"] {
  font-weight: 600;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: rgba(216, 143, 143, 0.6);
}

/* contact emphasis — quiet but intentional */
.site-nav .nav-cta {
  padding: 0.45rem 0.95rem;
  border: 1px solid rgba(216, 143, 143, 0.5);
  border-radius: 4px;
  font-weight: 600;
}

/* ==========================
   NAV DROPDOWN (DESKTOP — STABLE)
========================== */

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

/* Invisible hover bridge WITHOUT changing layout height */
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 12px;
}


.dropdown-toggle {
  cursor: pointer;
}

/* Dropdown panel */
.dropdown-menu {
  position: absolute;
  top: calc(100% - 2px); /* overlaps slightly to eliminate gaps */
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;

  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 0.5rem 0;

  box-shadow: 0 10px 28px rgba(0,0,0,0.12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.15s ease;
  z-index: 200;
}

/* Open on hover OR keyboard focus */
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Your refined dropdown typography (global) */
.dropdown-menu a {
  display: block;
  padding: 0.45rem 1.25rem;

  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;

  color: #3a3a3a;
  opacity: 0.85;
  white-space: nowrap;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background: rgba(216, 143, 143, 0.1);
  opacity: 1;
}


/* Hover buffer to prevent dropdown flicker */


.dropdown-menu a {
  display: block;
  padding: 0.45rem 1.25rem;

  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;

  color: #3a3a3a;
  opacity: 0.85;
  white-space: nowrap;
  text-decoration: none;
}


.dropdown-menu a:hover {
  background: rgba(216, 143, 143, 0.1);
  opacity: 1;
}


/* ==================================================
   HEADER — MOBILE (COMPACT + OVERLAY DROPDOWN)
================================================== */

@media (max-width: 900px) {

  /* Compact header spacing */
  .header-frame {
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0.35rem;
  }

  .site-logo {
    padding-left: 0;
    margin-bottom: 0.15rem;
    text-align: center;
  }

  /* Turn off the desktop absolute-centering rail */
  .header-inner {
    position: static;
    transform: none;
    width: 100%;
    max-width: none;
  }

  /* Make nav a compact row that wraps */
  .site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem 1.1rem;
  }

  /* Dropdown stays inline, menu overlays */
  .nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }

  /* Hover bridge so cursor can travel to menu without flicker */

  .dropdown-toggle {
    font-weight: 600;
  }

  /* IMPORTANT: menu is hidden by default on mobile */
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);

    min-width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 0.5rem 0;
    box-shadow: 0 14px 36px rgba(0,0,0,0.18);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    z-index: 600;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }

  /* Tap/focus opens it (no header growth) */
  .nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(4px);
  }

  .dropdown-menu a {
    display: block;
    padding: 0.45rem 1.25rem;

    font-weight: 500;
    opacity: 0.8;

    color: #3a3a3a;
    white-space: nowrap;
  }

  .dropdown-menu a:hover {
  background: rgba(216, 143, 143, 0.1);
  opacity: 1;
}

  /* Keep Contact from feeling cramped */
  .site-nav .nav-cta {
    margin-left: 0.25rem;
  }
}



/* -----------------------
    Footer
--------------------------*/

footer {
    text-align: center;
    padding: 1rem 1rem;
    border-top: 1px solid rgba(0,0,0,0.08);
    font-size: 0.85rem;
    color: #666;
}

footer p {
    letter-spacing: 0.03em;
}

footer a:hover {
    text-decoration: underline;
}

/* -----------------------
    Links/Buttons
--------------------------*/

a{
    color: var(--accent-color);
}

main a {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    border: 1px solid var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

main a:hover {
    background-color: var(--accent-color);
    color: #fff;
}


/* -----------------------
    Form Styling
--------------------------*/

form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    text-transform: uppercase;
    color: #555;
}

input,
textarea {
    width: 100%;
    padding: 0.75rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    background-color: #fff;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

input:focus,
textarea:focus,
select:focus {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
}

/* ADD THIS RIGHT HERE */
select {
  width: 100%;
  padding: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  background-color: #fff;
}

select:focus {
  outline: none;
  border-color: var(--accent-color);
}

textarea {
    resize: vertical;
}

textarea {
    resize: vertical;
}

button {
    display: block;
    margin: 3rem auto 0;
    padding: 0.75rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    cursor: pointer;
}

button:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* =========================
   PRICING CALCULATOR — HERO
========================= */

.pricing-calculator {
  position: relative;
  background: linear-gradient(
    135deg,
    #ffffff,
    #f9f6f3
  );
  border-radius: 16px;
  padding: 3rem 3rem 2.75rem;
  box-shadow:
    0 20px 45px rgba(0,0,0,0.08),
    0 4px 12px rgba(0,0,0,0.05);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* subtle accent strip */
.pricing-calculator::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    rgba(216,143,143,0.4)
  );
  border-radius: 16px 16px 0 0;
}

/* Calculator typography */
.pricing-calculator h3 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.pricing-calculator p {
  max-width: 520px;
  font-size: 1.02rem;
  opacity: 0.9;
}

/* Add breathing room before the form */
.pricing-calculator form {
  margin-top: 2.25rem;
}

/* =========================
   ESTIMATE DISPLAY
========================= */

.estimate-result {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  text-align: center;
}

.estimate-result strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-color);
}

/* -----------------------
    Thank you Page
--------------------------*/


.thank-you-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f7f5;
    padding: 2rem;
}

.thank-you-card {
    max-width: 560px;
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.thank-you-card h1 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.thank-you-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #333;
}

.thank-you-card .reassurance {
    color: #555;
}

.thank-you-card .signoff {
    margin-top: 2rem;
    font-style: italic;
    color: #777;
}

.thank-you-card .button {
    display: inline-block;
    margin-top: 2rem;
}


/* -----------------------
   Gallery
--------------------------*/

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr; /* mobile default */
  gap: 2rem;
  margin-top: 2rem;

  max-width: 1000px; /* controls image size on desktop */
  margin-left: auto;
  margin-right: auto;
}

.gallery-image {
  width: 100%;
  object-fit: contain; /* never crop */
  background-color: #f6f1ec; /* soft neutral frame */
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Desktop: always 2 columns */
@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-image {
    aspect-ratio: 4 / 3;
  }
}

/* Mobile refinements */
@media (max-width: 768px) {
  .gallery-grid {
    gap: 1.75rem;
    padding: 0 1rem;
  }

  .gallery-image {
    aspect-ratio: auto;
    padding: 10px;
  }
}

/* ==========================
   GALLERY — WEBFLOW-INSPIRED
========================== */

.gallery-wrap {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;

  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Desktop: 3-column editorial grid */
@media (min-width: 900px) {
  .gallery-wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem;
  }
}

/* Card */
.gallery-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover behavior (Webflow-style) */
.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.12);
}

/* Image container */
.gallery-thumb {
  background: #f6f1ec;
  padding: 6px; /* tighter frame = larger photo */
}


.gallery-thumb img {
  width: 100%;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.gallery-meta {
  padding: 0.65rem 0.9rem 0.85rem;
}


.gallery-meta h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 0.15rem; /* tighter */
  line-height: 1.3;
}


/* Tag */
.gallery-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
  opacity: 0.85;
}


/* -----------------------
   Main Page
--------------------------*/

main section:first-of-type {
    margin-top: 1rem;
    margin-bottom: 6rem;
}

main section:first-of-type h2 {
    font-size: 2.4rem;
    max-width: 900px;
}

main section:first-of-type p {
    font-size: 1.05rem;
}

main section:not(:last-of-type)::after {
    content: "";
    display: block;
    width: 64px;
    height:1px;
    background-color: var(--border-color);
    margin: 3.5rem auto 0;
}

.home-services,
.home-cta {
  margin-bottom: 2rem;
}


.service-usecase.enhanced section::after {
    display: none;
}



main section:last-of-type {
    margin-top: 2rem;
}

.home-hero {
    max-width: 900px;
    padding-bottom: 3rem;
}

/* ==========================
   Homepage Full Hero Image
========================== */

.hero-bg {
  position: relative;
  min-height: 90vh; /* full screen */
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;

  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);

  background-image:
    linear-gradient(
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.35)
    ),
    url("../images/home_page.jpg"); /* ← replace with your image */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  padding: 5.5rem 1.5rem 6.5rem;
}

.home-hero.hero-bg {
  max-width: none;      /* remove the 900px constraint */
  padding-bottom: 0;   /* optional: avoids extra vertical push */
}

.home-hero.hero-bg > * {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


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


.hero-bg h2,
.hero-bg p,
.hero-bg .eyebrow {
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-bg .primary-cta {
  background-color: #ffffff;
  color: #1f1f1f;
  border-color: #ffffff;
}

.hero-bg .secondary-cta {
  color: #ffffff;
  border-color: rgba(255,255,255,0.7);
}


.section-divider {
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin: 2rem 0;
}

.home-secondary {
    max-width: 720px;
    text-align: left;
}

.home-secondary h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

/* -----------------------
   Home Enhancements
--------------------------*/

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.25rem;
  flex-wrap: wrap;
}

.primary-cta {
  background-color: var(--accent-color);
  color: #fff;
}

.secondary-cta {
  background: transparent;
}

.value-grid,
.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .gallery-wrap {
    grid-template-columns: repeat(2, 1fr); /* fewer columns = bigger images */
    gap: 2.75rem;
  }
}


  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }


.value-card,
.service-card {
  background: rgba(255,255,255,0.85);
  padding: 1.5rem;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
}

.value-card:hover,
.service-card:hover {
  transform: translateY(-2px);
}

.home-cta {
  text-align: center;
  max-width: 700px;
  margin-top: 1.25rem;
  margin-bottom: 0rem;
}

/* -----------------------
   Homepage Bottom Spacing Tightening
--------------------------*/

/* Reduce space between homepage sections near the bottom */
.home-services,
.home-cta {
  margin-bottom: 2.5rem;
}

/* Tighter dividers near bottom of homepage */
.home-services::after {
  margin-top: 2rem;
}

/* ===== HOMEPAGE CTA SPACING OVERRIDE ===== */

.home-cta {
    margin-top: 1.25rem;    /* space from hero */
    margin-bottom: 1.25rem; /* space before footer */
    padding-bottom: 0;      /* prevent internal height */
}

/* -----------------------
    Section Containers
--------------------------*/

.section-container {
    width: 100%;
    padding: 1rem 1.5rem;
}

.section-container.alt {
  background: linear-gradient(
    120deg,
    #9cadaf,
    #b8cfc3,
    #c6d9cf,
    #a9c3c9
  );
  background-size: 400% 400%;
  animation: softHueShift 10s ease-in-out infinite;
  border-radius: 4px;
}

/* Gentle, continuous color movement */
@keyframes softHueShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .section-container.alt {
    animation: none;
  }
}



/* =======================
   USE CASE PAGE (FINAL)
==========================*/

.service-usecase.enhanced {
    padding: 2.25rem 1.5rem 2.75rem;
}

/* =======================
   HERO
==========================*/

.usecase-hero-bg {
    position: relative;

    margin-left: -1.5rem;
    margin-right: -1.5rem;
    align-self: stretch;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/google_reviews.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: 70vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 4rem 1.5rem;
}

.sales .usecase-hero-bg {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/sales.jpg");
}

.client-retention .usecase-hero-bg {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/client_retention.jpg");
}

.direct-mail .usecase-hero-bg {
    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.45)
        ),
        url("../images/print_mailers.jpg");
}

@media (max-width: 768px) {
    .usecase-hero-bg {
        min-height: 55vh;
        background-position: top;
        padding: 3.5rem 1.25rem;
        background-attachment: scroll;
    }

    .hero-plate {
        padding: 1.5rem 2rem;
    }
}

.usecase-hero {
    max-width: 900px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.service-usecase.enhanced .usecase-hero {
    margin-bottom: 1rem;
}

.hero-plate {
    background: none;
    box-shadow: none;
    padding: 0;
}

/* Hero text */

.usecase-hero .eyebrow {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #26273a;
    margin-bottom: 0.35rem;

    padding: 0.25rem 0.65rem;
    border-radius: 999px;

    position: relative;
    z-index: 2;
}

.usecase-hero h2 {
    display: inline-block;
    position: relative;
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0.35rem 0 0.9rem;
    padding: 0.45rem 1.6rem;
    z-index: 2;
    margin-top: 0.75rem;
}

.usecase-hero p {
    font-size: 1.02rem;
    line-height: 1.55;
    max-width: 700px;
    margin: 1.25rem auto 0;
}

.usecase-hero,
.usecase-hero h2,
.usecase-hero p,
.usecase-hero .eyebrow {
    color: #ffffff;
}

.usecase-hero h2,
.usecase-hero p,
.usecase-hero .eyebrow {
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* =======================
   MAIN LAYOUT
==========================*/

.usecase-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.25rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* =======================
   LEFT CONTEXT (STICKY)
==========================*/

.usecase-context {
    position: sticky;
    top: 2.25rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (max-width: 899px) {
    .usecase-context {
        position: static;
        top: auto;
        align-self: stretch;
        margin-bottom: 2.5rem;
    }
}

/* =======================
   CONTEXT CARDS
==========================*/

.context-card {
    background-color: #9cadaf;
    padding: 1.5rem 1.6rem;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
}

.context-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.context-card p {
    line-height: 1.5;
}

/* Secondary context */

.context-card.subtle {
    background-color: rgba(255,255,255,0.65);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 1.25rem;
}

.context-card.subtle h4 {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.context-card.subtle p {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    line-height: 1.45;
}

/* =======================
   REVIEW PLATFORMS
==========================*/

.platform-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.platform-item {
    font-size: 0.92rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(255,255,255,0.75);
    border-left: 4px solid transparent;
    line-height: 1.45;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.platform-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

.platform-item.google { border-left-color: #4285F4; }
.platform-item.facebook { border-left-color: #1877F2; }
.platform-item.bbb { border-left-color: #0e5852; }
.platform-item.yelp { border-left-color: #D32323; }
.platform-item.industry { border-left-color: var(--accent-color); }

/* =======================
   RIGHT DETAIL
==========================*/

.usecase-detail {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.usecase-detail > .detail-block {
    margin: 0;
}

.detail-block {
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.85);
    border-left: 3px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-block > *:first-child {
    margin-top: 0;
}

.detail-block:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
}

.detail-block h3 {
    font-size: 1.32rem;
    margin-bottom: 0.3rem;
}

.detail-block p {
    line-height: 1.55;
    margin-bottom: 0;
}

.detail-block.highlight {
    border-left-color: var(--accent-color);
    background: #ffffff;
}

/* =======================
   PROCESS STEPS
==========================*/

.process-steps {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.step {
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.9);
    border-left: 3px solid var(--accent-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    transition: transform 0.18s ease;
}

.step:hover {
    transform: translateX(3px);
}

/* =======================
   CTA
==========================*/

.usecase-cta {
    margin-top: 5rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    text-align: center;
}

/* =======================
   DESKTOP
==========================*/

@media (min-width: 900px) {
    .usecase-layout {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 2.5rem;
    }

    .usecase-hero h2 {
        font-size: 2.5rem;
    }
}

/* ===============================
   USE CASES — REFINED & CALM
================================ */

.usecases-overview {
  --ink: #1f2328;
  --muted: rgba(31,35,40,.7);
  --accent: #d88f8f;
  --accent-soft: rgba(216,143,143,.18);
  --paper: #fbf7f3;
  font-family: "Inter", sans-serif;
  color: var(--ink);
}

/* ---------- HERO ---------- */

.uc-hero {
  background: linear-gradient(180deg, #f6f1ec, #ffffff);
  padding: 3rem 1.5rem 3rem;
}

.uc-hero-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
}

.uc-eyebrow {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  color: var(--muted);
}

.uc-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.3rem, 3vw, 3.2rem);
  line-height: 1.1;
}


.uc-lead {
  max-width: 640px;
  line-height: 1.65;
  margin-top: 1rem;
}

.uc-lead.muted {
  opacity: .9;
}

.uc-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
}

/* ---------- BUTTONS ---------- */

.btn {
  padding: .85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  border: 1px solid rgba(0,0,0,.15);
  color: var(--ink);
  background: #fff;
}

/* ---------- METRICS ---------- */

.uc-metrics {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

.uc-metric {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
}

/* ---------- HERO CARD ---------- */

.uc-hero-card {
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem;
  border: 1px solid rgba(0,0,0,.1);
}

/* ---------- INTRO ---------- */

.uc-intro {
  max-width: 1000px;
  margin: auto;
  text-align: center;
  padding-bottom: 3rem;
}

.uc-intro-inner {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.uc-intro-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.uc-mini-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
}

/* ---------- USE CASE GRID ---------- */

.uc-grid-section {
  padding: 3rem 1.5rem 1.5rem; /* reduced bottom space */
}

.uc-section-head {
  max-width: 1000px;
  margin: 0 auto 2rem;
  text-align: center;
}

.uc-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}

.uc-card {
  background: #fff;
  padding: 2rem;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,.08);
}

.uc-card.highlight {
  background: linear-gradient(135deg, #d88f8f, #9ccab0);
  color: #fff;
}

.uc-card a {
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

/* ---------- CTA ---------- */

.uc-cta {
  padding-top: 0;
}

.uc-cta-inner {
  max-width: 1000px;
  margin: auto;
  background: linear-gradient(135deg, #d88f8f, #9ccab0);
  color: #fff;
  padding: 3rem;
  border-radius: 26px;
  text-align: center;
}

/* ---------- RESPONSIVE ---------- */

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

/* ==================================================
   Use Case Card Lists – Alignment Fix (Scoped)
================================================== */

.usecases-overview .uc-card ul {
  list-style-position: inside;
  padding-left: 0;
  margin: 1rem 0 0;
  text-align: left;
}

.usecases-overview .uc-card li {
  margin: 0.35rem 0;
  line-height: 1.55;
}

/* ==================================================
   Hero "What you actually get" List Fix (Scoped)
================================================== */

.usecases-overview .uc-hero-card ul {
  list-style-position: inside;
  padding-left: 0;
  margin: 1rem 0 1.25rem;
  text-align: left;
}

.usecases-overview .uc-hero-card li {
  margin: 0.4rem 0;
  line-height: 1.55;
}




/* -----------------------
   Homepage Hero – Mobile Adjustments
--------------------------*/

@media (max-width: 768px) {
  .hero-bg {
    min-height: 85vh;
    background-position: top;
    background-attachment: scroll;
  }
}


/* =========================
   Fix white gap below hero
========================= */

.home-hero + .section-divider {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}


.section-divider + .section-container {
  padding-top: 2.5rem;
}

.home-hero + .section-divider {
  display: none;
}

/* ==================================================
   HOW IT WORKS — DIRECTIONAL FLOW
================================================== */

.how-flow-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  position: relative;
  z-index: 1;
}

/* Intro */
.how-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.how-intro h2 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
}

.how-flow-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


/* Rows */
.flow-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.flow-row.left {
  justify-content: flex-start;
}

.flow-row.right {
  justify-content: flex-end;
}

/* Cards */
.flow-card {
  background: #ffffff;
  padding: 1.4rem 1.6rem;
  border-radius: 10px;
  max-width: 420px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  position: relative;
}

/* Interactive accent reveal */
.flow-card::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 14px;
  background:
    radial-gradient(
      circle at top left,
      rgba(216,143,143,0.25),
      transparent 60%
    );
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.flow-card:hover::after,
.flow-card:focus-within::after {
  opacity: 1;
  transform: scale(1);
}

/* Mobile tap support (JS toggles .active) */
.flow-card.active::after {
  opacity: 1;
  transform: scale(1);
}

/* Directional motion replaces arrows */
.flow-row.left .flow-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-row.left .flow-card:hover {
  transform: translateX(6px);
}

.flow-row.right .flow-card:hover {
  transform: translateX(-6px);
}

.flow-card.highlight {
  background: linear-gradient(
    120deg,
    #9cadaf,
    #b8cfc3
  );
}

/* Card-to-rail relationship */
.flow-row.left .flow-card {
  margin-left: 3rem;
}

.flow-row.right .flow-card {
  margin-right: 3rem;
}


/* Step label */
.flow-label {
  position: absolute;
  top: -0.6rem;
  left: -0.6rem;
  background: var(--accent-color);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}


/* CTA */
.how-cta {
  text-align: center;
  margin-top: 4rem;
}


/* ==================================================
   HOW IT WORKS — EDITORIAL BACKGROUND FORMS
================================================== */

.bg-form {
  position: fixed;
  top: 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
}

/* Left form */
.bg-form-left {
  left: -220px;
  background: radial-gradient(
    circle at center,
    rgba(216,143,143,0.45),
    transparent 65%
  );
}

/* Right form */
.bg-form-right {
  right: -220px;
  background: radial-gradient(
    circle at center,
    rgba(156,202,176,0.45),
    transparent 65%
  );
}

/* Mobile: remove entirely */
@media (max-width: 900px) {
  .bg-form {
    display: none;
  }
}

/* ==========================
   GALLERY PAGE BACKGROUND
   Subtle, scoped, animated
========================== */

.page-gallery {
  background: linear-gradient(
    90deg,
    #e9e2d8,
    #dfe5ea,
    #d8dee3,
    #e6ebef
  );
  background-size: 300% 300%;
  animation: galleryBgShift 30s ease-in-out infinite;
}


/* Gentle horizontal color drift */
@keyframes galleryBgShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-gallery {
    animation: none;
  }
}


/* ==================================================
   HOW IT WORKS — EDITORIAL EDGE WASH
================================================== */

.bg-form {
  position: fixed;
  top: 50%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.28;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
  transition: transform 0.2s ease-out;
}

/* Left ink wash */
.bg-form-left {
  left: -280px;
  background: radial-gradient(
    circle at center,
    rgba(216,143,143,0.55),
    transparent 68%
  );
}

/* Right ink wash */
.bg-form-right {
  right: -280px;
  background: radial-gradient(
    circle at center,
    rgba(156,202,176,0.55),
    transparent 68%
  );
}

/* Mobile: remove entirely */
@media (max-width: 900px) {
  .bg-form {
    display: none;
  }
}


/* =========================
   PRICING PAGE — REFINEMENT
========================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  row-gap: 3rem;
  max-width: 1500px;
  margin: 0 auto 5rem;

  justify-content: center;
}

/* Center incomplete final row */
.pricing-grid > .pricing-item:nth-last-child(-n + 2) {
  grid-column: span 1;
}

.pricing-grid > .pricing-item:nth-last-child(2):first-child {
  grid-column: 2 / span 1;
}


/* Allow pricing layout sections to span full width */
.pricing-page main {
  align-items: stretch;
}

.pricing-page main > section {
  width: 100%;
}

.pricing-intro {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Disable global section dividers on pricing page */
.pricing-page main section::after {
  display: none !important;
}




.pricing-page section {
  background: rgba(255,255,255,0.85);
  padding: 2rem 2.25rem;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.pricing-page section:not(.pricing-calculator) {
  background: rgba(255,255,255,0.75);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.pricing-page section:not(:last-of-type) {
  margin-bottom: 3rem;
}

.pricing-page h3 {
  color: var(--accent-color);
  letter-spacing: 0.02em;
}

.pricing-page section:last-of-type {
  text-align: center;
  background: linear-gradient(
    135deg,
    #9cadaf,
    #b8cfc3
  );
  color: #fff;
}

.pricing-page section:last-of-type a {
  border-color: #fff;
  color: #fff;
}

.pricing-page section:last-of-type a:hover {
  background: #fff;
  color: #1f1f1f;
}

/* Intro */
/* Center pricing intro content */
.pricing-intro {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}


.pricing-intro h2 {
  font-size: 2.4rem;
}



.pricing-item {
  background: rgba(255,255,255,0.85);
  padding: 1.6rem 2.4rem;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.pricing-item p {
  line-height: 1.55;
}


.pricing-item {
  background: rgba(255,255,255,0.8);
  padding: 1.75rem 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.05);
  text-align: left;
}

.pricing-item p {
  max-width: none;
  margin: 0;
}

.pricing-item h3 {
  margin-bottom: 0.35rem;
}

/* ==================================================
   PRICING PAGE — MOBILE REFINEMENTS
================================================== */

@media (max-width: 768px) {

  /* Intro spacing */
  .pricing-intro {
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
  }

  .pricing-intro h2 {
    font-size: 2rem;
  }

  /* Stack pricing cards */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    max-width: 100%;
  }

  /* Simplify cards on mobile */
  .pricing-item {
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  }

  .pricing-item h3 {
    font-size: 1.15rem;
  }

  /* Calculator breathing room */
  .pricing-calculator {
    padding: 2rem 1.5rem 2.25rem;
    border-radius: 14px;
  }

  .pricing-calculator h3 {
    font-size: 1.45rem;
  }

  .pricing-calculator p {
    font-size: 0.95rem;
  }

  /* Form spacing */
  .form-group {
    margin-bottom: 1.5rem;
  }

  /* CTA spacing */
  .how-cta {
    padding: 2.25rem 1.5rem;
  }
}
