/* =============================================
   DESIGN SYSTEM — Digitaliza Coruña
   Primary: #0B1628 (Navy Dark)
   Accent:  #F97316 (Orange)
   Surface: #112140 (Navy Mid)
   Text:    #FFFFFF / #94A3B8
============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0B1628;
  --surface:   #112140;
  --surface2:  #1a2f52;
  --border:    rgba(255,255,255,0.08);
  --orange:    #F97316;
  --orange-h:  #ea6a0a;
  --orange-glow: rgba(249,115,22,0.25);
  --white:     #FFFFFF;
  --gray:      #94A3B8;
  --gray-lt:   #CBD5E1;
  --font-h:    'Poppins', sans-serif;
  --font-b:    'Inter', sans-serif;
  --radius:    14px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,0.35);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.45);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4 { font-family: var(--font-h); line-height: 1.2; }

a { color: inherit; text-decoration: none; }

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

section { padding: 88px 0; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Utility */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249,115,22,0.15);
  color: var(--orange);
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 14px;
  font-family: var(--font-h);
  letter-spacing: 0.02em;
}

.section-label {
  text-align: center;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--gray);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.orange { color: var(--orange); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-h);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-h);
  box-shadow: 0 6px 28px rgba(249,115,22,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.45);
}

.btn-lg { padding: 17px 36px; font-size: 16px; border-radius: 12px; }

/* Card */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.22s, box-shadow 0.22s;
}
.card:hover {
  border-color: rgba(249,115,22,0.3);
  box-shadow: 0 8px 32px rgba(249,115,22,0.08);
}

/* Icon box */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(249,115,22,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =============================================
   WHATSAPP FLOAT CTA
============================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  border-radius: 56px;
  padding: 14px 22px 14px 16px;
  font-family: var(--font-h);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 36px rgba(37,211,102,0.55);
}
.wa-float svg { flex-shrink: 0; }
@media (max-width: 600px) {
  .wa-float { padding: 14px; border-radius: 50%; }
  .wa-float-text { display: none; }
}

/* =============================================
   NAVBAR
============================================= */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  background: rgba(11,22,40,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-h);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-lt);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: #0B1628;
  border-bottom: 1px solid var(--border);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-lt);
  padding: 8px 0;
}

/* =============================================
   HERO
============================================= */
#hero {
  padding-top: 140px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 30%, rgba(249,115,22,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(17,33,64,0.8) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-eyebrow {
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--gray);
  font-size: 13px;
}

.trust-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

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

.phone-mockup {
  width: 300px;
  background: #1a1a2e;
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
}

.phone-screen {
  background: #0f1923;
  border-radius: 28px;
  overflow: hidden;
}

.phone-header {
  background: #075e54;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F97316, #ff9a56);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.phone-contact h4 {
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-b);
}
.phone-contact p {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-b);
}

.chat-messages {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
}

.msg {
  max-width: 80%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  font-family: var(--font-b);
}

.msg-in {
  background: #202c33;
  border-radius: 2px 12px 12px 12px;
  align-self: flex-start;
  color: #e9edef;
}

.msg-out {
  background: #005c4b;
  border-radius: 12px 2px 12px 12px;
  align-self: flex-end;
  color: #e9edef;
}

.msg-bot {
  background: #1a2942;
  border: 1px solid rgba(249,115,22,0.3);
  border-radius: 12px;
  align-self: flex-start;
  color: #e9edef;
  max-width: 90%;
}

.msg-time {
  font-size: 9px;
  color: rgba(255,255,255,0.4);
  text-align: right;
  margin-top: 3px;
}

.chat-btn {
  display: block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.35);
  color: #F97316;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  text-align: center;
  font-family: var(--font-h);
}

.float-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-h);
  box-shadow: var(--shadow);
  white-space: nowrap;
}

.float-badge-1 {
  top: -16px;
  right: -20px;
  color: #22c55e;
}

.float-badge-2 {
  bottom: 20px;
  left: -28px;
  color: var(--orange);
}

.float-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

/* =============================================
   PROBLEM SECTION
============================================= */
#problema {
  background: linear-gradient(180deg, var(--bg) 0%, #0d1b32 100%);
}

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

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.22s;
}
.problem-card:hover { border-color: rgba(239,68,68,0.3); }

