/* ===== TICKER BAR (5.1) ===== */
.hero-ticker {
  border-bottom: 1px solid rgba(196,101,42,0.2);
  padding: 0.55rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ticker-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clay);
  white-space: nowrap;
  border-right: 1px solid rgba(196,101,42,0.3);
  padding-right: 0.4rem;
  flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-items {
  display: flex;
  gap: 2.5rem;
  animation: ticker 20s linear infinite;
}
.ticker-item {
  font-size: 0.73rem;
  color: rgba(253,250,244,0.5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ticker-item span { color: var(--electric); font-weight: 600; }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== HERO PRINCIPAL (5.2) ===== */
.hero { background: var(--ink); position: relative; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
  padding: 3rem 2.5rem 2.5rem;
  position: relative;
  z-index: 1;
}
.hero-eyebrow { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.hero-city-dot { width: 4px; height: 4px; background: var(--electric); border-radius: 50%; }
.hero-city { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(253,250,244,0.4); }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 0;
}
.hero-subcopy {
  margin-bottom: 1.2rem;
}
.hero-subcopy .line-small,
.hero-title .line-small {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: normal;
  color: rgba(253,250,244,0.35);
  display: block;
  letter-spacing: -0.02em;
  font-weight: 300;
  line-height: 1;
  margin-top: 0.3em;
  font-family: var(--font-display);
}
.hero-body {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(253,250,244,0.65);
  line-height: 1.5;
  margin-top: 0.6rem;
  letter-spacing: 0;
}
.hero-white-line {
  display: block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.5;
  letter-spacing: 0;
  margin-top: 0.3rem;
}
.hero-proof {
  display: flex;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(253,250,244,0.08);
  margin-top: 1.5rem;
}
.proof-item .num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.proof-item .lbl {
  font-size: 0.67rem;
  color: rgba(253,250,244,0.35);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-top: 0.12rem;
}

/* SEO Card */
.seo-card {
  align-self: center;
  background: rgba(253,250,244,0.04);
  border: 1px solid rgba(253,250,244,0.09);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
}
.seo-card-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253,250,244,0.5);
  margin-bottom: 0.3rem;
}
.seo-live {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; color: var(--electric); font-weight: 600;
  margin-bottom: 1rem;
}
.seo-live::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--electric);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}
.rank-row {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(253,250,244,0.05);
}
.rank-row:last-child { border-bottom: none; }
.rank-label {
  font-size: 0.66rem;
  color: rgba(253,250,244,0.5);
  min-width: 70px;
}
.rank-pct {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(253,250,244,0.6);
  min-width: 30px;
  text-align: right;
}
.rbar-w { flex: 1; height: 3px; background: rgba(255,255,255,0.07); border-radius: 2px; }
.rbar   { height: 100%; border-radius: 2px; }
.rank-label--highlight { color: #ffffff; }
.rank-pct--highlight { color: var(--green); }
.seo-divider { height: 1px; background: rgba(253,250,244,0.08); margin: 0.6rem 0; }
.seo-cta { font-size: 0.68rem; color: rgba(253,250,244,0.5); line-height: 1.5; }
.seo-cta .seo-green { color: var(--green); }

/* ===== TRUST BAR (5.3) ===== */
.trust-bar {
  background: var(--sand);
  padding: 1.2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(26,18,8,0.06);
  border-bottom: 1px solid rgba(26,18,8,0.06);
  gap: 1rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; color: var(--muted); font-weight: 500;
}

.trust-sep { width: 1px; height: 20px; background: rgba(26,18,8,0.1); }

/* ===== EL PROBLEMA (5.4) ===== */
.problema { background: var(--ink); padding: 2.5rem; }
.problema-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.prob-left .tag { margin-bottom: 1rem; }
.prob-left h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.prob-left p {
  font-size: 0.88rem;
  color: rgba(253,250,244,0.45);
  line-height: 1.72;
  margin-bottom: 1.8rem;
}
.prob-cards { display: flex; flex-direction: column; gap: 0.7rem; }
.prob-card {
  background: rgba(253,250,244,0.04);
  border: 1px solid rgba(253,250,244,0.07);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex; align-items: flex-start; gap: 0.9rem;
  transition: border-color var(--transition), background var(--transition);
}
.prob-card:hover {
  border-color: rgba(196,101,42,0.3);
  background: rgba(196,101,42,0.06);
}
.prob-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 900;
  color: rgba(196,101,42,0.25);
  line-height: 1; flex-shrink: 0; width: 28px;
}
.prob-card h3 {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600;
  color: var(--cream); margin-bottom: 0.2rem;
}
.prob-card p {
  font-size: 0.73rem;
  color: rgba(253,250,244,0.35);
  line-height: 1.5;
}

