/* ===================================================
   WEB ECONÓMICA ELCHE — styles.css  v3
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 18px;
  line-height: 1.78;
  color: #2c3e50;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { padding-left: 1.4em; }
ul li { margin-bottom: .5em; color: #555; }

/* ---------- VARIABLES ---------- */
:root {
  --blue:    #1a3c6e;
  --blue-lt: #2656a0;
  --gold:    #e8a020;
  --green:   #27ae60;
  --green-dk:#1e8449;
  --light:   #f5f7fa;
  --alt:     #eef2f8;
  --text:    #2c3e50;
  --muted:   #555;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(0,0,0,.12);
}

/* ---------- TYPOGRAPHY ---------- */
h1,h2,h3,h4 { font-family: 'Poppins', sans-serif; line-height: 1.22; color: var(--blue); }
h1 { font-size: clamp(2rem,5vw,3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem,3.5vw,2.1rem); font-weight: 700; margin-bottom: .55em; }
h3 { font-size: clamp(1.05rem,2.5vw,1.4rem); font-weight: 600; margin-bottom: .4em; }
p  { margin-bottom: 1.2em; color: var(--muted); }
p strong, li strong { color: var(--text); }
.section-label {
  display: inline-block;
  background: rgba(26,60,110,.08);
  color: var(--blue-lt);
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1em;
}

/* ---------- LAYOUT ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.section    { padding: 78px 0; }
.section-alt{ background: var(--alt); }
.section-white{ background: #fff; }
.section-dark { background: linear-gradient(135deg, var(--blue) 0%, #0d2240 100%); color: #fff; }
.section-dark h2,.section-dark h3 { color: #fff; }
.section-dark p,.section-dark li  { color: rgba(255,255,255,.82); }
.text-center { text-align: center; }

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  height: 68px;
  background: var(--blue);
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  transition: background .3s, height .3s;
}
.navbar.transparent {
  background: transparent;
  box-shadow: none;
}
.navbar.scrolled {
  background: var(--blue) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}
.logo span { color: var(--gold); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  padding: 8px 14px;
  color: rgba(255,255,255,.9);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li:hover > a {
  background: rgba(255,255,255,.15);
  color: #fff;
}
/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s, transform .22s, visibility .22s;
  z-index: 999;
  padding: 8px 0;
}
.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 18px;
  color: var(--text);
  font-family: 'Open Sans', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: var(--alt); color: var(--blue); }
.caret::after { content: ' ▾'; font-size: .7em; }

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: .25s;
}
@media(max-width:860px){
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 24px;
    gap: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .25s;
  }
  .nav-links.open { transform: scaleY(1); }
  .nav-links > li { width: 100%; }
  .nav-links > li > a { padding: 12px 24px; border-radius: 0; }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,.2);
    border-radius: 0;
    display: none;
  }
  .nav-links > li.mob-open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,.85); padding: 10px 36px; }
}

/* ---------- HERO (shared) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(10,25,55,.80) 0%, rgba(10,25,55,.65) 60%, rgba(10,25,55,.88) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 40px 20px 60px;
  color: #fff;
}
.hero-inner h1 {
  color: #fff;
  font-size: clamp(2.4rem,6vw,4rem);
  font-weight: 800;
  text-shadow: 0 3px 20px rgba(0,0,0,.5);
  margin-bottom: .3em;
}
.hero-inner h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: clamp(1.05rem,2.5vw,1.28rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2em;
  font-family: 'Open Sans', sans-serif;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5em;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
  border-radius: 50px;
  padding: 9px 20px;
  color: rgba(255,255,255,.9);
  font-size: .88rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ecc71;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow: 0 0 0 0 rgba(46,204,113,.6); }
  50%    { box-shadow: 0 0 0 8px rgba(46,204,113,0); }
}
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: .75rem;
  font-family: 'Poppins', sans-serif;
}
.arrow-down {
  width: 22px; height: 22px;
  border-right: 2px solid rgba(255,255,255,.5);
  border-bottom: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
  animation: bounceD 1.8s infinite;
}
@keyframes bounceD {
  0%,100%{ transform: rotate(45deg) translateY(0); }
  50%    { transform: rotate(45deg) translateY(6px); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, filter .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 4px 18px rgba(39,174,96,.4); }
.btn-outline  {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  padding: 12px 28px;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 4px 18px rgba(232,160,32,.4); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 4px 18px rgba(26,60,110,.35); }

/* ---------- CARDS GRID ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
@media(max-width:860px){ .grid-3{ grid-template-columns:1fr; } .grid-2{ grid-template-columns:1fr; } }

.card {
  background: #fff;
  border-radius: 14px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e8edf6;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.card-icon {
  font-size: 2.6rem;
  margin-bottom: .6em;
  display: block;
}

/* ---------- STAT BAND ---------- */
.stat-band {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 54px 0;
}
.stat-item { text-align: center; min-width: 130px; }
.stat-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}
.stat-label { font-size: .88rem; color: rgba(255,255,255,.75); margin-top: .3em; }
.stat-band-light .stat-label { color: var(--muted); }
.stat-band-light .stat-num   { color: var(--blue); }

