:root {
  --ink: #101722;
  --blue: #0756d9;
  --royal: #174cde;
  --line: #dbe0e7;
  --text: #5f6876;
  --heading: "Inter", sans-serif;
  --body: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; padding-top: 116px; color: var(--ink); font-family: var(--body); }
a { color: inherit; text-decoration: none; }

.site-header { position: fixed; top: 0; right: 0; left: 0; z-index: 20; height: 116px; background: #fff; box-shadow: 0 3px 16px rgb(10 27 53 / 7%); }
.header-inner { width: min(100% - 80px, 1440px); height: 100%; margin: auto; display: flex; align-items: center; }
.brand { width: 205px; display: flex; align-items: center; }
.brand img { display: block; width: 100%; height: auto; }
.main-nav { display: flex; gap: clamp(19px, 2.35vw, 42px); margin-left: auto; align-items: center; }
.main-nav a { position: relative; padding: 14px 0; color: #59616c; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: color .25s ease; }
.main-nav a::after { position: absolute; bottom: 5px; left: 0; width: 0; height: 2px; background: var(--blue); content: ""; transition: width .25s ease; }
.main-nav a:hover, .main-nav a.active { color: #101722; }
.main-nav a:hover::after, .main-nav a.active::after { width: 21px; }
.header-cta { display: inline-flex; align-items: center; gap: 18px; margin-left: clamp(24px, 3vw, 55px); padding: 15px 20px 15px 23px; border-radius: 3px; color: #fff; background: linear-gradient(112deg, #063fac, #1c69e8); box-shadow: 0 8px 19px rgb(24 87 202 / 22%); font-size: 11px; font-weight: 700; letter-spacing: .025em; transition: transform .25s ease, box-shadow .25s ease; }
.header-cta:hover { transform: translateY(-2px); box-shadow: 0 11px 24px rgb(24 87 202 / 30%); }
.header-cta svg { width: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.75; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: calc(100svh - 116px); overflow: hidden; background: #17212e; }
.slides, .slide { min-height: inherit; }
.slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .7s ease, visibility .7s ease; }
.slide.is-active { z-index: 2; visibility: visible; opacity: 1; }
.slide-image { position: absolute; inset: 0; background-color: #17212e; background-image: linear-gradient(90deg, #111925 3%, rgb(16 25 37 / .86) 36%, rgb(16 25 37 / .15) 76%), var(--slide-image, none), radial-gradient(circle at 85% 34%, #32506c 0, transparent 27%); background-position: center; background-size: cover; }
.slide-image::before { position: absolute; inset: 0; content: ""; opacity: .18; background-image: linear-gradient(90deg, transparent 49%, rgb(255 255 255 / .09) 50%, transparent 51%), linear-gradient(0deg, transparent 49%, rgb(255 255 255 / .06) 50%, transparent 51%); background-size: 92px 92px; mask-image: linear-gradient(90deg, transparent 22%, #000 100%); }
.slide-content { position: relative; z-index: 1; width: min(100% - 80px, 1440px); padding-top: clamp(106px, 16vh, 185px); margin: auto; color: #fff; }
.eyebrow { margin: 0 0 20px; color: #61a1ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.slide h1, .slide h2 { max-width: 730px; margin: 0; font-family: var(--heading); font-size: clamp(38px, 4.45vw, 71px); font-weight: 700; letter-spacing: -.055em; line-height: 1.08; }
.description { max-width: 590px; margin: 29px 0 34px; color: rgb(255 255 255 / .8); font-size: 19px; font-weight: 500; line-height: 1.75; }
.hero-link { display: inline-flex; align-items: center; gap: 20px; padding: 18px 24px 18px 28px; border-radius: 3px; color: #fff; background: linear-gradient(112deg, #063fac, #1c69e8); box-shadow: 0 10px 22px rgb(0 51 151 / 28%); font-size: 14px; font-weight: 700; letter-spacing: .02em; transition: transform .22s ease, box-shadow .22s ease, gap .22s ease; }
.hero-link:hover { gap: 26px; transform: translateY(-3px); box-shadow: 0 14px 28px rgb(0 51 151 / 40%); }
.hero-link span { color: #fff; font-size: 23px; line-height: 10px; }
.slide-number { position: absolute; right: max(40px, calc((100vw - 1440px) / 2)); top: 54px; z-index: 1; color: rgb(255 255 255 / .77); font-family: var(--heading); font-size: 14px; font-weight: 600; letter-spacing: .1em; }
.slide-number::before { display: inline-block; width: 45px; height: 1px; margin: 0 12px 5px 0; background: #5596f9; content: ""; }

.slide.is-active .eyebrow, .slide.is-active h1, .slide.is-active h2, .slide.is-active .description, .slide.is-active .hero-link { animation: reveal .75s both; }
.slide.is-active h1, .slide.is-active h2 { animation-delay: .11s; }
.slide.is-active .description { animation-delay: .21s; }
.slide.is-active .hero-link { animation-delay: .31s; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.slider-controls { position: absolute; right: max(40px, calc((100vw - 1440px) / 2)); bottom: 56px; z-index: 5; display: flex; align-items: center; gap: 16px; }
.arrow { width: 38px; height: 38px; padding: 0; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; color: #fff; background: transparent; cursor: pointer; font-size: 18px; transition: background .2s ease, border-color .2s ease; }
.arrow:hover { border-color: #4388f5; background: #1761dc; }
.slide-dots { display: flex; gap: 8px; margin: 0 5px; }
.dot { width: 23px; height: 2px; padding: 0; border: 0; background: rgb(255 255 255 / .35); cursor: pointer; transition: background .25s ease, width .25s ease; }
.dot.is-active { width: 40px; background: #61a1ff; }

.services { padding: clamp(76px, 9vw, 135px) 0; background: radial-gradient(circle at 90% 8%, #1d3859 0, transparent 32%), linear-gradient(117deg, #0a111b 0%, #121d2b 56%, #0b1420 100%); }
.services-inner { width: min(100% - 80px, 1280px); margin: auto; }
.section-heading { max-width: 650px; margin: 0 auto clamp(38px, 5vw, 64px); text-align: center; }
.section-kicker { margin: 0 0 14px; color: #8bc2ff; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-heading h2 { margin: 0; color: #fff; font-family: var(--heading); font-size: clamp(38px, 4.1vw, 58px); letter-spacing: -.055em; line-height: 1.08; }
.section-heading h2 span { color: #8bc2ff; }
.section-heading > p:last-child { max-width: 545px; margin: 19px auto 0; color: rgb(255 255 255 / .68); font-size: 15px; line-height: 1.8; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 42px); }
.service-card { min-width: 0; padding: 0 0 28px; border: 1px solid #e1e6ec; background: #fff; box-shadow: 0 16px 36px rgb(18 41 75 / 5%); transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 22px 40px rgb(18 41 75 / 13%); }
.service-card h3 { margin: 0; padding: 24px 26px 20px; color: #131d2b; font-family: var(--heading); font-size: 25px; font-weight: 700; letter-spacing: -.035em; }
.service-image { height: clamp(205px, 20vw, 275px); overflow: hidden; background: #1b2a3d; }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85) contrast(1.04); transition: transform .5s ease, filter .5s ease; }
.service-card:hover img { filter: saturate(1) contrast(1.03); transform: scale(1.06); }
.service-card > p { min-height: 82px; margin: 23px 26px 19px; color: #667080; font-size: 13px; font-weight: 500; line-height: 1.8; }
.service-card > a { display: inline-flex; align-items: center; gap: 10px; margin: 0 26px; padding-bottom: 5px; border-bottom: 1px solid #b8c4d5; color: #1453c6; font-size: 12px; font-weight: 700; }
.service-card > a span { font-size: 17px; transition: transform .2s ease; }
.service-card > a:hover span { transform: translateX(4px); }

.site-footer { position: relative; overflow: hidden; color: #fff; background: #0a111a; }
.footer-image { position: absolute; inset: 0; background-image: linear-gradient(90deg, #07111e 0%, rgb(7 17 30 / .93) 42%, rgb(7 17 30 / .62) 100%), url('../images/servicios/mantenimiento2.jpeg'); background-position: center; background-size: cover; }
.footer-inner, .footer-bottom { position: relative; z-index: 1; width: min(100% - 80px, 1280px); margin: auto; }
.footer-inner { display: flex; justify-content: space-between; gap: 70px; padding: clamp(80px, 9vw, 130px) 0 clamp(62px, 7vw, 100px); }
.footer-main { max-width: 760px; }
.footer-kicker { margin: 0 0 17px; color: #8bc2ff; font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.footer-main h2 { margin: 0; font-family: var(--heading); font-size: clamp(35px, 4vw, 59px); font-weight: 700; letter-spacing: -.055em; line-height: 1.1; }
.footer-cta { display: inline-flex; align-items: center; gap: 21px; margin-top: 36px; padding: 17px 23px 17px 25px; border: 1px solid rgb(139 194 255 / .6); color: #fff; font-size: 13px; font-weight: 700; transition: background .25s ease, gap .25s ease; }
.footer-cta:hover { gap: 28px; background: rgb(28 105 232 / .72); }
.footer-cta span { color: #8bc2ff; font-size: 21px; }
.footer-contact { display: flex; min-width: 215px; align-self: flex-end; flex-direction: column; padding-bottom: 9px; }
.footer-contact p { margin: 0 0 12px; color: rgb(255 255 255 / .57); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer-contact a { font-family: var(--heading); font-size: 20px; font-weight: 700; transition: color .2s ease; }
.footer-contact a:hover { color: #8bc2ff; }
.footer-contact .footer-email { margin-top: 9px; color: rgb(255 255 255 / .72); font-family: var(--body); font-size: 12px; font-weight: 500; }
.footer-contact .footer-email:hover { color: #8bc2ff; }
.footer-contact span { margin-top: 8px; color: #61ecab; font-size: 11px; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; border-top: 1px solid rgb(255 255 255 / .16); color: rgb(255 255 255 / .52); font-size: 10px; font-weight: 500; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { transition: color .2s ease; }
.footer-bottom a:hover { color: #fff; }

.whatsapp-float { position: fixed; right: 30px; bottom: 28px; z-index: 30; display: flex; align-items: center; gap: 13px; min-width: 264px; padding: 11px 14px 11px 11px; overflow: hidden; border: 1px solid rgb(95 224 173 / .42); border-radius: 7px; color: #fff; background: linear-gradient(125deg, #0f2233, #103a47); box-shadow: 0 12px 32px rgb(0 0 0 / 30%); transition: transform .25s ease, box-shadow .25s ease; }
.whatsapp-float::before { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: #41d994; content: ""; }
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 17px 34px rgb(0 0 0 / 42%); }
.whatsapp-icon { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 5px; color: #61ecab; background: rgb(61 211 142 / .12); }
.whatsapp-icon svg { width: 27px; fill: currentColor; }
.whatsapp-copy { display: grid; gap: 2px; }
.whatsapp-copy small { color: rgb(255 255 255 / .63); font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.whatsapp-copy strong { font-family: var(--heading); font-size: 13px; font-weight: 700; }
.whatsapp-arrow { margin-left: auto; color: #61ecab; font-size: 22px; font-weight: 400; }

@media (max-width: 900px) {
  body { padding-top: 86px; }
  .site-header { height: 86px; }
  .header-inner { width: min(100% - 40px, 1440px); }
  .brand { width: 145px; }
  .menu-toggle { display: grid; gap: 5px; width: 36px; padding: 8px 0; margin-left: auto; border: 0; background: none; cursor: pointer; }
  .menu-toggle span { display: block; width: 28px; height: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: absolute; top: 86px; right: 0; left: 0; display: grid; gap: 0; padding: 13px 20px 18px; background: #fff; box-shadow: 0 12px 22px rgb(10 27 53 / .1); transform: translateY(-130%); transition: transform .3s ease; }
  .main-nav.is-open { transform: translateY(0); }
  .main-nav a { padding: 13px 0; }
  .header-cta { display: none; }
  .hero { min-height: calc(100svh - 86px); }
  .slide-content { width: min(100% - 40px, 1440px); padding-top: 138px; }
  .slide-number { top: 30px; right: 20px; }
  .slider-controls { right: 20px; bottom: 33px; }
  .whatsapp-float { right: 16px; bottom: 16px; min-width: 0; padding: 9px 12px 9px 9px; }
  .whatsapp-copy small { display: none; }
  .whatsapp-copy strong { font-size: 11px; }
  .whatsapp-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .whatsapp-icon svg { width: 23px; }
  .services-inner { width: min(100% - 40px, 1280px); }
  .service-grid { gap: 22px; }
  .service-card h3 { padding: 20px 20px 17px; font-size: 22px; }
  .service-card > p { margin-right: 20px; margin-left: 20px; }
  .service-card > a { margin-right: 20px; margin-left: 20px; }
  .footer-inner, .footer-bottom { width: min(100% - 40px, 1280px); }
  .footer-inner { gap: 35px; }
}
@media (max-width: 530px) {
  .slide h1, .slide h2 { font-size: clamp(35px, 10vw, 47px); }
  .description { font-size: 16px; line-height: 1.7; }
  .slide-image { background-image: linear-gradient(90deg, #111925 3%, rgb(16 25 37 / .78) 100%), var(--slide-image, none), radial-gradient(circle at 85% 34%, #32506c 0, transparent 27%); }
  .arrow { width: 34px; height: 34px; }
  .services { padding: 70px 0; }
  .section-heading > p:last-child { font-size: 13px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-image { height: 235px; }
  .service-card > p { min-height: auto; }
  .footer-inner { display: block; padding-top: 70px; }
  .footer-contact { margin-top: 55px; }
  .footer-bottom { display: block; padding: 20px 0; line-height: 1.7; }
  .footer-bottom nav { flex-wrap: wrap; gap: 5px 16px; margin-top: 12px; }
}
@media (min-width: 531px) and (max-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card:last-child { grid-column: 1 / -1; width: calc(50% - 11px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
