:root {
    --green: #6ED9A3;
    --blue: #3E8DFF;
    --yellow: #FFDA15;
    --navy: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-muted: #4a4a4a;
    --background: #f5f5f5;
    --white: #ffffff;
    --radius-xl: 999px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --border: 2px solid #1a1a1a;
    --header-height: 96px;
}

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

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

.page-wrapper {
    overflow-x: clip;
    overflow-y: visible;
}

@supports not (overflow: clip) {
    .page-wrapper {
        overflow-x: hidden;
    }
}

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

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

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0.5rem;
}

.site-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.site-header__brand img {
    height: 46px;
    width: auto;
    display: block;
}

.site-nav {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 1.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.site-nav a {
    color: inherit;
    padding: 0.25rem 0;
    position: relative;
    transition: color 0.15s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: var(--blue);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    opacity: 1;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--navy);
}

.language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.language-switcher__label {
    font-weight: 500;
    color: var(--text-muted);
}

.language-switcher select {
    padding: 0.35rem 1.75rem 0.35rem 0.75rem;
    border-radius: 999px;
    border: var(--border);
    background: var(--white);
    font-family: inherit;
    font-size: 0.9rem;
    line-height: 1.2;
    cursor: pointer;
    width: auto;
    min-width: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231a1a1a' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 10px 6px;
}

.language-switcher select:focus-visible {
    outline: 3px solid rgba(62, 141, 255, 0.4);
    outline-offset: 2px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
    border: var(--border);
    position: relative;
}

.btn:hover {
    transform: translateY(2px);
}

.btn:active {
    transform: translateX(2px);
}

.btn--primary {
    background: var(--blue);
    color: var(--white);
    border-color: var(--navy);
}

.btn--primary:hover {
    background: var(--yellow);
    color: var(--navy);
}

.btn--secondary {
    background: var(--white);
    color: var(--navy);
    border-color: var(--navy);
}

.btn--secondary:hover {
    background: var(--yellow);
    color: var(--navy);
}

.btn--ghost {
    background: transparent;
    border: var(--border);
    border-color: var(--white);
    color: var(--white);
}

.btn--ghost:hover {
    background: var(--white);
    color: var(--navy);
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Only apply 100vh on desktop when text can fit above image */
@media (min-width: 768px) {
    .hero {
        min-height: calc(70vh - var(--header-height));
    }
}

.hero__content {
    position: relative;
    width: 100%;
    padding-top: clamp(10rem, 9vw, 6rem);
    padding-bottom: clamp(10rem, 4vw, 3rem);
    z-index: 2;
}

.hero__cloud {
    position: absolute;
    top: 24rem;
    left: 50%;
    width: 300%;
    max-width: none;
    height: 147px;
    pointer-events: none;
    z-index: 0;
    --cloud-offset: 0%;
    animation: heroCloudsDrift 70s linear infinite;
    will-change: transform;
}

.hero__cloud--duplicate {
    --cloud-offset: 100%;
}

.location__road-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 350px;
    overflow: hidden;
    z-index: 1;
}

@keyframes heroCloudsDrift {
    0% {
        transform: translateX(calc(-50% + var(--cloud-offset)));
    }
    100% {
        transform: translateX(calc(-50% + var(--cloud-offset) - 100%));
    }
}

@media (min-width: 600px) {
    .hero__cloud {
        width: 200%;
        top: 23.25rem;
    }
}

@media (min-width: 1024px) {
    .hero__cloud {
        width: 100%;
        top: 24rem;
    }
}

.hero__image {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: -5rem;
    z-index: 1;
}

/* Reduce overlap on mobile */
@media (max-width: 767px) {
    .hero__image {
        margin-top: 0.5rem;
    }
    
    .hero__content {
        padding-bottom: 1.5rem;
    }
}

.hero__content .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    max-width: min(720px, 90%);
}

.hero__content h1 {
    margin: 0;
    font-size: clamp(4.7rem, 4vw, 3.5rem);
    line-height: 1.15;
    color: var(--navy);
    max-width: 780px;
}

.hero__content p {
    margin: 0;
    color: var(--text-muted);
    max-width: 560px;
}

.features {
    background: var(--green);
    padding: clamp(3rem, 5vw, 4rem) 0;
    border-top: var(--border);
    border-bottom: var(--border);
    scroll-margin-top: 120px;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
}

.features .container > .feature:last-child {
    grid-column: 1 / -1;
}

.feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 1.2rem;
}

.feature__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.feature__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
}

.feature h3 {
    margin: 0 0 0.75rem;
    font-size: 1.15rem;
    color: var(--navy);
}

.feature p {
    margin: 0;
    color: var(--navy);
    font-size: 0.95rem;
}

