
:root {
    --primary-color: #0b1f2e;
    --primary-light: #16374d;
    --primary-deep: #071420;
    --accent-copper: #c1652f;
    --accent-copper-hover: #a44f22;
    --accent-teal: #0e8f7f;
    --accent-teal-light: #1ec4ac;
    --text-dark: #1c2530;
    --text-gray: #51606c;
    --text-light: #8798a3;
    --bg-light: #f3f6f7;
    --bg-white: #ffffff;
    --border-color: #e2e8ec;

    --shadow-sm: 0 1px 2px 0 rgba(9, 22, 33, 0.06);
    --shadow-md: 0 6px 16px -4px rgba(9, 22, 33, 0.14), 0 2px 6px -2px rgba(9, 22, 33, 0.08);
    --shadow-lg: 0 20px 40px -10px rgba(9, 22, 33, 0.22), 0 6px 12px -4px rgba(9, 22, 33, 0.1);

    --transition-speed: 0.25s;
    --font-stack: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-stack);
    color: var(--text-gray);
    line-height: 1.7;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { color: var(--primary-color); font-weight: 800; line-height: 1.2; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
a { color: var(--accent-copper); text-decoration: none; transition: color var(--transition-speed); }
a:hover { color: var(--accent-copper-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* Eyebrow / kicker label */
.eyebrow { display: inline-block; background: rgba(193, 101, 47, 0.1); color: var(--accent-copper); padding: 6px 16px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow.on-dark { background: rgba(255, 255, 255, 0.12); color: var(--accent-teal-light); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; background-color: var(--accent-copper); color: var(--bg-white); padding: 13px 30px; font-size: 1rem; font-weight: 700; border-radius: 8px; transition: all var(--transition-speed); cursor: pointer; border: none; box-shadow: var(--shadow-sm); }
.btn:hover { background-color: var(--accent-copper-hover); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--bg-white); }
.btn-outline { background-color: transparent; border: 2px solid var(--accent-copper); color: var(--accent-copper); padding: 11px 28px; }
.btn-outline:hover { background-color: var(--accent-copper); color: var(--bg-white); }
.btn-invert { background-color: var(--bg-white); color: var(--primary-color); }
.btn-invert:hover { background-color: var(--accent-teal-light); color: var(--bg-white); }

/* Top contact bar */
.topbar { background-color: var(--primary-deep); color: #c3d1d8; padding: 9px 0; font-size: 0.85rem; }
.topbar-inner { display: flex; justify-content: flex-end; align-items: center; gap: 28px; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; color: #c3d1d8; font-weight: 600; }
.topbar-item svg { width: 14px; height: 14px; color: var(--accent-teal-light); flex-shrink: 0; }
.topbar-item:hover { color: var(--accent-teal-light); }
@media (max-width: 768px) { .topbar { display: none; } }

/* Header & Nav */
header { background-color: var(--primary-color); color: var(--bg-white); padding: 18px 0; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-md); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 22px; font-weight: 800; color: var(--bg-white); letter-spacing: -0.5px; display: flex; align-items: center; gap: 10px; }
.logo:hover { color: var(--bg-white); }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; background: rgba(30, 196, 172, 0.15); flex-shrink: 0; }
.logo-mark svg { width: 19px; height: 19px; fill: var(--accent-teal-light); }
.logo-text em { font-style: normal; color: var(--accent-copper); }
nav ul { list-style: none; display: flex; gap: 30px; align-items: center; }
nav a { color: #dbe4e8; font-weight: 600; font-size: 0.92rem; }
nav a:hover { color: var(--accent-teal-light); }

/* Mobile Menu */
.menu-toggle { display: none; background: none; border: none; color: white; font-size: 26px; cursor: pointer; line-height: 1; }
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary-light); padding: 20px 24px; box-shadow: var(--shadow-lg); border-top: 1px solid rgba(255,255,255,0.1); gap: 14px; }
    nav ul.active { display: flex; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-color) 55%, var(--primary-light) 100%); color: var(--bg-white); padding: 90px 0 110px; text-align: center; position: relative; overflow: hidden; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { font-size: 3.2rem; margin-bottom: 22px; color: var(--bg-white); max-width: 900px; margin-left: auto; margin-right: auto; }
.hero h1 span { color: var(--accent-teal-light); }
.hero p { font-size: 1.2rem; margin-bottom: 36px; color: #c3d1d8; max-width: 700px; margin-left: auto; margin-right: auto; font-weight: 400; }
.hero-stats { display: flex; justify-content: center; gap: 40px; margin-top: 55px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-value { display: block; font-size: 2.3rem; font-weight: 800; color: var(--accent-teal-light); margin-bottom: 4px; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #93a7b1; }

/* Sections */
.section { padding: 80px 0; background-color: var(--bg-white); }
.section-alt { background-color: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 55px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title { font-size: 2.3rem; margin-bottom: 16px; position: relative; padding-bottom: 18px; }
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 4px; background-color: var(--accent-copper); border-radius: 2px; }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); }

/* Image frame (unified cover-cropped image container, used for cards + content images) */
.img-frame { position: relative; width: 100%; padding-top: 66%; border-radius: 14px; overflow: hidden; background: var(--bg-light); box-shadow: var(--shadow-md); }
.img-frame img, .img-frame amp-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.card:hover .img-frame img, .card:hover .img-frame amp-img { transform: scale(1.06); }

/* Grid & Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 36px; }
.card { background: var(--bg-white); border-radius: 14px; box-shadow: var(--shadow-md); overflow: hidden; transition: transform var(--transition-speed), box-shadow var(--transition-speed); border: 1px solid var(--border-color); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-content { padding: 28px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--text-gray); margin-bottom: 0; }

/* Icon badge */
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(14, 143, 127, 0.1); color: var(--accent-teal); flex-shrink: 0; }
.icon-badge svg { width: 22px; height: 22px; }
.card-content .icon-badge { margin-bottom: 14px; }

/* Features List */
.features-list { list-style: none; margin-top: 26px; }
.features-list li { position: relative; padding-left: 30px; margin-bottom: 15px; font-size: 1.02rem; color: var(--text-dark); }
.features-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--accent-teal); font-weight: bold; font-size: 1.15rem; }

