/* ============================================================
   Alternative Energy Solutions — Site Styles
   Theme: fire, charcoal, amber + teal
   ============================================================ */

:root {
    --black:        #050707;
    --panel:        #0b1111;
    --teal:         #07858d;
    --teal-bright:  #08a6ad;
    --teal-dark:    #063f43;
    --amber:        #f5a623;
    --amber-light:  #ffc04b;
    --white:        #f7f8f6;
    --muted:        #b5bfbc;
    --line:         #293332;
    --light-bg:     #f2f4f1;
    --light-text:   #101817;
    --light-muted:  #5c6864;
    --light-line:   #dce2de;
    --display:      'Libre Baskerville', Georgia, 'Times New Roman', serif;
    --body:         'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --radius:       6px;
    --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md:    0 12px 30px rgba(0, 0, 0, 0.18);
    --shadow-lg:    0 20px 50px rgba(0, 0, 0, 0.35);
    --transition:   0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--white);
    background: var(--black);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.container.narrow {
    width: min(820px, calc(100% - 48px));
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 {
    font-family: var(--display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: inherit;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 10px; }
h4 { font-size: 1.05rem; margin-bottom: 10px; }

p { margin-bottom: 14px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.19em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 2px;
    background: var(--teal-bright);
}

.eyebrow.center { display: flex; justify-content: center; }

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    height: 120px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Homepage — transparent header, fire from hero shows through */
.header-home {
    background: linear-gradient(180deg, rgba(5, 7, 7, 0.75) 0%, rgba(5, 7, 7, 0.15) 100%);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Inner pages — fire image bottom slice, subtle warm left-to-right gradient */
.header-inner {
    background:
        linear-gradient(90deg, rgba(5, 7, 7, 0.5) 0%, rgba(5, 7, 7, 0.85) 60%, rgba(5, 7, 7, 0.95) 100%),
        url('/assets/images/charcoal-fire.jpg') center bottom / cover no-repeat;
    background-color: var(--black);
}

.header-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    height: 100%;
}

.brand {
    display: block;
    flex: 0 0 auto;
    height: 120px;
    display: flex;
    align-items: center;
}

.brand img {
    width: auto;
    height: 120px;
    max-width: none;
    object-fit: contain;
    object-position: left center;
    display: block;
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(14px, 1.8vw, 28px);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.main-nav a:not(.nav-quote) {
    color: #e4e8e6;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.main-nav a:not(.nav-quote)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background: var(--amber);
    transition: right var(--transition);
}

.main-nav a:not(.nav-quote):hover::after,
.main-nav a.active::after {
    right: 0;
}

.main-nav a.active { color: var(--amber); }

.nav-quote {
    background: var(--amber);
    color: #15120c !important;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 700;
    white-space: nowrap;
    transition: background var(--transition), transform var(--transition);
}

.nav-quote:hover {
    background: var(--amber-light);
    transform: translateY(-2px);
    color: #15120c !important;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
    position: relative;
    min-height: 720px;
    height: min(850px, 100vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #050707 url('/assets/images/charcoal-fire.jpg') center 30% / cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 5, 5, 0.92) 0%, rgba(2, 5, 5, 0.75) 35%, rgba(2, 5, 5, 0.35) 65%, rgba(2, 5, 5, 0.1) 100%),
        linear-gradient(0deg, rgba(2, 5, 5, 0.55), transparent 45%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 120px;
    padding-bottom: 60px;
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
}

.hero h1 em {
    font-style: normal;
    color: var(--teal-bright);
    display: block;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #d4dcda;
    max-width: 620px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: var(--radius);
    font-family: var(--body);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    min-height: 52px;
}

.btn-primary {
    background: var(--amber);
    color: #15120c;
}

.btn-primary:hover {
    background: var(--amber-light);
    color: #15120c;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1eb355;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(4, 6, 6, 0.4);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
    border-color: var(--amber);
    background: rgba(5, 7, 7, 0.7);
    color: #fff;
}

.btn-full { width: 100%; }

.btn-mini {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: transparent;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-mini:hover {
    background: var(--amber);
    color: #15120c;
    border-color: var(--amber);
}

.btn-mini.btn-danger { color: #f08484; border-color: #6b2a2a; }
.btn-mini.btn-danger:hover { background: #6b2a2a; color: #fff; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
    position: relative;
    padding: 80px 0 70px;
    background:
        linear-gradient(180deg, rgba(5, 7, 7, 0.6) 0%, rgba(5, 7, 7, 0.9) 100%),
        url('/assets/images/charcoal-fire.jpg') center 40% / cover no-repeat;
    background-color: var(--black);
    text-align: center;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin-bottom: 14px;
}

.page-hero .hero-sub {
    margin: 0 auto 24px;
    max-width: 620px;
    color: #c9d2d0;
}

.page-hero.with-img {
    padding: 120px 0 100px;
    background-size: cover;
    background-position: center;
}

.page-hero.with-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 7, 7, 0.55) 0%, rgba(5, 7, 7, 0.85) 100%);
    z-index: 0;
}

.page-hero.with-img .container { position: relative; z-index: 1; }

/* ============================================================
   SECTIONS
   ============================================================ */

.section { padding: 90px 0; }

/* Dark sections (default) */
.section-dark {
    background: var(--black);
    color: var(--white);
}

.section-dark h2 { color: #fff; }
.section-dark p { color: var(--muted); }

/* Light sections */
.section-light,
.section-intro,
.section-services,
.section-why,
.section-compare,
.section-split,
.section-faq {
    background: var(--light-bg);
    color: var(--light-text);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4,
.section-intro h2,
.section-services h2,
.section-why h2,
.section-compare h2,
.section-split h3,
.section-faq h2 {
    color: var(--light-text);
}

.section-light .eyebrow,
.section-intro .eyebrow,
.section-services .eyebrow,
.section-why .eyebrow,
.section-faq .eyebrow {
    color: #8c5a08;
}

.section-light .eyebrow::before,
.section-intro .eyebrow::before,
.section-services .eyebrow::before,
.section-why .eyebrow::before,
.section-faq .eyebrow::before {
    background: var(--teal);
}

.section-light p,
.section-intro p,
.section-services p,
.section-why p,
.section-faq p {
    color: var(--light-muted);
}

.section h2.center { text-align: center; margin-bottom: 40px; }

/* ============================================================
   SERVICE GRID / CARDS
   ============================================================ */

.service-grid,
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--light-line);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    color: inherit;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 42px rgba(10, 34, 16, 0.12);
    color: inherit;
}

.service-img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.service-body {
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-body h3 {
    font-family: var(--display);
    font-size: 1.3rem;
    color: var(--teal-dark);
    margin-bottom: 10px;
}

.service-body p {
    color: var(--light-muted);
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 16px;
}

.service-link {
    color: #a66a00;
    font-weight: 700;
    font-size: 0.82rem;
    border-top: 1px solid var(--light-line);
    padding-top: 14px;
    margin-top: auto;
}

/* ============================================================
   WHY GRID
   ============================================================ */

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.why-item {
    background: #fff;
    padding: 26px;
    border-radius: 4px;
    border-left: 4px solid var(--amber);
    box-shadow: var(--shadow-sm);
}

.why-item h4 {
    color: var(--teal-dark);
    margin-bottom: 8px;
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 700;
}

.why-item p {
    color: var(--light-muted);
    margin: 0;
    font-size: 0.9rem;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.faq-list details {
    background: #fff;
    border: 1px solid var(--light-line);
    border-radius: 4px;
    padding: 18px 22px;
    transition: box-shadow var(--transition);
}

.faq-list details[open] { box-shadow: var(--shadow-sm); }

.faq-list summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--teal-dark);
    list-style: none;
    position: relative;
    padding-right: 30px;
    font-family: var(--body);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: var(--amber);
    font-weight: 400;
    transition: transform var(--transition);
}

.faq-list details[open] summary::after { content: '−'; }

.faq-list p {
    margin: 14px 0 0;
    color: var(--light-muted);
}

.faq-cta { text-align: center; margin-top: 30px; }

/* ============================================================
   COMPARISON TABLE
   ============================================================ */

.compare-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-line);
    font-size: 0.92rem;
}

.compare-table th {
    background: var(--teal-dark);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: var(--light-bg); }

/* ============================================================
   STEPS / BENEFITS LISTS
   ============================================================ */

.steps-list {
    counter-reset: step;
    list-style: none;
    margin-left: 0;
}

.steps-list li {
    counter-increment: step;
    padding-left: 56px;
    position: relative;
    margin-bottom: 18px;
    color: var(--light-muted);
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.benefits-list { list-style: none; margin-left: 0; }

.benefits-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 12px;
    color: var(--light-muted);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--amber);
    font-weight: 700;
    font-size: 18px;
}

.benefits-list strong { color: var(--light-text); }

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */

.split-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.split-item.reverse { direction: rtl; }
.split-item.reverse > * { direction: ltr; }

.split-img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    box-shadow: var(--shadow-md);
}

