/* ============================================================
   SocialBooth LV — Shared Stylesheet
   Prototype v1 | 2026-02-16
   Design Spec: _meta/design/DESIGN-SPEC.md
   ============================================================ */

/* --- Google Fonts: loaded via <link> in HTML <head> ------ */

/* --- CSS Custom Properties -------------------------------- */
:root {
  /* Colors — Core */
  --color-teal:        #50c0af;
  --color-teal-hover:  #45a89a;
  --color-green:       #38e1c8;
  --color-dark:        #1d1f21;
  --color-dark-card:   #2c2f30;
  --color-dim:         #5f6266;
  --color-pink:        #f68ed4;
  --color-blue:        #0082f3;
  --color-text:        #333333;
  --color-white:       #ffffff;
  --color-light-gray:  #dddddd;
  --color-teal-overlay:#50c0af8f;
  --color-icon-dark:   #2d3748;
  --color-corp-bg:     #f7fafc;

  /* Typography — Scale (clamp) */
  --text-display: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  --text-h1:      clamp(2rem, 1.6rem + 2vw, 3.5rem);
  --text-h2:      clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --text-h3:      clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --text-h4:      clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-body:    clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-small:   clamp(0.8125rem, 0.78rem + 0.15vw, 0.875rem);
  --text-button:  clamp(0.875rem, 0.85rem + 0.15vw, 1rem);

  /* Typography — Families */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  /* Spacing */
  --space-xxs: 0.25rem;
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2rem;
  --space-xl:  3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-huge: 7rem;

  /* Shadows */
  --shadow-light: 0 4px 1.5rem rgba(150,163,181,0.08);
  --shadow-subtle: 0 1px 0.125rem rgba(0,0,0,0.05);
  --shadow-heavy: 0 32px 4rem -0.75rem rgba(0,0,0,0.14);

  /* Radius */
  --radius-sm: 0.1875rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 800px;
}

/* --- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}
.display { font-size: var(--text-display); font-weight: 800; line-height: 1.1; }
h1, .h1 { font-size: var(--text-h1); font-weight: 800; }
h2, .h2 { font-size: var(--text-h2); font-weight: 700; }
h3, .h3 { font-size: var(--text-h3); font-family: var(--font-body); font-weight: 700; line-height: 1.3; }
h4, .h4 { font-size: var(--text-h4); font-family: var(--font-body); font-weight: 700; line-height: 1.3; }
p { margin-bottom: var(--space-sm); }
.text-small { font-size: var(--text-small); }
.text-muted { color: var(--color-dim); }
.text-white { color: var(--color-white); }
.text-teal  { color: var(--color-teal); }
.text-green { color: var(--color-green); }
.text-center { text-align: center; }

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

.section {
  padding: var(--space-3xl) 0;
}
.section-dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-white);
}
.section-dark p { color: rgba(255,255,255,0.85); }
.section-teal {
  background: var(--color-teal);
  color: var(--color-dark);
}

.grid { display: grid; gap: var(--space-lg); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-xs  { gap: var(--space-xs); }
.gap-sm  { gap: var(--space-sm); }
.gap-md  { gap: var(--space-md); }
.gap-lg  { gap: var(--space-lg); }
.gap-xl  { gap: var(--space-xl); }

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-body);
  font-size: var(--text-button);
  font-weight: 500;
  line-height: 1;
  padding: 0.875rem 1.75rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; }
a:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 2px; border-radius: 2px; }

.btn-primary {
  background: var(--color-teal);
  color: #000;
}
.btn-primary:hover { background: var(--color-teal-hover); }

.btn-white {
  background: var(--color-white);
  color: #000;
}
.btn-white:hover { background: #f0f0f0; }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-pink {
  background: var(--color-pink);
  color: #000;
}
.btn-pink:hover { background: #e47dc3; }

.btn-dark {
  background: var(--color-dark);
  color: var(--color-white);
}
.btn-dark:hover { background: #2c2f30; }

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: calc(var(--text-button) * 1.1);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--text-small);
}

/* --- Cards ------------------------------------------------ */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}
.card-dark {
  background: var(--color-dark-card);
  color: var(--color-white);
}
.card { display: flex; flex-direction: column; }
.card-body { padding: var(--space-md); flex: 1; display: flex; flex-direction: column; }
.card-body .btn { margin-top: auto; }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.card-img-square { aspect-ratio: 1/1; }
.card-img-portrait { aspect-ratio: 3/4; }

