/*
Theme Name: Sonne by M84
Description: Tema personalizado para Sonne Life
Version: 2.0
*/

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #d6b85a;
    --secondary-color: #3F3F3F;
    --text-light: #ffffff;
    --text-dark: #000000;
    --bg-dark: #000000;
    --grey100: #E4E4E4;
    --grey50: #F2F2F2;
    --grey25: #FAFAFA;
    --dark50: #3F3F3F;
    --dark25: #7F7F7F;
    --dark100: #1F1F1F;
    --yellow50: #FFD97B;
    --yellow25: #FFE4A2;
    --yellow100: #E5B43C;
    --font-title-family: "Barlow";
     --font-body-family: "Lato", sans-serif;
}

/* ===== RESET GENERAL ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-padding-top: 140px;
    scroll-behavior: smooth;
    font-size: 100%;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body {
    background: var(--bg-dark);
    color: var(--grey50);
    font-family: var(--font-body-family);
}

/* Reset de elementos específicos */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: inherit; 
    font-weight: inherit;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

img, picture, svg, video, canvas {
    display: block;
    max-width: 100%;
}

input, textarea, select, button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

textarea {
    resize: vertical;
}

button {
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

article, aside, footer, header, nav, section, main {
    display: block;
}

/* ===== UTILIDADES ===== */
.global-gradient {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.yellow-gradient {
    background: linear-gradient(to right, #E5B43C, #FFE4A2) !important;
}

.lowercase {
    text-transform: lowercase !important;
}

.light100{
    font-family: var(--font-title-family);
    font-weight: 100;
}

/* ===== COMPONENTE: BOTONES ===== */
.btn {
    font-family: var(--font-title-family);
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    font-size: inherit;
    text-transform: uppercase;
    letter-spacing: 1.25px;
}

.btn.small {
    padding: 6px 16px;
    font-size: 12px;
}

.btn.regular {
    padding: 12px 24px;
    font-size: 16px;
}

.btn.large {
    border-radius: 8px;
    padding: 0.85rem 3rem;
    font-size: 1.5rem;
    max-width: 80%;
}

.btn.contained.grey50 {
    background: var(--grey50);
    color: var(--dark50);
}

.btn.contained.grey50:hover {
    background: var(--grey25);
}

.btn.contained.yellow50 {
    background: var(--yellow50);
    color: var(--dark50);
}

.btn.contained.yellow50:hover {
    background: var(--yellow25);
}

.btn.outlined {
    background: transparent;
    color: var(--grey100);
    border: 1px solid var(--grey100);
}

.btn.outlined:hover {
    background: transparent;
}

.btn.text {
    background: transparent;
    color: var(--yellow50);
    padding: 8px 0;
    border: none;
    font-weight: 600;
}

.btn.text:hover {
    color: var(--yellow25);
}

/* ===== COMPONENTE: BARRA DE ANUNCIOS ===== */
.announcement-bar {
    height: 46px;
    width: 100vw;
    font-family: var(--font-title-family);
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--dark50);
    font-weight: 600;
    font-size: 0.85rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

/* ===== COMPONENTE: HEADER ===== */
.main-header {
    height: 92px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    position: fixed;
    top: 46px;
    left: 0;
    width: 100%;
    z-index: 999;
}

.header-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 3fr;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    justify-self: start;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-desktop {
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-title-family);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-self: end;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--primary-color);
}

/* ===== COMPONENTE: MENÚ MÓVIL ===== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    justify-self: end;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--text-light);
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.mobile-nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 400;
    transition: color 0.3s ease;
}

.mobile-nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-social-links {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.mobile-social-icon {
    width: 24px;
    height: 24px;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.mobile-social-icon:hover {
    color: var(--primary-color);
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 32px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-menu:hover {
    color: var(--primary-color);
}

/* ===== SECCIÓN: HERO ===== */
.hero {
    height: 66vh;
    max-height: 800px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.hero-mobile-video {
    display: none;
}
.hero-content {
    text-align: center;
    color: var(--text-light);
    transform: translateY(35%);
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-title-family);
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: var(--grey50);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    margin-top: 2rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* ===== SECCIÓN: SECONDARY INFO ===== */
.secondary-info {
    padding: 80px 0 0 0;
}

.info-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 20px 0;
    text-align: center;
}

.info-title {
    font-family: var(--font-title-family);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.info-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--grey50);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-cta {
    margin-bottom: 60px;
}

.full-width-image {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: auto;
    overflow: hidden;
}

.full-width-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.exp-shadow {
    position: relative;
    display: inline-block;
    max-width: 100%;
    --shadow-height: 33.33%;
}

.exp-shadow img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1;
    min-height: 285px;
}

