/* =========================================================
   APEXFusion Solar & Electrical — Homepage Stylesheet (v2)
   - Unified blue palette (no yellow)
   - Larger logo, hero text aligned to container edge
   - Reduced hero height, premium slider transitions
   - Refined spacing, hover states, and motion
   ========================================================= */

/* ---------- 1. Variables & Reset ---------- */
:root {
    --color-primary:        #1F6FB2;   /* Logo blue */
    --color-primary-dark:   #134F86;
    --color-primary-deep:   #0E3D6B;
    --color-primary-light:  #4A95D2;
    --color-accent:         #3DA5E5;   /* Bright sky blue (replaces yellow) */
    --color-accent-dark:    #1F88C4;
    --color-accent-soft:    #E8F4FC;

    --color-charcoal:       #1F2A37;
    --color-charcoal-soft:  #3D4A5A;
    --color-text:           #424E60;
    --color-muted:          #5F6B7A;
    --color-bg:             #ffffff;
    --color-bg-alt:         #F4F8FC;
    --color-bg-dark:        #0E1B2E;
    --color-border:         #E2EAF3;

    --font-display: 'Poppins', system-ui, sans-serif;
    --font-body:    'Poppins', system-ui, sans-serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --radius-xl: 36px;

    --shadow-xs: 0 2px 8px rgba(15, 35, 70, 0.05);
    --shadow-sm: 0 6px 16px rgba(15, 35, 70, 0.06);
    --shadow-md: 0 14px 34px rgba(15, 35, 70, 0.10);
    --shadow-lg: 0 26px 60px rgba(15, 35, 70, 0.18);
    --shadow-blue: 0 18px 40px rgba(31, 111, 178, 0.28);

    --transition: 0.4s cubic-bezier(.4,0,.2,1);
    --transition-slow: 0.7s cubic-bezier(.4,0,.2,1);

    --container: 1280px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-charcoal);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
}

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

/* ---------- 2. Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.7rem;
    border-radius: 50px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.18);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s ease;
}
.btn:hover::after { width: 320px; height: 320px; }

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(31, 111, 178, 0.45);
}

.btn--accent {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 14px 32px rgba(61, 165, 229, 0.35);
}
.btn--accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(61, 165, 229, 0.45);
}

.btn--ghost {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Liquid Glass Buttons (hero CTAs) */
.btn--glass {
    position: relative;
    color: #fff;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 12px 28px rgba(8, 16, 32, 0.18);
    overflow: hidden;
    isolation: isolate;
}
.btn--glass::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: inherit;
    z-index: 1;
}
.btn--glass > * { position: relative; z-index: 2; }
.btn--glass:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 18px 40px rgba(8, 16, 32, 0.28);
}

/* Filled blue glass — primary hero CTA */
.btn--glass-primary {
    background: linear-gradient(135deg, rgba(31, 111, 178, 0.55) 0%, rgba(20, 79, 134, 0.75) 100%);
}
.btn--glass-primary:hover {
    background: linear-gradient(135deg, rgba(61, 165, 229, 0.65) 0%, rgba(31, 111, 178, 0.85) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 22px 44px rgba(31, 111, 178, 0.45);
}

/* Lighter, more transparent glass — secondary hero CTA */
.btn--glass-light {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
}
.btn--glass-light:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.12) 100%);
}

.btn--outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn--outline:hover { background: #fff; color: var(--color-primary); }

.btn--large { padding: 0.95rem 1.95rem; font-size: 0.92rem; letter-spacing: 0.02em; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- 3. Top Bar ---------- */
.top-bar {
    background: var(--color-charcoal);
    color: #d8e0ec;
    font-size: 0.85rem;
    padding: 0.6rem 0;
}
.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.top-bar__contact {
    display: flex;
    gap: 1.6rem;
    flex-wrap: wrap;
}
.top-bar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.top-bar__item:hover { color: var(--color-accent); }
.top-bar__item i { color: var(--color-accent); }
.top-bar__socials { display: flex; gap: 0.6rem; }
.top-bar__socials a {
    width: 30px; height: 30px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    font-size: 0.78rem;
    transition: all var(--transition);
}
.top-bar__socials a:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------- 4. Header / Nav ---------- */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--color-border);
    transition: all var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 32px;
    gap: 1.2rem;
    max-width: var(--container);
    margin: 0 auto;
    transition: padding var(--transition);
}
.header.scrolled .header__inner { padding: 0.7rem 32px; }

.header__logo img {
    height: 78px;
    width: auto;
    transition: height var(--transition);
}
.header.scrolled .header__logo img { height: 64px; }

