/* V 1.1 */

/* -------------------
 BASE & RESET STYLES
 ------------------- */

* {margin:0; padding:0; box-sizing:border-box; font-family:"Montserrat", Arial, sans-serif;}

html {scroll-behavior:smooth;}

body {background-color:#ffffff; color:#333333; line-height:1.6; overflow-x:hidden;}

a {text-decoration:none; color:inherit; transition:all 0.3s ease;}

ul {list-style:none;}

.container {width:100%; max-width:1200px; margin:0 auto; padding:0 20px;}

img {max-width:100%; height:auto;}

/* -------------------
 VARIABLES & GLOBALS
 ------------------- */

:root {--primary-green:#97e744; --primary-black:#000000; --primary-white:#ffffff; --light-gray:#f8f9fa; --dark-gray:#343a40; --border-color:#e0e0e0; --accent-green:#97e744;}

section {padding:60px 0; width:100%;}

.section-header {text-align:center; margin-bottom:40px;}

.section-header h2 {font-size:clamp(24px, 4vw, 32px); font-weight:700; margin-bottom:15px; color:var(--primary-black); text-transform:uppercase; line-height:1.2;}

.section-header p {font-size:clamp(14px, 2.5vw, 18px); color:#666; max-width:700px; margin:0 auto; line-height:1.6;}

/* -------------------
 HEADER & NAVIGATION
 ------------------- */

.main-header {position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0, 0, 0, 0.1); width:100%;}

.top-header {display:flex; align-items:center; padding:0; background-color:var(--primary-black); min-height:60px;}

.logo-container {padding:10px 15px; background-color:var(--primary-black); display:flex; justify-content:center; align-items:center; flex-shrink:0;}

.logo {max-width:clamp(100px, 15vw, 200px); height:auto;}

.header-right {display:flex; align-items:center; gap:15px; padding:0 15px; flex-shrink:0; margin-left:auto;}

.google-reviews {display:flex; align-items:center; gap:8px; color:var(--primary-white);}

.google-reviews i {font-size:20px; color:#4285f4;}

.review-info {display:flex; flex-direction:column; align-items:flex-start;}

.rating {font-size:12px; font-weight:600; color:#ffc107;}

.review-count {font-size:10px; color:#ccc;}

.phone-button {background:transparent; border:2px solid var(--primary-green); color:var(--primary-white); padding:8px 16px; border-radius:20px; font-size:14px; font-weight:600; cursor:pointer; transition:all 0.3s ease; text-transform:uppercase; white-space:nowrap;}

.phone-button:hover {background-color:var(--primary-green); color:var(--primary-white);}

.bottom-nav {background-color:var(--primary-white); border-bottom:1px solid var(--border-color); padding:0;}

.desktop-nav {display:flex; justify-content:center; width:100%;}

.desktop-nav ul {display:flex; justify-content:center; gap:clamp(15px, 3vw, 40px);}

.desktop-nav a {color:var(--primary-black); font-weight:600; font-size:clamp(12px, 1.5vw, 13px); position:relative; text-transform:uppercase; padding:15px 0; display:block;}

.desktop-nav a:hover,
.desktop-nav a.active {color:var(--primary-green);}

.desktop-nav a:after {content:""; position:absolute; width:0; height:3px; bottom:0; left:0; background-color:var(--primary-green); transition:width 0.3s;}

.desktop-nav a:hover:after,
.desktop-nav a.active:after {width:100%;}

/* INICIO DEL CÓDIGO REEMPLAZADO */
.mobile-menu-phone-container {display:none; align-items:center; gap:10px; margin-left:auto; padding:0 15px;}

.mobile-menu-btn {display:none; font-size:24px !important; cursor:pointer; padding:15px; color:var(--primary-white); z-index:1000;}

.mobile-phone-button {background:transparent; border:2px solid var(--primary-green); color:var(--primary-white); padding:6px 12px; border-radius:15px; font-size:12px; font-weight:600; cursor:pointer; transition:all 0.3s ease; text-transform:uppercase; white-space:nowrap; text-decoration:none;}

.mobile-phone-button:hover {background-color:var(--primary-green); color:var(--primary-white);}

.mobile-nav-container {display:none; position:fixed; top:0; right:-100%; width:100%; height:100%; background-color:var(--primary-black); z-index:1000; transition:right 0.3s ease; overflow-y:auto;}

.mobile-nav-container.active {right:0;}

.close-menu-btn {position:absolute; top:15px; right:15px; font-size:24px; color:var(--primary-white); cursor:pointer; z-index:1002;}

.mobile-nav {background-color:var(--primary-black); height:calc(100% - 50px); overflow-y:auto;}

.mobile-nav ul {display:flex; flex-direction:column; padding:0;}

.mobile-nav li {border-bottom:1px solid rgba(255, 255, 255, 0.1);}

.mobile-nav a {color:var(--primary-white); font-weight:600; display:block; padding:15px 20px; font-size:16px;}

.mobile-nav a:hover,
.mobile-nav a.active {color:var(--primary-green); background-color:rgba(255, 255, 255, 0.05);}
/* FIN DEL CÓDIGO REEMPLAZADO */

/* -------------------
 SOLAR HERO SECTION
 ------------------- */

.solar-hero {background:url("/public/img/solar-panels-yuma/solar-instant-quote/banner_solar_quote.webp")
 no-repeat center bottom; background-size:cover; padding:40px 0 0 0; position:relative; overflow:hidden; min-height:100vh;}

.hero-background .container {display:flex; flex-direction:column; align-items:center; justify-content:flex-start; min-height:100vh; text-align:center;}

.hero-content h1 {font-size:clamp(36px, 6vw, 56px); font-weight:900; color:var(--primary-black); margin-bottom:20px; line-height:1.1; text-transform:uppercase; letter-spacing:-1px;}

.hero-content > p {font-size:clamp(18px, 3vw, 22px); color:var(--primary-black); margin-bottom:40px; line-height:1.4; text-shadow:1px 1px 2px rgba(255, 255, 255, 0.8);}

#monalee-inline {width:100%; min-height:100px;}

/* -------------------
 OUR PROCESS SECTION
 ------------------- */

.process-section {background-color:#2d2d2d; padding:clamp(60px, 8vw, 100px) 0;}

.process-content {display:grid; grid-template-columns:1fr 1fr; gap:clamp(40px, 8vw, 80px); align-items:center;}

.process-left h2 {color:var(--primary-green); font-size:clamp(32px, 5vw, 48px); font-weight:700; margin-bottom:40px; text-transform:uppercase; letter-spacing:1px;}

.process-steps {display:flex; flex-direction:column; gap:30px;}

.process-step {display:flex; align-items:flex-start; gap:20px;}

.step-icon {background:none; padding:0; width:80px; height:80px; border-radius:50%; display:flex; align-items:center; justify-content:center; flex-shrink:0; overflow:hidden;}

.process-svg-icon {width:100%; height:100%; display:block;}

.step-content h3 {color:var(--primary-green); font-size:20px; font-weight:700; margin-bottom:10px; text-transform:uppercase; letter-spacing:0.5px;}

.step-content p {color:white; line-height:1.6; font-size:16px; margin:0;}

.process-right {display:flex; justify-content:center; align-items:center;}

.house-3d {max-width:120%; height:auto; filter:drop-shadow(0 10px 20px rgba(56, 237, 36, 0.2));}

/* -------------------
 WHY CHOOSE SECTION
 ------------------- */

.why-choose-section {padding:80px 0 0; background:white;}

.why-choose-section h2 {font-size:clamp(24px, 4vw, 36px); font-weight:900; text-align:center; color:var(--primary-black); margin-bottom:60px; text-transform:uppercase; letter-spacing:-1px;}

.benefits-grid {display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:40px;}

.benefit-item {text-align:center; padding:20px;}

.benefit-image {width:100%; max-width:300px; height:200px; object-fit:cover; border-radius:12px; margin-bottom:25px; box-shadow:0 8px 25px rgba(0, 0, 0, 0.1);}

.benefit-item h3 {font-size:20px; font-weight:900; color:var(--primary-black); margin-bottom:15px; text-transform:uppercase; letter-spacing:-0.5px;}

.benefit-item p {font-size:17px; color:#000000; line-height:1.6; max-width:280px; margin:0 auto;}

/* -------------------
 READY TO SAVE SECTION
 ------------------- */

.ready-save-section {padding:60px 0 20px 0; background:white; text-align:center; position:relative;}

.ready-save-section h2 {font-size:clamp(24px, 4vw, 36px); font-weight:900; color:var(--primary-black); margin-bottom:40px; text-transform:uppercase; letter-spacing:-1px;}

.get-price-btn {background:var(--primary-green); color:#040404; border:none; padding:20px 50px; font-size:20px; font-weight:700; border-radius:50px; cursor:pointer; transition:all 0.3s ease; text-transform:uppercase; letter-spacing:1px; box-shadow:0 4px 15px rgba(40, 167, 69, 0.3);}

.get-price-btn:hover {background:#2bc91a; transform:translateY(-3px); box-shadow:0 10px 25px rgba(56, 237, 36, 0.3);}

.ready-house-container {margin-top:60px; display:flex; justify-content:center; align-items:center;}

.ready-house-image {max-width:1000px; width:100%; height:auto; object-fit:contain;}

/* -------------------
 TECH INSPECTION SECTION
 ------------------- */

.tech-inspection-section {padding:20px 0 80px 0; background:var(--primary-black); color:white;}

.tech-inspection-section h2 {font-size:clamp(24px, 4vw, 36px); font-weight:900; color:white; text-align:center; margin-bottom:60px; text-transform:uppercase; letter-spacing:-1px;}

.tech-grid {display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:40px;}

.tech-item {text-align:center; padding:20px;}

.tech-icon {background:none; border-radius:0; width:160px; height:160px; margin:0 auto 25px; display:flex; align-items:center; justify-content:center;}

.tech-3d-icon {width:100%; height:100%; object-fit:contain;}

.tech-item h3 {font-size:24px; font-weight:900; color:var(--primary-green); margin-bottom:15px; text-transform:uppercase; letter-spacing:-0.5px;}

.tech-item p {font-size:18px; color:#ffffff; line-height:1.6;}

/* -------------------
 TESTIMONIALS SECTION
 ------------------- */

.testimonials-section {background-color:var(--light-gray); padding:clamp(60px, 8vw, 100px) 0;}

.testimonials-section h2 {text-align:center; font-size:clamp(24px, 4vw, 36px); font-weight:900; margin-bottom:60px; color:var(--primary-black); text-transform:uppercase; letter-spacing:-1px;}

.testimonials-grid {display:grid; grid-template-columns:repeat(auto-fit, minmax(320px, 1fr)); gap:clamp(30px, 6vw, 40px);}

.testimonial p {font-size:20px; line-height:1.7; color:#000000; margin-bottom:25px; font-style:normal;}

.customer {display:flex; align-items:center; gap:15px;}

.customer-photo {width:60px; height:60px; border-radius:50%; object-fit:cover;}

.customer-info strong {font-size:18px; font-weight:700; color:var(--primary-black); display:block; margin-bottom:5px;}

.customer-info span {font-size:14px; color:#000000;}

/* -------------------
 FOOTER
 ------------------- */

footer {background-color:var(--primary-black); color:var(--primary-white); padding:clamp(40px, 8vw, 60px) 0 20px;}

.footer-logo-section {text-align:center; margin-bottom:clamp(30px, 6vw, 40px); padding:0 20px;}

.footer-logo {max-width:clamp(150px, 20vw, 250px);}

.footer-content {display:grid; grid-template-columns:repeat(auto-fit, minmax(250px, 1fr)); gap:clamp(20px, 4vw, 40px); max-width:1200px; margin:0 auto; padding:0 20px;}

.footer-section h3 {font-size:clamp(16px, 2.5vw, 18px); margin-bottom:20px; font-weight:700;}

.footer-section ul li {margin-bottom:8px;}

.footer-section.column ul {display:grid; grid-template-columns:repeat(2, 1fr); gap:8px;}

.footer-section a {color:#ccc; font-size:clamp(12px, 2vw, 14px);}

.footer-section a:hover {color:var(--primary-green);}

.licenses {margin-bottom:20px;}

.license-row {display:flex; flex-wrap:wrap; gap:15px; margin-bottom:10px;}

.license-row span {font-size:clamp(12px, 2vw, 14px); color:#ccc;}

.social-media {display:flex; gap:10px; margin-top:15px; margin-bottom:30px;}

.social-icon {display:flex; justify-content:center; align-items:center; width:clamp(35px, 6vw, 40px); height:clamp(35px, 6vw, 40px); background-color:rgba(255, 255, 255, 0.1); border-radius:50%; transition:all 0.3s ease; font-size:clamp(14px, 2.5vw, 16px);}

.social-icon:hover {background-color:var(--primary-green); transform:translateY(-3px);}

.map-container {height:clamp(150px, 25vw, 200px); border-radius:8px; overflow:hidden; margin-top:20px;}

.map-container iframe {width:100%; height:100%; border:0;}

/* -------------------
 MEDIA QUERIES, RESPONSIVE, BREAKPOINTS
------------------- */
/* --- Desktops Medianos (hasta 1280px) --- */
@media (max-width:1280px) {/* Arreglo específico para la sección 'Our Process' */
 .process-content {/* Ajustamos las columnas para dar más aire al texto */
 grid-template-columns:1.1fr 0.9fr; gap:40px;}
 /* Solución definitiva:Recorta la imagen que se desborda para que no se superponga */
 .process-right {overflow:hidden;}
}

/* --- Pantallas Grandes y Laptops (hasta 1200px) --- */
@media (max-width:1200px) {/* Arreglo DEFINITIVO para la sección 'Our Process' */
 .process-content {grid-template-columns:1fr; /* Cambia a 1 columna */
 gap:40px;}
 .process-right {order:-1; /* Pone la casa arriba */
}
 .house-3d {max-width:100%; /* Evita CUALQUIER desbordamiento */
}

 /* Ajustes del Header */
 .header-right {gap:10px;}
 .google-reviews {display:none;}
 .phone-button {padding:6px 12px; font-size:13px;}
}

/* --- Tablets y Laptops Pequeñas (hasta 1150px) --- */
@media (max-width:1150px) {/* Ocultamos la navegación de escritorio y mostramos la de móvil */
 .bottom-nav,
 .header-right {display:none;}
 /* INICIO DEL CÓDIGO REEMPLAZADO */
 .mobile-menu-phone-container {display:flex;}
 .mobile-menu-btn {display:block;}
 .mobile-nav-container {display:block;}
 /* FIN DEL CÓDIGO REEMPLAZADO */
}

/* --- Tablets (Modo Vertical, hasta 992px) --- */
@media (max-width:992px) {/* Las reglas de '.process-content' se movieron al breakpoint de 1200px */
 /* Aquí podemos dejar otros ajustes si son necesarios en el futuro */
}

/* --- Tablets Pequeñas y Móviles Grandes (hasta 768px) --- */
@media (max-width:768px) {/* Header - INICIO DEL CÓDIGO REEMPLAZADO */
 .mobile-phone-button {font-size:11px; padding:5px 10px;}
 .mobile-menu-btn {font-size:18px; padding:8px;}
 .mobile-menu-phone-container {gap:6px; padding:0 8px;}
 /* Header - FIN DEL CÓDIGO REEMPLAZADO */

 /* Layout General */
 .solar-hero {min-height:500px;}
 .process-step {gap:15px;}
 .step-icon {width:60px; height:60px;}
 .ready-house-image {max-width:600px;}
 .benefits-grid,
 .tech-grid,
 .testimonials-grid {grid-template-columns:1fr;}
}

/* --- Móviles Medianos (hasta 576px) --- */
@media (max-width:576px) {/* Header */
 .top-header {justify-content:space-between;}
 .logo-container {padding-left:10px;}
 .mobile-menu-phone-container {padding-right:5px;}

 /* Tipografía y Espaciado */
 .hero-content h1 {font-size:clamp(32px, 9vw, 42px);}
 .process-left h2 {font-size:clamp(30px, 7vw, 42px);}
 .get-price-btn {padding:18px 40px; font-size:18px;}
}

/* --- Móviles Pequeños (hasta 400px) --- */
@media (max-width:400px) {.ready-house-image {max-width:400px;}
 .testimonial p {font-size:18px;}
 .get-price-btn {padding:15px 35px; font-size:16px;}
 .tech-item h3 {font-size:22px;}
}

/* --- Móviles muy Pequeños (hasta 320px) --- */
@media (max-width:320px) {.hero-content h1 {font-size:28px;}
 .hero-content > p {font-size:16px;}
 .step-content h3 {font-size:18px;}
 .step-content p {font-size:14px;}
}