/* --- Hero ------------------------------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: var(--space-huge) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: var(--color-white); margin-bottom: var(--space-md); }
.hero p  { color: rgba(255,255,255,0.9); font-size: var(--text-h4); margin-bottom: var(--space-lg); }
.hero .btn-group { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* Homepage hero — editorial layout */
.hero-home {
  min-height: 85vh;
  align-items: stretch;
}
.hero-home::before {
  background:
    linear-gradient(105deg,
      rgba(15,16,18,0.92) 0%,
      rgba(15,16,18,0.78) 40%,
      rgba(15,16,18,0.35) 70%,
      rgba(15,16,18,0.15) 100%);
}
.hero-home .container {
  display: flex;
  align-items: center;
}
.hero-layout {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: 680px;
  padding: var(--space-3xl) 0;
}
.hero-accent {
  width: 3px;
  min-height: 100%;
  background: var(--color-teal);
  border-radius: 2px;
  flex-shrink: 0;
  align-self: stretch;
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.hero-content h1 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}
.hero-content h1 .text-teal {
  color: var(--color-teal);
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
/* Trust line inside hero */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
  font-size: var(--text-small);
  color: rgba(255,255,255,0.55);
}
.hero-trust .star {
  color: var(--color-teal);
  letter-spacing: 1px;
}
.hero-trust-item {
  white-space: nowrap;
}
.hero-trust-item strong {
  color: rgba(255,255,255,0.85);
}
.hero-trust-sep {
  color: rgba(255,255,255,0.25);
  font-size: 1.25em;
}

/* --- Navigation ------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-sm) 0;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-light);
}
.nav.scrolled a { color: var(--color-text); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { height: 48px; object-fit: contain; }
.nav-links { display: flex; gap: var(--space-lg); align-items: center; }
.nav-links a {
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--text-small);
  transition: color 0.2s;
}
.nav.scrolled .nav-links a { color: var(--color-text); }
.nav-links a:hover { color: var(--color-teal); }
.nav-phone {
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--color-text); }

/* --- Trust Bar -------------------------------------------- */
.trust-bar {
  background: var(--color-dark);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-white);
  font-weight: 500;
  font-size: var(--text-small);
}
.trust-item .star { color: #fbbf24; }

/* --- Testimonials ----------------------------------------- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-light);
}
.testimonial-dark {
  background: var(--color-dark-card);
  color: var(--color-white);
}
.testimonial-stars { color: #fbbf24; font-size: 1.25rem; margin-bottom: var(--space-sm); }
.testimonial-text {
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.testimonial-author { font-weight: 700; }
.testimonial-event { font-size: var(--text-small); color: var(--color-dim); }
.testimonial-dark .testimonial-event { color: rgba(255,255,255,0.55); }

/* --- Gallery ---------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}
.gallery-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.3s;
  cursor: pointer;
}
.gallery-img:hover { transform: scale(1.03); }

/* --- How It Works ----------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}
.step {
  padding: var(--space-lg);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-teal);
  color: #000;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: var(--space-sm);
}
.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-sm);
}
.step h3 { margin-bottom: var(--space-xs); }

/* --- FAQ -------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--color-light-gray);
  padding: var(--space-md) 0;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 700;
  font-size: var(--text-h4);
  gap: var(--space-sm);
}
.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: var(--space-sm);
}

/* --- Forms ------------------------------------------------ */
.form-group { margin-bottom: var(--space-md); }
.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  font-size: var(--text-small);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--color-white);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(80,192,175,0.15);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* Inline form (CTA section) */
.form-inline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 600px;
  margin: 0 auto;
}
.form-inline .btn { grid-column: 1 / -1; }