.nav__list { display: flex; gap: 0.3rem; }
.nav__link {
    display: inline-block;
    padding: 0.6rem 1.05rem;
    font-weight: 600;
    color: var(--color-charcoal);
    border-radius: 50px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    transition: all var(--transition);
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 50%; bottom: 6px;
    width: 0; height: 2px;
    background: var(--color-primary);
    transition: all var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav__link:hover, .nav__link.active { color: var(--color-primary); }
.nav__link:hover::after, .nav__link.active::after { width: 50%; }

.header__cta {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
}
/* Boost the glass button's blue saturation when sitting on white header */
.header__cta.btn--glass-primary {
    background: linear-gradient(135deg, rgba(31, 111, 178, 0.92) 0%, rgba(20, 79, 134, 1) 100%);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 8px 22px rgba(31, 111, 178, 0.32);
    color: #fff;
}
.header__cta.btn--glass-primary:hover {
    background: linear-gradient(135deg, rgba(61, 165, 229, 0.95) 0%, rgba(31, 111, 178, 1) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 14px 30px rgba(31, 111, 178, 0.42);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 28px; height: 3px;
    background: var(--color-charcoal);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero {
    position: relative;
    min-height: 640px;
    height: 78vh;
    max-height: 760px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}

.hero__slider { position: absolute; inset: 0; }
.hero__slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.08);
    transition:
        opacity 1.6s cubic-bezier(.4,0,.2,1),
        transform 9s cubic-bezier(.4,0,.2,1);
    will-change: opacity, transform;
}
.hero__slide--active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(115deg, rgba(14, 27, 46, 0.85) 0%, rgba(14, 27, 46, 0.55) 55%, rgba(14, 27, 46, 0.4) 100%),
        linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
}

/* Hero content sits inside container so its left edge aligns with logo */
.hero__container {
    position: relative;
    z-index: 3;
    max-width: var(--container);
    margin: 0 auto;
    padding: 5.5rem 32px 6rem;
    width: 100%;
}
.hero__content {
    max-width: 760px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(61, 165, 229, 0.18);
    color: #fff;
    border: 1px solid rgba(61, 165, 229, 0.45);
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(8px);
    animation: fadeUp 0.8s 0.1s both;
}
.hero__eyebrow::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px var(--color-accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

.hero__title {
    font-size: clamp(2.1rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 1.4rem;
    color: #fff;
    letter-spacing: -0.02em;
}
.hero__title-line { display: block; animation: fadeUp 0.9s 0.25s both; }
.hero__title-line--accent {
    background: linear-gradient(90deg, #84CFF5 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.4s;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin-bottom: 2.4rem;
    animation: fadeUp 0.9s 0.55s both;
    line-height: 1.7;
}
.hero__cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.9s 0.7s both;
}

.hero__dots {
    position: absolute;
    bottom: 1.8rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}
.hero__dots button {
    width: 30px; height: 4px;
    background: rgba(255,255,255,0.35);
    border-radius: 4px;
    transition: all var(--transition);
}
.hero__dots button.active {
    background: var(--color-accent);
    width: 60px;
}

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }

/* ---------- 6. Section helpers ---------- */
section { padding: 6.5rem 0; }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 4rem; }
.section__eyebrow {
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 0.9rem;
    position: relative;
    padding-left: 32px;
}
.section__eyebrow::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 22px; height: 2px;
    background: var(--color-accent);
    transform: translateY(-50%);
}
.section__eyebrow--light { color: var(--color-accent); }
.section__title {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin-bottom: 1.1rem;
    line-height: 1.18;
}
.section__title--light { color: #fff; }
.section__subtitle { color: var(--color-muted); font-size: 1.05rem; line-height: 1.7; }

/* ---------- 7. Intro / About ---------- */
.intro { background: var(--color-bg); position: relative; overflow: hidden; }
.intro::before {
    content: '';
    position: absolute;
    top: 10%; left: -8%;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(61, 165, 229, 0.10), transparent 70%);
    pointer-events: none;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}
.intro__media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 4.4;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.intro__media::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 6px solid rgba(255,255,255,0.6);
    border-radius: var(--radius-lg);
    z-index: 2;
    pointer-events: none;
    transition: inset var(--transition);
}
.intro__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(31, 111, 178, 0.28));
    z-index: 1;
    transition: opacity var(--transition);
}
.intro__media:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 70px rgba(15, 35, 70, 0.22);
}
.intro__media:hover::before { inset: 12px; }
.intro__media:hover .intro__img-main { transform: scale(1.06); }

