/* ═══════════════════════════════════════════
   PrintCase – Modern Design System
   ═══════════════════════════════════════════ */

:root {
  --color-bg: #0a0a0f;
  --color-surface: #12121a;
  --color-surface-2: #1a1a26;
  --color-surface-3: #22222f;
  --color-dark: #ffffff;
  --color-text: rgba(255, 255, 255, 0.75);
  --color-muted: rgba(255, 255, 255, 0.45);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #6366f1;
  --color-primary-light: #818cf8;
  --color-accent-pink: #ec4899;
  --color-accent-amber: #f59e0b;
  --color-accent-green: #10b981;
  --font-heading: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --max-width: 1200px;
  --section-padding: 7rem;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.15);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.4);
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-pink: linear-gradient(135deg, #ec4899, #f472b6);
  --gradient-amber: linear-gradient(135deg, #f59e0b, #fbbf24);
  --gradient-mesh: radial-gradient(at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                    radial-gradient(at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
                    radial-gradient(at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--section-padding) 0; }

/* ═══════ ANIMATIONS ═══════ */

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

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

@keyframes count-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal[data-animate="fade-up"] { transform: translateY(40px); }
.reveal[data-animate="fade-right"] { transform: translateX(-40px); }
.reveal[data-animate="fade-left"] { transform: translateX(40px); }
.reveal[data-animate="fade-in"] { transform: scale(0.96); }
.reveal.is-visible { opacity: 1; transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════ TYPOGRAPHY ═══════ */

h1, h2, h3, h4 { font-family: var(--font-heading); color: #fff; line-height: 1.15; }

.section-heading { text-align: center; max-width: 680px; margin: 0 auto 3.5rem; }
.section-heading h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin-top: 1rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-top: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text--pink {
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text--amber {
  background: var(--gradient-amber);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-primary-light);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
.badge--dark {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.1);
}
.badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* ═══════ BUTTONS ═══════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}
.btn-primary--pink {
  background: var(--gradient-pink);
  box-shadow: 0 4px 20px rgba(236, 72, 153, 0.35);
}
.btn-primary--pink:hover {
  box-shadow: 0 8px 30px rgba(236, 72, 153, 0.5);
  transform: translateY(-2px);
}
.btn-primary--amber {
  background: var(--gradient-amber);
  color: #0a0a0f;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
}
.btn-primary--amber:hover {
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.btn-glow::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--gradient-primary);
  filter: blur(16px);
  opacity: 0.4;
  z-index: -1;
  transition: opacity var(--transition);
}
.btn-glow:hover::before { opacity: 0.6; }

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-nav {
  background: rgba(99, 102, 241, 0.12);
  color: var(--color-primary-light) !important;
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
}
.btn-nav:hover {
  background: var(--color-primary);
  color: #fff !important;
}
.btn-nav::after { display: none !important; }

/* ═══════ HEADER ═══════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(10, 10, 15, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.75rem 0;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover, .nav a.active, .nav a.active-section {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s ease, left 0.3s ease;
  border-radius: 2px;
}
.nav a:hover::after, .nav a.active::after, .nav a.active-section::after {
  width: 60%;
  left: 20%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header-utilities {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--color-border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s ease;
}
.header-phone svg { color: var(--color-primary-light); }
.header-phone:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.header-socials {
  display: flex;
  gap: 0.25rem;
}
.header-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--color-muted);
  transition: all 0.2s ease;
}
.header-socials a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* Language Selector */
.header-lang {
  position: relative;
  display: inline-flex;
  padding-left: 0.75rem;
  margin-left: 0.25rem;
  border-left: 1px solid var(--color-border);
}
.lang-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-button:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.header-lang.is-open .lang-button {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--color-border);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 20;
}
.header-lang.is-open .lang-dropdown { display: flex; }

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-dropdown a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.lang-dropdown a.is-current { color: var(--color-primary-light); pointer-events: none; }

/* Mobile lang dropdown fix */
@media (max-width: 640px) {
  .lang-dropdown {
    position: fixed;
    top: auto;
    right: 1rem;
    bottom: 5rem;
    left: auto;
    min-width: 140px;
    z-index: 1001;
  }
}

/* Testimonial avatar images */
.author-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border);
  flex-shrink: 0;
}

/* Gallery hover effects */
.gallery-item {
  transition: all var(--transition);
  cursor: pointer;
}
.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* Prevent body scroll when nav is open */
body.nav-open {
  overflow: hidden;
}