/* --- CTA Banner ------------------------------------------- */
.cta-banner {
  background: var(--color-teal);
  padding: var(--space-3xl) 0;
  text-align: center;
  color: #000;
}
.cta-banner h2 { color: #000; margin-bottom: var(--space-md); }

/* --- Pricing Cards ---------------------------------------- */
.price-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-heavy);
}
.price-card-header {
  padding: var(--space-lg);
  background: var(--color-dark);
  color: var(--color-white);
}
.price-card-price {
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 800;
  color: var(--color-teal);
}
.price-card-unit {
  font-size: var(--text-small);
  color: var(--color-dim);
}
.price-card-body {
  padding: var(--space-lg);
}
.price-card-features {
  text-align: left;
  margin-bottom: var(--space-lg);
}
.price-card-features li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.price-card-features li::before {
  content: '✓';
  color: var(--color-teal);
  font-weight: 700;
}

/* --- Logo Strip / Marquee --------------------------------- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
  opacity: 0.6;
}
.logo-strip img {
  height: 40px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.3s, opacity 0.3s;
}
.logo-strip img:hover { filter: grayscale(0); opacity: 1; }

/* --- Marquee / Service Ticker ----------------------------- */
.marquee {
  overflow: hidden;
  background: var(--color-dark);
  padding: var(--space-sm) 0;
  position: relative;
}
/* Edge fade masks — the premium tell */
.marquee-row {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
}
.marquee-forward {
  animation: marquee-scroll 28s linear infinite;
}
.marquee-reverse {
  animation: marquee-scroll 24s linear infinite reverse;
}
.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(0.8rem, 0.7rem + 0.5vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  padding: 0.6rem 0;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.marquee:hover .marquee-item {
  color: rgba(255,255,255,0.65);
}
/* Teal dot separators */
.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0.5;
  flex-shrink: 0;
  margin: 0 var(--space-lg);
}
.marquee-dot-pink {
  background: var(--color-pink);
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Pause on hover for accessibility */
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-content { flex-wrap: wrap; justify-content: center; }
  .marquee-row { -webkit-mask-image: none; mask-image: none; }
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}
.footer h4 { color: var(--color-white); margin-bottom: var(--space-md); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer a { transition: color 0.2s; }
.footer a:hover { color: var(--color-teal); }
.footer-links li { margin-bottom: var(--space-xs); }
.footer-social {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.footer-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(80,192,175,0.25);
}
.footer-social a.social-ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
}
.footer-social a.social-fb:hover {
  background: #1877F2;
  border-color: transparent;
  color: #fff;
}
.footer-social a.social-tt:hover {
  background: #000;
  border-color: #25F4EE;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: var(--text-small);
}

/* --- Icon Utilities --------------------------------------- */
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon svg { width: 1em; height: 1em; }
.icon-sm  { font-size: 20px; }
.icon-md  { font-size: 32px; }
.icon-lg  { font-size: 48px; }
.icon-xl  { font-size: 56px; }
.icon-brand { color: var(--color-teal); }

