/* ============================================================
   MY CUENCA NERD — Design Tokens + Styles
   Art direction: Warm deep navy + amber gold accent.
   Trustworthy, approachable, professional expat tech support.
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
   ============================================================ */

/* ---- DESIGN TOKENS ---- */
:root, [data-theme="light"] {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces */
  --color-bg:              #f8f6f1;
  --color-surface:         #faf9f6;
  --color-surface-2:       #ffffff;
  --color-surface-offset:  #f0ede5;
  --color-divider:         #e2ddd5;
  --color-border:          #d5d0c7;

  /* Text */
  --color-text:            #1c1a14;
  --color-text-muted:      #6b6860;
  --color-text-faint:      #b0ada7;
  --color-text-inverse:    #faf9f6;

  /* Primary accent: deep teal */
  --color-primary:         #0f5e6e;
  --color-primary-hover:   #0a4755;
  --color-primary-active:  #063240;
  --color-primary-highlight: #c8dde2;

  /* Secondary: warm amber gold */
  --color-accent:          #b8720a;
  --color-accent-hover:    #965d07;
  --color-accent-highlight: #f0e4cc;

  /* Radii */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transition */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 80 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 80 / 0.09);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 80 / 0.14);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body:    'Satoshi', 'Helvetica Neue', sans-serif;
}

[data-theme="dark"] {
  --color-bg:              #141210;
  --color-surface:         #1a1815;
  --color-surface-2:       #1f1d1a;
  --color-surface-offset:  #16140f;
  --color-divider:         #252220;
  --color-border:          #343028;
  --color-text:            #cccac5;
  --color-text-muted:      #7a786f;
  --color-text-faint:      #4e4c47;
  --color-text-inverse:    #1a1815;
  --color-primary:         #4fa8ba;
  --color-primary-hover:   #3a8fa2;
  --color-primary-active:  #267487;
  --color-primary-highlight: #1e3c44;
  --color-accent:          #e8962d;
  --color-accent-hover:    #f0aa4e;
  --color-accent-highlight: #3d2c0e;
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #141210;
    --color-surface:         #1a1815;
    --color-surface-2:       #1f1d1a;
    --color-surface-offset:  #16140f;
    --color-divider:         #252220;
    --color-border:          #343028;
    --color-text:            #cccac5;
    --color-text-muted:      #7a786f;
    --color-text-faint:      #4e4c47;
    --color-text-inverse:    #1a1815;
    --color-primary:         #4fa8ba;
    --color-primary-hover:   #3a8fa2;
    --color-primary-active:  #267487;
    --color-primary-highlight: #1e3c44;
    --color-accent:          #e8962d;
    --color-accent-hover:    #f0aa4e;
    --color-accent-highlight: #3d2c0e;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-default);
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-interactive);
}

.site-header--scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-block: var(--space-4);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-logo:hover { color: var(--color-primary); }

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav-links a {
  display: block;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--color-primary-hover);
  color: var(--color-text-inverse);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: transparent;
  border: 1px solid var(--color-border);
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.theme-toggle:hover {
  background: var(--color-surface-offset);
  color: var(--color-text);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition-interactive), opacity var(--transition-interactive);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: var(--space-2) 0 var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: #f8f6f1;
  width: 100%;
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

[data-theme="dark"] .mobile-nav {
  background: #1a1815;
}

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

.mobile-nav a {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  color: #1c1a14;
  background: transparent;
  border-bottom: 1px solid var(--color-divider);
}

[data-theme="dark"] .mobile-nav a {
  color: #cccac5;
}

.mobile-nav a:hover { color: var(--color-primary); background: var(--color-surface-offset); }

.mobile-nav .nav-cta {
  margin-top: var(--space-2);
  justify-content: center;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-surface);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 65% 50%, oklch(0.42 0.09 215 / 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 80%, oklch(0.60 0.12 70 / 0.10) 0%, transparent 55%),
    var(--color-surface);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  align-items: center;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

.hero-text { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.05;
}

.hero-title em {
  font-style: normal;
  color: var(--color-primary);
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-10);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-md);
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
  color: var(--color-text-inverse);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text);
  font-size: var(--text-base);
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-border);
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}