.split-text h3 {
    color: var(--teal-dark);
    margin-bottom: 14px;
}

.split-text p { color: var(--light-muted); }

/* ============================================================
   CTA BAND
   ============================================================ */

.cta-band {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(5, 7, 7, 0.9) 0%, rgba(6, 63, 67, 0.85) 100%),
        url('/assets/images/charcoal-fire.jpg') center / cover no-repeat;
    background-color: var(--black);
}

.cta-band h2 { color: #fff; margin-bottom: 24px; }

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   GALLERY
   ============================================================ */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.gallery-item {
    background: #fff;
    border: 1px solid var(--light-line);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.gallery-item figcaption { padding: 20px; }

.gallery-item h4 {
    color: var(--teal-dark);
    margin-bottom: 6px;
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
}

.gallery-item p { color: var(--light-muted); margin: 0; font-size: 0.88rem; }

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2,
.contact-form-wrap h2 {
    color: var(--teal-dark);
    margin-bottom: 22px;
}

.contact-list {
    list-style: none;
    margin: 0 0 28px;
}

.contact-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--light-line);
    color: var(--light-muted);
}

.contact-list li:last-child { border-bottom: none; }
.contact-list strong { color: var(--light-text); }

.contact-form,
.quote-form,
.user-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form label,
.quote-form label,
.user-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    color: var(--light-text);
    font-size: 0.92rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--light-line);
    border-radius: 4px;
    font-family: var(--body);
    font-size: 0.95rem;
    background: #fff;
    color: var(--light-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13, 138, 148, 0.15);
}