.intro__img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.intro__media-tag {
    position: absolute;
    bottom: 24px; left: 24px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 0.9rem 1.2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 3;
}
.intro__media-tag i {
    color: var(--color-primary);
    font-size: 1.3rem;
    background: var(--color-accent-soft);
    width: 42px; height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.intro__media-tag-text {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.2;
}
.intro__media-tag-text small {
    display: block;
    font-weight: 500;
    color: var(--color-muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

.intro__lead {
    font-size: 1.12rem;
    color: var(--color-charcoal-soft);
    margin-bottom: 1.2rem;
    font-weight: 500;
    line-height: 1.7;
}
.intro__text p { margin-bottom: 1.2rem; color: var(--color-text); }
.intro__list { margin: 1.7rem 0 2.2rem; display: grid; gap: 0.8rem; }
.intro__list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--color-charcoal);
    font-weight: 500;
    transition: transform var(--transition);
}
.intro__list li:hover { transform: translateX(4px); }
.intro__list i {
    color: var(--color-primary);
    font-size: 1.15rem;
    flex-shrink: 0;
    width: 26px; height: 26px;
    background: var(--color-accent-soft);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ---------- 8. Who We Serve (Tailored Services) — REDESIGNED ---------- */
.serve {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}
.serve::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    pointer-events: none;
}
.serve::before {
    content: '';
    position: absolute;
    top: 8%; right: -10%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(61, 165, 229, 0.10), transparent 70%);
    pointer-events: none;
}

.serve__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    position: relative;
}
.serve-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xs);
    isolation: isolate;
}
.serve-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.serve-card__media {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.serve-card__media-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(.4,0,.2,1);
}
.serve-card:hover .serve-card__media-img { transform: scale(1.12); }
.serve-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 27, 46, 0.05) 0%, rgba(14, 27, 46, 0.55) 100%);
    transition: opacity var(--transition);
}
.serve-card:hover .serve-card__media::after {
    background: linear-gradient(180deg, rgba(31, 111, 178, 0.15) 0%, rgba(14, 27, 46, 0.6) 100%);
}

.serve-card__icon {
    position: absolute;
    top: -32px; right: 24px;
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-blue);
    transition: all var(--transition);
    z-index: 3;
    border: 4px solid #fff;
}
.serve-card:hover .serve-card__icon {
    transform: rotate(-8deg) scale(1.08);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
    box-shadow: 0 18px 40px rgba(61, 165, 229, 0.4);
}

.serve-card__body {
    padding: 2rem 1.9rem 1.9rem;
    position: relative;
}
.serve-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
    color: var(--color-charcoal);
    transition: color var(--transition);
}
.serve-card:hover h3 { color: var(--color-primary); }
.serve-card p {
    color: var(--color-muted);
    margin-bottom: 1.2rem;
    font-size: 0.93rem;
    line-height: 1.65;
}
.serve-card__features {
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
}
.serve-card__features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--color-charcoal-soft);
    font-size: 0.86rem;
    font-weight: 500;
}
.serve-card__features i {
    color: var(--color-accent);
    font-size: 0.7rem;
    width: 18px; height: 18px;
    background: var(--color-accent-soft);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.serve-card__link {
    color: var(--color-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition);
}
.serve-card__link:hover {
    border-color: var(--color-primary);
    gap: 0.8rem;
}

/* ---------- 9. Services / Solutions ---------- */
.services {
    background: var(--color-bg-alt);
    position: relative;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    bottom: -10%; left: -10%;
    width: 480px; height: 480px;
    background: radial-gradient(circle, rgba(31, 111, 178, 0.10), transparent 70%);
    pointer-events: none;
}
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    position: relative;
}
.service-card {
    background: #fff;
    padding: 2.5rem 2.1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 68px; height: 68px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(31, 111, 178, 0.05));
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all var(--transition);
}
.service-card:hover .service-card__icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    transform: rotate(-8deg);
}
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.8rem; color: var(--color-charcoal); }
.service-card p { color: var(--color-muted); margin-bottom: 1.3rem; font-size: 0.95rem; line-height: 1.65; }
.service-card__link { color: var(--color-primary); font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; transition: gap var(--transition); }
.service-card__link:hover { gap: 0.8rem; }

/* ---------- 10. Why Choose Us — Full BG + Liquid Glass ---------- */
.why {
    position: relative;
    color: #fff;
    overflow: hidden;
    padding: 7rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.why__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.82) 100%),
        radial-gradient(circle at 20% 30%, rgba(31, 111, 178, 0.20), transparent 55%),
        radial-gradient(circle at 80% 75%, rgba(61, 165, 229, 0.14), transparent 55%);
    z-index: 1;
}

.why__inner {
    position: relative;
    z-index: 2;
}
.why__header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}
.why__lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.08rem;
    line-height: 1.75;
}