/* ===== POR QUÉ AHORA (5.5) ===== */
.porque-ahora { background: var(--sand-dark); }
.porque-ahora .container { }
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.pq-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  border: 1px solid rgba(26,18,8,0.06);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.pq-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.pq-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  color: #fff;
  flex-shrink: 0;
}
.pq-icon svg { width: 20px; height: 20px; stroke: currentColor; }
.pq-card:nth-child(3n+1) .pq-icon { background: var(--clay); }
.pq-card:nth-child(3n+2) .pq-icon { background: var(--accent); }
.pq-card:nth-child(3n+3) .pq-icon { background: var(--ink); }
.pq-card h3 {
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink); margin: 0;
}
.pq-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.6rem; line-height: 1.4; }
.pq-tag {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--clay);
  background: var(--sand-dark);
  border-radius: 6px;
  padding: 0.4rem 0.7rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.pq-hr {
  border: none;
  border-top: 1px solid rgba(26,18,8,0.07);
  margin: 0 0 0.8rem 0;
}
.pq-card p {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
}
.garantias {
  background: var(--ink);
  border-radius: 16px;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
}
.gar-item {
  padding: 0 1.5rem;
}
.gar-item:not(:last-child) {
  border-right: 1px solid rgba(253,250,244,0.08);
}
.gar-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.gar-item h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.gar-item p {
  font-size: 0.72rem;
  color: rgba(253,250,244,0.35);
  line-height: 1.5;
}

/* ===== PROCESO (5.6) ===== */
.proceso { background: var(--ink); }
.proceso .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.proceso-left .tag { margin-bottom: 1rem; }
.proceso-left h2 { color: var(--cream); margin-bottom: 1.5rem; }
.step-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.2rem;
  position: relative;
  padding-bottom: 1.8rem;
}
.step-row:not(:last-child) .step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: rgba(196,101,42,0.2);
}
.step-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(196,101,42,0.35);
  background: rgba(196,101,42,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700; color: var(--clay);
  flex-shrink: 0; position: relative; z-index: 1;
  transition: all var(--transition-slow);
}
.step-row:hover .step-circle {
  background: var(--clay);
  color: var(--cream);
  border-color: var(--clay);
}
.step-body h3 {
  font-family: var(--font-body);
  font-size: 0.88rem; font-weight: 600;
  color: var(--cream); margin-bottom: 0.2rem;
}
.step-body p {
  font-size: 0.76rem;
  color: rgba(253,250,244,0.45);
  line-height: 1.6;
}
.step-tag {
  display: inline-block;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--electric);
  background: rgba(78,205,196,0.1);
  border-radius: var(--radius-pill); padding: 0.15rem 0.6rem;
  margin-top: 0.4rem;
}
.proceso-right {
  background: rgba(253,250,244,0.04);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(253,250,244,0.07);
}
.proceso-right h3 {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 0.8rem;
}
.proceso-right p {
  font-size: 0.8rem;
  color: rgba(253,250,244,0.45);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.proceso-right .btn { margin-top: 0.5rem; }

/* ===== SERVICIOS INDEX (5.7) ===== */
.serv-index { background: var(--sand); }
.serv-index .container { }
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.serv-card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(26,18,8,0.07);
  padding: 1.8rem;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.serv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(196,101,42,0.1);
}
.serv-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--clay), var(--clay-light));
}
.serv-card.highlight::after {
  background: linear-gradient(90deg, var(--electric), #38b2ac);
}
.serv-card .sc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sand);
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}
.serv-card .sc-icon svg { width: 22px; height: 22px; }
.serv-card h3 {
  font-family: var(--font-body);
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.4rem;
}
.serv-card p {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.65;
}
.serv-card .sc-badge {
  display: block;
  width: fit-content;
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--clay);
  background: rgba(196,101,42,0.08);
  border: 1px solid rgba(196,101,42,0.25);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  margin-bottom: 0.8rem;
}
.serv-card .sc-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clay-dark);
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(26,18,8,0.06);
}
.serv-card .sc-link {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--clay);
  margin-top: 0.5rem;
}
.serv-card .sc-link:hover { color: var(--clay-dark); text-decoration: underline; }

