/* ============================================================
   B22G — Dynamic Design System
   Inspired by invbit.com · Agencia 360 · Tenerife Sur
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --primary:        #e8491d;
  --primary-dark:   #c93a12;
  --primary-light:  #ff6b3d;
  --secondary:      #0d1b2a;
  --secondary-light:#1a2f4a;
  --accent:         #f0b429;
  --accent-light:   #fff4e0;
  --teal:           #45c2b1;

  --dark:           #0a0a0a;
  --dark-card:      #141414;
  --dark-border:    #2a2a2a;
  --surface:        #ffffff;
  --bg:             #faf9f6;
  --border:         #e2e0dc;
  --text:           #14253d;
  --text-secondary: #566b86;
  --text-muted:     #8a96a8;

  --success:        #10b981;
  --whatsapp:       #25d366;
  --error:          #ef4444;

  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --space-xs: .25rem; --space-sm: .5rem; --space-md: 1rem;
  --space-lg: 1.5rem; --space-xl: 2rem; --space-2xl: 3rem;
  --space-3xl: 4rem; --space-4xl: 6rem; --space-5xl: 8rem;

  --container: 1240px;
  --container-narrow: 800px;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 30px rgba(0,0,0,.1);
  --shadow-lg:  0 20px 50px rgba(0,0,0,.15);
  --shadow-glow:0 0 40px rgba(232,73,29,.25);

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-bounce: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Gradient Keyframes ---------- */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes border-glow {
  0%, 100% { border-color: var(--primary); }
  33%      { border-color: var(--accent); }
  66%      { border-color: var(--teal); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(232,73,29,.3); }
  50%      { box-shadow: 0 0 40px rgba(232,73,29,.5); }
}

@keyframes line-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

@keyframes text-reveal {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes counter-line {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }
::selection { background: var(--primary); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  color: var(--secondary);
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
p { margin-bottom: var(--space-md); color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--teal));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}
.text-primary  { color: var(--primary) !important; }
.text-accent   { color: var(--accent) !important; }
.text-white    { color: #fff !important; }
.text-center   { text-align: center; }
.text-small    { font-size: .875rem; }
.text-uppercase{ text-transform: uppercase; letter-spacing: .1em; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 2rem;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.25rem;
  height: 2px;
  background: var(--primary);
}
.section-title { margin-bottom: var(--space-lg); }
.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}
.page-intro {
  max-width: 720px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}
.container--narrow { max-width: var(--container-narrow); }

section, .section { padding: var(--space-5xl) 0; }

/* Dark sections */
.section--dark {
  background: var(--dark);
  color: #fff;
  position: relative;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,.65); }
.section--dark .section-label { color: var(--accent); }
.section--dark .section-label::before { background: var(--accent); }

.section--light  { background: var(--surface); }
.section--accent { background: var(--accent-light); }
.section--gradient {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 50%, #1a3350 100%);
  color: #fff;
}
.section--gradient h2, .section--gradient h3 { color: #fff; }
.section--gradient p { color: rgba(255,255,255,.7); }

/* Grid */
.grid { display: grid; gap: var(--space-xl); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-6 { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } .grid-6 { grid-template-columns: repeat(2,1fr); } section,.section { padding: var(--space-3xl) 0; } }
@media (max-width: 480px)  { .grid-6 { grid-template-columns: 1fr; } .container { padding: 0 var(--space-md); } }

.flex { display: flex; }
.flex-center  { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.flex-col     { flex-direction: column; }
.gap-sm { gap: var(--space-sm); } .gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); } .gap-xl { gap: var(--space-xl); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: .9rem 2.2rem;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all .4s var(--ease-out);
  white-space: nowrap;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity .4s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
  background-size: 200% 200%;
  animation: gradient-shift 5s ease infinite;
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-white {
  background: #fff;
  color: var(--secondary);
}
.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37,211,102,.4);
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}
.btn-dark:hover {
  background: var(--secondary);
  transform: translateY(-3px);
}

.btn-sm { padding: .6rem 1.4rem; font-size: .85rem; }
.btn-lg { padding: 1.15rem 2.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Custom Cursor ---------- */
.cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width .3s var(--ease-out), height .3s var(--ease-out), border-color .3s;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor.hover {
  width: 60px;
  height: 60px;
  border-color: var(--accent);
  background: rgba(232,73,29,.08);
}
@media (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: all .5s var(--ease-out);
}
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,10,.8), transparent);
  z-index: -1;
  opacity: 1;
  transition: opacity .4s;
  pointer-events: none;
}
.site-header.scrolled {
  padding: var(--space-sm) 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}