.why__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Liquid glass card */
.why__feature {
    position: relative;
    padding: 2rem 1.7rem;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all var(--transition);
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        0 14px 36px rgba(8, 16, 32, 0.25);
}
.why__feature::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 60%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: inherit;
}
.why__feature::after {
    content: '';
    position: absolute;
    top: -1px; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    pointer-events: none;
}
.why__feature:hover {
    transform: translateY(-8px);
    background: linear-gradient(180deg, rgba(61, 165, 229, 0.22) 0%, rgba(61, 165, 229, 0.06) 100%);
    border-color: rgba(61, 165, 229, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 22px 50px rgba(8, 16, 32, 0.35),
        0 0 30px rgba(61, 165, 229, 0.15);
}

.why__feature i {
    color: #fff;
    font-size: 1.4rem;
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(61, 165, 229, 0.35), rgba(31, 111, 178, 0.55));
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 8px 20px rgba(31, 111, 178, 0.3);
    transition: all var(--transition);
}
.why__feature:hover i {
    background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
    transform: rotate(-8deg) scale(1.05);
}
.why__feature h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.12rem;
}
.why__feature p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* ---------- 11. Process ---------- */
.process { background: var(--color-bg); position: relative; overflow: hidden; }
.process__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.process-step {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 2.2rem 1.8rem;
    position: relative;
    transition: all var(--transition);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.process-step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    transition: height var(--transition);
    z-index: 0;
}
.process-step:hover {
    background: #fff;
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    border-color: var(--color-primary-light);
}
.process-step > * { position: relative; z-index: 1; }
.process-step__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.9rem;
}
.process-step h4 { font-size: 1.2rem; color: var(--color-charcoal); margin-bottom: 0.6rem; }
.process-step p { color: var(--color-muted); font-size: 0.93rem; line-height: 1.65; }
.process-step__list {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--color-border);
    display: grid;
    gap: 0.6rem;
}
.process-step__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--color-charcoal-soft);
    font-size: 0.9rem;
    line-height: 1.5;
    font-weight: 500;
}
.process-step__list li::before {
    content: '';
    flex-shrink: 0;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    margin-top: 0.5rem;
    box-shadow: 0 0 0 4px rgba(61, 165, 229, 0.12);
}
.process-step:hover .process-step__list { border-top-color: var(--color-primary-light); }

/* ---------- 13. Contact ---------- */
.contact { background: var(--color-bg-alt); }
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4.5rem;
    align-items: start;
}
.contact__intro {
    color: var(--color-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.02rem;
}
.contact__list { display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.contact__list li {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    padding: 1.3rem 1.4rem;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    border: 1px solid var(--color-border);
}
.contact__list li:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
    border-color: var(--color-primary-light);
}
.contact__list > li > i {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: transform var(--transition);
}
.contact__list li:hover > i { transform: rotate(-8deg); }
.contact__list-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}
.contact__list-body strong {
    font-family: var(--font-display);
    color: var(--color-charcoal);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}
.contact__list-body a,
.contact__list-body span {
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    word-break: break-word;
    transition: color var(--transition);
}
.contact__list-body a:hover { color: var(--color-primary); }

/* Fast-response promise card */
.contact__promise {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.3rem 1.4rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-blue);
    position: relative;
    overflow: hidden;
}
.contact__promise::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(61, 165, 229, 0.45), transparent 70%);
    pointer-events: none;
}
.contact__promise > * { position: relative; z-index: 1; }
.contact__promise i {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact__promise strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}
.contact__promise span {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact__form {
    background: #fff;
    padding: 2.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}
.contact__form::before {
    content: '';
    position: absolute;
    top: 4px; right: 0;
    width: 40%; height: 4px;
    background: var(--color-accent);
}
.contact__form h3 { font-size: 1.55rem; margin-bottom: 1.6rem; color: var(--color-charcoal); }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { margin-bottom: 1.25rem; }
.form__group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.45rem;
    font-size: 0.88rem;
    color: var(--color-charcoal);
}
.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--color-charcoal);
    background: var(--color-bg-alt);
    transition: all var(--transition);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.12);
}
.form__group textarea { resize: vertical; }
.form__note { margin-top: 1rem; text-align: center; font-size: 0.9rem; min-height: 1.3em; }
.form__note.success { color: #1d9d62; }
.form__note.error { color: #d44545; }

/* ---------- 14. Footer ---------- */
.footer {
    background: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.78);
    padding-top: 4.5rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
    padding-bottom: 3rem;
}
.footer__logo {
    height: 70px;
    background: #fff;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 1.3rem;
}
.footer__brand p { font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.4rem; }
.footer__socials { display: flex; gap: 0.6rem; }
.footer__socials a {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    transition: all var(--transition);
}
.footer__socials a:hover {
    background: var(--color-accent);
    color: #fff;
    transform: translateY(-3px);
}

.footer__col h4 {
    color: #fff;
    margin-bottom: 1.4rem;
    font-size: 1.05rem;
    position: relative;
    padding-bottom: 0.7rem;
    letter-spacing: 0.02em;
}
.footer__col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col ul a { font-size: 0.92rem; transition: all var(--transition); }
.footer__col ul a:hover { color: var(--color-accent); padding-left: 6px; }

/* Get in Touch — refined alignment */
.footer__contact { display: grid; gap: 0.85rem; }
.footer__contact li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.92rem;
    line-height: 1.45;
}
.footer__icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0.85rem;
    transition: all var(--transition);
}
.footer__contact li:hover .footer__icon {
    background: var(--color-accent);
    color: #fff;
    transform: rotate(-6deg);
}
.footer__contact a { transition: color var(--transition); }
.footer__contact a:hover { color: var(--color-accent); }

