/* ==========================================================================
   AVATO Media - Modern Design System & Stylesheet
   Architecture: 60-30-10 Color Rule, Responsive Layout, Modern Light/Dark Mode
   Palette (Paired with the Signature Red/Berry AV Monogram):
     --vintage-berry: #92374d
     --grape-soda:    #8c5383
     --dusk-blue:     #4a5899
     --pacific-blue:  #559cad
     --silver:        #c1b2ab
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Color System (60-30-10 Rule)
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light dark;

  /* Base Palette Tokens */
  --vintage-berry: #92374d;
  --grape-soda: #8c5383;
  --dusk-blue: #4a5899;
  --pacific-blue: #559cad;
  --silver: #c1b2ab;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #92374d 0%, #8c5383 35%, #4a5899 70%, #559cad 100%);
  --gradient-berry-dusk: linear-gradient(135deg, #92374d 0%, #4a5899 100%);
  --gradient-glow: radial-gradient(circle at top right, rgba(146, 55, 77, 0.15), transparent 70%);

  /* Light Theme (Default: 60% Dominant Base / 30% Secondary Structure / 10% Accent) */
  --bg-base: #faf8f7;             /* 60% Dominant Canvas: Warm soft silver-white */
  --bg-surface: #ffffff;          /* Surface / Cards */
  --bg-surface-elevated: #ffffff; /* Modals / Dropdowns */
  --bg-subtle: #f3efe9;           /* Secondary surfaces / inputs */
  --bg-accent-tint: rgba(146, 55, 77, 0.06); /* Soft berry wash */
  --bg-silver-tint: rgba(193, 178, 171, 0.18);

  --text-primary: #21161d;         /* 30% Primary Body & Headings (Deep plum charcoal) */
  --text-secondary: #564653;       /* Secondary text */
  --text-muted: #7f6e7b;           /* Tertiary / subtle */
  --text-on-accent: #ffffff;       /* Text on Vintage Berry */
  --text-on-pacific: #ffffff;      /* Text on Pacific Blue */

  --border-subtle: #e8e0dc;        /* Silver-toned borders */
  --border-medium: #c1b2ab;        /* Pure silver border */
  --border-accent: rgba(146, 55, 77, 0.35);

  --shadow-sm: 0 2px 6px rgba(33, 22, 29, 0.04);
  --shadow-md: 0 8px 24px rgba(74, 88, 153, 0.08);
  --shadow-lg: 0 16px 40px rgba(146, 55, 77, 0.12);
  --shadow-glow: 0 0 24px rgba(146, 55, 77, 0.28);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
}

/* Modern Web Guidance: Map meta color-scheme back to root cascade */
:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  color-scheme: dark;
}
:root:has(> head > meta[name="color-scheme"][content="light"]) {
  color-scheme: light;
}

/* Dark Mode Complements (Rich twilight plum/obsidian matching the red/berry logo) */
@media (prefers-color-scheme: dark) {
  :root:not(:has(> head > meta[name="color-scheme"][content="light"])) {
    --bg-base: #140d12;             /* 60% Dominant: Deep Twilight Plum */
    --bg-surface: #1e141c;          /* Cards & Panels */
    --bg-surface-elevated: #281a25; /* Modals & Drawers */
    --bg-subtle: #2f202c;           /* Secondary surfaces / inputs */
    --bg-accent-tint: rgba(146, 55, 77, 0.18);
    --bg-silver-tint: rgba(193, 178, 171, 0.08);

    --text-primary: #f6eff3;        /* High-contrast crisp warm white */
    --text-secondary: #c8b9c4;      /* Silver-plum text */
    --text-muted: #917d8c;
    --text-on-accent: #ffffff;
    --text-on-pacific: #0d1e24;

    --border-subtle: #382434;
    --border-medium: #54394f;
    --border-accent: rgba(146, 55, 77, 0.5);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 28px rgba(146, 55, 77, 0.45);
  }
}

:root:has(> head > meta[name="color-scheme"][content="dark"]) {
  --bg-base: #140d12;
  --bg-surface: #1e141c;
  --bg-surface-elevated: #281a25;
  --bg-subtle: #2f202c;
  --bg-accent-tint: rgba(146, 55, 77, 0.18);
  --bg-silver-tint: rgba(193, 178, 171, 0.08);

  --text-primary: #f6eff3;
  --text-secondary: #c8b9c4;
  --text-muted: #917d8c;
  --text-on-accent: #ffffff;
  --text-on-pacific: #0d1e24;

  --border-subtle: #382434;
  --border-medium: #54394f;
  --border-accent: rgba(146, 55, 77, 0.5);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 18px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 28px rgba(146, 55, 77, 0.45);
}

/* --------------------------------------------------------------------------
   2. Reset & Typography
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 100%;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

main, header, footer, section {
  max-width: 100%;
  min-inline-size: 0;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Navigation & Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background-color: color-mix(in srgb, var(--bg-base) 85%, transparent);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-meta {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--vintage-berry), var(--pacific-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
  padding-block: 0.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--vintage-berry);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--vintage-berry);
  transition: width var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-currency-btn {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.nav-currency-btn:hover {
  border-color: var(--vintage-berry);
  color: var(--vintage-berry);
}

.nav-currency-btn span.curr-active {
  color: var(--vintage-berry);
  font-weight: 800;
}

/* Action Buttons (10% Accent: Vintage Berry) */
.btn-accent {
  background: var(--vintage-berry);
  color: var(--text-on-accent);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(146, 55, 77, 0.35);
}

.btn-accent:hover {
  background: #a83f58;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(146, 55, 77, 0.5);
}

.btn-pacific {
  background: var(--pacific-blue);
  color: var(--text-on-pacific);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(85, 156, 173, 0.3);
}

.btn-pacific:hover {
  background: #468c9c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(85, 156, 173, 0.45);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--grape-soda);
  color: var(--grape-soda);
  transform: translateY(-2px);
  background: var(--bg-subtle);
}

.btn-icon-pill {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-icon-pill:hover {
  color: var(--vintage-berry);
  border-color: var(--vintage-berry);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  font-size: 1.2rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   3b. Off-Screen Mobile & Tablet Sidebar Navigation Drawer
   -------------------------------------------------------------------------- */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 11, 16, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1090;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  --drawer-width: min(21rem, 84dvw);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--drawer-width);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface-elevated);
  border-left: 1px solid var(--border-medium);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.32);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  visibility: hidden;
  overscroll-behavior: contain;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.mobile-drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-inline-size: 0;
}

.mobile-drawer-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-drawer-brand-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: var(--vintage-berry);
  border-color: var(--vintage-berry);
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-section-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  padding-inline: 0.5rem;
}

.mobile-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.mobile-drawer-link:hover,
.mobile-drawer-link.active {
  background: var(--bg-accent-tint);
  border-color: var(--border-accent);
  color: var(--vintage-berry);
}