main section {
    padding: 5rem 0;
    scroll-margin-top: 120px;
}

main section.location {
    padding: 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header h2 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--navy);
}

.section-header p {
    margin: 0;
    color: var(--text-muted);
}

.location {
    background: var(--background);
    color: var(--text-dark);
    position: relative;
    overflow: visible;
    border-bottom: var(--border);
}

.location__clouds-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    overflow: hidden;
    z-index: 1;
}

.location__clouds {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    animation: cloudsDrift 60s linear infinite;
}

.location__clouds:nth-child(2) {
    left: 100%;
}

@keyframes cloudsDrift {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.location__road {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: auto;
    animation: roadDrift 60s linear infinite;
}


.location .container {
    position: relative;
    z-index: 2;
    padding-top: 13rem;
    padding-bottom: 20rem;
}

.location .section-header h2 {
    color: var(--navy);
}

.location .section-header p {
    color: var(--text-muted);
}

.location .section-header {
    text-align: left;
    margin: 0 0 3rem;
}

.location__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.location__map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: none;
    border-radius: var(--radius-lg);
    border: var(--border);
}

.location__details {
    background: var(--white);
    color: var(--navy);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    border: var(--border);
}

.location__details ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
}

.location__details li {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.location__icon {
    width: 48px;
    height: 48px;
    background: var(--blue);
    border-radius: var(--radius-md);
    border: var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.location__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
}

.location__details strong {
    color: var(--blue);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.location__details p {
    margin: 0;
    color: var(--text-dark);
}

.location__actions {
    display: grid;
    gap: 0.75rem;
}

.about {
    background: var(--blue);
    color: var(--white);
    position: relative;
    overflow: visible;
    border-bottom: var(--border);
}

.about .section-header h2 {
    color: var(--white);
    font-size: clamp(4rem, 3vw, 5rem) ;
}

.about .section-header p {
    color: var(--white);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 500px);
    gap: 3rem;
    align-items: center;
    justify-content: center;
}

.about__images {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 480px;
    position: relative;
}

.photo-stack {
    position: relative;
    width: 520px;
    height: 330px;
    perspective: 1000px;
    flex-shrink: 0;
}

.instant-photo {
    position: absolute;
    width: 240px;
    height: 280px;
    border-radius: 8px;
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 2px 10px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 15px 15px 45px 15px;
    transition: all 0.3s ease;
    transform-origin: center center;
    object-fit: cover;
    border: var(--border);
}

.photo-1 {
    transform: rotate(-12deg) translateY(20px) translateX(0px);
    z-index: 3;
    animation: photo1Float 8s ease-in-out infinite;
}

.photo-2 {
    transform: rotate(3deg) translateY(50px) translateX(130px);
    z-index: 2;
    animation: photo2Float 10s ease-in-out infinite;
}

.photo-3 {
    transform: rotate(18deg) translateY(-80px) translateX(260px);
    z-index: 1;
    animation: photo3Float 12s ease-in-out infinite;
}

@keyframes photo1Float {
    0%, 100% {
        transform: rotate(-12deg) translateY(20px) translateX(0px);
    }
    50% {
        transform: rotate(-12deg) translateY(10px) translateX(0px);
    }
}

@keyframes photo2Float {
    0%, 100% {
        transform: rotate(3deg) translateY(50px) translateX(130px);
    }
    50% {
        transform: rotate(3deg) translateY(40px) translateX(130px);
    }
}

@keyframes photo3Float {
    0%, 100% {
        transform: rotate(18deg) translateY(-80px) translateX(260px);
    }
    50% {
        transform: rotate(18deg) translateY(-70px) translateX(260px);
    }
}

.about__content {
    position: relative;
    z-index: 10;
    max-width: 500px;
}

.about__content h3 {
    margin: 0 0 1.5rem;
    color: var(--white);
    font-size: 1.75rem;
}

.about__content p {
    margin: 0 0 1.25rem;
    color: var(--white);
    line-height: 1.7;
    font-size: 0.98rem;
}

.about__content p:last-child {
    margin-bottom: 0;
}

.contact {
    background: var(--white);
}

.contact .section-header {
    text-align: left;
    margin: 0 0 2.5rem;
    max-width: 640px;
}

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.contact__info {
    background: var(--yellow);
    border-radius: var(--radius-md);
    padding: 2.75rem 2.5rem;
    color: var(--navy);
    border: var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.contact__info h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
}

.contact__info ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
}

.contact__info strong {
    font-weight: 600;
    color: var(--navy);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border: var(--border);
    border-radius: var(--radius-xl);
    transition: transform 0.2s ease, background 0.2s ease;
    color: var(--navy);
}

.contact__item:hover {
    transform: translateY(2px);
    background: var(--blue);
    color: var(--white);
}

