:root {
    --txt: #111827;
    --muted: #6B7280;
    --line: #E5E7EB;
    --bg: #fff;
    --accent: #FFD000;
    --accent-h: #F2C200;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    background: var(--bg);
    color: var(--txt);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

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

a:hover {
    text-decoration: underline;
    text-decoration-thickness: 0.125em;
    text-underline-offset: 4px;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--line);
}

.header-top {
    border-top: 1px solid var(--line);
    background: #FEF9C3;
    /* color: #5D636F; */
    color: var(--txt);
    opacity: 0.75;
    font-size: 12px;
    padding: 8px 0;
    text-align: center;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    gap: 16px;
}

.nav__right {
    display: flex;
    gap: inherit;
    align-items: flex-start;
    justify-content: flex-end;
}

.nav__right  .chips {
    margin-top: 2px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none!important;
}

.logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #111827;
    color: #FFD000;
    font-weight: 800;
}

.menu {
    display: flex;
    gap: 24px;
    align-items: center;
}

.menu a {
    font-weight: 600;
    font-size: 14px;
}

.cta-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.cta-col__info {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.btn {
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line);
    font-weight: 700;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn svg {
    display: block;
    width: auto;
    height: 14px;
    /* color: #F26419; */
}

.btn.primary {
    background: var(--accent);
    border-color: var(--accent);
}

.btn.primary:hover {
    background: var(--accent-h);
}

.icon-btn {
    display: block;
    width: 44px;
    height: 44px;
    padding: 8px;
}

.icon-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.chips {
    display: flex;
    gap: 8px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 600;
}

.chip svg {
    width: 18px;
    height: 18px;
}

/* Hero */
.hero {
    padding: 48px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

h1 {
    font-size: 40px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin: 0 0 12px;
}

.sub {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 32px;
}

.stack {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stack.btn--stack {
    margin-top: 32px;
}

#services .stack.btn--stack {
    justify-content: center;
}

.hero img {
    max-width: 100%;
    height: auto;
}

/* Desktop: fill the right hero column */
@media (min-width: 901px) {
    .hero {
        position: relative;
        min-height: 400px;
        max-height: 600px;
        height: 60vh;
    }

    .hero-media {
        position: absolute;
        /* top: 0; */
        bottom: 0;
        right: 0;
        width: 53%;
        height: 100%;
       

        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-media img {
        display: block;
        max-width: 100%;
        height: auto;
        max-height: 75vh;
        margin-left: auto;
    }
   
}

.note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    color: var(--txt);
    opacity: 0.75;
    font-size: 14px;
    font-weight: 600;
}

.note svg {
    display: block;
    width: 14px;
    height: auto;
}

/* Services */
section {
    padding: 40px 0;
}

h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 0 0 24px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.card {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid var(--line);
}

.card h3 {
    margin: 0 0 6px;
    font-size: 18px;
}

.card p {
    margin: 0;
    color: var(--muted);
}

/* Testimonials */
.testi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.t {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
    background: #fff;
}

.t strong {
    display: block;
    margin-bottom: 4px;
}

/* Pre-footer CTA */
.cta-strip {
    background: #FEF9C3;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.strip-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
}

.foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    gap: 16px;
    color: var(--muted);
    font-size: 14px;
}

.foot:hover a {
    color: var(--txt);
}

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

.foot__text {
    font-size: 12px;
    font-weight: 600;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 50;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--txt);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 16px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease, visibility 0s linear 0.35s;
    z-index: 45;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 20px;
}

.mobile-nav a {
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}

/* Animate children in with a subtle stagger */
.mobile-nav a,
.mobile-chips .icon-btn,
.mobile-cta .btn {
    opacity: 0;
    transform: translateY(8px);
    transition: transform 0.32s ease, opacity 0.32s ease;
}

.mobile-menu.active .mobile-nav a,
.mobile-menu.active .mobile-chips .icon-btn,
.mobile-menu.active .mobile-cta .btn {
    opacity: 1;
    transform: translateY(0);
}

/* .mobile-menu.active .mobile-nav a:nth-child(1) { transition-delay: 60ms; }
.mobile-menu.active .mobile-nav a:nth-child(2) { transition-delay: 110ms; }
.mobile-menu.active .mobile-nav a:nth-child(3) { transition-delay: 160ms; }

.mobile-menu.active .mobile-chips .icon-btn:nth-child(1) { transition-delay: 200ms; }
.mobile-menu.active .mobile-chips .icon-btn:nth-child(2) { transition-delay: 240ms; }
.mobile-menu.active .mobile-chips .icon-btn:nth-child(3) { transition-delay: 280ms; } */

/* .mobile-menu.active .mobile-cta .btn { transition-delay: 320ms; } */

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-nav a,
    .mobile-chips .icon-btn,
    .mobile-cta .btn {
        transition: none !important;
    }
}

.mobile-chips {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 0;
}

.mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.mobile-cta__info {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

/* Mobile bottom section with flexible layout */
.mobile-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    /* justify-content: center; */
}

/* CTA actions (pre-footer) keep icons together; wrap as a block under button */
.cta-actions {
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.cta-actions .chips {
    display: inline-flex;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* If not enough width, move chips to a new line */
@media (max-width: 680px) {
    .cta-actions {
        gap: 12px 16px;
    }
    .cta-actions .chips {
        width: 100%;
        justify-content: flex-end;
    }
    .cta-actions .btn.primary {
        flex: 0 0 auto;
    }

    .foot {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}

/* Mobile bar */
.mobile-bar {
    position: sticky;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px;
    display: none;
    gap: 8px;
    z-index: 45;
}

.mobile-bar a {
    flex: 1;
}

.mobile-bar .btn.btn--icon {
    padding: 10px;
}

.mobile-bar .btn img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .hero-media {
        display: none;
    }
    .hero-content {
        align-items: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero, h2 {
        text-align: center;
    }
/* 
    .hero-cta-wrap {
        display: grid;
        justify-content: center;
    } */
    
    .stack.btn--stack {
        justify-content: center;
    }

    /* Center hero CTA, icons row, and location on mobile */
    .hero-actions { justify-content: center; }
    .hero-actions .chips { width: 100%; justify-content: center; }
    .note { justify-content: center; }

    .cta-col {
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    /* Show hamburger menu and hide desktop navigation */
    .hamburger {
        display: flex;
    }
    
    .menu {
        display: none;
    }
    
    .nav__right {
        display: none;
    }
    
    .mobile-bar {
        display: flex;
    }
}

@media (max-width: 680px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .testi {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .grid, .testi {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 768px) {
    .cta-strip {
        margin-top: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .cta-strip {
        margin-top: 40px;
    }
}



