/*V 1.6*/
/* Reset and Base Styles */
* {margin:0; padding:0; box-sizing:border-box; font-family:"Montserrat", Arial, sans-serif;}
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;}

/* Color Variables */
:root {--primary-green:#38ed24; --primary-black:#000000; --primary-white:#ffffff; --light-gray:#f8f9fa; --dark-gray:#343a40; --border-color:#e0e0e0; --accent-green:#38ed24;}

/* Section Styles */
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 Styles */
.main-header {position:sticky; top:0; z-index:1000; box-shadow:0 2px 10px rgba(0, 0, 0, 0.1); width:100%;}

/* Top Header */
.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;}
.find-us {display:flex; align-items:center; gap:8px;}
.map-icon {background-color:#4285f4; color:white; width:35px; height:35px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:16px;}
.rating-badge {background-color:#34a853; color:white; padding:6px 10px; border-radius:4px; font-weight:bold; font-size:12px;}
.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);}

/* Mobile Menu Button and Phone Container */
.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:1001;}
.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);}

/* Bottom Navigation */
.bottom-nav {background-color:var(--primary-white); border-bottom:1px solid var(--border-color); padding:0;}
.desktop-nav {background-color:var(--primary-white); display:flex; justify-content:center; width:100%;}
.desktop-nav ul {display:flex; justify-content:center; align-items:center; padding:0; margin:0; gap:clamp(15px, 3vw, 40px); max-width:1200px; width:100%; flex-wrap:wrap;}
.desktop-nav li {padding:0;}
.desktop-nav a {color:var(--primary-black); font-weight:600; font-size:clamp(12px, 1.5vw, 13px); transition:color 0.3s; position:relative; text-transform:uppercase; padding:15px 0; display:block; white-space:nowrap;}
.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%;}

/* Mobile Navigation */
.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;}
.mobile-nav-header {display:flex; justify-content:space-between; align-items:center; padding:15px 20px; background-color:var(--primary-black); border-bottom:1px solid rgba(255, 255, 255, 0.1);}
.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);}

/* Hero Section */
/* .hero {background:linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("/public/img/ac-services-yuma/articulo_1/hvac_system.webp") no-repeat center center; background-size:cover; color:var(--primary-white); text-align:center; padding:clamp(40px, 6vw, 60px) 20px; position:relative; width:100%; min-height:35vh; display:flex; align-items:center; justify-content:center;}*/
.hero {background:url("/public/img/ac-services-yuma/winter-is-the-best-time-to-buy-an-air-conditioner/hvac_system.webp") no-repeat center center; background-size:cover; color:var(--primary-white); text-align:center; padding:clamp(40px, 6vw, 60px) 20px; position:relative; width:100%; min-height:35vh; display:flex; align-items:center; justify-content:center;}
.hero-content {max-width:800px; margin:0 auto; width:100%;}
.hero h1 {font-size:clamp(24px, 6vw, 48px); font-weight:700; margin-bottom:20px; text-shadow:2px 2px 4px rgba(0, 0, 0, 0.5); line-height:1.2;}

 /* Estilos para la estructura de artículo  */