.lang-flag {
  display: inline-flex;
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1rem;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.lang-flag.flag-ca { background: linear-gradient(90deg, #d6001c 0 22%, #fff 22% 78%, #d6001c 78% 100%); }
.lang-flag.flag-ca::before, .lang-flag.flag-ca::after { content: ""; position: absolute; background: #d6001c; }
.lang-flag.flag-fr { background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66% 100%); }
.lang-caret {
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
}

/* ═══════ HERO ═══════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  animation: heroImageZoom 20s ease-in-out infinite alternate;
}
@keyframes heroImageZoom {
  0% {
    transform: scale(1) translateX(0);
  }
  50% {
    transform: scale(1.1) translateX(-2%);
  }
  100% {
    transform: scale(1.05) translateX(1%);
  }
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 15, 0.8) 0%,
    rgba(10, 10, 15, 0.65) 40%,
    rgba(10, 10, 15, 0.85) 100%
  );
}

.hero-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}
.hero-orb--1 {
  width: 500px;
  height: 500px;
  background: rgba(99, 102, 241, 0.2);
  top: -10%;
  left: -5%;
  animation: orbit 20s ease-in-out infinite;
}
.hero-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(168, 85, 247, 0.15);
  top: 30%;
  right: -10%;
  animation: orbit 25s ease-in-out infinite reverse;
}
.hero-orb--3 {
  width: 300px;
  height: 300px;
  background: rgba(236, 72, 153, 0.12);
  bottom: -5%;
  left: 30%;
  animation: orbit 18s ease-in-out infinite;
}

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

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 1.2rem 0 1.5rem;
}

.hero-content .lead {
  font-size: 1.1rem;
  color: var(--color-text);
  max-width: 480px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Hero Cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  max-width: 420px;
  margin-left: auto;
}

.hero-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}

.hero-card--phone:hover { border-color: rgba(99, 102, 241, 0.4); }
.hero-card--icecream { grid-column: 2; grid-row: 1 / 3; align-self: center; }
.hero-card--icecream:hover { border-color: rgba(236, 72, 153, 0.4); box-shadow: 0 0 60px rgba(236, 72, 153, 0.15); }
.hero-card--coffee:hover { border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 60px rgba(245, 158, 11, 0.15); }

.hero-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-light);
}
.hero-card--icecream .hero-card-icon { background: rgba(236, 72, 153, 0.1); color: var(--color-accent-pink); }
.hero-card--coffee .hero-card-icon { background: rgba(245, 158, 11, 0.1); color: var(--color-accent-amber); }

.hero-card h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.hero-card p { font-size: 0.82rem; color: var(--color-muted); margin: 0; }

/* Scroll indicator */
.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary-light);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ═══════ STATS RIBBON ═══════ */

.stats-ribbon {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 3rem 0;
}

.stats-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item { position: relative; }

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.stat-item p {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* ═══════ PRODUCTS ═══════ */

.section-products {
  background: var(--color-bg);
  background-image: var(--gradient-mesh);
}

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  padding: 0.35rem;
  background: var(--color-surface);
  border-radius: 999px;
  border: 1px solid var(--color-border);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.product-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}
.product-tab:hover { color: #fff; }
.product-tab.is-active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.3);
}
.product-tab svg { width: 18px; height: 18px; }

.product-panel { display: none; }
.product-panel.is-active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}
.product-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}
.product-image-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
}
.product-image-glow--pink { background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.15), transparent 70%); }
.product-image-glow--amber { background: radial-gradient(ellipse at center, rgba(245, 158, 11, 0.15), transparent 70%); }

.product-video-embed {
  position: relative;
  padding-bottom: 177.78%; /* 9:16 for shorts */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  max-height: 500px;
}
.product-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-xl);
}

.product-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: 0.75rem;
}
.product-label--pink { color: var(--color-accent-pink); }
.product-label--amber { color: var(--color-accent-amber); }

.product-info h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.product-info > p {
  color: var(--color-text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 1rem;
}

.product-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--color-primary-light);
}
.feature-icon--pink { background: rgba(236, 72, 153, 0.1); color: var(--color-accent-pink); }
.feature-icon--amber { background: rgba(245, 158, 11, 0.1); color: var(--color-accent-amber); }

.product-features li div:last-child { display: flex; flex-direction: column; gap: 0.15rem; }
.product-features li strong { color: #fff; font-size: 0.92rem; }
.product-features li span { color: var(--color-muted); font-size: 0.82rem; }

/* ═══════ PROCESS / HOW IT WORKS ═══════ */

.section-process { background: var(--color-surface); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.process-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition);
}
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-glow);
}
.process-card:hover::before { opacity: 1; }