.mobile-drawer-link i.drawer-chevron {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.mobile-drawer-link:hover i.drawer-chevron,
.mobile-drawer-link.active i.drawer-chevron {
  color: var(--vintage-berry);
  transform: translateX(3px);
}

.mobile-drawer-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.mobile-drawer-control-btn:hover {
  border-color: var(--vintage-berry);
  color: var(--vintage-berry);
}

.mobile-drawer-footer {
  padding: 1.15rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-shrink: 0;
}

.mobile-drawer-footer .btn-accent,
.mobile-drawer-footer .btn-secondary {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. Hero Section (Asymmetrical Editorial Layout - No AI Blobs)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding-block: 4.5rem 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
}

.hero-status-tag,
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: monospace, sans-serif;
  letter-spacing: -0.01em;
}

.status-dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
  display: inline-block;
  animation: pulse-green 2s infinite ease-in-out;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.hero-title .brand-accent-text {
  color: var(--vintage-berry);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-specs-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1rem;
}

.spec-bullet {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: monospace, sans-serif;
}

.spec-bullet strong {
  color: var(--text-primary);
}

/* Architecture Live Spec Card (Right Column) */
.hero-spec-col {
  display: flex;
  justify-content: center;
  min-inline-size: 0;
  width: 100%;
}

.arch-spec-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.arch-spec-header {
  background: var(--bg-subtle);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.spec-header-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-header-title i {
  color: var(--vintage-berry);
}

.spec-terminal-dots {
  display: flex;
  gap: 6px;
}

.term-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-medium);
}

.arch-spec-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 0.45rem;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.85rem;
}

.spec-item:last-child {
  border-bottom: none;
}

.spec-key {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

.spec-val {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.spec-val.highlight-green {
  color: #16a34a;
}

.spec-val.highlight-berry {
  color: var(--vintage-berry);
}

.arch-spec-footer {
  background: var(--bg-accent-tint);
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.arch-spec-footer span {
  font-weight: 600;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Hero Visual Preview Card (Replaces the text-dense spec card)
   -------------------------------------------------------------------------- */
.hero-app-preview-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.hero-app-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--vintage-berry);
}

.preview-device-header {
  background: var(--bg-subtle);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-app-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  padding: 6px;
}

.preview-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-app-info {
  flex: 1;
}

.preview-app-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.preview-app-status {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.preview-speed-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.preview-device-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.preview-demo-banner {
  background: var(--bg-accent-tint);
  border-left: 3px solid var(--vintage-berry);
  padding: 0.85rem 1rem;
  border-radius: 6px;
}

.preview-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--vintage-berry);
  display: block;
  margin-bottom: 3px;
}

.preview-demo-banner h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
}

.preview-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.stat-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.4rem;
}

.stat-number {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vintage-berry);
  display: block;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.preview-action-row {
  display: flex;
  gap: 0.65rem;
}

.preview-mini-btn {
  flex: 1;
  background: var(--vintage-berry);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-full);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: opacity var(--transition-fast);
}

.preview-mini-btn:hover {
  opacity: 0.9;
  color: #ffffff;
}

.preview-mini-wa {
  flex: 1;
  background: rgba(37, 211, 102, 0.12);
  color: #16a34a;
  border: 1px solid rgba(37, 211, 102, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-full);
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: background var(--transition-fast);
}

.preview-mini-wa:hover {
  background: rgba(37, 211, 102, 0.2);
  color: #16a34a;
}

.preview-device-footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Value Pillars (Homepage 3-Card Value Proposition)
   -------------------------------------------------------------------------- */
.value-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
}

.pillar-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.page-hero {
  padding-block: 4rem 2.5rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.page-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.page-hero-subtitle {
  max-width: 650px;
  margin-inline: auto;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4b. Consultation Guide: Which Package Fits Your Business?
   -------------------------------------------------------------------------- */
.consult-guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.35rem;
  margin-top: 2rem;
}

.consult-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.consult-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
  box-shadow: var(--shadow-md);
}

.consult-card-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--vintage-berry);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.consult-goal {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.consult-ask-box {
  background: var(--bg-accent-tint);
  border-left: 3px solid var(--vintage-berry);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
}

.consult-ask-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vintage-berry);
  letter-spacing: 0.04em;
}

.consult-ask-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

.consult-deliverable {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.consult-deliverable strong {
  color: var(--text-primary);
}

.consult-who {
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.65rem;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   5. Key Value Proposition: The Comparison Breakdown (Customer Objection Flow)
   -------------------------------------------------------------------------- */
.comparison-section {
  padding-block: 5rem 4rem;
}

.comparison-table-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
}

.comparison-grid-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.comparison-grid-header .col-avato {
  color: var(--vintage-berry);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  align-items: center;
  transition: background-color var(--transition-fast);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row:hover {
  background-color: var(--bg-accent-tint);
}

.comp-metric {
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.comp-metric span.metric-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.comp-typical {
  color: #b91c1c;
  font-size: 0.85rem;
  line-height: 1.45;
  padding-right: 1rem;
}

.comp-typical i {
  margin-right: 4px;
}

.comp-avato {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.45;
}

.comp-avato i {
  color: #16a34a;
  margin-right: 4px;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .comparison-grid-header,
  .comparison-row {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .comparison-grid-header {
    display: none;
  }
  .comparison-row {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-medium);
  }
}

/* --------------------------------------------------------------------------
   5. Section Header Styling
   -------------------------------------------------------------------------- */
.section-wrapper {
  padding-block: 4.5rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-subtitle,
.gb-section-subtitle {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
  text-align: center;
  margin-inline: auto;
}

/* Currency Switcher Controls */
.currency-switcher-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.currency-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.currency-toggle-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.currency-btn {
  padding: 0.35rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.currency-btn:hover {
  color: var(--vintage-berry);
}

.currency-btn.active {
  background: var(--vintage-berry);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(146, 55, 77, 0.3);
}

.dual-subprice {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   6. Services Catalog & Filter Bar
   -------------------------------------------------------------------------- */
.catalog-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.filter-pill {
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.filter-pill:hover {
  border-color: var(--dusk-blue);
  color: var(--dusk-blue);
}

.filter-pill.active {
  background: var(--vintage-berry);
  color: #ffffff;
  border-color: var(--vintage-berry);
  box-shadow: 0 4px 12px rgba(146, 55, 77, 0.3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--vintage-berry);
  box-shadow: var(--shadow-md);
}

.service-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  border: 1px solid var(--border-accent);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--vintage-berry);
  color: #ffffff;
  transform: scale(1.08);
}

.service-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: -0.5rem;
}

.service-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-subtle);
}

.service-deliverables li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-deliverables li i {
  color: var(--pacific-blue);
  font-size: 0.85rem;
}

.service-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-price-block {
  display: flex;
  flex-direction: column;
}

.price-unit {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.service-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vintage-berry);
}

.btn-card-action {
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.service-card:hover .btn-card-action {
  background: var(--vintage-berry);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. Packages & Pricing Table (Instant Click-through Ordering)
   -------------------------------------------------------------------------- */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
  position: relative;
  transition: all var(--transition-normal);
}

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

.package-card.popular {
  border-color: var(--vintage-berry);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, var(--bg-accent-tint) 0%, var(--bg-surface) 35%);
}

.package-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--vintage-berry);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(146, 55, 77, 0.4);
}