.btn-secondary:hover {
  background: var(--color-surface-offset);
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.hero-phones {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.hero-phones-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.hero-phones-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.hero-phone-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-phone-country {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-weight: 500;
}

.hero-phone-number {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.hero-phone-number:hover { color: var(--color-primary-hover); }

/* Hero visual card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card-avatar svg { color: white; }

.hero-card-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}

.hero-card-subtitle {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: #dcf4e6;
  color: #1a7a44;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-left: auto;
}

[data-theme="dark"] .status-badge {
  background: #1a3d2a;
  color: #5dbf83;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.hero-stat {
  background: var(--color-surface-offset);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.03em;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

.hero-services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.hero-service-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-service-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--color-primary);
  padding-block: var(--space-6);
  color: var(--color-text-inverse);
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-8), 5vw, var(--space-20));
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.trust-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-text {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
}

.trust-subtext {
  font-size: var(--text-xs);
  opacity: 0.75;
}

/* ---- SECTIONS ---- */
.section {
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
}

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

.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: clamp(var(--space-12), 5vw, var(--space-20));
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 56ch;
  margin-inline: auto;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(var(--space-6), 3vw, var(--space-10));
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-primary-highlight);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:nth-child(2) .service-icon-wrap {
  background: var(--color-accent-highlight);
  color: var(--color-accent);
}

.service-card:nth-child(3) .service-icon-wrap {
  background: color-mix(in oklab, var(--color-primary-highlight) 50%, var(--color-accent-highlight) 50%);
  color: var(--color-primary);
}

.service-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

.service-card:nth-child(2) .service-list li::before {
  background: var(--color-accent);
}

/* ---- ABOUT / DIFFERENTIATORS ---- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 8vw, var(--space-24));
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-block {
  background: linear-gradient(135deg, var(--color-primary), oklch(from var(--color-primary) calc(l - 0.15) c calc(h + 20)));
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 5vw, var(--space-16));
  color: white;
  position: relative;
  overflow: hidden;
}

.about-main-block::after {
  content: '';
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}

.about-big-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  opacity: 0.9;
}

.about-big-label {
  font-size: var(--text-lg);
  font-weight: 600;
  opacity: 0.85;
  margin-top: var(--space-2);
}

.about-big-sub {
  font-size: var(--text-sm);
  opacity: 0.65;
  margin-top: var(--space-2);
  max-width: 28ch;
}

.about-float-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-lg);
  position: absolute;
  right: -32px;
  bottom: -28px;
  width: 220px;
}

.about-float-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.about-float-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.about-float-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-text {}

.about-text .section-eyebrow { text-align: left; display: block; }
.about-text .section-title { text-align: left; }

.about-para {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-6);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.diff-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--color-surface-offset);
}

.diff-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.diff-content {}

.diff-title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 2px;
}

.diff-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: var(--color-accent);
}

.testimonial-quote {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: white;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-from {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ---- CONTACT / CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, oklch(from var(--color-primary) calc(l - 0.12) c calc(h + 25)) 100%);
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  line-height: 1.1;
}

.cta-desc {
  font-size: var(--text-lg);
  opacity: 0.82;
  line-height: 1.65;
  margin-bottom: var(--space-12);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(var(--space-8), 6vw, var(--space-20));
  margin-bottom: var(--space-8);
}

.cta-phone {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.cta-phone-flag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.cta-phone-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity var(--transition-interactive);
}

.cta-phone-number:hover { opacity: 1; color: white; }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  background: white;
  color: var(--color-primary);
  font-size: var(--text-base);
  font-weight: 700;
  text-decoration: none;
  transition: opacity var(--transition-interactive), transform var(--transition-interactive);
}

.btn-white:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: var(--color-primary-hover);
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  padding-block: var(--space-12) var(--space-8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-10);
}

.footer-brand .site-logo {
  margin-bottom: var(--space-4);
  display: inline-flex;
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  max-width: 34ch;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.footer-phone-link {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.footer-phone-link:hover { color: var(--color-primary-hover); }

.footer-phone-country {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  display: block;
  margin-bottom: 2px;
}

.footer-nav-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-nav-list a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-nav-list a:hover { color: var(--color-text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.footer-copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-pplx a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer-pplx a:hover { color: var(--color-text-muted); }

/* ---- COPY BUTTON & WHATSAPP ---- */
.phone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-phone-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition-interactive), color var(--transition-interactive);
}