/* Content Grid (50/50 layout) */
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 992px) { .content-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Badges */
.badge-group { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-light); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 0.85rem; color: var(--primary-color); }
.badge svg { width: 15px; height: 15px; color: var(--accent-teal); }

/* Callout */
.callout { background: var(--bg-light); border-left: 4px solid var(--accent-copper); padding: 20px 24px; border-radius: 0 10px 10px 0; margin: 28px 0; }
.callout strong { color: var(--primary-color); }

/* Contact rows */
.contact-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-label { display: block; font-size: 0.8rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-value { display: block; font-size: 1.02rem; color: var(--text-dark); font-weight: 700; }

/* Dark info panel (used on province/contact pages) */
.info-panel { background: var(--primary-color); color: var(--bg-white); padding: 28px; border-radius: 14px; margin-bottom: 28px; }
.info-panel h3 { color: var(--accent-teal-light); margin-bottom: 18px; font-size: 1.15rem; }
.info-panel .contact-label { color: #9fb3bf; }
.info-panel .contact-value { color: #fff; }
.info-panel .icon-badge { background: rgba(255,255,255,0.12); color: var(--accent-teal-light); }

.card-panel { max-width: 620px; margin: 0 auto; background: var(--bg-white); padding: 46px; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border-color); }
.card-panel h3 { font-size: 1.6rem; margin-bottom: 26px; text-align: center; }

/* Process steps */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.step { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 14px; padding: 30px 26px; position: relative; }
.step-num { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-color); color: var(--accent-teal-light); display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 18px; font-size: 1.1rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: 0.95rem; margin-bottom: 0; }

/* Timeline */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 32px; border-left: 3px solid var(--border-color); }
.timeline-item { position: relative; margin-bottom: 34px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -41.5px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent-copper); border: 3px solid var(--bg-white); box-shadow: 0 0 0 2px var(--accent-copper); }
.timeline-year { display: inline-block; font-weight: 800; color: var(--primary-color); margin-bottom: 6px; font-size: 1.05rem; }
.timeline-item p { margin-bottom: 0; }

