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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--bg);
    color: var(--text);
    transition: background .3s ease, color .3s ease;
}

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

button {
    font-family: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* ================= HEADER ================= */

.header {
    position: sticky;
    height: 82px;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* LOGO */

.logo-icon img {
  width: 105px;
  height:105px;
  object-fit: contain;
  background: transparent; /* transparent na */
  border-radius: 0; /* wag na bilog pag logo */
  padding: 0;
  display: block;
}

.logo {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}



.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 21px;
    line-height: 1;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -.5px;
}

.logo-text span {
    font-size:12px;
    letter-spacing: 1.2px;
    margin-top: 5px;
    color: var(--muted);
}


/* NAV */

.nav {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 31px 0;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .3s;
}

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

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}


/* ================= ACTIONS ================= */ 
.nav-actions { display: flex; align-items: center; gap: 13px; } 

.theme-toggle { 
  width: 40px; 
  height: 40px; 
  border: 1px solid var(--border); 
  border-radius: 50%; 
  background: var(--card); 
  color: var(--text); 
  cursor: pointer; 
  transition: .3s; 
} 
.theme-toggle:hover { background: var(--primary); color: white; } 

.call-btn { 
  display: flex; 
  align-items: center; 
  gap: 9px; 
  background: var(--primary); 
  color: white; 
  border-radius: 30px; 
  padding: 9px 17px; /* AYOS NA - TINANGGAL YUNG 'o' */
} 
.call-btn i { font-size: 18px; } 
.call-btn span { display: flex; flex-direction: column; font-size: 12px; font-weight: 700; } 
.call-btn small { font-size: 8px; font-weight: 400; opacity: .8; } 

/* ================= MOBILE MENU ================= */ 
.mobile-menu { display: none; width: 42px; height: 42px; border: 0; background: transparent; color: var(--text); font-size: 22px; } 
.mobile-nav { display: none; } 