.process-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(99, 102, 241, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-primary-light);
}

.process-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.process-card p { font-size: 0.88rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* ═══════ WHY US ═══════ */

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

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-glow);
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-primary-light);
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { font-size: 0.88rem; color: var(--color-muted); margin: 0; line-height: 1.6; }

/* ═══════ LOCATIONS ═══════ */

.section-locations { background: var(--color-surface); }

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.location-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
}
.location-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-glow);
}

.location-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--color-primary-light);
}

.location-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.location-card p { font-size: 0.88rem; color: var(--color-muted); margin: 0; }

/* ═══════ TESTIMONIALS ═══════ */

.section-testimonials { background: var(--color-bg); background-image: var(--gradient-mesh); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.2rem;
  color: #fbbf24;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author strong {
  color: #fff;
  font-size: 0.88rem;
  display: block;
}
.testimonial-author span {
  color: var(--color-muted);
  font-size: 0.78rem;
}

/* ═══════ CTA ═══════ */

.section-cta {
  position: relative;
  text-align: center;
  padding: 6rem 0;
  overflow: hidden;
  background: var(--color-surface);
}

.cta-bg-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.cta-orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.2);
  top: -20%;
  left: 20%;
  animation: orbit 20s ease-in-out infinite;
}
.cta-orb--2 {
  width: 350px;
  height: 350px;
  background: rgba(168, 85, 247, 0.15);
  bottom: -20%;
  right: 15%;
  animation: orbit 18s ease-in-out infinite reverse;
}

.cta-content {
  position: relative;
  z-index: 1;
}
.cta-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 1rem 0;
  letter-spacing: -0.02em;
}
.cta-content p {
  font-size: 1.1rem;
  color: var(--color-text);
  max-width: 500px;
  margin: 0 auto 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ═══════ FAQ ═══════ */

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

.faq-grid {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-grid details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
  transition: all var(--transition);
}
.faq-grid details[open] {
  border-color: rgba(99, 102, 241, 0.2);
  box-shadow: var(--shadow-glow);
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--color-primary-light);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-grid details[open] summary::after { transform: rotate(45deg); }

.faq-grid details p {
  margin-top: 1rem;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.7;
}

.faq-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* ═══════ FOOTER ═══════ */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-tagline {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin: 1rem 0 0;
}

.footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: all 0.2s ease;
}
.footer-socials a:hover {
  color: #fff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.site-footer h3 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.2rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.site-footer ul a {
  color: var(--color-text);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}