textarea { resize: vertical; min-height: 110px; }

.form-status {
    margin-top: 8px;
    font-size: 0.9rem;
    min-height: 22px;
}

.form-status.success { color: #1f7a3f; font-weight: 600; }
.form-status.error { color: #b32424; font-weight: 600; }
.form-error { color: #b32424; font-weight: 600; margin-bottom: 14px; }

/* ============================================================
   VALUES LIST (about page)
   ============================================================ */

.values-list { list-style: none; margin-left: 0; }

.values-list li {
    padding: 14px 0 14px 30px;
    position: relative;
    border-bottom: 1px solid var(--light-line);
    color: var(--light-muted);
}

.values-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--amber);
}

.values-list strong { color: var(--light-text); }

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: var(--black);
    color: var(--muted);
    padding: 70px 0 24px;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 46px;
    margin-bottom: 46px;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 12px;
}

.footer-col ul { list-style: none; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--muted);
    font-size: 0.9rem;
}
.footer-col a:hover { color: var(--amber); }

.footer-member {
    margin-top: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--amber);
    border-radius: 4px;
    font-size: 0.82rem;
    color: var(--muted);
}

.footer-member a {
    color: var(--amber);
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    text-align: center;
    font-size: 0.8rem;
    color: #73807c;
}

.footer-bottom .admin-link {
    color: inherit;
    text-decoration: none;
    cursor: default;
}

.footer-bottom .admin-link:hover {
    color: inherit;
    text-decoration: none;
}

/* ============================================================
   ADMIN PANEL (kept on light background — no retheme here)
   ============================================================ */

.admin-body {
    background: #f0f4f5;
    color: var(--light-text);
}

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--teal-dark), var(--teal));
}

.login-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 420px;
    color: var(--light-text);
}

.login-logo { height: 60px; display: block; margin: 0 auto 24px; }

.login-card h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    color: var(--light-text);
}

.login-card form { display: flex; flex-direction: column; gap: 16px; }

.login-back { text-align: center; margin-top: 18px; font-size: 0.85rem; }

