/* ===================================================================
   F&A PAINTING LLC — Design System
   Brand: deep navy + teal + paint-roller orange
   =================================================================== */

:root {
    --navy:        #0a2540;
    --navy-2:      #0e2f52;
    --blue:        #1c6dd0;
    --teal:        #0e9aa8;
    --teal-dark:   #0b7f8b;
    --orange:      #f7941e;
    --orange-dark: #e07b00;
    --red:         #c0392b;

    --ink:        #1f2a37;
    --muted:      #5b6b7b;
    --line:       #e5ebf0;
    --bg:         #ffffff;
    --bg-soft:    #f4f8fb;
    --bg-softer:  #eef4f8;

    --shadow-sm: 0 1px 3px rgba(10, 37, 64, .08);
    --shadow:    0 8px 24px rgba(10, 37, 64, .10);
    --shadow-lg: 0 18px 48px rgba(10, 37, 64, .16);

    --radius:    14px;
    --radius-sm: 10px;
    --container: 1180px;

    --font-head: 'Poppins', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; position: relative; min-height: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--navy);
    line-height: 1.2;
    margin: 0 0 .5em;
    font-weight: 700;
}

p { margin: 0 0 1rem; color: var(--muted); }

a { color: var(--teal-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--orange-dark); }

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Section helpers ---------- */
.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head .eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: var(--bg-softer);
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.section-head p { font-size: 1.08rem; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: rgba(255,255,255,.78); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    box-shadow: 0 10px 22px rgba(224, 123, 0, .32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 28px rgba(224, 123, 0, .42); }

.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 10px 22px rgba(14,154,168,.3); }
.btn-teal:hover { color: #fff; background: var(--teal-dark); }

.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline:hover { color: var(--navy); background: #fff; border-color: #fff; }

.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--orange-dark); border-color: var(--orange); }

/* ===================================================================
   TOP UTILITY BAR
   =================================================================== */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,.82);
    font-size: .86rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    gap: 16px;
    flex-wrap: wrap;
}
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info span, .topbar__info .topbar__link { display: inline-flex; align-items: center; gap: 7px; }
.topbar__info .topbar__link { color: rgba(255,255,255,.82); }
.topbar__info .topbar__link:hover { color: var(--orange); }
.topbar__info svg { width: 15px; height: 15px; color: var(--orange); }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    color: #fff;
}
.topbar__social a:hover { background: var(--orange); color: #fff; }
.topbar__social svg { width: 14px; height: 14px; }

/* ===================================================================
   NAVBAR
   =================================================================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, padding .25s ease;
}
.site-nav.is-scrolled { box-shadow: var(--shadow); }
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
    height: 50px; width: auto;
    border-radius: 8px;
}
.brand__text { font-family: var(--font-head); line-height: 1.1; }
.brand__text strong { display: block; color: var(--navy); font-size: 1.18rem; font-weight: 700; letter-spacing: .02em; }
.brand__text span { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-family: var(--font-head);
    font-weight: 500;
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 8px;
    position: relative;
}
.nav-links a:hover { color: var(--orange-dark); background: var(--bg-soft); }
.nav-links a.active { color: var(--teal-dark); }
/* CTA inside the menu — only used on mobile (hidden on desktop) */
.nav-cta-mobile { display: none; }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 44px; height: 44px;
    cursor: pointer;
    color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
    position: relative;
    min-height: clamp(560px, 86vh, 880px);
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slides img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 7s ease;
}
.hero__slides img.active { opacity: 1; transform: scale(1); }
.hero::after {
    content: "";
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(110deg, rgba(7,26,46,.92) 0%, rgba(7,26,46,.74) 42%, rgba(10,37,64,.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 660px; padding: 60px 0; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .85rem; font-weight: 600;
    font-family: var(--font-head);
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.hero h1 {
    color: #fff;
    font-size: clamp(2.2rem, 5.4vw, 3.8rem);
    margin-bottom: 18px;
}
.hero h1 .accent { color: var(--orange); }
.hero__sub { font-size: 1.18rem; color: rgba(255,255,255,.88); max-width: 560px; margin-bottom: 32px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__trust {
    display: flex; gap: 28px; flex-wrap: wrap;
    margin-top: 40px; padding-top: 26px;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hero__trust div strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: #fff; }
.hero__trust div span { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ===================================================================
   TRUST STRIP
   =================================================================== */
.trust-strip { background: var(--navy-2); }
.trust-strip .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-top: 30px; padding-bottom: 30px;
}
.trust-item { display: flex; align-items: center; gap: 14px; color: #fff; }
.trust-item svg { width: 34px; height: 34px; color: var(--orange); flex: none; }
.trust-item strong { font-family: var(--font-head); font-size: 1.05rem; display: block; }
.trust-item span { font-size: .86rem; color: rgba(255,255,255,.7); }

/* ===================================================================
   SERVICES GRID
   =================================================================== */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.08); }
.card__icon {
    position: absolute; left: 20px; bottom: -26px;
    width: 56px; height: 56px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    border-radius: 14px;
    box-shadow: var(--shadow);
    color: #fff;
}
.card__icon svg { width: 28px; height: 28px; }
.card__body { padding: 38px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { font-size: 1.3rem; }
.card__body p { font-size: .98rem; margin-bottom: 18px; }
.card__link {
    margin-top: auto;
    font-family: var(--font-head); font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--orange-dark);
}
.card__link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ===================================================================
   ALTERNATING FEATURE ROWS
   =================================================================== */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 72px;
}
.feature-row:last-child { margin-bottom: 0; }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media { position: relative; }
.feature-row__media img {
    width: 100%; border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3; object-fit: cover;
}
.feature-row__media::before {
    content: ""; position: absolute; inset: 18px -18px -18px 18px;
    border: 3px solid var(--teal);
    border-radius: var(--radius);
    z-index: -1;
}
.feature-row__num {
    font-family: var(--font-head); font-weight: 700;
    color: var(--orange); font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 10px;
}
.feature-row h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.feature-row p { font-size: 1.05rem; }

/* ===================================================================
   WHY CHOOSE US
   =================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}
.why-item {
    display: flex; gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.why-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-item__icon {
    flex: none; width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--bg-softer); color: var(--teal-dark);
}
.why-item__icon svg { width: 28px; height: 28px; }
.why-item h4 { font-size: 1.15rem; margin-bottom: 6px; }
.why-item p { margin: 0; font-size: .96rem; }

/* ===================================================================
   PROCESS
   =================================================================== */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}
.step { text-align: center; position: relative; }
.step__num {
    width: 70px; height: 70px; margin: 0 auto 18px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--teal);
    color: var(--navy);
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative; z-index: 2;
}
.steps .step:not(:last-child)::after {
    content: ""; position: absolute; top: 35px; left: 60%;
    width: 80%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px);
    z-index: 1;
}
.step h4 { font-size: 1.12rem; margin-bottom: 6px; }
.step p { font-size: .94rem; margin: 0; }