.footer__bottom { padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- 15. Floating Buttons ---------- */
.float-whatsapp {
    position: fixed;
    bottom: 24px; left: 24px;
    width: 56px; height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    animation: pulseWA 2.5s infinite;
}
.float-whatsapp:hover { transform: scale(1.1); }
@keyframes pulseWA {
    0%, 100% { box-shadow: 0 10px 25px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.6); }
    50% { box-shadow: 0 10px 25px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}

.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 48px; height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--color-primary-dark); transform: translateY(-3px); }

/* ---------- 16. Reveal-on-scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(.4,0,.2,1), transform 0.9s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* =========================================================
   17. Responsive
   ========================================================= */
@media (max-width: 1100px) {
    .serve__grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
    .why__features { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .intro__grid { gap: 3.5rem; }
    .process__steps { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
}

@media (max-width: 992px) {
    .nav, .header__cta { display: none; }
    .hamburger { display: flex; }
    .nav.active {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-md);
        animation: slideDown 0.3s ease;
    }
    .nav.active .nav__list { flex-direction: column; width: 100%; gap: 0.2rem; }
    .nav.active .nav__link { padding: 0.85rem 1rem; border-radius: var(--radius-sm); width: 100%; }
    .nav.active .nav__link:hover { background: var(--color-bg-alt); }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

    .intro__grid { grid-template-columns: 1fr; gap: 3rem; }
    .intro__media { max-width: 560px; margin: 0 auto; }
    .contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .why { background-attachment: scroll; padding: 5rem 0; }
    .header__logo img { height: 64px; }
    .header.scrolled .header__logo img { height: 54px; }
}

@media (max-width: 768px) {
    section { padding: 4.2rem 0; }
    .top-bar__contact { gap: 0.8rem; font-size: 0.78rem; }
    .top-bar__socials { display: none; }
    .hero { min-height: 540px; height: 70vh; }
    .hero__container { padding: 4rem 24px 4.5rem; }
    .hero__cta { flex-direction: column; align-items: stretch; }
    .hero__cta .btn { justify-content: center; }
    .serve__grid { grid-template-columns: 1fr; }
    .why__features { grid-template-columns: 1fr; }
    .form__row { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer__bottom-inner { justify-content: center; text-align: center; }
    .header__logo img { height: 56px; }
    .header.scrolled .header__logo img { height: 48px; }
    .container { padding: 0 20px; }
    .header__inner { padding: 0.85rem 20px; }
    .contact__form { padding: 1.8rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero__container { padding: 3.5rem 20px 4rem; }
    .hero__title { font-size: 2.1rem; }
    .contact__form { padding: 1.5rem; }
    .top-bar__item:nth-child(2) { display: none; }
    .float-whatsapp { width: 50px; height: 50px; font-size: 1.3rem; }
    .back-to-top { width: 44px; height: 44px; }
}

/* ---------- 18. Footer additions (text brand, strip, hours) ---------- */
.footer__strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 1.4rem 0;
    position: relative;
    overflow: hidden;
}
.footer__strip::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}
.footer__strip-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}
.footer__strip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: transform var(--transition);
}
.footer__strip-item:hover { transform: translateY(-2px); }
.footer__strip-item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.12);
    width: 28px; height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Text-based brand */
.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.footer__brand-name span {
    background: linear-gradient(135deg, var(--color-accent) 0%, #84CFF5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer__brand-sub {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.2rem !important;
}
.footer__tagline {
    color: var(--color-accent) !important;
    font-weight: 500;
    font-style: italic;
    font-size: 0.95rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.5;
}
.footer__brand-desc {
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.4rem !important;
}

/* Business hours block */
.footer__hours {
    margin-top: 1.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 0.3rem;
}
.footer__hours strong {
    font-family: var(--font-display);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.footer__hours span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ---------- 19. Animation Variants ---------- */
.reveal--left {
    opacity: 0;
    transform: translateX(-50px);
}
.reveal--left.visible { opacity: 1; transform: translateX(0); }

.reveal--right {
    opacity: 0;
    transform: translateX(50px);
}
.reveal--right.visible { opacity: 1; transform: translateX(0); }

.reveal--scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
}
.reveal--scale.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal--fade {
    opacity: 0;
    transform: none;
}
.reveal--fade.visible { opacity: 1; }

/* Subtle floating animation for hero accents */
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.intro__media-tag { animation: floatY 4s ease-in-out infinite; }

/* Smoother transitions for cards on hover */
.serve-card,
.process-step,
.why__feature,
.contact__list li {
    will-change: transform;
}

/* ---------- 20. Benefits Strip (own section between contact and footer) ---------- */
.benefits-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 1.6rem 0;
    position: relative;
    overflow: hidden;
}
.benefits-strip::before,
.benefits-strip::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}
.benefits-strip::before { top: 0; }
.benefits-strip::after { bottom: 0; }
.benefits-strip__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.4rem;
}
.benefits-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    transition: transform var(--transition);
    flex: 1;
    justify-content: center;
    min-width: 200px;
}
.benefits-strip__item:hover { transform: translateY(-2px); }
.benefits-strip__item i {
    color: var(--color-accent);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.14);
    width: 32px; height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .benefits-strip__inner { gap: 1rem 1.4rem; }
    .benefits-strip__item { min-width: 45%; font-size: 0.88rem; }
}
@media (max-width: 480px) {
    .benefits-strip__item { min-width: 100%; }
}

