/* ============================================================
   FINANZACLAVE — MIDNIGHT LUXE DESIGN SYSTEM
   ============================================================ */


@import url('https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght@6..72,400;6..72,600;6..72,700&family=Manrope:wght@400;500;600&display=swap');


:root {
  
  --color-bg:          #0a0c12;
  --color-bg-2:        #0e1018;
  --color-bg-3:        #12151f;
  --color-bg-card:     #141720;
  --color-bg-card-2:   #1a1e2a;
  --color-surface:     #1e2231;
  --color-surface-2:   #252a38;

  
  --color-gold:        #c9a84c;
  --color-gold-light:  #e0c070;
  --color-gold-dim:    #8a6e2f;
  --color-gold-glow:   rgba(201,168,76,0.18);

  
  --color-sapphire:    #3a6fd8;
  --color-sapphire-lt: #5a8ff0;
  --color-sapphire-dim:#1e3a70;

  
  --color-amethyst:    #7c4dcc;
  --color-amethyst-lt: #a070e8;

  
  --color-text-primary:   #e8e6f0;
  --color-text-secondary: #9a97aa;
  --color-text-muted:     #5e5c6e;
  --color-text-inverse:   #0a0c12;

  
  --color-border:      rgba(201,168,76,0.15);
  --color-border-2:    rgba(255,255,255,0.07);
  --color-border-3:    rgba(201,168,76,0.30);

  
  --grad-gold:         linear-gradient(135deg, #c9a84c 0%, #e0c070 50%, #a07830 100%);
  --grad-dark:         linear-gradient(180deg, #0a0c12 0%, #12151f 100%);
  --grad-card:         linear-gradient(145deg, #1a1e2a 0%, #141720 100%);
  --grad-hero:         radial-gradient(ellipse 80% 60% at 50% 0%, rgba(58,111,216,0.22) 0%, transparent 70%),
                       radial-gradient(ellipse 60% 40% at 80% 80%, rgba(124,77,204,0.14) 0%, transparent 60%),
                       linear-gradient(180deg, #0a0c12 0%, #0e1018 100%);
  --grad-section:      linear-gradient(180deg, #0e1018 0%, #12151f 100%);
  --grad-text-gold:    linear-gradient(135deg, #c9a84c, #e0c070, #c9a84c);

  
  --shadow-xs:   0 1px 3px rgba(0,0,0,0.4);
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.7), 0 4px 12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05);
  --shadow-xl:   0 16px 60px rgba(0,0,0,0.8), 0 8px 24px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
  --shadow-gold: 0 0 20px rgba(201,168,76,0.25), 0 4px 16px rgba(0,0,0,0.5);
  --shadow-gold-lg: 0 0 40px rgba(201,168,76,0.20), 0 8px 32px rgba(0,0,0,0.6);
  --shadow-sapphire: 0 0 20px rgba(58,111,216,0.25), 0 4px 16px rgba(0,0,0,0.5);

  
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  
  --font-heading: 'Newsreader', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;

  --text-xs:   clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm:   clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
  --text-md:   clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.1rem, 1rem + 0.5vw, 1.25rem);
  --text-xl:   clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --text-2xl:  clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --text-3xl:  clamp(1.8rem, 1.4rem + 2vw, 2.8rem);
  --text-4xl:  clamp(2.2rem, 1.6rem + 3vw, 3.8rem);
  --text-5xl:  clamp(2.8rem, 2rem + 4vw, 5rem);

  
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover { color: var(--color-gold-light); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface-2); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold-dim); }


.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container-wide {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

.text-gold {
  background: var(--grad-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.text-muted { color: var(--color-text-secondary); }


.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.7;
}


h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text-primary);
  font-weight: 600;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition-slow), box-shadow var(--transition-slow);
}

.site-nav.scrolled {
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border), 0 8px 32px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding-inline: var(--space-6);
  max-width: 1400px;
  margin-inline: auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.nav-logo-text span {
  background: var(--grad-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: color var(--transition-base), background var(--transition-base);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: var(--color-gold);
}

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


.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-2);
}

.lang-btn {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.lang-btn:hover {
  color: var(--color-text-primary);
  background: var(--color-surface);
}

.lang-btn.active {
  color: var(--color-text-inverse);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}

.lang-divider {
  color: var(--color-text-muted);
  font-size: var(--text-xs);
  opacity: 0.4;
}


.btn-nav-cta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-inverse);
  background: var(--grad-gold);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

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


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background var(--transition-base);
}

.nav-hamburger:hover { background: var(--color-surface); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(10, 12, 18, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-menu .nav-link {
  display: block;
  font-size: var(--text-md);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border-2);
}

.mobile-menu .lang-switcher {
  margin-top: var(--space-5);
  justify-content: center;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-spring);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  color: var(--color-text-inverse);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
}

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