.copy-btn:hover {
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-color: var(--color-primary-highlight);
}

.copy-btn--copied {
  background: #dcf4e6;
  color: #1a7a44;
  border-color: #dcf4e6;
}

[data-theme="dark"] .copy-btn--copied {
  background: #1a3d2a;
  color: #5dbf83;
  border-color: #1a3d2a;
}

.copy-btn--light {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}

.copy-btn--light:hover {
  background: rgba(255,255,255,0.25);
  color: white;
  border-color: rgba(255,255,255,0.4);
}

.copy-btn--light.copy-btn--copied {
  background: rgba(255,255,255,0.25);
  color: white;
}

.copy-btn--sm {
  padding: 2px var(--space-2);
  font-size: 11px;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px var(--space-3);
  border-radius: var(--radius-full);
  background: #25D366;
  color: white;
  font-size: var(--text-xs);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-interactive), opacity var(--transition-interactive);
}

.whatsapp-btn:hover {
  background: #1ebe5a;
  color: white;
}

.whatsapp-btn--light {
  background: rgba(37, 211, 102, 0.25);
  color: white;
  border: 1px solid rgba(37, 211, 102, 0.5);
}

.whatsapp-btn--light:hover {
  background: rgba(37, 211, 102, 0.4);
  color: white;
}

.whatsapp-btn--sm {
  padding: 3px var(--space-2);
}

.nav-cta--whatsapp {
  background: #25D366;
}

.nav-cta--whatsapp:hover {
  background: #1ebe5a;
  color: white;
}

.cta-phone-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  justify-content: center;
}

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  /* services-grid stays 1-col at all breakpoints */

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .about-visual {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer-inner > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }

  .trust-inner {
    flex-direction: column;
    gap: var(--space-6);
    align-items: flex-start;
  }

  .hero-phones-list {
    flex-direction: column;
    gap: var(--space-4);
  }
}

/* ---- CONTACT FORM ---- */
.contact-form-wrap {
  margin-top: var(--space-10);
  width: 100%;
  max-width: 560px;
}

.contact-form-label {
  font-size: var(--text-sm);
  color: color-mix(in srgb, white 75%, transparent);
  margin-bottom: var(--space-4);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-form-field label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: color-mix(in srgb, white 85%, transparent);
}