/* ---------- 21. Footer brand simplified ---------- */
.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}
.footer__brand-name span {
    /* removed gradient - keep span styles neutral if used */
    color: inherit;
    background: none;
    -webkit-text-fill-color: currentColor;
}

/* ---------- 22. Credits ---------- */
.footer__credit {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
.footer__credit a {
    color: var(--color-accent);
    font-weight: 500;
    transition: color var(--transition), opacity var(--transition);
    border-bottom: 1px dotted rgba(61, 165, 229, 0.4);
    padding-bottom: 1px;
}
.footer__credit a:hover {
    color: #fff;
    border-bottom-color: #fff;
}

/* ---------- 23. Typography refinements ---------- */
body { letter-spacing: -0.005em; }

h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.02em;
}

.section__title { font-weight: 700; }
.section__subtitle { font-weight: 400; max-width: 640px; margin-left: auto; margin-right: auto; }

p {
    font-weight: 400;
}

.intro__lead, .why__lead, .contact__intro {
    font-weight: 500;
    letter-spacing: -0.005em;
}

/* Tighter, more readable hero subtitle */
.hero__subtitle {
    font-weight: 400;
    line-height: 1.7;
}

/* Tighten card titles and body */
.serve-card h3,
.process-step h4,
.why__feature h4 {
    letter-spacing: -0.015em;
}

.serve-card p,
.process-step p,
.why__feature p {
    font-weight: 400;
    line-height: 1.65;
}

/* Hide the old footer__strip styles (it was inside the footer; now moved outside) */
.footer__strip { display: none; }

/* ---------- 24. Stronger, More Visible Scroll Animations ---------- */
/* Override base reveal with more obvious motion */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--left {
    opacity: 0;
    transform: translateX(-60px);
    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal--left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal--right {
    opacity: 0;
    transform: translateX(60px);
    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal--right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal--scale {
    opacity: 0;
    transform: scale(0.88) translateY(40px);
    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal--scale.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.reveal--fade {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 1s cubic-bezier(.16, 1, .3, 1),
        transform 1s cubic-bezier(.16, 1, .3, 1);
}
.reveal--fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service cards - more pronounced staggered scale-in */
.serve-card.reveal--scale {
    transform: scale(0.85) translateY(50px);
}
.serve-card.reveal--scale.visible {
    transform: scale(1) translateY(0);
}

/* Why feature cards - subtle scale-in */
.why__feature.reveal--scale {
    transform: scale(0.9) translateY(30px);
}

/* Benefits-strip section is removed — hide its leftover styles */
.benefits-strip { display: none !important; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal--left, .reveal--right, .reveal--scale, .reveal--fade {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   INNER-PAGE STYLES (about, services, why, contact, quote, thank-you, faq)
   ========================================================= */

/* ---------- Page Hero (smaller than homepage hero) ---------- */
.page-hero {
    position: relative;
    min-height: 380px;
    padding: 6rem 0 5rem;
    display: flex;
    align-items: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.page-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.82) 100%),
        radial-gradient(circle at 20% 30%, rgba(31, 111, 178, 0.20), transparent 55%),
        radial-gradient(circle at 80% 75%, rgba(61, 165, 229, 0.14), transparent 55%);
    z-index: 1;
}
.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    text-align: center;
    margin: 0 auto;
}
.page-hero__breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}
.page-hero__breadcrumb a { color: var(--color-accent); transition: color var(--transition); }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__breadcrumb i { font-size: 0.7rem; opacity: 0.6; }
.page-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}
.page-hero__subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ---------- Generic content section ---------- */
.section { padding: 5.5rem 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
    background: var(--color-bg-dark);
    color: #fff;
}
.section--dark .section__title { color: #fff; }
.section--dark .section__subtitle { color: rgba(255,255,255,0.85); }

/* ---------- Two-column layout ---------- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

/* ---------- Mission / Vision cards ---------- */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}
.mv-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    transition: all var(--transition);
}
.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.mv-card__icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.4rem;
}
.mv-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--color-charcoal);
}
.mv-card p { color: var(--color-muted); line-height: 1.7; }

