/* ═══════════════════════════════════════════════════════
   GoDigital — CEQUENS-inspired Design System
   Nav: dark charcoal · Hero: cobalt blue · Sections: light gray
   Cards: white + shadow · Accent: red
   ═══════════════════════════════════════════════════════ */

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Tokens ────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --nav-bg:      #1e1e28;
  --hero-bg:     #ffffff;
  --bg:          #f5f5f7;
  --bg-alt:      #ffffff;
  --card:        #ffffff;

  /* Text */
  --text:        #111111;
  --text-2:      #444444;
  --muted:       #666666;
  --white:       #ffffff;
  --black:       #111111;

  /* Accent */
  --red:         #e53935;
  --red-h:       #c62828;

  /* Borders & shadow */
  --border:      #e8e8ec;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow-md:   0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:   0 8px 36px rgba(0,0,0,.13);

  /* Radii */
  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-pill: 999px;

  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --duration:    .2s;
}

/* ── Base ──────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #cccccc; border-radius: 2px; }

/* ══════════════════════════════════════════════════════
   NAV — dark charcoal bar (CEQUENS style)
══════════════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 80px;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  transition: box-shadow var(--duration) var(--ease);
}

nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }

.nav-logo { display: flex; align-items: center; }
/* White logo on dark nav */
.nav-logo img { height: 58px; width: auto; filter: brightness(0) invert(1); }

.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover { color: var(--white); }

/* Secondary "Login"-style button */
.nav-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: .45rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,.4);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.nav-cta-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* Primary red CTA */
.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: .5rem 1.25rem;
  background: var(--red);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white) !important;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.nav-cta:hover { background: var(--red-h); transform: translateY(-1px); }

.nav-right {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 22px; height: 1.5px; background: var(--white); border-radius: 2px; }

/* ══════════════════════════════════════════════════════
   HERO — cobalt blue, left card + right text (CEQUENS)
══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 5% 80px;
  background: var(--hero-bg);
  overflow: hidden;
  gap: 4rem;
}

/* subtle blue gradient overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 30% 50%, rgba(255,255,255,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* hide the old orbs */
.orb { display: none; }

/* ── Hero left: white card (like CEQUENS product mockup) ── */
.hero-visual-card {
  position: relative;
  z-index: 2;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 380px;
}

.hero-visual-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.hero-visual-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-visual-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.hero-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.hero-stat-box {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.hero-stat-box .val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-box .lbl {
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: .35rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .9rem;
  background: rgba(229,57,53,.12);
  border: 1px solid rgba(229,57,53,.25);
  border-radius: var(--radius-pill);
  font-size: .75rem;
  font-weight: 700;
  color: var(--red);
}

.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: dotPulse 2s ease-in-out infinite;
}

/* ── Hero right: text content ── */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-breadcrumb span { color: #b8b8c0; }

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.hero h1 .gradient-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--black);
  background-clip: unset;
  color: var(--black);
}

.hero p {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: .875rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  background: var(--red);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn-primary:hover { background: var(--red-h); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: .8rem 2rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--black);
  cursor: pointer;
  background: transparent;
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}

.btn-ghost:hover { border-color: var(--black); background: rgba(0,0,0,.04); }

/* hero-badge (hidden, replaced by breadcrumb) */
.hero-badge { display: none; }

/* Stats row — hidden (moved into card) */
.hero-stats { display: none; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.scroll-indicator::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, #b8b8c0, transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

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

@keyframes dotPulse {
  0%,100%{ opacity:1; box-shadow: 0 0 0 0 rgba(229,57,53,.4); }
  50%    { opacity:.7; box-shadow: 0 0 0 5px rgba(229,57,53,0); }
}

/* ══════════════════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════════════════ */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 7rem 5%;
}

/* CEQUENS style: centered section heading */
.section-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

