/* 
    Comfort Mates - Cooling & Heating
    Design System & Global Styles
*/

:root {
    /* ── Brand Color Palette ── */
    --orange:        #F16522;  /* Primary / Branding / CTA */
    --orange-dark:   #d4561d;  /* Orange hover */
    --yellow:        #FFD200;  /* Accents, details */
    --yellow-dark:   #e6bd00;  /* Yellow hover */
    --navy-blue:     #002D56;  /* Titles, text, header bg */
    --navy-light:    #003d73;  /* Gradient secondary */
    --cyan:          #00A9B7;  /* Ribbons, footer, sections */
    --cyan-light:    #dff5f7;  /* Cyan tint backgrounds */
    --golden-yellow: #FFD200;  /* Compat alias → yellow */
    --golden-dark:   #e6bd00;  /* Compat alias → yellow dark */
    --white: #ffffff;
    --gray-100: #F8FAFC;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-600: #475569;
    --gray-900: #0F172A;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Spacing & Misc */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--gray-100);
    color: var(--gray-900);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.highlight {
    color: var(--golden-yellow);
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(241, 101, 34, 0.1);
    color: var(--orange);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Button Styles */
.btn-primary {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px 0 rgba(241, 101, 34, 0.40);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid var(--white);
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--navy-blue);
}

/* Header & Navigation */
#main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

#main-header.sticky {
    box-shadow: var(--shadow-lg);
}

#main-header.sticky .navbar {
    padding: 10px 0;
}

.top-bar {
    background: var(--navy-blue);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.phone-link {
    font-weight: 700;
    color: var(--golden-yellow);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
}

.location-link {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.location-link:hover {
    color: var(--golden-yellow);
}

.location-link i {
    color: var(--cyan);
}

.navbar {
    padding: 10px 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px; /* Slightly wider for the many nav items */
}

.logo-link {
    color: inherit;
    text-decoration: none;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    transition: var(--transition);
}



.comfort { color: var(--navy-blue); font-weight: 800; }
.mates { color: var(--cyan); font-weight: 600; }
.sub-logo {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-600);
    margin-top: 4px;
    font-weight: 700;
}

/* Footer Logo Image */
.footer-logo-img {
    height: 110px;
    width: auto;
    display: block;
    margin-bottom: 15px;
    filter: brightness(1.1);
    transition: var(--transition);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

/* ── CENTERED NAVBAR ── */
.navbar-centered {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
}
.navbar-centered .nav-left,
.navbar-centered .nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
}
.navbar-centered .nav-left {
    justify-content: flex-end;
}
.navbar-centered .nav-right {
    justify-content: flex-start;
}
.navbar-centered .logo-center {
    position: relative;
    flex-shrink: 0;
    width: 140px; 
    height: 80px;
    margin: 0 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.navbar-centered .logo-img {
    height: 155px; 
    width: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: none;
}
.navbar-centered .nav-links li a {
    font-weight: 600;
    color: var(--navy-blue);
    font-size: 0.85rem;
    white-space: nowrap;
    position: relative;
    padding: 8px 0;
}
.navbar-centered .nav-links li a:after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--orange);
    transition: var(--transition);
}
.navbar-centered .nav-links li a:hover:after { width: 100%; }
.navbar-centered .nav-links li a:hover { color: var(--orange); }
.navbar-centered .nav-links li a.btn-cyan {
    padding: 12px 28px;
    background: var(--orange);
    color: var(--white);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(241, 101, 34, 0.3);
}
.navbar-centered .nav-links li a.btn-cyan:hover {
    background: var(--orange-dark);
    box-shadow: 0 12px 25px rgba(241, 101, 34, 0.4);
}
.navbar-centered .nav-links li a.btn-cyan:after { display: none; }

@media (max-width: 991px) {
    .navbar-centered .nav-left,
    .navbar-centered .nav-right { display: none; }
    .navbar-centered .mobile-menu-toggle { display: block; }
    .navbar-centered .logo-center { margin: 0 auto; }
}

/* Dropdown */
.dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--navy-blue);
}