.exp-shadow::before,
.exp-shadow::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: var(--shadow-height);
    pointer-events: none;
    z-index: 2;
}

.exp-shadow::before, .black-shadow::before {
    top: 0;
    background: linear-gradient(
        to bottom,
        #000 0%,
        #000 10%,
        rgba(0,0,0,0.9) 20%,
        rgba(0,0,0,0.7) 35%,
        rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.25) 75%,
        transparent 100%
    );
}

.exp-shadow::after {
    bottom: 0;
    background: linear-gradient(
        to top,
        #000 0%,
        #000 10%,
        rgba(0,0,0,0.9) 20%,
        rgba(0,0,0,0.7) 35%,
        rgba(0,0,0,0.45) 55%,
        rgba(0,0,0,0.25) 75%,
        transparent 100%
    );
}

/* ===== COMPONENTE: SLIDER ===== */
.slider-component {
    max-width: 1200px;
    margin: 40px auto;
    background: transparent;
    overflow: hidden;
}

.slider-component .section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--grey50);
    font-weight: 600;
    font-family: var(--font-title-family);
    text-transform: uppercase;
    text-align: left;
}

.slider-component .slider-title h2{
    text-transform: uppercase;
}

.slider-component .slider-title h2.bold{
    color: var(--yellow100);
    font-weight: 600;
}

.slider-component .section-title.centered {
    text-align: center;
    align-items: center;
}

.slider-component .slider-title {
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    justify-content: center; 
    font-size: 2rem;
    margin-bottom: 2rem;
}

.slider-component .main-swiper {
    width: 100%;
    height: 400px;
    position: relative;
}

.slider-component .main-swiper .swiper-slide {
    position: relative;
    overflow: hidden;
}

.slider-component .main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: clamp(0px, 2vw, 12px);
}

.slider-component .main-swiper .swiper-button-next,
.slider-component .main-swiper .swiper-button-prev {
    display: none;
}

.slider-component .cards-container {
    padding: 30px 0;
}

.slider-component .cards-wrapper {
    display: grid;
    gap: 3rem;
}

.slider-component .cards-wrapper[data-card-count="1"] {
    grid-template-columns: 1fr;
}

