:root {
    --red: #D42027;
    --red-dark: #B81B20;
    --dark: #111111;
    --charcoal: #1E1E1E;
    --text: #333333;
    --text-secondary: #5F6368;
    --border: #E2E2E2;
    --bg: #FFFFFF;
    --bg-gray: #F6F6F6;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 8px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: var(--bg-gray); }

/* ---- Typography ---- */
.label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 12px;
}

.heading {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.subheading {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font);
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); }

.btn--ghost {
    background: transparent;
    color: var(--dark);
    border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--dark); }

.btn--white {
    background: var(--white);
    color: var(--red);
}
.btn--white:hover { background: #f0f0f0; }

.btn--sm { padding: 9px 20px; font-size: 14px; }
.btn--full { width: 100%; }

/* ---- Header ---- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    padding: 12px 0;
}

.header.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

.nav { display: flex; align-items: center; justify-content: space-between; }
.nav__logo-img { height: 44px; }
.nav__list { display: flex; gap: 32px; }

.nav__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: color 0.2s;
}

.nav__link:hover,
.nav__link.active { color: var(--dark); }

.nav__cta { margin-left: 24px; }
.nav__toggle, .nav__close { display: none; }

/* ---- Hero ---- */
.hero {
    padding: 160px 0 100px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.hero__container { max-width: 720px; }

.hero__label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 16px;
}

.hero__title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}

.hero__text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero__actions { display: flex; gap: 12px; margin-bottom: 64px; }

.hero__metrics {
    display: flex;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.metric__value {
    font-size: 44px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.metric__suffix {
    font-size: 32px;
    font-weight: 600;
    color: var(--red);
}

.metric__label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 6px;
}

/* ---- About ---- */
.about__container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: center;
}

.about__logo-box {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.about__logo { max-width: 240px; }

.about__right p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.about__right p strong { color: var(--dark); }

.about__checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }

.check-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text);
}

.check-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--red); margin-top: 2px; }

/* ---- Pillars (Vision/Mission/Values) ---- */
.pillars__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px 28px;
}

.pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--red);
}

.pillar__icon svg { width: 24px; height: 24px; }

.pillar h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.pillar p { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ---- Services ---- */
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    background: var(--white);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover {
    border-color: transparent;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.card__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
    color: var(--red);
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.card p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---- Why Us ---- */
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.reason {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
}

.reason__num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
    margin-bottom: 16px;
}

.reason h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.reason p { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

/* ---- CTA ---- */
.cta {
    background: var(--red);
    padding: 56px 0;
}

.cta__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.cta h2 { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cta p { font-size: 16px; color: rgba(255,255,255,0.85); }

/* ---- Contact ---- */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
}

.contact__details { display: flex; flex-direction: column; gap: 28px; }

.contact__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.contact__item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--red);
    margin-top: 2px;
}

.contact__item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 2px;
}

.contact__item p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

.contact__form {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 36px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaa; }

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

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.65);
    padding: 64px 0 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo { height: 40px; margin-bottom: 14px; }
.footer__brand p { font-size: 14px; line-height: 1.65; margin-bottom: 20px; }

.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: background 0.2s, color 0.2s;
}
.footer__social a:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.footer__social svg { width: 16px; height: 16px; }

.footer__col h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 16px; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer__col a:hover { color: var(--white); }
.footer__col p { font-size: 14px; line-height: 1.6; margin-bottom: 6px; }

.footer__bottom { text-align: center; padding: 20px 0; }
.footer__bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 999;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--red); }
.back-to-top svg { width: 18px; height: 18px; }

/* ---- Reveal ---- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Mobile Nav ---- */
@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0; right: -100%;
        width: 280px; height: 100vh;
        background: var(--white);
        box-shadow: -2px 0 12px rgba(0,0,0,0.1);
        padding: 72px 24px 24px;
        transition: right 0.25s;
        z-index: 1001;
    }
    .nav__menu.active { right: 0; }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__link { display: block; padding: 14px 0; font-size: 16px; color: var(--text); border-bottom: 1px solid var(--bg-gray); }
    .nav__close {
        display: flex; position: absolute; top: 16px; right: 16px;
        width: 36px; height: 36px; background: none; border: none;
        font-size: 28px; color: var(--text); cursor: pointer;
        align-items: center; justify-content: center;
    }
    .nav__toggle {
        display: flex; flex-direction: column; gap: 5px;
        background: none; border: none; cursor: pointer; padding: 4px;
    }
    .nav__toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 1px; }
    .nav__cta { display: none; }
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .about__container { grid-template-columns: 1fr; gap: 40px; }
    .about__left { max-width: 360px; margin: 0 auto; }
    .services__grid, .why__grid, .pillars__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
}

@media (max-width: 768px) {
    .section { padding: 72px 0; }
    .hero { padding: 120px 0 72px; }
    .hero__metrics { flex-direction: row; gap: 32px; flex-wrap: wrap; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { text-align: center; }
    .services__grid, .why__grid, .pillars__grid { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .cta__container { flex-direction: column; text-align: center; }
    .footer__grid { grid-template-columns: 1fr; }
    .footer__brand { grid-column: span 1; }
}