/* ---------- Values grid ---------- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.value-card {
    text-align: center;
    padding: 2.2rem 1.5rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}
.value-card__icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin: 0 auto 1.2rem;
    transition: all var(--transition);
}
.value-card:hover .value-card__icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    transform: scale(1.05);
}
.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}
.value-card p {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ---------- CTA strip section ---------- */
.cta-strip {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 4.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(61, 165, 229, 0.3), transparent 70%);
}
.cta-strip__content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 0 32px; }
.cta-strip h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 1rem;
}
.cta-strip p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    line-height: 1.7;
}
.cta-strip__buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Story / About paragraphs ---------- */
.story p {
    margin-bottom: 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
}
.story p:first-of-type { font-weight: 500; color: var(--color-charcoal-soft); font-size: 1.08rem; }

/* ---------- Why-page benefit grid (light) ---------- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}
.benefit-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2.2rem 2rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
    text-align: left;
}
.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}
.benefit-card__icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-accent-soft), rgba(31,111,178,0.05));
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.3rem;
    transition: all var(--transition);
}
.benefit-card:hover .benefit-card__icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    transform: rotate(-6deg);
}
.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--color-charcoal);
}
.benefit-card p {
    color: var(--color-muted);
    line-height: 1.65;
    font-size: 0.95rem;
}

/* ---------- Map embed ---------- */
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}
.map-embed iframe {
    width: 100%;
    height: 360px;
    border: 0;
    display: block;
}

/* ---------- FAQ Page ---------- */
.faq-search {
    max-width: 640px;
    margin: 0 auto 2.5rem;
    position: relative;
}
.faq-search input {
    width: 100%;
    padding: 1.1rem 1.4rem 1.1rem 3.2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-charcoal);
    background: #fff;
    border: 1.5px solid var(--color-border);
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.faq-search input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(31, 111, 178, 0.12), var(--shadow-md);
}
.faq-search i {
    position: absolute;
    left: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-primary);
    font-size: 1rem;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.faq-category {
    padding: 0.55rem 1.3rem;
    border-radius: 50px;
    background: var(--color-bg-alt);
    border: 1.5px solid var(--color-border);
    color: var(--color-charcoal);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font-body);
}
.faq-category:hover {
    border-color: var(--color-primary-light);
    color: var(--color-primary);
}
.faq-category.active {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0.9rem; }
.faq-item {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}
.faq-item.is-open {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}
.faq-item.hidden { display: none; }

.faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 1.3rem 1.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: var(--color-charcoal);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: color var(--transition);
}
.faq-question:hover { color: var(--color-primary); }
.faq-question .faq-toggle {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--color-accent-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: all var(--transition);
}
.faq-item.is-open .faq-toggle {
    background: var(--color-primary);
    color: #fff;
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.faq-answer-inner {
    padding: 0 1.6rem 1.4rem;
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--color-muted);
    display: none;
}
.faq-empty.show { display: block; }

/* ---------- Quote / Contact form (multi-step style) ---------- */
.quote-form-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--color-primary);
}
.quote-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}
.quote-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: var(--color-border);
    z-index: 0;
}
.quote-step-indicator {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
}
.quote-step-indicator__num {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--color-border);
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
    margin: 0 auto 0.4rem;
    transition: all var(--transition);
}
.quote-step-indicator.active .quote-step-indicator__num {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-color: var(--color-primary);
    color: #fff;
    box-shadow: var(--shadow-blue);
}
.quote-step-indicator.completed .quote-step-indicator__num {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}
.quote-step-indicator__label {
    font-size: 0.78rem;
    color: var(--color-muted);
    font-weight: 500;
}
.quote-step-indicator.active .quote-step-indicator__label { color: var(--color-primary); font-weight: 600; }

.quote-step { display: none; animation: fadeIn 0.4s ease; }
.quote-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.quote-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ---------- Thank You Page ---------- */
.thankyou {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    background: var(--color-bg-alt);
}
.thankyou__inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}
.thankyou__icon {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-blue);
    animation: thankPulse 2.4s ease-in-out infinite;
}
@keyframes thankPulse {
    0%, 100% { box-shadow: 0 14px 36px rgba(31, 111, 178, 0.35), 0 0 0 0 rgba(31, 111, 178, 0.4); }
    50% { box-shadow: 0 14px 36px rgba(31, 111, 178, 0.35), 0 0 0 18px rgba(31, 111, 178, 0); }
}
.thankyou h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}
.thankyou__lead {
    font-size: 1.1rem;
    color: var(--color-charcoal-soft);
    margin-bottom: 1rem;
    font-weight: 500;
}
.thankyou__sub {
    color: var(--color-muted);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.thankyou__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---------- Footer brand simplification (matches H4 size) ---------- */
.footer__brand-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.4;
    letter-spacing: 0.02em;
    margin-bottom: 1.2rem;
    padding-bottom: 0.7rem;
    position: relative;
    display: inline-block;
    text-transform: none;
}
.footer__brand-name::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ---------- Inner-page responsive ---------- */
@media (max-width: 992px) {
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .mv-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .page-hero { min-height: 320px; padding: 4.5rem 0 4rem; }
    .quote-form-wrap { padding: 1.8rem; }
    .quote-step-indicator__label { font-size: 0.7rem; }
    .quote-actions { flex-direction: column; }
    .quote-actions .btn { width: 100%; justify-content: center; }
    .thankyou__buttons .btn { width: 100%; justify-content: center; }
    .thankyou__buttons { flex-direction: column; }
    .benefits-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   25. Typography & Polish Refinements (v3)
   - Sharper hierarchy & rhythm, better readability + a11y
   - Keeps the existing Poppins design language intact
   ========================================================= */

/* Crisper rendering across browsers */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-padding-top: 120px; /* keep anchored sections clear of sticky header */
}
body { font-optical-sizing: auto; }

