/* ============================================================
   ProyectaMX — styles.css v20260609
   Paleta: #04342C | #1D9E75 | #F9FAF8
   Tipografía: Inter 400/600/700/800
   ============================================================ */

/* ---- Reset & Variables ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #04342C;
  --teal:         #1D9E75;
  --teal-light:   #9FE1CB;
  --teal-soft:    #E1F5EE;
  --bg:           #F9FAF8;
  --text:         #222222;
  --text-muted:   #5a6a65;
  --border:       #d4e8e0;
  --white:        #ffffff;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:    0 2px 8px rgba(4,52,44,.08);
  --shadow:       0 8px 32px rgba(4,52,44,.12);
  --shadow-lg:    0 20px 60px rgba(4,52,44,.18);

  --nav-h:        68px;
  --transition:   .35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---- Splash ---- */
#splash {
  position: fixed;
  inset: 0;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: splashOut 1.6s forwards;
}
@keyframes splashOut {
  0%   { opacity: 1; visibility: visible; }
  75%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}
.splash-logo {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  animation: splashReveal 1s .3s both;
}
.splash-p { color: var(--teal); }
@keyframes splashReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  z-index: 900;
}
.nav.scrolled {
  background: rgba(249,250,248,.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  transition: color var(--transition);
}
.nav.scrolled .nav-logo { color: var(--green-dark); }
.logo-mark { color: var(--teal); }
.nav.scrolled .logo-mark { color: var(--teal); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}
.nav.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--teal); }
.nav.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: .875rem !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform .2s !important;
}
.nav-cta:hover { background: #16875f !important; transform: translateY(-1px); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.85);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.lang-switch:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }
.nav.scrolled .lang-switch { color: var(--text); border-color: var(--border); }
.nav.scrolled .lang-switch:hover { background: var(--teal-soft); border-color: var(--teal); }
.lang-switch-mobile {
  width: 100%;
  justify-content: center;
  color: var(--text);
  border-color: var(--border);
  font-size: .9rem;
  padding: 12px 20px;
}
.lang-switch-mobile:hover { background: var(--teal-soft); border-color: var(--teal); }

/* Ocultar UI por defecto de Google Translate y usar solo nuestro botón */
#google_translate_element,
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.skiptranslate > iframe { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: background var(--transition);
}
.nav.scrolled .nav-burger span { background: var(--text); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  padding: 20px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow);
  transform: translateY(-120%);
  transition: transform var(--transition);
  z-index: 850;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; }
.mobile-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  text-align: center;
  padding: 14px 24px !important;
  border-radius: var(--radius);
  border: none !important;
  margin-top: 8px;
}

/* ---- REVEAL animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net: after 6s make everything visible regardless of JS */
.reveal[data-split] { opacity: 1; transform: none; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 100px;
  transition: background var(--transition), transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #16875f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29,158,117,.35);
}
.btn-primary svg { flex-shrink: 0; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 24px;
  border: 1.5px solid rgba(255,255,255,.3);
  border-radius: 100px;
  transition: all var(--transition);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.7);
  transform: translateY(-2px);
}
.btn-large { font-size: 1.1rem; padding: 18px 36px; }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--green-dark);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%, rgba(29,158,117,.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 10% 80%, rgba(29,158,117,.15) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(29,158,117,.3) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(159,225,203,.15) 0%, transparent 70%);
  bottom: 0; left: 10%;
  animation: orbFloat 11s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0); }
  50%       { transform: translate(20px,-30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}
.hero-text { min-width: 0; }

/* ---- Hero visual (browser mockup + floating card) ---- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFloat 5s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-16px); }
}

/* Browser mockup */
.hv-browser {
  width: 100%;
  max-width: 320px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.hv-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,.05);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.hv-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}