.btn-secondary {
  color: var(--color-text-primary);
  background: transparent;
  border: 1px solid var(--color-border-3);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  color: var(--color-gold);
  background: var(--color-gold-glow);
  border: 1px solid var(--color-border);
}

.btn-ghost:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--color-gold);
  color: var(--color-gold-light);
  transform: translateY(-1px);
}

.btn-lg {
  font-size: var(--text-md);
  padding: 16px 36px;
}

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(58,111,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: 0;
  right: -10%;
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,77,204,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding: var(--space-20) var(--space-6);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--color-border-3);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-title .typed-wrapper {
  display: block;
  min-height: 1.15em;
}

.hero-title .typed-text {
  background: var(--grad-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.typed-cursor {
  color: var(--color-gold);
  -webkit-text-fill-color: var(--color-gold);
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border-2);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.hero-meta-item i {
  color: var(--color-gold);
  font-size: 14px;
}


.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(58,111,216,0.15);
  border: 1px solid var(--color-border-2);
}

.hero-image-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,12,18,0.7) 100%);
}


.floating-badge {
  position: absolute;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 10;
  animation: float-badge 4s ease-in-out infinite;
}

.floating-badge i {
  font-size: 16px;
  color: var(--color-gold);
}

.floating-badge-1 { top: -20px; left: -40px; animation-delay: 0s; }
.floating-badge-2 { top: 40%; right: -50px; animation-delay: 1s; }
.floating-badge-3 { bottom: 20px; left: -30px; animation-delay: 2s; }
.floating-badge-4 { bottom: -20px; right: 20px; animation-delay: 0.5s; }

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

/* ============================================================
   SECTION COMMON STYLES
   ============================================================ */

section {
  position: relative;
}

.section-header {
  margin-bottom: var(--space-12);
}

.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-title {
  font-size: var(--text-3xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   DASHBOARD WIDGET SECTION
   ============================================================ */

.dashboard-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-2);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}

.widget {
  background: var(--grad-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.widget::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.widget:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.widget:hover::before { opacity: 1; }

.widget-col-4 { grid-column: span 4; }
.widget-col-6 { grid-column: span 6; }
.widget-col-8 { grid-column: span 8; }
.widget-col-12 { grid-column: span 12; }

.widget-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  font-size: 20px;
}

.widget-icon-gold {
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.2);
}

.widget-icon-sapphire {
  background: rgba(58,111,216,0.12);
  color: var(--color-sapphire-lt);
  border: 1px solid rgba(58,111,216,0.2);
}

.widget-icon-amethyst {
  background: rgba(124,77,204,0.12);
  color: var(--color-amethyst-lt);
  border: 1px solid rgba(124,77,204,0.2);
}

.widget-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.widget-text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.widget-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gold);
  margin-top: var(--space-5);
  transition: gap var(--transition-spring);
  text-decoration: none;
}

.widget-link:hover {
  gap: var(--space-3);
  color: var(--color-gold-light);
}


.widget-featured {
  background: linear-gradient(145deg, rgba(58,111,216,0.15) 0%, rgba(10,12,18,0.8) 60%);
  border-color: rgba(58,111,216,0.3);
}

.widget-featured:hover {
  border-color: rgba(58,111,216,0.5);
  box-shadow: var(--shadow-sapphire), var(--shadow-lg);
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */

.services-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

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

.service-card:hover::after { transform: scaleX(1); }

.service-number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  background: var(--grad-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--space-4);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-5);
  background: rgba(201,168,76,0.1);
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: rgba(201,168,76,0.18);
  box-shadow: var(--shadow-gold);
}

.service-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

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

/* ============================================================
   TIMELINE SECTION
   ============================================================ */

.timeline-section {
  padding: var(--space-24) 0;
  background: var(--color-bg);
  position: relative;
}

.timeline-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-3), transparent);
}

.timeline-wrapper {
  position: relative;
  padding: var(--space-8) 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-gold-dim), var(--color-gold), var(--color-gold-dim), transparent);
  transform: translateX(-50%);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: var(--space-6);
  align-items: start;
}

.timeline-item:nth-child(even) .timeline-content-left { order: 3; }
.timeline-item:nth-child(even) .timeline-center { order: 2; }
.timeline-item:nth-child(even) .timeline-content-right { order: 1; }

.timeline-content-left,
.timeline-content-right {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.timeline-content-left:hover,
.timeline-content-right:hover {
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}

.timeline-item:nth-child(even) .timeline-content-left { opacity: 0; pointer-events: none; }
.timeline-item:nth-child(odd) .timeline-content-right { opacity: 0; pointer-events: none; }

.timeline-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2), var(--shadow-gold);
  flex-shrink: 0;
  margin-top: var(--space-5);
}

