/* ==========================================================================
   HomestayPlus Theme Styles
   ========================================================================== */

/* Oakes Grotesk — Local Fonts */
@font-face {
    font-family: 'Oakes Grotesk';
    src: url('../fonts/OakesGrotesk/oakes-grotesk-light.woff2') format('woff2'),
         url('../fonts/OakesGrotesk/oakes-grotesk-light.woff') format('woff'),
         url('../fonts/OakesGrotesk/oakes-grotesk-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oakes Grotesk';
    src: url('../fonts/OakesGrotesk/oakes-grotesk-regular.woff2') format('woff2'),
         url('../fonts/OakesGrotesk/oakes-grotesk-regular.woff') format('woff'),
         url('../fonts/OakesGrotesk/oakes-grotesk-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Oakes Grotesk';
    src: url('../fonts/OakesGrotesk/oakes-grotesk-semi-bold.woff2') format('woff2'),
         url('../fonts/OakesGrotesk/oakes-grotesk-semi-bold.woff') format('woff'),
         url('../fonts/OakesGrotesk/oakes-grotesk-semi-bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   1. Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */

:root {
    /* Colors — matched to Figma */
    --color-navy:       #303549;
    --color-navy-dark:  #252838;
    --color-navy-light: #3D4260;
    --color-teal:       #074C51;
    --color-green:      #CFFFB0;
    --color-green-dark: #B8F09A;
    --color-cream:      #FFF4EB;
    --color-lavender:   #A6BDF7;
    --color-white:      #FFFFFF;
    --color-black:      #0A0A0A;

    /* Typography */
    --font-primary: 'Oakes Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-serif:   'Oakes Grotesk', Georgia, 'Times New Roman', serif;

    --fs-display:  clamp(2.5rem, 4vw, 3.5rem);  /* 56px max — Figma section headings */
    --fs-h1:       clamp(2.5rem, 4.5vw, 4.5rem);
    --fs-h2:       clamp(2rem, 3.5vw, 3.5rem);  /* 56px max */
    --fs-h3:       clamp(1.5rem, 2.5vw, 2.25rem); /* 36px max — Figma card titles */
    --fs-body:     clamp(0.938rem, 1.1vw, 1.125rem); /* 18px */
    --fs-small:    0.875rem;
    --fs-overline: 1rem;  /* 16px — Figma overline labels */

    --fw-light:    300;
    --fw-regular:  400;
    --fw-medium:   500;
    --fw-semibold: 600;
    --fw-bold:     700;

    --lh-tight:    1.1;
    --lh-snug:     1.25;
    --lh-normal:   1.6;

    /* Spacing */
    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  1.5rem;
    --space-lg:  2.5rem;
    --space-xl:  2.5rem;
    --space-2xl: 3.5rem;
    --space-3xl: 4.5rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1254px;
    --container-pad: 0;

    /* Radius */
    --radius-sm:   0.5rem;
    --radius-md:   1rem;
    --radius-lg:   1.5rem;
    --radius-xl:   2rem;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out:  cubic-bezier(0.33, 1, 0.68, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration-fast:   200ms;
    --duration-normal: 400ms;
    --duration-slow:   600ms;
}

/* --------------------------------------------------------------------------
   2. Font Face
   -------------------------------------------------------------------------- */

/* Local font files (used in WordPress) */
@font-face {
    font-family: 'General Sans Local';
    src: url('../fonts/general-sans-variable.woff2') format('woff2');
    font-weight: 200 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'General Sans Local';
    src: url('../fonts/general-sans-variable-italic.woff2') format('woff2');
    font-weight: 200 700;
    font-style: italic;
    font-display: swap;
}

/* --------------------------------------------------------------------------
   3. Reset & Base
   -------------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--lh-normal);
    color: var(--color-navy);
    background-color: var(--color-cream);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--duration-fast) var(--ease-out),
                opacity var(--duration-fast) var(--ease-out);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

ul, ol {
    list-style: none;
}

/* --------------------------------------------------------------------------
   4. Utility Classes
   -------------------------------------------------------------------------- */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-pad);
}

.overline {
    font-size: 16px;
    font-weight: var(--fw-semibold);
    letter-spacing: 0;
    text-transform: uppercase;
}

.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;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 15px 24px;
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    line-height: 1;
    height: 48px;
    border-radius: 4px;
    transition: all var(--duration-fast) var(--ease-out);
    white-space: nowrap;
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
    height: auto;
    border-radius: var(--radius-full);
}

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

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

.btn--outline {
    background-color: transparent;
    color: var(--color-green);
    border: 1.5px solid var(--color-green);
}

.btn--outline:hover {
    background-color: var(--color-green);
    color: var(--color-navy);
}

.btn--outline-light {
    background-color: transparent;
    color: var(--color-green);
    border: 1.5px solid var(--color-green);
}

.btn--outline-light:hover {
    background-color: var(--color-green);
    color: var(--color-navy);
}

.btn--green {
    background-color: var(--color-green);
    color: var(--color-navy);
    border: 1.5px solid var(--color-green);
    font-weight: var(--fw-medium);
}

.btn--green:hover {
    background-color: var(--color-green-dark);
    border-color: var(--color-green-dark);
}

.btn--outline-dark {
    background-color: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-navy);
}

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

/* --------------------------------------------------------------------------
   6. Header & Navigation
   -------------------------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 52px var(--container-pad) 0;
    text-align: center;
}

.site-nav {
    display: inline-flex;
    align-items: center;
    gap: 31px;
    margin-inline: auto;
    padding: 8px 14px 8px 28px;
    background: rgba(207, 255, 176, 0.9);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 32px;
    height: 56px;
}

.site-nav__logo {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.site-nav__logo .logo-icon {
    width: 24px;
    height: 24px;
    color: var(--color-teal);
}

.site-nav__logo .logo-text {
    font-size: 1.125rem;
    font-weight: var(--fw-regular);
    color: var(--color-teal);
}

.site-nav__logo .logo-text strong {
    font-weight: var(--fw-bold);
}

.site-nav__toggle {
    display: none;
    width: 32px;
    height: 32px;
    position: relative;
}

.site-nav__toggle .hamburger,
.site-nav__toggle .hamburger::before,
.site-nav__toggle .hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--color-navy);
    border-radius: 1px;
    transition: all var(--duration-fast) var(--ease-out);
}

.site-nav__toggle .hamburger {
    position: relative;
}

.site-nav__toggle .hamburger::before,
.site-nav__toggle .hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.site-nav__toggle .hamburger::before { top: -6px; }
.site-nav__toggle .hamburger::after  { top: 6px; }

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: 31px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 31px;
}

.nav-links .menu-item > a {
    font-size: 14px;
    font-weight: var(--fw-regular);
    color: var(--color-teal);
    padding: 0.25rem 0;
    position: relative;
    line-height: 32px;
}

.nav-links .menu-item:not(.menu-item-has-children) > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-teal);
    transition: width var(--duration-fast) var(--ease-out);
}

.nav-links .menu-item:not(.menu-item-has-children) > a:hover::after {
    width: 100%;
}

.nav-links .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 3.5px solid currentColor;
    margin-left: 5px;
    vertical-align: middle;
}

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-search {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: var(--color-teal);
    transition: opacity var(--duration-fast) var(--ease-out);
}

.nav-search:hover {
    opacity: 0.6;
}

.site-nav__actions .btn--primary {
    background-color: var(--color-navy);
    color: var(--color-green);
    border: none;
    border-radius: 30px;
    height: 40px;
    width: 116px;
    padding: 15px 12px;
    font-size: 14px;
    font-weight: var(--fw-regular);
}

.nav-login .btn {
    color: var(--color-teal);
    border-color: var(--color-teal);
    border-radius: 30px;
    height: 40px;
    width: 88px;
    padding: 15px 14px 15px 12px;
    font-size: 14px;
    font-weight: var(--fw-regular);
}

.nav-login .btn:hover {
    background: var(--color-teal);
    color: var(--color-white);
}

/* --------------------------------------------------------------------------
   7. Section: Hero
   -------------------------------------------------------------------------- */

.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: var(--space-4xl) 0 var(--space-3xl);
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.section-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.section-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.section-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.85) 0%,
        rgba(10, 10, 10, 0.45) 50%,
        rgba(10, 10, 10, 0.15) 100%
    );
}

