@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&display=swap');

:root {
  /* Esquema corporativo Doctor Phone (Pantone 3272) - Dark (Default) */
  --bg-color: #050806;
  --bg-secondary: #0a100c;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #00A480;
  --secondary: #007D60;
  --accent: #00E5B3;

  /* Superficies UI */
  --surface-card: rgba(255, 255, 255, 0.03);
  --surface-feature: rgba(10, 16, 12, 0.5);
  --surface-nav: rgba(5, 8, 6, 0.85);
  --surface-nav-scrolled: rgba(5, 8, 6, 0.98);
  --surface-footer: #030504;
  --border-light: rgba(255, 255, 255, 0.06);
  --btn-secondary-bg: rgba(255, 255, 255, 0.05);
  --bg-radial-end: rgba(5, 8, 6, 1);
  --bg-radial-start: rgba(0, 164, 128, 0.12);
  --map-filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
  --footer-heading: white;
  --shadow-hover: rgba(0, 164, 128, 0.15);
  --shadow-nav: rgba(0, 0, 0, 0.1);
  --shadow-nav-scrolled: 0 4px 30px rgba(0, 0, 0, 0.5);
  --tabs-bg: rgba(255, 255, 255, 0.02);
  --tabs-header: rgba(5, 8, 6, 0.8);
}

@media (prefers-color-scheme: light) {
  :root {
    --bg-color: #f8fafc;
    --bg-secondary: #f1f5f9;
    --text-main: #0f172a;
    --text-muted: #475569;
    --surface-card: #ffffff;
    --surface-feature: #ffffff;
    --surface-nav: rgba(255, 255, 255, 0.9);
    --surface-nav-scrolled: rgba(255, 255, 255, 0.98);
    --surface-footer: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.08);
    --btn-secondary-bg: #ffffff;
    --bg-radial-end: rgba(248, 250, 252, 1);
    --bg-radial-start: rgba(0, 164, 128, 0.06);
    --map-filter: none;
    --footer-heading: #0f172a;
    --shadow-hover: rgba(0, 0, 0, 0.08);
    --shadow-nav: rgba(0, 0, 0, 0.05);
    --shadow-nav-scrolled: 0 4px 20px rgba(0, 0, 0, 0.08);
    --tabs-bg: #ffffff;
    --tabs-header: #e2e8f0;
  }

  /* ==== NAV siempre oscuro en light-mode ==== */
  nav {
    background: #050806;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  nav.scrolled {
    background: #050806;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links a {
    color: #f8fafc;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary);
  }

  .hamburger span {
    background: #f8fafc;
  }
}

/* ===== RESET & BASE ===== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== TECH BACKGROUND ===== */

.tech-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(0, 164, 128, 0.15) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -2;
}

.tech-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 0%, var(--bg-radial-start) 0%, var(--bg-radial-end) 70%);
  z-index: -1;
  transition: background 0.3s ease;
}

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

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: var(--surface-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px var(--shadow-nav);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

nav.scrolled {
  background: var(--surface-nav-scrolled);
  box-shadow: var(--shadow-nav-scrolled);
  padding: 0.7rem 5%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
  font-size: 0.95rem;
  position: relative;
}

.nav-links a:not(.btn-nav-call):not(.btn-nav-ws)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav-call):not(.btn-nav-ws):hover::after,
.nav-links a:not(.btn-nav-call):not(.btn-nav-ws).active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Nav CTA buttons */
.btn-nav-call {
  padding: 0.4rem 0.9rem;
  background: transparent;
  color: var(--text-main) !important;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  transition: all 0.3s ease !important;
  font-size: 0.9rem;
}

.btn-nav-call:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-nav-ws {
  padding: 0.4rem 0.9rem;
  background: #25d366;
  border: 1px solid #25d366;
  color: white !important;
  border-radius: 8px;
  transition: all 0.3s ease !important;
  font-size: 0.9rem;
}

.btn-nav-ws:hover {
  background: #128C7E;
  border-color: #128C7E;
  box-shadow: 0 0 12px rgba(37, 211, 102, 0.4);
}

/* Theme toggle */
.theme-btn {
  background: transparent;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  margin-left: 1.2rem;
  padding: 0.3rem;
  transition: transform 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
}

.theme-btn:hover {
  transform: scale(1.15) rotate(15deg);
}

/* Language picker */
.lang-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  margin-right: 0.8rem;
  z-index: 1000;
}

.lang-picker > a:not([style*="opacity: 1"]) {
  display: none;
}