.admin-header {
    background: var(--teal-dark);
    color: #fff;
    padding: 14px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header-inner {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 700;
}
.admin-brand img { height: 36px; }

.admin-nav { display: flex; gap: 4px; flex: 1; }
.admin-nav a {
    padding: 8px 14px;
    color: #c9e6e8;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}
.admin-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.admin-nav a.active { background: rgba(255, 255, 255, 0.15); color: #fff; }

.admin-user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: #c9e6e8;
}

.admin-main { padding: 30px 0 60px; }

.admin-container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.admin-container h1 { font-size: 1.75rem; margin-bottom: 6px; color: var(--light-text); }
.admin-lede { color: var(--light-muted); margin-bottom: 30px; }

.admin-notice {
    background: #e0f4e2;
    border-left: 4px solid #1f7a3f;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: #1f7a3f;
    font-weight: 600;
}

.admin-empty {
    color: var(--light-muted);
    padding: 30px;
    text-align: center;
    background: #fff;
    border-radius: var(--radius);
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--light-text);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--light-text);
}

.stat-num { font-size: 2.25rem; font-weight: 700; color: var(--teal-dark); line-height: 1; }
.stat-lbl { color: var(--light-muted); font-size: 0.85rem; }

.stat-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--amber);
    color: #15120c;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.admin-section { margin-bottom: 40px; }
.admin-section h2 { font-size: 1.35rem; margin-bottom: 16px; color: var(--teal-dark); }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--light-line);
    font-size: 0.88rem;
    color: var(--light-text);
}

.admin-table th {
    background: var(--teal-dark);
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.admin-table tr:last-child td { border-bottom: none; }

.row-actions { display: flex; gap: 8px; align-items: center; }
.inline-form { display: inline; }

.quote-list { display: flex; flex-direction: column; gap: 16px; }

.quote-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    border-left: 4px solid transparent;
    color: var(--light-text);
}

.quote-card.is-new { border-left-color: var(--amber); }

.quote-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--light-line);
    flex-wrap: wrap;
}

.quote-head h3 { margin: 0; font-size: 1.15rem; color: var(--light-text); }
.quote-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.quote-body p { font-size: 0.88rem; margin-bottom: 6px; color: var(--light-text); }
.muted { color: var(--light-muted); font-size: 0.82rem; }

.perms-fieldset {
    border: 1px solid var(--light-line);
    border-radius: 8px;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.perms-fieldset legend {
    padding: 0 8px;
    font-weight: 700;
    color: var(--teal-dark);
    font-size: 0.85rem;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--light-text);
}

.form-actions { display: flex; gap: 12px; align-items: center; }

/* Admin buttons keep original styling */
.admin-body .btn-primary {
    background: var(--teal-dark);
    color: #fff;
}
.admin-body .btn-primary:hover {
    background: #052e31;
    color: #fff;
}
.admin-body .btn-mini {
    border-color: var(--light-line);
    color: var(--light-text);
}
.admin-body .btn-mini:hover {
    background: var(--teal-dark);
    color: #fff;
    border-color: var(--teal-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1050px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-item { grid-template-columns: 1fr; gap: 24px; }
    .split-item.reverse { direction: ltr; }
    .brand { height: 120px; }
    .brand img { height: 110px; width: auto;}
    .main-nav { font-size: 0.78rem; gap: 14px; }
    .nav-quote { padding: 10px 14px; }
}

@media (max-width: 800px) {
    .site-header { height: 90px; }
    .header-inner-wrap { gap: 16px; }
    .brand { height: 90px; }
    .brand img { height: 80px; width: auto; }

    .nav-toggle { display: block; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px 24px 22px;
        background: rgba(5, 7, 7, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow-md);
    }

    .main-nav.open { display: flex; }

    .main-nav a:not(.nav-quote) { padding: 14px 4px; font-size: 0.95rem; }
    .main-nav a:not(.nav-quote)::after { display: none; }
    .nav-quote { margin-top: 12px; text-align: center; padding: 14px; }

    .hero {
        min-height: 620px;
        height: auto;
        padding: 100px 0 80px;
        background-position: 65% center;
    }

    .hero-content { padding-top: 40px; padding-bottom: 20px; }
    .hero h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); }
    .hero-sub { font-size: 1rem; }
    .hero-actions { flex-direction: column; align-items: stretch; max-width: 380px; }
    .hero-actions .btn { width: 100%; }

    .page-hero { padding: 60px 0 50px; }
    .page-hero.with-img { padding: 80px 0 70px; }

    .section { padding: 60px 0; }
    .section h2.center { margin-bottom: 30px; }

    .container { width: min(100% - 32px, 560px); }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 18px;
        right: 18px;
    }
}