.site-footer ul a:hover { color: #fff; }
.site-footer ul li { color: var(--color-muted); font-size: 0.9rem; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.82rem;
  color: var(--color-muted);
}
.footer-bottom p { margin: 0; }

/* Location Filters */
.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.filter-btn.is-active {
  background: var(--gradient-primary);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
}

/* Location Cards */
.location-card-modern {
  transition: all var(--transition);
}
.location-card-modern:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: var(--shadow-glow);
}
.location-card-modern[data-type="ice-cream"]:hover {
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 60px rgba(236, 72, 153, 0.15);
}
.location-card-modern[data-type="coffee"]:hover {
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 0 60px rgba(245, 158, 11, 0.15);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a { color: var(--color-muted); transition: color 0.2s ease; }
.footer-legal a:hover { color: #fff; }

/* ═══════ COOKIE BANNER ═══════ */

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: min(380px, calc(100% - 3rem));
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  z-index: 999;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-banner p { margin: 0; font-size: 0.85rem; color: var(--color-text); }
.cookie-banner[hidden] { display: none !important; }
.cookie-banner.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

.cookie-actions { display: flex; gap: 0.75rem; }

/* ═══════ CHAT WIDGET ═══════ */

.lc-text-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  pointer-events: none;
}

.lc_text-widget--prompt {
  pointer-events: auto;
  background: var(--color-surface-2);
  color: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  transform: scale(0.92) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  max-width: 320px;
}
.lc_text-widget--prompt.is-visible { opacity: 1; visibility: visible; transform: scale(1) translateY(0); }

.lc_text-widget_prompt--avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.lc_text-widget_prompt--prompt-text { font-weight: 600; font-size: 0.85rem; line-height: 1.3; }

.lc_text-widget_prompt--prompt-close {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 0.2rem;
  display: inline-flex;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lc_text-widget_prompt--prompt-close:hover { background: rgba(255, 255, 255, 0.2); }

.lc_text-widget--bubble {
  pointer-events: auto;
  appearance: none;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-primary);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lc_text-widget--bubble:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 12px 40px rgba(99, 102, 241, 0.5); }

.lc_text-widget--panel {
  pointer-events: auto;
  width: min(340px, 90vw);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1.25rem;
}
.lc_text-widget--panel.is-open { display: flex; }

.lc_text-widget_panel--header { display: flex; justify-content: space-between; gap: 1rem; }
.lc_text-widget_panel--eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: var(--color-muted);
  margin: 0 0 0.25rem;
  font-weight: 700;
}
.lc_text-widget_panel--title { margin: 0; font-size: 1.2rem; color: #fff; }

.lc_text-widget_panel--close {
  appearance: none;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  padding: 0.3rem;
  display: inline-flex;
  cursor: pointer;
  color: var(--color-muted);
  transition: background 0.2s ease;
}
.lc_text-widget_panel--close:hover { background: rgba(255, 255, 255, 0.12); }

.lc_text-widget_form { display: flex; flex-direction: column; gap: 1rem; }

.lc-text-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
}
.lc-text-field input, .lc-text-field textarea {
  font: inherit;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lc-text-field input:focus, .lc-text-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.lc_text-widget_form--submit { align-self: flex-start; padding-inline: 1.4rem; }
.lc_text-widget--confirmation { margin: 0; font-weight: 600; color: var(--color-primary-light); }
.lc_text-widget_form.is-sent .lc-text-field, .lc_text-widget_form.is-sent .lc_text-widget_form--submit { display: none; }
.lc_text-widget_form.is-sent .lc_text-widget--confirmation { display: block; }

/* ═══════ RESPONSIVE ═══════ */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content .lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-cards { margin: 0 auto; max-width: 360px; }
  .hero-scroll-indicator { display: none; }

  /* Header layout fix */
  .header-inner {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .brand { order: 1; }
  .nav-toggle {
    display: flex;
    order: 3;
    margin-left: auto;
  }
  .header-utilities {
    order: 2;
    margin-left: 0;
    margin-right: 0.5rem;
    display: flex;
    gap: 0.5rem;
    flex: 1;
    justify-content: flex-end;
  }
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
  }
  .nav.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav ul {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 2rem;
  }
  .nav a { font-size: 1.3rem; padding: 0.75rem 1.5rem; display: block; }
  .nav a.btn-nav {
    margin-top: 1rem;
    display: inline-block;
  }

  /* Utilities on mobile */
  .header-phone {
    padding: 0.5rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-phone span { display: none; }
  .header-socials {
    display: none;
  }
  .header-lang {
    border-left: none;
    margin-left: 0;
    padding-left: 0;
  }
  .lang-button {
    padding: 0.5rem;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stats-ribbon-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-padding: 4rem; }
  .container { padding: 0 1rem; }

  /* Header compact on small screens */
  .header-inner {
    padding: 0.5rem 0;
  }
  .brand-logo {
    max-height: 32px;
  }
  .header-utilities {
    gap: 0.25rem;
  }
  .header-phone,
  .lang-button {
    min-width: 36px;
    height: 36px;
    padding: 0.4rem;
  }
  .nav-toggle {
    padding: 0.4rem;
  }
  .nav-toggle span {
    width: 20px;
  }

  .hero { padding: 6rem 0 3rem; min-height: auto; }
  .hero-content h1 { font-size: 1.9rem; }
  .hero-content .lead { font-size: 1rem; }
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .hero-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .hero-card--icecream { grid-column: auto; grid-row: auto; }

  .stats-ribbon-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .process-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr !important; }

  .product-tabs { flex-direction: column; border-radius: var(--radius-lg); max-width: 100%; }
  .product-tab {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-orb, .cta-orb, .scroll-line::after { animation: none !important; }
}

/* ═══════ PAGE INTERNALS (keep compat with other pages) ═══════ */

.page-hero {
  padding: 8rem 0 4rem;
  background: var(--color-surface);
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1rem; }
.page-hero p { color: var(--color-muted); max-width: 600px; margin: 0 auto; }

.page-content { padding: 4rem 0; }
.page-content h2 { font-size: 1.8rem; margin-top: 3rem; }
.page-content p, .page-content li { color: var(--color-text); }

.feature-list { list-style: none; padding: 0; display: grid; gap: 0.8rem; margin: 1.5rem 0; }
.feature-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all var(--transition);
}
.feature-list li:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.2); }
.feature-list span { color: var(--color-primary-light); font-weight: 700; }

.two-column { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.stats-band { background: var(--color-surface); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 3rem 0; }
.stats-band .stats-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); text-align: center; }
.stats-band span { display: block; font-size: 2rem; font-family: var(--font-heading); color: #fff; }

.accordion { display: grid; gap: 0.75rem; }
.accordion details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.5rem;
}

