:root {
  --ink: #071716;
  --ink-soft: #102624;
  --paper: #f4f7f5;
  --white: #ffffff;
  --muted: #637270;
  --line: rgba(7, 23, 22, 0.13);
  --teal: #249bad;
  --teal-light: #71d6df;
  --green: #21bd76;
  --green-dark: #129258;
  --display: "Space Grotesk", sans-serif;
  --body: "Manrope", sans-serif;
  --shadow: 0 28px 80px rgba(5, 28, 25, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 118px 0; }
.skip-link { position: fixed; z-index: 9999; left: 16px; top: -100px; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: 6px; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 30; top: 0; left: 0; right: 0; height: 98px; border-bottom: 1px solid rgba(255,255,255,.13); color: var(--white); }
.site-header.is-scrolled { position: fixed; height: 78px; background: rgba(7,23,22,.92); backdrop-filter: blur(16px); box-shadow: 0 10px 30px rgba(0,0,0,.12); animation: slideDown .35s ease; }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { position: relative; z-index: 5; width: 235px; display: flex; align-items: center; cursor: pointer; }
.brand img { width: 100%; height: auto; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; color: rgba(255,255,255,.82); }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 0; height: 1px; background: var(--green); transition: width .25s ease; }
.main-nav > a:hover::after { width: 100%; }
.nav-cta { padding: 13px 20px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; transition: .25s ease; }
.nav-cta:hover { background: var(--white); color: var(--ink); }
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--white); transition: .25s ease; }

.hero { position: relative; min-height: 790px; height: 100svh; max-height: 960px; display: flex; align-items: center; color: var(--white); background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("images/hero-climatizacion-natural.webp") center/cover no-repeat; transform: scale(1.02); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,15,.98) 0%, rgba(3,16,15,.88) 38%, rgba(3,16,15,.38) 70%, rgba(3,16,15,.16) 100%), linear-gradient(0deg, rgba(3,16,15,.52), transparent 48%); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 80px 80px; mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(1px); border: 1px solid rgba(79,225,171,.18); }
.hero-orb-one { width: 520px; height: 520px; left: -300px; top: 185px; box-shadow: 0 0 120px rgba(33,189,118,.09) inset; }
.hero-orb-two { width: 130px; height: 130px; left: 48%; bottom: -70px; }
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.eyebrow { display: flex; align-items: center; gap: 11px; margin: 0 0 24px; text-transform: uppercase; letter-spacing: .17em; font-size: 11px; font-weight: 800; color: rgba(255,255,255,.7); }
.eyebrow span { width: 28px; height: 2px; background: linear-gradient(90deg, var(--teal), var(--green)); }
.eyebrow.dark { color: var(--green-dark); }
.hero h1, .section h2 { font-family: var(--display); letter-spacing: -.045em; line-height: 1.04; }
.hero h1 { max-width: 840px; margin: 0; font-size: clamp(50px, 6vw, 86px); font-weight: 600; }
.hero h1 em { font-style: normal; color: transparent; background: linear-gradient(90deg, var(--teal-light), #76e5aa); background-clip: text; -webkit-background-clip: text; }
.hero-copy { max-width: 660px; margin: 28px 0 34px; font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 25px; border: 1px solid transparent; border-radius: 999px; font-size: 13px; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: linear-gradient(100deg, var(--teal-light), #69e3a3); box-shadow: 0 12px 35px rgba(36,155,173,.2); }
.button-primary:hover { box-shadow: 0 16px 42px rgba(36,155,173,.35); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.32); background: rgba(255,255,255,.03); }
.button-ghost:hover { background: rgba(255,255,255,.1); }
.hero-proof { display: flex; gap: 0; margin-top: 70px; }
.hero-proof > div { display: flex; align-items: center; gap: 14px; min-width: 185px; padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255,255,255,.18); }
.hero-proof > div:last-child { border: 0; }
.hero-proof strong { font-family: var(--display); color: var(--teal-light); font-size: 13px; }
.hero-proof span { font-size: 11px; line-height: 1.5; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.54); }
.scroll-cue { position: absolute; z-index: 3; right: 34px; bottom: 44px; display: flex; align-items: center; gap: 10px; transform: rotate(90deg); transform-origin: right center; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; color: rgba(255,255,255,.55); }
.scroll-cue span { width: 45px; height: 1px; background: var(--green); }

.services { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1.45fr .55fr; gap: 90px; align-items: end; margin-bottom: 65px; }
.section h2 { margin: 0; font-size: clamp(38px, 5vw, 62px); font-weight: 600; }
.section-heading > p { margin: 0 0 5px; color: var(--muted); font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 430px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; overflow: hidden; background: rgba(255,255,255,.3); transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-7px); z-index: 2; background: var(--white); box-shadow: var(--shadow); }
.service-card.featured { background: var(--ink); color: var(--white); border-color: var(--ink); }
.service-card.featured::after { content: ""; position: absolute; width: 260px; height: 260px; right: -130px; bottom: -130px; border-radius: 50%; border: 40px solid rgba(33,189,118,.09); }
.service-number { font-family: var(--display); font-size: 12px; color: var(--green-dark); }
.featured .service-number { color: var(--teal-light); }
.service-icon { width: 72px; height: 72px; margin: 54px 0 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(36,155,173,.08); color: var(--teal); }
.featured .service-icon { background: rgba(113,214,223,.1); color: var(--teal-light); }
.service-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 13px; font-family: var(--display); font-size: 24px; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.featured p { color: rgba(255,255,255,.58); }
.service-card a { margin-top: auto; padding-top: 26px; width: fit-content; font-size: 12px; font-weight: 800; border-bottom: 1px solid currentColor; }
.service-card a span { color: var(--green); margin-left: 6px; }