.contact-form-field input,
.contact-form-field textarea {
  background: color-mix(in srgb, white 12%, transparent);
  border: 1px solid color-mix(in srgb, white 25%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: white;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: color-mix(in srgb, white 40%, transparent);
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
  border-color: color-mix(in srgb, white 60%, transparent);
  background: color-mix(in srgb, white 18%, transparent);
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background: white;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  align-self: flex-start;
}

.contact-form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.contact-form-success {
  font-size: var(--text-sm);
  color: color-mix(in srgb, white 90%, transparent);
  background: color-mix(in srgb, white 12%, transparent);
  border: 1px solid color-mix(in srgb, white 25%, transparent);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

@media (max-width: 640px) {
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- CONTACT MODAL ---- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-backdrop.modal-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  max-width: 480px;
  width: 90%;
  border-radius: 16px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.modal-open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: #f5f5f5;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  color: #6b6860;
  transition: background 0.15s ease, color 0.15s ease;
}

.modal-close:hover {
  background: #e8e8e8;
  color: #1c1a14;
}

.modal-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: #0f5e6e;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-field label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 6px;
}

.modal-field input,
.modal-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1.5px solid #d5d0c7;
  background: #f5f5f5;
  color: #1c1a14;
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.modal-field input::placeholder,
.modal-field textarea::placeholder {
  color: #999;
}

.modal-field input:focus,
.modal-field textarea:focus {
  outline: none;
  border-color: #0f5e6e;
  box-shadow: 0 0 0 3px rgba(15, 94, 110, 0.12);
}

.modal-field textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-submit {
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: #0f5e6e;
  color: #ffffff;
  font-size: var(--text-base);
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  margin-top: 4px;
}

.modal-submit:hover {
  background: #0a4755;
  transform: translateY(-1px);
}

.modal-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.modal-success {
  font-size: var(--text-sm);
  color: #1a7a44;
  background: #dcf4e6;
  border: 1px solid #b6e6c8;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

/* Dark mode modal overrides */
[data-theme="dark"] .modal-card {
  background: #1f1d1a;
}

[data-theme="dark"] .modal-close {
  background: #343028;
  color: #cccac5;
}

[data-theme="dark"] .modal-close:hover {
  background: #4e4c47;
  color: #ffffff;
}

[data-theme="dark"] .modal-title {
  color: #4fa8ba;
}

[data-theme="dark"] .modal-field label {
  color: #a0a0a0;
}

[data-theme="dark"] .modal-field input,
[data-theme="dark"] .modal-field textarea {
  background: #2a2825;
  border-color: #343028;
  color: #cccac5;
}

[data-theme="dark"] .modal-field input::placeholder,
[data-theme="dark"] .modal-field textarea::placeholder {
  color: #666;
}

[data-theme="dark"] .modal-field input:focus,
[data-theme="dark"] .modal-field textarea:focus {
  border-color: #4fa8ba;
  box-shadow: 0 0 0 3px rgba(79, 168, 186, 0.15);
}

[data-theme="dark"] .modal-submit {
  background: #4fa8ba;
  color: #1a1815;
}

[data-theme="dark"] .modal-submit:hover {
  background: #3a8fa2;
}

[data-theme="dark"] .modal-success {
  background: #1a3d2a;
  color: #5dbf83;
  border-color: #2a5a3a;
}

/* ============================================================
   TV + REMOTE ANIMATION — Entertainment Section
   ============================================================ */

.tv-scene {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  user-select: none;
}

/* ---- TV SET ---- */
.tv-set {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tv-body {
  background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 12px;
  padding: 10px 10px 0;
  box-shadow:
    0 0 0 2px #111,
    0 8px 28px rgba(0,0,0,0.55),
    inset 0 1px 0 rgba(255,255,255,0.07);
  position: relative;
}

.tv-bezel {
  position: relative;
  background: #0a0a0a;
  border-radius: 6px;
  overflow: hidden;
  width: 240px;
  height: 150px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.8);
}

.tv-screen {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* CRT scanlines overlay */
.tv-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(0,0,0,0.18) 2px,
    rgba(0,0,0,0.18) 4px
  );
  pointer-events: none;
  border-radius: 4px;
  z-index: 2;
}

/* Screen glare */
.tv-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.06) 0%,
    transparent 50%
  );
  pointer-events: none;
  border-radius: 4px;
  z-index: 3;
}

/* Off state overlay */
.tv-off-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  border-radius: 4px;
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 4;
  pointer-events: none;
}
.tv-off-overlay.tv-on {
  opacity: 0;
}

.tv-chin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 8px;
  background: linear-gradient(160deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 0 0 12px 12px;
  border-top: 1px solid #111;
}

.tv-brand {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #555;
  text-transform: uppercase;
}

.tv-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c0392b;
  box-shadow: 0 0 4px #c0392b;
  transition: background 0.3s, box-shadow 0.3s;
}
.tv-indicator.active {
  background: #2ecc71;
  box-shadow: 0 0 6px #2ecc71, 0 0 12px rgba(46,204,113,0.4);
}