/* ================= HERO DESKTOP - GRADIENT + IMAGE ================= */
.hero{
  min-height: 520px; position: relative; overflow: hidden;
  background: linear-gradient(90deg, 
    rgba(0,28,54,0.98) 0%, 
    rgba(0,28,54,0.92) 40%, 
    rgba(0,28,54,0.65) 65%, 
    rgba(0,28,54,0.25) 100%), 
    url("../images/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,165,233,0.12) 0%, transparent 60%);
  z-index: 1;
}
.hero-content{
  min-height: 520px; display: flex; align-items: center;
  padding: 60px 20px; position: relative; z-index: 10;
}
.hero-text{max-width: 620px; color: white; position: relative; z-index: 2;}
.eyebrow{color: #0ea5e9 !important; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;}
.hero h1{font-size: clamp(42px, 5vw, 67px); line-height: 1.02; margin: 13px 0 20px; font-weight: 800; color: #fff;}
.hero h1 span{display: block; color: #0ea5e9 !important;}
.hero p{max-width: 550px; font-size: 15px; line-height: 1.8; color: rgba(255,255,255,.88);}
.hero-features{display: flex; flex-wrap: wrap; gap: 20px; margin: 22px 0;}
.hero-features span{font-size: 12px; font-weight: 500; color: #fff;}
.hero-features i{color: #0ea5e9 !important; margin-right: 5px;}
.hero-buttons{display: flex; gap: 12px; margin-top: 10px;}
.btn{min-height: 48px; padding: 0 23px; border-radius: 30px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 13px; font-weight: 600; transition: .3s; text-decoration: none;}
.primary-btn{background: #0ea5e9 !important; color: white !important; border: 2px solid #0ea5e9 !important;}
.primary-btn:hover{transform: translateY(-3px); box-shadow: 0 10px 25px rgba(14,165,233,.35);}
.outline-btn{border: 1px solid rgba(255,255,255,.7) !important; color: white !important; background: transparent !important;}
.outline-btn:hover{background: white !important; color: #001c36 !important;}

/* ============ MOBILE - GRADIENT IMAGE PA RIN ============ */
/* ============ MOBILE - TEXT INAKYAT ============ */
@media (max-width: 768px){
  .hero{
    min-height: 300px !important;
    height: 300px !important;
    padding: 0 !important;
  }
  .hero-content{
    min-height: 300px !important;
    padding: 15px 16px 10px !important; /* DATI 70px, NGAYON 15px NA LANG - INAKYAT NA */
    align-items: flex-start !important;
    justify-content: flex-start !important; /* INAKYAT SA TAAS */
  }
  .hero-text{
    margin-top: 10px !important; /* KONTING MARGIN LANG SA TAAS */
    max-width: 100% !important;
  }
  .hero-text .eyebrow{
    font-size: 17px !important;
    margin-bottom: 4px !important;
  }
  .hero-text h1{
    font-size: 30px !important;
    line-height: 1.1 !important;
    margin: 0 0 6px !important;
  }
  .hero-text p{
    font-size: 30px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
  }
  .hero-features{
    gap: 8px 12px !important;
    margin: 6px 0 10px !important;
  }
  .hero-features span{font-size: 14px !important;}
  .hero-buttons{flex-direction: row !important; gap: 8px !important;}
  .hero-buttons .btn{min-height: 34px !important; padding: 0 12px !important; font-size: 10px !important;}
}




/* ================= TRUST BAR - DESKTOP ================= */
.trust-bar { 
  background: var(--card); 
  border-bottom: 1px solid var(--border); 
}
.trust-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
}
.trust-item { 
  padding: 22px 18px; 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  border-right: 1px solid var(--border); 
}
.trust-item:last-child { border-right: 0; }
.trust-item > i { 
  color: #0ea5e9 !important; 
  font-size: 26px; 
  min-width: 26px;
}
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { font-size: 12px; margin-bottom: 3px; color: var(--text); }
.trust-item span { font-size: 10px; color: var(--muted); line-height: 1.3; }
.trust-details-btn{
  margin-top: 6px; background: #0ea5e9; color: #fff; border: none;
  padding: 5px 10px; border-radius: 15px; font-size: 9px; font-weight: 600;
  cursor: pointer;
}



/* ============ MOBILE - FINAL GANDA 2x2 ============ */
@media (max-width: 768px){
  .trust-bar{
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 12px !important;
    background: var(--section-alt) !important;
    border-bottom: 1px solid var(--border);
  }
  .trust-bar .container{
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .trust-grid{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 0 !important;
    background: transparent !important;
  }
  .trust-item{
    padding: 14px 12px !important;
    gap: 10px !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    background: var(--card) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
    min-height: 85px !important;
  }
  .trust-item > i{
    font-size: 16px !important;
    min-width: 36px !important;
    width: 36px !important;
    height: 36px !important;
    background: var(--section-alt) !important;
    color: var(--primary) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
  }
  .trust-item div{
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
  }
  .trust-item strong{
    font-size: 11.5px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--text) !important;
    margin: 0 !important;
  }
  .trust-item span{
    display: block !important;
    font-size: 9.5px !important;
    line-height: 1.35 !important;
    color: var(--muted) !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .trust-details-btn{
    align-self: flex-start !important;
    font-size: 8.5px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    margin-top: 6px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    line-height: 1 !important;
  }

  /* DARK MODE GANDA */
  body.dark-mode .trust-bar{
    background: var(--bg) !important;
  }
  body.dark-mode .trust-item{
    box-shadow: 0 2px 12px rgba(0,0,0,0.2) !important;
    border-color: var(--border) !important;
  }
  body.dark-mode .trust-item > i{
    background: #112a3f !important;
    border-color: var(--border) !important;
  }
}

/* ============ ITAAS SERVICES SECTION ============ */
#services{
  padding-top: 45px !important; /* DATI 90px, NGAYON 45px NA LANG */
}

@media (max-width: 768px){
  #services{
    padding-top: 22px !important; /* SA MOBILE MAS ITAAS PA */
    padding-bottom: 30px !important;
  }
  .section-heading{
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin-bottom: 18px !important;
  }
  .section-heading h2{
    font-size: 22px !important;
    margin: 4px 0 6px !important;
  }
  .section-heading p{
    font-size: 11.5px !important;
    line-height: 1.5 !important;
  }
  .section-label{
    font-size: 9px !important;
  }
  .view-link{
    font-size: 11px !important;
    padding: 6px 12px !important;
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 20px !important;
    text-decoration: none !important;
  }
  /* SERVICE GRID 1 COLUMN SA MOBILE PARA MALAKI CARD */
  .service-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .service-image{
    height: 160px !important;
  }
  .service-content{
    padding: 18px !important;
  }
  .service-content h3{
    font-size: 15px !important;
  }
  .service-content p{
    font-size: 11px !important;
    min-height: auto !important;
    margin-bottom: 12px !important;
  }
  .service-content ul{
    gap: 6px !important;
    margin-bottom: 14px !important;
  }
  .service-content ul li{
    font-size: 10.5px !important;
  }
  .service-btn{
    width: 100% !important;
    justify-content: center !important;
    padding: 10px !important;
    font-size: 11px !important;
    border-radius: 10px !important;
  }
}


/* ================= ABOUT ================= */ 
.about { background: var(--section-alt); } 
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; } 
.about-image { min-height: 420px; position: relative; } 
.about-image-box { height: 420px; border-radius: 18px; background: linear-gradient(135deg,#06253c,#087ec2); display: grid; place-items: center; color: white; font-size: 100px; } 
.experience-badge { position: absolute; right: -20px; bottom: 30px; background: var(--card); padding: 20px 25px; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,.15); } 
.experience-badge strong { display: block; color: var(--primary); font-size: 28px; } 
.experience-badge span { font-size: 10px; color: var(--muted); } 
.about-content h2 span { display: block; color: var(--primary); } 
.about-content p { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 13px; } 
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 25px 0; } 
.about-points div { display: flex; gap: 8px; font-size: 12px; font-weight: 500; } 
.about-points i { color: var(--primary); } 

/* ================= GALLERY ================= */ 
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; } 
.gallery-card { height: 230px; border-radius: 14px; overflow: hidden; } 
.gallery-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: linear-gradient(135deg,#07527e,#0ab1ef); color: white; font-size: 45px; transition: .4s; } 
.gallery-placeholder span { font-size: 12px; font-weight: 600; } 
.gallery-card:hover .gallery-placeholder { transform: scale(1.06); } 

/* ================= TESTIMONIAL ================= */ 
.testimonials { background: var(--section-alt); } 
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } 
.testimonial { position: relative; background: var(--card); padding: 30px; border: 1px solid var(--border); border-radius: 15px; } 
.quote { color: var(--primary); font-size: 22px; margin-bottom: 14px; } 
.testimonial > p { font-size: 12px; line-height: 1.8; color: var(--muted); margin-bottom: 25px; } 
.client { display: flex; align-items: center; gap: 10px; } 
.client-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: white; display: grid; place-items: center; font-size: 11px; font-weight: 700; } 
.client strong, .client span { display: block; } 
.client strong { font-size: 12px; } 
.client span { font-size: 9px; color: var(--muted); } 
.stars { color: #ffb400; font-size: 13px; margin-top: 15px; } 

/* ================= CTA ================= */ 
.cta { padding: 60px 0; background: linear-gradient(120deg,#03223a,#057dc2); color: white; } 
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; } 
.cta span { font-size: 10px; letter-spacing: 1.5px; color: #72d5ff; font-weight: 700; } 
.cta h2 { font-size: 32px; margin: 7px 0; } 
.cta p { font-size: 12px; opacity: .8; } 
.cta-buttons { display: flex; gap: 10px; flex-shrink: 0; } 
.white-btn { background: white; color: #0576ba; } 
.transparent-btn { border: 1px solid rgba(255,255,255,.6); color: white; }



/* ================= FOOTER ================= */

.footer {
    background: var(--footer-bg);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr;
    gap: 45px;
    padding: 60px 0;
}

.footer-brand p {
    color: rgba(255,255,255,.6);
    font-size: 11px;
    line-height: 1.7;
    max-width: 280px;
    margin: 18px 0;
}

.footer-logo .logo-text strong {
    color: white;
}

.footer-logo .logo-text span {
    color: rgba(255,255,255,.55);
}

.socials {
    display: flex;
    gap: 8px;
}

.socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    font-size: 12px;
    transition: .3s;
}

.socials a:hover {
    background: var(--primary);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    font-size: 13px;
    margin-bottom: 10px;
}

.footer-column a,
.footer-column p {
    color: rgba(255,255,255,.6);
    font-size: 10px;
}

.footer-column a:hover {
    color: white;
}

.footer-column p {
    display: flex;
    gap: 9px;
    line-height: 1.5;
}

.footer-column p i {
    color: #16aeff;
    width: 13px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom span {
    color: rgba(255,255,255,.45);
    font-size: 9px;
}



/* ================= ADMIN LOGIN ================= */

.admin-login-btn {
    min-height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(8, 127, 229, .28);
    border-radius: 22px;
    background: var(--card);
    color: var(--primary);
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: .25s ease;
}
.admin-login-btn:hover {
    color: #fff;
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(8, 127, 229, .20);
}
.mobile-admin-login {
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    border: 1px solid rgba(8, 127, 229, .25);
    border-radius: 10px;
    background: var(--section-alt);
    color: var(--primary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}


@media (max-width: 1050px) {

    .nav {
        gap: 16px;
    }

    .nav a {
        font-size: 11px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 850px) {

    .nav {
        display: none;
    }

    .nav-actions .call-btn {
        display: none;
    }

    .admin-login-btn {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .mobile-nav {
        position: fixed;
        top: 82px;
        left: 0;
        width: 100%;
        background: var(--header-bg);
        border-bottom: 1px solid var(--border);
        padding: 15px 5%;
        z-index: 999;
        display: none;
        flex-direction: column;
        box-shadow: 0 10px 30px rgba(0,0,0,.1);
    }

    .mobile-nav.show {
        display: flex;
    }

    .mobile-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
    }

    .mobile-call {
        color: white !important;
        background: var(--primary);
        padding: 13px !important;
        border-radius: 8px;
        margin-top: 12px;
        text-align: center;
        border: 0 !important;
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(3),
    .trust-item:nth-child(4) {
        border-top: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about-image {
        max-width: 650px;
        width: 100%;
        margin: auto;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 600px) {

    .header {
        height: 70px;
    }

    .mobile-nav {
        top: 70px;
    }

    .logo-icon {
        width: 39px;
        height: 39px;
        font-size: 20px;
    }

    .logo-text strong {
        font-size: 18px;
    }

    .logo-text span {
        font-size: 8px;
    }

    .theme-toggle {
        width: 37px;
        height: 37px;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .hero {
        background:
            linear-gradient(
                180deg,
                rgba(2,23,42,.93),
                rgba(2,23,42,.86)
            ),
            url("images/hero.jpeg");

        background-position: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 65px 0;
    }

    .section-heading {
        display: block;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 28px;
    }

    .view-link {
        display: inline-block;
        margin-top: 15px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: 0 !important;
        border-bottom: 1px solid var(--border);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-image {
        height: 210px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .gallery-card {
        height: 180px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .about-image,
    .about-image-box {
        min-height: 330px;
        height: 330px;
    }

    .experience-badge {
        right: 10px;
        bottom: 15px;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .cta {
        padding: 50px 0;
    }

    .cta h2 {
        font-size: 27px;
    }

    .cta-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px 20px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 400px) {

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card {
        height: 210px;
    }

    .hero h1 {
        font-size: 37px;
    }

}




/* ================= SERVICE REQUEST BUTTONS ================= */

.service-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    border: 1px solid var(--primary);
    border-radius: 9px;

    background: transparent;
    color: var(--primary);

    font-family: inherit;
    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: all .25s ease;
}

.service-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.service-btn i {
    font-size: 10px;
}


/* ================= GENERIC SERVICE FORM ================= */

.form-group {
    display: grid;
    gap: 7px;
}

.form-group label {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--bg);
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(8, 127, 229, .12);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}


/* Apply same form appearance to all service forms. */

#acInstallationForm,
#acMaintenanceForm,
#refrigerationForm,
#commercialForm {
    display: grid;
    gap: 8px;
}


/* ================= MOBILE SERVICE BUTTON ================= */

@media (max-width: 600px) {

    .service-btn {
        padding: 13px 12px;
        font-size: 11px;
    }

    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

}

/* ================= AC INSTALLATION ================= */


/* =========================================
   AC INSTALLATION MODAL
========================================= */

.service-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Modal Box */

.service-modal-content {
    position: relative;

    width: 100%;
    max-width: 620px;
    max-height: 90vh;

    overflow-y: auto;

    padding: 35px;

    background: var(--card);
    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);

    transform: translateY(30px) scale(0.97);
    transition: transform 0.3s ease;
}

.service-modal.active .service-modal-content {
    transform: translateY(0) scale(1);
}


/* Close Button */

.modal-close {
    position: absolute;
    top: 15px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: var(--section-alt);
    color: var(--text);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;

    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--primary);
    color: #fff;
}


/* Modal Heading */

.service-modal-content h2 {
    margin: 0 45px 8px 0;

    font-size: 28px;
    font-weight: 700;

    color: var(--text);
}

.service-modal-content > p {
    margin: 0 0 25px;

    color: var(--muted);
    line-height: 1.6;
}


/* Form */

#acInstallationForm,
#acMaintenanceForm,
#refrigerationForm,
#commercialForm {
    display: grid;
    gap: 8px;
}

#acInstallationForm label,
#acMaintenanceForm label,
#refrigerationForm label,
#commercialForm label {
    margin-top: 10px;

    font-size: 14px;
    font-weight: 600;

    color: var(--text);
}

#acInstallationForm input,
#acInstallationForm select,
#acInstallationForm textarea,
#acMaintenanceForm input,
#acMaintenanceForm select,
#acMaintenanceForm textarea,
#refrigerationForm input,
#refrigerationForm select,
#refrigerationForm textarea,
#commercialForm input,
#commercialForm select,
#commercialForm textarea {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--bg);
    color: var(--text);

    font-family: inherit;
    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#acInstallationForm input:focus,
#acInstallationForm select:focus,
#acInstallationForm textarea:focus,
#acMaintenanceForm input:focus,
#acMaintenanceForm select:focus,
#acMaintenanceForm textarea:focus,
#refrigerationForm input:focus,
#refrigerationForm select:focus,
#refrigerationForm textarea:focus,
#commercialForm input:focus,
#commercialForm select:focus,
#commercialForm textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(8, 127, 229, 0.12);
}

#acInstallationForm textarea,
#acMaintenanceForm textarea,
#refrigerationForm textarea,
#commercialForm textarea {
    resize: vertical;
    min-height: 110px;
}

#acInstallationForm input::placeholder,
#acInstallationForm textarea::placeholder,
#acMaintenanceForm input::placeholder,
#acMaintenanceForm textarea::placeholder,
#refrigerationForm input::placeholder,
#refrigerationForm textarea::placeholder,
#commercialForm input::placeholder,
#commercialForm textarea::placeholder {
    color: var(--muted);
}


/* Submit Button */

.service-submit-btn {
    width: 100%;

    margin-top: 20px;
    padding: 14px 20px;

    border: none;
    border-radius: 10px;

    background: var(--primary);
    color: #fff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease,
        box-shadow 0.2s ease;
}

.service-submit-btn:hover {
    opacity: 0.92;

    transform: translateY(-2px);

    box-shadow: 0 8px 22px rgba(8, 127, 229, 0.25);
}

.service-submit-btn:active {
    transform: translateY(0);
}


/* Prevent Background Scrolling */

body.modal-open {
    overflow: hidden;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .service-modal {
        padding: 12px;
        align-items: center;
    }

    .service-modal-content {
        max-height: 92vh;

        padding: 25px 20px;

        border-radius: 15px;
    }

    .service-modal-content h2 {
        font-size: 23px;
        margin-right: 35px;
    }

    .service-modal-content > p {
        font-size: 14px;
        margin-bottom: 18px;
    }

    #acInstallationForm,
#acMaintenanceForm,
#refrigerationForm,
#commercialForm {
        gap: 6px;
    }

    #acInstallationForm label,
#acMaintenanceForm label,
#refrigerationForm label,
#commercialForm label {
        font-size: 13px;
    }

    #acInstallationForm input,
    #acInstallationForm select,
    #acInstallationForm textarea,
#acMaintenanceForm textarea,
#refrigerationForm textarea,
#commercialForm textarea {
        padding: 12px;
        font-size: 14px;
    }

    .modal-close {
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;

        font-size: 22px;
    }

    .service-submit-btn {
        padding: 13px 16px;
        font-size: 14px;
    }
}

/* =====================================================
   WHY CHOOSE US - VIEW DETAILS
   ADDITION ONLY — EXISTING CSS IS PRESERVED
===================================================== */

.trust-item {
    position: relative;
}

.trust-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 7px;
    padding: 6px 10px;

    border: 1px solid var(--primary);
    border-radius: 7px;

    background: transparent;
    color: var(--primary);

    font-family: inherit;
    font-size: 10px;
    font-weight: 700;

    cursor: pointer;
    transition: all .2s ease;
}

.trust-details-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}


/* View-only modal */

.why-info-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, .62);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.why-info-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.why-info-box {
    position: relative;

    width: 100%;
    max-width: 500px;

    padding: 32px;

    background: var(--card);
    color: var(--text);

    border: 1px solid var(--border);
    border-radius: 18px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .25);

    text-align: center;

    transform: translateY(25px) scale(.97);
    transition: transform .25s ease;
}