.package-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.package-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}

.package-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
  min-height: 2.6rem;
}

.package-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.package-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vintage-berry);
}

.package-amount {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--vintage-berry);
  letter-spacing: -0.03em;
}

.package-turnaround {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.package-turnaround i {
  color: var(--dusk-blue);
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.package-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.4;
}

.package-features li i {
  color: var(--pacific-blue);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.package-action {
  margin-top: auto;
}

.btn-order-package {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
  background: var(--bg-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.package-card.popular .btn-order-package,
.package-card:hover .btn-order-package {
  background: var(--vintage-berry);
  color: #ffffff;
  border-color: var(--vintage-berry);
  box-shadow: 0 4px 14px rgba(146, 55, 77, 0.35);
}

/* --------------------------------------------------------------------------
   8. Why Avato Media (Value Pillars)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.75rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.pillar-card:hover {
  border-color: var(--dusk-blue);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  border: 1px solid var(--border-accent);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   9. Direct Contact & Booking Section
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-inline-size: 0;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--vintage-berry);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(146, 55, 77, 0.15);
}

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

.form-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-direct-side {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: 1.5rem;
  border-left: 1px solid var(--border-subtle);
  min-inline-size: 0;
  overflow-wrap: break-word;
}

.direct-channels-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.channel-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.channel-link i {
  font-size: 1.25rem;
  color: var(--dusk-blue);
}

.channel-link:hover {
  background: var(--bg-accent-tint);
  border-color: var(--vintage-berry);
  transform: translateX(4px);
}

.channel-link.whatsapp-channel i {
  color: #25d366;
}

.direct-hours-card {
  background: var(--bg-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.hours-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hours-title i {
  color: var(--pacific-blue);
}

.hours-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   10. Interactive Order Customizer Modal (Checkout Experience)
   -------------------------------------------------------------------------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 13, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.98);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  background: var(--bg-surface-elevated);
  z-index: 10;
}

.modal-title-wrap {
  display: flex;
  flex-direction: column;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  background: var(--bg-subtle);
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.modal-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Customizer Steps */
.order-step-box {
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Addons list selector */
.addons-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.addon-row:hover {
  border-color: var(--grape-soda);
}

.addon-row.selected {
  border-color: var(--vintage-berry);
  background: var(--bg-accent-tint);
}

.addon-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.addon-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--vintage-berry);
}

.addon-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.addon-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.addon-price-tag {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--vintage-berry);
  white-space: nowrap;
}

/* Price Calculation Summary Banner */
.order-summary-card {
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-accent-tint) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.summary-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.breakdown-line {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.breakdown-line strong {
  color: var(--text-primary);
}

.total-due-wrap {
  text-align: right;
}

.total-due-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
}

.total-due-amount {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--vintage-berry);
  line-height: 1.1;
}

/* Multi-channel instant actions */
.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-checkout-whatsapp {
  width: 100%;
  padding: 1rem 1.5rem;
  background: #25d366;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-checkout-whatsapp:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-checkout-email {
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
}

.btn-checkout-email:hover {
  border-color: var(--vintage-berry);
  background: var(--bg-subtle);
}

.btn-checkout-invoice {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.btn-checkout-invoice:hover {
  color: var(--vintage-berry);
  text-decoration: underline;
}

/* Receipt Modal Dialog */
.receipt-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.receipt-id-tag {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--vintage-berry);
  background: var(--bg-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   10B. Bespoke Service Package Builder Modal ("Build Your Own Package")
   -------------------------------------------------------------------------- */
.service-builder-dialog {
  max-width: 800px;
}

.service-active-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.25rem;
  margin-top: 0.25rem;
}

.service-active-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.service-active-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  border: 1px solid var(--border-subtle);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-active-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.service-active-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.service-active-pricing {
  text-align: right;
  flex-shrink: 0;
}

.service-active-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--vintage-berry);
}

.builder-deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.builder-deliv-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
}

.builder-deliv-item:hover {
  border-color: var(--grape-soda);
}

.builder-deliv-item.selected {
  border-color: var(--vintage-berry);
  background: var(--bg-accent-tint);
}

.builder-deliv-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.builder-deliv-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  word-break: break-word;
}

.builder-deliv-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.builder-badge-standard {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.builder-badge-custom {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  border: 1px solid var(--vintage-berry);
}

.btn-remove-custom-deliv {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0.25rem 0.45rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.btn-remove-custom-deliv:hover {
  color: #e53e3e;
}

.builder-custom-input-box {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
  background: var(--bg-subtle);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-medium);
}

.builder-custom-input {
  flex: 1;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  font-family: inherit;
}

.builder-custom-input:focus {
  outline: none;
  border-color: var(--vintage-berry);
}

.btn-add-custom-deliv {
  padding: 0.55rem 1rem;
  background: var(--vintage-berry);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: background var(--transition-fast);
}

.btn-add-custom-deliv:hover {
  background: var(--vintage-berry-dark);
}

.package-linked-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--vintage-berry);
  background: var(--bg-accent-tint);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   11. Comprehensive Admin Management Suite (Dashboard Modal / Drawer)
   -------------------------------------------------------------------------- */
.admin-modal {
  max-width: 1100px;
  height: 90vh;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 580px;
  flex-grow: 1;
}

.admin-sidebar {
  background: var(--bg-base);
  border-right: 1px solid var(--border-subtle);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: left;
}

.admin-tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-primary);
}

.admin-tab-btn.active {
  background: var(--vintage-berry);
  color: #ffffff;
}

.admin-tab-btn i {
  font-size: 1.1rem;
  width: 20px;
}