/* ===================================================================
   CTA BAND
   =================================================================== */
.cta-band {
    background: linear-gradient(120deg, var(--navy) 0%, var(--teal-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 76px 0;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 560px; margin: 0 auto 30px; }
.cta-band .hero__cta { justify-content: center; }

/* ===================================================================
   CONTACT PAGE
   =================================================================== */
.page-hero {
    position: relative;
    padding: 96px 0 84px;
    background: linear-gradient(110deg, rgba(7,26,46,.92), rgba(11,127,139,.78)), center/cover no-repeat;
    color: #fff;
    text-align: center;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin: 0; }
.breadcrumb-mini { font-size: .9rem; color: rgba(255,255,255,.7); margin-bottom: 14px; }
.breadcrumb-mini a { color: var(--orange); }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.contact-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column; align-items: center;
}
.contact-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.contact-card__icon {
    width: 64px; height: 64px; margin-bottom: 18px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: #fff;
}
.contact-card__icon svg { width: 30px; height: 30px; }
.ic-whatsapp { background: #25D366; }
.ic-facebook { background: #1877F2; }
.ic-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.ic-tiktok    { background: #010101; }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.contact-card p { font-size: .92rem; margin-bottom: 20px; }
.contact-card .btn { margin-top: auto; }

.contact-info {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
    margin-top: 56px;
}
.contact-info__item {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 24px; border-radius: var(--radius);
    background: var(--bg-soft);
}
.contact-info__item svg { width: 26px; height: 26px; color: var(--teal-dark); flex: none; }
.contact-info__item strong { font-family: var(--font-head); color: var(--navy); display: block; }
.contact-info__item span { color: var(--muted); font-size: .95rem; }

/* ===================================================================
   PRIVACY / RICH TEXT PAGE
   =================================================================== */
.prose { max-width: 820px; margin: 0 auto; padding: 72px 0; }
.prose h2 { font-size: 1.5rem; margin-top: 38px; padding-left: 16px; border-left: 4px solid var(--teal); }
.prose p, .prose li { font-size: 1.05rem; color: var(--ink); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-top: 64px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; letter-spacing: .02em; }
.footer-brand img { height: 54px; border-radius: 8px; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,.68); font-size: .95rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255,255,255,.72); font-size: .96rem; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: rgba(255,255,255,.72); font-size: .95rem; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    font-size: .88rem; color: rgba(255,255,255,.6);
    flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,.75); }
.footer-bottom a:hover { color: var(--orange); }

/* ===================================================================
   SCROLL REVEAL ANIMATION
   =================================================================== */
/* Progressive enhancement: only hide when JS is active, so content is
   always visible if JS is disabled or fails to load. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 82vw);
        flex-direction: column;
        align-items: stretch;
        background: #fff;
        padding: 90px 24px 24px;
        box-shadow: -10px 0 40px rgba(10,37,64,.18);
        transform: translateX(100%);
        transition: transform .3s ease;
        gap: 4px;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { padding: 14px 16px; border-radius: 10px; }
    .nav-toggle { display: grid; place-items: center; }
    /* Hide the header CTA button on mobile so it never overlaps the logo/name */
    .nav-actions .btn { display: none; }
    /* Show the CTA inside the slide-in menu instead */
    .nav-cta-mobile { display: block; margin-top: 10px; }
    .nav-cta-mobile a.btn { display: flex; width: 100%; justify-content: center; }

    .trust-strip .container { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: 1fr; }
    .feature-row { grid-template-columns: 1fr; gap: 30px; margin-bottom: 52px; }
    .feature-row:nth-child(even) .feature-row__media { order: 0; }
    .feature-row__media::before { display: none; }
    .why-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .steps .step::after { display: none; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 560px) {
    .section { padding: 60px 0; }
    .topbar__info { gap: 14px; font-size: .8rem; }
    .hero__trust { gap: 20px; }
    .contact-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* hidden helper */
.nav-backdrop {
    position: fixed; inset: 0; background: rgba(10,37,64,.45);
    opacity: 0; visibility: hidden; transition: opacity .3s ease; z-index: 999;
}
.nav-backdrop.show { opacity: 1; visibility: visible; }