.site-header.scrolled::after { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  z-index: 1001;
  transition: color .4s;
}
.logo img { height: 44px; width: auto; }
.site-header.scrolled .logo { color: var(--secondary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  padding: var(--space-xs) 0;
  position: relative;
  transition: color .3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.site-header.scrolled .nav-links a { color: var(--text-secondary); }
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active { color: var(--secondary); }

.nav-cta { margin-left: var(--space-sm); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  z-index: 1001;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .4s var(--ease-out);
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--secondary); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-2xl);
    opacity: 0;
    visibility: hidden;
    transition: all .5s var(--ease-out);
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { color: #fff !important; font-size: 1.5rem; }
  .nav-cta { margin: 0; }
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, var(--secondary), var(--dark));
  color: rgba(255,255,255,.9);
  text-align: center;
  padding: var(--space-xs) var(--space-md);
  font-size: .85rem;
  font-weight: 500;
}
.announcement-bar a { color: var(--accent); font-weight: 700; text-decoration: underline; }
.announcement-bar ~ .site-header { top: 36px; }
.announcement-bar ~ .site-header.scrolled { top: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
  padding-bottom: var(--space-4xl);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg video, .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,10,10,.9) 0%,
    rgba(10,10,10,.4) 40%,
    rgba(10,10,10,.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: #fff;
  font-size: clamp(3rem, 8vw, 6rem);
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: var(--space-xl);
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line-inner {
  display: inline-block;
  animation: text-reveal .8s var(--ease-out) both;
}
.hero h1 .line:nth-child(2) .line-inner { animation-delay: .15s; }
.hero h1 .line:nth-child(3) .line-inner { animation-delay: .3s; }

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  animation: fade-up .8s var(--ease-out) .5s both;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
  animation: fade-up .8s var(--ease-out) .65s both;
}

/* Trust pills */
.trust-pills {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  animation: fade-up .8s var(--ease-out) .8s both;
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: .4rem 1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-full);
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,.1);
  animation: fade-up .8s var(--ease-out) .95s both;
}
.hero-stat .number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat .label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: var(--space-xs);
}

@media (max-width: 768px) {
  .hero { min-height: 100svh; align-items: center; padding-bottom: var(--space-2xl); }
  .hero-stats { flex-direction: column; gap: var(--space-lg); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: var(--dark);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,73,29,.1) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-item .stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: var(--space-xs);
}
@media (max-width: 768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .5s var(--ease-out);
  border: 1px solid var(--border);
  position: relative;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
/* Animated gradient border on hover */
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--teal));
  z-index: -1;
  opacity: 0;
  transition: opacity .5s;
}
.card:hover::before { opacity: 1; }

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.card:hover .card-img { transform: scale(1.05); }

.card-img-wrapper {
  position: relative;
  overflow: hidden;
}

.card-body { padding: var(--space-xl); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(232,73,29,.1), rgba(240,180,41,.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--primary);
}

.card-title { font-size: 1.2rem; margin-bottom: var(--space-sm); }
.card-text  { font-size: .95rem; color: var(--text-secondary); line-height: 1.6; }

.card-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: .9rem;
  color: var(--primary);
  transition: gap .3s var(--ease-out);
}
.card-link:hover { gap: var(--space-sm); }

/* Dark card variant */
.card--dark {
  background: var(--dark-card);
  border-color: var(--dark-border);
  color: #fff;
}
.card--dark .card-title { color: #fff; }
.card--dark .card-text  { color: rgba(255,255,255,.6); }

/* ---------- Service Card ---------- */
.service-card .card-img-wrapper { overflow: hidden; }

/* ---------- Offer Card (from other AI) ---------- */
.offer-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
}
.offer-price {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-md);
}
.offer-price small {
  display: block;
  font-size: .85rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

/* ---------- Service Kicker ---------- */
.service-kicker {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  background: rgba(232,73,29,.08);
  padding: .3rem .8rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

/* ---------- List Check ---------- */
.list-check li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: var(--space-sm);
  font-size: .95rem;
  color: var(--text-secondary);
}
.list-check li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* ---------- Partner Note ---------- */
.partner-note {
  background: rgba(232,73,29,.05);
  border-left: 3px solid var(--primary);
  padding: var(--space-lg) var(--space-xl);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .9rem;
  color: var(--text-secondary);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .3s;
}
.faq-item[open] { border-color: var(--primary); }
.faq-item summary {
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform .3s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: .95rem;
}

/* ---------- Pricing ---------- */
.pricing-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-align: center;
  border: 2px solid var(--border);
  transition: all .5s var(--ease-out);
  position: relative;
}
.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: linear-gradient(180deg, var(--surface) 0%, rgba(232,73,29,.03) 100%);
}
.pricing-card.featured::before {
  content: attr(data-label);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: var(--space-xs) var(--space-lg);
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.pricing-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}
.pricing-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.pricing-price .currency { font-size: 1.5rem; vertical-align: super; }
.pricing-price .period   { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-description { font-size: .95rem; color: var(--text-secondary); margin-bottom: var(--space-xl); }
.pricing-features { text-align: left; margin-bottom: var(--space-xl); }
.pricing-features li {
  padding: var(--space-sm) 0;
  font-size: .95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ---------- Client Logos ---------- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-md);
}
.logo-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85px;
  transition: all .4s var(--ease-out);
}
.logo-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}
.logo-item img {
  max-height: 45px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .5;
  transition: all .4s;
}
.logo-item:hover img { filter: grayscale(0%); opacity: 1; }