/* ===== FAQ (5.9) ===== */
.faq-section { background: var(--sand); }
.faq-section .container { max-width: 50%; }
.faq-item {
  background: white;
  border: 1px solid rgba(26,18,8,0.07);
  border-radius: var(--radius);
  margin-bottom: 0.55rem;
  overflow: hidden;
}
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem; background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.87rem; font-weight: 600; color: var(--ink);
}
.faq-arr {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--clay-pale); color: var(--clay);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; flex-shrink: 0;
  transition: all 0.25s;
}
.faq-item.open .faq-arr { transform: rotate(180deg); background: var(--clay); color: white; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.81rem; color: var(--muted); line-height: 1.68;
  padding: 0 1.2rem;
}
.faq-item.open .faq-a { max-height: 180px; padding: 0 1.2rem 1rem; }

/* ===== CTA FINAL (5.10) ===== */

/* ===== EJEMPLOS / DEMOS (nueva sección) ===== */
.demos-index { background: var(--sand); }
.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 2rem;
}
.demo-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  color: inherit;
}
.demo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.demo-card-browser {
  height: 130px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.demo-card-browser::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 22px;
  background: rgba(0,0,0,0.15);
}
.demo-card-browser::after {
  content: '● ● ●';
  position: absolute; top: 3px; left: 10px;
  font-size: 8px; letter-spacing: 3px; color: rgba(255,255,255,0.6);
}
.demo-card-browser .icon { width: 40px; height: 40px; color: rgba(255,255,255,0.9); }
.demo-card-body { padding: 1.2rem 1.3rem 1.4rem; }
.demo-card-body h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.demo-card-body p { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.9rem; }
.demo-card-link { font-size: 0.78rem; font-weight: 700; color: var(--clay); }
.demo-card:hover .demo-card-link { text-decoration: underline; }

@media (max-width: 860px) {
  .demos-grid { grid-template-columns: 1fr; }
}

/* ===== RESPONSIVE INDEX ===== */
@media (max-width: 992px) {
  .hero-inner { grid-template-columns: 1fr; }
  .seo-card { display: none; }
  .problema-inner { grid-template-columns: 1fr; gap: 2rem; }
  .porque-grid { grid-template-columns: 1fr; }
  .garantias { grid-template-columns: 1fr; gap: 1.5rem; }
  .gar-item:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(253,250,244,0.08); padding-bottom: 1.5rem; }
  .proceso .container { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero-inner { padding: 2rem 1.5rem; }
  .hero-ticker { padding: 0.4rem 1.5rem; }
  .trust-bar { padding: 1rem 1.5rem; flex-direction: column; }
  .trust-sep { display: none; }
  .problema { padding: 1.5rem; }
  .proceso { padding: 1.5rem; }
  .faq-section { padding: 1.5rem; }
  .faq-section .container { max-width: 100%; }
  .cta-final { padding: 2rem 1.5rem; }
  .hero-proof { gap: 1rem; flex-wrap: wrap; }
  .proof-item .num { font-size: 1.4rem; }
}