.lang-picker.open {
  background: var(--surface-nav);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px;
  position: absolute;
  top: 45px;
  right: 0;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.lang-picker.open > a {
  display: block !important;
  opacity: 1 !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 1rem;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text-main);
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(5, 8, 6, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  padding: 100px 2rem 2rem;
  flex-direction: column;
  gap: 0.5rem;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 1px solid var(--border-light);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer a {
  color: #f8fafc;
  text-decoration: none;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-drawer a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.mobile-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 140;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.open {
  opacity: 1;
}

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

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  margin-top: 2rem;
  position: relative;
}

/* Animated gradient glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 164, 128, 0.2) 0%, rgba(0, 229, 179, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: heroGlow 6s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate(-50%, -55%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -55%) scale(1.3); opacity: 1; }
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

p.subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 2.5rem;
}

/* ===== TRUST BAR ===== */

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 5%;
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.trust-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.trust-item .trust-icon {
  font-size: 1.4rem;
}

.trust-highlight {
  font-weight: 700;
  color: var(--text-main);
}

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

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  box-shadow: 0 4px 20px rgba(0, 164, 128, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 164, 128, 0.45);
}

.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 25px rgba(0, 164, 128, 0.15);
}

/* ===== SECTION GENERICS ===== */

.section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  position: relative;
}

.section-title span {
  color: var(--primary);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 1.2rem auto 3rem;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 800px;
  margin: -2rem auto 3rem;
  font-size: 1.1rem;
}

.bg-light {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s ease;
}

/* ===== SERVICE CARDS (Glassmorphism) ===== */

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px -15px var(--shadow-hover);
  border-color: rgba(0, 164, 128, 0.2);
}

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

.icon-wrapper {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 164, 128, 0.1);
  width: 72px;
  height: 72px;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .icon-wrapper {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 164, 128, 0.2);
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Service card internal links */
.card-links {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.silo-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.silo-link:hover {
  color: var(--primary);
  transform: translateX(6px);
}

/* ===== TABS (Brands Section) ===== */

.tabs-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--tabs-bg);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.tabs-header {
  display: flex;
  background: var(--tabs-header);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 1.1rem 1rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  font-family: inherit;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.02);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(0, 164, 128, 0.05);
}

.tabs-content {
  padding: 2.5rem;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-pane.active {
  display: block;
}

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

.brand-group {
  margin-bottom: 2rem;
}

.brand-group:last-child {
  margin-bottom: 0;
}

.brand-group h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  border-left: 3px solid var(--secondary);
  padding-left: 0.8rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.tags span {
  background: rgba(0, 164, 128, 0.1);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 164, 128, 0.2);
  transition: all 0.3s ease;
}

.tags span:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 164, 128, 0.3);
}

.seo-text {
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 1rem;
}

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

/* ===== FEATURES GRID (Ventajas) ===== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  text-align: center;
}

.feature-item {
  padding: 2.5rem 2rem;
  background: var(--surface-feature);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px -10px var(--shadow-hover);
  border-color: rgba(0, 164, 128, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.15);
}

.feature-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.feature-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== REVIEWS ===== */

.reviews-grid {
  column-count: 3;
  column-gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.review-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  padding: 2rem;
  border-radius: 16px;
  break-inside: avoid;
  margin-bottom: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Decorative quote mark */
.review-card::before {
  content: '"';
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: rgba(0, 164, 128, 0.08);
  line-height: 1;
  pointer-events: none;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 164, 128, 0.25);
  box-shadow: 0 12px 35px -10px var(--shadow-hover);
}

/* Left accent on hover */
.review-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.review-card:hover::after {
  opacity: 1;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.reviewer-info h4 {
  color: var(--text-main);
  font-size: 1.05rem;
  margin-bottom: 0.1rem;
  font-weight: 600;
}

.stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.review-card > p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  font-style: italic;
}

.review-date {
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.5);
}

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

footer {
  background: var(--surface-footer);
  padding: 4rem 5% 2rem;
  border-top: 1px solid var(--border-light);
  transition: background 0.3s ease;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

footer h3, footer h4 {
  margin-bottom: 1.2rem;
  color: var(--footer-heading);
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-light);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Map */
.map-frame {
  border-radius: 12px;
  filter: var(--map-filter);
  transition: filter 0.3s ease;
}

/* ===== WHATSAPP FLOAT ===== */

.float-ws {
  position: fixed;
  height: 56px;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  gap: 10px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  text-decoration: none;
}

.float-ws::after {
  content: "QUIERO REPARAR MI DISPOSITIVO";
  font-family: 'Outfit', sans-serif;
  white-space: nowrap;
}

.float-ws:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: scale(1.05);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== PRICING TABLES ===== */

.pricing-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.pricing-section .section-title {
  margin-bottom: 1.5rem;
}

.pricing-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.price-table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  background: var(--surface-card);
  margin-bottom: 2rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  min-width: 600px;
}