.article-section {padding:60px 0; background-color:#fff;}
.article-container {max-width:800px; margin:0 auto;}
.article-content h1 {font-size:clamp(32px, 5vw, 48px); font-weight:700; line-height:1.2; margin-bottom:15px; color:var(--primary-black);}
.article-meta {font-size:14px; color: var(--theme-text); font-weight:700; margin-bottom:25px; display:flex; flex-wrap:wrap; gap:10px; align-items:center;}
.article-meta i {color:var(--primary-green); margin-right:5px;}
.leadin-paragraph {font-size:18px; font-weight:500; color:#555; margin-bottom:30px;}
.article-content figure {margin:40px 0;}
.article-content figure img {border-radius:8px; box-shadow:0 5px 20px rgba(0,0,0,0.1);}
.article-content figcaption {font-size:14px; color:#000000; text-align:center; margin-top:10px;}
.article-content h2 {font-size:clamp(24px, 4vw, 32px); font-weight:600; margin-top:40px; margin-bottom:20px; color:var(--dark-gray); border-bottom:2px solid var(--border-color); padding-bottom:5px;}
.article-content p {font-size:16px; line-height:1.8; margin-bottom:20px; color:var(--dark-gray);}

/* Estilos para listas (subpuntos) */
.article-content ul {margin:20px 0 30px; padding-left:5px;}
.article-content ul li {font-size:16px; line-height:1.8; margin-bottom:15px; padding-left:25px; position:relative;}
.article-content ul li::before {content:'✓'; position:absolute; left:0; top:0; font-weight:bold; color:var(--primary-green);}
.article-content blockquote {border-left:4px solid var(--primary-green); margin:30px 0; padding:15px 25px; font-size:18px; font-style:italic; background-color:var(--light-gray);}

/* Estilos para enlaces dentro de texto */ 
.inline-link {color:#38ed24; text-decoration:underline; font-weight:600; cursor:pointer; transition:color 0.3s ease, background-color 0.3s ease; }
.inline-link:hover {color:#10c437; background-color:#f0f8ff; text-decoration:none; }

/* CTA al final del artículo */
.article-cta {margin-top:50px; padding:30px; background-color:#000000; color:var(--primary-white); border-radius:8px; text-align:center;}
.article-cta h3 {font-size:24px; font-weight:600; margin-bottom:10px;}
.article-cta p {margin-bottom:20px; color:#eee;}
.cta-button-article {background-color:var(--primary-green); color:var(--primary-black); padding:12px 25px; font-size:16px; font-weight:600; border-radius:50px; transition:all 0.3s ease; text-transform:uppercase; display:inline-block;}
.cta-button-article:hover {background-color:#fff; transform:translateY(-3px);}

/* Funcionalidad de modo oscuro / claro (versión corregida) */

/* Paleta para Modo Claro (Default) */
:root {--theme-bg:#ffffff; --theme-text:#000000; --theme-heading:#000000; --theme-link:#000000; --theme-blockquote-bg:#cfcfcf; --theme-border:#e9ecef; --theme-cta-bg:#000000; --theme-switcher-bg:#000000; --theme-switcher-icon:#ffffff;}

/* Paleta para Modo Oscuro */
body.dark-mode {--theme-bg:#000000; --theme-text:#ffffff; --theme-heading:#ffffff; --theme-link:#ffffff; --theme-blockquote-bg:#ffffff; --theme-border:#000000; --theme-cta-bg:#2c2c2c; --theme-switcher-bg:#ffffff; --theme-switcher-icon:#000000;}

/* Solo afectará a los elementos dentro de .article-section */
.article-section {background-color: var(--theme-bg); transition: background-color 0.3s ease;}

.article-content h1,
.article-content h2 {color: var(--theme-heading);}

.article-content p,
.article-content figcaption,
.article-meta span,
.article-content ul li {color: var(--theme-text);}

.article-content a {color: #38ed24;}
.article-content blockquote {background-color: var(--theme-blockquote-bg); border-left-color: var(--primary-green);}
.article-content ul li::before {color: var(--primary-green);}
.article-cta {background-color: var(--theme-cta-bg); border-top: 1px solid var(--theme-border);}

/* Estilos para el conmutador de tema */
.theme-switcher {position:fixed; bottom:20px; right:20px; z-index:1001; display:flex; background-color:var(--theme-switcher-bg); border-radius:25px; padding:5px; box-shadow:0 2px 10px rgba(0,0,0,0.2); border:1px solid var(--theme-border); transition:background-color 0.3s ease, border-color 0.3s ease;}
.theme-toggle-btn {background:none; border:none; cursor:pointer; padding:8px; border-radius:50%; display:flex; align-items:center; justify-content:center;}
.theme-toggle-btn i {font-size:20px; color:var(--theme-switcher-icon); transition:color 0.3s ease;}
.theme-toggle-btn:hover {background-color: rgba(0, 0, 0, 0.05);}

/* Lógica de visibilidad */
body.dark-mode #theme-toggle-dark,
body:not(.dark-mode) #theme-toggle-light {display:none;}

/* Footer */
footer {background-color:var(--primary-black); color:var(--primary-white); padding:clamp(40px, 8vw, 60px) 0 20px; width:100%;}
.footer-logo-section {text-align:center; margin-bottom:clamp(30px, 6vw, 40px); padding:0 20px;}
.footer-logo {max-width:clamp(150px, 20vw, 250px);height:auto;display: inline-block;}
.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; width:100%;}
.map-container {height:clamp(150px, 25vw, 200px); border-radius:8px; overflow:hidden; margin-bottom:20px; margin-top:20px;}
.map-container iframe {width:100%; height:100%; border:0;}
.footer-section h3 {font-size:clamp(16px, 2.5vw, 18px); margin-bottom:20px; color:var(--primary-white); font-weight:700;}
.footer-section ul li {margin-bottom:8px;}
.footer-section.column ul li {width:100%; margin:0 0 8px;}
.footer-section.column ul {display:grid; grid-template-columns:repeat(2, 1fr); gap:8px;}
.footer-section.column ul li {width:100%; margin:0;}
.column ul li {float:left; margin:0px 1%; width:48%;}
.columna {clear:both;}
.footer-section a {color:#ccc; transition:color 0.3s ease; font-size:clamp(12px, 2vw, 14px); line-height:1.5;}
.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; flex-wrap:wrap;}
.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);}

/* RESPONSIVE BREAKPOINTS  */
@media (max-width:1200px) {.header-right {gap:10px;}
.find-us, .google-reviews {display:none;}
.phone-button {padding:6px 12px; font-size:13px;}
}
@media (min-width:1151px) and (max-width:1156px) {.desktop-nav a {font-size:12px;}}
@media (max-width:1150px) {.bottom-nav, .header-right {display:none;}
.mobile-menu-phone-container, .mobile-menu-btn, .mobile-nav-container {display:block;}
.mobile-menu-phone-container {display:flex;}
}
@media (max-width:768px) {.mobile-phone-button {font-size:11px; padding:5px 10px;}
.mobile-menu-btn {font-size:18px; padding:8px;}
.container {padding:0 15px;}
}