.section-label::before { display: none; }

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--black);
  text-align: center;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  max-width: 620px;
  line-height: 1.8;
  text-align: center;
  margin: 0 auto;
}

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

/* ══════════════════════════════════════════════════════
   ABOUT — light gray bg, two-column
══════════════════════════════════════════════════════ */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.375rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.25rem;
}

.highlight-card {
  padding: 1.375rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  cursor: default;
}

.highlight-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.highlight-icon { margin-bottom: .7rem; line-height: 0; }
.highlight-icon svg { width: 24px; height: 24px; }
.hi-blue, .hi-violet, .hi-amber, .hi-green { color: var(--red); }

.highlight-card h4 {
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: .25rem;
  color: var(--black);
}

.highlight-card p { font-size: .8rem; color: var(--muted); line-height: 1.6; }

.about-visual { position: relative; }

.about-visual-card {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-visual-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.about-visual-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--black);
  letter-spacing: -.5px;
}

.about-visual-card p {
  color: var(--muted);
  font-size: .9375rem;
  line-height: 1.82;
}

.about-location {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .875rem;
}

.about-location svg { color: var(--red); }

/* ══════════════════════════════════════════════════════
   SERVICES — white bg, CEQUENS 3-col card style
══════════════════════════════════════════════════════ */
#services { background: var(--bg-alt); border-top: 1px solid var(--border); }

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

.service-card {
  position: relative;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--radius-lg);
  cursor: default;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.service-card::before, .service-card::after { display: none; }

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* First card spans full width */
.service-card:first-child { grid-column: 1 / -1; }

.service-icon-wrap {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(229,57,53,.08);
}

.service-icon-wrap.blue,
.service-icon-wrap.violet,
.service-icon-wrap.cyan,
.service-icon-wrap.green {
  background: rgba(229,57,53,.08);
  color: var(--red);
  box-shadow: none;
}

.service-icon-wrap svg { width: 24px; height: 24px; stroke: var(--red); }

/* icon animations */
@keyframes targetPulse { 0%,100%{opacity:1} 50%{opacity:.5} }
.icon-target .ring-outer { animation: targetPulse 2.4s ease-in-out infinite; }
.icon-target .ring-mid   { animation: targetPulse 2.4s ease-in-out infinite .4s; }

@keyframes barRise { 0%{transform:scaleY(0)} 100%{transform:scaleY(1)} }
.icon-chart .bar { transform-origin: bottom; animation: barRise .7s ease both; }
.icon-chart .bar-1 { animation-delay: 0s; }
.icon-chart .bar-2 { animation-delay: .12s; }
.icon-chart .bar-3 { animation-delay: .24s; }

@keyframes flash { 0%,88%,100%{opacity:1} 94%{opacity:.4} }
.icon-lightning { animation: flash 3s ease-in-out infinite; }

@keyframes peoplePulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.06)} }
.icon-people { animation: peoplePulse 2.8s ease-in-out infinite; }

@keyframes waveFade { 0%,100%{opacity:.2} 50%{opacity:1} }
.icon-signal .w1 { animation: waveFade 1.8s ease-in-out infinite 0s; }
.icon-signal .w2 { animation: waveFade 1.8s ease-in-out infinite .3s; }
.icon-signal .w3 { animation: waveFade 1.8s ease-in-out infinite .6s; }

@keyframes bracketLeft  { 0%,100%{transform:translateX(0)} 50%{transform:translateX(-3px)} }
@keyframes bracketRight { 0%,100%{transform:translateX(0)} 50%{transform:translateX(3px)} }
.icon-code .bracket-l { animation: bracketLeft  2s ease-in-out infinite; }
.icon-code .bracket-r { animation: bracketRight 2s ease-in-out infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
.icon-ball  { animation: spin 6s linear infinite; transform-origin: 12px 12px; }

@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:.25} }
.icon-phone .dot { animation: dotBlink 1.4s ease-in-out infinite; }
.mockup-ball { animation: spin 8s linear infinite; transform-origin: 50% 50%; }

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: .625rem;
  color: var(--black);
  letter-spacing: -.2px;
}