.price-table thead {
  background: linear-gradient(135deg, rgba(0, 164, 128, 0.15), rgba(0, 125, 96, 0.1));
}

.price-table th {
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary);
  white-space: nowrap;
}

.price-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-main);
  transition: background 0.2s ease;
  vertical-align: middle;
}

.price-table tbody tr {
  transition: all 0.3s ease;
}

.price-table tbody tr:hover {
  background: rgba(0, 164, 128, 0.05);
}

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

.price-table .model-name {
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-table .model-name .model-emoji {
  font-size: 1.3rem;
}

.price-table .price-cell {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  white-space: nowrap;
}

.price-table .price-cell small {
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

.price-table .consult-price {
  color: var(--text-muted);
  font-weight: 500;
  font-style: italic;
}

.price-table .btn-ws-sm {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: #25d366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.price-table .btn-ws-sm:hover {
  background: #128C7E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.price-badge {
  display: inline-block;
  background: rgba(0, 164, 128, 0.12);
  color: var(--primary);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 0.3rem;
  vertical-align: middle;
}

.price-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(0, 164, 128, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(0, 164, 128, 0.1);
}

.price-note strong {
  color: var(--primary);
}

/* CTA Banner */
.cta-prices-banner {
  background: linear-gradient(135deg, rgba(0, 164, 128, 0.08), rgba(0, 125, 96, 0.04));
  border: 1px solid rgba(0, 164, 128, 0.15);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  transition: all 0.3s ease;
}

.cta-prices-banner:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 40px rgba(0, 164, 128, 0.1);
}

.cta-prices-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.cta-prices-banner h3 span {
  color: var(--primary);
}

.cta-prices-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ===== ACCESSIBILITY ===== */

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px dashed var(--primary);
  outline-offset: 4px;
}

/* ===== REVEAL ANIMATIONS ===== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.grid-container .service-card.reveal:nth-child(2) { transition-delay: 80ms; }
.grid-container .service-card.reveal:nth-child(3) { transition-delay: 160ms; }
.grid-container .service-card.reveal:nth-child(4) { transition-delay: 240ms; }

.features-grid .feature-item.reveal:nth-child(2) { transition-delay: 100ms; }
.features-grid .feature-item.reveal:nth-child(3) { transition-delay: 200ms; }

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

@media (max-width: 1024px) {
  .reviews-grid {
    column-count: 2;
  }
}

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

  .hamburger {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

  .hero {
    margin-top: 4rem;
    min-height: 85vh;
  }

  .hero::before {
    width: 350px;
    height: 350px;
  }

  .section {
    padding: 4rem 5%;
  }

  .section-title {
    font-size: 2rem;
  }

  .trust-bar {
    gap: 1.5rem;
    margin-top: 0;
  }

  .trust-number {
    font-size: 1.3rem;
  }

  .trust-item {
    font-size: 0.9rem;
  }

  .tabs-header {
    flex-direction: column;
  }

  .tabs-content {
    padding: 1.5rem;
  }

  .reviews-grid {
    column-count: 1;
  }

  .float-ws {
    width: calc(100% - 32px);
    height: 56px;
    bottom: 14px;
    left: 16px;
    right: 16px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    gap: 10px;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  }

  .float-ws::after {
    content: "¿Urgencia? Háblanos";
    font-family: 'Outfit', sans-serif;
  }

  .float-ws svg {
    width: 26px;
    height: 26px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 3rem 3%;
  }

  .price-table th,
  .price-table td {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .price-table .price-cell {
    font-size: 1rem;
  }

  .price-table .btn-ws-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* =========================================
   CRO STYLES - RESPUESTA DIRECTA Y EMBUDO
   ========================================= */