.slider-component .cards-wrapper[data-card-count="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.slider-component .cards-wrapper[data-card-count="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.slider-component .cards-wrapper[data-card-count="4"] {
    grid-template-columns: repeat(4, 1fr);
}

.slider-component .cards-wrapper[data-card-count="5"] {
    grid-template-columns: repeat(5, 1fr);
}

.slider-component .cards-wrapper[data-card-count="6"] {
    grid-template-columns: repeat(6, 1fr);
}

.slider-component .card {
    background: transparent;
    padding: 25px 20px;
    text-align: left;
    transition: all 0.4s ease;
    cursor: pointer;
    border-top: 1px solid var(--dark50);
    display: flex;
    flex-direction: column;
    position: relative;
}

.slider-component .card:hover {
    border-top-color: var(--dark25);
}

.slider-component .card.on {
    border-top: 2px solid var(--yellow25);
}

.slider-component .card.on:hover {
    border-top-color: var(--yellow25);
}

.slider-component .card.centered {
    text-align: center;
    align-items: center;
}

.slider-component .card.centered .card-icon {
    justify-content: center;
}

.slider-component .card:not(.on) {
    color: var(--dark50);
}

.slider-component .card:not(.on) .card-icon svg {
    stroke: var(--dark50);
}

.slider-component .card:not(.on) .card-icon svg[fill] {
    fill: var(--dark50);
}

.slider-component .card:not(.on) h3 {
    color: var(--dark50);
}

.slider-component .card:not(.on) p {
    color: var(--dark50);
}

.slider-component .card:not(.on) a {
    color: var(--dark50);
}

.slider-component .card.on {
    color: var(--grey50);
}

.slider-component .card.on .card-icon svg {
    stroke:  url(#yellow-gradient);;
    fill: url(#yellow-gradient);
}

.slider-component .card.on .card-icon svg[fill] {
    fill: url(#yellow-gradient);
    stroke: none;
}

.slider-component .card.on h3 {
    color: var(--grey50);
}

.slider-component .card.on p {
    color: var(--grey50);
}

.slider-component .card.on a {
    color: var(--yellow100);
}

.slider-component .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.slider-component .card.centered .card-icon {
    justify-content: center;
}

.slider-component .card h3 {
    font-family: var(--font-title-family);
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.slider-component .card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.slider-component .card a {
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.slider-component .card a:hover {
    color: var(--yellow50);
}

.slider-component .card a::after {
    content: "→";
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.slider-component .card a:hover::after {
    transform: translateX(4px);
}

.slider-component .cards-swiper-mobile {
    display: none;
    position: relative;
    padding-bottom: 40px;
}

.slider-component .cards-swiper-mobile .swiper-button-next,
.slider-component .cards-swiper-mobile .swiper-button-prev {
    display: none !important;
}

.slider-component .swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.slider-component .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--dark25);
    opacity: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-component .swiper-pagination-bullet-active {
    background: var(--yellow100);
    transform: scale(1.2);
}

/* ===== SECCIÓN: ECOSISTEMA SOLAR ===== */
.ecosistema-solar {
    background: #000;
    color: #fff;
    padding: 4rem 2rem;
    display: flex;
    justify-content: center;
}

.ecosistema-solar .content {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    position: relative;
    border: none;
}

.ecosistema-solar .text-container {
    flex: 0 0 50%;
    padding: 0;
    position: relative;
    z-index: 2;
}

.ecosistema-solar .text-content {
    padding: 0;
}

.ecosistema-solar .text-content h2 {
    font-size: 2rem;
    font-family: var(--font-title-family);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.ecosistema-solar .text-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ccc;
}

.ecosistema-solar .image {
    flex: 0 0 50%;
    position: relative;
    z-index: 4;
}

.ecosistema-solar .image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    z-index: 4;
}

/* ===== SECCIÓN: NOSOTROS ===== */
.nosotros {
    position: relative;
    /*background: url('./images/sobre-nosotros-off.jpg') no-repeat center center/cover;*/
    height: 100vh;
    max-height: 620px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    transition: background-image 0.6s ease;
    max-width: 1200px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
}

/*.nosotros:hover {
    background-image: url('./images/sobre-nosotros-on.jpg');
}*/

.nosotros::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}

.nosotros .estado {
    position: absolute;
    display: flex;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 145px;
    height: 124px;
    transition: opacity 0.5s ease;
}

.nosotros .estado img{
    width: 100%;
    height: 100%;
}

.nosotros .on {
    opacity: 0;
    position: absolute;
    inset: 0;
}

.nosotros:hover .on {
    opacity: 1;
}

.nosotros:hover .off {
    opacity: 0;
}

.nosotros-content {
    position: relative;
    z-index: 3;
    max-width: 95%;
    padding: 0 2rem 4rem;
}

.etiqueta {
    color: #F8D36C;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.titulo {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0 0 1rem;
    font-weight: 700;
}

.descripcion {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ddd;
}

/* ===== SECCIÓN: SOSTENIBILIDAD ===== */
.sostenibilidad {
    position: relative;
    height: 100vh;
    max-height: 620px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    overflow: hidden;
    transition: background-image 0.6s ease;
    margin: 40px auto;
    overflow: hidden;
}

.sostenibilidad::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 70%);
    z-index: 1;
    height: 30%;
}

.sostenibilidad::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}

.sostenibilidad-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    max-width: 95%;
    padding: 0 2rem 4rem;
}

/* ===== SECCIÓN: COTIZADOR ===== */
.cotizador {
    background: #000;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    padding: 4rem 2rem;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 20px;
}

.cotizador .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}

.paso {
    font-family: var(--font-title-family);
    color: #e5b93c;
    font-weight: 600;
    letter-spacing: 1px;
}

.cotizador h2{
    font-size: 2rem;
    font-family: var(--font-title-family);
    margin-bottom: 1.5rem;
}

input[type="text"], input[type="email"], input[type="tel"] {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e5b93c;
    color: #fff;
    padding: 0.5rem;
    font-family: var(--font-title-family);
	-webkit-appearance: none;
	appearance: none;
}

.opciones label {
    display: block;
    margin-bottom: 1rem;
    cursor: pointer;
}

.acciones {
    display: flex;
    justify-content: flex-end;
    margin-top: 2rem;
}

.acciones:has(button + button) {
  justify-content: space-between;
}

.cotizador button {
    background: none;
    color: #e5b93c;
    border: none;
    cursor: pointer;
    font-weight: bold;
    font-family: var(--font-title-family);
    text-transform: uppercase;
    font-size: 0.85rem;
}