.admin-content {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(90vh - 80px);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.admin-view {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-view.active {
  display: flex;
}

/* Admin Metrics Grid */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  border: 1px solid var(--border-accent);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.metric-data {
  display: flex;
  flex-direction: column;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.metric-title {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Admin Data Tables */
.admin-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--bg-subtle);
  padding: 0.85rem 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
  padding: 0.95rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--bg-accent-tint);
}

.badge-status {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-status.status-new {
  background: rgba(146, 55, 77, 0.15);
  color: var(--vintage-berry);
}

.badge-status.status-progress {
  background: rgba(74, 88, 153, 0.15);
  color: var(--dusk-blue);
}

.badge-status.status-completed {
  background: rgba(85, 156, 173, 0.2);
  color: var(--pacific-blue);
}

/* --------------------------------------------------------------------------
   12. Toast Notifications & Utilities
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  width: auto;
  max-width: calc(100vw - 2rem);
}

.toast {
  pointer-events: auto;
  background: rgba(22, 22, 26, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 3px solid var(--vintage-berry);
  color: #ffffff;
  padding: 0.55rem 0.65rem 0.55rem 1.1rem;
  border-radius: var(--radius-full, 9999px);
  box-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.45), 0 4px 10px -2px rgba(0, 0, 0, 0.25);
  font-size: 0.86rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  animation: toastPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 100%;
}

.toast.toast-error {
  border-left-color: #ef4444;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.toast-close-btn {
  background: transparent;
  border: none;
  color: inherit;
  opacity: 0.72;
  cursor: pointer;
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0.82rem;
  transition: opacity 0.15s ease, background-color 0.15s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.toast-close-btn:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.16);
}

.toast-close-btn:active {
  transform: scale(0.92);
}

@keyframes toastPopIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* PWA Install Banner */
.pwa-install-banner {
  display: none;
  background: var(--bg-accent-tint);
  border-bottom: 1px solid var(--border-accent);
  padding: 0.65rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.pwa-install-banner.visible {
  display: flex;
}

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand-p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--vintage-berry);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-footer-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.admin-footer-trigger:hover {
  color: var(--vintage-berry);
}

/* --------------------------------------------------------------------------
   14. Keyframe Animations & Media Queries
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-spec-col {
    justify-content: flex-start;
  }
  .hero-app-preview-card,
  .arch-spec-card {
    max-width: 100%;
  }
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
  }
  .contact-direct-side {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .admin-layout {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
}

@media (max-width: 768px) {
  .container {
    padding-inline: 1.25rem;
  }
  .section-wrapper {
    padding-block: 3.25rem;
  }
  .hero-section {
    padding-block: 2.75rem 2.5rem;
  }
  .page-hero {
    padding-block: 2.75rem 2rem;
  }
  .form-group-grid {
    grid-template-columns: 1fr;
  }
  .form-buttons {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .modal-backdrop {
    padding: 0.85rem;
  }
  .modal-dialog {
    margin: 0;
    max-height: 92vh;
    max-height: 92dvh;
    overscroll-behavior: contain;
  }
  .modal-header {
    padding: 1.15rem 1.25rem;
  }
  .modal-body {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  .order-step-box {
    padding: 1.15rem;
  }
  .order-summary-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
  }
  .total-due-wrap {
    text-align: left;
    width: 100%;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-medium);
  }
  .service-card,
  .package-card,
  .pillar-card,
  .gb-card-item {
    padding: 1.5rem 1.35rem;
  }
  .gb-cta-card {
    padding: 1.75rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
  }
  .gb-cta-card a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .gb-quote-card {
    padding: 1.5rem 1.35rem;
  }
  .toast-container {
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: calc(100vw - 1.5rem);
  }
  .toast {
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-container {
    height: 4.25rem;
    gap: 0.5rem;
  }
  /* Move Order CTA and Admin Lock into the Off-Screen Drawer on compact phones to eliminate header crowding */
  .nav-actions #header-order-btn,
  .nav-actions a.btn-accent,
  .nav-actions .trigger-admin-portal {
    display: none !important;
  }
  .nav-actions {
    gap: 0.45rem;
  }
  .brand-logo-img {
    height: 36px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-tagline {
    font-size: 0.65rem;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-cta-group .btn-accent,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
  }
  .hero-specs-row {
    gap: 0.75rem 1.15rem;
  }
  .preview-device-header {
    flex-wrap: wrap;
    padding: 0.9rem 1rem;
  }
  .preview-device-body {
    padding: 1.15rem 1rem;
  }
  .preview-stats-row {
    gap: 0.45rem;
  }
  .stat-number {
    font-size: 1rem;
  }
  .stat-label {
    font-size: 0.66rem;
  }
  .preview-action-row {
    flex-direction: column;
  }
  .preview-device-footer {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.7rem 1rem;
  }
  .service-footer {
    flex-wrap: wrap;
    gap: 0.85rem;
  }
  .contact-layout {
    padding: 1.5rem 1.15rem;
  }
  .addon-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .addon-price-tag {
    align-self: flex-end;
  }
  .pwa-install-banner {
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding-inline: 1rem;
  }
  .brand-tagline {
    display: none;
  }
  .preview-stats-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   15. Gutenberg-Style Dynamic Blocks Frontend Engine
   -------------------------------------------------------------------------- */
.gutenberg-block {
  margin-bottom: 2.75rem;
  animation: fadeIn var(--transition-normal);
}

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

/* Headings */
.block-heading.align-center { text-align: center; }
.block-heading.align-right { text-align: right; }
.block-heading.align-left { text-align: left; }
.gb-title {
  color: var(--text-primary);
  font-weight: 800;
  line-height: 1.25;
}
h2.gb-title { font-size: clamp(1.75rem, 3.5vw, 2.35rem); }
h3.gb-title { font-size: clamp(1.4rem, 2.5vw, 1.85rem); }
h4.gb-title { font-size: 1.25rem; }

/* Paragraph */
.block-paragraph.align-center { text-align: center; }
.block-paragraph.align-right { text-align: right; }
.block-paragraph.align-left { text-align: left; }
.gb-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Call to Action Banner */
.gb-cta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.cta-accent .gb-cta-card {
  border-color: var(--vintage-berry);
  background: linear-gradient(135deg, var(--bg-accent-tint) 0%, var(--bg-surface) 100%);
}
.cta-whatsapp .gb-cta-card {
  border-color: #25d366;
}
.btn-whatsapp {
  background: #25d366 !important;
  color: #ffffff !important;
  border: none !important;
}
.btn-whatsapp:hover {
  background: #1eb855 !important;
}
.gb-cta-content {
  flex: 1;
  min-width: min(100%, 240px);
  min-inline-size: 0;
}
.gb-cta-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
}
.gb-cta-desc {
  color: var(--text-secondary);
  margin-top: 0.35rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Cards Grid */
.gb-section-header {
  text-align: center;
  margin-bottom: 2.25rem;
}
.gb-section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--text-primary);
}
.gb-section-subtitle {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-size: 0.98rem;
  line-height: 1.55;
}
.gb-cards-grid {
  display: grid;
  gap: 1.5rem;
}
.gb-cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.gb-cards-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gb-cards-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.gb-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-inline-size: 0;
  overflow-wrap: break-word;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.gb-card-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.gb-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.gb-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}