.timeline-year {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.timeline-date {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

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

/* ============================================================
   OVERLAP ZONE
   ============================================================ */

.overlap-zone {
  position: relative;
  z-index: 5;
  margin-top: -60px;
  margin-bottom: -60px;
}

.overlap-card {
  background: var(--color-bg-card-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-16);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(201,168,76,0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.overlap-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
}

.overlap-card-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.overlap-card-content .section-label { margin-bottom: var(--space-4); }

.overlap-card-content h3 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.overlap-card-content p {
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  line-height: 1.7;
}

/* ============================================================
   IMAGE SECTION
   ============================================================ */

.image-section {
  padding: var(--space-32) 0;
  background: var(--color-bg-2);
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.image-grid-visual {
  position: relative;
}

.image-grid-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-2);
}

.image-grid-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.image-grid-main:hover img { transform: scale(1.02); }

.image-grid-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--color-bg-2);
}

.image-grid-accent img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.image-grid-content { padding-left: var(--space-8); }

/* ============================================================
   FEATURES / INFO CARDS
   ============================================================ */

.features-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-3);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-5);
}

.feature-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

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

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text-primary);
}

.feature-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   COMPARADOR PAGE
   ============================================================ */

.comparador-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-2);
}

.comparador-intro {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-16);
}

.comparador-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.comparador-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  position: relative;
}

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

.comparador-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.comparador-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.comparador-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
}

.tag-riesgo-bajo { background: rgba(76,175,80,0.15); color: #81c784; border: 1px solid rgba(76,175,80,0.25); }
.tag-riesgo-medio { background: rgba(255,193,7,0.15); color: #ffd54f; border: 1px solid rgba(255,193,7,0.25); }
.tag-riesgo-alto { background: rgba(244,67,54,0.15); color: #ef9a9a; border: 1px solid rgba(244,67,54,0.25); }

.comparador-card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.comparador-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-5);
}

.comparador-specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--color-border-2);
  padding-top: var(--space-5);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
}

.spec-label { color: var(--color-text-muted); font-weight: 500; }
.spec-value { color: var(--color-text-primary); font-weight: 600; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  border-bottom: 1px solid var(--color-border-2);
}

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

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.contact-info-value {
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  font-weight: 500;
}

.contact-info-value a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.contact-info-value a:hover { color: var(--color-gold); }


.contact-form-wrap {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: var(--color-bg-3);
  border: 1px solid var(--color-border-2);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  transition: all var(--transition-base);
  outline: none;
  -webkit-appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-gold-dim);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: var(--color-bg-card);
}

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

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a97aa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.form-checkbox {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--color-gold);
  margin-top: 2px;
  cursor: pointer;
}

.form-checkbox-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-gold);
}


.iti, #phone { width: 100% !important; }
.iti__flag-container { z-index: 10; }
.iti__selected-flag {
  background: var(--color-bg-3) !important;
  border-right: 1px solid var(--color-border-2) !important;
}
.iti__country-list {
  background: var(--color-bg-card) !important;
  border: 1px solid var(--color-border) !important;
  box-shadow: var(--shadow-lg) !important;
}
.iti__country:hover { background: var(--color-surface) !important; }
.iti__country-name, .iti__dial-code { color: var(--color-text-primary) !important; }


.map-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-2);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-8);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: none;
  filter: grayscale(30%) invert(90%) hue-rotate(170deg) brightness(0.7);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  padding: calc(72px + var(--space-16)) 0 var(--space-16);
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.page-hero-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.page-hero-desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.breadcrumb a:hover { color: var(--color-gold); }
.breadcrumb span { color: var(--color-gold); }

/* ============================================================
   THANKS PAGE
   ============================================================ */

.thanks-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-6);
  background: var(--grad-hero);
}

.thanks-card {
  text-align: center;
  max-width: 560px;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-16) var(--space-12);
  box-shadow: var(--shadow-xl), 0 0 60px rgba(201,168,76,0.08);
}

.thanks-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201,168,76,0.12);
  border: 2px solid var(--color-border-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--color-gold);
  margin: 0 auto var(--space-8);
  box-shadow: var(--shadow-gold);
}

.thanks-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
}

.thanks-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-md);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */

.legal-section {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--color-bg-2);
}

.legal-content {
  max-width: 800px;
  margin-inline: auto;
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border-2);
}

.legal-content h3 {
  font-size: var(--text-lg);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
  color: var(--color-gold);
}

.legal-content p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal-content ul li {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-2);
}

.legal-meta {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-8);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.legal-meta i { color: var(--color-gold); }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-2);
}

.footer-main {
  padding: var(--space-12) 0;
}

.footer-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: var(--space-10);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  text-decoration: none;
}