/* ===== SECCIÓN: FOOTER ===== */
.footer {
    background-color: #000;
    padding: 0 0 6rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-inner {
    width: 90%;
    max-width: 1200px;
    text-align: center;
}

.footer-line {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0 auto 1.5rem auto;
    width: 100%;
}

.footer-logo {
    width: 130px;
    margin: 3rem auto;
    display: block;
    filter: brightness(1.2);
    opacity: 0.95;
}

.black-gradient{
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.black-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.8) 10%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    .nav-desktop, .social-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-container {
        grid-template-columns: 1fr auto;
    }
    
    .hero-desktop-video {
        display: none;
    }
    
    .hero-mobile-video {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .info-title {
        font-size: 2rem;
    }

    .info-description {
        font-size: 1rem;
    }

    .full-width-image {
        height: auto;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .info-title {
        font-size: 1.8rem;
    }

    .full-width-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .slider-component .slider-title {
        flex-direction: column;
    }
    
    .slider-component .main-swiper .swiper-button-next,
    .slider-component .main-swiper .swiper-button-prev {
        display: flex;
        width: 40px;
        height: 40px;
        background: var(--yellow25);
        border-radius: 50%;
        color: var(--dark100);
        font-weight: bold;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .slider-component .main-swiper .swiper-button-next::after,
    .slider-component .main-swiper .swiper-button-prev::after {
        font-size: 16px;
        font-weight: bold;
    }
}

@media (max-width: 1024px) {
    .slider-component{
        padding: 0 1rem;
    }
    
    .slider-component .main-swiper {
        height: 350px;
    }
    
    .slider-component .cards-wrapper[data-card-count="3"],
    .slider-component .cards-wrapper[data-card-count="4"],
    .slider-component .cards-wrapper[data-card-count="5"],
    .slider-component .cards-wrapper[data-card-count="6"] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .slider-component .main-swiper {
        height: 300px;
    }
    
    .slider-component .cards-container {
        padding: 20px 15px;
    }
    
    .slider-component .cards-wrapper {
        display: none;
    }
    
    .slider-component .cards-swiper-mobile {
        display: block;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 12px;
    }
    
    .slider-component .main-swiper {
        height: 250px;
    }
    
    .slider-component .card {
        padding: 20px 15px;
    }
    
    .slider-component .card-icon {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 768px) {
    .ecosistema-solar .text-content {
        padding: 3rem;
    }
    
    .ecosistema-solar .text-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border: 1px solid #d6b85a;
        border-radius: 16px;
        width: 130%;
        z-index: -1;
    }
}

@media (max-width: 767px) {
    .ecosistema-solar {
        padding: 2rem 1rem;
    }
    
    .ecosistema-solar .content {
        flex-direction: column;
        border: 1px solid #d6b85a;
        border-radius: 16px;
        padding: 2rem;
    }
    
    .ecosistema-solar .text-container {
        flex: none;
        width: 100%;
        padding: 0;
    }
    
    .ecosistema-solar .text-container::before {
        display: none;
    }
    
    .ecosistema-solar .image {
        flex: none;
        width: 100%;
    }
}


/* Estilos para el autocompletado de Google Maps */
.pac-container {
    background-color: #000;
    border: 1px solid #e5b93c;
    border-radius: 4px;
    font-family: var(--font-body-family);
}

.pac-item {
    color: #fff;
    padding: 10px;
    border-bottom: 1px solid #333;
    cursor: pointer;
}

.pac-item:hover {
    background-color: #333;
}

.pac-item-selected {
    background-color: #e5b93c;
    color: #000;
}

.pac-icon {
    margin-right: 10px;
}

.pac-item-query {
    color: #e5b93c;
    font-weight: bold;
}




.on-off {
    position: relative;
    transition: all 0.5s ease-in-out;
}

.on-off::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0.2) 70%);
    z-index: 1;
}

.on-off.active::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,1) 10%, rgba(0,0,0,0.2) 40%);
    z-index: 1;
}

.on-off .estado {
    position: absolute;
    display: flex;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 145px;
    height: 124px;
    transition: opacity 0.5s ease;
}

.on-off .estado img{
    width: 100%;
    height: 100%;
}