.gb-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Quote / Testimonial */
.gb-quote-card {
  background: var(--bg-surface);
  border-left: 4px solid var(--vintage-berry);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.gb-quote-mark {
  font-size: 1.75rem;
  color: var(--vintage-berry);
  opacity: 0.6;
}
.gb-quote-text {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-primary);
}
.gb-quote-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.gb-quote-author {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.gb-quote-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Notice / Banner */
.gb-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.65rem;
  border-radius: var(--radius-md);
}
.notice-highlight {
  background: var(--bg-accent-tint);
  border: 1px solid var(--border-accent);
}
.notice-highlight .gb-notice-icon {
  color: var(--vintage-berry);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.notice-info {
  background: var(--bg-surface);
  border: 1px solid var(--pacific-blue);
}
.notice-info .gb-notice-icon {
  color: var(--pacific-blue);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.notice-success {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
}
.notice-success .gb-notice-icon {
  color: #25d366;
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.notice-subtle {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.notice-subtle .gb-notice-icon {
  color: var(--text-secondary);
  font-size: 1.35rem;
  margin-top: 0.15rem;
}
.gb-notice-body {
  flex: 1;
}
.gb-notice-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}
.gb-notice-text {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Media / Image */
.gb-media-figure {
  max-width: 100%;
  margin: 0 auto;
}
.gb-media-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.gb-media-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* Divider */
.divider-line hr {
  border: none;
  height: 1px;
  background: var(--border-subtle);
  margin: 2.5rem 0;
}
.divider-spacer {
  height: 3rem;
}

/* ==========================================================================
   PWA Standalone Cold Launch Splash Screen (iOS & Android)
   ========================================================================== */
.pwa-splash-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background-color: #140d12;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1), transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.pwa-splash-overlay.fade-out {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

.pwa-splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: pwaSplashPop 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.pwa-splash-logo {
  width: 90px;
  height: 90px;
  margin-bottom: 1.25rem;
  filter: drop-shadow(0 10px 25px rgba(146, 55, 77, 0.45));
}

.pwa-splash-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: 'Poppins', sans-serif;
}

.pwa-splash-tagline {
  font-size: 0.78rem;
  color: #c1b2ab;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.pwa-splash-loader {
  width: 54px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.pwa-splash-loader::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: #92374d;
  border-radius: 999px;
  animation: pwaSplashBar 1s infinite ease-in-out;
}

@keyframes pwaSplashPop {
  0% { opacity: 0; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pwaSplashBar {
  0% { left: -50%; width: 30%; }
  50% { left: 25%; width: 60%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   Modern Custom Header / Hero Blocks (Shadcn-Inspired, Vanilla CSS)
   ========================================================================== */

/* 1. Centered SaaS Hero with Announcement Badge & Social Proof */
.hero-shadcn-centered {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-shadcn-centered.has-glow {
  background-image: radial-gradient(circle at 50% -10%, rgba(146, 55, 77, 0.12), transparent 70%);
}

.hero-centered-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.hero-announcement-wrap {
  margin-bottom: 1.5rem;
}

.hero-announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  text-decoration: none;
  font-size: 0.82rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}

.hero-announcement-badge:hover {
  border-color: var(--vintage-berry);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.badge-tag {
  font-weight: 700;
  color: var(--vintage-berry);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.18rem 0.55rem;
  background: var(--bg-accent-tint);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge-text {
  font-weight: 500;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.badge-arrow {
  font-size: 0.72rem;
  color: var(--vintage-berry);
  transition: transform var(--transition-fast);
}

.hero-announcement-badge:hover .badge-arrow {
  transform: translateX(3px);
}

.hero-centered-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  max-width: 840px;
}

.hero-centered-title .brand-accent-text {
  color: var(--vintage-berry);
}

.hero-centered-subtitle {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-centered-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-surface);
  background: var(--vintage-berry);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: -8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.avatar-circle:first-child {
  margin-inline-start: 0;
}

.avatar-circle:nth-child(2) {
  background: var(--grape-soda);
}

.avatar-circle:nth-child(3) {
  background: var(--dusk-blue);
}

.avatar-circle:nth-child(4) {
  background: var(--pacific-blue);
}

.social-proof-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
}

.rating-stars {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: #f59e0b;
  font-size: 0.75rem;
}

.rating-score {
  font-weight: 800;
  color: var(--text-primary);
  margin-inline-start: 0.35rem;
  font-size: 0.8rem;
}

.social-proof-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 2. Floating Browser / App Frame Hero */
.hero-mockup-section {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-mockup-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-browser-frame {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  box-shadow: 0 25px 60px -15px rgba(33, 22, 29, 0.12), 0 0 0 1px var(--border-subtle);
  overflow: hidden;
}

.browser-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  gap: 1rem;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.b-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.browser-address {
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.75rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.browser-address i {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.browser-actions {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.browser-screen {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--bg-base);
}

.mockup-dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dash-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.mockup-dash-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.badge-status-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.75rem;
}

.mockup-metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.mockup-metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-sm);
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.metric-val {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* 3. Terminal / Tech Hero */
.hero-terminal-section {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-terminal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-terminal-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-inline-size: 0;
}

.terminal-cmd-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  color: var(--vintage-berry);
  font-weight: 600;
  width: fit-content;
}

.hero-terminal-window {
  border-radius: var(--radius-md);
  background: #141117;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  min-inline-size: 0;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #1c1822;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-size: 0.78rem;
}

.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.terminal-tab-title {
  color: #9ca3af;
  font-size: 0.75rem;
}

.terminal-lang {
  color: #6b7280;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.terminal-body {
  padding: 1.25rem 1.35rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  overflow-x: auto;
}

.term-line {
  color: #d1d5db;
  word-break: break-word;
}

.term-line:first-child {
  color: #559cad;
  font-weight: 600;
}

.term-line:last-child {
  color: #34d399;
  font-weight: 600;
}

.term-cursor-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.term-prompt {
  color: #92374d;
  font-weight: 700;
}

.term-cursor {
  width: 8px;
  height: 16px;
  background: #34d399;
  display: inline-block;
  animation: termBlink 1s infinite;
}

@keyframes termBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* 4. Bento Micro-Grid Hero */
.hero-bento-section {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 5rem) clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-bento-intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-inline-size: 0;
}

.bento-micro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.bento-micro-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.bento-micro-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.bento-icon-pill {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.bento-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
}

.bento-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Responsive Overrides for Custom Heroes */
@media (max-width: 900px) {
  .hero-terminal-grid,
  .hero-bento-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 600px) {
  .bento-micro-grid {
    grid-template-columns: 1fr;
  }
  .mockup-metric-grid {
    grid-template-columns: 1fr;
  }
  .hero-social-proof {
    flex-direction: column;
    border-radius: var(--radius-md);
    text-align: center;
  }
  .social-proof-content {
    align-items: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Dynamic CMS Block Unification & Layout Aliases
   -------------------------------------------------------------------------- */
.packages-guidance-card {
  margin-top: 3rem;
  text-align: center;
  background: var(--bg-surface);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  max-width: 740px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}

.packages-guidance-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.packages-guidance-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

/* Dual-class aliases for Dynamic CMS Comparison Table */
.comparison-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 2.5rem;
}

.comparison-header {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.comp-feature {
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.comp-feature-sub {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}

.comp-negative {
  color: #b91c1c;
  font-size: 0.85rem;
  line-height: 1.45;
  padding-right: 1rem;
}

.comp-negative i {
  color: #dc2626;
  margin-right: 4px;
}

.comp-positive {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.45;
}

.comp-positive i {
  color: #16a34a;
  margin-right: 4px;
}

/* Dual-class aliases for Dynamic CMS Buying Guide */
.consult-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--vintage-berry);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.consult-quote-box {
  background: var(--bg-accent-tint);
  border-left: 3px solid var(--vintage-berry);
  padding: 0.65rem 0.85rem;
  border-radius: 4px;
}

.quote-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vintage-berry);
  letter-spacing: 0.04em;
}

.quote-text {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 2px;
}

/* Dual-class aliases for Dynamic CMS Currency Bar */
.currency-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.currency-bar-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.currency-switch-group {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

/* Contact box compatibility */
.contact-box {
  min-inline-size: 0;
  box-sizing: border-box;
}

/* Safe Viewport Containment */
main,
section,
.container {
  box-sizing: border-box;
  max-width: 100%;
}

/* ==========================================================================
   13. Modular Page Building Blocks (New AVATO Component Library)
   ========================================================================== */

/* 13.1 Stats Counter Section */
.stats-counter-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}
.stats-counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.stat-counter-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.stat-counter-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--vintage-berry);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 0.5rem;
}
.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* 13.2 FAQ Accordion Section */
.faq-accordion-section {
  padding: 5rem 0;
}
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-accordion-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-accordion-item[open] {
  border-color: var(--vintage-berry);
  box-shadow: 0 4px 15px rgba(146, 55, 77, 0.08);
}
.faq-accordion-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}
.faq-accordion-summary::-webkit-details-marker {
  display: none;
}
.faq-chevron-icon {
  font-size: 0.82rem;
  color: var(--vintage-berry);
  transition: transform 0.22s ease;
}
.faq-accordion-item[open] .faq-chevron-icon {
  transform: rotate(180deg);
}
.faq-accordion-content {
  padding: 0 1.35rem 1.25rem 1.35rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}
.faq-footer-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-accent-tint, rgba(146, 55, 77, 0.06));
  border: 1px dashed var(--vintage-berry);
  border-radius: var(--radius-md);
}
.faq-footer-text {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.92rem;
}

/* 13.3 Testimonials Grid Section */
.testimonials-grid-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}
.testimonials-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-grid-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.testimonial-grid-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
}
.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.testimonial-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  display: flex;
  gap: 2px;
}
.testimonial-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vintage-berry);
  background: rgba(146, 55, 77, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
}
.testimonial-body {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}
.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--vintage-berry);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.testimonial-author-meta {
  display: flex;
  flex-direction: column;
}
.testimonial-name {
  font-size: 0.92rem;
  color: var(--text-primary);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* 13.4 Logo Cloud Section */
.logo-cloud-section {
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.logo-cloud-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}
.logo-cloud-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
.logo-cloud-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.logo-cloud-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}
.logo-cloud-pill:hover {
  border-color: var(--vintage-berry);
  color: var(--text-primary);
  transform: translateY(-2px);
}
.logo-cloud-pill i {
  color: var(--vintage-berry);
  font-size: 1.05rem;
}

