/* ==========================================================================
   RM DUO CODE — PREMIUM MINIMALIST STYLESHEET
   Direction: Black / White / Emerald Green (#10B981)
   Identity: "Tecnología con propósito. Desarrollo web · Software · NFC"
   Philosophy: Serious B2B tech company, elegant typography, zero clutter.
   ========================================================================== */

/* Google Sans Flex / Plus Jakarta Sans Font imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  --font-sans: 'Google Sans Flex', 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Refined Emerald Palette */
  --emerald: #10B981;
  --emerald-hover: #059669;
  --emerald-light: #34D399;
  --emerald-subtle: rgba(16, 185, 129, 0.08);
  --emerald-border: rgba(16, 185, 129, 0.25);
  --emerald-glow: rgba(16, 185, 129, 0.2);

  /* Spacings & Shapes */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Theme (Default — Deep Obsidian & Minimalist Black) */
html[data-theme="dark"] {
  --bg-base: #08090D;
  --bg-surface: #0E1017;
  --bg-surface-elevated: #141722;
  --bg-card: rgba(14, 16, 23, 0.7);
  --bg-header: rgba(8, 9, 13, 0.82);
  --bg-input: #10131D;

  --text-main: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #08090D;

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-focus: var(--emerald);

  --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 45px -10px rgba(0, 0, 0, 0.75);
  --ambient-spotlight: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.07) 0%, transparent 60%);
}

/* Light Theme (Clean Minimalist Architectural White) */
html[data-theme="light"] {
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-header: rgba(248, 250, 252, 0.85);
  --bg-input: #F8FAFC;

  --text-main: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-card: rgba(0, 0, 0, 0.09);
  --border-focus: var(--emerald-hover);

  --shadow-card: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  --shadow-elevated: 0 16px 36px -6px rgba(15, 23, 42, 0.1);
  --ambient-spotlight: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.06) 0%, transparent 65%);
}

/* ==========================================================================
   GLOBAL RESET & ARCHITECTURAL GRID
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Ambient Studio Spotlight Backdrop (Cosmic Aurora + Grid) */
.minimalist-ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: var(--ambient-spotlight);
  overflow: hidden;
}

html[data-theme="dark"] .minimalist-ambient-bg {
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    url('bg-aurora-clean.png');
  background-position: center top, center top, center top;
  background-repeat: no-repeat;
  background-size: cover, cover, 100% auto;
  opacity: 0.95;
}

/* Periodic 3D Logo Spin Animation (Smooth 360 rotation every 7.5s) */
@keyframes periodicLogoSpin {
  0%, 75% {
    transform: rotateY(0deg);
  }
  85% {
    transform: rotateY(180deg) scale(1.05);
  }
  100% {
    transform: rotateY(360deg) scale(1);
  }
}

.logo-periodic-spin {
  animation: periodicLogoSpin 7.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Subtle architectural grid pattern */
.minimalist-ambient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image: linear-gradient(to right, var(--border-subtle) 1px, transparent 1px),
                    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  opacity: 0.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glass Panel Component */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.glass-panel:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

/* Typography Helpers */
.text-emerald {
  color: var(--emerald);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 48px auto;
  line-height: 1.6;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-emerald {
  background: var(--emerald);
  color: #061A12;
  font-weight: 700;
}

.btn-emerald:hover {
  background: var(--emerald-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--emerald-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-card);
}

.btn-outline:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  background: var(--emerald-subtle);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.w-100 {
  width: 100%;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-header);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

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

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--text-main);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--emerald);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

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

.nav-link-icon {
  display: none;
}

.mobile-nav-header, .mobile-nav-footer {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-btn {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}

.theme-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

.theme-label {
  display: none;
}

html[data-theme="dark"] .sun-icon { display: block; }
html[data-theme="dark"] .moon-icon { display: none; }
html[data-theme="light"] .sun-icon { display: none; }
html[data-theme="light"] .moon-icon { display: block; }

.btn-nav-cta {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.mobile-toggle-btn {
  display: none;
}

/* ==========================================================================
   HERO SECTION — "TECNOLOGÍA CON PROPÓSITO."
   ========================================================================== */
.hero-section {
  position: relative;
  z-index: 1;
  padding: 70px 0 50px 0;
}

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

.hero-identity-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}

.identity-brand-bold {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.identity-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--emerald);
  color: #061A12;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.hero-main-title {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.8px;
  color: var(--text-main);
  margin-bottom: 18px;
}

.hero-main-title .dot-emerald {
  color: var(--emerald);
}

.hero-core-services {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--emerald);
  letter-spacing: -0.2px;
  margin-bottom: 14px;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  transition: all var(--transition);
}

.social-chip:hover {
  color: var(--text-main);
  border-color: var(--emerald);
  transform: translateY(-2px);
}