.why-info-modal.active .why-info-box {
    transform: translateY(0) scale(1);
}

.why-info-close {
    position: absolute;
    top: 13px;
    right: 15px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: var(--section-alt);
    color: var(--text);

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}

.why-info-close:hover {
    background: var(--primary);
    color: #fff;
}

.why-info-icon {
    width: 64px;
    height: 64px;

    margin: 0 auto 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--section-alt);
    color: var(--primary);

    font-size: 26px;
}

.why-info-box h2 {
    margin: 0 0 8px;

    color: var(--text);
    font-size: 24px;
}

.why-info-box > p {
    margin: 0 auto 18px;

    color: var(--muted);
    line-height: 1.6;
}

.why-info-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 15px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--section-alt);

    color: var(--muted);

    text-align: left;
    font-size: 13px;
    line-height: 1.6;
}

.why-info-message i {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--primary);
}

.why-info-ok {
    width: 100%;

    margin-top: 20px;
    padding: 12px 18px;

    border: 0;
    border-radius: 9px;

    background: var(--primary);
    color: #fff;

    font-family: inherit;
    font-weight: 700;

    cursor: pointer;

    transition:
        opacity .2s ease,
        transform .2s ease;
}

.why-info-ok:hover {
    opacity: .92;
    transform: translateY(-1px);
}

body.why-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {

    .trust-details-btn {
        width: 100%;
        margin-top: 8px;
        padding: 7px 9px;
    }

    .why-info-modal {
        padding: 12px;
    }

    .why-info-box {
        padding: 27px 20px;
        border-radius: 15px;
    }

    .why-info-box h2 {
        font-size: 21px;
    }

    .why-info-box > p {
        font-size: 14px;
    }

    .why-info-message {
        font-size: 12px;
    }
}




.why-info-box {
  max-height: 90vh; /* LIMIT HEIGHT PARA HINDI LAGPAS SA SCREEN */
  overflow: hidden; /* ITAGO OVERFLOW NG BOX */
  display: flex;
  flex-direction: column;
}

