/* ===========================
   RESET & BASE
   =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #333;
    line-height: 1.6;
    background: #fff;
}

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

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   ADVERTORIAL BAR
   =========================== */
.advertorial-bar {
    background: #fff;
    text-align: center;
    padding: 7px 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #999;
    border-bottom: 1px solid #e8e8e8;
}

/* ===========================
   HEADER
   =========================== */
header {
    background: #fff;
    padding: 14px 0;
    border-bottom: 1px solid #ebebeb;
}

.header-inner {
    display: flex;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #e05a2b;
    text-decoration: none;
}

.logo-icon { flex-shrink: 0; }

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #e05a2b;
    letter-spacing: -0.3px;
}

.logo-tld { color: #e05a2b; }

/* ===========================
   HERO
   =========================== */
.hero {
    min-height: 500px;
    /* Replace the url() value with your own solar panel rooftop image */
    background-image:
        linear-gradient(rgba(20, 45, 12, 0.52), rgba(12, 32, 8, 0.68)),
        url('../images/hero.jpg');
    background-color: #2a4520;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.hero .container { width: 100%; }

.hero-overlay {
    width: 100%;
    padding: 64px 24px 60px;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 2.9rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

/* ===========================
   POSTAL CARD
   =========================== */
.postal-card {
    background: #fff;
    border-radius: 10px;
    padding: 28px 34px 24px;
    max-width: 540px;
    margin: 0 auto 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.22);
}

.postal-label {
    color: #444;
    font-size: 0.97rem;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.postal-form-row {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.postal-inputs {
    display: flex;
    gap: 14px;
    align-items: flex-end;
}

.digit-input {
    width: 40px;
    height: 44px;
    border: none;
    border-bottom: 2px solid #ccc;
    background: transparent;
    text-align: center;
    font-size: 1.45rem;
    font-weight: 600;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

.digit-input:focus { border-bottom-color: #2563eb; }

.digit-input::placeholder {
    color: #ccc;
    font-size: 1.1rem;
    font-weight: 400;
}

.btn-continue {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 28px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    white-space: nowrap;
}

.btn-continue:hover  { background: #1d4ed8; }
.btn-continue:active { transform: scale(0.98); }

.postal-error {
    color: #dc2626;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 10px;
    display: none;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    margin-top: 4px;
}

/* ===========================
   FEATURES SECTION
   =========================== */
.features {
    padding: 62px 0 56px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 40px;
    text-align: center;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 68px;
    height: 68px;
    background: #e05a2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.65rem;
    flex-shrink: 0;
}

.feature-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.65;
}

.feature-item p strong,
.feature-item p a {
    color: #e05a2b;
    font-weight: 600;
}

/* ===========================
   DISCLAIMER SECTION
   =========================== */
.disclaimer-section {
    background: #f8f8f8;
    border-top: 1px solid #ececec;
    padding: 32px 0 40px;
}

.disclaimer-box {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-box h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: #aaa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.disclaimer-box p {
    font-size: 0.77rem;
    color: #aaa;
    line-height: 1.8;
}

.disclaimer-box a {
    color: #e05a2b;
    text-decoration: underline;
}

/* ===========================
   FOOTER
   =========================== */
footer {
    background: #fff;
    border-top: 1px solid #ebebeb;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 36px 24px 28px;
    gap: 40px;
}

.footer-brand { max-width: 290px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 0.84rem;
    color: #777;
    line-height: 1.55;
    margin-top: 6px;
}

.footer-nav {
    display: flex;
    gap: 64px;
    flex-shrink: 0;
}

.footer-col h4 {
    font-size: 0.94rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 9px; }

.footer-col ul li a {
    font-size: 0.86rem;
    color: #666;
    transition: color 0.18s;
}

.footer-col ul li a:hover { color: #e05a2b; }

.footer-bottom {
    border-top: 1px solid #ececec;
    padding: 13px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    font-size: 0.79rem;
    color: #999;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.79rem;
    color: #999;
    transition: color 0.18s;
}

.footer-links a:hover { color: #e05a2b; }

.footer-links span { color: #ccc; }

/* ===========================
   INNER PAGES
   =========================== */
.page-hero {
    background: #f6f6f6;
    padding: 44px 0 32px;
    border-bottom: 1px solid #e8e8e8;
}

.page-hero h1 {
    font-size: 1.95rem;
    font-weight: 800;
    color: #1a1a1a;
}

.page-hero .page-meta {
    font-size: 0.84rem;
    color: #999;
    margin-top: 6px;
}

.page-body {
    padding: 52px 24px 72px;
    max-width: 820px;
    margin: 0 auto;
}

.page-body h2 {
    font-size: 1.22rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 34px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #f0f0f0;
}

.page-body h2:first-child { margin-top: 0; }

.page-body p {
    font-size: 0.94rem;
    color: #444;
    line-height: 1.78;
    margin-bottom: 14px;
}

.page-body ul, .page-body ol {
    padding-left: 22px;
    margin-bottom: 16px;
}

.page-body li {
    font-size: 0.94rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 6px;
}

.page-body a {
    color: #e05a2b;
    text-decoration: underline;
}

.page-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    margin: 18px 0 24px;
}

.page-body th {
    background: #f4f4f4;
    border: 1px solid #ddd;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: #333;
}

.page-body td {
    border: 1px solid #e4e4e4;
    padding: 9px 14px;
    color: #555;
    vertical-align: top;
}

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.contact-info p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.93rem;
    color: #555;
}

.contact-info .info-item i {
    color: #e05a2b;
    margin-top: 3px;
    width: 16px;
    flex-shrink: 0;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.93rem;
    color: #333;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #e05a2b;
    box-shadow: 0 0 0 3px rgba(224,90,43,0.08);
}

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

.btn-submit {
    background: #e05a2b;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 13px 34px;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: inherit;
}

.btn-submit:hover  { background: #c84e24; }
.btn-submit:active { transform: scale(0.98); }

.success-msg {
    display: none;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 0.93rem;
    color: #065f46;
    margin-top: 16px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.85rem; }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 34px;
        max-width: 420px;
        margin: 0 auto;
    }

    .footer-inner {
        flex-direction: column;
        gap: 28px;
    }

    .footer-nav { gap: 28px; }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .footer-links { justify-content: center; }

    .postal-card { padding: 22px 18px 20px; }

    .postal-inputs { gap: 10px; }

    .digit-input { width: 34px; font-size: 1.25rem; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-hero h1 { font-size: 1.5rem; }

    .page-body { padding: 36px 0 50px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .postal-form-row { flex-direction: column; align-items: center; gap: 14px; }
    .btn-continue { width: 100%; text-align: center; }
}