.chip-soon {
  opacity: 0.65;
  cursor: default;
}

.badge-mini {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-subtle);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   HERO HIGH-TECH SHOWCASE (3D Isometric Chip + Studio Metrics Card)
   ========================================================================== */

.hero-showcase {
  position: relative;
  width: 100%;
}

.tech-showcase-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* High-tech circuit background traces */
.circuit-traces-bg {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 110%;
  height: 115%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
}

/* 3D Isometric Illuminated Pedestal / Chip (Inspired by VTS Labs Lion Emblem) */
.isometric-chip-stage {
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0 15px;
  z-index: 1;
}

.chip-glow-base {
  position: absolute;
  width: 220px;
  height: 85px;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.4) 0%, rgba(59, 130, 246, 0.22) 45%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

.chip-pedestal {
  position: relative;
  width: 165px;
  height: 165px;
  transform: rotateX(56deg) rotateZ(-32deg);
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 
    0 24px 40px rgba(0, 0, 0, 0.85),
    0 0 25px rgba(16, 185, 129, 0.35);
  border-radius: 26px;
}

.isometric-chip-stage:hover .chip-pedestal {
  transform: rotateX(50deg) rotateZ(-26deg) translateY(-8px);
}

.chip-top-face {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(135deg, #131722 0%, #0c101a 50%, #060910 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 
    inset 0 0 22px rgba(16, 185, 129, 0.22),
    inset 0 0 10px rgba(59, 130, 246, 0.25),
    0 0 15px rgba(16, 185, 129, 0.3);
  overflow: hidden;
}

.chip-circuit-ring {
  position: absolute;
  inset: 15px;
  border-radius: 18px;
  border: 1px dashed rgba(59, 130, 246, 0.45);
  pointer-events: none;
}

.chip-logo-core {
  position: relative;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.16) 0%, transparent 75%);
  border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(16, 185, 129, 0.6));
}

.chip-3d-logo {
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

.chip-pin {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.pin-tl { top: 8px; left: 8px; }
.pin-tr { top: 8px; right: 8px; }
.pin-bl { bottom: 8px; left: 8px; }
.pin-br { bottom: 8px; right: 8px; }

.chip-edge-bevel {
  position: absolute;
  inset: 0;
  border-radius: 26px;
  transform: translateZ(-14px);
  background: linear-gradient(180deg, #07090f 0%, #020305 100%);
  border: 1.5px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 14px 20px rgba(0, 0, 0, 0.9);
}

/* Studio Executive Metrics Card */
.studio-card {
  position: relative;
  z-index: 2;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: rgba(14, 16, 23, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card), 0 0 30px rgba(16, 185, 129, 0.05);
}

html[data-theme="light"] .studio-card {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.studio-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.studio-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--emerald-subtle);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.studio-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.8; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.2); }
}

.studio-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.metric-val {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
  letter-spacing: -1px;
}

.metric-currency {
  font-size: 1.2rem;
  color: var(--emerald);
  margin-right: 2px;
}

.metric-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 5px;
}

.studio-card-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* Hero Futuristic Laser Edge (Inspired by VTS Labs bottom accent) */
.hero-laser-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 38px;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.45));
}

.laser-poly-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   PARTNERS STRIP
   ========================================================================== */
.partners-strip {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 40px 0 70px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.partners-track {
  display: inline-flex;
  gap: 40px;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-item {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   THE 4 PILLARS (SERVICES SECTION)
   ========================================================================== */
.section-wrapper {
  position: relative;
  z-index: 1;
  padding: 60px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}

.service-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.service-badge-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--emerald);
}

.service-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.service-chips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 26px;
  flex-grow: 1;
}

.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.service-chip i {
  color: var(--emerald);
  font-size: 0.8rem;
}

.service-footer {
  margin-top: auto;
  padding-top: 14px;
}

/* ==========================================================================
   INTERACTIVE 3D NFC SIMULATOR SECTION
   ========================================================================== */
.nfc-simulator-card {
  padding: 48px;
}

.nfc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.nfc-info {
  display: flex;
  flex-direction: column;
}

.nfc-heading {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin: 12px 0 14px 0;
  line-height: 1.2;
}

.nfc-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  line-height: 1.6;
}

.skin-selector {
  margin-bottom: 28px;
}

.skin-selector-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.skin-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.skin-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.skin-btn:hover, .skin-btn.active {
  border-color: var(--emerald);
  background: var(--emerald-subtle);
  color: var(--emerald);
}