.hv-dot:nth-child(1) { background: #FF5F57; }
.hv-dot:nth-child(2) { background: #FFBD2E; }
.hv-dot:nth-child(3) { background: #28CA42; }
.hv-url {
  flex: 1;
  text-align: center;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  background: rgba(255,255,255,.08);
  border-radius: 6px;
  padding: 3px 10px;
  margin-left: 6px;
}
.hv-screen { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.hv-bar {
  height: 28px;
  background: rgba(29,158,117,.35);
  border-radius: 6px;
}
.hv-bar--thin  { height: 10px; background: rgba(255,255,255,.1); }
.hv-bar--short { width: 65%; }
.hv-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.hv-block {
  height: 56px;
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}

/* Floating info card */
.hv-card {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  width: 160px;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  animation: heroFloat 5s ease-in-out infinite;
  animation-delay: .6s;
}
.hv-card-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hv-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  margin: 0 0 10px;
}
.hv-card-check {
  display: flex;
  gap: 6px;
  font-size: .78rem;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
}
.hv-card-check span {
  color: var(--teal);
  font-weight: 700;
  flex-shrink: 0;
}
.hv-card-sub {
  font-size: .72rem;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Mobile: hide visual on small screens, show compact badge */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-visual {
    display: none;
  }
  .hero-pills { align-items: center; }
  .hero-actions { justify-content: center; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29,158,117,.18);
  border: 1px solid rgba(29,158,117,.35);
  color: var(--teal-light);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  transition-delay: .1s;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  transition-delay: .15s;
}
.hero-headline em {
  font-style: normal;
  color: var(--teal-light);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
  line-height: 1.65;
  transition-delay: .2s;
}
.hero-sub strong { color: var(--teal-light); font-weight: 700; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  transition-delay: .25s;
}

/* -- Hero pills wrapper -- */
.hero-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 32px;
  transition-delay: .2s;
}
@media (max-width: 480px) {
  .hero-pills { align-items: stretch; }
}

/* -- Hero oferta badge -- */
.hero-oferta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,180,0,.55);
  color: #FFD166;
  font-size: .85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 100px;
  letter-spacing: .01em;
}
.hero-oferta-icon { font-style: normal; }

/* -- Hero trust line -- */
.hero-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 100px;
}
.hero-trust-check { font-size: 1rem; }

.hero-note {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  transition-delay: .3s;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 100px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.trust-bar-standalone {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-muted);
  padding: 12px 28px;
  transition-delay: calc(var(--i, 0) * .08s);
}
.trust-item svg { color: var(--teal); flex-shrink: 0; }
.trust-item strong { color: var(--text); font-weight: 700; }
.trust-sep {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ---- SECTION HEADERS ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-label.light { color: var(--teal-light); }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--green-dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

/* ---- EXPLORADOR POR RUBRO ---- */
.explorador {
  padding: 64px 0;
}
.explorador-card {
  background: linear-gradient(135deg, var(--green-dark) 0%, #052e27 100%);
  border: 1px solid rgba(159,225,203,.15);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.explorador-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(29,158,117,.32), transparent 70%);
  pointer-events: none;
}
.explorador-text { position: relative; z-index: 1; }
.explorador-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(159,225,203,.3);
  color: var(--teal-light);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.explorador-text h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.explorador-text p {
  color: var(--teal-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.explorador-tags {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.explorador-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(159,225,203,.22);
  color: var(--teal-light);
  font-size: .85rem;
  font-weight: 600;
  padding: 13px 16px;
  border-radius: 12px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, color .2s ease;
}
.explorador-tag:hover {
  background: rgba(29,158,117,.28);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .explorador-card { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .explorador-card { padding: 36px 24px; text-align: center; }
  .explorador-stat { display: table; margin: 0 auto 18px; }
  .explorador-tags { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .explorador-tags { grid-template-columns: 1fr; }
}

/* ---- PAQUETES ---- */
.paquetes {
  padding: 64px 0;
  background: var(--bg);
}

.paquetes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-xl);
  overflow: visible;
}

/* ---- Card base ---- */
.paquete-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}
.paquete-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
  z-index: 2;
}
.paquete-card:nth-child(1) { transition-delay: .05s; }
.paquete-card:nth-child(2) { transition-delay: .1s; }
.paquete-card:nth-child(3) { transition-delay: .15s; }

/* ---- Highlighted card ---- */
.paquete-destacado {
  background: var(--green-dark);
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px) scale(1.02);
  z-index: 3;
}
.paquete-destacado:hover { transform: translateY(-18px) scale(1.02); }

/* ---- Badge "Más solicitado" ---- */
.paquete-badge-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  background: var(--teal);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 16px;
  text-align: center;
  white-space: nowrap;
}

/* ---- Header band with package name ---- */
.paquete-header {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--border);
}
.paquete-destacado .paquete-header {
  padding-top: 44px; /* room for badge */
  border-color: rgba(255,255,255,.12);
}