/* Dark logo grid */
.section--dark .logo-item {
  background: var(--dark-card);
  border-color: var(--dark-border);
}

/* ---------- Ficha (Profile Card) ---------- */
.ficha-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all .5s var(--ease-out);
}
.ficha-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.ficha-header {
  background: linear-gradient(135deg, var(--secondary), var(--dark));
  padding: var(--space-xl);
  text-align: center;
}
.ficha-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  background: #fff;
  margin: 0 auto var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
}
.ficha-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ficha-name { color: #fff; font-size: 1.2rem; margin-bottom: var(--space-xs); }
.ficha-category {
  display: inline-block;
  background: rgba(255,255,255,.1);
  color: var(--accent);
  padding: .2rem .7rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 600;
}
.ficha-body { padding: var(--space-xl); }
.ficha-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: .9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}
.ficha-detail:last-child { border-bottom: none; }
.ficha-detail .icon { width: 20px; text-align: center; color: var(--primary); flex-shrink: 0; }
.ficha-detail a { color: var(--primary); font-weight: 500; }
.ficha-detail a:hover { text-decoration: underline; }

/* Portfolio meta tags */
.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}
.portfolio-tag {
  display: inline-block;
  background: rgba(232,73,29,.08);
  color: var(--primary);
  padding: .2rem .6rem;
  border-radius: var(--radius-full);
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.client-result {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--accent-light);
  border-radius: var(--radius);
  font-size: .85rem;
  font-weight: 600;
  color: #8b6914;
}

/* ---------- Contact Grid ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}
.contact-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent), var(--teal));
}
.timeline-item {
  position: relative;
  padding-bottom: var(--space-2xl);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-3rem + -5px);
  top: .4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  margin-bottom: var(--space-xs);
}

/* ---------- Parallax ---------- */
.parallax-section {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: var(--space-5xl) 0;
  text-align: center;
}
.parallax-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,.85), rgba(13,27,42,.7));
}
.parallax-section > * { position: relative; z-index: 1; }
@supports (-webkit-touch-callout: none) {
  .parallax-section { background-attachment: scroll; }
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--teal));
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 auto var(--space-lg);
  transition: all .4s var(--ease-out);
}
.process-step:hover .process-number {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}
@media (max-width: 768px) { .process-grid { grid-template-columns: repeat(2,1fr); } .process-grid::before { display: none; } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  right: var(--space-xl);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .2;
}
.testimonial-text { font-size: 1.05rem; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: var(--space-lg); }
.testimonial-author { display: flex; align-items: center; gap: var(--space-md); }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: #fff; font-size: .85rem;
}
.testimonial-name { font-weight: 700; font-size: .95rem; }
.testimonial-role { font-size: .85rem; color: var(--text-muted); }

/* ---------- Sector Cards ---------- */
.sector-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: all .5s var(--ease-out);
}
.sector-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector-icon { font-size: 2.5rem; margin-bottom: var(--space-md); }
.sector-list li { position: relative; padding-left: 1.5rem; margin-bottom: var(--space-xs); font-size: .9rem; color: var(--text-secondary); }
.sector-list li::before { content: '→'; position: absolute; left: 0; color: var(--primary); }

/* ---------- Form ---------- */
.form-group { margin-bottom: var(--space-lg); }
.form-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: var(--space-xs); color: var(--text); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .9rem var(--space-md);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232,73,29,.1);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-hp { position: absolute; left: -9999px; }

