:root {
  /* Hero / navbar stays pitch dark */
  --bg:        #080f0e;
  --bg2:       #0d1a18;

  /* Section backgrounds - rich dark greens (Shopify-inspired) */
  --section-a: #0f2420;   /* deep forest green */
  --section-b: #132e29;   /* slightly lighter green */
  --section-c: #0a1e1b;   /* darkest green */

  /* Cards inside sections */
  --card:      #1a3530;
  --card2:     #1f3d37;
  --card-elevated: #224038;

  /* Borders */
  --border:    rgba(45,180,150,0.18);
  --border2:   rgba(45,180,150,0.28);

  /* Brand teal - kept vibrant, great on dark green */
  --primary:        #2de8c8;
  --primary-dark:   #1ec9ab;
  --primary-dim:    rgba(45,232,200,0.12);
  --primary-border: rgba(45,232,200,0.28);

  /* Typography */
  --fg:    #e2eeeb;
  --muted: #6fa89f;
  --muted2:#9fc9c0;

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); }

/* - SCROLLBAR - */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary-border); border-radius: 3px; }

/* - UTILITIES - */
.text-primary-c { color: var(--primary) !important; }
.text-muted-c { color: var(--muted) !important; }
.text-muted2-c { color: var(--muted2) !important; }
.bg-card { background: var(--card); }
.bg-card2 { background: var(--card2); }
.border-c { border: 1px solid var(--border) !important; }
.font-head { font-family: var(--font-head) !important; }
.font-body { font-family: var(--font-body) !important; }

.btn-primary-c {
  background: var(--primary);
  color: var(--bg);
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  transition: background .2s, transform .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primary-c:hover { background: #26d4b6; color: var(--bg); transform: translateY(-1px); }

.btn-outline-c {
  background: transparent;
  color: var(--fg);
  font-family: var(--font-head);
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 28px;
  transition: all .2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-outline-c:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-dim); }

.badge-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
}
.badge-label .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.section-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
}

/* - GRID PATTERN - */
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(45,232,200,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,232,200,.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* - NAVBAR - */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
  padding: 16px 0;
}
#navbar.scrolled {
  background: rgba(8,15,14,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo-box {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--primary);
  font-size: 18px;
  flex-shrink: 0;
}
.nav-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--fg); line-height: 1; }
.nav-logo-sub { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

.nav-link-c {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--muted2);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .02em;
}
.nav-link-c:hover { color: var(--primary); }

/* mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 73px; left: 0; right: 0; z-index: 999;
  background: rgba(9,16,15,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--fg); text-decoration: none; font-family: var(--font-body); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border: none; }
.mobile-menu a:hover { color: var(--primary); }

/* - HERO - */
#inicio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://media.base44.com/images/public/69f6670f474c18e84ed5c4aa/36e0ccb85_generated_image.png');
  background-size: cover;
  background-position: center;
  opacity: .5;
}
.hero-bg-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--bg) 30%, rgba(9,16,15,.75) 65%, rgba(9,16,15,.2) 100%);
}
.hero-bg-gradient2 {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,16,15,.25) 0%, transparent 50%, var(--bg) 100%);
}

.hero-widget {
  background: rgba(17,30,28,.82);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}

.service-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(232,242,240,.8);
  text-align: left;
  transition: all .2s;
  width: 100%;
  cursor: pointer;
  font-family: var(--font-body);
}
.service-btn:hover { border-color: rgba(45,232,200,.4); }
.service-btn.active { border-color: var(--primary); background: var(--primary-dim); color: var(--primary); }
.service-btn .svc-label { font-size: 12px; font-weight: 500; line-height: 1.3; }
.service-btn .svc-price { font-size: 11px; color: var(--muted); }
.service-btn.active .svc-price { color: rgba(45,232,200,.7); }

.price-estimate {
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  padding: 16px;
  font-family: var(--font-head);
}
.price-estimate .label { font-size: 12px; color: var(--muted2); }
.price-estimate .amount { font-size: 26px; font-weight: 800; color: var(--primary); }
.price-estimate .note { font-size: 11px; color: var(--muted); font-family: var(--font-body); }