.contact-form { display: grid; gap: 1.2rem; max-width: 640px; margin: 0 auto; }
.contact-form label { display: grid; gap: 0.5rem; font-weight: 600; color: #fff; }
.contact-form input, .contact-form select, .contact-form textarea {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .form-row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.form-helper { font-size: 0.85rem; color: var(--color-muted); }

/* Profit calculator compat */
.profit-calculator {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.calculator-columns { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.calculator-results {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.calculator-results-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.calculator-results-list li { display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; color: #fff; }
.calculator-results-list li strong { font-family: var(--font-heading); font-size: 1.15rem; }
.calculator-results-list .result-highlight {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}

.calc-field { display: flex; flex-direction: column; gap: 0.5rem; font-weight: 600; }
.calc-field span { color: var(--color-muted); }
.calc-field input {
  font: inherit;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.calc-field input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }

.calculator-slider { position: relative; padding-top: 2.4rem; }
.calculator-slider input[type='range'] {
  width: 100%; appearance: none; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary) var(--slider-progress, 50%), rgba(255, 255, 255, 0.08) var(--slider-progress, 50%));
  outline: none;
}
.calculator-slider input[type='range']::-webkit-slider-thumb {
  appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-primary); box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); cursor: pointer;
}
.calculator-slider input[type='range']::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--color-primary);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); border: none; cursor: pointer;
}
.slider-value {
  position: absolute; top: 0; transform: translate(-50%, -50%);
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 0.4rem 0.75rem;
  font-weight: 700; color: var(--color-primary-light); min-width: 52px; text-align: center;
}
.slider-extents { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--color-muted); }

.calculator-step { display: flex; flex-direction: column; gap: 0.85rem; padding-bottom: 1rem; border-bottom: 1px solid var(--color-border); }
.calculator-step:last-child { border-bottom: none; padding-bottom: 0; }
.calculator-step-label { font-size: 0.75rem; letter-spacing: 0.22em; font-weight: 700; text-transform: uppercase; color: var(--color-muted); }
.calculator-step-description { font-weight: 600; color: #fff; }
.calculator-subtitle { font-weight: 600; color: var(--color-primary-light); margin-bottom: 0.75rem; }
.calculator-group { margin-bottom: 1.5rem; }
.calculator-steps { display: grid; gap: 1.6rem; }
.calculator-note { font-size: 0.9rem; color: var(--color-muted); margin: 0; }

.table-profits { width: 100%; border-collapse: collapse; margin: 2rem 0; border-radius: var(--radius-md); overflow: hidden; }
.table-profits th, .table-profits td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.table-profits th { background: var(--color-surface-2); color: #fff; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; }
.table-profits td { background: var(--color-surface); color: var(--color-text); }

/* Highlight cards for internal pages */
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.highlight-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  min-height: 170px;
  transition: all var(--transition);
}
.highlight-card:hover { transform: translateY(-6px); border-color: rgba(99, 102, 241, 0.2); }
.highlight-card h3 { margin-top: 0; font-size: 1.1rem; color: var(--color-primary-light); }
.highlight-card p { margin-bottom: 0; color: var(--color-muted); }

.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.partner-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all var(--transition);
}
.partner-card:hover { transform: translateY(-6px); border-color: rgba(99, 102, 241, 0.2); }

.section-franchise-banner {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.banner-content h2 { color: #fff; }

.section-faq-preview details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  padding: 1.2rem 1.5rem;
}
.section-faq-preview summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: #fff;
}
.section-faq-preview summary::-webkit-details-marker { display: none; }
.section-faq-preview summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  transition: transform 0.3s ease;
  color: var(--color-primary-light);
}
.section-faq-preview details[open] summary::after { transform: rotate(45deg); }

/* Support for existing pages using .eyebrow */
.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-primary-light);
  font-weight: 700;
}

.section-heading .eyebrow {
  color: var(--color-primary-light);
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
}

.location-list { display: grid; gap: 1.5rem; }
.location-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: all var(--transition);
}
.location-item:hover { transform: translateY(-4px); border-color: rgba(99, 102, 241, 0.2); }

.partners-cta { text-align: center; margin-top: 3rem; display: grid; gap: 1rem; }

/* btn-outline compat */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }

/* btn-secondary compat */
.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* Section alternate bg pattern */
.section:nth-of-type(even) { background: var(--color-surface); }

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

.section-testimonials .testimonial-slider {
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