.on-off .pictures {
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.on-off img {
    transition: opacity 0.5s ease-in-out;
}

/* Estado inicial: mostrar off, ocultar on */
.on-off .estado .on,
.on-off .pictures .on {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.on-off .estado .off,
.on-off .pictures .off {
    opacity: 1;
}

/* Estado activo: mostrar on, ocultar off */
.on-off.active .estado .on,
.on-off.active .pictures .on {
    opacity: 1;
}

.on-off.active .estado .off,
.on-off.active .pictures .off {
    opacity: 0;
}

/* Asegurar que las imágenes tengan el mismo tamaño */
.on-off .pictures img {
    width: 100%;
    height: auto;
    display: block;
}

.on-off .estado {
    text-align: center;
    margin-bottom: 20px;
}


@media (max-width: 768px) {
    .nosotros {
        align-items: flex-end;
        text-align: center;
        height: 90vh;
        margin: 0 1rem;
    }

    .nosotros-content {
        max-width: 90%;
        margin: 0 auto;
        padding-bottom: 3rem;
    }

    .titulo {
        font-size: 1.8rem;
    }

    .descripcion {
        font-size: 0.95rem;
    }

    .nosotros .estado {
        width: 72px;
        height: 62px;
    }

    .on-off .estado {
        width: 72px;
        height: 62px;
    }
}

@media (max-width: 768px) {
    .sostenibilidad {
        align-items: flex-end;
        text-align: center;
        height: 90vh;
    }

    .sostenibilidad-content {
        max-width: 90%;
        margin: 0 auto;
        padding-bottom: 3rem;
    }

    .titulo {
        font-size: 1.8rem;
    }

    .descripcion {
        font-size: 0.95rem;
    }
}



/* Estilos para mensajes de error */
.error-container {
    min-height: 20px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.error-mensaje {
    color: #ff6b6b;
    font-size: 14px;
    padding: 5px 0;
    animation: fadeIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.error-mensaje::before {
    content: "⚠";
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para campos con error */
.input-error {
    border-bottom: 1px solid #ff6b6b !important;
}

.opciones-error {
    border: 1px solid #ff6b6b !important;
    padding: 15px !important;
    border-radius: 5px !important;
    margin-bottom: 15px !important;
}


/* SIMPLE FORM */
.sonne-simple-form {
  --ssf-gold:        #ddad56;
  --ssf-gold-hover:  #C08C2E;
  --ssf-border:      #ceccc8;
  --ssf-bg-input:    #f2f1ee;
  --ssf-text:        #2A2A2A;
  --ssf-placeholder: #9A9087;
  --ssf-icon-color:  #7A7060;
  --ssf-green:       #4BAE82;
  --ssf-red:         #C0392B;

  width: 100%;
  font-family: var(--font-body-family), sans-serif;
  color: var(--ssf-text);
  box-sizing: border-box;
	max-width: 80%;
margin:  1.5rem auto;
}

.sonne-simple-form * { box-sizing: border-box; }

/* ── HEADER ── */

.ssf-header {
  margin-bottom: 1.75rem;
}

.ssf-line {
  width: 48px;
  height: 3px;
  background: var(--ssf-gold);
  margin-bottom: .85rem;
	margin-left: 6rem;
}

.ssf-title {
  font-family: var(--font-body-family), sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 400;
  color: var(--ssf-text);
  line-height: 1.2;
}

/* ── FIELDS ── */

.ssf-field {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--ssf-border);
  border-radius: 4px;
  background: var(--ssf-bg-input);
  padding: 0 1.1rem;
  margin-bottom: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ssf-field:focus-within {
  border-color: var(--ssf-gold);
  box-shadow: 0 0 0 3px rgba(212,160,67,.12);
}

.ssf-icon {
  color: var(--ssf-icon-color);
  display: flex;
  align-items: center;
  margin-right: .75rem;
  flex-shrink: 0;
}

.ssf-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  font-family: var(--font-body-family), sans-serif;
  color: #72757a !important;
  padding: .95rem 0 !important;
	
	border-bottom: none !important;
}

.ssf-input::placeholder { color: var(--ssf-placeholder); }

/* ── MESSAGE ── */

.ssf-msg {
  margin-bottom: 1rem;
  padding: .7rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
}

.ssf-msg.success {
  background: rgba(75,174,130,.1);
  color: var(--ssf-green);
  border: 1px solid var(--ssf-green);
}

.ssf-msg.error {
  background: rgba(192,57,43,.08);
  color: var(--ssf-red);
  border: 1px solid var(--ssf-red);
}

/* ── BUTTON ── */

.ssf-btn {
  display: block;
  width: 100%;
  padding: 1.1rem;
  background: var(--ssf-gold);
  color: #1A1A1A;
  border: none;
  border-radius: 0;
  font-family: var(--font-body-family), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .08em;
  cursor: pointer;
  transition: background .25s ease, transform .2s ease;
  margin-top: .25rem;
}

.ssf-btn:hover   { background: var(--ssf-gold-hover); transform: translateY(-1px); }
.ssf-btn:active  { transform: translateY(0); }
.ssf-btn[disabled] { opacity: .6; pointer-events: none; }



/* CALCULATOR FORM */
.solar-calculator {
  --bg-dark:        #151513;
  --btn-light:      #F1E5DB;
  --btn-active:     #D4A043;
  --slider-color:   #E0BC63;
  --text-light:     #F2E3D3;
  --text-secondary: #F1E5DB;
  --text-bright:    #FFD66A;
  --color-green:    #4BAE82;

  width: 100%;
  padding: 1rem 1.35rem;
  font-family: var(--font-body-family), sans-serif;
  color: var(--text-light);
  box-sizing: border-box;
}

.solar-calculator * { box-sizing: border-box; }
.solar-form { width: 100%; }

/* ── STEP HEADER ── */

.step-header {
  text-align: center;
  margin-bottom: 0.35rem;
}

.step-header-title {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  letter-spacing: .06em;
  color: var(--text-light);
}
.step-header-title.active {
	color: var(--btn-active) !important;
}

.step-header-subtitle {
  font-size: .78rem;
  color: var(--text-secondary);
  line-height: 1.1;
	font-weight: 300;
}

/* ── SEPARATOR ── */

.solar-separator { margin-bottom: 0.35rem; line-height: 0; }
.solar-separator img {
  display: block; width: 100%; height: auto;
  max-height: 22px; object-fit: contain;
}

/* ── STEP VISIBILITY ── */

.solar-step          { display: none; }
.solar-step.active-step { display: block; }

.step-heading { margin-bottom: 1rem; }

.step-title {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(.9rem, 1.6vw, 1rem);
  color: var(--text-light);
  line-height: 1.1;
}

.step-subtitle {
  font-size: .78rem;
  color: var(--text-secondary);
  line-height: 1.1;
	font-weight: 300;
}

/* ── STEP 1 – ENERGY OPTIONS ── */

.energy-options {
  display: flex;
  gap: 1rem;
  margin-bottom: .75rem;
}

.energy-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: none;
  border-radius: 12px;
  background: var(--btn-light);
  color: var(--bg-dark);
  padding: .6rem 1rem .6rem 0;
  min-height: 58px;
  cursor: pointer;
  transition: .25s ease;
  font-family: var(--font-body-family), sans-serif;
}

.energy-option:hover  { transform: translateY(-2px); }
.energy-option.active { background: var(--btn-active); }

.svg-placeholder {
  position: absolute;
  left: 0;
  margin-left: 1.25rem;
  display: flex;
  align-items: center;
  color: var(--bg-dark);
}

.energy-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 2rem;
}

.energy-title {
  font-family: var(--font-title-family), sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .03em;
  line-height: 1.1;
}

.energy-subtitle { font-size: .72rem; opacity: .8; }

/* ── STEP 1 – PRICE ── */

.price-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  flex-wrap: wrap;
}

.price-label { font-size: .88rem; color: var(--text-light); line-height: 1.3; }

.price-input {
  background: var(--btn-light);
  color: var(--bg-dark);
  border-radius: 8px;
  padding: .3rem 1rem;
  display: flex;
  align-items: baseline;
  gap: .25rem;
  flex: 1;
  min-width: 140px;
  font-family: var(--font-title-family), sans-serif;
}

.price-currency { font-size: 1rem; opacity: .65; }

.price-value-input {
  font-size: 1.15rem;
  font-weight: 700;
  background: transparent;
  border: none;
  outline: none;
  color: var(--bg-dark);
  width: 100%;
  font-family: var(--font-title-family), sans-serif;
  -moz-appearance: textfield;
}

.price-value-input::-webkit-outer-spin-button,
.price-value-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── SLIDER ── */

.slider-wrap { margin-bottom: .75rem; }

.solar-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 3px;
  background: rgba(241,229,219,.3);
  outline: none; cursor: pointer;
}

