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

:root {
    --frame-pad: 14px;
    --frame-color: #000;
    --brand-navy: #192954;
}

@media (min-width: 768px) {
    :root { --frame-pad: 28px; }
}

html { -webkit-text-size-adjust: 100%; background: #fff; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #111;
    line-height: 1.6;
    padding: var(--frame-pad);
    padding-top: max(var(--frame-pad), env(safe-area-inset-top));
    padding-left: max(var(--frame-pad), env(safe-area-inset-left));
    padding-right: max(var(--frame-pad), env(safe-area-inset-right));
    padding-bottom: max(var(--frame-pad), env(safe-area-inset-bottom));
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: calc(100svh - (var(--frame-pad) * 2) - 2px);
    min-height: 480px;
    overflow: hidden; /* clips blur bleed at edges */
    background: #1d2a14;
    border: 1px solid var(--frame-color);
}

/* ONE element. ONE animation. Everything inside blurs/sharpens as a unit.
   Initial blur set in CSS (not via animation from-state) — avoids iOS
   WebKit from-state interpolation artifacts and the overshoot bug.
   will-change: filter forces Chrome to flatten all child layers into one
   compositor texture before applying the filter. */
.hero-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-filter: blur(16px);
    filter: blur(16px);
    will-change: filter;
    -webkit-animation: hero-unblur 2s ease-out 0.05s forwards;
    animation: hero-unblur 2s ease-out 0.05s forwards;
}

@-webkit-keyframes hero-unblur {
    from { -webkit-filter: blur(16px); filter: blur(16px); }
    to   { -webkit-filter: blur(0px);  filter: blur(0px); }
}
@keyframes hero-unblur {
    from { -webkit-filter: blur(16px); filter: blur(16px); }
    to   { -webkit-filter: blur(0px);  filter: blur(0px); }
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.hero-logo {
    position: absolute;
    top: clamp(1rem, 3.5vh, 2.25rem);
    left: 50%;
    transform: translateX(-50%);
    display: block;
    z-index: 2;
}

.hero-logo img {
    height: clamp(44px, 6.5vh, 72px);
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5vw;
    max-width: 1200px;
    text-align: center;
}

.hero-content h1 {
    font-family: "Montserrat", "Arial Black", "Helvetica Inserat", Impact, sans-serif;
    font-weight: 900;
    font-size: clamp(2.4rem, 9vw, 6rem);
    line-height: 0.98;
    letter-spacing: -0.01em;
    color: #fff;
    text-transform: uppercase;
    text-wrap: balance;
    hyphens: none;
    text-shadow:
        0 2px 6px rgba(0,0,0,0.45),
        0 10px 30px rgba(0,0,0,0.35);
}

@media (min-width: 1024px) {
    .hero-content h1 { font-size: clamp(4rem, 7vw, 6.5rem); }
}

/* Chevron sits outside hero-inner so it's not blurred */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: clamp(1.25rem, 4vh, 3rem);
    width: clamp(64px, 9vw, 112px);
    height: clamp(64px, 9vw, 112px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    z-index: 6;
    border-radius: 50%;
    -webkit-tap-highlight-color: transparent;
    -webkit-animation: chevron-fade 1s ease-out 2.2s both;
    animation: chevron-fade 1s ease-out 2.2s both;
    transform: translateX(-50%);
}

.hero-scroll-icon {
    width: clamp(48px, 7vw, 88px);
    height: clamp(48px, 7vw, 88px);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.55));
    -webkit-animation: chevron-nudge 2.4s ease-in-out 3.2s infinite;
    animation: chevron-nudge 2.4s ease-in-out 3.2s infinite;
}

@keyframes chevron-fade {
    from { opacity: 0; }
    to   { opacity: 0.75; }
}

@keyframes chevron-nudge {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-inner, .hero-scroll, .hero-scroll-icon { animation: none !important; -webkit-animation: none !important; }
    .hero-inner { filter: none; -webkit-filter: none; }
    .hero-scroll { opacity: 0.7; }
}

/* ============ Content sections ============ */
main { padding-top: 2rem; }

section { padding: 4rem 1.5rem; text-align: center; }

section h2 {
    font-family: "Montserrat", "Arial Black", "Helvetica Inserat", Impact, sans-serif;
    font-weight: 900;
    font-size: clamp(1.7rem, 4.2vw, 2.5rem);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: -0.005em;
    color: var(--brand-navy);
}