@media (max-width: 480px) {
    .brand { height: 78px; }
    .brand img { height: 68px; width: auto; }

    .hero h1 { font-size: 2.1rem; }
    .eyebrow { font-size: 0.62rem; letter-spacing: 0.14em; }

    .service-card,
    .gallery-item {
        border-radius: 0;
    }

    .stat-num { font-size: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   SAFETY OVERRIDES — ensure text is readable on dark backgrounds
   ============================================================ */

/* Any element inside a dark section inherits light text */
.section-dark,
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark p,
.section-dark li,
.section-dark span,
.section-dark label,
.section-dark strong,
.section-dark small,
.section-dark div {
    color: var(--white);
}

.section-dark p,
.section-dark li,
.section-dark span,
.section-dark small {
    color: var(--muted);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark strong {
    color: var(--white);
}

/* Page hero (always dark) */
.page-hero h1,
.page-hero h2,
.page-hero h3,
.page-hero h4 {
    color: #fff;
}

.page-hero p,
.page-hero .hero-sub {
    color: #d4dcda;
}

.page-hero a {
    color: var(--amber);
}

/* Hero section (homepage) */
.hero h1,
.hero p,
.hero .hero-sub {
    color: #fff;
}

.hero .hero-sub {
    color: #d4dcda;
}

/* CTA band (dark, fire background) */
.cta-band h1,
.cta-band h2,
.cta-band h3,
.cta-band p {
    color: #fff;
}

.cta-band p {
    color: #d4dcda;
}

/* Header nav — always light on dark background */
.site-header .main-nav a:not(.nav-quote),
.site-header .brand-text {
    color: #e4e8e6;
}

.site-header .main-nav a.active {
    color: var(--amber);
}

/* Footer — always light */
.site-footer,
.site-footer p,
.site-footer li,
.site-footer span,
.site-footer small,
.site-footer div,
.site-footer .footer-bottom {
    color: var(--muted);
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4 {
    color: #fff;
}

.site-footer a {
    color: var(--muted);
}

.site-footer a:hover {
    color: var(--amber);
}

.footer-member,
.footer-member a {
    color: var(--muted);
}

.footer-member a {
    color: var(--amber);
    font-weight: 700;
}

/* Solution/service cards in LIGHT sections — enforce dark text */
.section-light .service-body,
.section-services .service-body,
.solution-grid .service-body {
    color: var(--light-text);
}

.section-light .service-body h3,
.section-services .service-body h3,
.solution-grid .service-body h3 {
    color: var(--teal-dark);
}

.section-light .service-body p,
.section-services .service-body p,
.solution-grid .service-body p {
    color: var(--light-muted);
}

/* Why items — dark text */
.why-item h4,
.why-item p {
    color: var(--light-text);
}

.why-item p {
    color: var(--light-muted);
}

/* FAQ items in light sections */
.section-faq .faq-list summary,
.section-light .faq-list summary {
    color: var(--teal-dark);
}

.section-faq .faq-list p,
.section-light .faq-list p {
    color: var(--light-muted);
}

/* Comparison table in light section */
.section-compare .compare-table td {
    color: var(--light-text);
}

/* Split text in light sections */
.section-split .split-text h3 {
    color: var(--teal-dark);
}

.section-split .split-text p {
    color: var(--light-muted);
}

/* Contact section text */
.contact-info h2,
.contact-form-wrap h2 {
    color: var(--teal-dark);
}

.contact-list strong {
    color: var(--light-text);
}

.contact-list li {
    color: var(--light-muted);
}

/* Form labels in light sections */
.contact-form label,
.quote-form label {
    color: var(--light-text);
}

/* About page values list */
.values-list li {
    color: var(--light-muted);
}

.values-list strong {
    color: var(--light-text);
}

/* Buttons that appear on dark backgrounds — ensure visible */
.section-dark .btn-primary,
.hero .btn-primary,
.page-hero .btn-primary,
.cta-band .btn-primary {
    color: #15120c;
}

/* Ensure admin stays light-themed */
.admin-body,
.admin-body h1,
.admin-body h2,
.admin-body h3,
.admin-body h4,
.admin-body p,
.admin-body label,
.admin-body div,
.admin-body span {
    color: var(--light-text);
}

.admin-body .admin-lede,
.admin-body .muted {
    color: var(--light-muted);
}