.price-placeholder {
  background: rgba(255,255,255,.04);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.stat-card {
  background: rgba(17,30,28,.6);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.stat-card .num { font-family: var(--font-head); font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-card .lbl { font-size: 11px; color: var(--muted); margin-top: 2px; }

.check-item { display: flex; align-items: center; gap: 8px; }
.check-item svg { color: var(--primary); flex-shrink: 0; }
.check-item span { font-size: 13px; color: rgba(232,242,240,.8); }

/* - SERVICES - */
#servicios { padding: 100px 0; position: relative; background: var(--section-a); }

.svc-card {
  background: var(--card-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  height: 100%;
}
.svc-card:hover { border-color: var(--primary-border); transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }

.svc-card-img { height: 144px; overflow: hidden; position: relative; }
.svc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.svc-card:hover .svc-card-img img { transform: scale(1.05); }
.svc-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--card));
}

.svc-card-icon-bg {
  height: 96px;
  display: flex; align-items: center; justify-content: center;
}

.svc-icon-box {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  transition: background .2s;
  flex-shrink: 0;
}
.svc-card:hover .svc-icon-box { background: rgba(45,232,200,.2); }
.svc-icon-box svg { color: var(--primary); width: 20px; height: 20px; }

.svc-body { padding: 20px; }
.svc-body h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--fg); margin-bottom: 8px; line-height: 1.3; }
.svc-body p { font-size: 12px; color: var(--muted2); line-height: 1.6; margin-bottom: 12px; }

.tag-pill {
  display: inline-block;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 100px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--muted2);
  margin: 2px;
}

/* - PORTFOLIO - */
#portafolio { padding: 100px 0; background: var(--section-b); }

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
}
.filter-btn:hover { border-color: rgba(45,232,200,.4); color: var(--fg); }
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--bg); }

.portfolio-card {
  background: var(--card-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
  text-decoration: none;
  display: block;
}
.portfolio-card:hover { border-color: var(--primary-border); transform: translateY(-4px); }

.portfolio-thumb {
  aspect-ratio: 16/9;
  background: var(--card2);
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s; }
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--card) 0%, transparent 60%);
  opacity: .6;
}
.ext-icon {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-dim);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .2s;
  z-index: 1;
}
.portfolio-card:hover .ext-icon { opacity: 1; }
.ext-icon svg { color: var(--primary); width: 14px; height: 14px; }

.portfolio-body { padding: 20px; }
.portfolio-body h3 { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--fg); }
.portfolio-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
}
.portfolio-cat { font-size: 13px; color: var(--primary); }

/* - PROCESS - */
#proceso { padding: 100px 0; background: var(--section-a); }

.step-card {
  background: var(--card-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: border-color .3s, transform .3s;
  height: 100%;
}
.step-card:hover { border-color: var(--primary-border); transform: translateY(-3px); }

.step-num-bg {
  position: absolute; top: 16px; right: 20px;
  font-family: var(--font-head);
  font-size: 64px;
  font-weight: 800;
  color: rgba(45,232,200,.07);
  line-height: 1;
  user-select: none;
}

.step-icon-box {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.step-icon-box svg { color: var(--primary); width: 28px; height: 28px; }

.step-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 8px; }
.step-card p { font-size: 13px; color: var(--muted2); line-height: 1.7; }

.step-connector {
  display: none;
  position: absolute;
  top: 40px;
  left: 60%;
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, rgba(45,232,200,.25), transparent);
  pointer-events: none;
}
@media (min-width: 992px) { .step-connector { display: block; } }

/* - QUOTE FORM - */
#cotizar { padding: 100px 0; background: var(--section-b); }

.step-progress {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  margin: 0 auto 40px;
}
.step-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,.07);
  color: var(--muted);
  transition: all .3s;
  flex-shrink: 0;
}
.step-dot.active { background: var(--primary); color: var(--bg); }
.step-line { flex: 1; height: 2px; background: var(--border); border-radius: 1px; transition: background .3s; }
.step-line.active { background: var(--primary); }

.quote-card {
  background: var(--card-elevated);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 32px;
}
.quote-card h3 { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--fg); margin-bottom: 24px; }

.form-label-c { font-size: 13px; color: var(--fg); font-family: var(--font-body); margin-bottom: 6px; display: block; }

.form-control-c {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 10px 14px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control-c:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(45,232,200,.1); }
.form-control-c::placeholder { color: var(--muted); }
.form-control-c option { background: var(--card); color: var(--fg); }

input[type=range].range-c {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  outline: none;
}
input[type=range].range-c::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
}