.dropdown-menu li a:hover {
    background: rgba(241, 101, 34, 0.05);
    color: var(--orange);
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero.banner-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('remplazo_2.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    min-height: 80vh;
}

.hero.small-hero {
    min-height: 30vh;
    padding: 60px 0;
}

.hero.small-hero h1 {
    font-size: 2.2rem;
}

.hero-full-width {
    max-width: 1200px; /* Reduced from 1400px to bring elements closer */
}

.hero-flex-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Changed from space-between to center */
    gap: 60px; /* Reduced gap as requested */
}

.hero-form-box {
    flex: 0.7;
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    color: var(--navy-blue);
}

.hero-form-box h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    color: var(--navy-blue);
    font-weight: 800;
}

.hero-form-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-form-box input, .hero-form-box select {
    padding: 10px 15px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    background: #f8fbff;
}

.form-disclaimer {
    margin-top: 15px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--gray-600);
    font-weight: 600;
}

.hero-info-text {
    flex: 1.3;
}

.hero-info-text h1 {
    font-size: 2.6rem; 
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-info-text p {
    font-size: 1rem; /* Reduced from 1.2rem */
    max-width: 500px;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cyan);
}

.hero-features i {
    margin-right: 8px;
}

.btn-cyan.full-width {
    width: 100%;
}

.btn-cyan {
    background-color: var(--orange);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(241, 101, 34, 0.3);
    transition: var(--transition);
}

.btn-cyan:hover {
    background-color: var(--orange-dark);
    box-shadow: 0 12px 25px rgba(241, 101, 34, 0.4);
    transform: translateY(-2px);
}

.btn-cyan-outline {
    color: var(--white);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.btn-cyan-outline:hover {
    background-color: rgba(255,255,255,0.2);
}

.service-note {
    font-size: 0.85rem;
    opacity: 0.7;
    font-weight: 500;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* Trust Signals */
.trust-signals {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--gray-200);
}

.partners-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.partner img {
    max-height: 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.partner img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--navy-blue);
    font-weight: 700;
}

.partner-badge i {
    font-size: 2rem;
    color: var(--cyan);
}

/* Services */
.services {
    padding: 100px 0;
}

.section-header.small {
    margin-bottom: 20px;
    text-align: left;
}

.section-header.small h3 {
    font-size: 1.2rem;
    color: var(--gray-600);
}

/* Service Areas Ticker Styles */
.service-areas-ticker {
    padding: 42px 0;
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    border-bottom: 1px solid var(--gray-100);
    overflow: hidden;
    position: relative;
}

/* Gradient Fade for Premium Look */
.service-areas-ticker::before,
.service-areas-ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.service-areas-ticker::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.service-areas-ticker::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

.ticker-wrapper {
    width: 100%;
    display: flex;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    animation: ticker-animation 40s linear infinite; /* Slow movement */
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes ticker-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scroll through the first set */
}

.area-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 22px;
    margin: 0 20px;
    background: #f8fbff;
    border: 1px solid var(--cyan-light);
    border-radius: 50px;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.area-tag i {
    color: var(--cyan);
    font-size: 1rem;
}

.area-tag:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 43, 76, 0.05);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--cyan);
}

.service-card.highlight {
    background: var(--navy-blue);
    color: var(--white);
}

.service-card.highlight .icon {
    background: var(--cyan);
    color: var(--white);
}

.service-card .icon {
    width: 60px;
    height: 60px;
    background: var(--cyan-light);
    color: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 10px;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-card.highlight p {
    color: var(--gray-300);
}

.learn-more {
    font-weight: 700;
    color: var(--cyan);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--golden-yellow);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.experience-badge .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1;
}