.footer-brand-logo img { height: 32px; width: auto; }

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text-primary);
}

.footer-brand-name span {
  background: var(--grad-text-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-5);
}

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

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
  padding: 2px 0;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer-contact-item i {
  color: var(--color-gold);
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-contact-item a:hover { color: var(--color-gold); }

.footer-bottom {
  border-top: 1px solid var(--color-border-2);
  padding: var(--space-5) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer-legal-links {
  display: flex;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* ============================================================
   COOKIE CONSENT
   ============================================================ */

.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  max-width: 540px;
  background: var(--color-bg-card-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(0,0,0,0.5);
  z-index: 9999;
  transition: all var(--transition-slow);
  backdrop-filter: blur(12px);
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cookie-banner-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.cookie-banner-title i { color: var(--color-gold); font-size: 18px; }

.cookie-banner-text {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.cookie-banner-text a {
  color: var(--color-gold);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.cookie-btn {
  flex: 1;
  min-width: 100px;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  letter-spacing: 0.03em;
}

.cookie-btn-accept {
  background: var(--grad-gold);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-gold);
}

.cookie-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold-lg);
}

.cookie-btn-reject {
  background: var(--color-surface);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-2);
}

.cookie-btn-reject:hover {
  background: var(--color-surface-2);
  color: var(--color-text-primary);
}

.cookie-btn-customize {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border-2);
}

.cookie-btn-customize:hover {
  color: var(--color-gold);
  border-color: var(--color-border-3);
}


.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin-bottom: var(--space-6);
}

.cookie-category {
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-2);
}

.cookie-category:last-of-type { border-bottom: none; }

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.cookie-category-name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
}

.cookie-category-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.55;
}


.toggle-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--color-surface-2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background var(--transition-base);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--color-text-muted);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--color-gold-dim);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(20px);
  background: var(--color-gold-light);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.cookie-modal-footer .cookie-btn {
  flex: 1;
  min-width: 120px;
}

/* ============================================================
   AVISO LEGAL
   ============================================================ */

.aviso-section {
  padding: var(--space-16) 0 var(--space-24);
  background: var(--color-bg-2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .footer-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .overlap-card {
    padding: var(--space-8) var(--space-10);
  }

  .widget-col-4 { grid-column: span 6; }
  .widget-col-8 { grid-column: span 12; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual { display: none; }

  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; flex-wrap: wrap; }

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

  .image-grid-content { padding-left: 0; }

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

  .overlap-card {
    grid-template-columns: 1fr;
    padding: var(--space-8);
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .timeline-line { display: none; }
  .timeline-item:nth-child(even) .timeline-content-left { order: unset; opacity: 1; pointer-events: all; }
  .timeline-item:nth-child(even) .timeline-content-right { order: unset; }
  .timeline-item:nth-child(even) .timeline-center { order: unset; }
  .timeline-item:nth-child(odd) .timeline-content-right { opacity: 1; pointer-events: all; }
  .timeline-center { flex-direction: row; justify-content: flex-start; }
  .timeline-year { writing-mode: horizontal-tb; }

  .widget-col-4,
  .widget-col-6 { grid-column: span 12; }

  .nav-links, .btn-nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}

@media (max-width: 600px) {
  :root {
    --space-24: 64px;
    --space-20: 48px;
    --space-16: 48px;
  }

  .container { padding-inline: var(--space-4); }

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

  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .overlap-card { padding: var(--space-6); }

  .cookie-banner {
    left: var(--space-3);
    right: var(--space-3);
    bottom: var(--space-3);
  }

  .cookie-buttons { flex-direction: column; }
  .cookie-btn { flex: unset; }

  .thanks-card { padding: var(--space-8) var(--space-6); }

  .hero-meta { gap: var(--space-4); }

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

/* ============================================================
   AOS CUSTOM OVERRIDES
   ============================================================ */
[data-aos] { will-change: transform, opacity; }

/* ============================================================
   MISC UTILITY
   ============================================================ */

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-3), transparent);
  margin: var(--space-12) 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.tag-gold {
  background: rgba(201,168,76,0.12);
  color: var(--color-gold);
  border: 1px solid rgba(201,168,76,0.25);
}

.tag-sapphire {
  background: rgba(58,111,216,0.12);
  color: var(--color-sapphire-lt);
  border: 1px solid rgba(58,111,216,0.25);
}

.info-box {
  background: rgba(58,111,216,0.08);
  border: 1px solid rgba(58,111,216,0.2);
  border-left: 3px solid var(--color-sapphire);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: var(--space-5) 0;
}

.info-box i {
  color: var(--color-sapphire-lt);
  margin-right: var(--space-2);
}

.highlight-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-6) 0;
}


.footer-aviso-link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-aviso-link:hover { color: var(--color-gold); }