.icon-circle {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: rgba(80,192,175,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-circle svg { width: 32px; height: 32px; color: var(--color-teal); }

/* --- Sticky Mobile CTA ------------------------------------ */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--color-dark);
  padding: var(--space-sm) var(--space-md);
  padding-bottom: calc(var(--space-sm) + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.mobile-cta .container {
  display: flex;
  gap: var(--space-sm);
}
.mobile-cta .btn { flex: 1; text-align: center; min-height: 44px; }
/* JS adds .visible class when hero scrolls out of view — shown via mobile media query */

/* --- Corporate Page Overrides ----------------------------- */
.page-corporate h1 { font-weight: 700; letter-spacing: 0.01em; }
.page-corporate h2 { font-weight: 700; letter-spacing: 0.01em; }
.page-corporate .hero p,
.page-corporate .section > .container > p,
.page-corporate .cap-card p,
.page-corporate .case-content p,
.page-corporate .pkg-body p,
.page-corporate .proposal-intro p { font-size: 1.125rem; line-height: 1.65; }
.page-corporate .icon-circle { background: var(--color-corp-bg); }
.page-corporate .icon-circle svg { color: var(--color-icon-dark); }

/* Corporate feature blocks — muted style */
.page-corporate .feature-icon {
  background: var(--color-corp-bg);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.page-corporate .feature-icon svg { color: var(--color-icon-dark); }

/* --- Utility ---------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.mb-0  { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.pt-0 { padding-top: 0; }

/* --- Micro-interactions (Webflow-compatible: CSS only) ----- */

/* Nav link hover underline */
.nav-links a:not(.btn):not(.nav-phone) {
  position: relative;
}
.nav-links a:not(.btn):not(.nav-phone)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:not(.btn):not(.nav-phone):hover::after {
  width: 100%;
}

/* Button hover glow */
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(80,192,175,0.35);
}
.btn-dark:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* Card hover with smooth cubic-bezier */
.card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

/* Gallery image hover zoom + subtle overlay */
.gallery-img {
  position: relative;
  overflow: hidden;
}
.gallery-img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

/* Step number hover — teal glow ring */
.step-number {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.step:hover .step-number {
  box-shadow: 0 0 0 6px rgba(80,192,175,0.2);
}

/* Trust item hover */
.trust-item {
  transition: transform 0.3s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
}

/* FAQ question hover highlight */
.faq-question {
  transition: color 0.2s;
}
.faq-question:hover {
  color: var(--color-teal);
}

/* Footer link hover slide */
.footer-links a {
  position: relative;
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.footer-links a:hover {
  transform: translateX(4px);
  color: var(--color-teal);
}

/* Testimonial card hover */
.testimonial,
.testimonial-dark {
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.testimonial:hover,
.testimonial-dark:hover {
  transform: translateY(-4px);
}
.testimonial-dark:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

/* Logo hover (nav) */
.nav-logo {
  transition: opacity 0.2s ease;
}
.nav-logo:hover {
  opacity: 0.85;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-home::before {
    background: linear-gradient(180deg,
      rgba(15,16,18,0.88) 0%,
      rgba(15,16,18,0.6) 60%,
      rgba(15,16,18,0.45) 100%);
  }
  .hero-layout { max-width: 100%; }
}

@media (max-width: 767px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .nav-links.open a { color: var(--color-white); font-size: 1rem; padding: 0.25rem 0; }
  .nav-links.open .btn { width: 100%; justify-content: center; margin-top: var(--space-xs); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .hero { min-height: 60vh; padding: var(--space-3xl) 0; }
  .hero-home { min-height: 70vh; min-height: 70svh; }
  .hero-accent { display: none; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; width: 100%; justify-content: center; }
  .hero-trust { justify-content: flex-start; }
  .section { padding: var(--space-xl) 0; }

  .form-inline { grid-template-columns: 1fr; }

  .mobile-cta.visible { display: block; }
  .footer { padding-bottom: calc(var(--space-lg) + 70px); }

  /* Touch-friendly tap targets */
  .btn { min-height: 44px; }
  .faq-question { min-height: 44px; padding: var(--space-md) 0; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
}

@media (max-width: 480px) {
  .hero .btn-group { flex-direction: column; }
  .hero .btn-group .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: var(--space-xs); }
  .hero-trust-sep { display: none; }
  .gallery-grid { grid-template-columns: 1fr; }
  .container { padding: 0 var(--space-sm); }
}