/* ---------- Split Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}
.split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) { .split { grid-template-columns: 1fr; } .split--reverse .split-img { order: -1; } }

/* ---------- Tech Grid ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: var(--space-md);
}
.tech-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .4s var(--ease-out);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.tech-item:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tech-item .tech-icon { font-size: 2rem; margin-bottom: var(--space-xs); display: block; }

/* ---------- Feature List ---------- */
.feature-list { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--space-xl); }
.feature-item { display: flex; gap: var(--space-md); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(232,73,29,.1), rgba(240,180,41,.1));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.3rem; color: var(--primary);
}
.feature-content h4 { font-size: 1rem; margin-bottom: var(--space-xs); }
.feature-content p { font-size: .9rem; margin: 0; }
@media (max-width: 768px) { .feature-list { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: calc(80px + var(--space-2xl)) 0 var(--space-lg); font-size: .85rem; }
.breadcrumb-list { display: flex; align-items: center; gap: var(--space-sm); flex-wrap: wrap; }
.breadcrumb-list li + li::before { content: '›'; margin-right: var(--space-sm); color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .current { color: var(--text); font-weight: 600; }

/* ---------- Page Header ---------- */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--secondary) 60%, #1a3350 100%);
  padding: calc(80px + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}
.page-header h1 { color: #fff; margin-bottom: var(--space-md); }
.page-header p { color: rgba(255,255,255,.65); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.page-header .breadcrumb-list { justify-content: center; margin-bottom: var(--space-xl); }
.page-header .breadcrumb-list a, .page-header .breadcrumb-list li::before { color: rgba(255,255,255,.4); }
.page-header .breadcrumb-list .current { color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding-top: var(--space-5xl);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(232,73,29,.06) 0%, transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}
.footer-brand { max-width: 320px; }
.footer-brand img { height: 48px; margin-bottom: var(--space-lg); }
.footer-brand p { color: rgba(255,255,255,.5); font-size: .9rem; }
.footer-title { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: var(--space-lg); text-transform: uppercase; letter-spacing: .1em; }
.footer-links li { margin-bottom: var(--space-sm); }
.footer-links a { font-size: .9rem; color: rgba(255,255,255,.5); transition: color .3s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact-item { display: flex; align-items: flex-start; gap: var(--space-sm); margin-bottom: var(--space-md); font-size: .9rem; }
.footer-contact-item .icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: .8rem;
  color: rgba(255,255,255,.35);
}
.footer-legal a { color: rgba(255,255,255,.4); margin-left: var(--space-lg); }
.footer-legal a:hover { color: var(--primary); }
.footer-social { display: flex; gap: var(--space-sm); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5);
  transition: all .4s var(--ease-out);
  font-size: 1.1rem;
}
.footer-social a:hover { background: var(--primary); color: #fff; transform: translateY(-4px); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ---------- WhatsApp Float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all .4s var(--ease-out);
  animation: pulse-glow 2.5s infinite;
}
.wa-float:hover { transform: scale(1.12) translateY(-4px); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  transform: translateY(100%);
  transition: transform .5s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner.hidden { display: none; }
.cookie-banner p { font-size: .85rem; color: rgba(255,255,255,.7); margin: 0; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; text-align: center; } }

/* ---------- Animations (Scroll Reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-right { opacity: 0; transform: translateX(50px);  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: .1s; }
.stagger > *:nth-child(3) { transition-delay: .2s; }
.stagger > *:nth-child(4) { transition-delay: .3s; }
.stagger > *:nth-child(5) { transition-delay: .4s; }
.stagger > *:nth-child(6) { transition-delay: .5s; }

/* ---------- Legal Pages ---------- */
.legal-content { max-width: var(--container-narrow); margin: 0 auto; padding: var(--space-3xl) var(--space-xl); }
.legal-content h2 { font-size: 1.5rem; margin-top: var(--space-2xl); margin-bottom: var(--space-md); padding-bottom: var(--space-sm); border-bottom: 2px solid var(--border); }
.legal-content h3 { font-size: 1.15rem; margin-top: var(--space-xl); margin-bottom: var(--space-sm); }
.legal-content p, .legal-content li { font-size: .95rem; line-height: 1.8; color: var(--text-secondary); }
.legal-content ul { padding-left: var(--space-xl); margin-bottom: var(--space-md); }
.legal-content ul li { list-style: disc; margin-bottom: var(--space-xs); }
.legal-content table { width: 100%; border-collapse: collapse; margin: var(--space-lg) 0; font-size: .9rem; }
.legal-content table th, .legal-content table td { padding: var(--space-sm) var(--space-md); border: 1px solid var(--border); text-align: left; }
.legal-content table th { background: var(--secondary); color: #fff; font-weight: 600; }

/* ---------- 404 ---------- */
.page-404 { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 .error-code {
  font-family: var(--font-heading);
  font-size: clamp(8rem, 20vw, 14rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: .2;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: var(--space-sm) var(--space-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .wa-float, .cookie-banner, .announcement-bar, .nav-toggle, .cursor { display: none !important; }
  body { background: #fff; color: #000; }
  section { padding: 1.5rem 0; }
}