/* 13.5 Portfolio Showcase Section */
.portfolio-showcase-section {
  padding: 5rem 0;
}
.portfolio-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}
.portfolio-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  border-color: var(--vintage-berry);
  box-shadow: var(--shadow-lg);
}
.portfolio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.portfolio-category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vintage-berry);
  background: rgba(146, 55, 77, 0.1);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}
.portfolio-metric-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: #10b981;
}
.portfolio-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 0.25rem;
}
.portfolio-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex: 1;
}
.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--vintage-berry);
  transition: gap 0.18s ease;
}
.portfolio-link:hover {
  gap: 0.65rem;
}

/* 13.6 Process Steps Section */
.process-steps-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.process-step-card {
  position: relative;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.process-step-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
}
.process-step-num {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--vintage-berry);
  opacity: 0.85;
  margin-bottom: 0.75rem;
  font-family: monospace;
}
.process-step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.process-step-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* 13.7 WhatsApp Direct Callout Section */
.whatsapp-callout-section {
  padding: 3.5rem 0;
}
.whatsapp-callout-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(146, 55, 77, 0.08));
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.whatsapp-online-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}
.online-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
  animation: pulseDot 2s infinite;
}
.whatsapp-callout-headline {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}
.whatsapp-callout-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}
.btn-whatsapp-direct {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-whatsapp-direct:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* 13.8 Modular Add-ons Section */
.pricing-addons-section {
  padding: 5rem 0;
}
.pricing-addons-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pricing-addon-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  transition: border-color 0.2s ease;
}
.pricing-addon-card:hover {
  border-color: var(--vintage-berry);
}
.pricing-addon-info {
  flex: 1;
  min-width: 240px;
}
.pricing-addon-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.pricing-addon-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}
.pricing-addon-pricing {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.price-usd-badge {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--vintage-berry);
  background: rgba(146, 55, 77, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.price-jmd-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* 13.9 Team & Leadership Grid */
.team-grid-section {
  padding: 5rem 0;
  background: var(--bg-surface);
}
.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.team-member-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.team-member-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
}
.team-member-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(146, 55, 77, 0.12);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}
.team-member-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}
.team-member-role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--vintage-berry);
}
.team-member-bio {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-top: 0.25rem;
}


/* --------------------------------------------------------------------------
   14. MSME Hero Path Selector, Interactive Lego Builder & Consultation Modal
   -------------------------------------------------------------------------- */

/* Hero Path Selector */
.hero-path-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
  width: 100%;
}

.hero-path-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-path-card:hover {
  transform: translateY(-3px);
  border-color: var(--vintage-berry);
  box-shadow: var(--shadow-md);
  background: var(--bg-surface-elevated);
}

.hero-path-card.active-path {
  border-color: var(--vintage-berry);
  background: var(--bg-accent-tint);
}

.path-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  transition: all var(--transition-fast);
}

.hero-path-card:hover .path-icon-box {
  background: var(--vintage-berry);
  color: #ffffff;
}

.path-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.path-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.path-action-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-path-card:hover .path-action-tag i {
  transform: translateX(4px);
  transition: transform var(--transition-fast);
}

/* Package Card Audience & Components */
.package-target-audience {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0.35rem 0 0.85rem 0;
  padding: 0.45rem 0.65rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--vintage-berry);
}

