/* =============================================
   ECOVACIADOSERVICE.ES — CSS Principal
   Paleta: #1a2e2c · #2d6b63 · #a8ddd6 · #daf4f1 · #0fa88a
   ============================================= */

:root {
  --forest:    #1a2e2c;
  --sage:      #2d6b63;
  --mint:      #a8ddd6;
  --mist:      #daf4f1;
  --green:     #0fa88a;
  --white:     #ffffff;
  --off-white: #f2faf9;
  --text:      #111e1d;
  --text-mid:  #3d5c59;
  --text-light:#6b8c88;
  --border:    #c8e8e4;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --shadow-sm: 0 2px 8px rgba(26,46,44,.07);
  --shadow-md: 0 8px 32px rgba(26,46,44,.10);
  --shadow-lg: 0 20px 60px rgba(26,46,44,.13);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', -apple-system, sans-serif;
  --max-w: 1160px;
  --section-py: 100px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── CONTAINER ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { font-size: 1.0625rem; color: var(--text-mid); line-height: 1.4; }
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sage); background: var(--mist);
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}
.label-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px;
  font-size: .9375rem; font-weight: 600; cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--mint); color: var(--forest);
}
.btn-primary:hover { background: var(--sage); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: var(--white); transform: translateY(-1px); }
.btn-ghost {
  background: var(--mist); color: var(--forest);
}
.btn-ghost:hover { background: var(--mint); }
.btn-wa {
  background: #25D366; color: var(--white);
  border-color: #25D366;
}
.btn-wa:hover { background: #1cb757; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }
.btn-call { background: var(--forest); color: var(--white); border-color: var(--forest); }
.btn-call:hover { background: var(--sage); border-color: var(--sage); transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ─── TOPBAR ─── */
.topbar {
  background: var(--forest);
  color: var(--mint);
  font-size: .8125rem; font-weight: 500;
  padding: 10px 0;
  text-align: center;
}
.topbar-inner { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.topbar a { color: var(--mint); }
.topbar a:hover { color: var(--white); }
.topbar-dot { color: var(--sage); }

/* ─── NAVBAR ─── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--forest);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo svg { width: 36px; height: 36px; }
.nav-logo-text {
  font-size: 1.0625rem; font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.nav-logo-text .nav-sub { display: block; font-size: .65rem; font-weight: 500; color: var(--mint); letter-spacing: .05em; text-transform: uppercase; margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75); transition: color var(--transition); }
.nav-links a:hover { color: var(--white); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone { font-size: .9rem; font-weight: 700; color: var(--white); display: flex; align-items: center; gap: 6px; }
.nav-phone svg { width: 15px; height: 15px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ─── HERO ─── */
.hero {
  background: var(--off-white);
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 50%, var(--mist) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: .8rem; font-weight: 600; color: var(--sage);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(54,141,53,.4)} 50%{box-shadow:0 0 0 6px rgba(54,141,53,0)} }
.hero h1 { color: var(--forest); margin-bottom: 20px; }
.hero h1 .accent { color: #2ecc71; }
.hero-desc { font-size: 0.875rem; color: var(--text-mid); margin-bottom: 36px; max-width: 480px; line-height: 1.35; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 0; flex-wrap: nowrap; justify-content: space-between; max-width: 420px; margin: 0 auto; }
.hero-stat { }
.hero-stat-num { font-size: 1.25rem; font-weight: 800; color: var(--forest); line-height: 1; }
.hero-stat-label { font-size: .7rem; color: var(--text-light); margin-top: 2px; }
.hero-visual { position: relative; }
.hero-img-mobile { display: none; }
.hero-img-card {
  aspect-ratio: 4/3;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  animation: heroFloat 4s ease-in-out infinite;
  transform: scale(1.18);
  transform-origin: center center;
}
.hero-img-real {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center; display: block;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
.hero-img-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  color: var(--sage); font-size: .875rem; font-weight: 500;
}
.hero-img-placeholder svg { width: 48px; height: 48px; opacity: .5; }
.hero-floating-card {
  position: absolute; bottom: 32px; left: -24px;
  background: var(--white); border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 180px;
}
.hero-floating-card-title { font-size: .75rem; color: var(--text-light); font-weight: 500; margin-bottom: 4px; }
.hero-floating-card-val { font-size: 1.25rem; font-weight: 800; color: var(--forest); }
.hero-wave { display: block; margin-top: 60px; }

/* ─── TRUST BAR ─── */
.trust-bar {
  background: var(--forest);
  padding: 18px 0;
}
.trust-bar-inner { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--mint); font-size: .875rem; font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--mint); opacity: .8; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-header h2 { color: var(--forest); margin-bottom: 14px; }
.section-header p { font-size: 1.0625rem; }

/* ─── SERVICES ─── */
.services { padding: var(--section-py) 0; background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card--bg {
  position: relative;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  border: none;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}
.service-card--bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,20,.82) 40%, rgba(10,30,20,.35) 100%);
  border-radius: var(--radius-lg);
}
.service-card--bg .service-card-body {
  position: relative;
  z-index: 1;
  padding: 20px;
  width: 100%;
}
.service-card--bg h3 { color: #fff !important; margin-bottom: 8px; }
.service-card--bg p { color: rgba(255,255,255,.85) !important; font-size: .85rem; margin-bottom: 14px; }
.service-card--bg .service-card-link { color: #4ade80; }
.service-card-img {
  aspect-ratio: 3/2;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: .8rem; font-weight: 500;
  gap: 8px;
}
.service-card-img svg { width: 32px; height: 32px; opacity: .6; }
.service-card-body { padding: 20px; }
.service-card-icon {
  width: 44px; height: 44px;
  background: var(--mist);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  color: var(--green);
}
.service-card-icon svg { width: 22px; height: 22px; }
.service-card h3 { color: var(--forest); margin-bottom: 8px; }
.service-card p { font-size: .9rem; margin-bottom: 16px; }
.service-card-link { font-size: .875rem; font-weight: 600; color: var(--green); display: inline-flex; align-items: center; gap: 4px; }
.service-card-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* ─── HOW IT WORKS ─── */
.how { padding: var(--section-py) 0; background: var(--off-white); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.how-step { text-align: center; }
.how-step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest); color: var(--white);
  font-size: 1.25rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.how-step h3 { color: var(--forest); margin-bottom: 8px; }
.how-step p { font-size: .9rem; max-width: 200px; margin: 0 auto; text-align: center; }

/* ─── ABOUT ─── */
.about { padding: var(--section-py) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr; max-width: 680px; margin: 0 auto; }
.about-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: .875rem; font-weight: 500; gap: 8px;
}
.about-img svg { width: 40px; height: 40px; opacity: .5; }
.about-content .label-tag { margin-bottom: 20px; }
.about-content h2 { color: var(--forest); margin-bottom: 20px; }
.about-content p { margin-bottom: 16px; }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about-list-item { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--text-mid); }
.about-list-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--mist); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.about-list-icon svg { width: 12px; height: 12px; color: var(--green); }