.solar-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--slider-color);
  cursor: pointer; border: none; transition: .25s ease;
}

.solar-range::-webkit-slider-thumb:hover { transform: scale(1.15); }

.solar-range::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--slider-color); cursor: pointer; border: none;
}

/* ── STEP 2 – USAGE OPTIONS ── */

.usage-options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.usage-option {
  display: flex;
  align-items: center;
  gap: .85rem;
  background: var(--btn-light);
  color: var(--bg-dark);
  border-radius: 9px;
  padding: .75rem 1.1rem;
  cursor: pointer;
  transition: .25s ease;
  position: relative;
}

.usage-option:hover { filter: brightness(.97); transform: translateY(-2px); }

.usage-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.custom-radio {
  width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%;
  border: 2px solid var(--bg-dark);
  position: relative;
  transition: .25s ease;
}

.custom-radio::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-dark);
  transform: translate(-50%,-50%) scale(0);
  transition: .25s ease;
}

.usage-option input:checked ~ .custom-radio::after { transform: translate(-50%,-50%) scale(1); }
.usage-option.active { background: var(--btn-active); }

.usage-content { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.usage-title   { font-weight: 700; font-size: .88rem; }
.usage-subtitle { font-size: .78rem; opacity: .75; }

/* ── STEP 3 – ADDRESS FORM ── */

.address-form {
  display: flex;
  flex-direction: column;
  gap: .9rem;
  margin: 2rem 0;
}

.form-row { display: flex; gap: 1rem; }

.form-field          { display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.form-field.grow     { flex: 3; }
.form-field.narrow   { flex: 1; min-width: 80px; }

.form-label { font-size: .85rem; color: var(--text-light); }

.form-input {
  background: #F1E5DB !important;
  color: #3F3F3F !important;
  border: none;
  border-radius: 0 !important;
  padding: .7rem 1rem;
  font-size: .95rem;
  font-family: var(--font-body-family), sans-serif;
  outline: none;
  transition: .25s ease;
  width: 100%;
	border:1px  #3F3F3F solid;

	border-bottom: none !important;
}

.form-input::placeholder { color: #999; }
.form-input:focus { box-shadow: 0 0 0 2px var(--btn-active); }
.form-input.input-error  {
  box-shadow: 0 0 0 2px #e05555;
  animation: shake .3s ease;
}
 
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}

/* ── STEP 4 – RESULT CARDS ── */

.result-top-row {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 1rem;
  margin-bottom: .85rem;
  flex-wrap: wrap;
}

.result-subheading {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-light);
  margin: 0;
}

.result-costo {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.result-costo-number {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1;
}

.result-costo-label {
  font-size: .78rem;
  color: var(--text-bright);
  line-height: 1.35;
  opacity: .9;
}

.result-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 0.25rem;
}

.result-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem;
  border: 1px solid rgba(242,227,211,.2);
  border-radius: 6px;
  transition: .25s ease;
}