.service-card p {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.78;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1.25rem;
}

.tag {
  padding: .25rem .75rem;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  background: var(--bg);
  color: var(--muted);
}

.tag.blue, .tag.violet, .tag.cyan, .tag.green { background: var(--bg); color: var(--muted); }

/* ── Services v2 — image-led cards (Whatwedo reference) ── */
.services-grid-v2 {
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.services-grid-v2 .service-card-v2:first-child { grid-column: auto; }

.service-card-v2 {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 3 / 4;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.service-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Light variant: title at top, image at bottom */
.service-card-light {
  display: flex;
  flex-direction: column;
}
.service-card-v2-text {
  padding: 1.4rem 1.3rem 1rem;
}
.service-card-v2-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 .35rem;
  letter-spacing: -.2px;
  line-height: 1.25;
}
.service-card-v2-text p {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
.service-card-v2-image {
  margin-top: auto;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.service-card-v2-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.service-card-v2:hover .service-card-v2-image img {
  transform: scale(1.04);
}

/* Dark variant: image fills card, title overlaid at bottom */
.service-card-dark { color: #fff; }
.service-card-v2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform .6s var(--ease);
}
.service-card-dark:hover .service-card-v2-bg { transform: scale(1.04); }
.service-card-v2-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.3rem 1.3rem;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 80%);
}
.service-card-v2-overlay h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 .35rem;
  letter-spacing: -.2px;
  line-height: 1.25;
}
.service-card-v2-overlay p {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 1024px) {
  .services-grid-v2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid-v2 { grid-template-columns: 1fr; }
  .service-card-v2 { aspect-ratio: 4 / 3; }
}

/* ══════════════════════════════════════════════════════
   PRODUCT (LIVE 90+) — white card, clean split
══════════════════════════════════════════════════════ */
#product { background: var(--bg); }

.product-wrapper {
  margin-top: 4rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-md);
}

.product-wrapper::before { display: none; }

.product-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-text { padding: 4rem; }

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem 1rem;
  background: rgba(229,57,53,.1);
  border: 1px solid rgba(229,57,53,.2);
  border-radius: var(--radius-pill);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.product-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: dotPulse 2s ease-in-out infinite;
}

.product-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.product-text h2 span { color: var(--black); }

.product-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.product-features { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.25rem; }

.feature-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9375rem;
  color: var(--text-2);
}

.feature-check {
  width: 18px; height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: rgba(229,57,53,.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg { width: 10px; height: 10px; color: var(--red); }

.product-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 2rem;
  background: var(--red);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .9375rem;
  color: var(--white);
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.product-link:hover { background: var(--red-h); transform: translateY(-1px); }
.product-link svg { transition: transform var(--duration) var(--ease); }
.product-link:hover svg { transform: translateX(4px); }

.product-visual {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
  position: relative;
}

.product-visual::before { display: none; }

.mockup-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 280px;
  box-shadow: var(--shadow-md);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.mockup-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--nav-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mockup-logo img { width: 100%; height: 100%; object-fit: contain; }

.mockup-title { font-size: .9rem; font-weight: 700; color: var(--black); }
.mockup-sub   { font-size: .75rem; color: var(--muted); }

.mockup-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .25rem .65rem;
  background: rgba(229,57,53,.1);
  border: 1px solid rgba(229,57,53,.2);
  border-radius: var(--radius-pill);
  font-size: .7rem;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 1rem;
}

.mockup-pill::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: dotPulse 2s infinite;
}

.mockup-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .8rem;
}

.mockup-row:last-child { border-bottom: none; }
.mockup-row .team   { color: var(--black); font-weight: 600; }
.mockup-row .score  { color: var(--red); font-weight: 800; font-size: .875rem; }
.mockup-row .league { color: var(--muted); font-size: .7rem; }

