:root {
  --charcoal: #211f1d;
  --charcoal-2: #2b2825;
  --gold-deep: #9e6d31;
  --gold: #be873c;
  --sand: #d7b07a;
  --cream: #f6f2eb;
  --taupe: #817970;
  --white: #fff;
  --line: rgba(33, 31, 29, .14);
  --container: min(1320px, calc(100vw - 56px));
  --display: "Poppins", sans-serif;
  --body: "Inter", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 3px;
}

/* Five solution destinations on the home page. */
.tab-list--solutions { grid-template-columns: repeat(5, minmax(190px, 1fr)) !important; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--gold) transparent; }
.tab-list--solutions .tab-button { min-height: 98px; display: flex; align-items: center; white-space: normal; line-height: 1.35; }
.tab-list--solutions .tab-button:hover, .tab-list--solutions .tab-button:focus-visible { color: var(--charcoal); background: var(--cream); }
.tab-list--solutions .tab-button:hover::after, .tab-list--solutions .tab-button:focus-visible::after { transform: scaleX(1); }
@media (max-width: 980px) { .tab-list--solutions { display: grid; grid-template-columns: repeat(5, minmax(230px, 1fr)) !important; scroll-snap-type: x mandatory; } .tab-list--solutions .tab-button { scroll-snap-align: start; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
body { margin: 0; color: var(--charcoal); background: #fff; font-family: var(--body); font-size: 16px; line-height: 1.65; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--gold-deep); }

.container { width: var(--container); margin-inline: auto; }
.section { position: relative; padding: 128px 0; }
.section--dark { color: var(--white); background: var(--charcoal); }
.section--cream { background: var(--cream); }
.skip-link { position: fixed; z-index: 10000; top: 10px; left: 10px; padding: 12px 18px; color: #fff; background: #000; transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.cursor-glow { position: fixed; z-index: 999; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(190, 135, 60, .07), transparent 68%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; }

.topbar { position: relative; z-index: 101; color: #e7ded3; background: #171614; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { height: 38px; display: flex; align-items: center; justify-content: space-between; }
.topbar p { margin: 0; }
.topbar a { color: var(--sand); }
.status-dot { display: inline-block; width: 6px; height: 6px; margin: 0 8px 1px 0; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(190, 135, 60, .12); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(190, 135, 60, 0); } }

.site-header { position: absolute; z-index: 100; top: 38px; left: 0; width: 100%; color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); transition: background .35s, transform .35s, color .35s; }
.site-header.is-fixed { position: fixed; top: 0; color: var(--charcoal); background: rgba(246,242,235,.94); border-bottom-color: var(--line); box-shadow: 0 8px 28px rgba(22,20,18,.08); backdrop-filter: blur(16px); }
.nav-wrap { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { position: relative; display: block; width: 190px; height: 70px; min-width: 190px; overflow: hidden; }
.brand__logo { position: absolute; top: 0; left: 0; display: block; width: 190px; max-width: none; height: auto; transform: translateY(-20px); transition: opacity .25s var(--ease); }
.brand__logo--dark { opacity: 0; }
.site-header.is-fixed .brand__logo--light { opacity: 0; }
.site-header.is-fixed .brand__logo--dark { opacity: 1; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); font-size: 13px; font-weight: 500; }
.main-nav > a, .nav-dropdown > button { position: relative; padding: 31px 0; white-space: nowrap; }
.main-nav > a::after, .nav-dropdown > button::after { position: absolute; right: 0; bottom: 22px; left: 0; height: 1px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav > a:hover::after, .nav-dropdown:hover > button::after { transform: scaleX(1); transform-origin: left; }
.nav-dropdown { position: relative; }
.nav-dropdown > button { display: flex; gap: 7px; align-items: center; color: inherit; border: 0; background: transparent; font-size: 13px; font-weight: 500; }
.nav-dropdown > button span { color: var(--gold); font-size: 15px; }
.dropdown-panel { position: absolute; top: calc(100% - 2px); left: -26px; width: 280px; padding: 14px; color: var(--charcoal); background: #fff; box-shadow: 0 22px 70px rgba(21,19,17,.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s var(--ease); }
.nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-panel a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-bottom: 1px solid #eee9e2; font-size: 13px; transition: background .25s, padding-left .25s; }
.dropdown-panel a:last-child { border: 0; }
.dropdown-panel a:hover { padding-left: 17px; background: var(--cream); }
.dropdown-panel span { color: var(--gold-deep); font-size: 9px; letter-spacing: .15em; }
.button { display: inline-flex; min-height: 54px; padding: 0 25px; align-items: center; justify-content: center; gap: 24px; border: 1px solid transparent; border-radius: var(--radius); font-size: 12px; font-weight: 600; letter-spacing: .035em; transition: .35s var(--ease); }
.button span { font-size: 17px; transition: transform .35s var(--ease); }
.button:hover span { transform: translate(3px, -3px); }
.button--nav { min-height: 45px; padding-inline: 20px; color: var(--charcoal); background: var(--gold); }
.button--nav:hover { color: #fff; background: var(--gold-deep); }
.button--gold { color: #171614; background: var(--gold); }
.button--gold:hover { color: #171614; background: var(--sand); box-shadow: 0 12px 34px rgba(190,135,60,.25); transform: translateY(-2px); }
.button--dark { color: #fff; background: var(--charcoal); }
.button--dark:hover { background: var(--gold-deep); transform: translateY(-2px); }
.button--full { width: 100%; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 7px auto; background: currentColor; transition: .3s; }

.hero { position: relative; min-height: 900px; height: 100svh; max-height: 1040px; overflow: hidden; color: #fff; background: var(--charcoal); }
.hero__media { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,17,15,.94) 0%, rgba(20,18,16,.77) 34%, rgba(22,20,17,.16) 72%), linear-gradient(0deg, rgba(19,18,16,.82) 0%, transparent 38%), url("assets/images/paneles-solares-quito-hero.webp") 65% center / cover no-repeat; transform: scale(1.035); }
.hero__grid { position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: calc(100vw / 6) 100%, calc(100vw / 6) 100%; mask-image: linear-gradient(to right, #000, transparent 80%); }
.hero__orb { position: absolute; right: 8vw; top: 19%; width: 126px; height: 126px; border: 1px solid rgba(215,176,122,.48); border-radius: 50%; animation: orbit 16s linear infinite; }
.hero__orb::before { position: absolute; inset: 16px; border: 1px solid rgba(215,176,122,.2); border-radius: inherit; content: ""; }
.hero__orb span { position: absolute; top: -5px; left: 55px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 22px var(--gold); }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes partners-scroll { to { transform: translateX(-25%); } }
.partners{padding:105px 0 0;background:#f6f2eb;overflow:hidden}
.partners__heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:48px}
.partners__heading h2{margin:0;font-family:var(--display);font-size:clamp(42px,4.8vw,73px);font-weight:300;line-height:1.08;letter-spacing:-.052em}
.partners__marquee{position:relative;width:100%;overflow:hidden;border:0;background:#211f1d}
.partners__marquee::before,.partners__marquee::after{display:none}
.partners__marquee::before{left:0;background:linear-gradient(90deg,#f6f2eb,transparent)}
.partners__marquee::after{right:0;background:linear-gradient(-90deg,#f6f2eb,transparent)}
.partners__track{display:flex;width:max-content;animation:partners-scroll 22s linear infinite;will-change:transform}
.partners__marquee:hover .partners__track,.partners__marquee:focus-within .partners__track{animation-play-state:paused}
.partners__group{display:flex;flex:none;align-items:center}
.partner-logo{display:flex;width:clamp(260px,25vw,430px);min-height:150px;padding:28px 55px;align-items:center;justify-content:center;gap:5px;color:#fff;border-right:1px solid rgba(255,255,255,.13);background:#211f1d;text-decoration:none;transition:background .25s,filter .25s}
.partner-logo:hover,.partner-logo:focus-visible{background:#302d29;filter:brightness(1.08)}
.partner-logo img{display:block;width:100%;height:90px;object-fit:contain}
.partner-logo--muebles img{max-width:245px}
.partner-logo--epoxi img{max-width:205px;height:105px}
.partner-logo--cesped img{max-width:245px}
.partner-logo strong{font-family:var(--display);font-size:clamp(28px,3vw,45px);font-weight:300;letter-spacing:-.055em}
.partner-logo span{font-size:clamp(13px,1.2vw,17px);font-weight:600;letter-spacing:.02em}
.partner-logo--epoxi strong{font-weight:500;text-transform:uppercase;letter-spacing:.02em}
@media(max-width:580px){.partners{padding:76px 0 0}.partners__heading{margin-bottom:32px}.partner-logo{width:260px;min-height:120px}.partners__track{animation-duration:16s}}
@media(prefers-reduced-motion:reduce){.partners__track{animation:none}.partners__marquee{overflow-x:auto}}
.hero__content { position: relative; z-index: 2; padding-top: clamp(205px, 24vh, 265px); }
.hero__eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; color: #e8dfd4; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; }
.hero__eyebrow span { width: 34px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 880px; margin: 0; font-family: var(--display); font-size: clamp(66px, 8.1vw, 124px); font-weight: 200; line-height: .92; letter-spacing: -.065em; }
.hero h1 em { color: var(--sand); font-style: normal; font-weight: 300; }
.hero__lead { max-width: 650px; margin: 29px 0 33px; color: rgba(255,255,255,.77); font-size: clamp(16px, 1.3vw, 19px); font-weight: 400; line-height: 1.7; }
.hero__actions { display: flex; align-items: center; gap: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; }
.play-icon { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; transition: .3s; }
.text-link:hover .play-icon { color: var(--charcoal); background: #fff; transform: translateY(3px); }
.hero__foot { position: absolute; z-index: 2; right: 0; bottom: 36px; left: 0; display: grid; grid-template-columns: 1fr 1fr auto; gap: 44px; align-items: end; }
.hero__note { display: flex; max-width: 320px; gap: 14px; align-items: flex-start; }
.hero__note > span { margin-top: 3px; color: var(--gold); font-size: 9px; letter-spacing: .15em; }
.hero__note p { margin: 0; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.55; }
.hero__note strong { display: block; margin-bottom: 4px; color: #fff; font-size: 12px; }
.scroll-cue { display: flex; gap: 11px; align-items: center; color: rgba(255,255,255,.45); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue i { position: relative; width: 1px; height: 42px; overflow: hidden; background: rgba(255,255,255,.2); }
.scroll-cue i::after { position: absolute; top: -20px; left: 0; width: 1px; height: 18px; content: ""; background: var(--gold); animation: scrollCue 2s infinite; }
@keyframes scrollCue { to { top: 50px; } }

.trust-strip { border-bottom: 1px solid var(--line); background: #fff; }
.trust-strip__grid { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.trust-strip p { margin: 0; color: var(--taupe); font-family: var(--display); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.trust-strip i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.kicker { display: block; margin-bottom: 18px; color: var(--gold-deep); font-size: 10px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.kicker::before { display: inline-block; width: 24px; height: 1px; margin: 0 10px 3px 0; content: ""; background: currentColor; }
.kicker--light { color: var(--sand); }
.section-heading h2, .calculator h2, .process h2, .faq h2, .contact h2, .why-solar h2 { margin: 0; font-family: var(--display); font-size: clamp(42px, 4.8vw, 73px); font-weight: 300; line-height: 1.08; letter-spacing: -.052em; }
.section-heading h2 em { color: var(--gold-deep); font-style: normal; font-weight: 300; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .68fr); gap: 10vw; align-items: end; margin-bottom: 76px; }
.split-heading p, .section-heading--row > p { margin: 0 0 6px; color: var(--taupe); font-size: 15px; line-height: 1.85; }
.section-heading--row { display: grid; grid-template-columns: 1.3fr .55fr; gap: 9vw; align-items: end; margin-bottom: 58px; }

.solution-tabs { border-top: 1px solid var(--line); }
.tab-list { display: grid; grid-template-columns: repeat(3, 1fr); }
.tab-button { position: relative; padding: 25px 26px; color: var(--taupe); border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; font-family: var(--display); font-size: 15px; text-align: left; transition: .3s; }
.tab-button:first-child { border-left: 1px solid var(--line); }
.tab-button span { margin-right: 20px; color: var(--gold-deep); font: 600 9px var(--body); letter-spacing: .1em; }
.tab-button::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; content: ""; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.tab-button.is-active { color: var(--charcoal); background: var(--cream); }
.tab-button.is-active::after { transform: scaleX(1); }
.tab-stage { position: relative; min-height: 532px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
.tab-panel { display: grid; min-height: 532px; grid-template-columns: 1.2fr .8fr; }
.tab-panel[hidden] { display: none; }
.tab-visual { position: relative; min-height: 530px; overflow: hidden; background: #ebe4db; }
.tab-visual--image img { width: 100%; height: 100%; object-fit: cover; }
.visual-label { position: absolute; bottom: 22px; left: 24px; padding: 9px 13px; color: #fff; background: rgba(33,31,29,.82); backdrop-filter: blur(8px); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.tab-copy { padding: clamp(42px, 5vw, 78px); align-self: center; }
.mini-label { display: block; margin-bottom: 19px; color: var(--gold-deep); font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.tab-copy h3 { margin: 0 0 20px; font-family: var(--display); font-size: clamp(32px, 3vw, 48px); font-weight: 300; line-height: 1.12; letter-spacing: -.045em; }
.tab-copy > p { margin: 0 0 27px; color: var(--taupe); font-size: 14px; line-height: 1.8; }
.tab-copy ul { padding: 0; margin: 0 0 31px; list-style: none; }
.tab-copy li { position: relative; padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); font-size: 12px; }
.tab-copy li::before { position: absolute; top: 17px; left: 0; width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--gold); }
.arrow-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 7px; border-bottom: 1px solid var(--charcoal); font-size: 12px; font-weight: 600; }
.arrow-link span { color: var(--gold-deep); transition: transform .3s; }
.arrow-link:hover span { transform: translate(3px,-3px); }
.tab-visual--home { background: radial-gradient(circle at 74% 21%, rgba(190,135,60,.24), transparent 22%), linear-gradient(135deg,#292622,#151412); }
.solar-house { position: absolute; inset: 10%; transform: perspective(900px) rotateX(55deg) rotateZ(-18deg); }
.solar-house .roof { position: absolute; inset: 18% 6% 10%; background: #34312e; box-shadow: 0 50px 60px rgba(0,0,0,.32); }
.solar-house .panel { position: absolute; width: 25%; height: 45%; border: 1px solid rgba(215,176,122,.7); background: repeating-linear-gradient(90deg,transparent 0 16%,rgba(215,176,122,.25) 17% 18%), repeating-linear-gradient(0deg,transparent 0 23%,rgba(215,176,122,.25) 24% 25%), #1b252c; box-shadow: inset 0 0 30px rgba(131,161,176,.14); }
.solar-house .p1 { top: 28%; left: 13%; }.solar-house .p2 { top: 28%; left: 40%; }.solar-house .p3 { top: 28%; left: 67%; }.solar-house .p4 { top: 76%; left: 40%; height: 17%; }
.solar-house .sun { position: absolute; top: 0; right: 8%; width: 38px; height: 38px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 18px rgba(190,135,60,.08), 0 0 70px rgba(190,135,60,.7); }
.tab-visual--battery { display: grid; place-items: center; background: #292622; }
.energy-flow { display: flex; width: 80%; align-items: center; justify-content: center; gap: 16px; color: #f7f1e9; }
.energy-flow span { display: grid; width: 75px; height: 75px; place-items: center; border: 1px solid rgba(215,176,122,.3); border-radius: 50%; font-size: 32px; }
.energy-flow .flow-sun { color: var(--gold); box-shadow: 0 0 50px rgba(190,135,60,.16); }
.energy-flow i { position: relative; flex: 1; height: 1px; overflow: hidden; background: rgba(255,255,255,.14); }
.energy-flow i::after { position: absolute; top: -2px; left: -5px; width: 5px; height: 5px; border-radius: 50%; content: ""; background: var(--gold); animation: energy 2s linear infinite; }
.energy-flow i:nth-of-type(2)::after { animation-delay: .6s; }.energy-flow i:nth-of-type(3)::after { animation-delay: 1.2s; }
@keyframes energy { to { left: calc(100% + 5px); } }

.calculator { overflow: hidden; }
.calculator::before { position: absolute; inset: 0; content: ""; opacity: .05; background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.4) 1px,transparent 1px); background-size: 80px 80px; }
.calculator__glow { position: absolute; top: -250px; left: -160px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(190,135,60,.17), transparent 69%); }
.calculator__grid { position: relative; display: grid; grid-template-columns: 1fr .9fr; gap: 10vw; align-items: center; }
.calculator__copy > p { max-width: 570px; margin: 27px 0; color: rgba(255,255,255,.58); line-height: 1.85; }
.calc-disclaimer { display: flex; max-width: 560px; gap: 13px; color: rgba(255,255,255,.5); font-size: 11px; }
.calc-disclaimer span { display: grid; min-width: 24px; height: 24px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--sand); }
.calculator-card { position: relative; padding: clamp(30px,4.5vw,58px); color: var(--charcoal); background: var(--cream); box-shadow: 0 30px 100px rgba(0,0,0,.26); }
.calc-top { display: flex; align-items: end; justify-content: space-between; margin-bottom: 27px; }
.calc-top label { font-size: 12px; font-weight: 600; }
.amount { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.amount small { color: var(--gold-deep); font: 700 9px var(--body); letter-spacing: .15em; }
.amount output { font-size: 50px; font-weight: 300; line-height: 1; letter-spacing: -.05em; }
input[type="range"] { width: 100%; height: 3px; appearance: none; border-radius: 2px; outline: none; background: linear-gradient(to right,var(--gold) 0 9%,#d7d0c6 9% 100%); }
input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; appearance: none; border: 5px solid var(--cream); border-radius: 50%; background: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep); cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; border: 5px solid var(--cream); border-radius: 50%; background: var(--gold-deep); box-shadow: 0 0 0 1px var(--gold-deep); }
.range-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--taupe); font-size: 9px; }
.property-choice { display: flex; gap: 9px; padding: 0; margin: 28px 0; border: 0; }
.property-choice legend { width: 100%; margin-bottom: 11px; font-size: 11px; font-weight: 600; }
.property-choice label { flex: 1; }
.property-choice input { position: absolute; opacity: 0; }
.property-choice span { display: block; padding: 12px 18px; border: 1px solid var(--line); font-size: 11px; text-align: center; cursor: pointer; transition: .2s; }
.property-choice input:checked + span { color: #fff; border-color: var(--charcoal); background: var(--charcoal); }
.calc-result { padding: 25px; margin-bottom: 17px; background: #fff; text-align: center; }
.calc-result > span { color: var(--taupe); font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.calc-result strong { display: block; margin: 7px 0; color: var(--gold-deep); font-family: var(--display); font-size: clamp(38px, 4vw, 57px); font-weight: 300; line-height: 1; letter-spacing: -.04em; }
.calc-result strong small { font-size: 18px; }
.calc-result p { margin: 0; color: var(--taupe); font-size: 10px; }

.services-answer { display: grid; padding: 25px 30px; margin: -20px 0 38px; grid-template-columns: 150px 1fr; gap: 30px; align-items: start; border-left: 3px solid var(--gold); background: var(--cream); }
.services-answer > span { padding-top: 4px; color: var(--gold-deep); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.services-answer p { max-width: 970px; margin: 0; color: var(--taupe); font-size: 13px; line-height: 1.8; }
.services-answer strong { color: var(--charcoal); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 410px; padding: 38px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; transition: .4s var(--ease); }
.service-card::before { position: absolute; z-index: 0; inset: 0; content: ""; background-image: linear-gradient(180deg,rgba(20,18,16,.2),rgba(20,18,16,.93)),url("assets/images/servicios-solares-hover-grid.webp"); background-repeat: no-repeat; background-size: 100% 100%,300% 300%; opacity: 0; transform: scale(1.06); transition: opacity .45s var(--ease),transform .7s var(--ease); }
.service-card:nth-child(1)::before { background-position: center,0 0; }.service-card:nth-child(2)::before { background-position: center,50% 0; }.service-card:nth-child(3)::before { background-position: center,100% 0; }
.service-card:nth-child(4)::before { background-position: center,0 50%; }.service-card:nth-child(5)::before { background-position: center,50% 50%; }.service-card:nth-child(6)::before { background-position: center,100% 50%; }
.service-card:nth-child(7)::before { background-position: center,0 100%; }.service-card:nth-child(8)::before { background-position: center,50% 100%; }.service-card:nth-child(9)::before { background-position: center,100% 100%; }
.service-card::after { position: absolute; z-index: 3; inset: auto 0 0; height: 4px; content: ""; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.service-card > * { position: relative; z-index: 2; }
.service-card:hover { z-index: 2; box-shadow: 0 20px 60px rgba(33,31,29,.11); transform: translateY(-6px); }
.service-card:hover::before { opacity: 1; transform: scale(1); }
.service-card:hover::after { transform: scaleX(1); transform-origin: left; }
.service-no { position: absolute; top: 35px; right: 34px; color: var(--gold-deep); font-size: 9px; letter-spacing: .15em; transition: color .35s; }
.service-icon { display: grid; width: 72px; height: 72px; margin-bottom: 54px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-deep); transition: .35s; }
.service-icon svg { width: 35px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.service-card:hover .service-icon { color: #fff; border-color: var(--gold-deep); background: var(--gold-deep); transform: rotate(-7deg); }
.service-card h3 { max-width: 270px; margin: 0 0 15px; font-family: var(--display); font-size: 25px; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; transition: color .35s,text-shadow .35s; }
.service-card p { margin: 0; color: var(--taupe); font-size: 12px; line-height: 1.75; transition: color .35s,text-shadow .35s; }
.service-card:hover h3 { color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.service-card:hover p { color: rgba(255,255,255,.76); text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.service-card:hover .service-no { color: var(--sand); }
.service-card > a:not(.circle-link) { display: inline-flex; gap: 20px; margin-top: 24px; padding-bottom: 6px; border-bottom: 1px solid; font-size: 10px; font-weight: 600; }
.service-card--feature { color: #fff; background: var(--charcoal); }
.service-card--feature p { color: rgba(255,255,255,.56); }
.service-card--feature .service-icon { color: var(--sand); border-color: rgba(255,255,255,.16); }
.service-card--cta { display: flex; padding: 48px; flex-direction: column; justify-content: center; background: var(--cream); }
.service-card--cta h3 { max-width: 310px; font-size: 32px; }
.circle-link { position: absolute; right: 34px; bottom: 34px; display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: var(--gold-deep); font-size: 22px; transition: .3s; }
.circle-link:hover { color: var(--charcoal); background: var(--sand); transform: rotate(45deg); }
.equipment-band { position: relative; display: grid; padding: 48px 125px 48px 48px; grid-template-columns: .75fr 1.25fr; gap: 60px; align-items: center; color: #fff; background: var(--charcoal); }
.equipment-band h3 { max-width: 410px; margin: 0; font-family: var(--display); font-size: 29px; font-weight: 300; line-height: 1.2; letter-spacing: -.035em; }
.equipment-band .mini-label { color: var(--sand); }
.equipment-band ul { display: flex; padding: 0; margin: 0; flex-wrap: wrap; gap: 9px; list-style: none; }
.equipment-band li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 99px; color: rgba(255,255,255,.66); font-size: 9px; letter-spacing: .04em; }

.process { padding-top: 0; }
.process__grid { display: grid; grid-template-columns: .86fr 1fr; gap: 9vw; align-items: center; }
.process__visual { position: relative; height: 820px; overflow: hidden; }
.process__visual::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg,rgba(33,31,29,.25),transparent 35%); }
.process__visual img { width: 100%; height: 110%; object-fit: cover; }
.image-badge { position: absolute; z-index: 2; right: 0; bottom: 0; display: flex; width: 230px; min-height: 120px; padding: 25px; gap: 17px; align-items: center; color: #fff; background: var(--charcoal); }
.image-badge span { color: var(--sand); font-family: var(--display); font-size: 29px; font-weight: 300; }
.image-badge p { margin: 0; color: rgba(255,255,255,.65); font-size: 10px; line-height: 1.5; }
.process__lead { max-width: 610px; margin: 23px 0 34px; color: var(--taupe); font-size: 16px; line-height: 1.8; }
.process-list { padding: 0; margin: 0 0 35px; border-top: 1px solid var(--line); list-style: none; }
.process-list li { border-bottom: 1px solid var(--line); }
.process-list button { display: grid; width: 100%; padding: 20px 0; grid-template-columns: 44px 1fr auto; align-items: center; border: 0; background: transparent; text-align: left; }
.process-list button span { color: var(--gold-deep); font-size: 9px; letter-spacing: .1em; }
.process-list button b { font-family: var(--display); font-size: 17px; font-weight: 500; }
.process-list button i { font-style: normal; font-size: 20px; font-weight: 300; transition: transform .3s; }
.process-list li.is-active button i { transform: rotate(45deg); }
.process-list li > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.process-list li > div p { min-height: 0; margin: 0; overflow: hidden; color: var(--taupe); font-size: 12px; }
.process-list li.is-active > div { grid-template-rows: 1fr; }
.process-list li.is-active > div p { padding: 0 30px 19px 44px; }

.sector-map { display: grid; grid-template-columns: 1.12fr .88fr; min-height: 620px; border: 1px solid rgba(33,31,29,.12); background: #fff; }
.sector-map__art { position: relative; min-height: 620px; overflow: hidden; background: var(--charcoal); }
.sector-map__art::before { position: absolute; inset: 0; content: ""; opacity: .07; background-image: linear-gradient(rgba(255,255,255,.4) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.4) 1px,transparent 1px); background-size: 40px 40px; }
.real-map-wrap { position: absolute; top: 3%; bottom: 3%; left: 50%; aspect-ratio: 700/710; transform: translateX(-50%); }
.real-map-wrap > img { width: 100%; height: 100%; filter: grayscale(1) sepia(1) saturate(.8) brightness(.82); opacity: .42; transition: opacity .45s var(--ease), transform .7s var(--ease), filter .45s var(--ease); }
.map-caption { position: absolute; top: 9%; left: 8%; display: flex; flex-direction: column; color: #fff; }
.map-caption span { color: var(--sand); font-size: 8px; letter-spacing: .18em; text-transform: uppercase; }
.map-caption b { font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: .22em; }
.map-caption small { margin-top: 3px; color: rgba(255,255,255,.35); font-size: 8px; letter-spacing: .08em; }
.map-credit { position: absolute; right: 16px; bottom: 12px; color: rgba(255,255,255,.28); font-size: 7px; letter-spacing: .04em; }
.map-point { position: absolute; z-index: 2; padding: 4px 7px 4px 18px; color: rgba(255,255,255,.82); background: rgba(33,31,29,.72); font-size: 8px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; cursor: default; transition: opacity .3s, color .3s, background .3s, transform .35s var(--ease), box-shadow .35s; }
.map-point::before { position: absolute; top: 50%; left: 5px; width: 7px; height: 7px; border: 2px solid var(--charcoal); border-radius: 50%; content: ""; background: var(--sand); box-shadow: 0 0 0 1px var(--sand),0 0 16px rgba(190,135,60,.8); transform: translateY(-50%); transition: transform .35s var(--ease), box-shadow .35s; }
.sector-map__art.has-active .real-map-wrap > img { filter: grayscale(1) sepia(1) saturate(1.1) brightness(.9); opacity: .52; transform: scale(1.025); }
.sector-map__art.has-active .map-point:not(.is-active) { opacity: .32; }
.map-point.is-active { z-index: 4; color: #fff; background: var(--gold-deep); box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translateY(-3px) scale(1.08); }
.map-point.is-active::before { background: #fff; box-shadow: 0 0 0 4px rgba(215,176,122,.25),0 0 24px var(--gold); transform: translateY(-50%) scale(1.25); }
.point-1 { top: 46%; left: 55%; }.point-2 { top: 51.8%; left: 64.7%; }.point-3 { top: 55.8%; left: 62%; }.point-4 { top: 58.3%; left: 68.3%; }.point-5 { top: 59%; left: 54%; }.point-6 { top: 64.6%; left: 56.9%; }
.sector-list { padding: 28px 44px; align-self: center; }
.sector-list a { display: grid; padding: 21px 5px; grid-template-columns: 42px 1fr auto; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s,background .25s; }
.sector-list a:hover { padding-inline: 14px; background: var(--cream); }
.sector-list a.is-active { padding-inline: 14px; background: var(--cream); box-shadow: inset 3px 0 var(--gold); }
.sector-list a.is-active i { transform: translate(3px,-3px); }
.sector-list span { color: var(--gold-deep); font-size: 9px; letter-spacing: .12em; }
.sector-list b { font-family: var(--display); font-size: clamp(17px,1.6vw,23px); font-weight: 400; }
.sector-list i { color: var(--gold-deep); font-style: normal; transition: transform .3s var(--ease); }

.why-solar__grid { display: grid; grid-template-columns: .8fr 1fr; gap: 11vw; }
.why-solar h2 { max-width: 540px; font-size: clamp(42px,4.5vw,68px); }
.why-solar__content > p { margin: 0 0 23px; color: var(--taupe); font-size: 15px; line-height: 1.9; }
.answer-box { position: relative; padding: 30px 34px; margin-top: 36px; border-left: 3px solid var(--gold); background: var(--cream); }
.answer-box span { color: var(--gold-deep); font-size: 9px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.answer-box p { margin: 10px 0 0; font-size: 14px; line-height: 1.75; }

.faq { background: #fbfaf8; }
.faq__grid { display: grid; grid-template-columns: .68fr 1.25fr; gap: 10vw; }
.faq__intro { position: sticky; top: 130px; align-self: start; }
.faq__intro h2 { font-size: clamp(42px,4.4vw,67px); }
.faq__intro > p { max-width: 430px; margin: 24px 0 30px; color: var(--taupe); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; padding: 27px 0; grid-template-columns: 48px 1fr 25px; align-items: center; font-family: var(--display); font-size: 18px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--gold-deep); font: 600 9px var(--body); letter-spacing: .13em; }
.faq-list summary i { position: relative; width: 18px; height: 18px; }
.faq-list summary i::before, .faq-list summary i::after { position: absolute; top: 8px; left: 2px; width: 14px; height: 1px; content: ""; background: var(--charcoal); transition: transform .3s; }
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details > div { overflow: hidden; }
.faq-list details p { max-width: 650px; padding: 0 36px 25px 48px; margin: 0; color: var(--taupe); font-size: 13px; line-height: 1.85; }

.contact { overflow: hidden; color: #fff; background: #171614; }
.contact__background { position: absolute; inset: 0; background: radial-gradient(circle at 82% 50%,rgba(190,135,60,.16),transparent 28%), linear-gradient(115deg,#171614 0%,#211f1d 58%,#2b261f 100%); }
.contact__background::before { position: absolute; inset: 0; content: ""; opacity: .08; background-image: linear-gradient(rgba(255,255,255,.35) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.35) 1px,transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg,transparent,#000); }
.contact::after { position: absolute; top: -40%; right: -10%; width: 700px; height: 700px; border: 1px solid rgba(215,176,122,.13); border-radius: 50%; content: ""; box-shadow: 0 0 0 100px rgba(215,176,122,.025),0 0 0 200px rgba(215,176,122,.018); }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: .83fr 1fr; gap: 9vw; align-items: center; }
.contact__copy h2 { max-width: 650px; }
.contact__copy > p { max-width: 550px; margin: 24px 0 35px; color: rgba(255,255,255,.62); }
.contact__promise { display: flex; gap: 15px; align-items: flex-start; }
.contact__promise > span { display: grid; min-width: 30px; height: 30px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: var(--sand); }
.contact__promise p { margin: 0; color: rgba(255,255,255,.5); font-size: 11px; }
.contact__promise strong { display: block; color: #fff; font-size: 12px; }
.contact-form { padding: clamp(30px,4vw,50px); color: var(--charcoal); background: rgba(246,242,235,.98); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.contact-form label { display: block; margin-bottom: 17px; font-size: 9px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid rgba(33,31,29,.23); border-radius: 0; outline: 0; background: transparent; font-size: 13px; font-weight: 400; text-transform: none; transition: border-color .2s; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold-deep); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #aaa197; }
.contact-form .check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 20px; color: var(--taupe); font-size: 9px; font-weight: 400; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.check input { width: 15px; margin: 2px 0 0; accent-color: var(--gold-deep); }
.contact-form .is-invalid { border-color: #a73434; }
.form-status { min-height: 20px; margin: 10px 0 -12px; color: var(--gold-deep); font-size: 11px; text-align: center; }

.site-footer { color: #e9e1d7; background: var(--charcoal); }
.footer-top { display: grid; padding: 80px 0 68px; grid-template-columns: 1.6fr repeat(3,1fr); gap: 6vw; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand--footer { width: 210px; height: 78px; }
.brand--footer .brand__logo { width: 210px; transform: translateY(-22px); }
.footer-top > div:first-child > p { margin: 22px 0; color: var(--sand); font-family: var(--display); font-size: 15px; font-weight: 300; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav strong { margin-bottom: 9px; color: #fff; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.footer-nav a { color: rgba(255,255,255,.48); font-size: 11px; transition: color .2s, transform .2s; }
.footer-nav a:hover { color: var(--sand); transform: translateX(3px); }
.footer-bottom { display: flex; min-height: 74px; align-items: center; justify-content: space-between; color: rgba(255,255,255,.28); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.floating-cta { position: fixed; z-index: 90; right: 22px; bottom: 22px; display: flex; width: 72px; height: 72px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; color: #171614; background: var(--gold); box-shadow: 0 14px 40px rgba(22,20,18,.25); transition: .3s; }
.floating-cta span { font-size: 18px; line-height: 1; }.floating-cta b { font-size: 8px; letter-spacing: .1em; text-transform: uppercase; }
.floating-cta:hover { background: var(--sand); transform: rotate(8deg) scale(1.06); }

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

@media (max-width: 1120px) {
  :root { --container: min(100% - 40px, 1040px); }
  .main-nav { gap: 17px; }.main-nav > a, .nav-dropdown > button { font-size: 11px; }
  .button--nav { display: none; }
  .hero__foot { grid-template-columns: 1fr 1fr; }.scroll-cue { display: none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .service-card:last-child { min-height: 300px; grid-column: span 2; }
  .equipment-band { grid-template-columns: 1fr; gap: 28px; }
  .process__grid { gap: 6vw; }.process__visual { height: 730px; }
  .sector-map { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --container: calc(100vw - 36px); }
  .section { padding: 88px 0; }
  .cursor-glow { display: none; }
  .topbar__inner { justify-content: center; }.topbar a { display: none; }
  .site-header { top: 38px; }.site-header.is-fixed { top: 0; }
  .nav-wrap { height: 72px; }
  .menu-toggle { display: block; position: relative; z-index: 5; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; inset: 0; display: flex; padding: 110px 28px 40px; flex-direction: column; align-items: stretch; gap: 0; color: var(--charcoal); background: var(--cream); opacity: 0; visibility: hidden; transform: translateY(-18px); transition: .35s var(--ease); }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a, .nav-dropdown > button { width: 100%; padding: 16px 0; border-bottom: 1px solid var(--line); font: 300 25px var(--display); }
  .nav-dropdown > button { justify-content: space-between; }
  .main-nav > a::after, .nav-dropdown > button::after { display: none; }
  .dropdown-panel { position: static; display: none; width: 100%; padding: 5px 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .nav-dropdown.is-open .dropdown-panel { display: block; }
  .dropdown-panel a { padding: 10px 12px; }
  .hero { min-height: 820px; max-height: none; }
  .hero__media { background: linear-gradient(90deg,rgba(18,17,15,.9),rgba(20,18,16,.3)),linear-gradient(0deg,rgba(19,18,16,.9),transparent 55%),url("assets/images/paneles-solares-quito-hero.webp") 66% center/cover; }
  .hero__content { padding-top: 205px; }
  .hero h1 { font-size: clamp(60px,15.5vw,95px); }
  .hero__lead { max-width: 590px; }
  .hero__foot { bottom: 27px; grid-template-columns: 1fr; gap: 11px; }.hero__note:nth-child(2) { display: none; }
  .trust-strip__grid { flex-wrap: wrap; justify-content: center; padding: 19px 0; }.trust-strip p { font-size: 9px; }.trust-strip i:nth-of-type(2) { display: none; }
  .split-heading, .section-heading--row, .calculator__grid, .process__grid, .why-solar__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; gap: 44px; }
  .split-heading { margin-bottom: 50px; }
  .tab-panel { grid-template-columns: 1fr; }.tab-visual { min-height: 400px; }.tab-copy { padding: 42px 34px; }
  .services-answer { grid-template-columns: 1fr; gap: 8px; }
  .calculator__copy { max-width: 650px; }
  .process { padding-top: 88px; }.process__visual { height: 650px; order: 2; }.process__content { order: 1; }
  .sector-map { grid-template-columns: 1fr; }.sector-map__art { min-height: 480px; }.sector-list { padding: 25px 28px; }
  .faq__intro { position: static; }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }.footer-top > div:last-child { display: none; }
}

@media (max-width: 560px) {
  :root { --container: calc(100vw - 28px); }
  .section { padding: 76px 0; }
  .brand { width: 165px; min-width: 165px; }.brand__logo { width: 165px; transform: translateY(-18px); }
  .hero { min-height: 780px; height: 100svh; }.hero__content { padding-top: 178px; }.hero h1 { font-size: 15vw; }.hero__lead { margin-top: 22px; font-size: 14px; }.hero__actions { align-items: flex-start; flex-direction: column; gap: 17px; }.hero__orb { display: none; }
  .hero__note { display: none; }
  .trust-strip i { display: none; }.trust-strip__grid { gap: 9px 20px; }
  .section-heading h2, .calculator h2, .process h2, .faq h2, .contact h2, .why-solar h2 { font-size: 40px; }
  .tab-list { grid-template-columns: 1fr; }.tab-button { padding: 16px 19px; border-left: 1px solid var(--line); }.tab-stage { min-height: 0; }.tab-visual { min-height: 320px; }.tab-panel { min-height: 0; }.tab-copy { padding: 34px 24px; }
  .energy-flow { width: 92%; gap: 7px; }.energy-flow span { width: 47px; height: 47px; font-size: 20px; }
  .calculator-card { padding: 28px 20px; }.amount output { font-size: 42px; }.property-choice { flex-wrap: wrap; }.property-choice legend { flex: 0 0 100%; }
  .services-grid { grid-template-columns: 1fr; }.service-card { min-height: 340px; padding: 31px; }.service-card:last-child { grid-column: span 1; }.service-icon { margin-bottom: 41px; }
  .services-answer { padding: 22px; margin-top: -10px; }
  .equipment-band { padding: 38px 86px 38px 28px; }.equipment-band h3 { font-size: 25px; }.equipment-band ul { gap: 7px; }
  .process__visual { height: 520px; }.image-badge { width: 195px; min-height: 100px; padding: 18px; }
  .sector-map__art { min-height: 430px; }.real-map-wrap { top: 2%; bottom: 2%; }.map-caption { top: 7%; left: 6%; }.map-caption b { font-size: 16px; }.map-point { padding-left: 16px; font-size: 6px; }.map-credit { right: 8px; bottom: 7px; font-size: 6px; }.sector-list { padding: 16px; }
  .faq-list summary { padding: 22px 0; grid-template-columns: 34px 1fr 20px; font-size: 15px; }.faq-list details p { padding-left: 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; padding: 58px 0; }.footer-top > div:first-child { grid-column: 1/-1; }.footer-bottom { padding: 20px 0; flex-direction: column; justify-content: center; text-align: center; }
  .floating-cta { right: 14px; bottom: 14px; width: 62px; height: 62px; }
}