.result-card:hover { border-color: var(--text-bright); transform: translateY(-2px); }

.result-icon { color: var(--text-bright); flex-shrink: 0; }

.result-content { display: flex; flex-direction: column; }

.result-number {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.1;
}

.result-number-suffix {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(.65rem, 1.2vw, .8rem);
  font-weight: 400;
  color: var(--text-bright);
  margin-left: .15rem;
}

.result-label {
  font-size: .72rem;
  color: var(--text-light);
  opacity: .85;
  margin-top: .2rem;
  line-height: 1.3;
}

.result-disclaimer {
  font-size: .72rem;
  color: var(--text-bright);
  opacity: .75;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

/* ── STEP 5 – FORMAS DE PAGO ── */

.payment-options {
  display: flex;
  margin-bottom: 1.5rem;
}

.payment-option {
  flex: 1;
  display: flex;
  align-items: stretch;
  border-right: 1px solid rgba(242,227,211,.15);
  cursor: pointer;
  transition: .25s ease;
  position: relative;
	align-items: center;
}


.payment-option:last-child { border-right: none; }

.payment-option input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }

.payment-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem .75rem;
  width: 100%;
  gap: .6rem;
}

.payment-title {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(.85rem, 1.5vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
}

.payment-title--gold  { color: var(--text-bright); }
.payment-title--green { color: var(--color-green); }

.payment-divider {
  width: 40%;
  height: 1px;
  background: rgba(242,227,211,.25);
}

.payment-body {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.6;
  opacity: .85;
}

.payment-option:hover .payment-inner  { opacity: .8; }

/* selected state — highlight border bottom */
.payment-option input:checked ~ .payment-inner .payment-title--gold  { text-shadow: 0 0 12px rgba(255,214,106,.4); }
.payment-option input:checked ~ .payment-inner .payment-title--green { text-shadow: 0 0 12px rgba(75,174,130,.4); }

/* ── STEP 6 – CONTACT FORM ── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 190px;
  flex-shrink: 0;
}

.contact-icon {
  color: var(--btn-active);
  flex-shrink: 0;
}

.contact-label {
  font-size: .9rem;
  color: var(--btn-active);
  white-space: nowrap;
}

.contact-input {
  flex: 1;
  background: #F1E5DB !important;
  color: var(--bg-dark) !important;
  border: none;
  border-radius: 0 !important;
  padding: .65rem 1rem;
  font-size: .95rem;
  font-family: var(--font-body-family), sans-serif;
  outline: none;
  transition: .25s ease;

	border-bottom: none !important;
}

.contact-input:focus { box-shadow: 0 0 0 2px var(--btn-active); }

/* ── FORM MESSAGE ── */

.form-msg {
  margin-bottom: 1rem;
  padding: .75rem 1rem;
  border-radius: 8px;
  font-size: .9rem;
  text-align: center;
}

.form-msg.success {
  background: rgba(75,174,130,.15);
  color: var(--color-green);
  border: 1px solid var(--color-green);
}

.form-msg.error {
  background: rgba(200,60,60,.15);
  color: #e57373;
  border: 1px solid #e57373;
}

/* ── BUTTONS ── */

.btnform {
  border: none;
  border-radius: 0;
  padding: .65rem 1.5rem;
  font-family: var(--font-body-family), sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.btnform:hover     { transform: translateY(-2px); }
.btn-primary   { background: var(--btn-active); color: var(--bg-dark); }
.btn-secondary { background: var(--btn-light);  color: var(--bg-dark); }

.btnform[disabled] { opacity: .6; pointer-events: none; }

.btn-label { flex: 1; text-align: center; }

.step-indicator {
  position: absolute;
  right: 1.25rem;
  opacity: .7;
  font-weight: 500;
  font-size: .85rem;
}

.step-actions { display: flex; gap: 1rem; }
.step-actions.split .btnform  { flex: 1; }
.step-actions.single      { display: block; }
.step-actions.single .btn-full { width: 100%; }

/* ── RESPONSIVE ── */

/* ── STEP 7 – GRACIAS ── */

.thanks-check {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: var(--btn-active);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: .5rem auto 0.25rem;
}

.thanks-title {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.2rem);
  color: var(--text-light);
  text-align: center;
  margin-bottom: 0;
}

.thanks-subtitle {
  font-size: .78rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 0.35rem;
  opacity: .85;
	line-height: 1.1;
	font-weight: 300;
}

.thanks-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .85rem;
  margin-bottom: 1rem;
}