/* ══════════════════════════════════════════════════════
   EXITS — FC Masr · compact, text left + logo right
══════════════════════════════════════════════════════ */
#exits { background: var(--bg-alt); }
.exit-inner-pad { padding-top: 5rem; padding-bottom: 5rem; }

.exit-card {
  margin-top: 2.5rem;
  display: grid !important;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem 2.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.exit-text { padding: 0; }

.exit-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .85rem;
  background: rgba(229,57,53,.1);
  border: 1px solid rgba(229,57,53,.2);
  border-radius: var(--radius-pill);
  font-size: .66rem;
  font-weight: 800;
  color: var(--red);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.exit-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: dotPulse 2s ease-in-out infinite;
}

.exit-title {
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.6px;
  line-height: 1.18;
  margin-bottom: .85rem;
  color: var(--black);
}
.exit-title sup {
  font-size: .55em;
  font-weight: 700;
  color: var(--red);
  vertical-align: super;
  margin-left: 1px;
}

.exit-text p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: .7rem;
}
.exit-text p:last-child { margin-bottom: 0; }
.exit-text p strong { color: var(--black); font-weight: 700; }

/* Logo + photo carousel on the right */
.exit-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .5rem;
  min-height: 300px;
}

.exit-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(229,57,53,.16) 0%, transparent 65%);
  pointer-events: none;
  animation: exitGlow 4.5s ease-in-out infinite;
}
@keyframes exitGlow {
  0%,100% { opacity: .65; transform: scale(1); }
  50%     { opacity: 1;   transform: scale(1.06); }
}

.exit-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.exit-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  pointer-events: none;
}
.exit-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.exit-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(229,57,53,.22));
}

.exit-dots {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 6px;
  justify-content: center;
}
.exit-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  transition: background var(--duration) var(--ease), width var(--duration) var(--ease);
}
.exit-dots span.active {
  background: var(--red);
  width: 18px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .exit-card {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 1.75rem;
  }
  .exit-visual { min-height: 260px; }
  .exit-carousel { max-width: 260px; }
}

/* ══════════════════════════════════════════════════════
   PARTNERS — white ticker on gray bg
══════════════════════════════════════════════════════ */
#partners {
  background: var(--bg);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partners-head {
  text-align: center;
  padding: 0 5%;
  margin-bottom: 3.5rem;
}

.partners-head .section-label { justify-content: center; }
.partners-head .section-title { color: var(--black); }

.marquee-outer {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-card {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem 2rem;
  height: 80px;
  min-width: 150px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
  cursor: default;
}

.logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.logo-card img {
  height: 46px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  display: block;
}

/* ══════════════════════════════════════════════════════
   CONTACT — gray bg, white form card
══════════════════════════════════════════════════════ */
#contact { background: var(--bg); }

.contact-wrapper {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--black);
  letter-spacing: -.3px;
}

.contact-info p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-items { display: flex; flex-direction: column; gap: .875rem; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-item-icon {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: var(--radius-sm);
  background: rgba(229,57,53,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}

.contact-item-text .label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.contact-item-text .value {
  font-size: .9375rem;
  font-weight: 600;
  margin-top: .125rem;
  color: var(--black);
}

.contact-form {
  background: var(--card);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.contact-form::before { display: none; }

.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: .4rem; }

.form-group label {
  font-size: .76rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: .78rem 1rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--black);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9375rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
  width: 100%;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,57,53,.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--card); color: var(--black); }

.form-full { margin-bottom: 1rem; }

.btn-submit {
  width: 100%;
  padding: .9rem;
  background: var(--red);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
  margin-top: .5rem;
}