.contact__item img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact__item svg,
.contact__item img {
    fill: currentColor;
    color: var(--navy);
    transition: color 0.2s ease;
}

.contact__item:hover svg,
.contact__item:hover img {
    color: var(--white);
}

.contact__item span {
    font-weight: 500;
    font-size: 0.95rem;
}

.contact__form {
    max-width: 620px;
    width: 100%;
    display: grid;
    gap: 1.5rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    border: var(--border);
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-row label {
    font-weight: 600;
    color: var(--navy);
}

.form-row label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: var(--border);
    background: var(--background);
    font: inherit;
    color: var(--text-dark);
    transition: border 0.2s ease, background 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
}

.form-row input.error,
.form-row textarea.error {
    border-color: #e74c3c;
    background: #fff5f5;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: -0.25rem;
    display: block;
    min-height: 1.25rem;
}

.footer {
    background: var(--white);
    color: var(--navy);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer__content {
    text-align: center;
    padding: clamp(3rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
}

.footer__content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer__image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: -3rem;
}

@media (max-width: 960px) {
    .site-header__inner {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 0.85rem 0.5rem;
    }

    .site-nav {
        flex: 1;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 1.25rem;
    }

    .features .container {
        grid-template-columns: 1fr;
    }

    .feature {
        grid-template-columns: 1fr;
        text-align: center;
        justify-items: center;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .contact__info {
        padding: 2.25rem 2rem;
    }

    .location__grid {
        grid-template-columns: 1fr;
    }

    .location__details {
        text-align: left;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__images {
        width: 100%;
        height: auto;
        min-height: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .photo-stack {
        position: relative;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        max-width: 520px;
        height: auto;
        margin: 0 auto;
        perspective: none;
        overflow: visible;
    }

    .instant-photo {
        position: relative;
        flex: 0 0 clamp(150px, 32vw, 210px);
        width: clamp(150px, 32vw, 210px);
        height: auto;
        margin: 0;
        padding: 12px 12px 35px 12px;
        transform: none;
        animation: none;
    }

    .photo-stack .instant-photo:not(:first-child) {
        margin-left: -60px;
    }

    .photo-stack .photo-1 {
        transform: translateX(-20px) translateY(12px) rotate(-6deg);
        z-index: 3;
    }

    .photo-stack .photo-2 {
        transform: translateX(-5px) translateY(-18px) rotate(4deg);
        z-index: 2;
    }

    .photo-stack .photo-3 {
        transform: translateX(18px) translateY(16px) rotate(9deg);
        z-index: 1;
    }

    .footer__content p {
        margin-bottom: 2rem;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 76px;
    }

    html {
        scroll-padding-top: 76px;
    }

    .container {
        width: 92%;
    }

    .site-header__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .site-nav {
        display: none;
    }

    .site-header__brand img {
        height: 40px;
    }

    .feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.75rem;
    }

    .contact__info {
        padding: 2rem 1.75rem;
    }

    .contact__form {
        padding: 2rem;
    }

    .photo-stack {
        max-width: 100%;
    }

    .instant-photo {
        flex: 0 0 clamp(140px, 48vw, 180px);
        width: clamp(140px, 48vw, 180px);
        padding: 10px 10px 30px 10px;
    }

    .photo-stack .instant-photo:not(:first-child) {
        margin-left: -132px;
    }
    
    .photo-stack .photo-1 {
        transform: translateX(-40px) translateY(-80px) rotate(-5deg);
    }

    .photo-stack .photo-2 {
        transform: translateX(-15px) translateY(25px) rotate(3deg);
    }

    .photo-stack .photo-3 {
        transform: translateX(30px) translateY(0px) rotate(7deg);
    }

    /* Scale up hero SVG on mobile for visible stroke lines */
    .hero__image {
        width: 300%;
        max-width: 300%;
        margin-left: -100%;
        margin-top: 0;
    }

    /* Scale up footer SVG on mobile for visible stroke lines */
    .footer__image {
        width: 300%;
        max-width: 300%;
        margin-left: -100%;
        margin-top: -2rem;
    }

    /* Scale up location SVGs significantly on mobile for visible stroke lines */
    .location__clouds-wrapper {
        height: 120px;
        left: -100%;
        width: 300%;
    }

    .location__clouds {
        height: 120px;
        width: 300%;
    }

    .location__road-wrapper {
        height: 200px;
        left: -100%;
        width: 300%;
    }

    .location__road {
        width: 300%;
    }

    .location .container {
        padding-top: 7rem;
        padding-bottom: 12rem;
    }
}


@media (min-width: 1024px) and (max-width: 1200px) {
    .hero__image {
        width: 100%;
        max-width: 200%;
    }
}