.section-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1254px;
}

.section-hero__heading {
    font-size: 72px;
    font-weight: var(--fw-regular);
    font-style: normal;
    line-height: 80px;
    max-width: 690px;
    margin-bottom: var(--space-md);
    text-transform: capitalize;
}

.section-hero__heading-main {
    display: block;
    color: var(--color-cream);
}

.section-hero__heading-accent {
    display: block;
    color: var(--color-green);
}

.section-hero__description {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: var(--space-lg);
    line-height: var(--lh-normal);
}

.section-hero__ctas {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. Section: Welcome
   -------------------------------------------------------------------------- */

.section-welcome {
    padding: 110px 0 55px;
    background: var(--color-cream);
    text-align: center;
}

.section-welcome__subtitle {
    color: var(--color-navy);
    margin-bottom: 53px;
}

.section-welcome__hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 368px;
    margin-bottom: 166px;
}

.section-welcome__icon {
    position: absolute;
    color: var(--color-green);
    z-index: 0;
}

.section-welcome__icon svg {
    width: 332px;
    height: 368px;
}

.section-welcome__heading {
    position: relative;
    z-index: 1;
    font-size: clamp(28px, 4vw, 56px);
    font-weight: 300;
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.41px;
    color: var(--color-navy);
    max-width: 1148px;
}