/* ---------- PRICING ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 2.2em;
}
@media(max-width:860px){ .pricing-grid{ grid-template-columns:1fr; } }
.price-card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 44px 30px 38px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,.10);
  border: 2px solid #e8edf6;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: 0 14px 44px rgba(0,0,0,.14); }
.price-card.featured {
  border-color: var(--gold);
  background: #fffdf4;
  transform: scale(1.04);
}
.price-card.featured:hover { transform: scale(1.04) translateY(-4px); }
.price-badge {
  position: absolute;
  top: -17px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #f5b842);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  padding: 6px 22px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232,160,32,.4);
}
.price-name {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5em;
}
.price-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.price-amount sup { font-size: 1.4rem; vertical-align: top; margin-top: .5em; }
.price-amount small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.price-desc { font-size: .9rem; color: var(--muted); margin: .8em 0 1.2em; }
.price-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.8em;
}
.price-features li {
  padding: 7px 0;
  border-bottom: 1px solid #eef2f8;
  font-size: .92rem;
  color: var(--muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.price-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  margin-top: 2em;
}
@media(max-width:860px){ .testimonials-grid{ grid-template-columns:1fr; } }
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 30px 26px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.testimonial-card .stars { color: #f5b842; font-size: 1.1rem; margin-bottom: .5em; }
.testimonial-card p { font-size: .95rem; font-style: italic; margin-bottom: 1em; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-author img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--alt);
}
.testi-author strong { display: block; font-size: .92rem; color: var(--text); }
.testi-author span   { font-size: .82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #dde4f0;
  padding: 18px 0;
}
.faq-q {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform .25s, background .25s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-item.open .faq-a { max-height: 400px; padding-top: 12px; }
.faq-a p { font-size: .97rem; margin-bottom: 0; }

/* ---------- ZONES GRID ---------- */
.zones-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 2em;
}
@media(max-width:860px){ .zones-grid{ grid-template-columns:repeat(2,1fr); } }
.zone-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--gold);
  transition: transform .2s;
  display: block;
  color: var(--text);
}
.zone-card:hover { transform: translateY(-5px); }
.zone-card .zone-icon { font-size: 2.2rem; margin-bottom: .4em; }
.zone-card strong { display: block; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--blue); }
.zone-card span { font-size: .85rem; color: var(--muted); }

/* ---------- PROCESS STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 2em;
  counter-reset: step;
}
@media(max-width:860px){ .steps{ grid-template-columns:1fr; } }
.step {
  text-align: center;
  padding: 32px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-lt));
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto .8em;
}
.step h3 { font-size: 1.05rem; }

/* ---------- FLOATING BUTTON ---------- */
.float-cta {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 18px rgba(0,0,0,.25);
  transition: transform .2s;
  white-space: nowrap;
}
.float-btn:hover { transform: scale(1.05); }
.float-btn-green { background: #25d366; }
.float-btn-blue  { background: var(--blue-lt); }
.float-btn svg { flex-shrink: 0; }

/* ---------- FOOTER ---------- */
footer {
  background: #0b1f3d;
  color: rgba(255,255,255,.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media(max-width:860px){ .footer-grid{ grid-template-columns:1fr; } }
footer h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .8em;
}
footer a { color: rgba(255,255,255,.7); transition: color .2s; }
footer a:hover { color: var(--gold); }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: .5em; }
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .5em;
}
.footer-logo span { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 22px;
  text-align: center;
  font-size: .85rem;
}

/* ---------- UTILITY ---------- */
.mt1 { margin-top: 1em; }
.mt2 { margin-top: 2em; }
.mb1 { margin-bottom: 1em; }
.tag {
  display: inline-block;
  background: rgba(26,60,110,.09);
  color: var(--blue);
  font-size: .82rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: .5em;
}
.highlight-box {
  background: linear-gradient(135deg, rgba(26,60,110,.06), rgba(26,60,110,.02));
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
  border-radius: 0 10px 10px 0;
  margin: 1.4em 0;
}
.highlight-box p { margin-bottom: 0; }

/* ---------- SUBPAGE HERO (sin navbar transparente) ---------- */
.hero-sub-page {
  min-height: 52vh;
  padding-top: 68px;
}