.skin-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.swatch-black { background: #0F1117; border: 1px solid #334155; }
.swatch-emerald { background: #10B981; }
.swatch-titanium { background: linear-gradient(135deg, #CBD5E1, #64748B); }
.swatch-navy { background: #1E3A8A; }

.nfc-stage-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.touch-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

/* 3D Physical Card */
.card-3d-scene {
  perspective: 1200px;
  width: 100%;
  max-width: 360px;
  height: 220px;
  cursor: grab;
  touch-action: pan-y;
}

.nfc-physical-card {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow var(--transition);
  transform-style: preserve-3d;
  user-select: none;
}

.nfc-physical-card.skin-cyber-black {
  background: radial-gradient(circle at 80% 20%, #1A1D27 0%, #0A0C12 80%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
}

.nfc-physical-card.skin-emerald-green {
  background: radial-gradient(circle at 30% 20%, #047857 0%, #064E3B 60%, #022C22 100%);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #FFFFFF;
}

.nfc-physical-card.skin-titanium {
  background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 50%, #475569 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #0F172A;
}

.nfc-physical-card.skin-electric-blue {
  background: radial-gradient(circle at 30% 20%, #1E3A8A 0%, #0F172A 80%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #FFFFFF;
}

.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-emv-chip {
  width: 40px;
  height: 30px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.card-nfc-symbol {
  font-size: 1.2rem;
  opacity: 0.85;
}

.card-center-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #FFFFFF;
  padding: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-company-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

.card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Phone Screen Tap Popup */
.phone-screen-popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 100%;
  max-width: 320px;
  background: var(--bg-surface);
  border: 1px solid var(--emerald-border);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--emerald-glow);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  padding: 24px;
}

.phone-screen-popup.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.phone-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
}

.close-popup-btn {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.profile-avatar {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: #FFFFFF;
  margin: 0 auto 12px auto;
  padding: 5px;
  border: 2px solid var(--emerald);
}

.profile-name {
  font-size: 1.15rem;
  font-weight: 800;
}

.profile-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.profile-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.profile-btn:hover {
  border-color: var(--emerald);
  color: var(--emerald);
}

/* ==========================================================================
   HOSTING & CLOUD INFRASTRUCTURE
   ========================================================================== */
.hosting-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hosting-card {
  padding: 28px 24px;
}

.hosting-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.hosting-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

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

/* ==========================================================================
   PRICING IN PERUVIAN SOLES (S/.)
   ========================================================================== */
.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  background: var(--bg-surface-elevated);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border-subtle);
}

.pricing-tab {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.86rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition);
}

.pricing-tab.active {
  background: var(--bg-surface);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--border-subtle);
}

.pricing-group {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-group.active {
  display: grid;
}

.price-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured-card {
  border-color: var(--emerald);
  box-shadow: 0 16px 40px -10px rgba(16, 185, 129, 0.18);
}

.featured-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald);
  color: #061A12;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.plan-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}

.currency-sign {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald);
  margin-right: 4px;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 6px;
}

.plan-pitch {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
  min-height: 42px;
}

.plan-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}

.plan-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.plan-specs li i {
  color: var(--emerald);
  font-size: 0.9rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-box {
  padding: 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 28px;
}

.channels-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
}

.channel-item:hover {
  border-color: var(--emerald);
  transform: translateX(4px);
}

.channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--emerald-subtle);
  color: var(--emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

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

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

.channel-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Contact Form */
.tech-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  transition: all var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  cursor: pointer;
  margin: 6px 0;
}

.consent-check input {
  margin-top: 3px;
  accent-color: var(--emerald);
}

.consent-check a {
  color: var(--emerald);
  text-decoration: underline;
}