section p { max-width: 640px; margin: 0 auto; font-size: 1.0625rem; color: #222; }

.contact-list {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 1.0625rem;
}

.contact-list a { color: var(--brand-navy); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1.1rem 2.6rem;
    background: var(--brand-navy);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: background-color 0.25s, transform 0.15s;
}

.cta-button:hover { background: #0f1a36; transform: translateY(-2px); }

/* Thank-you modal */
.thankyou-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.thankyou-modal[hidden] { display: none; }

.thankyou-box {
    background: #fff;
    max-width: 420px;
    width: 100%;
    padding: 3rem 2rem 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: ty-rise 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes ty-rise {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ty-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.thankyou-box h2 {
    font-family: "Montserrat", "Arial Black", sans-serif;
    font-weight: 900;
    font-size: clamp(1.3rem, 5vw, 1.7rem);
    color: var(--brand-navy);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
}

.thankyou-box p {
    font-size: 0.975rem;
    color: #444;
    line-height: 1.6;
    max-width: 320px;
    margin: 0;
}

.ty-phone {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-navy);
    text-decoration: none;
    letter-spacing: -0.01em;
}

.ty-phone:hover { text-decoration: underline; }

.ty-close {
    margin-top: 0.5rem;
    padding: 0.85rem 2.5rem;
    background: var(--brand-navy);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s;
}

.ty-close:hover { background: #0f1a36; }

/* Gallery carousel */
.gallery {
    padding: 0;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 3px;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-item {
    flex: 0 0 78vw;
    max-width: 340px;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    scroll-snap-align: center;
    overflow: hidden;
    display: block;
}

.gallery-item:first-child { margin-left: calc(50% - 39vw); }
.gallery-item:last-child  { margin-right: calc(50% - 39vw); }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img,
.gallery-item:focus img { transform: scale(1.03); }

@media (min-width: 768px) {
    .gallery-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        overflow-x: visible;
        scroll-snap-type: none;
    }
    .gallery-item {
        max-width: none;
        scroll-snap-align: none;
    }
    .gallery-item:first-child { margin-left: 0; }
    .gallery-item:last-child  { margin-right: 0; }
}

/* Lightbox modal */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox-img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 44px;
    height: 44px;
    border: none;
    background: none;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 64px;
    border: none;
    background: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }

/* USP bullet list */
.usp-list {
    list-style: none;
    max-width: 560px;
    margin: 2rem auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.usp-list li {
    padding-left: 1.1rem;
    border-left: 2px solid var(--brand-navy);
    font-size: 0.975rem;
    color: #333;
    line-height: 1.55;
}

.usp-list strong {
    display: block;
    font-size: 1rem;
    color: #111;
    margin-bottom: 0.2rem;
}

/* Three steps */
.steps { background: #fafafa; }

.steps-list {
    list-style: none;
    counter-reset: steps;
    max-width: 560px;
    margin: 2rem auto 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.steps-list li {
    counter-increment: steps;
    padding-left: 3rem;
    position: relative;
    font-size: 0.975rem;
    color: #333;
    line-height: 1.55;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: var(--brand-navy);
    color: #fff;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list strong {
    display: block;
    font-size: 1rem;
    color: #111;
    margin-bottom: 0.2rem;
}

/* Promise / trust section */
.promise { background: var(--brand-navy); color: #fff; }

.promise h2 { color: #fff; }

.promise > p {
    max-width: 560px;
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    max-width: 560px;
    margin: 2rem auto 0;
    text-align: left;
}

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

.trust-badge {
    border: 1px solid rgba(255,255,255,0.25);
    padding: 1.25rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
}

.trust-badge strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

/* Contact form */
.contact-form {
    max-width: 520px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    color: #111;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--brand-navy);
    background: #fff;
}

.contact-form textarea { resize: vertical; min-height: 110px; }

.contact-form .cta-button {
    width: 100%;
    text-align: center;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    margin-top: 0.25rem;
}

.contact-direct {
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.95rem;
}

.contact-direct { font-size: 1.6rem; }
.contact-direct a { color: var(--brand-navy); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.contact-direct a:hover { text-decoration: underline; }
.contact-name { font-size: 1.6rem; color: var(--brand-navy); font-style: normal; font-weight: 700; letter-spacing: -0.01em; }

/* Bottom logo — small and elegant */
.brand-mark {
    display: flex;
    justify-content: center;
    padding: 3rem 1.5rem 2.5rem;
}

.brand-mark img {
    width: clamp(140px, 30vw, 200px);
    height: auto;
    display: block;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