.paquete-label {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--green-dark);
  margin-bottom: 16px;
  line-height: 1;
}
.paquete-destacado .paquete-label { color: var(--white); }

.paquete-precio {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.precio-tachado {
  font-size: .95rem;
  color: var(--text-muted);
  text-decoration: line-through;
}
.paquete-destacado .precio-tachado { color: rgba(255,255,255,.35); }

.precio-actual {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.paquete-destacado .precio-actual { color: var(--white); }
.precio-actual small {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.paquete-destacado .precio-actual small { color: rgba(255,255,255,.55); }

.paquete-entrega {
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.paquete-destacado .paquete-entrega { color: rgba(255,255,255,.45); }

/* ---- Features list ---- */
.paquete-features {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px 32px;
  flex: 1;
  font-size: .88rem;
  color: var(--text);
}
.paquete-destacado .paquete-features { color: rgba(255,255,255,.85); }
.paquete-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.check {
  color: var(--teal);
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0;
}
.paquete-destacado .check { color: var(--teal-light); }

/* ---- CTA button (pinned to bottom) ---- */
.btn-paquete {
  display: block;
  text-align: center;
  margin: 0 32px 28px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  border: 2px solid var(--teal);
  color: var(--teal);
  transition: all var(--transition);
}
.btn-paquete:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-paquete-pro {
  background: var(--teal);
  color: var(--white) !important;
  border-color: var(--teal);
}
.btn-paquete-pro:hover { background: #16875f; }

.paquetes-asesoria-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--green-dark);
  color: var(--teal-light);
  font-size: .85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
}
.paquetes-asesoria-badge svg { flex-shrink: 0; }

.renovacion {
  margin-top: 40px;
  text-align: center;
  font-size: .9rem;
  color: var(--text-muted);
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.renovacion strong { color: var(--text); }
.renovacion-nota {
  display: inline-block;
  margin-left: 8px;
  color: var(--teal);
  font-weight: 500;
  font-style: italic;
}

/* ---- PROCESO ---- */
.proceso {
  padding: 64px 0;
  background: var(--green-dark);
  overflow: hidden;
}
.proceso .section-header h2 { color: var(--white); }
.proceso .section-label { color: var(--teal-light); }

.proceso-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.proceso-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
}

.proceso-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), transparent);
  margin-top: 40px;
  opacity: .4;
}
.proceso-connector:last-of-type {
  background: linear-gradient(90deg, transparent, var(--teal));
}

.paso-num {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(29,158,117,.2);
  line-height: 1;
  margin-bottom: 20px;
  font-variant-numeric: tabular-nums;
}

.paso-contenido h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.paso-contenido p {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
}

/* ---- Algo más ---- */
.algo-mas {
  background: var(--teal-soft);
  padding: 40px 0;
  border-left: 4px solid var(--teal);
}
.algo-mas-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.algo-mas-emoji {
  font-size: 2.5rem;
  flex-shrink: 0;
}
.algo-mas-text {
  flex: 1;
  min-width: 200px;
}
.algo-mas-text h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--green-dark);
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.algo-mas-text p {
  color: #444;
  font-size: 15px;
  margin: 0;
}
@media (max-width: 600px) {
  .algo-mas-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---- Formulario de contacto ---- */
.contacto-form {
  background: var(--bg);
  padding: 64px 0;
}
.contacto-form-inner {
  max-width: 600px;
}
.cf-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.cf-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: .03em;
}
.cf-group input,
.cf-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
  box-sizing: border-box;
}
.cf-group input:focus,
.cf-group textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,117,.12);
}
.cf-group textarea { resize: vertical; min-height: 110px; }
.cf-req { color: #e63946; font-weight: 700; }
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: #aaa; }
.cf-submit { align-self: flex-start; margin-top: 4px; }
@media (max-width: 600px) {
  .cf-submit { align-self: stretch; justify-content: center; }
}

/* ---- FAQ ---- */
.faq {
  padding: 64px 0;
  background: var(--bg);
}
.faq .container { max-width: 760px; }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--teal); }
.faq-item.open { border-color: var(--teal); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color var(--transition);
}
.faq-q:hover, .faq-item.open .faq-q { color: var(--green-dark); }

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--teal);
  border-radius: 2px;
  top: 50%; left: 50%;
}
.faq-icon::before {
  width: 10px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 10px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}