.package-components-preview {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.package-components-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Interactive Lego Custom Build Calculator Layout
   -------------------------------------------------------------------------- */
.lego-builder-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 991px) {
  .lego-builder-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.lego-category-accordion {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.lego-cat-group {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.lego-cat-group:focus-within,
.lego-cat-group:hover {
  border-color: var(--grape-soda);
}

.lego-cat-header {
  width: 100%;
  padding: 1.1rem 1.35rem;
  background: var(--bg-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  user-select: none;
  transition: background var(--transition-fast);
}

.lego-cat-header:hover {
  background: var(--bg-subtle);
}

.lego-cat-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lego-cat-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.lego-cat-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.lego-cat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.lego-cat-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.lego-cat-chevron {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}

.lego-cat-group.open .lego-cat-chevron {
  transform: rotate(180deg);
}

.lego-cat-body {
  padding: 1.15rem 1.35rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lego-cat-group:not(.open) .lego-cat-body {
  display: none;
}

/* Individual A La Carte Service Card in Lego Builder */
.lego-service-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.lego-service-item:hover {
  border-color: var(--grape-soda);
}

.lego-service-item.selected {
  border-color: var(--vintage-berry);
  background: var(--bg-accent-tint);
}

.lego-item-left {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.lego-item-check {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--vintage-berry);
  cursor: pointer;
  flex-shrink: 0;
}

.lego-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.lego-item-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.35rem;
}

.lego-item-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.lego-badge-infra {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.lego-badge-hours {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.lego-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.lego-item-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--vintage-berry);
  white-space: nowrap;
}

.lego-item-dual {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Lego Sticky Live Estimate Tray */
.lego-tray-sticky {
  position: sticky;
  top: 92px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.65rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: calc(100vh - 120px);
  max-height: calc(100dvh - 120px);
  overflow-y: auto;
}

.lego-tray-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
}

.lego-tray-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lego-tray-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: 180px;
  overflow-y: auto;
  padding-right: 4px;
}

.lego-tray-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.65rem;
  background: var(--bg-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  gap: 0.5rem;
}

.tray-item-name {
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tray-item-cost {
  font-weight: 700;
  color: var(--vintage-berry);
  white-space: nowrap;
}

.btn-remove-tray-item {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0 0.25rem;
}

.btn-remove-tray-item:hover {
  color: #ef4444;
}

.lego-metrics-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
}

.lego-metric-box {
  display: flex;
  flex-direction: column;
}

.lego-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lego-metric-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-top: 2px;
}

.lego-total-banner {
  background: linear-gradient(135deg, var(--bg-subtle) 0%, var(--bg-accent-tint) 100%);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.lego-total-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.lego-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--vintage-berry);
  line-height: 1;
}

.lego-tray-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Consultation Safety Net Modal */
.consultation-dialog {
  max-width: 680px;
}

.consultation-benefit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--vintage-berry);
  background: var(--bg-accent-tint);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.discovery-callout-banner {
  background: linear-gradient(135deg, rgba(146, 55, 77, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%);
  border: 1px dashed var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
}


/* ==========================================================================
   14. Dynamic CMS Block Styles & UI Consistency Enhancements
   ========================================================================== */

/* --------------------------------------------------------------------------
   14.1 Custom Builder - Sticky Live Estimate Tray Footer & Form
   -------------------------------------------------------------------------- */
.lego-tray-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.lego-tray-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.lego-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  gap: 0.5rem;
}

.lego-metric-row .lego-metric-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lego-metric-row .lego-metric-val {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
}

.lego-metric-row.total-row {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border-medium);
  align-items: baseline;
}

.lego-metric-row.total-row .lego-metric-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.lego-tray-total-price {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--vintage-berry);
  line-height: 1.1;
}

.lego-tray-dual-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.lego-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.65rem;
}

.lego-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lego-input:focus {
  outline: none;
  border-color: var(--vintage-berry);
  box-shadow: 0 0 0 3px rgba(146, 55, 77, 0.15);
}

.lego-input::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.lego-textarea {
  resize: vertical;
  min-height: 64px;
  max-height: 140px;
}

.lego-btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  color: var(--text-on-accent);
  background: var(--gradient-berry-dusk);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), opacity var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: var(--shadow-md);
  margin-top: 0.25rem;
}

.lego-btn-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 0.95;
}

.lego-btn-submit:not(:disabled):active {
  transform: translateY(0);
}

.lego-btn-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lego-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  line-height: 1.35;
}

.lego-guarantee-note i {
  color: var(--pacific-blue);
  flex-shrink: 0;
}

/* Responsive Sticky Tray Unsticking */
@media (max-width: 991px) {
  .lego-tray-sticky {
    position: static;
    max-height: none;
    margin-top: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   14.2 Consultation Safety Net Callout Banner
   -------------------------------------------------------------------------- */
.consultation-safety-banner {
  background: linear-gradient(135deg, rgba(146, 55, 77, 0.08) 0%, rgba(85, 156, 173, 0.1) 50%, rgba(74, 88, 153, 0.08) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.consultation-safety-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(85, 156, 173, 0.15), transparent 70%);
  pointer-events: none;
}

.consultation-banner-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.consultation-badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.25rem;
}

.consultation-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  border: 1px solid rgba(146, 55, 77, 0.2);
}

.consultation-banner-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.25;
}

.consultation-banner-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

.consultation-banner-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .consultation-safety-banner {
    flex-direction: column;
    text-align: center;
    align-items: stretch;
    gap: 1.5rem;
  }
  .consultation-banner-content {
    align-items: center;
    text-align: center;
  }
  .consultation-badge-row {
    justify-content: center;
  }
  .consultation-banner-cta {
    width: 100%;
  }
  .consultation-banner-cta button {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   14.3 Gutenberg Section Wrappers & Content Blocks
   -------------------------------------------------------------------------- */
.gutenberg-section {
  position: relative;
  width: 100%;
}

.gutenberg-block {
  width: 100%;
}

/* Heading block */
.block-heading {
  margin: 0;
}

.block-heading .gb-title {
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
}

/* Text alignment helpers */
.align-left {
  text-align: left;
}

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

.align-right {
  text-align: right;
}

/* Paragraph block */
.block-paragraph .gb-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 780px;
}

.block-paragraph.align-center .gb-text {
  margin-inline: auto;
  text-align: center;
}

.block-paragraph.align-right .gb-text {
  margin-left: auto;
  text-align: right;
}

/* CTA Block */
.block-cta {
  width: 100%;
}

.gb-cta-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.gb-cta-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.5rem;
}

.gb-cta-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.block-cta.cta-accent .gb-cta-card {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-accent-tint) 100%);
}

.block-cta.cta-whatsapp .gb-cta-card {
  border-color: rgba(37, 211, 102, 0.35);
  background: linear-gradient(135deg, var(--bg-surface) 0%, rgba(37, 211, 102, 0.06) 100%);
}

.block-cta.cta-outline .gb-cta-card {
  background: transparent;
  border: 2px dashed var(--border-medium);
  box-shadow: none;
}

/* Cards Block */
.block-cards {
  width: 100%;
}

.gb-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gb-section-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.gb-section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}

.gb-cards-grid {
  display: grid;
  gap: 1.5rem;
}

.gb-cards-grid.cols-1 {
  grid-template-columns: 1fr;
}

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

.gb-cards-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gb-cards-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .gb-cards-grid.cols-2,
  .gb-cards-grid.cols-3,
  .gb-cards-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

.gb-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.gb-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--grape-soda);
  box-shadow: var(--shadow-md);
}

.gb-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--bg-accent-tint);
  color: var(--vintage-berry);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.gb-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.gb-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* Quote Block */
.block-quote {
  width: 100%;
}

.gb-quote-card {
  background: var(--bg-surface);
  border-left: 4px solid var(--vintage-berry);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 780px;
  margin-inline: auto;
}

.gb-quote-mark {
  font-size: 1.5rem;
  color: var(--vintage-berry);
  opacity: 0.6;
}

