/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'IBM Plex Sans', sans-serif; background: #F7F5F2; color: #0F1419; }

/* ── IMAGE FIX — always cover, never stretch ── */
.img-cover-box { position: relative; overflow: hidden; display: block; width: 100%; }
.img-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ── Navbar ── */
#navbar { background: transparent; }
#navbar.scrolled { background: rgba(15,20,25,0.96); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(0,0,0,.3); }
#navbar.scrolled .nav-link { color: #F7F5F2; }
.nav-link { color: #F7F5F2; font-weight: 500; transition: color .2s; }

/* ── Hero Section ── */
.hero-section { position: relative; display: flex; align-items: center; justify-content: center; }

/* ── Hero CSS-only background ── */
.hero-section { background: #0F1419; }
.hero-deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-glow-1 { position: absolute; width: 70vw; height: 70vw; max-width: 700px; max-height: 700px; background: radial-gradient(circle, rgba(27,156,133,.18) 0%, transparent 65%); top: -15%; right: -10%; border-radius: 50%; }
.hero-glow-2 { position: absolute; width: 50vw; height: 50vw; max-width: 500px; max-height: 500px; background: radial-gradient(circle, rgba(27,156,133,.08) 0%, transparent 70%); bottom: -10%; left: -10%; border-radius: 50%; }
.hero-grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(27,156,133,.1) 1px, transparent 1px); background-size: 32px 32px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(27,156,133,.15); border: 1px solid rgba(27,156,133,.35);
  color: #22B89D; font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .4rem 1rem; border-radius: 999px;
}
.hero-badge-dot {
  width: .45rem; height: .45rem; background: #1B9C85; border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.3); } }

.hero-h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1.12; margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(247,245,242,.78); max-width: 38rem; margin: 0 auto;
  line-height: 1.65;
}
.btn-hero {
  padding: 1rem 2.25rem; border-radius: 999px;
  font-size: .95rem; font-weight: 700;
  min-width: 11rem;
}
@media (max-width: 480px) { .btn-hero { width: 100%; justify-content: center; } }