.problem-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(239,68,68,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 5px;
}

.problem-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* =============================================
   SOLUTION SECTION
============================================= */
#solucion {
  background: var(--bg);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.22s;
}
.solution-card:hover {
  border-color: rgba(249,115,22,0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.08);
}

.solution-card h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 14px 0 8px;
}

.solution-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* =============================================
   HOW IT WORKS
============================================= */
#como-funciona {
  background: linear-gradient(180deg, #0d1b32 0%, var(--bg) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249,115,22,0.3), rgba(249,115,22,0.3), transparent);
}

.step {
  padding: 0 20px 0;
  text-align: center;
  position: relative;
}

.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid rgba(249,115,22,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  position: relative;
  z-index: 1;
}

.step h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* =============================================
   PRICING
============================================= */
#precios {
  background: var(--bg);
}

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

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.22s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 1px var(--orange), 0 16px 48px rgba(249,115,22,0.15);
  transform: scale(1.03);
  background: linear-gradient(160deg, #1a2f52 0%, var(--surface) 100%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-family: var(--font-h);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pricing-plan {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 8px;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  margin-bottom: 6px;
}

.price-amount {
  font-family: var(--font-h);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.price-suffix {
  font-size: 14px;
  color: var(--gray);
  padding-bottom: 6px;
}

.pricing-monthly {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 24px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--gray-lt);
  margin-bottom: 28px;
  line-height: 1.6;
}

.pricing-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--gray-lt);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.check-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.btn-pricing {
  width: 100%;
  justify-content: center;
}

/* =============================================
   USE CASES
============================================= */
#casos {
  background: linear-gradient(180deg, #0d1b32 0%, var(--bg) 100%);
}

.cases-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 11px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--gray-lt);
  font-family: var(--font-h);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.tab-btn:hover {
  border-color: rgba(249,115,22,0.35);
  color: var(--white);
}

.tab-btn.active {
  background: rgba(249,115,22,0.14);
  border-color: rgba(249,115,22,0.55);
  color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249,115,22,0.06), inset 0 0 0 1px rgba(249,115,22,0.2);
  font-weight: 600;
}

.tab-btn:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.cases-content {
  display: none;
}
.cases-content.active {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: stretch;
  animation: fadeUp 0.35s ease;
}

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

.case-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-text h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.case-text p {
  font-size: 15.5px;
  color: var(--gray-lt);
  margin-bottom: 28px;
  line-height: 1.7;
}

.case-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--gray-lt);
  line-height: 1.55;
}

.case-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.case-visual {
  position: relative;
  background: linear-gradient(180deg, var(--surface) 0%, #0e1c34 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 36px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.04);
}
.case-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(180deg, rgba(249,115,22,0.18) 0%, transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* =============================================
   BENEFITS
============================================= */
#beneficios {
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.22s;
}
.benefit-card:hover {
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: rgba(249,115,22,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.benefit-card h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

/* =============================================
   FAQ
============================================= */
#faq {
  background: linear-gradient(180deg, #0d1b32 0%, var(--bg) 100%);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.22s, background 0.22s;
}
.faq-item:hover { border-color: rgba(255,255,255,0.16); }
.faq-item.open {
  border-color: rgba(249,115,22,0.32);
  background: linear-gradient(180deg, var(--surface) 0%, #142545 100%);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--white);
  font-family: var(--font-h);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-q:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
}

.faq-item.open .faq-icon {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-a { max-height: 1200px; }

.faq-a-inner {
  padding: 4px 22px 22px;
  font-size: 14.5px;
  color: var(--gray-lt);
  line-height: 1.75;
}
.faq-a-inner strong {
  color: var(--white);
  font-weight: 600;
}

/* =============================================
   SECTOR MINI-FLOW (inside cases)
============================================= */
.case-flow-label {
  font-size: 10.5px;
  font-family: var(--font-h);
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.case-flow-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
.case-flow {
  background: #0a1224;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
  max-width: 100%;
  overflow: hidden;
}
.case-flow .msg {
  font-size: 12.5px;
  max-width: 86%;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.case-result {
  position: relative;
  background: linear-gradient(180deg, rgba(249,115,22,0.06) 0%, rgba(249,115,22,0.02) 100%);
  border: 1px solid rgba(249,115,22,0.18);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--gray-lt);
  line-height: 1.65;
}
.case-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
}

/* =============================================
   FINAL CTA
============================================= */
#cta-final {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f1e38 0%, #1a2f52 50%, #0f1e38 100%);
  position: relative;
  overflow: hidden;
}

#cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(249,115,22,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 18px;
}

.cta-sub {
  font-size: 17px;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: #070e1c;
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}

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

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  margin-top: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-h);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }

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

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 260px; }
  .steps-grid::before { display: none; }
  .steps-grid { gap: 32px; }
  .cases-content.active { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  #sobre-mi .container > div { grid-template-columns: 1fr !important; gap: 40px !important; }
}

