/* Editorial homepage direction: real people, restrained colour, fewer cards. */
.home-page {
  --paper: #f5f2ea;
  --ink: #193129;
  --pine: #173e32;
  --clay: #a34830;
  --rule: #c9cec7;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}
.home-page #main-nav,
.home-page #main-nav.scrolled {
  background: rgba(245, 242, 234, .97);
  box-shadow: 0 1px 0 var(--rule);
  backdrop-filter: none;
}
.home-page .nav-logo,
.home-page .footer-logo { display: inline-flex; align-items: center; gap: .35rem; }
.home-page .nav-logo img { height: 47px; }
.home-page .nav-logo span,
.home-page .footer-logo span {
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.62rem;
  font-weight: 700;
  letter-spacing: -.06em;
}
.home-page .desktop-nav a,
.home-page .language-links a { color: var(--ink); }
.home-page .desktop-nav a:hover,
.home-page .language-links a:hover { color: var(--clay); }
.home-page .language-links a[aria-current="page"] { background: transparent; color: var(--clay); text-decoration: underline; text-underline-offset: 5px; }
.home-page .language-track { display: contents; }
.home-page .language-carousel-button { display: none; }
.home-page .button {
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
}
.home-page .button-primary,
.home-page .button-primary:hover { border-color: var(--pine); background: var(--pine); color: white; }
.home-page .button-primary:hover { background: #0f3025; }
.home-page .button-light,
.home-page .button-light:hover { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.home-page .text-link { display: inline-flex; align-items: center; gap: .5rem; border-bottom: 1px solid currentColor; padding-bottom: .2rem; color: var(--ink); font-weight: 700; }
.home-page .text-link:hover { color: var(--clay); }
.home-page .eyebrow { color: var(--clay); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.home-page .eyebrow-light { color: #dec9a7; }
.home-page .hero-section { padding: clamp(3rem, 6vw, 6.5rem) 0 5rem; }
.home-page .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: end; gap: clamp(30px, 5vw, 82px); }
.home-page .hero-copy { padding-bottom: 1rem; }
.home-page .hero-copy h1,
.home-page .section-heading h2,
.home-page .community-section h2,
.home-page .zones-section h2,
.home-page .contact-copy h2,
.home-page .proof-copy h2 {
  color: var(--ink);
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: 1.02;
}
.home-page .hero-copy h1 { max-width: 12ch; font-size: clamp(3.4rem, 6vw, 6.8rem); }
.home-page .hero-copy h1 em { color: var(--clay); font-weight: 400; }
.home-page .hero-lede { max-width: 49ch; color: #42544b; font-size: clamp(1.03rem, 1.5vw, 1.2rem); line-height: 1.6; }
.home-page .hero-actions { align-items: center; gap: 1.25rem; margin-top: 2rem; }
.home-page .trust-line { margin-top: 2rem; padding-top: .85rem; border-top: 1px solid var(--rule); color: #657167; font-size: .8rem; }
.home-page .hero-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; box-shadow: none; object-fit: cover; object-position: center; }
.home-page .hero-media figcaption { margin-top: .7rem; color: #657167; font-size: .74rem; }
.home-page .section { padding-block: clamp(4rem, 7vw, 7rem); }
.home-page .section-soft { background: #e9e9dd; }
.home-page #escenarios { position: relative; background: #e9e9dd; }
.home-page #escenarios::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(0deg, #e9e9dd 0%, rgba(233, 233, 221, 0) 42%), linear-gradient(90deg, rgba(233, 233, 221, .72) 0%, rgba(233, 233, 221, .89) 34%, #e9e9dd 62%), url('../img/instalacion-comercial-gran-cubierta.jpg');
  background-size: cover;
  background-position: center 58%;
}
.home-page #escenarios > .container { position: relative; }
.home-page .section-heading h2,
.home-page .proof-copy h2,
.home-page .zones-section h2 { font-size: clamp(2.6rem, 4.6vw, 4.7rem); }
.home-page .section-heading > p:last-child,
.home-page .proof-copy > p:not(.eyebrow),
.home-page .zones-layout > div > p:not(.eyebrow) { color: #4c5a50; line-height: 1.7; }
.home-page .service-layout { display: grid; grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr); gap: clamp(2rem, 7vw, 7rem); }
.home-page .service-layout .section-heading { position: sticky; top: 120px; align-self: start; }
.home-page .service-list { border-top: 1px solid #9aa99d; }
.home-page .service-row { display: grid; grid-template-columns: 115px 1fr auto; gap: 1.5rem; padding: 1.35rem .25rem 1.5rem; border-bottom: 1px solid #9aa99d; color: var(--ink); }
.home-page .service-row:hover { color: var(--clay); }
.home-page .service-row-featured { padding: 1.6rem 1.25rem; margin: 0 -1.25rem; background: var(--pine); color: white; border-bottom: 0; }
.home-page .service-row-featured:hover { color: white; background: #275141; }
.home-page .service-index { padding-top: .4rem; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-page .service-row strong { display: block; font-family: Georgia, serif; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 400; letter-spacing: -.04em; }
.home-page .service-row small { display: block; margin-top: .55rem; color: inherit; font-size: .87rem; line-height: 1.5; opacity: .8; }
.home-page .service-row > span:last-child { font-size: 1.35rem; }
.home-page .service-help { margin: 1.6rem 0 0; color: #4c5a50; font-size: .92rem; line-height: 1.5; }
.home-page .service-help a { color: var(--pine); font-weight: 700; border-bottom: 1px solid currentColor; }
.home-page .service-help a:hover { color: var(--clay); }
.home-page .community-section { background: var(--pine); color: #dfebdf; }
.home-page .community-section h2 { max-width: 13ch; color: white; font-size: clamp(2.8rem, 4.5vw, 4.8rem); }
.home-page .community-section p { max-width: 52ch; color: #dfebdf; line-height: 1.7; }
.home-page .community-note { margin: 0; border: 0; border-radius: 0; background: transparent; }
.home-page .community-note img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-page:not(.residential-page):not(.ev-page) .community-section .community-note img { aspect-ratio: 3 / 2; }
.residential-page .community-note img,
.ev-page .community-note img { aspect-ratio: 4 / 5; object-position: 50% 55%; }
.home-page .community-note figcaption { padding-top: .7rem; color: #d5ded4; font-size: .8rem; }
.home-page .community-guide-link { display: inline-flex; align-items: center; gap: .5rem; width: fit-content; margin: 1.2rem 0 0; padding-bottom: .2rem; border-bottom: 1px solid #d9e6da; color: #fff; font-size: .9rem; font-weight: 700; }
.home-page .community-guide-link:hover { color: #e7c9a9; }
.home-page .editorial-proof { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(1.75rem, 4vw, 4rem); }
.home-page .proof-copy { align-self: center; }
.home-page .proof-copy .text-link { margin-top: 1.5rem; }
.home-page .proof-images { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem; }
.home-page .proof-images figure { margin: 0; }
.home-page .proof-images figcaption a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: #aebbb0; text-underline-offset: 4px; }
.home-page .proof-images figcaption a:hover { color: var(--clay); }
.home-page .proof-images img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.home-page .proof-images figure:last-child img { aspect-ratio: 4 / 3; }
.home-page .proof-images figcaption { margin-top: .6rem; color: #657167; font-size: .75rem; }
.site-home .team-section { display: block; background: #e9e9dd; }
.site-home .team-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.site-home .team-copy h2 { max-width: 14ch; margin: .75rem 0 1.3rem; color: var(--ink); font: 400 clamp(2.7rem, 4.7vw, 4.9rem)/1.02 Georgia, serif; letter-spacing: -.055em; }
.site-home .team-copy > p:not(.eyebrow) { max-width: 54ch; color: #4c5a50; line-height: 1.7; }
.site-home .team-facts { margin: 1.6rem 0 1.8rem; border-top: 1px solid #aeb9ad; }
.site-home .team-facts p { margin: 0; padding: .75rem 0; border-bottom: 1px solid #aeb9ad; color: #40564a; line-height: 1.55; }
.site-home .team-facts strong { color: var(--ink); }
.site-home .team-photo { margin: 0; }
.site-home .team-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 75% 50%; }
.site-home .team-photo figcaption { margin-top: .65rem; color: #657167; font-size: .76rem; }
@media (max-width: 800px) {
  .site-home .team-layout { grid-template-columns: 1fr; }
  .site-home .team-photo { max-width: 560px; }
  .site-home .team-photo img { aspect-ratio: 4 / 5; object-position: 75% 50%; }
}
.site-home .budget-section { background: #f5f2ea; }
.site-home .budget-heading { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 clamp(2rem, 7vw, 7rem); margin-bottom: 2.6rem; }
.site-home .budget-heading .eyebrow { grid-column: 1 / -1; }
.site-home .budget-heading h2 { max-width: 14ch; margin: .65rem 0 0; color: var(--ink); font: 400 clamp(2.7rem, 4.6vw, 4.8rem)/1.02 Georgia, serif; letter-spacing: -.055em; }
.site-home .budget-heading > p:last-child { align-self: end; max-width: 49ch; margin: 0; color: #4c5a50; line-height: 1.65; }
.site-home .budget-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.3rem, 3vw, 2.5rem); }
.site-home .budget-option { display: flex; flex-direction: column; min-width: 0; padding: 1.25rem 0 0; border-top: 2px solid #173e32; }
.site-home .budget-tier { margin: 0 0 1.3rem; color: var(--clay); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.site-home .budget-option h3 { margin: 0 0 1rem; color: var(--ink); font: 400 clamp(1.65rem, 2.3vw, 2.25rem)/1.08 Georgia, serif; letter-spacing: -.045em; }
.site-home .budget-option > p:not(.budget-tier) { margin: 0 0 1rem; color: #4c5a50; line-height: 1.6; }
.site-home .budget-option .budget-includes { padding-top: .85rem; border-top: 1px solid #c9cec7; font-size: .86rem; }
.site-home .budget-option .text-link { align-self: flex-start; margin-top: auto; }
.site-home .budget-note { max-width: 100ch; margin: 2.5rem 0 0; padding-top: 1rem; border-top: 1px solid #c9cec7; color: #4c5a50; font-size: .9rem; line-height: 1.6; }
.site-home .budget-note a { color: #173e32; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 800px) {
  .site-home .budget-heading { display: block; }
  .site-home .budget-heading > p:last-child { margin-top: 1rem; }
  .site-home .budget-grid { grid-template-columns: 1fr; gap: 2rem; }
  .site-home .budget-option .text-link { margin-top: .25rem; }
}
.site-home #proceso,
.site-home #faq { position: relative; isolation: isolate; background: var(--pine); color: #e6eee8; }
.site-home #proceso::before,
.site-home #faq::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-position: center;
}
.site-home #proceso::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .88), rgba(12, 40, 31, .70)), url('../img/projects/community-montaje-960.webp');
  background-position: center 57%;
}
.site-home #faq::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .82), rgba(12, 40, 31, .76)), url('../img/site-optimized/photo-0726-faq-1440.webp');
  background-position: center 58%;
}
.site-home #proceso .section-heading h2,
.site-home #faq .section-heading h2 { color: #fffefa; }
.site-home #proceso .eyebrow,
.site-home #faq .eyebrow,
.site-home #proceso .step-number { color: #e3ab87; }
.home-page .process-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.home-page .process-grid li { padding: 1.15rem 0 0; border-top: 1px solid var(--pine); background: transparent; }
.site-home .process-grid li { border-top-color: rgba(230, 238, 232, .6); }
.home-page .step-number { color: var(--clay); font-size: .8rem; }
.home-page .process-grid h3 { margin-top: 1.25rem; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 400; letter-spacing: -.04em; }
.home-page .process-grid p { max-width: 34ch; color: #4c5a50; font-size: .9rem; }
.site-home .process-grid h3 { color: #fffefa; }
.site-home .process-grid p { color: #e6eee8; }
.site-home #faq .faq-item { border-bottom-color: rgba(230, 238, 232, .45); }
.site-home #faq .faq-q { color: #fffefa; }
.site-home #faq .faq-q:hover,
.site-home #faq .faq-q:focus-visible { color: #f2c9ac; }
.site-home #faq .faq-a { color: #e6eee8; }
.residential-page #que-revisamos,
.residential-page #proceso { position: relative; isolation: isolate; background: var(--pine); color: #e6eee8; }
.residential-page #que-revisamos::before,
.residential-page #proceso::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: cover;
  background-repeat: no-repeat;
}
.residential-page #que-revisamos::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .92), rgba(12, 40, 31, .78)), url('../img/site-optimized/photo-0357-casa-antes-960.webp');
  background-position: center 61%;
}
.residential-page #proceso::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .88), rgba(12, 40, 31, .70)), url('../img/site-optimized/photo-0321-casa-sabadell-1440.webp');
  background-position: center 58%;
}
.residential-page #faq { position: relative; isolation: isolate; background: var(--pine); color: #e6eee8; }
.residential-page #faq::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .88), rgba(12, 40, 31, .76)), url('../img/site-optimized/photo-0360-casa-despues-1440.webp');
  background-position: center 58%;
  background-size: cover;
  background-repeat: no-repeat;
}
.residential-page #faq .section-heading h2 { color: #fffefa; }
.residential-page #faq .eyebrow { color: #e3ab87; }
.residential-page #faq .faq-list { gap: 0; border-top: 1px solid rgba(230, 238, 232, .5); }
.residential-page #faq .faq-item { border-bottom-color: rgba(230, 238, 232, .42); }
.residential-page #faq .faq-q { color: #fffefa; }
.residential-page #faq .faq-q:hover,
.residential-page #faq .faq-q:focus-visible { color: #f2c9ac; }
.residential-page #faq .faq-a { color: #e6eee8; }
.residential-page #que-revisamos .section-heading h2,
.residential-page #proceso .section-heading h2 { color: #fffefa; }
.residential-page #que-revisamos .section-heading > p:last-child,
.residential-page #proceso .section-heading > p:last-child,
.residential-page #que-revisamos .service-help { color: #e6eee8; }
.residential-page #que-revisamos .eyebrow,
.residential-page #proceso .eyebrow,
.residential-page #proceso .step-number { color: #e3ab87; }
.residential-page #que-revisamos .service-list { border-top-color: rgba(230, 238, 232, .55); }
.residential-page #que-revisamos .service-row { border-bottom-color: rgba(230, 238, 232, .45); color: #fffefa; }
.residential-page #que-revisamos .service-row:hover { color: #f2c9ac; }
.residential-page #que-revisamos .service-row-featured { border-bottom-color: transparent; background: rgba(245, 242, 234, .14); }
.residential-page #que-revisamos .service-row-featured:hover { background: rgba(245, 242, 234, .2); color: #fffefa; }
.residential-page #que-revisamos .service-row small { color: #e6eee8; opacity: 1; }
.residential-page #que-revisamos .service-help a { color: #fffefa; }
.residential-page #proceso .process-grid li { border-top-color: rgba(230, 238, 232, .58); }
.residential-page #proceso .process-grid h3 { color: #fffefa; }
.residential-page #proceso .process-grid p { color: #e6eee8; }
.residential-page .residential-fit-section {
  background: #bdcdbb;
  color: var(--ink);
}
.residential-page .residential-fit-section h2 { color: var(--ink); }
.residential-page .residential-fit-section p { color: #42544b; }
.residential-page .residential-fit-section .eyebrow { color: #873b26; }
.residential-page .residential-fit-section .community-note figcaption { color: #4c5a50; }
.residential-page .residential-fit-section .button-light {
  border-color: var(--pine);
  background: var(--pine);
  color: #fffefa;
}
.residential-page .residential-fit-section .button-light:hover { background: #0f3025; }
.battery-page #dimensionado,
.battery-page #incluye {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine);
  color: #e6eee8;
}
.battery-page #dimensionado::before,
.battery-page #incluye::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background-size: cover;
  background-repeat: no-repeat;
}
.battery-page #dimensionado::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .9), rgba(12, 40, 31, .73)), url('../img/site-optimized/photo-0788-bateria-960.webp');
  background-position: 68% 34%;
}
.battery-page #incluye::before {
  background-image: linear-gradient(90deg, rgba(12, 40, 31, .92), rgba(12, 40, 31, .78)), url('../img/site-optimized/photo-0253-bateria-montaje-960.webp');
  background-position: 70% 28%;
}
.battery-page #dimensionado h2,
.battery-page #incluye h2,
.battery-page #incluye h3 { color: #fffefa; }
.battery-page #dimensionado p,
.battery-page #dimensionado .community-note,
.battery-page #incluye .section-heading > p:last-child,
.battery-page #incluye .info-card p { color: #e6eee8; }
.battery-page #incluye .info-card { border-top-color: rgba(230, 238, 232, .58); }
.battery-page #incluye .card-kicker { color: #e3ab87; }
.battery-page #incluye .info-card h3 { color: #fffefa; }
.battery-page #faq .faq-list { gap: 0; border-top: 1px solid #b5c2b8; }
.battery-page #faq .faq-list details { border-bottom: 1px solid #b5c2b8; }
.battery-page #faq .faq-list summary { padding: 1rem 0; }
.home-page .zones-section { background: #e1e9e2; }
.home-page .zones-layout { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(2rem, 7vw, 8rem); }
.home-page .zones-links { display: grid; align-content: start; border-top: 1px solid #96aa98; }
.home-page .zones-links a { display: flex; justify-content: space-between; padding: 1rem .2rem; border-bottom: 1px solid #96aa98; color: var(--ink); font-size: 1.12rem; font-weight: 700; }
.home-page .zones-links a:hover { color: var(--clay); }
.home-page .contact-section { background: var(--paper); }
.home-page .contact-copy h2 { font-size: clamp(2.8rem, 4.8vw, 4.8rem); }
.home-page .contact-details { border-left: 2px solid var(--clay); padding: .3rem 0 .3rem 1rem; }
.home-page .contact-details a { width: fit-content; color: var(--pine); font-size: .95rem; text-decoration: underline; text-decoration-color: #b9c5bc; text-underline-offset: 4px; }
.home-page .contact-details a:hover { color: var(--clay); text-decoration-color: currentColor; }
.home-page .contact-form-card { border: 1px solid var(--rule); border-radius: 0; box-shadow: none; background: #fffefa; }
.home-page .contact-form-card h3 { font-family: Georgia, serif; font-weight: 400; }
.home-page .form-row input,
.home-page .form-row select { border-radius: 0; background: #fffefa; }
.home-page .form-row textarea { width: 100%; min-height: 110px; padding: .68rem .75rem; border: 1px solid #cbd5e1; border-radius: 0; background: #fffefa; color: var(--ink); font: inherit; resize: vertical; }
.home-page .site-footer { background: #102b23; }
.home-page .footer-logo img { display: block; width: auto; height: 52px; margin: 0; flex: none; filter: none; object-fit: contain; }
.home-page .footer-logo span { color: white; }
.battery-page .language-current { color: var(--clay); font-size: .7rem; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.battery-page .hero-grid { align-items: center; }
.battery-page .hero-copy { padding-bottom: 0; }
.battery-page .hero-copy h1 { max-width: 13ch; font-size: clamp(3.1rem, 5vw, 5.5rem); }
.battery-page .hero-media img { aspect-ratio: 4 / 5; object-position: 50% 60%; }
.maintenance-page .hero-media img { aspect-ratio: 4 / 3; object-position: 50% 78%; }
.battery-page .info-card { min-height: 0; border: 0; border-top: 1px solid var(--pine); border-radius: 0; padding: 1.2rem 0; background: transparent; box-shadow: none; }
.battery-page .info-card:hover { border-color: var(--pine); transform: none; box-shadow: none; }
.battery-page .info-card h3 { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 400; letter-spacing: -.04em; }
.battery-page .card-kicker { color: var(--clay); }
.battery-page .scenario-grid { gap: 2rem; }
.battery-page .check-list { border-radius: 0; background: #fffefa; }
.battery-page .battery-flow-section { background: #e1e9e2; }
.battery-page .battery-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 2rem 0; padding: 0; list-style: none; }
.battery-page .battery-flow li { position: relative; display: grid; align-content: start; gap: .55rem; min-height: 170px; padding: 1rem; border-top: 2px solid var(--pine); background: #f5f2ea; }
.battery-page .battery-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -.8rem; top: 45%; z-index: 1; color: var(--clay); font-size: 1.5rem; }
.battery-page .battery-flow li span { color: var(--clay); font-size: .72rem; font-weight: 800; }
.battery-page .battery-flow li strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.battery-page .battery-flow li small { color: #4c5a50; line-height: 1.4; }
.residential-page .hero-media img { aspect-ratio: 4 / 3; object-position: center; }
.residential-page .proof-images { grid-template-columns: 1fr 1fr; align-items: start; }
.residential-page .proof-images figure:first-child img { aspect-ratio: 4 / 5; }
.residential-page .proof-images figure:last-child img { aspect-ratio: 4 / 5; }
.residential-page .proof-images figure:first-child { overflow: visible; }
.residential-page .proof-images figure:first-child img {
  filter: brightness(.99) contrast(.94) saturate(.96);
}
.residential-page .proof-images figure:last-child img {
  filter: brightness(1.01) contrast(.92) saturate(.95);
}
.ev-page .ev-plan { display: flex; flex-direction: column; min-height: 595px; padding: clamp(1.5rem, 3.2vw, 3rem); background: var(--pine); color: #f5f2ea; }
.ev-page .ev-plan-top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #739083; color: #bfd2c5; font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.ev-page .ev-plan h2 { margin: auto 0 2.3rem; color: #f5f2ea; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.5rem); font-weight: 400; letter-spacing: -.06em; line-height: 1.04; }
.ev-page .ev-plan h2 em { color: #e3ab87; font-weight: 400; }
.ev-page .ev-plan-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.ev-page .ev-plan-route li { position: relative; padding-top: 1rem; border-top: 1px solid #88a698; }
.ev-page .ev-plan-route li:not(:last-child)::after { content: '→'; position: absolute; right: -.9rem; top: -.84rem; color: #e3ab87; font-size: 1.2rem; }
.ev-page .ev-plan-route li span { display: block; margin-bottom: .6rem; color: #e3ab87; font-size: .72rem; font-weight: 800; }
.ev-page .ev-plan-route li strong { display: block; font-family: Georgia, serif; font-size: 1.28rem; font-weight: 400; }
.ev-page .ev-plan-route li small { display: block; margin-top: .35rem; color: #c8d9cf; font-size: .73rem; line-height: 1.4; }
.ev-page .ev-plan-bottom { margin: 2.6rem 0 0; padding-top: .8rem; border-top: 1px solid #739083; color: #bfd2c5; font-size: .78rem; }
@media (max-width: 420px) {
  .ev-page .ev-plan { min-width: 0; padding: 1.2rem; }
  .ev-page .ev-plan-top { flex-wrap: wrap; letter-spacing: .08em; }
  .ev-page .ev-plan h2 { font-size: clamp(2rem, 9vw, 2.5rem); overflow-wrap: anywhere; }
  .ev-page .ev-plan-route { grid-template-columns: minmax(0, 1fr); gap: .65rem; }
  .ev-page .ev-plan-route li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr); column-gap: .5rem; }
  .ev-page .ev-plan-route li span { grid-row: span 2; }
  .ev-page .ev-plan-route li small { margin-top: .15rem; }
  .ev-page .ev-plan-route li::after { display: none; }
}

@media (max-width: 900px) {
  .home-page .service-layout,
  .home-page .editorial-proof,
  .home-page .zones-layout { grid-template-columns: 1fr; }
  .home-page .service-layout .section-heading { position: static; }
  .home-page .editorial-proof { gap: 2.5rem; }
}
@media (max-width: 720px) {
  .home-page .language-links { align-items: center; gap: 0; }
  .home-page .language-carousel-button {
    display: inline-flex;
    width: 27px;
    height: 36px;
    flex: none;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--clay);
    font: inherit;
    font-size: 1.35rem;
    cursor: pointer;
  }
  .home-page .language-carousel-button:hover,
  .home-page .language-carousel-button:focus-visible { color: var(--pine); }
  .home-page .language-track {
    display: flex;
    width: 56px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .home-page .language-track::-webkit-scrollbar { display: none; }
  .home-page .language-track a {
    display: inline-flex;
    min-width: 28px;
    height: 36px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    scroll-snap-align: start;
  }
  .home-page .language-links .language-track a:nth-child(n + 3) { display: inline-flex; }
}
@media (max-width: 700px) {
  .home-page #escenarios::before {
    inset: 0 0 auto;
    height: 540px;
    background-image: linear-gradient(180deg, rgba(233, 233, 221, .79) 0%, rgba(233, 233, 221, .87) 45%, #e9e9dd 100%), url('../img/instalacion-comercial-gran-cubierta.jpg');
    background-position: center 58%;
  }
  .site-home #proceso::before {
    background-image: linear-gradient(rgba(12, 40, 31, .84), rgba(12, 40, 31, .84)), url('../img/projects/community-montaje-960.webp');
    background-position: 45% center;
  }
  .site-home #faq::before {
    background-image: linear-gradient(rgba(12, 40, 31, .84), rgba(12, 40, 31, .84)), url('../img/site-optimized/photo-0726-faq-960.webp');
    background-position: 60% center;
  }
  .residential-page #que-revisamos::before {
    background-image: linear-gradient(rgba(12, 40, 31, .87), rgba(12, 40, 31, .9)), url('../img/site-optimized/photo-0357-casa-antes-960.webp');
    background-position: 52% center;
  }
  .residential-page #proceso::before {
    background-image: linear-gradient(rgba(12, 40, 31, .85), rgba(12, 40, 31, .88)), url('../img/site-optimized/photo-0321-casa-sabadell-960.webp');
    background-position: 55% center;
  }
  .residential-page #faq::before {
    background-image: linear-gradient(rgba(12, 40, 31, .87), rgba(12, 40, 31, .9)), url('../img/site-optimized/photo-0360-casa-despues-960.webp');
    background-position: 52% center;
  }
  .home-page .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .home-page .hero-grid > *,
  .home-page .container > * { min-width: 0; }
  .home-page .hero-copy h1 { font-size: clamp(3.15rem, 12.2vw, 4.8rem); }
  .home-page .hero-media img { aspect-ratio: 4 / 3; }
  .battery-page .hero-media img { aspect-ratio: 4 / 5; }
  .maintenance-page .hero-media img { aspect-ratio: 4 / 3; }
  .home-page .hero-actions { align-items: flex-start; }
  .home-page .hero-actions .button { width: auto; }
  .home-page .service-row { grid-template-columns: 1fr auto; gap: .4rem; }
  .home-page .service-index { grid-column: 1 / -1; }
  .home-page .service-row > span:last-child { grid-column: 2; grid-row: 2; }
  .home-page .process-grid { grid-template-columns: 1fr; gap: 1rem; }
  .battery-page .scenario-grid,
  .battery-page .battery-flow { grid-template-columns: 1fr; gap: 1rem; }
  .battery-page .battery-flow li { min-height: 0; }
  .battery-page .battery-flow li:not(:last-child)::after { right: 1rem; top: auto; bottom: -1.15rem; transform: rotate(90deg); }
  .home-page .proof-images,
  .residential-page .proof-images { grid-template-columns: 1fr; gap: 1.5rem; }
  .home-page .proof-images img,
  .home-page .proof-images figure:last-child img { aspect-ratio: 4 / 3; object-position: 50% 60%; }
  .residential-page .proof-images figure:first-child img,
  .residential-page .proof-images figure:last-child img { aspect-ratio: 4 / 5; object-position: 50% 65%; }
  .battery-page #dimensionado::before { background-position: 72% 34%; background-image: linear-gradient(rgba(12, 40, 31, .86), rgba(12, 40, 31, .9)), url('../img/site-optimized/photo-0788-bateria-960.webp'); }
  .battery-page #incluye::before { background-position: 70% 24%; background-image: linear-gradient(rgba(12, 40, 31, .88), rgba(12, 40, 31, .92)), url('../img/site-optimized/photo-0253-bateria-montaje-960.webp'); }
  .home-page .nav-logo span { font-size: 1.35rem; }
  .home-page .nav-logo img { height: 40px; }
  .ev-page .ev-plan { min-height: 470px; }
  .ev-page .ev-plan h2 { font-size: clamp(2.9rem, 11vw, 4.2rem); }
  .ev-page .ev-plan-route { gap: .5rem; }
  .ev-page .ev-plan-route li strong { font-size: 1rem; }
  .ev-page .ev-plan-route li small { font-size: .65rem; }
  .home-page .mobile-nav { background: var(--paper); }
  .home-page .menu-toggle { border-radius: 0; background: transparent; }
}
@media (max-width: 360px) {
  .home-page .nav-actions { gap: .35rem; }
  .home-page .language-carousel-button { width: 20px; }
  .home-page .language-track { width: 28px; }
  .home-page .hero-copy h1 { font-size: clamp(1.8rem, 10.2vw, 2.15rem); }
  .home-page .section-title,
  .home-page h2 { font-size: clamp(1.95rem, 10.5vw, 2.45rem); }
  .home-page h1,
  .home-page h2,
  .home-page h3 { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
  .home-page .container,
  .home-page .section-heading,
  .home-page .service-list,
  .home-page .reassurance-grid { min-width: 0; }
}
@media (max-width: 820px) {
  .case-page .case-main h1 { max-width: 100%; overflow-wrap: anywhere; }
}

.site-home .budget-selection {
  margin: 0 0 1rem;
  padding: .8rem 1rem;
  border-left: 3px solid var(--clay);
  background: #f2eee5;
  color: var(--pine);
  font-size: .9rem;
  line-height: 1.5;
}