.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 9%; align-items: center; }
.about-visual { position: relative; }
.about-visual::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid rgba(36,155,173,.25); z-index: 0; }
.about-visual img { position: relative; z-index: 1; aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 43% center; box-shadow: var(--shadow); }
.about-stamp { position: absolute; z-index: 2; right: -50px; bottom: 42px; width: 126px; height: 126px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, var(--teal), var(--green)); box-shadow: 0 12px 30px rgba(7,23,22,.22); }
.about-stamp svg { width: 110px; height: 110px; fill: none; }
.about-stamp text { fill: currentColor; font: 700 8px var(--body); letter-spacing: 1.35px; }
.about-stamp > svg > path:last-child { fill: currentColor; stroke: none; }
.about-copy h2 { margin-bottom: 26px; font-size: clamp(38px, 4.4vw, 58px); }
.about-copy .lead { margin: 0 0 28px; color: var(--muted); font-size: 16px; }
.value-list { border-top: 1px solid var(--line); }
.value-list > div { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check { width: 25px; height: 25px; display: grid; place-items: center; margin-top: 2px; border-radius: 50%; color: var(--green-dark); background: rgba(33,189,118,.11); font-size: 12px; font-weight: 800; }
.value-list h3 { margin: 0 0 3px; font-family: var(--display); font-size: 16px; }
.value-list p { margin: 0; color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 30px; padding-bottom: 6px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 800; }
.text-link span { color: var(--green-dark); }

.process { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.process::before { content: ""; position: absolute; right: -200px; top: -250px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(36,155,173,.18), transparent 68%); }
.process .container { display: grid; grid-template-columns: .72fr 1.28fr; gap: 11%; }
.process-heading { position: sticky; top: 130px; align-self: start; }
.process-heading h2 { font-size: clamp(44px, 5.5vw, 70px); }
.process-heading > p:last-child { max-width: 380px; color: rgba(255,255,255,.54); }
.process-list { position: relative; margin: 0; padding: 0; list-style: none; }
.process-list::before { content: ""; position: absolute; left: 29px; top: 25px; bottom: 25px; width: 1px; background: linear-gradient(var(--teal), var(--green)); opacity: .45; }
.process-list li { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 26px; min-height: 155px; padding-bottom: 35px; }
.process-list li > span { position: relative; z-index: 1; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(113,214,223,.42); background: var(--ink-soft); color: var(--teal-light); font-family: var(--display); font-size: 12px; }
.process-list h3 { margin: 4px 0 8px; font-family: var(--display); font-size: 25px; }
.process-list p { margin: 0; max-width: 460px; color: rgba(255,255,255,.52); font-size: 14px; }

.audiences { background: #e9efec; }
.audiences > .container > h2 { max-width: 800px; margin-bottom: 56px; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid article { position: relative; min-height: 275px; padding: 32px; overflow: hidden; background: var(--white); border: 1px solid transparent; transition: .3s ease; }
.audience-grid article::after { content: ""; position: absolute; width: 180px; height: 180px; right: -95px; bottom: -95px; border-radius: 50%; background: linear-gradient(135deg, rgba(36,155,173,.1), rgba(33,189,118,.18)); }
.audience-grid article:hover { border-color: rgba(36,155,173,.32); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(7,23,22,.09); }
.audience-grid span { color: var(--green-dark); font: 600 12px var(--display); }
.audience-grid h3 { margin: 85px 0 12px; font-family: var(--display); font-size: 28px; }
.audience-grid p { max-width: 260px; margin: 0; color: var(--muted); font-size: 14px; }

.contact { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(115deg, #158c9f, #13a966 75%); }
.contact-pattern { position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(circle at center, transparent 0 26px, #fff 27px 28px, transparent 29px); background-size: 90px 90px; mask-image: linear-gradient(90deg, transparent, #000); }
.contact-inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 10%; align-items: center; }
.contact h2 { max-width: 750px; font-size: clamp(44px, 5.5vw, 72px); }
.contact-inner > div:first-child > p:last-child { max-width: 640px; color: rgba(255,255,255,.76); }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-channel { min-height: 76px; display: grid; grid-template-columns: 42px 1fr 24px; gap: 14px; align-items: center; padding: 12px 18px; border-radius: 14px; transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.contact-channel:hover { transform: translateY(-3px); }
.whatsapp-channel { color: var(--ink); background: var(--white); box-shadow: 0 15px 40px rgba(6,42,36,.16); }
.whatsapp-channel:hover { box-shadow: 0 19px 48px rgba(6,42,36,.24); }
.instagram-channel { color: var(--white); border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.08); }
.instagram-channel:hover { background: rgba(255,255,255,.15); }
.social-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; }
.whatsapp-channel .social-icon { color: var(--white); background: #19aa62; }
.instagram-channel .social-icon { color: var(--white); background: linear-gradient(145deg, #6436a4, #d83278 55%, #f49b39); }
.social-icon svg { width: 23px; height: 23px; fill: currentColor; }
.contact-channel small { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .65; }
.contact-channel strong { display: block; font-family: var(--display); font-size: 15px; }
.channel-arrow { font-size: 16px; }

.site-footer { color: rgba(255,255,255,.62); background: #04100f; }
.footer-top { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { width: 260px; display: flex; align-items: center; }
.footer-brand img { width: 100%; height: auto; }
.footer-top > p { font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.footer-top > p span { margin: 0 10px; color: var(--green); }
.footer-social { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; color: var(--white); }
.footer-social svg { width: 19px; height: 19px; fill: currentColor; }
.footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.footer-bottom p { margin: 0; }

.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

@media (max-width: 900px) {
  .section { padding: 90px 0; }
  .site-header.is-scrolled { backdrop-filter: none; }
  .menu-toggle { display: block; position: relative; z-index: 5; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: 0; left: 0; z-index: 4; width: 100vw; height: 100dvh; min-height: 100vh; padding: 145px max(30px, calc((100vw - 1180px) / 2)) 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; overflow-y: auto; transform: translateX(100%); background: #04100f; transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > a { font-family: var(--display); font-size: 27px; }
  .main-nav .nav-cta { margin-top: 20px; font-family: var(--body); font-size: 13px; }
  .section-heading { grid-template-columns: 1fr; gap: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 370px; }
  .service-icon { margin: 35px 0 25px; }
  .about-grid { grid-template-columns: 1fr; gap: 85px; }
  .about-visual { max-width: 620px; }
  .about-visual img { aspect-ratio: 4 / 3.6; }
  .about-stamp { right: -15px; }
  .process .container { grid-template-columns: 1fr; gap: 55px; }
  .process-heading { position: static; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-grid article { min-height: 220px; }
  .audience-grid h3 { margin-top: 55px; }
  .contact-inner { grid-template-columns: 1fr; gap: 50px; }
  .footer-top { flex-wrap: wrap; padding: 55px 0; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .site-header { height: 80px; }
  .brand { width: 205px; }
  .hero { min-height: 740px; max-height: none; height: auto; padding: 130px 0 55px; }
  .hero-media { background-position: 67% center; opacity: .66; }
  .hero-shade { background: linear-gradient(90deg, rgba(3,16,15,.97), rgba(3,16,15,.68)), linear-gradient(0deg, rgba(3,16,15,.8), transparent 55%); }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(43px, 13vw, 62px); }
  .hero-copy { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-proof { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof > div { display: block; min-width: 0; margin: 0; padding: 0 10px; }
  .hero-proof > div:first-child { padding-left: 0; }
  .hero-proof strong { display: block; margin-bottom: 7px; }
  .hero-proof span { font-size: 9px; }
  .scroll-cue { display: none; }
  .section { padding: 74px 0; }
  .section h2 { font-size: 39px; }
  .section-heading { margin-bottom: 42px; }
  .service-card { padding: 26px; }
  #nosotros { scroll-margin-top: 78px; }
  .about { padding-top: 40px; }
  .about-copy { order: 1; }
  .about-visual { order: 2; }
  .about-visual::before { inset: 10px -6px -10px 10px; }
  .about-visual img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: 43% 46%; }
  .about-stamp { width: 100px; height: 100px; right: 4px; bottom: -30px; }
  .about-stamp svg { width: 88px; height: 88px; }
  .about-grid { gap: 56px; }
  .process-list li { gap: 18px; }
  .process-list p { font-size: 13px; }
  .audiences > .container > h2 { margin-bottom: 40px; }
  .contact h2 { font-size: 43px; }
  .contact-actions { align-items: stretch; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-top > p { line-height: 2.2; }
  .footer-top > p span { margin: 0 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