/* Value grid */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.value-item { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 14px; padding: 30px 26px; box-shadow: var(--shadow-sm); }
.value-item h3 { margin-bottom: 8px; }
.value-item p { margin-bottom: 0; font-size: 0.95rem; }

/* Comparison table */
.table-scroll { overflow-x: auto; border-radius: 14px; box-shadow: var(--shadow-md); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg-white); min-width: 640px; }
.compare-table th, .compare-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border-color); font-size: 0.92rem; }
.compare-table thead th { background: var(--primary-color); color: #fff; font-weight: 700; }
.compare-table tbody th { color: var(--primary-color); font-weight: 700; background: var(--bg-light); white-space: nowrap; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }
.compare-table .cell-electric { color: var(--accent-teal); font-weight: 700; }
.compare-table .cell-diesel { color: var(--text-gray); }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 12px; padding: 18px 22px; margin-bottom: 14px; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--primary-color); font-size: 1.02rem; list-style: none; position: relative; padding-right: 34px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: -2px; font-size: 1.5rem; color: var(--accent-copper); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding-top: 14px; color: var(--text-gray); }
.faq-answer p { margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb { padding-bottom: 24px; font-size: 0.85rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; color: var(--text-light); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 8px; color: var(--text-light); }
.breadcrumb a { color: var(--text-gray); font-weight: 600; }
.breadcrumb a:hover { color: var(--accent-copper); }

/* CTA Banner */
.cta-banner { background: linear-gradient(120deg, var(--primary-deep), var(--primary-light)); color: #fff; padding: 64px 0; }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: 1.9rem; margin-bottom: 8px; }
.cta-banner p { color: #c3d1d8; margin-bottom: 0; max-width: 600px; }
@media (max-width: 768px) { .cta-banner-inner { flex-direction: column; text-align: center; } }

/* Provinces Grid */
.provinces-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.province-card { background: var(--bg-white); border: 1px solid var(--border-color); padding: 16px; text-align: center; border-radius: 10px; color: var(--text-dark); font-weight: 700; transition: all var(--transition-speed); display: flex; align-items: center; justify-content: center; }
.province-card:hover { background: var(--primary-color); color: var(--bg-white); border-color: var(--primary-color); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Footer */
footer { background-color: var(--primary-color); color: var(--bg-light); padding: 60px 0 30px; border-top: 4px solid var(--accent-copper); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--bg-white); font-size: 1.15rem; margin-bottom: 20px; }
.footer-logo { margin-bottom: 20px; }
.footer-col p { color: #9ca7ae; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #9ca7ae; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-teal-light); padding-left: 5px; }
.footer-contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: #9ca7ae; }
.footer-contact-row .icon-badge { width: 34px; height: 34px; background: rgba(255,255,255,0.08); color: var(--accent-teal-light); }
.footer-contact-row .icon-badge svg { width: 17px; height: 17px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); color: #6b7b84; font-size: 0.88rem; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; width: 58px; height: 58px; bottom: 28px; right: 28px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; box-shadow: 2px 2px 12px rgba(0,0,0,0.25); z-index: 100; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; fill: currentColor; }

/* Footer Provinces */
.footer-provinces { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px; padding-top: 40px; position: relative; }
.provinces-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; list-style: none; margin-bottom: 0; }
.provinces-list-spaced { margin-top: 20px; }
.provinces-list a { color: #9ca7ae; font-size: 0.88rem; transition: color 0.3s; }
.provinces-list a:hover { color: var(--accent-teal-light); text-decoration: underline; }
details.provinces-details { position: relative; }
details.provinces-details summary { cursor: pointer; color: var(--accent-teal-light); font-weight: bold; font-size: 1.15rem; text-transform: uppercase; outline: none; display: inline-block; padding: 5px 0; list-style: none; }
details.provinces-details summary::-webkit-details-marker { display: none; }
details.provinces-details ul { position: absolute; bottom: 100%; left: 0; right: 0; background: var(--primary-light); padding: 20px; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; box-shadow: 0 -10px 30px rgba(0,0,0,0.5); z-index: 1000; max-height: 400px; overflow-y: auto; margin-bottom: 10px; }

@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
    .section { padding: 56px 0; }
    .section-title { font-size: 1.8rem; }
    .card-panel { padding: 30px 22px; }
}
