/* Sánchez Plomería 24 Horas — Landing page estática */
:root{
  --blue:#143b9f;
  --blue-dark:#09235f;
  --blue-deep:#061d50;
  --blue-soft:#eef3ff;
  --yellow:#ffd21f;
  --red:#ef332d;
  --green:#20be4b;
  --green-dark:#159839;
  --ink:#16213e;
  --muted:#5d6678;
  --white:#fff;
  --line:#e6e9f0;
  --shadow:0 18px 55px rgba(16,38,88,.14);
  --radius:22px;
  --container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit}
button,input,textarea,select{font:inherit}
svg{display:block;fill:currentColor}
section[id]{scroll-margin-top:95px}
.container{width:min(var(--container),calc(100% - 40px));margin-inline:auto}
.skip-link{
  position:fixed;left:16px;top:-80px;z-index:9999;
  background:#fff;color:#111;padding:12px 16px;border-radius:8px;
}
.skip-link:focus{top:16px}
.topbar{
  background:linear-gradient(90deg,#11369a,#0b2c80);
  color:#fff;font-size:13px;font-weight:700;
}
.topbar__inner{
  min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:22px;
}
.topbar span{display:flex;align-items:center;gap:8px}
.topbar svg{width:16px;height:16px}
.site-header{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);
  backdrop-filter:saturate(160%) blur(10px);
  border-bottom:1px solid rgba(18,52,137,.08);
}
.header__inner{height:94px;display:flex;align-items:center;gap:28px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{width:190px;height:auto}
.nav{display:flex;align-items:center;justify-content:center;gap:34px;margin-left:auto}
.nav a{
  text-decoration:none;color:#152e70;font-weight:700;font-size:15px;
  transition:color .2s ease;
}
.nav a:hover,.nav a:focus-visible{color:var(--red)}
.header-contact{display:flex;align-items:center;gap:14px;margin-left:20px}
.header-phone{
  display:flex;align-items:center;gap:10px;text-decoration:none;color:#12337f;
}
.header-phone svg{width:30px;height:30px}
.header-phone span{display:grid;line-height:1.05}
.header-phone small{font-size:11px;font-weight:700;color:#4a5878;margin-bottom:5px}
.header-phone strong{font-size:20px;letter-spacing:.02em;white-space:nowrap}
.header-whatsapp{
  width:46px;height:46px;border-radius:50%;display:grid;place-items:center;
  background:var(--green);color:#fff;text-decoration:none;
  box-shadow:0 8px 22px rgba(32,190,75,.3);transition:transform .2s ease;
}
.header-whatsapp:hover{transform:translateY(-2px)}
.header-whatsapp svg{width:25px;height:25px}
.menu-toggle{display:none;background:none;border:0;padding:8px;cursor:pointer}
.menu-toggle span{display:block;width:27px;height:3px;border-radius:99px;background:var(--blue-dark);margin:5px 0}

.hero{
  position:relative;isolation:isolate;min-height:565px;overflow:hidden;background:var(--blue-deep);
}
.hero__image{
  position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover;
  object-position:center;transform:scaleX(-1);
}
.hero__overlay{
  position:absolute;z-index:-2;inset:0;
  background:
    linear-gradient(90deg,rgba(5,25,74,.98) 0%,rgba(7,32,91,.94) 37%,rgba(10,38,101,.56) 59%,rgba(7,25,63,.08) 82%),
    linear-gradient(0deg,rgba(7,27,74,.28),rgba(7,27,74,.08));
}
.hero__inner{min-height:565px;display:flex;align-items:center;padding-block:62px 92px}
.hero__content{width:min(620px,58%);color:#fff}
.eyebrow{
  margin:0 0 9px;text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:900;color:#dce6ff;
}
.eyebrow--blue{color:var(--blue);letter-spacing:.1em}
.hero h1{
  margin:0;color:#fff;font-size:clamp(42px,5vw,66px);line-height:.98;letter-spacing:-.035em;
}
.hero h1 span{display:block;color:var(--yellow);margin-top:8px}
.hero__lead{font-size:18px;max-width:580px;margin:24px 0 26px;color:#f5f7ff}
.hero-phone{
  width:fit-content;max-width:100%;display:flex;align-items:center;gap:15px;
  background:#fff;color:var(--blue);border:3px solid #87d6ff;border-radius:14px;
  padding:10px 20px 10px 12px;text-decoration:none;
  box-shadow:0 10px 30px rgba(0,0,0,.24),0 0 18px rgba(90,191,255,.35);
}
.hero-phone__icon{
  width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff;flex:0 0 auto;
}
.hero-phone__icon svg{width:30px;height:30px}
.hero-phone__number{
  font-size:clamp(34px,4vw,52px);line-height:1;font-weight:950;letter-spacing:.025em;white-space:nowrap;
}
.hero-points{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:30px;max-width:620px}
.hero-points>div{display:flex;align-items:flex-start;gap:10px}
.hero-points__icon{
  flex:0 0 auto;width:40px;height:40px;border:2px solid rgba(255,255,255,.75);border-radius:50%;display:grid;place-items:center;color:#fff;
}
.hero-points__icon svg{width:21px;height:21px}
.hero-points p{display:grid;margin:0;line-height:1.25}
.hero-points strong{font-size:13px}
.hero-points small{font-size:11px;color:#e5eaff;margin-top:4px}

.trust-wrap{position:relative;z-index:5;margin-top:-48px}
.trust-card{
  background:#fff;border-radius:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:repeat(3,1fr);
  min-height:128px;padding:22px 12px;border:1px solid #eef0f5;
}
.trust-item{display:flex;align-items:center;gap:18px;padding:10px 28px}
.trust-item+ .trust-item{border-left:1px solid #dce1eb}
.trust-icon{
  width:64px;height:64px;border-radius:18px;display:grid;place-items:center;color:var(--blue);
  background:#f3f6ff;flex:0 0 auto;
}
.trust-icon svg{width:37px;height:37px}
.trust-item h2{font-size:17px;margin:0 0 4px;color:#12347e}
.trust-item p{font-size:13px;margin:0;color:var(--muted)}

.section{padding:74px 0}
.section-heading{text-align:center;max-width:760px;margin:0 auto 36px}
.section-heading--compact{margin-bottom:30px}
.section-heading h2,.about h2,.cta-section h2{
  font-size:clamp(31px,4vw,44px);letter-spacing:-.035em;line-height:1.08;margin:0 0 12px;color:#123786;
}
.section-heading h2::after,.about h2::after{
  content:"";display:block;width:56px;height:4px;border-radius:999px;background:var(--red);margin:14px auto 0;
}
.about h2::after{margin-left:0}
.section-heading p{margin:0;color:var(--muted);font-size:16px}

.services{padding-top:66px}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service-card{
  position:relative;overflow:hidden;background:#fff;border:1px solid #e8ebf1;border-radius:16px;
  box-shadow:0 10px 28px rgba(15,41,95,.10);transition:transform .2s ease,box-shadow .2s ease;
}
.service-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(15,41,95,.14)}
.service-card>img{width:100%;height:185px;object-fit:cover}
.service-card__body{position:relative;padding:28px 22px 24px}
.service-icon{
  position:absolute;top:-27px;left:20px;width:54px;height:54px;border-radius:50%;background:#123b99;color:#fff;
  display:grid;place-items:center;border:4px solid #fff;box-shadow:0 5px 15px rgba(13,49,133,.26);
}
.service-icon svg{width:27px;height:27px}
.service-card h3{font-size:19px;color:#102e76;margin:6px 0 8px}
.service-card p{font-size:14px;color:#525d71;margin:0 0 17px;min-height:65px}
.service-link{
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;color:var(--green-dark);font-weight:850;font-size:14px;
}
.service-link:hover{text-decoration:underline}

.why{background:linear-gradient(180deg,#fff,#f6f8ff)}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;text-align:center}
.why-grid article{padding:18px 12px}
.why-icon{
  width:64px;height:64px;border-radius:20px;background:#eef3ff;color:var(--blue);display:grid;place-items:center;margin:0 auto 14px;
}
.why-icon svg{width:34px;height:34px}
.why-grid h3{font-size:16px;color:#15367f;margin:0 0 7px}
.why-grid p{font-size:13px;color:var(--muted);margin:0}
.section-cta{text-align:center;margin-top:20px}
.btn{
  border:0;border-radius:11px;padding:13px 20px;text-decoration:none;font-weight:850;
  display:inline-flex;align-items:center;justify-content:center;gap:9px;transition:transform .2s ease,box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn svg{width:21px;height:21px}
.btn--whatsapp{background:var(--green);color:#fff;box-shadow:0 10px 24px rgba(32,190,75,.25)}
.btn--whatsapp:hover{background:var(--green-dark)}

.about{background:#f7f7f6}
.about__grid{display:grid;grid-template-columns:1fr 1.12fr;align-items:stretch;min-height:470px}
.about__content{padding:70px 70px 70px 10px;align-self:center}
.about__content>p:not(.eyebrow){color:#4d586b;margin:12px 0}
.about__media{overflow:hidden;min-height:470px}
.about__media img{width:100%;height:100%;object-fit:cover}
.check-list{list-style:none;padding:0;margin:23px 0 0;display:grid;gap:10px}
.check-list li{position:relative;padding-left:30px;font-weight:700;color:#273452}
.check-list li::before{
  content:"✓";position:absolute;left:0;top:0;width:21px;height:21px;border-radius:50%;
  background:var(--blue);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:900;
}

.cta-section{position:relative;isolation:isolate;overflow:hidden;color:#fff}
.cta-section__bg{position:absolute;z-index:-3;inset:0;width:100%;height:100%;object-fit:cover}
.cta-section__shade{position:absolute;z-index:-2;inset:0;background:linear-gradient(90deg,rgba(4,27,80,.98),rgba(9,47,132,.92))}
.cta-section__inner{min-height:310px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:45px;padding-block:55px}
.cta-section h2{color:#fff;margin-bottom:10px}
.cta-section p{margin:0;color:#eaf0ff;font-size:17px}
.cta-section__actions{display:grid;justify-items:center;gap:17px}
.cta-phone{display:flex;align-items:center;gap:18px;color:#fff;text-decoration:none;font-size:clamp(32px,4vw,50px);font-weight:950;white-space:nowrap}
.cta-phone svg{width:58px;height:58px;background:var(--red);padding:14px;border-radius:50%}

.footer{background:#0b2e86;color:#fff;padding-top:46px}
.footer__grid{display:grid;grid-template-columns:1.2fr .75fr 1fr;gap:65px;padding-bottom:38px}
.footer__brand img{width:230px;height:auto;margin-bottom:14px}
.footer p{color:#dae5ff}
.footer h2{font-size:15px;margin:0 0 14px;color:#fff}
.footer ul{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.footer li,.footer a{font-size:14px;color:#dbe5ff;text-decoration:none}
.footer a:hover{text-decoration:underline;color:#fff}
.footer__bottom{
  border-top:1px solid rgba(255,255,255,.23);min-height:58px;display:flex;align-items:center;justify-content:space-between;gap:24px;
}
.footer__bottom p{font-size:12px;margin:0}
.footer__bottom a{font-size:12px;font-weight:800;color:#fff}

.floating-whatsapp{
  position:fixed;z-index:90;right:22px;bottom:22px;width:60px;height:60px;border-radius:50%;
  display:grid;place-items:center;background:var(--green);color:#fff;box-shadow:0 12px 34px rgba(21,152,57,.38);
  transition:transform .2s ease;text-decoration:none;
}
.floating-whatsapp:hover{transform:translateY(-3px) scale(1.03)}
.floating-whatsapp svg{width:31px;height:31px}

.privacy-page{background:#f6f8fd;min-height:100vh}
.privacy-shell{padding:70px 0}
.privacy-card{max-width:850px;margin:auto;background:#fff;padding:48px;border-radius:18px;box-shadow:var(--shadow)}
.privacy-card h1{font-size:40px;color:#123786;margin-top:0}
.privacy-card h2{color:#123786;margin-top:30px}
.privacy-card p,.privacy-card li{color:#525d71}
.back-link{font-weight:800;color:var(--blue);text-decoration:none}

@media (max-width:1020px){
  .header__inner{height:84px}
  .brand img{width:160px}
  .nav{gap:20px}
  .header-phone small{display:none}
  .header-phone strong{font-size:17px}
  .hero__content{width:68%}
  .trust-item{padding:8px 18px}
  .trust-icon{width:54px;height:54px}
  .services-grid{grid-template-columns:repeat(2,1fr)}
  .why-grid{grid-template-columns:repeat(2,1fr)}
  .about__content{padding:55px 40px 55px 0}
  .footer__grid{gap:35px}
}
@media (max-width:780px){
  .topbar__inner{justify-content:center}
  .topbar__desktop{display:none!important}
  .header__inner{height:78px}
  .brand img{width:148px}
  .menu-toggle{display:block;margin-left:auto}
  .nav{
    position:absolute;top:78px;left:0;right:0;background:#fff;border-top:1px solid #edf0f6;
    box-shadow:0 16px 30px rgba(13,41,95,.12);display:none;flex-direction:column;gap:0;margin:0;padding:8px 20px 16px;
  }
  .nav.is-open{display:flex}
  .nav a{width:100%;padding:14px 5px;border-bottom:1px solid #edf0f6}
  .header-phone{display:none}
  .header-contact{margin-left:0}
  .header-whatsapp{width:42px;height:42px}
  .hero{min-height:auto}
  .hero__image{object-position:45% center}
  .hero__overlay{
    background:linear-gradient(90deg,rgba(5,25,74,.98) 0%,rgba(7,32,91,.93) 70%,rgba(7,32,91,.74) 100%);
  }
  .hero__inner{min-height:600px;padding:62px 0 95px;align-items:flex-end}
  .hero__content{width:100%}
  .hero h1{font-size:48px;max-width:620px}
  .hero__lead{font-size:17px;max-width:590px}
  .hero-phone__number{font-size:38px}
  .hero-phone__icon{width:50px;height:50px}
  .trust-card{grid-template-columns:1fr;padding:4px 18px}
  .trust-item{padding:20px 10px}
  .trust-item+ .trust-item{border-left:0;border-top:1px solid #e3e7ef}
  .trust-wrap{margin-top:-48px}
  .about__grid{grid-template-columns:1fr}
  .about__content{padding:55px 0 38px}
  .about__media{min-height:330px}
  .cta-section__inner{grid-template-columns:1fr;text-align:center}
  .cta-section__actions{justify-items:center}
  .footer__grid{grid-template-columns:1fr 1fr}
  .footer__brand{grid-column:1/-1}
}
@media (max-width:560px){
  .container{width:min(100% - 28px,var(--container))}
  .topbar{font-size:11px}
  .hero__inner{min-height:590px;padding-top:46px}
  .hero h1{font-size:39px}
  .hero__lead{font-size:15px;margin-top:18px}
  .hero-phone{padding:9px 13px 9px 9px;gap:10px}
  .hero-phone__icon{width:44px;height:44px}
  .hero-phone__icon svg{width:24px;height:24px}
  .hero-phone__number{font-size:29px;letter-spacing:.01em}
  .hero-points{grid-template-columns:1fr;gap:12px;margin-top:24px}
  .hero-points>div{align-items:center}
  .hero-points__icon{width:34px;height:34px}
  .hero-points small{font-size:11px}
  .trust-wrap{margin-top:-36px}
  .trust-item{align-items:flex-start}
  .section{padding:58px 0}
  .section-heading{margin-bottom:28px}
  .services-grid{grid-template-columns:1fr}
  .service-card>img{height:205px}
  .service-card p{min-height:0}
  .why-grid{grid-template-columns:1fr 1fr;gap:8px}
  .why-grid article{padding:14px 5px}
  .why-icon{width:56px;height:56px}
  .about__media{min-height:260px}
  .cta-section__inner{min-height:360px;padding-block:45px}
  .cta-phone{font-size:34px;gap:12px}
  .cta-phone svg{width:48px;height:48px}
  .footer__grid{grid-template-columns:1fr;gap:30px}
  .footer__brand{grid-column:auto}
  .footer__bottom{align-items:flex-start;flex-direction:column;justify-content:center;padding:16px 0}
  .floating-whatsapp{width:56px;height:56px;right:16px;bottom:16px}
  .privacy-card{padding:28px 22px}
  .privacy-card h1{font-size:32px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