/* ─── REVIEWS ─── */
.reviews { padding: var(--section-py) 0; background: var(--forest); }
.reviews .section-header h2 { color: var(--white); }
.reviews .section-header p { color: var(--mint); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 16px; height: 16px; color: #f5c518; }
.review-text { font-size: .9375rem; color: var(--mint); line-height: 1.7; margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sage); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; color: var(--white); }
.review-name { font-size: .875rem; font-weight: 600; color: var(--white); }
.review-date { font-size: .75rem; color: var(--text-light); color: rgba(200,227,196,.5); }

/* ─── CONTACT ─── */
.contact { padding: 40px 0 40px; background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { color: var(--forest); margin-bottom: 8px; }
.contact-info p { margin-bottom: 16px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 18px 20px;
}
.contact-method-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--mist); display: flex; align-items: center; justify-content: center;
  color: var(--green); flex-shrink: 0;
}
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method-label { font-size: .75rem; color: var(--text-light); font-weight: 500; margin-bottom: 2px; }
.contact-method-val { font-size: 1rem; font-weight: 700; color: var(--forest); }
.contact-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px;
  box-shadow: var(--shadow-md);
}
.contact-form h3 { color: var(--forest); margin-bottom: 6px; font-size: 1.05rem; }
.form-group { margin-bottom: 7px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.form-group label { display: block; font-size: .7rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  font-size: .8rem; font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(54,141,53,.1); }
.form-group textarea { resize: vertical; min-height: 48px; }
.form-submit { width: 100%; margin-top: 4px; justify-content: center; padding: 9px 16px; font-size: .85rem; }
.form-note { text-align: center; font-size: .65rem; color: var(--text-light); margin-top: 5px; }

/* ─── FAQ ─── */
.faq { padding: var(--section-py) 0; background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%; text-align: left;
  padding: 20px 24px; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem; font-weight: 600; color: var(--forest);
  font-family: var(--font);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question svg { width: 20px; height: 20px; color: var(--sage); transition: transform var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
  font-size: .9375rem; color: var(--text-mid); line-height: 1.75;
  padding: 0 24px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: var(--green);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,.8); margin-bottom: 36px; font-size: 1.125rem; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta-banner .btn-primary { background: var(--forest); }
.cta-banner .btn-outline { border-color: var(--white); color: var(--white); }
.cta-banner .btn-outline:hover { background: var(--white); color: var(--green); }

/* ─── FOOTER ─── */
.footer { background: var(--forest); color: var(--mint); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand p { font-size: .875rem; color: rgba(200,227,196,.7); margin-top: 14px; max-width: 280px; line-height: 1.7; }
.footer-col h4 { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .875rem; color: rgba(200,227,196,.7); transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .8125rem; color: rgba(200,227,196,.5);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: rgba(200,227,196,.5); }
.footer-bottom a:hover { color: var(--white); }

/* ─── FLOAT BUTTONS ─── */
.float-btns { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-btn-wa { background: #25D366; color: var(--white); }
.float-btn-tel { background: var(--forest); color: var(--white); }
.float-btn svg { width: 24px; height: 24px; }

/* ─── MOBILE NAV OVERLAY ─── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--white);
  padding: 24px;
  flex-direction: column;
}
.mobile-nav.open { display: flex; }
.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav-close { background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--forest); }
.mobile-nav-links { display: flex; flex-direction: column; gap: 24px; }
.mobile-nav-links a { font-size: 1.5rem; font-weight: 700; color: var(--forest); }
.mobile-nav-footer { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 12px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); flex-wrap: wrap; overflow-x: visible; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  :root { --section-py: 64px; }
  .nav-links, .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 48px 0 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-img-mobile { display: flex; justify-content: center; margin: 16px 0; }
  .hero-img-real-mobile { width: 300px; animation: heroFloat 4s ease-in-out infinite; }
  .hero-floating-card { display: none; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-x: unset;
  }
  .service-card {
    flex: unset;
    max-width: unset;
  }
  .trust-bar-inner { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: center; justify-content: center; }
  .nav-phone { display: none; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .how-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; justify-content: center; max-width: 100%; }
  .hero-content { text-align: left; }
  .hero-actions { flex-direction: column; gap: 8px; align-items: stretch; }
  .hero-actions .btn-lg { width: 100%; justify-content: center; padding: 12px 20px; font-size: .9rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
}
