
/* ==============================
   GLOBAL
============================== */

:root {
    --navy: #10243a;
    --orange: #f47735;
    --white: #ffffff;
    --light: #f4f7fa;
    --text: #263445;
    --muted: #5b6775;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

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

button {
    font: inherit;
}

.container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    margin-bottom: 20px;
}

.section-title {
    max-width: 750px;
    color: var(--navy);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

/* ==============================
   DEMO BANNER
============================== */

.demo-banner {
    background: var(--orange);
    color: var(--navy);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* ==============================
   NAVIGATION
============================== */

.site-header {
    background: var(--white);
    border-bottom: 1px solid #e5e9ed;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    min-height: 100px;
}

.logo {
    color: var(--navy);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.logo span {
    color: var(--orange);
}

.logo small {
    display: block;
    margin-top: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--orange);
}

/* ==============================
   PHONE CALL TO ACTION
============================== */

.phone-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;

    background: var(--orange);
    color: var(--navy);

    padding: 12px 24px;
    border-radius: 10px;

    box-shadow: 0 6px 20px rgba(244,119,53,0.25);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.phone-cta:hover {
    background: #ff9459;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(244,119,53,0.35);
}

.phone-label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.phone-number {
    font-size: 1.3rem;
    font-weight: 900;
    white-space: nowrap;
}

/* ==============================
   HAMBURGER MENU
============================== */

.menu-toggle {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;

    width: 42px;
    height: 42px;
    flex-shrink: 0;

    background: transparent;
    border: 1px solid #dce2e8;
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animated hamburger to X */

.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   HERO
============================== */

.hero {
    background: var(--light);
    padding: 100px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 65px;
    align-items: center;
}

.hero h1 {
    color: var(--navy);
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
}

.hero h1 span {
    display: block;
    color: var(--orange);
}

.hero-description {
    max-width: 510px;
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 16px 28px;
    border-radius: 8px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background: var(--orange);
    color: var(--navy);
}

.btn-primary:hover {
    background: #ff9459;
}

.btn-secondary {
    border: 1px solid var(--navy);
    color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
}

.hero-image img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 16px;
}

/* ==============================
   SERVICES
============================== */

.services-section {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.service-card {
    padding: 35px 25px;
    background: var(--light);
    border: 1px solid #e5e9ed;
    border-radius: 14px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(16,36,58,0.08);
}

.service-icon {
    display: inline-block;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.service-card h3 {
    color: var(--navy);
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.95rem;
}

/* ==============================
   ABOUT
============================== */

.about-section {
    background: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-text p {
    font-size: 1.08rem;
    color: var(--muted);
    margin-bottom: 20px;
}

/* ==============================
   CONTACT
============================== */

.contact-section {
    background: var(--navy);
    color: var(--white);
    padding: 110px 0;
    text-align: center;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section h2 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    max-width: 850px;
    margin-bottom: 25px;
}

.contact-section h2 span {
    display: block;
    color: var(--orange);
}

.contact-section p:not(.eyebrow) {
    color: #c4ccd5;
    max-width: 550px;
    margin-bottom: 40px;
}

.contact-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    background: var(--orange);
    color: var(--navy);

    padding: 24px 45px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(244,119,53,0.15);
}

.contact-phone-label {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-phone-number {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 900;
}

.contact-phone small {
    font-size: 0.75rem;
}

/* ==============================
   FOOTER
============================== */

.footer {
    background: #091828;
    color: var(--white);
    padding: 45px 0;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 900;
}

.footer p {
    color: #aab5c0;
    font-size: 0.9rem;
}

.footer-credit {
    text-align: right;
}

.footer-credit a {
    color: var(--orange);
    font-weight: 700;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* ==============================
   TABLET & MOBILE NAVIGATION
============================== */

@media (max-width: 1000px) {

    .navbar {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 12px;
        padding: 18px 0;
    }

    .logo {
        grid-column: 1;
        min-width: 0;
        font-size: 1.7rem;
    }

    .phone-cta {
        grid-column: 2;
        grid-row: 1;
        padding: 10px 15px;
    }

    .phone-number {
        font-size: 1rem;
    }

    .menu-toggle {
        display: flex;
        grid-column: 3;
        grid-row: 1;
    }

    .nav-links {
        display: none;

        grid-column: 1 / -1;
        grid-row: 2;

        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px 0 0;
        border-top: 1px solid #e5e9ed;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 13px 16px;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--light);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image img {
        height: 400px;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-content {
        gap: 50px;
    }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 600px) {

    .container {
        width: 92%;
    }

    .section {
        padding: 70px 0;
    }

    .navbar {
        gap: 8px;
        padding: 14px 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo small {
        font-size: 0.4rem;
        letter-spacing: 0.08em;
    }

    .phone-cta {
        padding: 8px 9px;
        box-shadow: none;
    }

    .phone-label {
        font-size: 0.48rem;
        letter-spacing: 0.03em;
    }

    .phone-number {
        font-size: 0.78rem;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);
    }

    .hero-image img {
        height: 270px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 35px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-section {
        padding: 75px 0;
    }

    .contact-phone {
        width: 100%;
        padding: 24px 12px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-credit {
        text-align: left;
    }
}

/* ==============================
   EXTRA SMALL PHONES
============================== */

@media (max-width: 360px) {

    .logo {
        font-size: 1.15rem;
    }

    .logo small {
        font-size: 0.34rem;
    }

    .navbar {
        gap: 6px;
    }

    .phone-cta {
        padding: 7px 6px;
    }

    .phone-number {
        font-size: 0.7rem;
    }

    .phone-label {
        font-size: 0.42rem;
    }

    .menu-toggle {
        width: 34px;
        height: 36px;
    }

    .menu-toggle span {
        width: 18px;
    }
}

/* ==============================
   ACCESSIBILITY
============================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}