/* Balanced headings, prettier paragraph ragging (progressive enhancement) */
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* Tuned heading weights & leading for clearer hierarchy */
h1 { font-weight: 800; line-height: 1.1; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
h4 { font-weight: 600; }

.section__title { line-height: 1.14; }
.section__subtitle { font-size: 1.06rem; line-height: 1.75; }

/* Lead paragraphs read as a clear second tier under the title */
.intro__lead, .why__lead, .contact__intro, .page-hero__subtitle, .hero__subtitle {
    text-wrap: pretty;
}

/* Body copy measure & weight consistency */
.serve-card p, .service-card p, .process-step p, .benefit-card p,
.value-card p, .mv-card p, .faq-answer-inner { font-weight: 400; }

/* Eyebrows: consistent, refined tracking */
.section__eyebrow, .nav__link, .header__cta, .footer__col h4,
.page-hero__breadcrumb { font-feature-settings: "ss01"; }

/* Links inside running copy (story/answers) get a subtle underline affordance */
.story a:not(.btn), .faq-answer-inner a:not(.btn) {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color var(--transition);
}
.story a:not(.btn):hover, .faq-answer-inner a:not(.btn):hover { color: var(--color-primary-dark); }

/* ---------- Accessibility: visible keyboard focus everywhere ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.faq-question:focus-visible,
.faq-category:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 4px;
}
/* Don't double-up the ring on inputs that already show a focus box-shadow */
.form__group input:focus-visible,
.form__group select:focus-visible,
.form__group textarea:focus-visible,
.faq-search input:focus-visible { outline-offset: 0; }

/* Selection colour on-brand */
::selection { background: rgba(31, 111, 178, 0.18); color: var(--color-charcoal); }

/* =========================================================
   26. Mobile & Responsive Refinements
   ========================================================= */

/* Hard stop against any horizontal overflow.
   overflow-x: clip avoids creating a scroll container, so the
   sticky header keeps working (unlike overflow-x: hidden on html). */
html { overflow-x: clip; }
body { max-width: 100%; }
img, iframe, video { max-width: 100%; height: auto; }

/* Let long emails / URLs wrap instead of forcing the layout wide */
.contact__list-body a, .contact__list-body span,
.footer__contact a, .top-bar__item, .footer__credit a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Grid/flex children are allowed to shrink (prevents overflow blowouts) */
.contact__grid > *, .intro__grid > *, .two-col > *,
.footer__grid > *, .header__inner > * { min-width: 0; }

/* Comfortable minimum tap targets on touch screens */
@media (hover: none) and (pointer: coarse) {
    .nav.active .nav__link { min-height: 48px; display: flex; align-items: center; }
    .footer__socials a, .top-bar__socials a { min-width: 40px; min-height: 40px; }
    .serve-card__link, .service-card__link, .footer__col ul a { padding-block: 4px; }
}

@media (max-width: 768px) {
    /* Slightly tighter heading scale so big titles never overflow small screens */
    .section__header { margin-bottom: 2.6rem; }
    .page-hero__title { font-size: clamp(1.7rem, 7vw, 2.3rem); }
    .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
    /* Keep the top bar legible and on one tidy line */
    .top-bar { font-size: 0.8rem; }
    .top-bar__inner { justify-content: center; }
}

@media (max-width: 480px) {
    .top-bar__contact { justify-content: center; text-align: center; }
    .contact__list li { padding: 1.1rem 1.1rem; }
    .contact__form h3 { font-size: 1.35rem; }
    .cta-strip__buttons .btn, .hero__cta .btn { width: 100%; justify-content: center; }
    .section__eyebrow { padding-left: 28px; }
}

/* Very small phones (~360px and below) */
@media (max-width: 360px) {
    .container { padding: 0 14px; }
    .hero__container { padding: 3rem 16px 3.4rem; }
    .header__logo img { height: 50px; }
    .btn { padding: 0.8rem 1.3rem; font-size: 0.9rem; }
}

/* Honeypot anti-spam field — visually & audibly hidden, off-screen */
.form__hp {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