.feature-checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .2s;
  background: var(--card);
}
.feature-checkbox:hover { border-color: var(--primary-border); }
.feature-checkbox.checked { border-color: rgba(45,232,200,.5); background: var(--primary-dim); }
.feature-checkbox.locked {
  border-color: rgba(45,232,200,.4);
  background: var(--primary-dim);
  cursor: not-allowed;
  opacity: 0.85;
}
.feature-checkbox.locked .custom-check { background: var(--primary); border-color: var(--primary); }
.feature-checkbox.locked .custom-check svg { display: block; }
.feature-locked-badge {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(45,232,200,.15);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-family: var(--font-body);
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-block;
  margin-top: 2px;
}

.feature-checkbox input[type=checkbox] { display: none; }
.custom-check {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all .2s;
}
.feature-checkbox.checked .custom-check { background: var(--primary); border-color: var(--primary); }
.custom-check svg { display: none; color: var(--bg); width: 12px; height: 12px; }
.feature-checkbox.checked .custom-check svg { display: block; }

.feature-name { font-size: 13px; color: var(--fg); font-family: var(--font-body); line-height: 1.4; }
.feature-price { font-size: 11px; color: var(--primary); font-family: var(--font-body); }
.feature-included { font-size: 11px; color: var(--muted); font-family: var(--font-body); }

.price-box {
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 24px;
}
.price-box h4 { font-family: var(--font-head); font-size: 32px; font-weight: 800; color: var(--primary); }
.price-box p { font-size: 12px; color: var(--muted); font-family: var(--font-body); }

.submitted-box { text-align: center; padding: 60px 24px; }
.submitted-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-dim); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.submitted-icon svg { color: var(--primary); width: 40px; height: 40px; }

/* - PRESENCIA DIGITAL - */
#presencia-digital { padding: 100px 0; position: relative; overflow: hidden; background: var(--section-c); }
#presencia-digital::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(45,232,200,.06) 0%, transparent 70%);
  pointer-events: none;
}

.pd-hero-card {
  background: var(--card-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}
.pd-hero-card-img {
  height: 260px;
  position: relative;
  overflow: hidden;
}
.pd-hero-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-hero-card-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 30%, var(--card-elevated) 100%);
}
.pd-hero-body { padding: 28px; }
.pd-hero-body h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; color: var(--fg); margin-bottom: 10px; }
.pd-hero-body p { font-size: 14px; color: var(--muted2); line-height: 1.7; margin-bottom: 20px; }

.pd-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  margin-bottom: 8px;
  transition: border-color .2s;
}
.pd-feature:hover { border-color: var(--primary-border); }
.pd-feature-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 10px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
}
.pd-feature-icon svg { color: var(--primary); width: 17px; height: 17px; }
.pd-feature-text .title { font-family: var(--font-head); font-size: 13px; font-weight: 700; color: var(--fg); }
.pd-feature-text .desc { font-size: 12px; color: var(--muted); margin-top: 2px; }

.pd-price-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 100px;
  padding: 5px 14px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}



.pd-nota {
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.pd-nota svg { color: var(--primary); flex-shrink: 0; width: 22px; height: 22px; margin-top: 2px; }
.pd-nota p { font-size: 13px; color: var(--muted2); line-height: 1.7; margin: 0; }
.pd-nota strong { color: var(--fg); }

.contact-icon-box {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-dim);
  border: 1px solid var(--primary-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.contact-icon-box svg { color: var(--primary); width: 22px; height: 22px; }
.contact-item:hover .contact-icon-box { background: rgba(45,232,200,.2); }
.contact-item { text-decoration: none; display: flex; align-items: center; gap: 16px; }
.contact-label { font-size: 12px; color: var(--muted); }
.contact-value { font-family: var(--font-head); font-weight: 700; color: var(--fg); font-size: 16px; }

.wa-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  position: relative;
}
.wa-card::before {
  content: '';
  position: absolute;
  inset: -16px;
  background: var(--primary-dim);
  border-radius: 36px;
  filter: blur(24px);
  z-index: -1;
}
.wa-icon-box { width: 64px; height: 64px; border-radius: 20px; background: rgba(45,232,200,.2); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.wa-icon-box svg { color: var(--primary); width: 32px; height: 32px; }
.wa-card h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--fg); margin-bottom: 12px; }
.wa-card p { font-size: 14px; color: var(--muted2); margin-bottom: 24px; }