.why-info-content {
  overflow-y: auto; /* DITO MAG SCROLL */
  padding: 10px 20px 20px;
  margin-bottom: 10px;
}

.why-info-img {
  width: 100%;
  margin: 15px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
}

.why-info-img img {
  width: 100%;
  height: 180px; /* FIXED HEIGHT PARA PANTAY */
  object-fit: cover; /* PARA HINDI MAG STRETCH */
  display: block;
}

/* MOBILE TWEAK */
@media (max-width: 768px) {
  .why-info-img img {
    height: 150px;
  }
  .why-info-content {
    padding: 10px 15px 15px;
  }
}









.service-image {
  width: 100%;
  height: 200px; /* HEIGHT NG IMAGE SA CARD */
  overflow: hidden;
  border-radius: 12px 12px 0 0; /* ROUND SA TAAS LANG */
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* PARA HINDI MAG STRETCH */
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05); /* ZOOM EFFECT PAG HOVER */
}

/* Tanggalin mo na yung luma na .service-image i.icon kasi image na gamit */







.about-image {
  position: relative; /* PARA MA POSITION YUNG BADGE */
}

.about-image-box {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.about-image-box img {
  width: 100%;
  height: 400px; /* ADJUST MO DEPENDE SA DESIGN MO */
  object-fit: cover;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #001c36;
  color: #fff;
  padding: 15px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.experience-badge strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.experience-badge span {
  font-size: 12px;
  opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
  .about-image-box img {
    height: 300px;
  }
  .experience-badge {
    bottom: 15px;
    right: 15px;
    padding: 12px 16px;
  }
}




.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.work-card {
  height: 280px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,200,255,0.3);
}

.work-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #4db8ff;
}

.work-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 700;
}

.work-card p {
  font-size: 13px;
  opacity: 0.9;
}

/* MOBILE: 2x2 GRID */
@media (max-width: 768px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .work-card {
    height: 220px;
  }
}






.work-card { position: relative; }
.work-arrow { position: absolute; bottom: 15px; right: 20px; font-size: 20px; opacity: 0; transition: 0.3s; }
.work-card:hover .work-arrow { opacity: 1; right: 15px; }