.gb-quote-text {
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--text-primary);
  margin: 0;
  font-family: inherit;
}

.gb-quote-meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.gb-quote-author {
  font-weight: 700;
  color: var(--text-primary);
}

.gb-quote-role {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Notice Block */
.block-notice {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  max-width: 820px;
  margin-inline: auto;
}

.gb-notice-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.gb-notice-body {
  flex: 1;
  min-width: 0;
}

.gb-notice-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gb-notice-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.block-notice.notice-info,
.block-notice.notice-highlight {
  background: rgba(85, 156, 173, 0.08);
  border-color: rgba(85, 156, 173, 0.35);
}
.block-notice.notice-info .gb-notice-title,
.block-notice.notice-highlight .gb-notice-title,
.block-notice.notice-info .gb-notice-icon,
.block-notice.notice-highlight .gb-notice-icon {
  color: var(--pacific-blue);
}

.block-notice.notice-warning {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.4);
}
.block-notice.notice-warning .gb-notice-title,
.block-notice.notice-warning .gb-notice-icon {
  color: #d97706;
}

.block-notice.notice-success {
  background: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.35);
}
.block-notice.notice-success .gb-notice-title,
.block-notice.notice-success .gb-notice-icon {
  color: #16a34a;
}

.block-notice.notice-tip {
  background: var(--bg-accent-tint);
  border-color: var(--border-accent);
}
.block-notice.notice-tip .gb-notice-title,
.block-notice.notice-tip .gb-notice-icon {
  color: var(--vintage-berry);
}

/* Media Block */
.block-media {
  width: 100%;
}

.gb-media-figure {
  margin: 0;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.gb-media-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.gb-media-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  text-align: center;
}

/* Divider Block */
.block-divider {
  padding-block: 1rem;
}

.block-divider hr {
  border: none;
  margin: 0;
  width: 100%;
}

.block-divider.divider-line hr,
.block-divider.divider-solid hr {
  border-top: 1px solid var(--border-subtle);
}

.block-divider.divider-dashed hr {
  border-top: 2px dashed var(--border-medium);
}

.block-divider.divider-dots hr {
  border-top: 3px dotted var(--border-medium);
  width: 120px;
  margin-inline: auto;
}

/* HTML Block */
.block-html {
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   14.4 Dynamic Section Headers
   -------------------------------------------------------------------------- */
.stats-counter-header,
.faq-header,
.testimonials-header,
.logo-cloud-header,
.portfolio-header,
.process-header,
.pricing-addons-header,
.team-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-counter-header .section-title,
.faq-header .section-title,
.testimonials-header .section-title,
.logo-cloud-header .section-title,
.portfolio-header .section-title,
.process-header .section-title,
.pricing-addons-header .section-title,
.team-header .section-title {
  margin-bottom: 0.5rem;
}

.stats-counter-header .section-subtitle,
.faq-header .section-subtitle,
.testimonials-header .section-subtitle,
.logo-cloud-header .section-subtitle,
.portfolio-header .section-subtitle,
.process-header .section-subtitle,
.pricing-addons-header .section-subtitle,
.team-header .section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 620px;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   14.5 Micro-Component Refinements & Theme Consistency
   -------------------------------------------------------------------------- */
/* FAQ question typography */
.faq-question-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  text-align: left;
  padding-right: 1rem;
}

/* WhatsApp Callout Card responsiveness & action */
.whatsapp-callout-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.whatsapp-callout-action {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .whatsapp-callout-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
  .whatsapp-callout-content {
    align-items: center;
  }
  .whatsapp-callout-action {
    width: 100%;
    justify-content: center;
  }
  .btn-whatsapp-direct {
    width: 100%;
    justify-content: center;
  }
}

/* Comparison Table Cells */
.comp-cell {
  display: flex;
  align-items: flex-start;
  min-width: 0;
}

.comp-feature-title {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
}

/* Portfolio link wrapper */
.portfolio-link-wrap {
  margin-top: 1rem;
  display: flex;
  align-items: center;
}

/* Hero preview device header & stat grid */
.app-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
}

.preview-device-header.app-preview-header {
  justify-content: space-between;
}

.metric-big {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-top: 0.35rem;
}

.preview-stats-row.stat-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Hero split modifier */
.hero-grid.hero-split {
  align-items: center;
}

.packages-section {
  position: relative;
}

/* Dual aliases for Hero & App Preview components */
.hero-mockup-section,
.hero-browser-mockup {
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero-text-col.hero-content,
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-headline {
  letter-spacing: -0.02em;
}

.hero-sub {
  color: var(--text-secondary);
}

.hero-spec-col.hero-visual,
.hero-visual {
  display: flex;
  justify-content: center;
}

.app-preview-card {
  border-radius: var(--radius-lg);
}

.app-preview-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.app-preview-footer {
  padding: 0.85rem 1.25rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-status {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.app-meta {
  flex: 1;
}

.app-icon-mini {
  width: 42px;
  height: 42px;
}

.metric-showcase {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
}

.metric-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--vintage-berry);
}

.speed-pill {
  font-size: 0.75rem;
  font-weight: 700;
}

.consult-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.consult-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}


/* ==========================================================================
   15. Pricing Typography, JMD Layout Polish, & Responsive Card Controls
   ========================================================================== */

/* Prevent currency and price overflow when displaying large JMD figures */
.package-amount {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--vintage-berry);
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.service-price {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--vintage-berry);
  line-height: 1.2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.dual-subprice {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
  margin-top: 0.25rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.lego-item-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--vintage-berry);
  white-space: normal;
  word-break: break-word;
  text-align: right;
}

.lego-item-dual {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: normal;
  word-break: break-word;
  text-align: right;
  margin-top: 2px;
}

.lego-tray-total-price {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  color: var(--vintage-berry);
  line-height: 1.1;
  word-break: break-word;
}

.lego-tray-dual-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
  word-break: break-word;
}

/* More breathing room and structured multi-row layout for cards */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 2.25rem 2rem;
  align-items: stretch;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 2.25rem 2rem;
  align-items: stretch;
}

.package-card,
.service-card {
  height: 100%;
}

.package-header,
.service-header {
  min-width: 0;
}

.package-title,
.service-title {
  word-break: break-word;
}

/* Pagination Controls for Services Catalog */
.catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.catalog-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.catalog-page-btn:hover:not(:disabled) {
  border-color: var(--vintage-berry);
  color: var(--vintage-berry);
  background: var(--bg-accent-tint);
}

.catalog-page-btn.active {
  background: var(--vintage-berry);
  border-color: var(--vintage-berry);
  color: #ffffff;
}

.catalog-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.catalog-page-info {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-inline: 0.5rem;
}

/* Mobile Responsiveness & Touch Carousel/Stacking */
@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .catalog-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.75rem;
    margin-bottom: 1.75rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .catalog-filters .filter-pill {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .lego-service-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .lego-item-right {
    width: 100%;
    align-items: flex-start;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border-subtle);
  }

  .lego-item-price,
  .lego-item-dual {
    text-align: left;
  }
}