.thanks-step-card {
  display: flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid var(--btn-active);
  border-radius: 10px;
  padding: 1rem 0.35rem;
  transition: .25s ease;
}

.thanks-step-card:hover { background: rgba(212,160,67,.07); }

.thanks-step-num {
  font-family: var(--font-title-family), sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  color: var(--btn-active);
  line-height: 1;
  flex-shrink: 0;
}

.thanks-step-title {
  font-family: var(--font-title-family), sans-serif;
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: .2rem;
	line-height: 1rem;
}

.thanks-step-desc {
  font-size: .65rem;
  color: #8F897E;
  opacity: .8;
}

.thanks-actions {
  display: flex;
  gap: 1rem;
}

.thanks-btn {
  flex: 1;
  text-decoration: none;
  border-radius: 0;
  padding: 1rem .5rem;
	font-size: .85rem;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  gap: .6rem;
}

.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }


@media (max-width: 520px) {

  .solar-calculator { padding: 1rem 1rem 1.5rem; }

  .energy-options { flex-direction: column; }
  .svg-placeholder { margin-left: 1rem; }
  .energy-content  { padding-left: 2.5rem; }

  .price-input { width: 100%; }

  .result-cards { grid-template-columns: 1fr; }

 

  .usage-content { flex-direction: column; align-items: flex-start; gap: .1rem; }

  .form-row { flex-direction: column; }

  .payment-options { flex-direction: column; }
  .payment-option  { border-right: none; border-bottom: 1px solid rgba(242,227,211,.15); }
  .payment-option:last-child { border-bottom: none; }

  .contact-row { flex-direction: column; align-items: flex-start; }
  .contact-icon-label { min-width: unset; }
  .contact-input { width: 100%; }

  .step-indicator { position: static; margin-left: .5rem; }

}