.section-welcome__mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
    padding-top: 73px;
    border-top: 1px solid rgba(43, 45, 66, 0.15);
}

.section-welcome__mission-label {
    color: var(--color-navy);
}

.section-welcome__mission-text {
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    color: var(--color-navy);
    opacity: 0.8;
    line-height: var(--lh-normal);
}

/* --------------------------------------------------------------------------
   9. Section: Our Services
   -------------------------------------------------------------------------- */

.section-services {
    padding: 55px 0 50px;
    background: var(--color-cream);
    text-align: center;
}

.section-services__subtitle {
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
}

.section-services__heading {
    font-size: 56px;
    font-weight: var(--fw-regular);
    line-height: 68px;
    letter-spacing: -0.41px;
    margin-bottom: 40px;
}

.section-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 408px));
    gap: 15px;
    justify-content: center;
    max-width: 1254px;
    margin-inline: auto;
}

.service-card {
    text-align: left;
    padding: 28px 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    height: 633px;
    overflow: visible;
    transition: transform var(--duration-normal) var(--ease-out);
}

.service-card:hover {
    transform: translateY(-4px);
}

.service-card--dark {
    background: var(--color-navy);
    color: var(--color-cream);
}

.service-card--light {
    background: var(--color-lavender);
    color: var(--color-navy);
    margin-top: -32px;
}

.service-card__title {
    font-size: 36px;
    font-weight: var(--fw-regular);
    line-height: 36px;
    margin-bottom: var(--space-md);
}

.service-card__image-wrap {
    position: relative;
    margin-bottom: var(--space-md);
    display: flex;
    justify-content: center;
}

.service-card__image {
    width: 267px;
    height: 353px;
    object-fit: contain;
}

.service-card__description {
    font-size: 14px;
    line-height: 24px;
    opacity: 1;
    flex-grow: 1;
}

.service-card__footer {
    margin-top: var(--space-md);
}