.btn-submit:hover { background: var(--red-h); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════
   FOOTER — dark charcoal (matching nav)
══════════════════════════════════════════════════════ */
footer {
  background: var(--nav-bg);
  border-top: none;
  padding: 4rem 5% 2.25rem;
  position: relative;
  z-index: 1;
}

.footer-inner { max-width: 1160px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .nav-logo { display: inline-block; margin-bottom: 1.25rem; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); }

.footer-brand p {
  color: rgba(255,255,255,.45);
  font-size: .9rem;
  line-height: 1.78;
  max-width: 280px;
}

.footer-brand .footer-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-col h4 {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.35);
  margin-bottom: 1.125rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: .625rem; }
.footer-col ul a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: color var(--duration) var(--ease);
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--duration) var(--ease); }
.footer-bottom a:hover { color: var(--white); }

/* ══════════════════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 100px 5% 60px; gap: 2.5rem; }
  .hero-visual-card { padding: 1.25rem 1.1rem; min-height: 0; }
  .sms-card { max-width: 420px; margin: 0 auto; width: 100%; }
  .sms-name { font-size: .95rem; }
  .sms-bubble { font-size: .78rem; padding: .55rem .75rem; }
  .sms-bubble-meta { font-size: .6rem; }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .product-inner { grid-template-columns: 1fr; }
  .product-visual { min-height: 280px; border-top: 1px solid var(--border); }
  .footer-top    { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-cta-secondary { display: none; }
  .hamburger { display: flex; }

  .services-grid    { grid-template-columns: 1fr; }
  .service-card:first-child { grid-column: auto; }
  .contact-wrapper  { grid-template-columns: 1fr; gap: 2rem; }
  .form-row         { grid-template-columns: 1fr; }
  .footer-top       { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 5%;
  z-index: 99;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color var(--duration) var(--ease);
}

.mobile-menu a:hover { color: var(--white); }

.mobile-menu .nav-cta {
  display: block !important;
  text-align: center;
  border-bottom: none;
  padding: .75rem;
  margin-top: .5rem;
  border-radius: var(--radius-sm);
}

/* ── Focus ─────────────────────────────────────────────── */
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Reduced motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* light sections — CEQUENS palette already applied via base styles */

/* ══════════════════════════════════════════════════════
   CELEBRITIES — marquee of head-shots with names
══════════════════════════════════════════════════════ */
#celebrities {
  background: var(--bg-alt);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.celebs-head {
  text-align: center;
  padding: 0 5%;
  margin-bottom: 3.5rem;
}
.celebs-head .section-title { color: var(--black); }

.celeb-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.celeb-track:hover { animation-play-state: paused; }

.celeb-card {
  flex-shrink: 0;
  width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}

.celeb-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.celeb-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  transition: transform .6s var(--ease);
}
.celeb-card:hover .celeb-photo img { transform: scale(1.05); }

.celeb-card figcaption {
  font-size: .9rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  letter-spacing: -.1px;
}

/* ══════════════════════════════════════════════════════
   LIVE 90+ MARQUEE — phone screens scrolling vertically
══════════════════════════════════════════════════════ */
.product-visual.live-visual {
  padding: 1.5rem 1rem;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.live-marquee {
  position: relative;
  width: 100%;
  /* Tall enough to reveal more than one phone screen of the scroll at once */
  height: 720px;
  overflow: hidden;
  /* fade mask removed so more of the scroll is visible at the same time */
}

.live-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  animation: liveScrollY 32s linear infinite;
}
.live-track:hover { animation-play-state: paused; }