.experience-badge .text {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.subtitle {
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.check-list {
    margin: 25px 0 35px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-weight: 500;
}

.check-list i {
    color: var(--cyan);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 43, 76, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--white);
    padding: 10px 20px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Services Section Redesign */
.services {
    background: #f8fbff;
    padding: 100px 0;
}

.services .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.services .section-header h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-weight: 800;
}

.services .section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Services Carousel Styles */
.services-container {
    position: relative;
    padding: 0 50px; /* Space for arrows */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    color: var(--navy-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-arrow:hover {
    background: var(--cyan);
    color: var(--white);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

.services-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.services-grid::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 260px; /* Thinner cards as requested */
    padding: 30px 25px; /* Reduced from 45/35 */
    background: var(--white);
    border-radius: 15px;
    scroll-snap-align: start;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon-box {
    width: 60px; /* Smaller from 70px */
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.2rem; /* Reduced from 1.5rem */
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.85rem; /* Reduced from 0.95rem */
    margin-bottom: 20px;
}

/* Slider Pagination Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: -20px;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--cyan);
    width: 20px;
    border-radius: 4px;
}

.highlight-card {
    border: 2px solid var(--cyan);
    background: var(--white);
}

.highlight-card .icon-box {
    background: var(--cyan);
    color: var(--white);
}

.learn-more-link {
    font-weight: 700;
    color: var(--cyan);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.learn-more-link:hover {
    gap: 12px;
}

.learn-more-link::after {
    content: '\f061';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

/* Global UI Utilities */
.section-padding {
    padding: 100px 0;
}

.alt-bg {
    background: #f8fbff;
}

.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* About Grid & Story */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-grid.reverse {
    direction: ltr; /* Ensure text/image order */
}

.about-image {
    position: relative;
}

.rounded-img {
    border-radius: 20px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.experience-floating-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--navy-blue);
    color: var(--white);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.experience-floating-badge i {
    font-size: 1.5rem;
    color: var(--golden-yellow);
    margin-bottom: 5px;
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    line-height: 1;
}

.stat-item .label {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--cyan-light);
    color: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
}

/* Advanced List */
.advanced-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advanced-list li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.advanced-list li i {
    color: var(--cyan);
    font-size: 1.3rem;
    margin-top: 3px;
}

/* Full Footer Design */
.main-footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-info .logo.white {
    margin-bottom: 20px;
}

.footer-info p {
    opacity: 0.7;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-license {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--cyan);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cyan);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.7;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--cyan);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.5;
    font-size: 0.9rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--cyan);
    transform: translateY(-3px);
}

/* Mobile Adjustments for Subpages */
@media (max-width: 991px) {
    .about-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Testimonials */
.testimonials {
    padding: 100px 0;
    background: var(--gray-100);
}

.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card .stars {
    color: var(--golden-yellow);
    margin-bottom: 20px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.client-info strong {
    display: block;
    color: var(--navy-blue);
    font-size: 1.1rem;
}

.client-info span {
    color: var(--cyan);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Lead Capture Form */
.lead-capture {
    padding: 100px 0;
    background: linear-gradient(to right, var(--navy-blue), var(--navy-light));
    color: var(--white);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    color: var(--gray-900);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    color: var(--navy-blue);
    margin-bottom: 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    font-weight: 600;
    font-size: 0.9rem;
}

input, select, textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 181, 173, 0.1);
}

.btn-submit {
    width: 100%;
    margin-top: 20px;
    padding: 16px;
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--cyan);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo.white .comfort { color: var(--white); }
.footer-brand p {
    margin: 20px 0;
    opacity: 0.7;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--cyan);
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    opacity: 0.7;
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--cyan);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    opacity: 0.8;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact p a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact p a:hover {
    color: var(--cyan);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.footer-social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 181, 173, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

.license {
    margin-top: 10px;
    font-weight: 700;
}

/* Mobile Call Button */
.mobile-call-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 999;
}

/* ── WhatsApp Floating Button ── */
.wa-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.50), 0 2px 8px rgba(0,0,0,0.18);
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1);
    pointer-events: auto !important;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: waEntrance 0.5s ease-out both;
}

/* Keep .visible class for backwards compatibility */
.wa-float.visible {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.wa-float:hover {
    background: #1ebe5d;
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.65), 0 4px 12px rgba(0,0,0,0.2);
    transform: scale(1.1);
}

@keyframes waEntrance {
    0%   { opacity: 0; transform: scale(0.6); }
    70%  { transform: scale(1.08); }
    100% { opacity: 1; transform: scale(1); }
}

/* Pulsing ring animation */
.wa-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    70%  { transform: scale(1.35); opacity: 0;   }
    100% { transform: scale(1.35); opacity: 0;   }
}

/* ── Desktop: force WhatsApp button visible on all screens ── */
@media (min-width: 769px) {
    .wa-float {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        bottom: 28px;
        right: 28px;
        width: 60px;
        height: 60px;
        font-size: 1.65rem;
    }
}