.service-card__divider {
    height: 1px;
    background: currentColor;
    opacity: 0.15;
    margin-bottom: var(--space-sm);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.service-card__link:hover {
    opacity: 0.6;
}

.service-card__link-icon {
    font-size: 1.25rem;
    font-weight: var(--fw-medium);
}

/* --------------------------------------------------------------------------
   10. Section: Why Homestay Plus
   -------------------------------------------------------------------------- */

.section-why__content {
    text-align: center;
    position: relative;
}

.section-why__subtitle {
    color: var(--color-cream);
    margin-bottom: var(--space-lg);
}

.section-why__heading {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: var(--fw-regular);
    font-style: normal;
    line-height: 1.2;
    letter-spacing: -0.412px;
    color: var(--color-green);
    max-width: 1148px;
    margin-inline: auto;
    padding: 0 16px;
    text-align: center;
    margin-inline: auto;
}

/* --------------------------------------------------------------------------
   11. Section: Content Slides
   -------------------------------------------------------------------------- */

.section-slides {
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.section-slides__wave {
    position: relative;
    background-color: var(--color-cream);
    background-image: url('../images/wave-shape.svg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    padding-top: clamp(250px, 30vw, 440px);
}

.section-slides__wave-overlay {
    background: var(--color-navy);
    text-align: center;
    padding: 60px 0 80px;
    position: relative;
}

.section-why__earth {
    position: absolute;
    bottom: 20px;
    left: 92px;
    opacity: 0.4;
}

.section-slides__track {
    background: var(--color-navy);
    padding: 0px;
}

.section-slides__slide {
    display: block;
    margin: 0;
}

.section-slides__slide + .section-slides__slide {
    margin: 0;
}

.section-slides__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
    max-width: none;
    padding: 0;
}

.section-slides__text {
    max-width: 502px;
    margin: auto;
}

.section-slides__heading {
    font-size: clamp(28px, 4vw, 56px);
    font-weight: var(--fw-regular);
    font-style: normal;
    line-height: 1.1;
    color: var(--color-lavender);
    max-width: 424px;
    margin-bottom: var(--space-md);
}

.section-slides__description {
    color: var(--color-cream);
    font-size: 16px;
    line-height: 24px;
    margin-bottom: var(--space-lg);
    max-width: 502px;
}

.section-slides__divider {
    height: 1px;
    background: #A6BDF7;
    margin-bottom: var(--space-md);
}

.section-slides__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.section-slides__ctas .section-slides__divider {
    width: 100%;
    flex-basis: 100%;
}

.section-slides__ctas .btn {
    align-self: flex-start;
}

.section-slides__ctas .btn + .btn {
    margin-left: 0;
}

.section-slides__image-wrap {
    border-radius: 16px 0 0 16px;
    overflow: hidden;
}

.section-slides__image {
    width: 100%;
    height: 900px;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
}

.section-slides__nav {
    display: none;
}

.section-slides__dot {
    width: 4px;
    height: 24px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
    transition: all var(--duration-fast) var(--ease-out);
}

.section-slides__dot.is-active {
    background: var(--color-green);
    height: 32px;
}

.section-slides__dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* --------------------------------------------------------------------------
   12. Section: Testimonials
   -------------------------------------------------------------------------- */

.section-testimonials {
    padding: 100px 0 80px;
    overflow: hidden;
}

.section-testimonials__subtitle {
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.section-testimonials__heading {
    font-size: 56px;
    font-weight: 300;
    font-style: normal;
    line-height: 68px;
    letter-spacing: -0.412px;
    color: var(--color-navy);
    max-width: 789px;
    margin-bottom: var(--space-lg);
}

.section-testimonials__cta {
    margin-bottom: var(--space-2xl);
}

.section-testimonials__slider {
    position: relative;
    max-width: 1254px;
    margin: auto;
}

.section-testimonials__track {
    display: flex;
    gap: var(--space-md);
    padding-left: var(--container-pad);
    transition: transform var(--duration-slow) var(--ease-in-out);
    will-change: transform;
}

.testimonial-card {
    flex-shrink: 0;
    width: 514px;
    padding: 39px 29px;
    background: var(--color-green);
    border-radius: 12px;
    color: #074C51;
}

.testimonial-card__header {
    margin-bottom: var(--space-md);
}

.testimonial-card__name {
    font-size: 1.125rem;
    font-weight: var(--fw-semibold);
    margin-bottom: 0.25rem;
}

.testimonial-card__location {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: var(--fs-small);
    color: var(--color-navy);
    opacity: 0.7;
}

.testimonial-card__location svg {
    color: var(--color-navy);
}

.testimonial-card__text {
    font-size: var(--fs-small);
    line-height: var(--lh-normal);
    opacity: 0.85;
}

.section-testimonials__nav {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin-top: var(--space-lg);
}

.section-testimonials__dot {
    width: 2px;
    height: 21px;
    border-radius: 2px;
    background: var(--color-navy);
    transition: all var(--duration-fast) var(--ease-out);
}

.section-testimonials__dot.is-active {
    background: var(--color-lavender);
    height: 21px;
}

.section-testimonials__dot:hover {
    background: var(--color-lavender);
}

/* --------------------------------------------------------------------------
   13. Section: Marquee
   -------------------------------------------------------------------------- */

.section-marquee {
    padding: var(--space-xl) 0;
    background: var(--color-cream);
    overflow: hidden;
    margin-bottom: 60px;
}

.section-marquee__track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}

.section-marquee__content {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

.section-marquee__text {
    font-size: 180px;
    font-weight: var(--fw-semibold);
    color: var(--color-navy);
    white-space: nowrap;
    padding: 0 var(--space-sm);
    line-height: 150px;
}

.section-marquee__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    padding: 0 var(--space-sm);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

/* Pause marquee on hover for accessibility */
.section-marquee:hover .section-marquee__track {
    animation-play-state: paused;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .section-marquee__track {
        animation: none;
    }
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.site-footer {
    margin: 30px 35px;
    background: var(--color-navy);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.site-footer__inner {
    padding: 69px 57px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
    min-height: 560px;
}

.site-footer__brand {
    position: relative;
    z-index: 1;
}

.site-footer__logo {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__logo .logo-text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__logo .logo-text strong {
    font-weight: var(--fw-bold);
}

.site-footer__tagline {
    color: var(--color-lavender);
    font-size: 15px;
    line-height: 54px;
}

.site-footer__watermark {
    position: absolute;
    bottom: 80px;
    left: 37px;
    z-index: 0;
}

.site-footer__nav {
    position: relative;
    z-index: 1;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: left;
}

.footer-nav__group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.footer-nav__title {
    font-size: 48px;
    font-weight: var(--fw-regular);
    color: var(--color-white);
    line-height: 54.14px;
    letter-spacing: -0.328px;
    margin-bottom: 0;
    white-space: nowrap;
}

.footer-nav__group:first-child .footer-nav__title {
    color: var(--color-lavender);
}

.footer-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0 24px;
    margin-top: 4px;
}

.footer-nav__links li a {
    font-size: 14px;
    color: var(--color-lavender);
    opacity: 1;
    letter-spacing: -0.328px;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.footer-nav__group:last-child .footer-nav__links li a {
    font-size: 18px;
    color: var(--color-white);
}

.footer-nav__links li a:hover {
    opacity: 1;
}

.footer-nav__links--stacked {
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
}

.footer-nav__links--stacked li a {
    line-height: 54.14px;
}

.footer-nav__lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 18px;
    color: var(--color-white);
    line-height: 54.14px;
}

.lang-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 51px;
    height: 24px;
    background: var(--color-green);
    color: var(--color-teal);
    border: 1px solid var(--color-navy);
    border-radius: 1000px;
    font-size: 12px;
}

.site-footer__bottom {
    margin: 0 37px;
    padding: 20px 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(166, 189, 247, 1);
}

.site-footer__copyright {
    font-size: 12px;
    color: var(--color-lavender);
    letter-spacing: -0.306px;
}

.site-footer__credit {
    font-size: 12px;
    color: var(--color-lavender);
    letter-spacing: -0.306px;
    text-align: right;
}

.site-footer__social {
    display: flex;
    gap: 13px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    transition: opacity var(--duration-fast) var(--ease-out);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    opacity: 0.6;
}

.site-footer__credit {
    font-size: 12px;
    color: var(--color-lavender);
    letter-spacing: -0.306px;
    text-align: right;
}

/* --------------------------------------------------------------------------
   15. Cookie Banner
   -------------------------------------------------------------------------- */

.cookie-banner {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    z-index: 9999;
    max-width: 380px;
    padding: var(--space-md);
    background: var(--color-green);
    border-radius: var(--radius-lg);
    color: var(--color-navy);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: cookie-slide-in var(--duration-slow) var(--ease-out);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__text {
    font-size: var(--fs-small);
    line-height: var(--lh-normal);
    margin-bottom: var(--space-md);
}

.cookie-banner__link {
    font-weight: var(--fw-semibold);
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

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

.cookie-banner__accept.btn:hover {
    background: var(--color-navy-light);
}

.cookie-banner__customize {
    font-size: var(--fs-small);
    font-weight: var(--fw-medium);
    text-decoration: underline;
    color: var(--color-navy);
}

.cookie-banner__customize:hover {
    opacity: 0.7;
}

@keyframes cookie-slide-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------------------------
   16. Animations
   -------------------------------------------------------------------------- */

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-animate] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1300px) {
    :root {
        --container-pad: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .section-services__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        height: auto;
        min-height: 500px;
    }

    .service-card--light {
        margin-top: 0;
    }

    .section-slides__wave {
        padding-top: 300px;
    }

    .section-slides__wave-overlay {
        padding: 40px 0 60px;
    }

    .section-slides__inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 0 24px;
    }

    .section-slides__image {
        height: 400px;
        border-radius: 16px;
    }

    .section-slides__text {
        max-width: 100%;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    /* --- Navbar --- */
    .site-nav__toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav__menu {
        display: none;
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: var(--color-cream);
        border-radius: var(--radius-lg);
        padding: var(--space-md);
        flex-direction: column;
        border: 1px solid rgba(43, 45, 66, 0.08);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    .site-nav__menu.is-open {
        display: flex;
    }

    .site-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        position: relative;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .site-nav__actions {
        width: 100%;
        justify-content: center;
    }

    /* --- Hero --- */
    .section-hero {
        min-height: 80vh;
    }

    .section-hero__heading {
        font-size: 40px;
        line-height: 48px;
    }

    .section-hero__text {
        font-size: 16px;
        line-height: 24px;
    }

    .section-hero__ctas {
        flex-direction: column;
        gap: 12px;
    }

    .section-hero__ctas .btn {
        width: 100%;
        justify-content: center;
    }

    /* --- Welcome --- */
    .section-welcome {
        padding: 60px 0 40px;
    }

    .section-welcome__hero {
        min-height: 220px;
        margin-bottom: 60px;
    }

    .section-welcome__icon svg,
    .section-welcome__icon img {
        width: 200px;
        height: 220px;
    }

    .section-welcome__heading {
        font-size: 32px;
        line-height: 40px;
    }

    .section-welcome__mission {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 40px;
    }

    .section-welcome__mission-text {
        font-size: 16px;
    }

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

    .section-services__grid {
        grid-template-columns: 1fr;
        max-width: 408px;
        margin-inline: auto;
    }

    .service-card {
        height: auto;
        min-height: auto;
    }

    .section-services__heading {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 24px;
    }

    /* --- Wave / Why --- */
    .section-why__overlay {
        top: 20%;
    }

    .section-why__subtitle {
        margin-bottom: 16px;
    }

    .section-why__heading {
        font-size: 32px;
        line-height: 40px;
    }

    /* --- Wave / Why --- */
    .section-slides__wave {
        padding-top: 200px;
    }

    .section-slides__wave-overlay {
        padding: 32px 16px 48px;
    }

    .section-why__heading {
        font-size: 24px;
        line-height: 32px;
    }

    /* --- Content Slides --- */
    .section-slides__track {
        padding: 0 0 40px;
    }

    .section-slides__inner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 16px;
    }

    .section-slides__text {
        max-width: 100%;
    }

    .section-slides__heading {
        font-size: 28px;
        line-height: 36px;
    }

    .section-slides__description {
        font-size: 15px;
    }

    .section-slides__image {
        height: 280px;
        border-radius: 12px;
    }

    .section-slides__slide + .section-slides__slide {
        margin-top: 40px;
    }

    /* --- Testimonials --- */
    .section-testimonials {
        padding: 48px 0 40px;
    }

    .section-testimonials__heading {
        font-size: 32px;
        line-height: 40px;
    }

    .testimonial-card {
        width: 90vw;
        max-width: 400px;
        padding: 24px 20px;
    }

    /* --- Marquee --- */
    .section-marquee__text {
        font-size: 80px;
        line-height: 70px;
    }

    /* --- Footer --- */
    .site-footer {
        margin: 0 16px;
        border-radius: 20px;
    }

    .site-footer__inner {
        padding: 40px 24px 24px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .site-footer__nav {
        justify-content: flex-start;
    }

    .footer-nav__title {
        font-size: 32px;
        line-height: 40px;
    }

    .footer-nav__links--stacked li a {
        line-height: 40px;
    }

    .footer-nav__lang {
        line-height: 40px;
        font-size: 16px;
    }

    .footer-nav__group:last-child .footer-nav__links li a {
        font-size: 16px;
    }

    .site-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        margin: 0 12px;
        padding: 16px 12px;
    }

    .site-footer__watermark {
        bottom: 60px;
        left: 24px;
    }

    .site-footer__credit {
        text-align: center;
    }

    /* --- Cookie Banner --- */
    .cookie-banner {
        bottom: var(--space-sm);
        right: var(--space-sm);
        left: var(--space-sm);
        max-width: none;
    }
}

/* --------------------------------------------------------------------------
   18. Header Scroll States
   -------------------------------------------------------------------------- */

.site-header {
    transition: transform var(--duration-normal) var(--ease-out),
                background var(--duration-normal) var(--ease-out);
}

.site-header.is-hidden {
    transform: translateY(-100%);
}

.site-header.is-scrolled .site-nav {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 480px) {
    .section-hero {
        min-height: 85vh;
        padding: var(--space-3xl) 0 var(--space-xl);
    }

    .section-hero__heading {
        font-size: 32px;
        line-height: 40px;
    }

    .section-welcome__heading {
        font-size: 26px;
        line-height: 34px;
    }

    .section-welcome__hero {
        min-height: 180px;
        margin-bottom: 40px;
    }

    .section-welcome__icon svg,
    .section-welcome__icon img {
        width: 160px;
        height: 180px;
    }

    .section-services__heading,
    .section-slides__heading,
    .section-testimonials__heading {
        font-size: 24px;
        line-height: 32px;
    }

    .section-why__heading {
        font-size: 20px;
        line-height: 28px;
    }

    .section-slides__wave {
        padding-top: 150px;
    }

    .section-slides__wave-overlay {
        padding: 24px 16px 32px;
    }

    .section-slides__image {
        height: 220px;
    }

    .section-marquee__text {
        font-size: 56px;
        line-height: 50px;
    }

    .footer-nav__title {
        font-size: 28px;
        line-height: 36px;
    }

    .site-footer {
        margin: 0 12px;
    }

    .site-footer__inner {
        padding: 32px 16px 20px;
    }

}