@keyframes liveScrollY {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.live-slide {
  flex-shrink: 0;
  width: 380px;
  max-width: 92%;
  display: flex;
  justify-content: center;
}
.live-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

@media (max-width: 900px) {
  .live-marquee { height: 560px; }
  .live-slide { width: 300px; }
}

/* ══════════════════════════════════════════════════════
   HERO SMS ANIMATION CARD
══════════════════════════════════════════════════════ */
.sms-card {
  background: #ffffff !important;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.04);
  padding: 1.4rem 1.5rem;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

/* Icon cluster (WhatsApp + SMS tower) — inline, top-left of card header, both 40px */
.sms-icons {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
}

.sms-wa {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sms-wa img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* SMS speech-bubble icon — matches WhatsApp icon size */
.sms-bubble-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(229,57,53,.10);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sms-bubble-icon svg { width: 22px; height: 22px; display: block; }

/* SMS header strip */
.sms-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: .9rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.sms-avatar {
  width: 40px; height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(229,57,53,.10);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}
.sms-avatar svg { width: 22px; height: 22px; }

.sms-info { flex: 1; min-width: 0; }
.sms-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--black);
  letter-spacing: -.2px;
}
.sms-status {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: .2rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.sms-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: smsDot 1.6s ease-in-out infinite;
}
@keyframes smsDot {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); }
  50%     { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.sms-count { text-align: right; }
.sms-count-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -.5px;
}
.sms-count-lbl {
  font-size: .62rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .14em;
  margin-top: .2rem;
}

/* SMS bubbles */
.sms-bubbles {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 0;
}

.sms-bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .82rem;
  color: var(--black);
  line-height: 1.45;
  opacity: 0;
  transform: translateX(-12px);
  animation: smsBubbleIn .6s var(--ease) forwards;
}
.sms-bubble-meta {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.sms-bubble-1 { animation-delay: .4s; }
.sms-bubble-2 { animation-delay: 1.2s; }
.sms-bubble-3 { animation-delay: 2.0s; }
.sms-bubble-4 { animation-delay: 2.8s; }
.sms-bubble-5 { animation-delay: 3.6s; }
.sms-bubble-6 { animation-delay: 4.4s; }

@keyframes smsBubbleIn {
  0%   { opacity: 0; transform: translateX(-12px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Footer of card: typing indicator + delivered badge */
.sms-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .85rem;
  border-top: 1px solid var(--border);
}

.sms-typing { display: flex; gap: 5px; align-items: center; }
.sms-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #c0c0c8;
  animation: smsTyping 1.4s ease-in-out infinite;
}
.sms-typing span:nth-child(2) { animation-delay: .2s; }
.sms-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes smsTyping {
  0%,80%,100% { transform: scale(.7); opacity: .4; }
  40%         { transform: scale(1); opacity: 1; }
}

.sms-delivered {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .8rem;
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  color: #22c55e;
  letter-spacing: .04em;
}
.sms-delivered svg { width: 12px; height: 12px; }

/* "Sign up here" link replacing the Delivered badge */
.sms-signup {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .9rem;
  background: var(--red);
  border: 1px solid var(--red);
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 800;
  color: #fff !important;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.sms-signup:hover { background: var(--red-h); transform: translateY(-1px); }
.sms-signup svg { width: 12px; height: 12px; transition: transform var(--duration) var(--ease); }
.sms-signup:hover svg { transform: translateX(3px); }

/* ── Stage: swap between Messages view ↔ Photos view ── */
.sms-stage {
  position: relative;
  display: grid;
  margin-bottom: 1rem;
  min-height: 0;
}
.sms-view {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  pointer-events: none;
  visibility: hidden;
}
.sms-view.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}

/* Photos view */
.sms-view-photos { display: flex; flex-direction: column; gap: .75rem; }

.sms-photo-caption {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
}

.sms-photo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sms-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.sms-photo.active {
  opacity: 1;
  transform: scale(1);
}
.sms-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sms-photo-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: .25rem;
}
.sms-photo-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(0,0,0,.15);
  transition: background var(--duration) var(--ease), width var(--duration) var(--ease);
}
.sms-photo-dots span.active { background: var(--red); width: 16px; border-radius: 4px; }

/* View indicator dots (Messages ↔ Photos) */
.sms-view-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
}
.sms-view-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  cursor: pointer;
  transition: background var(--duration) var(--ease), width var(--duration) var(--ease);
}
.sms-view-dots span.active { background: var(--red); width: 22px; border-radius: 4px; }
