:root {
    --ink: #062c33;
    --gold: #edcd1f;
}

html { scroll-behavior: smooth; scroll-padding-top: 7rem; }
body { margin: 0; overflow-x: hidden; }
::selection { background: var(--gold); color: var(--ink); }

.skip-link {
    position: fixed; left: 1rem; top: -5rem; z-index: 100;
    border-radius: 999px; background: #fff; padding: .8rem 1.2rem;
    color: var(--ink); font-weight: 700; transition: top .2s ease;
}
.skip-link:focus { top: 1rem; }

.hero-grid {
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 84px 84px;
}

#site-header { transition: box-shadow .25s ease, background-color .25s ease; }
#site-header.is-scrolled { box-shadow: 0 12px 40px rgba(6, 44, 51, .09); }

.nav-link {
    position: relative; padding: .7rem 0; color: #334155;
    font-size: .9rem; font-weight: 700;
}
.nav-link::after {
    content: ""; position: absolute; right: 0; bottom: .3rem; left: 0;
    height: 2px; background: var(--gold); transform: scaleX(0);
    transform-origin: right; transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
    display: grid; height: 2.75rem; width: 2.75rem; place-content: center;
    gap: 5px; border-radius: 999px; background: #edf3f1;
}
.menu-toggle span {
    display: block; height: 2px; width: 18px; background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-link {
    display: flex; border-bottom: 1px solid #e2e8f0; padding: 1rem 0;
    color: var(--ink); font-size: 1.1rem; font-weight: 700;
}

.section-kicker { color: #9e8915; font-size: .75rem; font-weight: 800; letter-spacing: .2em; }
.section-title {
    max-width: 46rem; margin-top: 1.15rem; color: var(--ink);
    font-family: "Manrope", sans-serif; font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800; letter-spacing: -.045em; line-height: 1.06;
}

.service-card {
    display: flex; min-height: 36rem; flex-direction: column; overflow: hidden;
    border: 1px solid #dde4e1; border-radius: 1.5rem; background: #fff;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: #b9c9b0; box-shadow: 0 24px 60px rgba(6, 44, 51, .1); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #dfe5e2; }
.service-media img { height: 100%; width: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-media img { transform: scale(1.045); }
.service-badge {
    position: absolute; top: 1.25rem; left: 1.25rem; display: grid; height: 2.8rem; width: 2.8rem;
    place-items: center; border-radius: 999px; background: #edcd1f; color: var(--ink);
    font-family: "Manrope", sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .08em;
}
.service-content { display: flex; flex: 1; flex-direction: column; padding: 2rem; }
.service-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 2rem; color: var(--ink); font-weight: 700; }
.service-link span { transition: transform .2s ease; }
.service-link:hover span { transform: translateX(5px); }

.activities-panel {
    display: grid; gap: 3rem; margin-top: 5rem; overflow: hidden; border-radius: 2rem;
    background: var(--ink); padding: 2rem;
}
.activities-intro { align-self: start; padding: 1rem 0; }
.activities-intro h3 {
    max-width: 34rem; margin-top: 1rem; color: #fff; font-family: "Manrope", sans-serif;
    font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.08;
}
.activities-intro > p:last-child { max-width: 31rem; margin-top: 1.5rem; color: rgba(255,255,255,.58); line-height: 1.75; }
.activities-list { margin: 0; padding: 0; list-style: none; }
.activities-list li {
    display: grid; grid-template-columns: 2.5rem 1fr; align-items: center; gap: .75rem;
    min-height: 4.75rem; border-top: 1px solid rgba(255,255,255,.12); padding: .9rem .25rem;
}
.activities-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.activities-list span { color: #edcd1f; font-size: .68rem; font-weight: 800; letter-spacing: .12em; }
.activities-list strong { color: rgba(255,255,255,.86); font-size: .95rem; font-weight: 600; line-height: 1.45; }

.text-link { display: inline-flex; align-items: center; gap: .8rem; color: var(--ink); font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }

.project-card { overflow: hidden; border-radius: 1.5rem; background: #f8fafc; }
.project-image { height: 100%; width: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .project-image { transform: scale(1.04); }
.project-caption { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.5rem; }
.project-caption h3 { margin-top: .3rem; color: var(--ink); font-family: "Manrope", sans-serif; font-size: 1.25rem; font-weight: 800; }
.project-type { color: #9e8915; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.project-arrow {
    display: grid; height: 2.6rem; width: 2.6rem; flex: none; place-items: center;
    border-radius: 999px; background: #edf3f1; color: var(--ink);
    transition: background .2s ease, transform .2s ease;
}
.project-card:hover .project-arrow { transform: rotate(8deg); background: var(--gold); }

.value-card { display: flex; min-height: 13rem; flex-direction: column; justify-content: flex-end; gap: .7rem; background: #fff; padding: 2rem; }
.value-card strong { color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.04em; }
.value-card span { max-width: 13rem; color: #64748b; font-size: .9rem; line-height: 1.5; }

.client-feature {
    min-height: 12rem; border: 1px solid rgba(255,255,255,.12); border-radius: 1.25rem;
    background: rgba(255,255,255,.045); padding: 1.5rem;
    transition: background .25s ease, border-color .25s ease;
}
.client-feature:hover { border-color: rgba(237,205,31,.65); background: rgba(255,255,255,.08); }
.client-feature span { display: block; margin-bottom: 2.5rem; color: #f7df58; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.client-feature strong { display: block; font-family: "Manrope", sans-serif; font-size: 1.1rem; }
.client-feature p { margin-top: .5rem; color: rgba(255,255,255,.52); font-size: .85rem; }

.footer-link { transition: color .2s ease; }
.footer-link:hover { color: #f7df58; }

.quote-grid { display: grid; gap: 1rem; }
.quote-field { display: grid; gap: .45rem; }
.quote-field label { color: var(--ink); font-size: .9rem; font-weight: 700; }
.quote-field input:not([type="checkbox"]), .quote-field select, .quote-field textarea {
    width: 100%; border: 1px solid #cbd5e1; border-radius: .8rem; background: #fff;
    padding: .85rem 1rem; color: #1e293b;
}
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus {
    border-color: #9e8915; outline: 3px solid rgba(237,205,31,.28);
}
.quote-field > span, .form-error { color: #b91c1c; font-size: .82rem; }
.privacy-check { display: flex; align-items: flex-start; gap: .7rem; font-weight: 500 !important; line-height: 1.5; }
.privacy-check input { margin-top: .25rem; }
.privacy-check a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.map-button { border-radius: 999px; background: #edf3f1; padding: .55rem .9rem; color: var(--ink); font-size: .82rem; font-weight: 800; }
.map-button:disabled { cursor:not-allowed; opacity:.55; }
.location-box { border: 1px solid #dbe5e2; border-radius: 1rem; background: #f8faf9; padding: 1rem; }
.google-map { min-height: 340px; overflow:hidden; border:1px solid #cbd5e1; border-radius:1rem; background:#e8efed; }
.legal-content { color:#475569; font-size:1rem; line-height:1.75; }
.legal-content .lead { color:#334155; font-size:1.12rem; line-height:1.8; }
.legal-content h2 { margin-top:2.25rem; color:var(--ink); font-family:"Manrope",sans-serif; font-size:1.35rem; font-weight:800; }
.legal-content p { margin-top:.8rem; }
.legal-content ul { margin:.8rem 0 0; padding-left:1.35rem; list-style:disc; }
.legal-content li + li { margin-top:.5rem; }
.legal-content a { color:var(--ink); font-weight:700; text-decoration:underline; text-decoration-color:var(--gold); text-decoration-thickness:2px; text-underline-offset:3px; }

@media (min-width: 640px) {
    .quote-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quote-field.full { grid-column: 1 / -1; }
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (max-width: 767px) {
    .hero-grid { background-size: 48px 48px; }
    .service-card { min-height: 34rem; }
}

@media (min-width: 768px) {
    .activities-panel { padding: 3rem; }
    .activities-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
    .activities-list li:nth-last-child(2) { border-bottom: 1px solid rgba(255,255,255,.12); }
}

@media (min-width: 1024px) {
    .activities-panel { grid-template-columns: .8fr 1.2fr; gap: 5rem; padding: 4rem; }
}

@media (min-width: 1024px) {
    .menu-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .reveal { opacity: 1; transform: none; }
}
