/* ═══ FUMIPLANO · Sanidad Ambiental ═══ */
:root {
  --ink: #0E1B20;
  --ink-2: #15262C;
  --orange: #FF6B00;
  --orange-soft: #FF8A33;
  --bg: #F6F4EF;
  --bg-alt: #EFECE4;
  --white: #FFFFFF;
  --muted: #5B6A70;
  --line: rgba(14, 27, 32, 0.12);
  --sans: 'Inter', sans-serif;
  --head: 'Oswald', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; line-height: 1.6; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--sans); }
::selection { background: var(--orange); color: #fff; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
h1, h2, h3, .brand { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.accent { color: var(--orange); }

/* Topbar */
.topbar { background: var(--ink); color: rgba(255,255,255,.8); font-size: .72rem; letter-spacing: .12em; }
.topbar-inner { display: flex; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar i { color: var(--orange); margin-right: 8px; }
.topbar a:hover { color: #fff; }

/* Nav */
.nav-wrap { position: sticky; top: 0; z-index: 100; background: rgba(246,244,239,.92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { font-size: 1.45rem; letter-spacing: .1em; }
.brand span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); transition: color .3s; }
.nav-links a:hover { color: var(--orange); }
.nav-cta { background: var(--ink); color: #fff !important; padding: 12px 20px; }
.nav-cta:hover { background: var(--orange); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; color: var(--ink); cursor: pointer; }

/* Hero */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,27,32,.94) 0%, rgba(14,27,32,.78) 45%, rgba(14,27,32,.45) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 60px; padding-bottom: 60px; color: #fff; max-width: 700px; }
.hero-kicker { display: inline-block; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: var(--orange-soft); border-left: 3px solid var(--orange); padding-left: 12px; margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.02; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,.85); max-width: 540px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; transition: all .35s; border: 1px solid transparent; }
.btn-solid { background: var(--orange); color: #fff; }
.btn-solid:hover { background: var(--orange-soft); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; font-size: .78rem; color: rgba(255,255,255,.75); }
.hero-badges i { color: var(--orange); margin-right: 7px; }

/* Stats */
.stats { background: var(--orange); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.stat:last-child { border-right: none; }
.stat-val { font-family: var(--head); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; display: inline; }
.stat-plus { font-family: var(--head); font-weight: 600; font-size: 1.2rem; }
.stat-lbl { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; margin-top: 8px; opacity: .9; }

/* Sections */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: 44px; max-width: 760px; }
.sec-index { display: inline-block; font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); font-weight: 600; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.05; margin-bottom: 16px; }
.sec-copy { color: var(--muted); max-width: 560px; }
.section-dark .sec-copy { color: rgba(255,255,255,.7); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { background: var(--white); border: 1px solid var(--line); padding: 30px 26px; position: relative; transition: all .4s; border-top: 4px solid var(--orange); }
.svc:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14,27,32,.12); }
.svc-num { font-family: var(--head); font-size: 2.4rem; font-weight: 700; color: rgba(14,27,32,.12); }
.svc-icon { width: 54px; height: 54px; background: var(--ink); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin: 6px 0 18px; }
.svc h3 { font-size: 1.05rem; margin-bottom: 10px; }
.svc p { font-size: .9rem; color: var(--muted); }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { border: 1px solid rgba(255,255,255,.14); padding: 30px 24px; position: relative; }
.step-dot { width: 46px; height: 46px; background: var(--orange); color: #fff; font-family: var(--head); font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.step h4 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* Zones */
.zones-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; }
.zones-text h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.05; margin: 14px 0 18px; }
.zones-text p { color: var(--muted); margin-bottom: 26px; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.zones-grid span { background: var(--white); border: 1px solid var(--line); padding: 16px 12px; text-align: center; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; transition: all .3s; }
.zones-grid span:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--white); border: 1px solid var(--line); padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.review-stars { color: var(--orange); font-size: .8rem; letter-spacing: 3px; }
.review p { color: var(--muted); font-size: .93rem; flex: 1; }
.review-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--orange); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.review-author strong { display: block; font-size: .9rem; }
.review-author span { color: var(--muted); font-size: .76rem; }

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.05; margin: 14px 0 16px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.contact-list i { width: 40px; height: 40px; background: var(--ink); color: var(--orange); display: flex; align-items: center; justify-content: center; font-size: .9rem; }
.contact-list a:hover { color: var(--orange); }
.contact-form { background: var(--white); border: 1px solid var(--line); padding: 34px; display: flex; flex-direction: column; gap: 14px; }
.contact-form h3 { font-size: 1.2rem; text-transform: uppercase; margin-bottom: 6px; }
.contact-form input, .contact-form select, .contact-form textarea { border: 1px solid var(--line); background: var(--bg); padding: 14px 16px; font-family: var(--sans); font-size: .9rem; color: var(--ink); width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--orange); }
.btn-block { width: 100%; justify-content: center; }

/* Footer */
footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin-top: 14px; font-size: .88rem; max-width: 320px; }
.footer-brand strong { color: var(--orange); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 { color: var(--orange); font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 8px; }
.footer-col a { font-size: .88rem; color: rgba(255,255,255,.7); transition: color .3s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; padding-bottom: 26px; font-size: .8rem; }
.footer-bottom b { color: var(--orange); }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 12px 30px rgba(37,211,102,.4); transition: all .35s; }
.wa-float:hover { transform: translateY(-4px) scale(1.05); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 900px) {
  .nav-links { position: fixed; top: 0; right: 0; height: 100vh; width: min(300px, 80vw); background: var(--white); flex-direction: column; justify-content: center; gap: 30px; padding: 40px; transform: translateX(100%); visibility: hidden; transition: transform .5s, visibility 0s .5s; box-shadow: -20px 0 60px rgba(0,0,0,.2); z-index: 110; }
  .nav-links.open { transform: translateX(0); visibility: visible; transition: transform .5s, visibility 0s; }
  .nav-toggle { display: block; z-index: 120; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero { min-height: 0; padding: 90px 0; }
}
@media (max-width: 520px) {
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 24px; text-align: left; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-col { align-items: flex-start; }
  .footer-bottom { text-align: center; }
}