@media (max-width: 860px) {
  .cases-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 4px 4px 12px;
    margin: 0 -24px 32px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .cases-tabs::-webkit-scrollbar { display: none; }
  .cases-tabs::before,
  .cases-tabs::after {
    content: '';
    flex: 0 0 20px;
  }
  .tab-btn { scroll-snap-align: center; flex-shrink: 0; }
  .case-visual { padding: 22px; }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .hero-title { font-size: 28px; line-height: 1.2; }
  .hero-sub { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; font-size: 15px; padding: 15px 24px; }
  .problem-grid { grid-template-columns: 1fr; }
  .solution-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
  .pricing-grid { max-width: 100% !important; }
  .tab-btn { font-size: 12.5px; padding: 9px 16px; }
  .case-text h3 { font-size: 22px; }
  .case-text p { font-size: 14.5px; }
  .case-flow .msg { font-size: 12px; max-width: 90%; }
  .case-result { font-size: 13px; }
  .wa-float { bottom: 20px; right: 20px; }
}

@media (max-width: 400px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Active nav link */
.nav-links a.active {
  color: var(--orange);
  font-weight: 600;
}
/* First section on subpages: extra clearance under fixed navbar (68px) */
section.page-first { padding-top: 128px; }
@media (max-width: 600px) {
  section.page-first { padding-top: 104px; }
}

/* Page intro eyebrow shown above the first section's title on subpages */
.page-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.page-eyebrow-trail {
  font-size: 12.5px;
  font-family: var(--font-h);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.page-eyebrow-trail a {
  color: var(--gray);
  transition: color 0.2s;
}
.page-eyebrow-trail a:hover { color: var(--orange); }
.page-eyebrow-trail svg {
  opacity: 0.5;
  flex-shrink: 0;
}

/* =============================================
   CONTACT FORM
============================================= */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-h);
  color: var(--gray-lt);
  letter-spacing: 0.02em;
}
.form-field label .req { color: var(--orange); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  background: #0a1224;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-b);
  font-size: 14px;
  color: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(148,163,184,0.55); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(249,115,22,0.55);
  background: #0d1730;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.12);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-field select option { background: #0a1224; color: var(--white); }
.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}
.form-consent { margin-top: 4px; }
.form-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.55;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--orange);
  flex-shrink: 0;
}
.form-submit {
  justify-content: center;
  margin-top: 6px;
}
.form-note {
  text-align: center;
  font-size: 12.5px;
  color: var(--gray);
  margin-top: 4px;
}
.form-feedback {
  text-align: center;
  font-size: 13.5px;
  font-weight: 600;
  font-family: var(--font-h);
  padding: 0;
  border-radius: 10px;
  transition: all 0.25s;
  max-height: 0;
  overflow: hidden;
}
.form-feedback.success {
  background: rgba(34,197,94,0.1);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.25);
  padding: 12px 16px;
  max-height: 120px;
}
.form-feedback.error {
  background: rgba(239,68,68,0.1);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.25);
  padding: 12px 16px;
  max-height: 120px;
}

/* Contact channel cards */
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.contact-card-wa { border-color: rgba(37,211,102,0.22); }
.contact-card-wa:hover { border-color: rgba(37,211,102,0.45); }
.contact-card-email { border-color: rgba(249,115,22,0.18); }
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  #contacto-hero .container > div:last-child {
    grid-template-columns: 1fr !important;
  }
}