/* ── Stats Bar ── */
.stats-bar { background: #0F1419; padding: 2.5rem 0; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-num { color: #1B9C85; line-height: 1; }
.stat-sup { font-size: 55%; vertical-align: .25em; font-weight: 800; }
.stat-label { font-size: .78rem; color: rgba(247,245,242,.55); margin-top: .4rem; }

/* ── Buttons ── */
.btn-primary { background: #1B9C85; color: #F7F5F2; font-family: 'Syne', sans-serif; font-weight: 700; transition: background .2s, transform .15s, box-shadow .2s; display: inline-block; }
.btn-primary:hover { background: #22B89D; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(27,156,133,.35); }
.btn-wa { background: #25D366; color: #fff; font-family: 'Syne', sans-serif; font-weight: 700; transition: background .2s, transform .15s; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-1px); }
.btn-teal { background: #1B9C85; color: #F7F5F2; font-family: 'Syne', sans-serif; font-weight: 700; transition: background .2s; border: none; cursor: pointer; }
.btn-teal:hover { background: #22B89D; }
.btn-teal-outline { border: 2px solid #1B9C85; color: #1B9C85; font-family: 'Syne', sans-serif; font-weight: 700; transition: all .2s; background: transparent; cursor: pointer; }
.btn-teal-outline:hover { background: #1B9C85; color: #F7F5F2; }
.btn-outline { border: 2px solid rgba(15,20,25,.3); color: #0F1419; font-family: 'Syne', sans-serif; font-weight: 600; transition: all .2s; background: transparent; cursor: pointer; }
.btn-outline:hover { background: #0F1419; color: #F7F5F2; border-color: #0F1419; }

/* ── Tags ── */
.tag-label { display: inline-block; background: rgba(27,156,133,.1); color: #0F1419; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(27,156,133,.22); }
.tag-label-light { display: inline-block; background: rgba(247,245,242,.1); color: rgba(247,245,242,.7); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .85rem; border-radius: 999px; border: 1px solid rgba(247,245,242,.18); }

/* ── Sections ── */
.section-pad { padding: 5.5rem 0; }
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -.02em; }
.section-sub { color: rgba(15,20,25,.6); font-size: 1.05rem; line-height: 1.7; }
@media (max-width: 640px) { .section-pad { padding: 3.5rem 0; } }

/* ── Bento Grid ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
@media (max-width: 1023px) { .bento-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .bento-grid { grid-template-columns: 1fr; } }

.bento-card {
  background: #F7F5F2; border: 1px solid rgba(15,20,25,.09);
  border-radius: 1.25rem; padding: 1.75rem;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.bento-card:hover { box-shadow: 0 8px 32px rgba(27,156,133,.13); transform: translateY(-2px); }

.bento-large {
  grid-column: span 2;
  padding: 2.25rem;
}
@media (max-width: 639px) { .bento-large { grid-column: span 1; } }

.bento-small { grid-column: span 1; }
@media (max-width: 1023px) { .bento-small { grid-column: span 1; } }

.bento-teal { background: rgba(27,156,133,.08); border-color: rgba(27,156,133,.2); }
.bento-accent { background: #F7F5F2; border-color: rgba(27,156,133,.3); }

.bento-icon-dark { width: 3rem; height: 3rem; background: rgba(247,245,242,.12); color: #22B89D; border-radius: .875rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.bento-icon-teal { width: 3rem; height: 3rem; background: rgba(27,156,133,.15); color: #1B9C85; border-radius: .875rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.bento-icon-accent { width: 2.5rem; height: 2.5rem; background: rgba(27,156,133,.1); color: #1B9C85; border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

.bento-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.bento-tag-dark { background: rgba(247,245,242,.15); color: rgba(247,245,242,.88); font-size: .7rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }
.bento-tag-light { background: rgba(27,156,133,.12); color: #1B9C85; font-size: .7rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; }
.bento-new-badge { background: #1B9C85; color: #F7F5F2; font-size: .65rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; }

/* ── Service icon (small cards) ── */
.service-icon { width: 2.75rem; height: 2.75rem; background: rgba(27,156,133,.1); color: #1B9C85; border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }

/* ── Diff cards ── */
.diff-card { background: #F7F5F2; border: 1px solid rgba(15,20,25,.07); border-radius: 1.25rem; padding: 2rem; position: relative; overflow: hidden; }
.diff-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); }
.diff-number { position: absolute; top: 1.25rem; right: 1.5rem; font-family: 'Syne', sans-serif; font-size: 3.5rem; font-weight: 800; color: rgba(27,156,133,.07); line-height: 1; }

/* ── Positioning features ── */
.pos-feature-row { display: flex; gap: 1rem; align-items: center; padding: 1rem; border-radius: .875rem; background: #EEE9E2; }
.pos-feature-row-accent { background: rgba(27,156,133,.06); border: 1px solid rgba(27,156,133,.18); }
.pos-feature-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(27,156,133,.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pos-feature-icon-accent { background: rgba(27,156,133,.18); }

/* ── Case cards ── */
.case-card { background: rgba(247,245,242,.06); border: 1px solid rgba(247,245,242,.1); border-radius: 1.25rem; padding: 1.75rem; transition: border-color .2s; }
.case-card:hover { border-color: rgba(27,156,133,.3); }
.stat-block { background: rgba(27,156,133,.1); border-radius: .875rem; padding: .875rem .5rem; text-align: center; }

/* ── Step timeline ── */
.step-card { background: #F7F5F2; border: 1px solid rgba(15,20,25,.09); border-radius: 1rem; padding: 1.5rem; text-align: center; }
.step-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.75rem; color: #1B9C85; margin-bottom: .5rem; line-height: 1; }

/* ── About photo ── */
.about-photo-wrap { position: relative; display: flex; justify-content: center; }
.about-photo-card {
  width: min(340px, 85vw); border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  border: 1px solid rgba(247,245,242,.08);
}
.about-photo-img {
  display: block; width: 100%; height: auto;
  object-fit: cover; object-position: center top;
}
.about-photo-badge {
  position: absolute; bottom: -1rem; right: max(calc(50% - 10rem), 0rem);
  background: #1B9C85; color: #F7F5F2;
  border-radius: 1rem; padding: .875rem 1.25rem;
  box-shadow: 0 8px 24px rgba(27,156,133,.4);
}

/* ── Pricing ── */
.price-card {
  background: #F7F5F2; border: 1px solid rgba(15,20,25,.09);
  border-radius: 1.25rem; padding: 2rem; position: relative;
  transition: box-shadow .2s, transform .2s;
}
.price-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }
.price-card-featured { background: #0F1419; border-color: #1B9C85; box-shadow: 0 8px 32px rgba(27,156,133,.25); }
.price-featured-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: #1B9C85; color: #F7F5F2;
  font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .9rem; border-radius: 0 0 .75rem .75rem;
}
.price-icon { width: 2.75rem; height: 2.75rem; background: rgba(27,156,133,.1); color: #1B9C85; border-radius: .75rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.price-icon-featured { background: rgba(27,156,133,.2); }
.price-desde { font-size: .75rem; color: rgba(15,20,25,.45); margin-bottom: 0; }
.price-amount { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; color: #0F1419; line-height: 1.1; }
.price-period { font-size: .75rem; color: rgba(15,20,25,.45); margin-bottom: 1.25rem; }
.price-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .6rem; margin-top: 1.25rem; border-top: 1px solid rgba(15,20,25,.08); padding-top: 1.25rem; }
.price-features li { font-size: .85rem; color: rgba(15,20,25,.7); padding-left: 1.25rem; position: relative; }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: #1B9C85; font-weight: 700; }
.price-card-featured .price-features { border-color: rgba(247,245,242,.12); }
.price-card-featured .price-features li::before { color: #22B89D; }

/* ── Credential tags ── */
.credential-tag { background: rgba(247,245,242,.12); color: rgba(247,245,242,.92); font-size: .75rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; border: 1px solid rgba(247,245,242,.22); }

/* ── Testimonials ── */
.testimonial-card { background: #F7F5F2; border: 1px solid rgba(15,20,25,.07); border-radius: 1.25rem; padding: 1.75rem; }
.stars { color: #F59E0B; letter-spacing: .05em; font-size: 1rem; }
.avatar-placeholder { width: 2.75rem; height: 2.75rem; background: #1B9C85; color: #F7F5F2; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 700; font-family: 'Syne', sans-serif; flex-shrink: 0; }

/* ── Contact form box ── */
.contact-form-box { background: #F7F5F2; border-radius: 1.5rem; padding: 2.25rem; }

/* ── Forms ── */
.form-label { display: block; font-size: .8rem; font-weight: 600; color: #0F1419; margin-bottom: .4rem; }
.form-input { width: 100%; border: 1.5px solid rgba(15,20,25,.15); border-radius: .625rem; padding: .75rem 1rem; font-size: .9rem; font-family: 'IBM Plex Sans', sans-serif; background: #F7F5F2; color: #0F1419; transition: border-color .15s, box-shadow .15s; outline: none; resize: vertical; }
.form-input:focus { border-color: #1B9C85; box-shadow: 0 0 0 3px rgba(27,156,133,.1); }
.form-input::placeholder { color: rgba(15,20,25,.32); }

/* ── WhatsApp float ── */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 999; background: #25D366; color: #fff; border-radius: 999px; padding: .9rem 1.35rem; display: flex; align-items: center; gap: .55rem; box-shadow: 0 4px 20px rgba(37,211,102,.45); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.wa-float-label { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .85rem; white-space: nowrap; }
@media (max-width: 480px) { .wa-float-label { display: none; } .wa-float { padding: .95rem; border-radius: 50%; } }

/* ── Modal ── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(15,20,25,.65); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.hidden { display: none; }
.modal-box { background: #F7F5F2; border-radius: 1.5rem; padding: 2.25rem; width: 100%; max-width: 26rem; position: relative; max-height: 90vh; overflow-y: auto; box-shadow: 0 24px 64px rgba(0,0,0,.35); animation: modalIn .22s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(15,20,25,.07); border: none; cursor: pointer; width: 2rem; height: 2rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #0F1419; transition: background .15s; }
.modal-close:hover { background: rgba(15,20,25,.15); }

/* ── Mobile nav ── */
.mobile-nav-link { color: rgba(247,245,242,.75); font-size: 1rem; font-weight: 500; padding: .35rem 0; border-bottom: 1px solid rgba(247,245,242,.07); }

/* ── FAQ accordion ── */
.faq-item { border: 1px solid rgba(15,20,25,.09); border-radius: 1rem; overflow: hidden; background: #F7F5F2; transition: border-color .2s; }
.faq-item:hover { border-color: rgba(27,156,133,.25); }
.faq-btn { width: 100%; text-align: left; padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; background: none; border: none; cursor: pointer; font-family: 'IBM Plex Sans', sans-serif; font-size: .95rem; font-weight: 600; color: #0F1419; gap: 1rem; }
.faq-btn:hover { background: rgba(27,156,133,.04); }
.faq-chevron { flex-shrink: 0; transition: transform .22s; }
.faq-btn.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.2rem; color: rgba(15,20,25,.62); font-size: .9rem; line-height: 1.75; }
.faq-answer.open { display: block; }

/* ── Markets panel (SEO Local section) ── */
.markets-panel { background: rgba(15,20,25,.6); border: 1px solid rgba(247,245,242,.1); border-radius: 1.5rem; padding: 2rem; }
.market-group-label { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(247,245,242,.4); margin-bottom: .5rem; }
.market-item { display: flex; align-items: flex-start; gap: .875rem; padding: .875rem 1rem; border-radius: .875rem; background: rgba(27,156,133,.06); border: 1px solid rgba(27,156,133,.12); margin-bottom: .5rem; }
.market-dot { width: .55rem; height: .55rem; background: #1B9C85; border-radius: 50%; flex-shrink: 0; margin-top: .35rem; }
.market-dot-intl { background: #22B89D; }
.market-city { font-weight: 600; color: rgba(247,245,242,.9); font-size: .9rem; }
.market-detail { font-size: .75rem; color: rgba(247,245,242,.55); margin-top: .2rem; }
.market-stat-row { display: flex; align-items: center; gap: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(247,245,242,.08); }
.market-stat { text-align: center; flex: 1; }
.market-stat-divider { width: 1px; height: 2.5rem; background: rgba(247,245,242,.1); }

/* ── Channel cards (Posicionamiento section) ── */
.pos-channel-card { background: #F7F5F2; border: 1px solid rgba(15,20,25,.09); border-radius: 1.25rem; padding: 2rem; transition: box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.pos-channel-card:hover { box-shadow: 0 8px 32px rgba(27,156,133,.13); transform: translateY(-2px); }
.pos-channel-featured { background: #0F1419; border-color: rgba(27,156,133,.4); box-shadow: 0 8px 32px rgba(27,156,133,.2); }
.pos-channel-icon { width: 3rem; height: 3rem; background: rgba(27,156,133,.1); color: #1B9C85; border-radius: .875rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.pos-channel-icon-featured { background: rgba(27,156,133,.2); }
.pos-channel-stat { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(15,20,25,.08); }
.pos-channel-stat-dark { border-color: rgba(247,245,242,.1); }

/* ── Audit CTA section ── */
.audit-cta-section { background: #0F1419; }
.audit-cta-inner { position: relative; border: 1px solid rgba(27,156,133,.25); border-radius: 2rem; padding: 4rem 2rem; overflow: hidden; }
.audit-cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(27,156,133,.2) 0%, transparent 70%); pointer-events: none; }
.audit-cta-badge { display: inline-block; background: rgba(27,156,133,.15); border: 1px solid rgba(27,156,133,.3); color: #22B89D; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .4rem 1rem; border-radius: 999px; }
.audit-cta-items { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem 2rem; max-width: 36rem; margin: 0 auto; text-align: left; }
.audit-cta-item { display: flex; align-items: flex-start; gap: .625rem; color: rgba(247,245,242,.8); font-size: .9rem; }
@media (max-width: 640px) { .audit-cta-items { grid-template-columns: 1fr; } .audit-cta-inner { padding: 3rem 1.25rem; } }

/* ── Utility ── */
.font-display { font-family: 'Syne', sans-serif; }