/* Hero Ultra-Agresivo */
.cro-hero {
  padding-top: 100px;
  min-height: 85vh;
}
.hero-badge {
  display: inline-block;
  background: rgba(0, 164, 128, 0.15);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0, 229, 179, 0.2);
}
.cro-h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 900px;
  margin: 0 auto 1.5rem;
}
.cro-subtitle {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  color: var(--text-main);
}
.cro-subtitle strong {
  color: var(--accent);
}
.cro-btn-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
.btn-ws-giant {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #25d366;
  color: #fff !important;
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
  width: 100%;
  max-width: 500px;
  border: 2px solid #20bd5a;
}
.btn-ws-giant:hover {
  transform: scale(1.03) translateY(-5px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
  background: #20bd5a;
}
.btn-ws-giant .btn-icon {
  font-size: 2.5rem;
  line-height: 1;
}
.btn-ws-giant .btn-texts {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-ws-giant .btn-main-text {
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}
.btn-ws-giant .btn-sub-text {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
}
.btn-call-outline {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 2px dashed var(--text-muted);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-call-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-proof {
  font-size: 1rem;
  color: var(--text-muted);
  background: var(--surface-card);
  padding: 0.8rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
}

/* Trust Bar Extrema */
.trust-bar-cro {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 5%;
  background: linear-gradient(to right, rgba(5,8,6,0.9), rgba(0,164,128,0.05), rgba(5,8,6,0.9));
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.trust-item-cro {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}
.trust-icon-cro {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 10px rgba(0, 164, 128, 0.4));
}
.trust-text-cro {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.trust-bold {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
}
.trust-light {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Pain Grid (Sección Averías) */
.cro-pain-section {
  padding: 6rem 5%;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.pain-card {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.pain-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--shadow-hover);
  border-color: rgba(0, 229, 179, 0.3);
}
.pain-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pain-card:hover::before { opacity: 1; }
.pain-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}
.pain-emoji { font-size: 2.5rem; }
.pain-header h3 { font-size: 1.4rem; color: var(--text-main); line-height: 1.2; }
.pain-body { flex-grow: 1; margin-bottom: 2rem; }
.pain-body p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.pain-list { list-style: none; }
.pain-list li { color: var(--text-main); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.pain-actions { display: flex; flex-direction: column; gap: 0.8rem; }
.pain-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 229, 179, 0.2);
  border-radius: 8px;
  transition: background 0.2s, padding-left 0.2s;
}
.pain-link:hover {
  background: rgba(0, 229, 179, 0.1);
  padding-left: 1.5rem;
}
.pain-btn-direct {
  background: var(--primary);
  color: #fff !important;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0, 164, 128, 0.3);
  transition: transform 0.2s, background 0.2s;
}
.pain-btn-direct:hover {
  transform: scale(1.02);
  background: var(--secondary);
}

/* Diferenciación Real */
.cro-diff-section .diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.diff-item {
  display: flex;
  gap: 15px;
  background: var(--surface-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-light);
}
.diff-check {
  font-size: 2rem;
  line-height: 1;
}
.diff-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.diff-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Pasos Sin Fricción */
.cro-steps .steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  align-items: center;
}
.step-card {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 2rem;
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  position: relative;
}
.step-number {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 20px rgba(0, 164, 128, 0.5);
}
.step-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}
.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.step-line {
  width: 40px;
  height: 2px;
  background: var(--border-light);
}

/* FAQ Anti-Objeciones */
.cro-faq .faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background: var(--surface-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover {
  border-color: rgba(0, 229, 179, 0.4);
}
.faq-item summary {
  padding: 1.5rem 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none; /* Elimina flecha nativa */
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}
.faq-item .faq-content {
  padding: 0 2rem 1.5rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

/* Footer & Mapeo Agresivo */
.cro-footer {
  background: var(--surface-footer);
  border-top: 1px solid var(--border-light);
}
.footer-cta-band {
  background: linear-gradient(135deg, var(--bg-secondary), rgba(0, 164, 128, 0.1));
  padding: 4rem 5%;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.footer-cta-band h3 { font-size: 2rem; margin-bottom: 1rem; color: var(--text-main); }
.footer-cta-band p { font-size: 1.1rem; color: var(--text-muted); }

/* Responsive adjustments for CRO elements */
@media (max-width: 991px) {
  .cro-h1 { font-size: 2.5rem; }
  .trust-bar-cro { grid-template-columns: 1fr 1fr; }
  .step-line { display: none; }
}
@media (max-width: 768px) {
  .cro-btn-group { flex-direction: column; width: 100%; }
  .trust-bar-cro { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .trust-item-cro { flex-direction: column; text-align: center; }
  .trust-text-cro { text-align: center; }
  .pain-grid { grid-template-columns: 1fr; }
}

/* WhatsApp Floater más fácil de tocar y animado */
.cro-float-ws {
  width: 70px;
  height: 70px;
  bottom: 25px;
  right: 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatPulse 2s infinite;
  z-index: 99;
}
.cro-float-ws svg {
  width: 40px;
  height: 40px;
}
@keyframes floatPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==== MOBILE STICKY BOTTOM CTA ==== */
.mobile-bottom-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--surface-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.mobile-bottom-cta .cta-bar {
  display: flex;
  width: 100%;
}

.mobile-bottom-cta a {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 1.2rem 0;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.mobile-bottom-cta .btn-cta-call {
  background: var(--surface-footer);
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
}

.mobile-bottom-cta .btn-cta-ws {
  background: #25d366;
  color: #fff;
}

@media (max-width: 768px) {
  .cro-float-ws {
    display: none !important;
  }
  .mobile-bottom-cta {
    display: block;
  }
  body {
    padding-bottom: 70px;
  }
}