/* TV Stand */
.tv-stand {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tv-neck {
  width: 40px;
  height: 14px;
  background: linear-gradient(to bottom, #252525, #1e1e1e);
  clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}
.tv-base {
  width: 90px;
  height: 6px;
  background: linear-gradient(to bottom, #252525, #1e1e1e);
  border-radius: 3px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.4);
}

/* ---- REMOTE CONTROL ---- */
.remote {
  flex-shrink: 0;
  margin-bottom: 20px;
}

.remote-body {
  width: 54px;
  background: linear-gradient(160deg, #303030 0%, #1c1c1c 100%);
  border-radius: 14px;
  padding: 10px 8px 14px;
  box-shadow:
    0 0 0 1px #111,
    0 6px 20px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.remote-brand {
  font-family: var(--font-display);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #555;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.remote-btn {
  background: #252525;
  border-radius: 50%;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.05);
  cursor: default;
  transition: background 0.1s, box-shadow 0.1s, transform 0.1s;
}
.remote-btn--power {
  width: 18px;
  height: 18px;
  background: #3a1a1a;
  position: relative;
}
.remote-btn--power::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  border: 1.5px solid #c0392b;
  border-radius: 50%;
  border-top-color: transparent;
}

.remote-dpad {
  display: grid;
  grid-template-columns: 14px 14px 14px;
  grid-template-rows: 14px 14px 14px;
  gap: 2px;
  position: relative;
}
.remote-dpad-up    { grid-column: 2; grid-row: 1; background: #2a2a2a; border-radius: 3px 3px 0 0; }
.remote-dpad-left  { grid-column: 1; grid-row: 2; background: #2a2a2a; border-radius: 3px 0 0 3px; }
.remote-dpad-right { grid-column: 3; grid-row: 2; background: #2a2a2a; border-radius: 0 3px 3px 0; }
.remote-dpad-down  { grid-column: 2; grid-row: 3; background: #2a2a2a; border-radius: 0 0 3px 3px; }

.remote-btn--select {
  grid-column: 2;
  grid-row: 2;
  width: 14px;
  height: 14px;
  background: #0f5e6e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5px;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4), 0 0 4px rgba(15,94,110,0.3);
  transition: background 0.1s, transform 0.1s, box-shadow 0.1s;
}

.remote-btn--select.pressed {
  background: #4fa8ba;
  transform: scale(0.88);
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.5), 0 0 8px rgba(79,168,186,0.6);
}

.remote-row {
  display: flex;
  gap: 5px;
}
.remote-btn--sm {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  background: #252525;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
}

/* TV caption */
.tv-caption {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  color: var(--color-text-faint);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.3s;
}

/* Responsive: shrink on small cards */
@media (max-width: 600px) {
  .tv-bezel {
    width: 180px;
    height: 112px;
  }
  .tv-scene {
    gap: 12px;
  }
}

/* Dark mode adjustments */
[data-theme="dark"] .tv-body,
[data-theme="dark"] .tv-chin,
[data-theme="dark"] .tv-neck,
[data-theme="dark"] .tv-base,
[data-theme="dark"] .remote-body {
  background: linear-gradient(160deg, #222 0%, #141414 100%);
}

/* ---- CRT Boot Effect ---- */
.tv-crt-boot {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 5;
  pointer-events: none;
  border-radius: 4px;
  overflow: hidden;
}

.tv-crt-boot::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 0;
  background: linear-gradient(
    to bottom,
    rgba(220,220,200,0) 0%,
    rgba(220,220,200,0.9) 50%,
    rgba(220,220,200,0) 100%
  );
  transition: height 0s;
}

.tv-crt-boot.crt-boot-active::after {
  height: 100%;
  transition: height 0.65s cubic-bezier(0.16,1,0.3,1);
}

/* Video element fills the bezel exactly like canvas did */
video.tv-screen {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ---- ENTERTAINMENT CARD FULL-WIDTH LAYOUT ---- */
.ent-card {
  /* override default flex-column from .service-card */
}

.ent-layout {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.ent-visual {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ent-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* Make TV bezel bigger now that we have full width */
.ent-card .tv-bezel {
  width: 300px;
  height: 188px;
}

/* Responsive: stack on tablet/mobile */
@media (max-width: 768px) {
  .ent-layout {
    flex-direction: column;
  }
  .ent-card .tv-bezel {
    width: 240px;
    height: 150px;
  }
}



/* ============================================================
   SERVICE CARD ILLUSTRATIONS
   ============================================================ */

.svc-illustration {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-4) 0;
}

/* ---- PHONE / 2FA ---- */
.svc-phone-wrap {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
}

.svc-phone {
  width: 90px;
  background: linear-gradient(160deg, #2a2a2a, #1a1a1a);
  border-radius: 14px;
  padding: 8px 6px 10px;
  box-shadow: 0 0 0 1.5px #111, 0 8px 24px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.svc-phone-screen {
  background: linear-gradient(135deg, #0a1628, #0d1f3c);
  border-radius: 8px;
  min-height: 130px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.svc-phone-notch {
  width: 28px;
  height: 5px;
  background: #111;
  border-radius: 3px;
  margin-bottom: 4px;
}

.svc-phone-msg {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  line-height: 1.4;
}

.svc-code {
  color: #4fa8ba;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.1em;
  animation: code-blink 3s ease-in-out infinite;
}

@keyframes code-blink {
  0%, 80%, 100% { opacity: 1; }
  90% { opacity: 0.2; }
}

.svc-phone-sub {
  font-size: 7px;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

.svc-phone-bar {
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
}
.svc-phone-bar--1 { width: 70%; }
.svc-phone-bar--2 { width: 50%; }

.svc-phone-home {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #252525;
  border: 1.5px solid #333;
  margin: 0 auto;
}

.svc-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  padding-bottom: 8px;
}
.svc-signal span {
  display: block;
  width: 5px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: signal-pulse 1.8s ease-in-out infinite;
}
.svc-signal span:nth-child(1) { height: 6px; animation-delay: 0s; }
.svc-signal span:nth-child(2) { height: 10px; animation-delay: 0.15s; }
.svc-signal span:nth-child(3) { height: 15px; animation-delay: 0.3s; }
.svc-signal span:nth-child(4) { height: 20px; animation-delay: 0.45s; }

@keyframes signal-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---- LAPTOP / REPAIR ---- */
.svc-laptop-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svc-laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.svc-laptop-screen {
  width: 220px;
  height: 140px;
  background: #0a0f0a;
  border-radius: 8px 8px 0 0;
  border: 2px solid #252525;
  position: relative;
  overflow: hidden;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.svc-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(79,168,186,0.6), transparent);
  animation: scan 2.5s linear infinite;
}

@keyframes scan {
  0%   { top: 0%; }
  100% { top: 100%; }
}

.svc-laptop-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.svc-laptop-line {
  font-family: 'Courier New', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.svc-laptop-line--ok  { color: #2ecc71; }
.svc-laptop-line--run {
  color: #4fa8ba;
  animation: blink-cursor 1s step-end infinite;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.svc-laptop-hinge {
  width: 240px;
  height: 6px;
  background: linear-gradient(to bottom, #2a2a2a, #1a1a1a);
  border-radius: 0 0 2px 2px;
}

.svc-laptop-base {
  width: 260px;
  height: 10px;
  background: linear-gradient(to bottom, #252525, #1e1e1e);
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

/* ---- DEVICES / ADVICE ---- */
.svc-devices {
  display: flex;
  align-items: flex-end;
  gap: var(--space-4);
}

.svc-device {
  background: linear-gradient(160deg, #2a2a2a, #1a1a1a);
  border-radius: 10px;
  padding: 6px 5px 8px;
  box-shadow: 0 0 0 1.5px #111, 0 6px 18px rgba(0,0,0,0.4);
}
.svc-device--tablet { width: 120px; }
.svc-device--phone2 { width: 70px; }

.svc-device-screen {
  background: linear-gradient(135deg, #0d1f3c, #0a1628);
  border-radius: 6px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-device-screen--sm { height: 90px; }

.svc-wifi-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding-top: 8px;
}
.svc-wifi-arc {
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  border-bottom-color: transparent;
  border-left-color: transparent;
  transform: rotate(-45deg);
  animation: wifi-pulse 2s ease-in-out infinite;
}
.svc-wifi-arc--1 { width: 8px;  height: 8px;  animation-delay: 0.4s; }
.svc-wifi-arc--2 { width: 16px; height: 16px; animation-delay: 0.2s; }
.svc-wifi-arc--3 { width: 24px; height: 24px; animation-delay: 0s; }

@keyframes wifi-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.svc-wifi-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  margin-top: 2px;
}

.svc-app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  padding: 8px;
  width: 100%;
}
.svc-app {
  height: 22px;
  border-radius: 5px;
  background: rgba(255,255,255,0.12);
  animation: app-glow 2.5s ease-in-out infinite;
}
.svc-app:nth-child(2) { animation-delay: 0.3s; }
.svc-app:nth-child(3) { animation-delay: 0.6s; }
.svc-app:nth-child(4) { animation-delay: 0.9s; }

@keyframes app-glow {
  0%, 100% { background: rgba(255,255,255,0.08); }
  50% { background: rgba(79,168,186,0.3); }
}