/* On mobile: sit above the mobile call bar */
@media (max-width: 768px) {
    .wa-float {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        bottom: 80px;
        right: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.45rem;
    }
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .experience-badge { right: 0; bottom: 0; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    .hero { text-align: center; padding-top: 100px; }
    .hero-btns { justify-content: center; }
    .partners-grid { justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .mobile-call-btn { display: flex; align-items: center; gap: 10px; }
}

/* === Equipments Page Styles === */
.equipments-section {
    padding: 60px 0 100px;
    background: var(--gray-100);
}

.tabs-controller {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 20px 0;
}

.tab-btn {
    padding: 15px 30px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

/* Specific Tab Button Accents */
.tab-btn[data-tab="mitsubishi"].active { background: #E60000; border-color: #E60000; }
.tab-btn[data-tab="trane"].active { background: #D9272E; border-color: #D9272E; }
.tab-btn[data-tab="runtru"].active { background: var(--navy-blue); border-color: var(--navy-blue); }

/* Brand Logo Images inside Tab Buttons — image IS the button */
.tab-btn img {
    display: block;
    height: 111px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    pointer-events: none;
    filter: none !important;
    transition: opacity 0.25s ease, transform 0.2s ease, filter 0.25s ease;
}

/* Strip all button shape — no border, no bg, no shadow, no padding */
.tab-btn:has(img) {
    padding: 0;
    margin: 0;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    min-width: unset;
    min-height: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Inactive: dimmed */
    opacity: 0.45;
    transition: opacity 0.25s ease, transform 0.2s ease;
}

/* Active: full opacity + subtle drop-shadow to indicate selection */
.tab-btn:has(img).active {
    opacity: 1;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.18)) !important;
    transform: scale(1.08);
}

/* Hover on inactive: brighten it up */
.tab-btn:has(img):not(.active):hover {
    opacity: 0.8;
    transform: scale(1.04);
}

/* Remove per-brand active overrides (not needed for image-only tabs) */
.tab-btn[data-tab="mitsubishi"].active,
.tab-btn[data-tab="trane"].active,
.tab-btn[data-tab="runtru"].active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Hover scale on the image */
.tab-btn:has(img):hover img {
    transform: none;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.tab-pane.active {
    display: block;
}

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

/* Brand Headers & Highlights */
.brand-hero {
    background: var(--white);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: var(--shadow-md);
    margin-bottom: 40px;
}

.brand-hero-content {
    flex: 1;
}

.brand-hero-image {
    flex: 1;
}

.brand-hero-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.brand-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.brand-tagline {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

/* Features Grid */
.brand-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-box {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--cyan);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-box[data-brand="mitsubishi"] { border-top-color: #E60000; }
.feature-box[data-brand="trane"] { border-top-color: #D9272E; }

.feature-icon {
    font-size: 2rem;
    color: var(--orange);
    margin-bottom: 15px;
}

.feature-box[data-brand="mitsubishi"] .feature-icon { color: #E60000; }
.feature-box[data-brand="trane"] .feature-icon { color: #D9272E; }

/* Interactive Table Styles */
.table-responsive {
    overflow-x: auto;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.comparison-table th, 
.comparison-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--navy-blue);
    color: var(--white);
    font-weight: 700;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.comparison-table th.brand-accent { background: #D9272E; }
.comparison-table th.brand-accent-2 { background: var(--navy-blue); } /* RunTru */

.comparison-table tr:hover {
    background: var(--gray-100);
}

.comparison-table td strong {
    color: var(--navy-blue);
}

.check-icon { color: #10B981; font-size: 1.2rem; }
.cross-icon { color: #EF4444; font-size: 1.2rem; }

/* CTA Block for Equipments */
.equipment-cta {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--navy-light) 100%);
    border-radius: 12px;
    color: var(--white);
    margin-top: 50px;
    border-top: 4px solid var(--orange);
}

.equipment-cta h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.equipment-cta p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.equipment-cta .btn-primary {
    margin-right: 15px;
}

@media (max-width: 992px) {
    .brand-hero {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .tabs-controller {
        flex-direction: column;
        padding: 0 20px;
    }
    .tab-btn {
        width: 100%;
        text-align: center;
    }
    .comparison-table th, .comparison-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}