/* - FOOTER - */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
footer a { color: var(--muted2); text-decoration: none; font-size: 14px; transition: color .2s; }
footer a:hover { color: var(--primary); }

/* - WHATSAPP FAB - */
.wa-fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(45,232,200,.3);
  transition: transform .2s;
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab svg { color: var(--bg); width: 28px; height: 28px; }

/* - ANIMATIONS - */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
.delay-6 { transition-delay: .6s; }
.delay-7 { transition-delay: .7s; }
.delay-8 { transition-delay: .8s; }

/* - RESPONSIVE - */
@media (max-width: 767px) {
  h1 { font-size: 2.4rem !important; }
  h2 { font-size: 2rem !important; }
  .hero-widget { display: none; }
  .stat-card .num { font-size: 22px; }
}
/* - CONTACT SECTION TYPOGRAPHY BOOST - */
#contacto { padding: 100px 0; background: var(--section-c); }
#contacto h2 { font-size: 2.8rem; }

/* ══ PLAN CARDS - CLEAN DEFINITIVE VERSION ══ */
.pd-paquete {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .3s, transform .3s;
  position: relative;
}
.pd-paquete:hover { border-color: rgba(45,232,200,.4); transform: translateY(-4px); }
.pd-paquete.featured {
  border-color: var(--primary-border);
}

/* Image area - top 45% of card */
.pd-plan-img {
  height: 220px;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}
.pd-plan-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s;
}
.pd-paquete:hover .pd-plan-img img { transform: scale(1.05); }

/* Dark gradient overlay - only bottom third so image is visible on top */
.pd-plan-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9,16,15,0) 0%,
    rgba(9,16,15,.3) 50%,
    rgba(9,16,15,.92) 85%,
    rgba(9,16,15,1) 100%
  );
  z-index: 1;
}

/* Title overlaid on bottom of image */
.pd-plan-img .plan-img-title {
  position: absolute; bottom: 14px; left: 18px; right: 18px;
  z-index: 2;
  font-family: var(--font-head); font-size: 18px; font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

/* Badge (Mas Popular) top-left of image */
.pd-plan-img .plan-img-badge {
  position: absolute; top: 14px; left: 18px; z-index: 2;
  background: var(--primary); color: var(--bg);
  font-family: var(--font-head); font-size: 9px; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  letter-spacing: .1em; text-transform: uppercase;
}

/* Content area below image */
.pd-paquete-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: var(--card-elevated);
}
.pd-paquete.featured .pd-paquete-body {
  background: linear-gradient(160deg, var(--card-elevated) 60%, rgba(45,232,200,.06));
}

.pd-paquete .price {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  color: var(--primary); margin: 8px 0 2px;
}
.pd-paquete .price-note { font-size: 11px; color: var(--muted); margin-bottom: 16px; }

.pd-paquete .inc-item {
  display: flex; align-items: flex-start; gap: 8px; margin-bottom: 7px;
}
.pd-paquete .inc-item svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; width: 14px; height: 14px; }
.pd-paquete .inc-item span { font-size: 12px; color: var(--muted2); line-height: 1.4; }

.pd-paquete-body .btn-primary-c,
.pd-paquete-body .btn-outline-c {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
}

/* Responsive */
@media (max-width: 767px) {
  h1 { font-size: 2.4rem !important; }
  h2 { font-size: 2rem !important; }
  .hero-widget { display: none; }
  .stat-card .num { font-size: 22px; }
  .pd-plan-img { height: 180px; }
}

/* ══ ANIMATIONS.JS STYLES ══ */

/* Custom cursor */
#cursor-dot {
  position: fixed;
  width: 8px; height: 8px;
  background: #2de8c8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background .2s;
  mix-blend-mode: difference;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid rgba(45,232,200,.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
}
@media (hover: none) {
  #cursor-dot, #cursor-ring { display: none; }
}

/* Word-drop split text */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 2px;
}
.word { display: inline-block; }

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2de8c8, #1ec9ab);
  z-index: 10000;
  width: 0%;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(45,232,200,.6);
}

/* Section reveal: needs position relative (already set) */
#servicios,
#portafolio,
#presencia-digital,
#proceso,
#cotizar {
  position: relative;
}