/* Floating WhatsApp Quick Action Button */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform var(--transition);
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08) translateY(-2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  background: var(--bg-surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 16px 0 20px 0;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

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

/* ==========================================================================
   LEGAL MODALS & COOKIE BANNER
   ========================================================================== */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

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

.legal-modal-box {
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform var(--transition);
}

.legal-modal-backdrop.active .legal-modal-box {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.modal-close-btn {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-body {
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-right: 8px;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 16px 0 6px 0;
}

.modal-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

/* Cookie Banner */
.cookie-consent-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  z-index: 9999;
  padding: 20px 24px;
  display: none;
}

.cookie-consent-banner.show {
  display: block;
  animation: slideUp 0.3s ease-out forwards;
}

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

.cookie-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookie-text strong {
  color: var(--text-main);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social-row {
    justify-content: center;
  }

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

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

  .pricing-group {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

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

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

@media (max-width: 768px) {
  .nav-container {
    padding: 10px 18px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border-subtle);
    padding: 24px 20px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.7);
    transform: translateX(110%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .nav-menu.mobile-open {
    transform: translateX(0);
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 16px;
  }

  .mobile-nav-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
  }

  .mobile-nav-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface-elevated);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .nav-list {
    flex-direction: column;
    gap: 6px;
    width: 100%;
    align-items: stretch;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-link.active, .nav-link:hover {
    background: var(--emerald-subtle);
    color: var(--emerald);
  }

  .nav-link-icon {
    display: inline-block;
    width: 18px;
    color: var(--emerald);
  }

  .mobile-nav-footer {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 18, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  .btn-nav-cta {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    cursor: pointer;
  }

  .hamburger-bar {
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
  }

  #mobileMenuBtn.is-active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  #mobileMenuBtn.is-active .hamburger-bar:nth-child(2) {
    opacity: 0;
  }

  #mobileMenuBtn.is-active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Hero Mobile */
  .hero-section {
    padding: 30px 0 20px 0;
  }

  .hero-main-title {
    font-size: clamp(2rem, 7.5vw, 2.7rem);
    letter-spacing: -1px;
  }

  .hero-core-services {
    font-size: 0.98rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .isometric-chip-stage {
    padding: 5px 0 10px;
  }

  .chip-pedestal {
    width: 130px;
    height: 130px;
    transform: rotateX(54deg) rotateZ(-30deg);
  }

  .chip-3d-logo {
    width: 58px;
    height: 58px;
  }

  .circuit-traces-bg {
    opacity: 0.35;
  }

  .studio-card {
    padding: 22px 18px;
  }

  .studio-metrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .metric-val {
    font-size: 1.8rem;
  }

  /* NFC Mobile */
  .nfc-simulator-card {
    padding: 24px 18px;
  }

  .nfc-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .card-3d-scene {
    max-width: 300px;
    height: 185px;
  }

  .skin-buttons-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Pricing Mobile */
  .pricing-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-md);
  }

  .price-card {
    padding: 24px 20px;
  }

  /* Contact Mobile */
  .contact-box {
    padding: 24px 18px;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  /* Hosting Mobile */
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-actions .btn {
    width: 100%;
  }
}


/* ==========================================================================
   INTERIOR PAGES, ACCESSIBILITY & ADVANCED COMPONENTS (RM DUO CODE)
   ========================================================================== */

/* Accessibility: Focus Visible styles across all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

/* Interior Page Hero Header */
.page-hero {
  padding: 60px 0 35px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--emerald-subtle) 0%, transparent 100%);
  margin-bottom: 40px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs a:hover {
  color: var(--emerald);
}

.breadcrumbs .breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.breadcrumbs span[aria-current="page"] {
  color: var(--emerald);
  font-weight: 600;
}

.page-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.2px;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 16px;
}

.page-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.7;
}

.page-meta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.page-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Content Article & Legal Long-form Prose */
.content-section {
  padding-bottom: 80px;
}

.content-article {
  padding: 44px 48px;
  margin-bottom: 40px;
}

.content-article h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 36px 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-article h2:first-of-type {
  margin-top: 0;
}

.content-article h3 {
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 24px 0 12px 0;
}

.content-article p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 18px;
}

.content-article strong {
  color: var(--text-main);
  font-weight: 600;
}

.content-article ul,
.content-article ol {
  margin: 14px 0 22px 28px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.content-article li {
  margin-bottom: 10px;
}

.content-article li::marker {
  color: var(--emerald);
}

/* Callout & Info Boxes */
.callout-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.callout-box.info-box {
  border-left-color: #3B82F6;
  background: rgba(59, 130, 246, 0.06);
}

.callout-box.highlight-box {
  border-left-color: var(--emerald);
  background: var(--emerald-subtle);
}

.callout-title {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Data Tables (Cookies, Specs, etc.) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
  min-width: 600px;
}

.data-table th {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-weight: 700;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-card);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: top;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--emerald-subtle);
}

/* FAQ Accordion Component */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq-item:hover {
  border-color: var(--emerald-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  font-family: inherit;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  flex-shrink: 0;
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--emerald);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  padding: 0 24px 22px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* About Page Specific Styles */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0;
}

.about-feature-card {
  padding: 30px 24px;
  border-radius: var(--radius-lg);
}

.about-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.about-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.about-feature-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 36px 0;
}

.process-step {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  position: relative;
}

.process-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--emerald);
  opacity: 0.75;
  margin-bottom: 8px;
}

.process-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Contact Page Specific Styles */
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}

.contact-quick-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-direct-card {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: transform var(--transition), border-color var(--transition);
}

.contact-direct-card:hover {
  transform: translateY(-2px);
  border-color: var(--emerald);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--emerald-subtle);
  border: 1px solid var(--emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-card-text {
  flex-grow: 1;
}

.contact-card-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.footer-link-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  transition: color var(--transition);
  display: inline-block;
}

.footer-link-btn:hover {
  color: var(--emerald);
}

/* Responsive adjustments for interior components */
@media (max-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .process-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 35px 0 25px 0;
  }

  .page-title {
    font-size: clamp(1.8rem, 6.5vw, 2.4rem);
  }

  .content-article {
    padding: 26px 20px;
  }

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

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .data-table th, .data-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