.faq-item.open .faq-icon {
  background: var(--teal);
  border-color: var(--teal);
}
.faq-item.open .faq-icon::before,
.faq-item.open .faq-icon::after { background: var(--white); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-a {
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-a[hidden] { display: none; }

/* ---- CTA FINAL ---- */
.cta-final {
  padding: 120px 0;
  background: var(--green-dark);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.cta-bg-orb {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(29,158,117,.2) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.cta-inner { position: relative; z-index: 1; }
.cta-headline {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}
.cta-headline em { font-style: normal; color: var(--teal-light); }
.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  margin-bottom: 44px;
  line-height: 1.7;
}
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-note {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  letter-spacing: .04em;
}

/* ---- FOOTER ---- */
.footer {
  background: #021f1a;
  color: rgba(255,255,255,.7);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  padding: 72px 24px 56px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: .88rem;
  line-height: 1.65;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

.footer-links h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links li a,
.footer-links li span {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}
.footer-links li a:hover { color: var(--teal-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ---- WHATSAPP FLOAT ---- */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: 800;
  font-size: .85rem;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
  animation: waEntrance .6s 4.8s both;
}
.wa-float:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.5);
}
@keyframes waEntrance {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- TRUST BAR STANDALONE ---- */
.paquetes-trust { background: var(--bg); padding: 0 0 64px; }

/* ---- TEXTO JUSTIFICADO (párrafos de contenido) ---- */
.nosotros-desc,
.ben-card p,
.nicho-content p,
.paso-contenido p,
.porto-info p,
.faq-a p,
.algo-mas-text p,
.nosotros-valores li {
  text-align: justify;
}

/* ---- Misc helpers ---- */
.br-desktop { display: none; }
.br-mobile  { display: none; }

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

@media (min-width: 900px) {
  .br-desktop { display: inline; }
}

@media (max-width: 960px) {
  .paquetes-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 20px; }
  .paquete-destacado { transform: none; }
  .paquete-destacado:hover { transform: translateY(-6px); }
  .paquete-destacado .paquete-header { padding-top: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }

  .hero { padding: calc(var(--nav-h) + 24px) 0 60px; }
  .br-mobile { display: inline; }

  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .trust-inner { gap: 0; flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .trust-sep { width: 100%; height: 1px; margin: 0; }
  .trust-item { padding: 12px 0; }

  .proceso-steps { flex-direction: column; gap: 32px; }
  .proceso-connector { display: none; }
  .proceso-step { padding: 0; text-align: left; display: flex; gap: 20px; align-items: flex-start; }
  .paso-num { font-size: 2.5rem; min-width: 56px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 40px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .wa-float .wa-label { display: none; }
  .wa-float { padding: 14px; border-radius: 50%; }
}

/* ---- QUIÉNES SOMOS ---- */
.nosotros {
  padding: 64px 0;
  background: var(--bg);
}
.nosotros-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.nosotros-header {
  text-align: left;
  margin-bottom: 24px;
}
.nosotros-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.nosotros-desc {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.nosotros-valores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 32px;
}
.nosotros-valores li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}
.valor-icon {
  width: 28px; height: 28px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

/* Nosotros visual card */
.nosotros-visual { display: flex; justify-content: flex-end; }
.nosotros-card {
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  color: var(--white);
  max-width: 400px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.nc-avatar {
  width: 60px; height: 60px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.nc-nombre {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
}
.nc-rol {
  font-size: .8rem;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.nc-quote {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  font-style: italic;
  border-left: 2px solid var(--teal);
  padding-left: 16px;
  margin-bottom: 28px;
}
.nc-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
}
.nc-stat {
  flex: 1;
  text-align: center;
}
.nc-stat-sep {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.12);
}
.nc-stat-num {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 4px;
}
.nc-stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
}

/* ---- PORTAFOLIO ---- */
.portafolio {
  padding: 64px 0;
  background: var(--white);
}
.portafolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 52px;
}
.porto-card {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  color: inherit;
}
.porto-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.porto-card:nth-child(1) { transition-delay: .05s; }
.porto-card:nth-child(2) { transition-delay: .10s; }
.porto-card:nth-child(3) { transition-delay: .15s; }
.porto-card:nth-child(4) { transition-delay: .20s; }

/* Mockup preview */
.porto-preview {
  background: #e8ecef;
  padding: 16px 16px 0;
}
.porto-mockup {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  min-height: 140px;
}
.porto-bar {
  background: #f0f2f4;
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.porto-bar span {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #d0d4d8;
}
.porto-bar span:first-child { background: #ff6b6b; }
.porto-bar span:nth-child(2) { background: #ffc94a; }
.porto-bar span:last-child { background: #6bcb77; }

.porto-screen {
  padding: 16px 20px 20px;
}
.porto-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f2f4;
}
.porto-initial {
  width: 36px; height: 36px;
  background: var(--c, #1D9E75);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}
.porto-bname {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.porto-burl {
  font-size: .68rem;
  color: var(--text-muted);
}
.porto-lines { display: flex; flex-direction: column; gap: 7px; }
.porto-line {
  height: 8px;
  border-radius: 4px;
  background: #e8ecef;
}
.porto-line.long  { width: 90%; }
.porto-line.medium { width: 65%; }
.porto-line.short { width: 45%; }
.porto-line.long  { background: color-mix(in srgb, var(--c, #1D9E75) 20%, #e8ecef); }
.porto-btn {
  height: 22px;
  width: 80px;
  border-radius: 100px;
  background: var(--c, #1D9E75);
  margin-top: 4px;
  opacity: .85;
}

/* Card info */
.porto-info {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.porto-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--teal);
}
.porto-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.porto-info p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.porto-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal);
  margin-top: 8px;
  display: inline-block;
  transition: letter-spacing .2s;
}
.porto-card:hover .porto-link { letter-spacing: .02em; }

/* Portfolio CTA */
.portafolio-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.portafolio-cta p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* ---- BENEFICIOS ---- */
.beneficios { padding: 64px 0; background: var(--white); }
.beneficios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.ben-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform .2s, box-shadow .2s;
}
.ben-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.ben-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ben-icon { font-size: 1.25rem; flex-shrink: 0; }
.ben-card h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin: 0; }
.ben-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.55; margin: 0; }

@media (max-width: 960px) {
  .beneficios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .beneficios-grid { grid-template-columns: 1fr; }
}

/* ---- NICHOS CARRUSEL ---- */
.nichos {
  padding: 100px 0 60px;
  background: var(--green-dark);
  overflow: hidden;
}
.nichos .section-header h2 { color: var(--white); }
.nichos .section-label { color: var(--teal-light); }
.nichos .section-sub { color: rgba(255,255,255,.55); }

.nichos-track-wrap {
  overflow: hidden;
  margin: 0 -24px;
  padding: 0 24px;
}

.nichos-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  padding: 8px 24px 16px;
  /* no transform transition on desktop */
}

/* Hide nav on desktop — not needed */
.nichos-nav { display: none; }

.nicho-card {
  flex: none;
  min-height: 280px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(29,158,117,.25);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.nicho-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.nicho-card:hover .nicho-bg { transform: scale(1.05); }

/* Photo backgrounds + dark overlay per card */
.nicho-bg-1 {
  background-image: url('https://images.unsplash.com/photo-1579684385127-1ef15d508118?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-2 {
  background-image: url('https://images.unsplash.com/photo-1530046339160-ce3e530c7d2f?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-3 {
  background-image: url('https://images.unsplash.com/photo-1560066984-138dadb4c035?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-4 {
  background-image: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-5 {
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-6 {
  background-image: url('https://images.unsplash.com/photo-1530103862676-de8c9debad1d?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-7 {
  background-image: url('https://images.unsplash.com/photo-1577896851231-70ef18881754?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-8 {
  background-image: url('https://images.unsplash.com/photo-1507679799987-c73779587ccf?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-9 {
  background-image: url('https://images.unsplash.com/photo-1717386255773-1e3037c81788?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.nicho-bg-10 {
  background-image: url('https://images.unsplash.com/photo-1676311396794-f14881e9daaa?w=600&q=70&auto=format&fit=crop');
  background-size: cover; background-position: center;
}

/* Dark scrim over every photo so text is always legible */
.nicho-bg-1::after,
.nicho-bg-2::after,
.nicho-bg-3::after,
.nicho-bg-4::after,
.nicho-bg-5::after,
.nicho-bg-6::after,
.nicho-bg-7::after,
.nicho-bg-8::after,
.nicho-bg-9::after,
.nicho-bg-10::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,30,24,.55) 0%, rgba(4,30,24,.82) 100%);
}

.nicho-content {
  position: relative;
  z-index: 2;
  padding: 28px 24px;
  background: linear-gradient(to top, rgba(4,30,24,.95) 0%, rgba(4,30,24,.6) 60%, transparent 100%);
}
.nicho-emoji {
  display: block;
  font-size: 2rem;
  margin-bottom: 12px;
  line-height: 1;
}
.nicho-content h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.nicho-content p {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

/* Nav dots + arrows */
.nichos-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 0;
}
.nicho-prev,
.nicho-next {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(29,158,117,.4);
  color: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.nicho-prev:hover,
.nicho-next:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.nicho-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nicho-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: all .3s;
  flex-shrink: 0;
}
.nichos-nota {
  display: table;
  margin: 32px auto 0;
  text-align: center;
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  background: rgba(29,158,117,.18);
  border: 1px solid rgba(29,158,117,.5);
  border-radius: 100px;
  padding: 12px 28px;
}
.nicho-dot.active {
  background: var(--teal);
  transform: scale(1.25);
}

/* ---- TRUST BAR DE PRECIOS ---- */
.trust-precios {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 40px;
  overflow: hidden;
}
.trust-precio-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
}
.tp-icon {
  width: 40px; height: 40px;
  background: var(--teal-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  flex-shrink: 0;
}
.trust-precio-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-precio-item strong {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
}
.trust-precio-item span {
  font-size: .78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.tp-sep {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

/* ---- FOOTER REDES ---- */
.footer-redes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-red-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  color: rgba(255,255,255,.75);
  transition: all var(--transition);
}
.footer-red-btn:hover {
  border-color: var(--teal);
  color: var(--white);
  background: rgba(29,158,117,.08);
  transform: translateX(4px);
}
.footer-red-btn svg { flex-shrink: 0; color: var(--teal-light); }
.footer-red-btn span { display: flex; flex-direction: column; gap: 1px; }
.footer-red-btn strong { font-size: .88rem; font-weight: 700; line-height: 1; }
.footer-red-btn em { font-style: normal; font-size: .75rem; color: rgba(255,255,255,.45); }

/* ---- CTA REDES ---- */
.cta-redes {
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px !important;
}
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: var(--radius-lg);
  font-weight: 700;
  font-size: .95rem;
  transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap;
}
.btn-red span { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.btn-red strong { font-size: 1rem; font-weight: 700; line-height: 1.1; }
.btn-red em { font-style: normal; font-size: .78rem; opacity: .8; }
.btn-instagram,
.btn-facebook {
  background: var(--green-dark);
  color: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(4,52,44,.35);
}
.btn-instagram:hover,
.btn-facebook:hover {
  background: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(29,158,117,.4);
}

/* ---- Responsive additions ---- */
@media (max-width: 900px) {
  .nosotros-inner { grid-template-columns: 1fr; gap: 48px; }
  .nosotros-header { text-align: center; }
  .nosotros-visual { justify-content: center; }
  .nosotros-card { max-width: 100%; }
  .nichos-track { grid-template-columns: repeat(2, 1fr); }
  .trust-precios { flex-direction: column; }
  .tp-sep { width: 100%; height: 1px; align-self: auto; }
}
@media (max-width: 768px) {
  .portafolio-grid { grid-template-columns: 1fr; }
  .cta-redes { flex-direction: column !important; }
  .btn-red { width: 100%; justify-content: center; }

  /* Nichos: carrusel en móvil */
  .nichos-track-wrap {
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .nichos-track-wrap:active { cursor: grabbing; }
  .nichos-track {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    padding: 8px 8px 16px;
    transition: transform .4s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }
  .nicho-card {
    flex: 0 0 80vw;
    max-width: 320px;
  }
  .nichos-nav { display: flex; }
}

@media (max-width: 480px) {
  .paquete-card { padding: 28px 20px; }
  .faq-q { padding: 16px 18px; font-size: .9rem; }
  .faq-a { padding: 0 18px 16px; }
  .hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }
  .nichos-track { padding: 8px 8px 16px; }
}
