/* ==========================================================
   COOPERHEAT – app.css
   Brand: dark navy #121c22 | accent red #9a1e24 | white #fff
   Fonts: Manrope (body) / Montserrat (headings)
   ========================================================== */

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Manrope', sans-serif;
    color: #2d3748;
    background: #fff;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #121c22;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- CONTAINERS ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }

.section-eyebrow {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0bdcaf;
    margin-bottom: 0.75rem;
}

.section-header { margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.05rem; color: #64748b; max-width: 560px; margin: 0 auto; }

/* ---------- BUTTONS ---------- */
.ch-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.85rem 1.85rem;
    border-radius: 2px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
    white-space: nowrap;
}
.ch-button:hover { transform: translateY(-1px); }

.ch-button--primary {
    background: #a00a0a;
    color: #fff;
    border-color: #a00a0a;
}
.ch-button--primary:hover { background: #7d1820; border-color: #7d1820; }

.ch-button--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.ch-button--outline:hover { background: #fff; color: #121c22; }

.ch-button--outline-dark {
    background: transparent;
    color: #121c22;
    border-color: #121c22;
}
.ch-button--outline-dark:hover { background: #121c22; color: #fff; }

.ch-button--full { width: 100%; justify-content: center; }

/* ---------- SITE WRAPPER ---------- */
.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; }
.site-main    { flex: 1; }

/* ---------- HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 76px;
    gap: 2rem;
}

.header-logo img { height: 85px; width: auto; }

/* Desktop nav */
.header-nav { display: flex; }
.main-menu   { display: flex; align-items: center; gap: 0.25rem; }

.main-menu li a {
    display: block;
    padding: 0.5rem 0.85rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f2531;
    border-radius: 2px;
    transition: color 0.15s;
    position: relative;
}
.main-menu li a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0.85rem; right: 0.85rem;
    height: 2px;
    background: #ea6000;
    transform: scaleX(0);
    transition: transform 0.2s;
}
.main-menu li a:hover,
.main-menu li a.current { color: #f97316; }
.main-menu li a:hover::after,
.main-menu li a.current::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-cta     { padding: 0.65rem 1.35rem; font-size: 0.78rem; }

/* Hamburger */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger-btn span {
    display: block;
    width: 24px; height: 2px;
    background: #1f2531;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

/* ---------- MOBILE MENU PANEL ---------- */
.mobile-menu-panel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #121c22;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-panel.is-open { transform: translateX(0); }

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2.5rem;
}
.menu-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    width: 32px; height: 32px;
    position: relative;
}
.menu-close-btn span {
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 2px;
    background: #fff;
    border-radius: 2px;
}
.menu-close-btn span:first-child { transform: translateY(-50%) rotate(45deg); }
.menu-close-btn span:last-child  { transform: translateY(-50%) rotate(-45deg); }

.mobile-nav-list { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-nav-list li a {
    display: block;
    padding: 0.85rem 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e1e4;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    transition: color 0.15s;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a.active { color: #9a1e24; }

.mobile-menu-footer { margin-top: auto; padding-top: 2rem; }
.mobile-menu-footer .ch-button { width: 100%; justify-content: center; }

.body-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.5);
}
.body-overlay.is-active { display: block; }

/* ---------- HERO SECTION ---------- */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10,14,18,0.82) 0%, rgba(10,14,18,0.45) 60%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: 5rem;
    padding-bottom: 5rem;
    max-width: 680px;
}
.hero-title {
    color: #fff;
    font-size: clamp(1.9rem, 4.5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2.25rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- ABOUT STRIP ---------- */
.about-strip-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-strip-text h2 { margin: 0.5rem 0 1.25rem; }
.about-strip-text p  { color: #4a5568; margin-bottom: 1rem; }
.about-strip-text .ch-button { margin-top: 0.75rem; }
.about-strip-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ---------- STATS BAR ---------- */
.stats-bar { background: #9a1e24; padding: 3.5rem 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat-value {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
}
.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---------- SERVICES GRID ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.service-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}
.service-card-image { height: 200px; overflow: hidden; }
.service-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.service-card:hover .service-card-image img { transform: scale(1.04); }
.service-card-body { padding: 1.5rem; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.service-card-body p  { font-size: 0.9rem; color: #64748b; margin-bottom: 1rem; }
.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #9a1e24;
    transition: gap 0.15s;
}
.service-card-link:hover { gap: 0.7rem; }

/* ---------- VALUES SECTION ---------- */
.section-dark  { background: #121c22; }
.section-light { background: #f7f9fc; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.75rem;
}
.value-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    text-align: center;
}
.value-icon { color: #0bdcaf; margin-bottom: 1rem; display: flex; justify-content: center; }
.value-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 0.6rem; }
.value-card p  { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

/* ---------- CTA BANNER ---------- */
.cta-banner { background: #f7f9fc; }
.cta-banner h2  { margin-bottom: 0.75rem; }
.cta-banner p   { color: #64748b; margin-bottom: 1.75rem; font-size: 1.05rem; }
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}
.cta-actions .ch-button--outline { color: #121c22; border-color: #121c22; }
.cta-actions .ch-button--outline:hover { background: #121c22; color: #fff; }

/* ---------- PAGE BANNER ---------- */
.page-banner {
    position: relative;
    background: #121c22;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
    overflow: hidden;
}
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,14,18,0.72);
}
.page-banner-content { position: relative; z-index: 1; }
.page-banner-content h1 { color: #fff; }

.breadcrumb-nav  { margin-top: 0.75rem; }
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}
.breadcrumb-list li + li::before { content: '/'; margin-right: 0.5rem; }
.breadcrumb-list a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.breadcrumb-list a:hover { color: #fff; }
.breadcrumb-list [aria-current] { color: #fff; }

/* ---------- CONTENT GRID 2-COL ---------- */
.content-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.content-text h2 { margin: 0.5rem 0 1.25rem; }
.content-text p  { color: #4a5568; margin-bottom: 1rem; }
.content-text h3 { margin: 1.5rem 0 0.75rem; }
.content-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.content-bullet-list { padding-left: 1.25rem; margin: 1rem 0; list-style: disc; }
.content-bullet-list li {
    color: #4a5568;
    font-size: 0.95rem;
    padding: 0.25rem 0;
    padding-left: 0.35rem;
}

/* ---------- MISSION / VISION ---------- */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.mv-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-top: 3px solid #1449b7;
    padding: 2.25rem;
    border-radius: 4px;
}
.mv-icon { color: #1449b7; margin-bottom: 1rem; }
.mv-card h3 { margin-bottom: 0.75rem; }
.mv-card p  { color: #64748b; }

/* ---------- SERVICES LIST (services page) ---------- */
.services-list { display: flex; flex-direction: column; gap: 0rem; }
.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}
.service-row--reverse { direction: rtl; }
.service-row--reverse > * { direction: ltr; }
.service-row-image { overflow: hidden; }
.service-row-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-row:hover .service-row-image img { transform: scale(1.03); }
.service-row-body {
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.service-row--reverse .service-row-body { background: #f7f9fc; }
.service-row-body h2  { margin: 0.5rem 0 1.25rem; }
.service-row-body p   { color: #4a5568; margin-bottom: 1.5rem; }

/* ---------- FEATURES GRID ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.75rem;
}
.feature-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 4px;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.feature-icon { color: #1449b7; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feature-card p  { font-size: 0.9rem; color: #64748b; margin: 0; }

/* ---------- AWARDS GRID ---------- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}
.award-card {
    background: #fff;
    border: 1px solid #e8edf2;
    border-top: 3px solid #1449b7;
    border-radius: 4px;
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s;
}
.award-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); }
.award-icon { color: #1449b7; margin-bottom: 1rem; }
.award-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.award-card p  { font-size: 0.9rem; color: #64748b; margin: 0; }

/* ---------- CONTACT FORM ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-col h2 { margin: 0.5rem 0 0.75rem; }
.contact-form-col > p { color: #64748b; margin-bottom: 1.75rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }

.form-row     { display: flex; gap: 1rem; }
.form-row--2  > .form-group { flex: 1; }

.form-group { display: flex; flex-direction: column; }
.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1f2531;
    margin-bottom: 0.4rem;
}
.required { color: #9a1e24; }

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #d1d9e0;
    border-radius: 2px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: #1f2531;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: #9a1e24;
    box-shadow: 0 0 0 3px rgba(154,30,36,0.1);
}
.form-control.is-invalid { border-color: #e53e3e; }
.form-error { font-size: 0.8rem; color: #e53e3e; margin-top: 0.3rem; }

textarea.form-control { resize: vertical; min-height: 140px; }

.alert { padding: 1rem 1.25rem; border-radius: 4px; margin-bottom: 1.25rem; font-size: 0.95rem; }
.alert--success {
    background: #f0fff4;
    border: 1px solid #68d391;
    color: #276749;
}

.contact-info-col h2 { margin: 0.5rem 0 1.5rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
    background: #f7f9fc;
    border-left: 3px solid #1e309a;
    padding: 1.25rem 1.5rem;
    border-radius: 0 4px 4px 0;
}
.contact-info-card h3 { font-size: 0.95rem; margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-card p  { font-size: 0.9rem; color: #64748b; margin-bottom: 0.3rem; }
.contact-info-card a  { color: #1e309a; }
.contact-info-card a:hover { text-decoration: underline; }

/* ---------- LEGAL CONTENT ---------- */
.legal-content {
    max-width: 780px;
    padding-top: 0;
}
.legal-content h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin: 0.75rem 0 1rem; }
.legal-content ul li { color: #4a5568; margin-bottom: 0.4rem; font-size: 0.95rem; }
.legal-content a { color: #9a1e24; text-decoration: underline; }

/* ---------- FOOTER ---------- */
.site-footer { background: #121c22; color: #e0e1e4; }

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.3fr 1.5fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
}

.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.25rem;
}

.footer-brand img { margin-bottom: 1.25rem; }
.footer-brand p   { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.25rem; }

.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    color: rgba(255,255,255,0.7);
    transition: background 0.15s, color 0.15s;
}
.footer-socials a:hover { background: #9a1e24; color: #fff; }

.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    transition: color 0.15s;
    padding: 0.1rem 0;
}
.footer-nav a:hover { color: #9a1e24; }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-contact-list li { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-contact-list a { color: rgba(255,255,255,0.65); transition: color 0.15s; }
.footer-contact-list a:hover { color: #9a1e24; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); margin: 0; }

.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { font-size: 0.82rem; color: rgba(255,255,255,0.4); transition: color 0.15s; }
.footer-legal-links a:hover { color: rgba(255,255,255,0.8); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .header-nav  { display: none; }
    .header-cta  { display: none; }
    .hamburger-btn { display: flex; }

    .about-strip-grid,
    .content-grid-2,
    .mission-vision-grid { grid-template-columns: 1fr; gap: 2.5rem; }

    .service-row { grid-template-columns: 1fr; }
    .service-row-image { height: 260px; }
    .service-row--reverse { direction: ltr; }
    .service-row-body { padding: 2rem 1.5rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 640px) {
    .section-pad { padding: 3.5rem 0; }
    .hero-section { min-height: 80vh; }

    .form-row--2 { flex-direction: column; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }

    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-legal-links  { justify-content: center; }

    .cta-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; }
    .hero-actions .ch-button { width: 100%; justify-content: center; }
}