/* MODAL */
.work-detail-modal { 
  display: none; 
  position: fixed; 
  top: 0; left: 0; 
  width: 100%; height: 100%; 
  background: rgba(0,0,0,0.85); 
  z-index: 9999; 
  overflow-y: auto; 
  animation: fadeIn 0.3s;
}
.work-detail-box { 
  max-width: 700px; 
  margin: 50px auto; 
  background: #fff; 
  border-radius: 16px; 
  overflow: hidden; 
  position: relative;
}
.work-detail-header { 
  height: 220px; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  color: #fff; 
  text-align: center; 
  background-size: cover; 
  background-position: center; 
}
.work-detail-header i { font-size: 50px; color: #4db8ff; margin-bottom: 10px; }
.work-detail-content { padding: 30px; }
.work-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin: 20px 0; }
.detail-item { display: flex; align-items: center; gap: 10px; }
.detail-item i { color: #00aaff; }
.work-detail-cta { background: #f0f8ff; padding: 20px; border-radius: 12px; text-align: center; margin-top: 20px; }
.btn-primary { background: #001c36; color: #fff; padding: 12px 30px; border: none; border-radius: 8px; cursor: pointer; font-weight: 600; }
.work-detail-close { position: absolute; top: 15px; right: 20px; font-size: 35px; background: none; border: none; color: #fff; cursor: pointer; z-index: 2; }
@keyframes fadeIn { from {opacity: 0;} to {opacity: 1;} }

@media(max-width: 600px){
  .work-detail-grid { grid-template-columns: 1fr; }
}

/* Work detail modal fixes */
.work-detail-modal {
  box-sizing: border-box;
  padding: 20px;
}
.work-detail-box {
  box-sizing: border-box;
}
@media (max-width: 600px) {
  .work-detail-modal { padding: 12px; }
  .work-detail-box { margin: 20px auto; max-height: calc(100vh - 40px); overflow-y: auto; }
  .work-detail-header { height: 170px; }
  .work-detail-content { padding: 22px; }
}

/* =====================================================
   MANAGED SERVICE GALLERY
===================================================== */
.managed-gallery-title{font-size:12px;font-weight:800;margin:20px 0 8px;color:inherit}.managed-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:18px}.managed-gallery img{width:100%;height:85px;object-fit:cover;border-radius:9px;border:1px solid rgba(10,165,255,.25);cursor:pointer;transition:transform .2s ease,opacity .2s ease}.managed-gallery img:hover{transform:scale(1.025);opacity:.9}.managed-gallery span{grid-column:1/-1;font-size:10px;opacity:.65;padding:8px 0}@media(max-width:600px){.managed-gallery{grid-template-columns:repeat(2,1fr)}.managed-gallery img{height:100px}}






/* =====================================================
   SERVICES
===================================================== */
.service-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:18px;}
@media(max-width:1100px){.service-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:600px){.service-grid{grid-template-columns:1fr;}}

.service-card{
  border-radius:16px; overflow:hidden; background:#fff;
  border:2px solid #0ea5e9 !important; display:flex; flex-direction:column;
}
.service-image{height:185px; overflow:hidden;}
.service-image img{width:100%; height:100%; object-fit:cover;}

.service-content{padding:14px; display:flex; flex-direction:column; flex:1;}
.service-icon{width:44px; height:44px; border-radius:50%; background:#0ea5e9 !important; color:#fff; display:flex; align-items:center; justify-content:center; font-size:16px; margin-bottom:10px;}

.service-content h3{color:#0a1930 !important; font-size:15px; font-weight:800; margin:0 0 6px; display:flex; align-items:center; gap:6px; flex-wrap:wrap;}
.service-content h3 span{background:#0ea5e9 !important; color:#fff !important; font-size:9px; padding:3px 8px; border-radius:10px;}

.service-content p{color:#475569 !important; font-size:12.5px; line-height:1.5; margin:0 0 10px;}
.service-content ul{list-style:none; padding:0; margin:0 0 14px; display:grid; gap:6px;}
.service-content ul li{color:#1e293b !important; font-size:12.5px; display:flex; gap:8px; align-items:center;}
.service-content ul li i{color:#0ea5e9 !important; font-size:13px;}

.service-btn{margin-top:auto; width:100%; background:#0ea5e9 !important; color:#fff !important; border:none; border-radius:999px; padding:11px; font-size:12.5px; font-weight:700;}

/* DARK MODE - same light blue pa rin */
body.dark-mode .service-card{background:#0e223f !important; border-color:#0ea5e9 !important;}
body.dark-mode .service-content h3{color:#fff !important;}
body.dark-mode .service-content p{color:#94a3b8 !important;}
body.dark-mode .service-content ul li{color:#e2e8f0 !important;}

/* =====================================================
   FINAL RESPONSIVE / FULL-BLEED LAYOUT OVERRIDES
   Keeps Firestore + Cloudinary functions untouched.
===================================================== */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-left: 24px;
    padding-right: 24px;
}

/* Hero uses the image element controlled by Firestore/Cloudinary.
   This prevents the old hard-coded hero.jpeg background from overriding it. */
.hero {
    position: relative;
    min-height: 520px;
    height: 520px;
    background: none !important;
    isolation: isolate;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center center;
    z-index: -2;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(0, 28, 54, .98) 0%,
        rgba(0, 28, 54, .90) 38%,
        rgba(0, 28, 54, .62) 65%,
        rgba(0, 28, 54, .24) 100%);
    z-index: -1;
}

.hero-overlay {
    z-index: 0;
}

.hero-content {
    width: 100%;
    max-width: none;
    min-height: 520px;
    height: 100%;
    padding: 60px 24px;
    position: relative;
    z-index: 2;
}

/* Keep major section backgrounds flush to both screen edges. */
.header,
.hero,
.trust-bar,
.section,
.about,
.testimonials,
.cta,
.footer {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: none;
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        min-height: 360px !important;
        height: 360px !important;
        background: none !important;
    }

    .hero-image {
        object-position: center center;
    }

    .hero::before {
        background: linear-gradient(180deg,
            rgba(2, 23, 42, .78) 0%,
            rgba(2, 23, 42, .88) 100%);
    }

    .hero-content {
        width: 100%;
        min-height: 360px !important;
        height: 360px !important;
        padding: 24px 14px 18px !important;
        align-items: flex-start !important;
    }

    .hero-text {
        width: 100%;
        max-width: 680px !important;
        margin-top: 0 !important;
    }

    .hero-text .eyebrow {
        font-size: 12px !important;
        letter-spacing: 1px;
    }

    .hero-text h1 {
        font-size: clamp(25px, 7.5vw, 36px) !important;
        line-height: 1.08 !important;
        margin: 7px 0 8px !important;
    }

    .hero-text p {
        max-width: 620px;
        font-size: 26px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
    }

    .hero-features {
        gap: 6px 14px !important;
        margin: 8px 0 12px !important;
    }

    .hero-features span {
        font-size: 9px !important;
    }

    .hero-buttons {
        width: 100%;
        gap: 8px !important;
        flex-wrap: wrap;
    }

    .hero-buttons .btn {
        min-height: 34px !important;
        padding: 0 12px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 420px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero {
        min-height: 330px !important;
        height: 330px !important;
    }

    .hero-content {
        min-height: 330px !important;
        height: 330px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-top: 20px !important;
    }

    .hero-text h1 {
        font-size: 25px !important;
    }

    .hero-buttons .btn {
        flex: 1 1 auto;
    }
}


/* =====================================================
   FINAL SERVICE IMAGE + BOOKING CHOOSER POLISH
   Existing Firebase / Cloudinary / Firestore functions are untouched.
===================================================== */
.service-image{
  height:220px;
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.service-image::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(0,28,54,.02) 35%,rgba(0,28,54,.28) 100%);
  z-index:1;
}
.service-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
  transition:transform .35s ease;
}
.service-card:hover .service-image img{transform:scale(1.025);}

.booking-chooser-modal{
  position:fixed;
  inset:0;
  z-index:5000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(2,14,27,.68);
  backdrop-filter:blur(5px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .2s ease,visibility .2s ease;
}
.booking-chooser-modal.active{opacity:1;visibility:visible;pointer-events:auto;}
.booking-chooser-card{
  position:relative;
  width:min(720px,100%);
  max-height:min(90vh,720px);
  overflow:auto;
  padding:28px;
  border:1px solid var(--border);
  border-radius:22px;
  background:var(--card);
  color:var(--text);
  box-shadow:0 25px 70px rgba(0,0,0,.25);
  transform:translateY(12px) scale(.98);
  transition:transform .22s ease;
}
.booking-chooser-modal.active .booking-chooser-card{transform:translateY(0) scale(1);}
.booking-chooser-close{
  position:absolute;
  top:14px;right:14px;
  width:36px;height:36px;
  border:1px solid var(--border);
  border-radius:50%;
  background:var(--section-alt);
  color:var(--text);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.booking-chooser-heading{padding-right:42px;margin-bottom:18px;}
.booking-chooser-heading h2{font-size:25px;line-height:1.15;margin:5px 0 7px;color:var(--text);}
.booking-chooser-heading p{font-size:12px;line-height:1.55;color:var(--muted);}
.booking-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.booking-service-option{
  display:grid;grid-template-columns:44px 1fr 18px;align-items:center;gap:12px;
  width:100%;padding:15px;text-align:left;
  border:1px solid var(--border);border-radius:15px;
  background:var(--section-alt);color:var(--text);cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.booking-service-option:hover{transform:translateY(-2px);border-color:#0ea5e9;box-shadow:0 8px 22px rgba(14,165,233,.12);}
.booking-service-icon{width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#0ea5e9;color:#fff;font-size:17px;}
.booking-service-option span:nth-child(2){min-width:0;}
.booking-service-option strong{display:block;font-size:12px;line-height:1.25;}
.booking-service-option small{display:block;margin-top:4px;font-size:9px;line-height:1.35;color:var(--muted);}
.booking-service-option > .fa-arrow-right{font-size:11px;color:#0ea5e9;}
body.modal-open{overflow:hidden;}

@media(max-width:600px){
  .service-image{height:205px;}
  .booking-chooser-modal{padding:12px;}
  .booking-chooser-card{padding:22px 16px 16px;border-radius:18px;max-height:92vh;}
  .booking-chooser-heading h2{font-size:21px;}
  .booking-chooser-heading p{font-size:10.5px;}
  .booking-service-grid{grid-template-columns:1fr;gap:9px;}
  .booking-service-option{padding:12px;grid-template-columns:40px 1fr 16px;}
  .booking-service-icon{width:40px;height:40px;font-size:15px;}
  .booking-service-option strong{font-size:11px;}
  .booking-service-option small{font-size:8.5px;}
}








/* =====================================================
   FINAL CLEAN - DARK & LIGHT MODE - NO DOBLE
===================================================== */
.admin-login {
  background: radial-gradient(circle at top, #0e3a5d 0%, #061826 60%, #020a12 100%) !important;
  min-height: 100vh !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

.admin-login > div,
.admin-login .login-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* LOGIN FORM - ISA LANG MAY BORDER + GLOW */
.login-card {
  position: relative !important;
  width: 100% !important;
  max-width: 420px !important;
  background: #0d1f31 !important;
  border: 1px solid rgba(25,168,255,0.5) !important;
  border-radius: 20px !important;
  box-shadow: 0 0 20px rgba(25,168,255,0.3), 0 0 40px rgba(25,168,255,0.1) !important;
  padding: 30px 25px 65px 25px !important;
}

/* TEXT - DARK MODE */
.login-brand {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  justify-content: center !important;
  margin-bottom: 20px !important;
}

.login-brand strong {
  color: #ffffff !important;
  font-size: 18px !important;
  display: block !important;
  line-height: 1.1 !important;
}

.login-brand span {
  color: #9db0bd !important;
  font-size: 14px !important;
}

/* TOGGLE SA BABA KANAN SA LOOB NG FORM */
.login-card #themeToggle {
  position: absolute !important;
  bottom: 15px !important;
  right: 15px !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.08) !important;
  color: #fbbf24 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  cursor: pointer !important;
  font-size: 16px !important;
}

/* ===== LIGHT MODE - KITA LAHAT ===== */
body.light-admin,
body.light-mode {
  background: #f1f5f9 !important;
}

body.light-admin .admin-login,
body.light-mode .admin-login {
  background: #f1f5f9 !important;
}

body.light-admin .login-card,
body.light-mode .login-card {
  background: #ffffff !important;
  border: 1px solid rgba(8,127,229,0.25) !important;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08), 0 0 20px rgba(8,127,229,0.12) !important;
}

body.light-admin .login-brand strong,
body.light-mode .login-brand strong {
  color: #0f172a !important;
}

body.light-admin .login-brand span,
body.light-mode .login-brand span {
  color: #475569 !important;
}

body.light-admin .login-card h1,
body.light-mode .login-card h1,
body.light-admin .login-card label,
body.light-mode .login-card label {
  color: #0f172a !important;
}

body.light-admin .login-subtitle,
body.light-mode .login-subtitle {
  color: #64748b !important;
}

body.light-admin .login-card #themeToggle,
body.light-mode .login-card #themeToggle {
  background: #f1f5f9 !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}








/* =========================================================
   FOGS AIRCON - APP SPLASH ANIMATION
   ========================================================= */

.app-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 152, 253, 0.20) 0%,
            rgba(0, 37, 74, 0.92) 42%,
            #00254a 100%
        );

    opacity: 1;
    visibility: visible;

    transition:
        opacity 0.8s ease,
        visibility 0.8s ease;
}


/* Hide splash */

.app-splash.splash-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}


/* Main content */

.splash-content {
    position: relative;
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    animation: splashContentIn 1s cubic-bezier(.22,1,.36,1) forwards;
}


/* Logo */

.splash-logo-wrap {
    position: relative;

    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
}


.splash-logo {
    position: relative;
    z-index: 5;

    width: 115px;
    height: 115px;

    object-fit: contain;

    border-radius: 50%;

    filter:
        drop-shadow(0 0 12px rgba(0, 152, 253, 0.75))
        drop-shadow(0 0 35px rgba(0, 152, 253, 0.45));

    animation:
        splashLogoIn 1s cubic-bezier(.22,1,.36,1) forwards,
        splashFloat 3s ease-in-out 1s infinite;
}


/* Animated rings */

.splash-ring {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, 0.25);

    animation: splashRing 2.5s ease-out infinite;
}


.ring-one {
    width: 130px;
    height: 130px;
}


.ring-two {
    width: 160px;
    height: 160px;

    animation-delay: 0.7s;
}


/* App title */

.splash-title {
    color: #ffffff;

    font-size: clamp(28px, 7vw, 42px);

    font-weight: 800;

    letter-spacing: 4px;

    text-shadow:
        0 0 10px rgba(0, 152, 253, 0.8),
        0 0 30px rgba(0, 152, 253, 0.45);

    opacity: 0;

    animation:
        splashTextIn 0.8s ease 0.45s forwards;
}


/* Subtitle */

.splash-subtitle {
    display: flex;
    gap: 7px;

    margin-top: 8px;

    color: rgba(255,255,255,0.82);

    font-size: 14px;

    letter-spacing: 1.5px;

    opacity: 0;

    animation:
        splashTextIn 0.8s ease 0.65s forwards;
}


.splash-subtitle span:first-child {
    color: #58c7ff;
    font-weight: 700;
}


/* Loading bar */

.splash-loader {
    width: 180px;
    height: 4px;

    margin-top: 28px;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255,255,255,0.15);

    opacity: 0;

    animation:
        splashTextIn 0.6s ease 0.9s forwards;
}


.splash-loader-bar {
    width: 0%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #0098fd,
            #65d4ff,
            #ffffff
        );

    box-shadow:
        0 0 12px rgba(0, 152, 253, 0.9);

    animation:
        splashLoading 1.8s ease-in-out 0.9s forwards;
}


/* Loading text */

.splash-loading-text {
    margin-top: 12px;

    color: rgba(255,255,255,0.55);

    font-size: 11px;

    letter-spacing: 1px;

    opacity: 0;

    animation:
        splashTextIn 0.6s ease 1s forwards;
}


/* Background glow */

.splash-glow {
    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}


.glow-one {
    top: -100px;
    left: -100px;

    background: rgba(0, 152, 253, 0.22);

    animation: glowMove 5s ease-in-out infinite alternate;
}


.glow-two {
    right: -100px;
    bottom: -100px;

    background: rgba(0, 210, 255, 0.18);

    animation: glowMove 6s ease-in-out infinite alternate-reverse;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes splashContentIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


@keyframes splashLogoIn {

    0% {
        opacity: 0;
        transform: scale(0.4) rotate(-15deg);
    }

    70% {
        opacity: 1;
        transform: scale(1.08) rotate(3deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }

}


@keyframes splashFloat {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


@keyframes splashRing {

    0% {
        opacity: 0.7;
        transform: scale(0.75);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }

}


@keyframes splashTextIn {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes splashLoading {

    0% {
        width: 0%;
    }

    70% {
        width: 85%;
    }

    100% {
        width: 100%;
    }

}


@keyframes glowMove {

    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(70px, 50px) scale(1.2);
    }

}


/* Mobile */

@media (max-width: 480px) {

    .splash-logo-wrap {
        width: 130px;
        height: 130px;
    }

    .splash-logo {
        width: 100px;
        height: 100px;
    }

    .ring-one {
        width: 115px;
        height: 115px;
    }

    .ring-two {
        width: 140px;
        height: 140px;
    }

    .splash-title {
        font-size: 28px;
        letter-spacing: 3px;
    }

}


/* =====================================================
   ORDER NOW / BOOK A SERVICE / BRAND-NEW UNIT CAROUSEL
   Added without changing existing Firestore or Cloudinary styles.
===================================================== */
.hero-buttons .order-now-btn{background:var(--primary,#0ea5e9);color:#fff;border-color:var(--primary,#0ea5e9)}
.hero-buttons .order-now-btn:hover{filter:brightness(.95);transform:translateY(-1px)}
.booking-warning{display:flex;align-items:flex-start;gap:10px;margin:14px 0;padding:12px 14px;border:1px solid rgba(245,158,11,.35);border-radius:12px;background:rgba(245,158,11,.10);color:inherit;font-size:.9rem;line-height:1.5}
.booking-warning i{color:#f59e0b;margin-top:3px;flex:none}
#publicProductsGrid{display:flex;flex-wrap:nowrap;overflow:visible;transition:transform .75s cubic-bezier(.22,.61,.36,1);will-change:transform}
#publicProductsGrid .new-unit-card{flex:0 0 100%;width:100%;min-width:100%;box-sizing:border-box}
.new-units-section{overflow:hidden}
.new-units-grid{overflow:hidden}
@media(max-width:700px){.hero-buttons{flex-wrap:wrap}.hero-buttons .btn{flex:1 1 100%}.booking-warning{font-size:.84rem}}







/* FINAL MOBILE HERO FIX - FEATURES + BUTTONS + IMAGES */

/* FINAL MOBILE HERO FIX - BUTTONS GRID LANG, FEATURES HINDI */

/* GENERAL PHONE VIEW */
@media (max-width: 768px){
  .hero{
    min-height: 360px !important;
    height: 360px !important;
  }
  .hero-content{
    min-height: 360px !important;
    height: 360px !important;
    padding-top: 70px !important;
    justify-content: flex-start !important;
  }
  .hero-text h1{
    font-size: 24px !important;
  }
  .hero-text p{
    font-size: 12px !important;
  }

  /* 3 GRID NA BUTTON LANG */
  .hero-buttons{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    margin-top: 18px !important;
  }
  .hero-buttons .btn{
    font-size: 10px !important;
    padding: 8px 2px !important;
    margin-top: 0 !important;
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* FEATURES - PABABA LEFT HINDI CENTER */
  .hero-features{
    display: flex !important;
    flex-direction: column !important; /* PABABA */
    align-items: flex-start !important; /* LEFT */
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: 14px !important;
    width: 100% !important;
    padding-left: 4px !important;
  }
  .hero-features span{
    font-size: 12px !important;
    font-weight: 700 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    text-align: left !important;
  }
  .hero-features span i{
    font-size: 13px !important;
    color: #00d084 !important;
  }
}

/* MAS MALIIT NA PHONE */
@media (max-width: 480px){
  .hero{
    min-height: 340px !important;
    height: 340px !important;
  }
  .hero-content{
    min-height: 340px !important;
    height: 340px !important;
    padding-top: 80px !important;
  }
  .hero-buttons{
    gap: 4px !important;
  }
  .hero-buttons .btn{
    font-size: 9px !important;
    padding: 7px 1px !important;
  }
  .hero-features span{
    font-size: 11px !important;
  }
}









/* ===== MAGANDANG DESIGN PARA SA NEW UNITS ===== */
.section-label{
  display:inline-block !important;
  background:#e0f2fe !important;
  color:#0284c7 !important;
  font-size:11px !important;
  font-weight:800 !important;
  letter-spacing:1.5px !important;
  padding:6px 14px !important;
  border-radius:20px !important;
  margin-bottom:10px !important;
}

.section-label + h2{
  font-size:32px !important;
  font-weight:800 !important;
  color:#0f172a !important;
  line-height:1.2 !important;
  margin:0 0 10px 0 !important;
}

.section-label + h2 + p{ 
  font-size:15px !important; 
  color:#64748b !important; 
  line-height:1.6 !important; 
  max-width:600px !important; 
  margin:0 !important; /* DATI 0 auto (center), NGAYON 0 NA LANG (left) */
  text-align:left !important; /* LEFT LAHAT */
  margin-left:0 !important;
}

/* ===== MOBILE LANG - IAAKYAT NATIN PATAAS ===== */
@media (max-width:420px){
  .section-label{
    font-size:9px !important;
    padding:4px 10px !important;
    margin-bottom:6px !important;
    margin-top:-35px !important; /* IAAKYAT PATAAS - DAGDAGAN MO PAG GUSTO MAS TAAS */
    display:inline-block !important;
    position:relative !important;
    top:-15px !important; /* IAAKYAT PA LALO */
  }
  
  .section-label + h2{
    font-size:20px !important;
    margin-top:-15px !important; /* IAAKYAT YUNG TITLE */
    line-height:1.1 !important;
  }
  
  .section-label + h2 + p{
    font-size:12px !important;
    margin-top:-5px !important; /* IAAKYAT YUNG PARAGRAPH */
    line-height:1.4 !important;
  }
}



/* PHONE LOGO LANG - NO NUMBER */
.phone-logo-btn{
  width:42px !important;
  height:42px !important;
  background:#0284c7 !important;
  border-radius:50% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#fff !important;
  text-decoration:none !important;
  font-size:18px !important;
  box-shadow:0 4px 12px rgba(2,132,199,0.3) !important;
  animation:phonePulse 2s infinite !important;
}

@keyframes phonePulse{
  0%{ box-shadow:0 0 0 0 rgba(2,132,199,0.7); }
  70%{ box-shadow:0 0 0 10px rgba(2,132,199,0); }
  100%{ box-shadow:0 0 0 0 rgba(2,132,199,0); }
}

@media (max-width:420px){
  .phone-logo-btn{
    width:38px !important;
    height:38px !important;
    font-size:16px !important;
  }
}






/* VIEW ALL BUTTON */
.view-all-btn{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  background:#0f172a !important;
  color:#fff !important;
  padding:8px 14px !important;
  border-radius:999px !important;
  font-size:10px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  letter-spacing:0.5px !important;
  transition:all 0.3s ease !important;
  white-space:nowrap !important;
}
.view-all-btn:hover{
  background:#0ea5e9 !important;
  transform:translateY(-2px) !important;
  box-shadow:0 6px 15px rgba(14,165,233,0.3) !important;
}
.view-all-btn i{
  font-size:9px !important;
  transition:transform 0.3s ease !important;
}
.view-all-btn:hover i{
  transform:translateX(3px) !important;
}

@media(max-width:600px){
  .view-all-btn{
    padding:7px 11px !important;
    font-size:9px !important;
  }
}

/* ===== FOG'S PUBLIC SITE — PROFESSIONAL RESPONSIVE POLISH ===== */
:root{--fogs-blue:#0798e8;--fogs-deep:#061827;--fogs-ink:#0b1f2d}
html{scroll-behavior:smooth}
body{overflow-x:hidden}
.container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.section{scroll-margin-top:76px}
.hero{isolation:isolate}
.hero::after{opacity:.16!important}
.hero-buttons a,.hero-buttons button,.view-all-btn,.new-unit-inquire{transition:transform .2s ease,box-shadow .2s ease,filter .2s ease}
.hero-buttons a:hover,.hero-buttons button:hover,.view-all-btn:hover,.new-unit-inquire:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(14,165,233,.20)}
.section-heading h2{letter-spacing:-.02em}
.new-units-section{overflow:hidden}
.new-units-toolbar{border-radius:18px!important;backdrop-filter:blur(8px)}
/* Edge-to-edge product slider */
.new-units-carousel{width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);padding:0 18px 38px!important;touch-action:pan-y;overflow:hidden}
#publicProductsGrid{width:100%;touch-action:pan-y;user-select:none;-webkit-user-select:none}
#publicProductsGrid .new-unit-card{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
.new-unit-image{height:clamp(260px,42vw,430px)!important}
.new-unit-body{max-width:1180px;margin:auto}
.new-unit-nav{opacity:.92}
.new-unit-dots{padding-top:12px}
.new-unit-dot{width:7px!important;height:7px!important;transition:all .2s ease}
.new-unit-dot.active{width:22px!important;border-radius:999px!important}
/* Reduce accidental link activation while a finger is moving */
#publicProductsGrid.is-dragging a,#publicProductsGrid.is-dragging button{pointer-events:none!important}
@media(max-width:700px){
 .container{width:calc(100% - 20px)}
 .new-units-toolbar{margin-inline:10px!important;padding:12px!important}
 .new-units-carousel{padding:0 0 34px!important}
 .new-unit-image{height:62vw!important;min-height:245px!important;max-height:330px!important}
 .new-unit-body{padding:18px 16px 20px!important}
 .new-unit-body h3{font-size:18px!important}
 .new-unit-nav{display:none!important}
}






/* =====================================================
   FOG'S MESSENGER SUCCESS POPUP
===================================================== */

#fogsMessengerSuccessPopup {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(3, 15, 30, 0.72);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

#fogsMessengerSuccessPopup.show {
    opacity: 1;
    visibility: visible;
}

.fogs-success-card {
    position: relative;

    width: min(100%, 500px);

    background: #ffffff;

    border-radius: 24px;

    padding: 34px 30px 28px;

    text-align: center;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, .30);

    transform:
        translateY(20px)
        scale(.96);

    transition:
        transform .3s ease;
}

#fogsMessengerSuccessPopup.show
.fogs-success-card {
    transform:
        translateY(0)
        scale(1);
}

.fogs-success-close {
    position: absolute;

    top: 16px;
    right: 16px;

    width: 38px;
    height: 38px;

    border: 0;
    border-radius: 50%;

    background: #f1f5f9;

    color: #64748b;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.fogs-success-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}

.fogs-success-icon {
    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ecfdf5;

    color: #16a34a;

    font-size: 32px;

    box-shadow:
        0 0 0 10px #f0fdf4;
}

.fogs-success-label {
    display: inline-block;

    margin-bottom: 8px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #16a34a;
}

.fogs-success-content h2 {
    margin: 0 0 10px;

    color: #0f172a;

    font-size: clamp(22px, 5vw, 28px);

    line-height: 1.2;
}

.fogs-success-content > p {
    margin: 0 auto 20px;

    max-width: 400px;

    color: #64748b;

    font-size: 14px;
    line-height: 1.7;
}

.fogs-success-content > p strong {
    color: #0f172a;
}

.fogs-reference-box {
    padding: 14px 16px;

    margin-bottom: 16px;

    border-radius: 14px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
}

.fogs-reference-box span {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1px;

    color: #94a3b8;
}

.fogs-reference-box strong {
    display: block;

    color: #0f172a;

    font-size: 13px;

    word-break: break-all;
}

.fogs-messenger-note {
    display: flex;

    gap: 12px;

    text-align: left;

    padding: 15px;

    margin-bottom: 20px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #f8fafc
        );

    border: 1px solid #dbeafe;
}

.fogs-messenger-note > i {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #2563eb;

    color: #ffffff;

    font-size: 21px;
}

.fogs-messenger-note strong {
    display: block;

    margin-bottom: 3px;

    color: #0f172a;

    font-size: 13px;
}

.fogs-messenger-note span {
    display: block;

    color: #64748b;

    font-size: 12px;

    line-height: 1.5;
}

.fogs-success-actions {
    display: flex;

    gap: 10px;

    flex-direction: column;
}

.fogs-messenger-btn,
.fogs-done-btn {
    width: 100%;

    min-height: 48px;

    border-radius: 13px;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.fogs-messenger-btn {
    border: 0;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #1877f2,
            #0064e0
        );

    box-shadow:
        0 8px 20px rgba(24, 119, 242, .25);
}

.fogs-messenger-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(24, 119, 242, .32);
}

.fogs-done-btn {
    border: 1px solid #e2e8f0;

    color: #475569;

    background: #ffffff;
}

.fogs-done-btn:hover {
    background: #f8fafc;
}

@media (max-width: 480px) {

    #fogsMessengerSuccessPopup {
        padding: 14px;
    }

    .fogs-success-card {
        padding: 30px 20px 22px;

        border-radius: 20px;
    }

    .fogs-success-icon {
        width: 68px;
        height: 68px;

        font-size: 28px;
    }

}






















/* THEME TOGGLE - BABA RIGHT SIDE - FIXED */
#themeToggle{
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  top: auto !important;
  left: auto !important;
  z-index: 999999 !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #111 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4) !important;
}

body.dark-mode #themeToggle,
html.dark #themeToggle{
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}

@media (max-width: 480px){
  #themeToggle{
    bottom: 20px !important;
    right: 20px !important;
    width: 46px !important;
    height: 46px !important;
  }
}









.message-dropdown{ position: relative; }
.message-logo-btn{
  width:40px; height:40px; border-radius:50%; background:#0284c7; color:#fff;
  border:none; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.message-options{
  position:absolute; top:50px; right:0; background:#fff; border-radius:10px;
  box-shadow:0 5px 20px rgba(0,0,0,0.2); padding:8px; min-width:160px;
  display:none; flex-direction:column; gap:5px; z-index:9999;
}
.message-options.show{ display:flex; }
.msg-option{
  padding:10px 12px; border-radius:6px; text-decoration:none; color:#333;
  display:flex; align-items:center; gap:8px; font-size:14px;
}
.msg-option:hover{ background:#f0f0f0; }
.msg-option.messenger i{ color:#0084FF; }
.msg-option.viber i{ color:#7360F2; }
.msg-option.whatsapp i{ color:#25D366; }




.fogs-channel-option.sms i{
  color:#0ea5e9;
}


.msg-option.sms {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.msg-option.sms i {
  color: #0ea5e9 !important;
}

.msg-option.sms:hover {
  border-color: #0ea5e9 !important;
  color: #0ea5e9 !important;
}


/* =========================================================
   MOBILE EDGE-TO-EDGE SAFETY
   Keeps the existing Firestore, Cloudinary, slider and
   Cloudflare structures untouched while removing accidental
   horizontal gaps/overflow on small screens.
========================================================= */
html,
body{
  width:100%;
  max-width:100%;
  margin:0;
  padding:0;
  overflow-x:hidden;
}

img,
video,
iframe,
svg,
canvas{
  max-width:100%;
}

@media (max-width: 768px){
  body{
    min-width:0;
  }

  main,
  header,
  footer,
  section,
  nav{
    max-width:100%;
  }

  .container,
  .section-container,
  .hero-container,
  .content-container{
    width:100%;
    max-width:100%;
  }

  /* Do not let wide cards, sliders or tables create a side gap. */
  .slider,
  .swiper,
  .swiper-container,
  .carousel,
  .products-slider,
  .product-slider{
    max-width:100%;
    width:100%;
  }

  .fogs-channel-overlay,
  #fogsMessengerSuccessPopup{
    width:100vw;
    max-width:100vw;
    left:0;
    right:0;
  }
}





/* ================================
   MESSAGE OPTIONS - DARK MODE
   ================================ */

.dark-mode .msg-option {
  background: #1e293b;
  color: #f8fafc;
  border: 1px solid #334155;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.dark-mode .msg-option span {
  color: #f8fafc;
}

.dark-mode .msg-option i {
  color: #e2e8f0;
}

/* Hover */
.dark-mode .msg-option:hover {
  background: #273449;
  border-color: #475569;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Individual channel colors */
.dark-mode .msg-option.messenger i {
  color: #0084ff;
}

.dark-mode .msg-option.viber i {
  color: #8f5db7;
}

.dark-mode .msg-option.whatsapp i {
  color: #25d366;
}

.dark-mode .msg-option.sms i {
  color: #38bdf8;
}

.dark-mode .msg-option.telegram i {
  color: #229ed9;
}

/* Hover channel colors */
.dark-mode .msg-option.messenger:hover {
  border-color: #0084ff;
}

.dark-mode .msg-option.viber:hover {
  border-color: #8f5db7;
}

.dark-mode .msg-option.whatsapp:hover {
  border-color: #25d366;
}

.dark-mode .msg-option.sms:hover {
  border-color: #38bdf8;
}

.dark-mode .msg-option.telegram:hover {
  border-color: #229ed9;
}










/* =========================================================
   MOBILE OVERRIDE — BRAND NEW UNITS TOOLBAR
   ========================================================= */

@media (max-width: 600px) {

  .new-units-toolbar {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    padding: 8px 10px !important;
    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    gap: 6px !important;
    border-radius: 0 !important;
  }

  .new-units-intro {
    min-width: 0 !important;
    flex: 1 1 auto !important;

    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .new-units-intro > i {
    flex: 0 0 auto !important;
    font-size: 17px !important;
  }

  .new-units-intro span {
    min-width: 0 !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;
  }

  .new-units-intro strong {
    font-size: 12px !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .new-units-intro small {
    font-size: 9px !important;
    line-height: 1.2 !important;

    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .new-units-toolbar > div:last-child {
    flex: 0 0 auto !important;

    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
  }

  .new-units-count {
    font-size: 9px !important;
    padding: 4px 6px !important;
    white-space: nowrap !important;
  }

  .view-all-btn {
    font-size: 9px !important;
    padding: 5px 7px !important;

    white-space: nowrap !important;

    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
  }

  .view-all-btn i {
    font-size: 8px !important;
  }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

  .new-units-toolbar {
    padding: 7px 8px !important;
    gap: 4px !important;
  }

  .new-units-intro {
    gap: 5px !important;
  }

  .new-units-intro > i {
    font-size: 15px !important;
  }

  .new-units-intro strong {
    font-size: 11px !important;
  }

  .new-units-intro small {
    font-size: 8px !important;
  }

  .new-units-count {
    display: none !important;
  }

  .view-all-btn {
    font-size: 9px !important;
    padding: 5px 6px !important;
  }
}

/* =========================================================
   DESKTOP HEADER / MESSAGE CHANNEL REPAIR
   Keeps existing HTML, slider, Firestore, Cloudinary and
   Cloudflare logic untouched.
========================================================= */
@media (min-width: 769px) {
  .header {
    height: 82px !important;
    min-height: 82px !important;
    width: 100% !important;
  }

  .nav-container {
    width: min(1180px, 92%) !important;
    height: 82px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    position: relative !important;
  }

  .logo {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    height: 82px !important;
  }

  .logo-icon img {
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: contain !important;
  }

  .logo-text strong {
    font-size: 19px !important;
    white-space: nowrap !important;
  }

  .logo-text span {
    font-size: 10px !important;
    white-space: nowrap !important;
  }

  .nav {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(13px, 1.5vw, 25px) !important;
    white-space: nowrap !important;
  }

  .nav a {
    padding: 31px 0 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  /* index.html contains a wrapper plus an inner .nav-actions.
     Keep both rows horizontal and aligned without changing HTML. */
  .nav-container > .nav-actions {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: max-content !important;
  }

  .nav-container > .nav-actions > .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: max-content !important;
  }

  .phone-logo-btn,
  .message-logo-btn,
  .theme-toggle,
  .admin-login-btn {
    flex: 0 0 auto !important;
  }

  .phone-logo-btn,
  .message-logo-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
  }

  .message-dropdown {
    position: relative !important;
    flex: 0 0 auto !important;
    width: 40px !important;
    height: 40px !important;
  }

  .message-options {
    top: calc(100% + 10px) !important;
    right: 0 !important;
    left: auto !important;
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
    padding: 8px !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    z-index: 10000 !important;
  }

  .msg-option {
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 11px !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
  }

  .admin-login-btn {
    white-space: nowrap !important;
  }
}
