/* ==========================================================================
   GracyRein Florida — Design System
   Vacation Rental Property Management Platform
   Brand Brief: Breezy · Coastal · Reliable · Sun-washed · Modern
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Karla:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
    /* Primary — Ocean */
    --ocean: #0F7B6C;
    --ocean-deep: #0A5C50;
    --ocean-light: #17A58E;
    --ocean-pale: #E0F5F1;
    --ocean-glass: rgba(15, 123, 108, 0.08);

    /* Accent — Sunset */
    --sunset: #E8734A;
    --sunset-dark: #C95A35;
    --sunset-light: #F4A583;
    --sunset-pale: #FDF0EB;

    /* Warm — Sand */
    --sand: #F5E6D3;
    --sand-dark: #D4C4AD;
    --sand-deep: #B5A08A;

    /* Neutrals */
    --cream: #FFFAF5;
    --surface: #F8F4EF;
    --border: #E8E0D8;
    --border-light: #F0EAE2;
    --text: #2C2924;
    --text-secondary: #6B635A;
    --text-muted: #9E958C;
    --white: #FFFFFF;

    /* Semantic */
    --success: #2A9D8F;
    --error: #D44B3F;
    --info: #3B82C4;
    --warning: #E6A817;

    /* Gradients */
    --gradient-hero: linear-gradient(160deg, #0A5C50 0%, #0F7B6C 40%, #17A58E 100%);
    --gradient-sunset: linear-gradient(135deg, #E8734A 0%, #F4A583 100%);
    --gradient-warm: linear-gradient(180deg, rgba(245, 230, 211, 0.4) 0%, rgba(255, 250, 245, 0) 100%);
    --gradient-card: linear-gradient(180deg, rgba(15, 123, 108, 0.02) 0%, rgba(232, 115, 74, 0.02) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.25) 100%);

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(44, 41, 36, 0.05);
    --shadow-md: 0 4px 16px rgba(44, 41, 36, 0.07);
    --shadow-lg: 0 8px 32px rgba(44, 41, 36, 0.09);
    --shadow-xl: 0 16px 48px rgba(44, 41, 36, 0.11);
    --shadow-sunset: 0 4px 24px rgba(232, 115, 74, 0.22);
    --shadow-float: 0 20px 60px rgba(15, 123, 108, 0.12);

    /* Layout */
    --max-width: 1200px;
    --content-width: 800px;
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Karla', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --speed: 0.35s;
    --speed-fast: 0.2s;
    --speed-slow: 0.5s;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--cream);
    line-height: 1.75;
    font-weight: 400;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--ocean);
    text-decoration: none;
    transition: color var(--speed) var(--ease-smooth);
}

a:hover {
    color: var(--sunset);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    color: var(--text);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
}

h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.65rem);
}

h4 {
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

ul,
ol {
    padding-left: 1.5rem;
}

/* ---------- Utility Classes ---------- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6.5rem 0;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sunset);
    margin-bottom: 1rem;
}

.section-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 3px;
    background: var(--gradient-sunset);
    border-radius: 3px;
}

.section-heading {
    margin-bottom: 1.2rem;
}

.section-lead {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 620px;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.text-center .section-lead {
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--speed) var(--ease-smooth);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: var(--ocean);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--ocean-deep);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-sunrise {
    background: var(--gradient-sunset);
    color: var(--white);
    box-shadow: var(--shadow-sunset);
}

.btn-sunrise:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232, 115, 74, 0.35);
    color: var(--white);
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline {
    background: transparent;
    color: var(--ocean);
    border: 2px solid var(--ocean);
}

.btn-outline:hover {
    background: var(--ocean);
    color: var(--white);
    transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.1rem 0;
    background: rgba(255, 250, 245, 0.7);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid transparent;
    transition: all var(--speed) var(--ease-smooth);
}

.navbar.scrolled {
    padding: 0.65rem 0;
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
    background: rgba(255, 250, 245, 0.92);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
}

.navbar-brand img {
    width: 34px;
    height: 34px;
}

.navbar-brand span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--ocean-deep);
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    list-style: none;
}

.navbar-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--speed) var(--ease-smooth);
    position: relative;
}

.navbar-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sunset);
    border-radius: 2px;
    transition: all var(--speed) var(--ease-smooth);
    transform: translateX(-50%);
}

.navbar-links a:hover {
    color: var(--ocean);
}

.navbar-links a:hover::after {
    width: 100%;
}

.navbar-cta .btn {
    padding: 0.55rem 1.4rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px;
}

.burger span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--speed) var(--ease-smooth);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 94vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg,
            rgba(10, 92, 80, 0.90) 0%,
            rgba(15, 123, 108, 0.82) 45%,
            rgba(23, 165, 142, 0.72) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding-top: 6rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.6rem, 6vw, 4rem);
    margin-bottom: 1.2rem;
    line-height: 1.1;
}

.hero-content h1 .accent {
    color: var(--sunset-light);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 0.4rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--sunset-light);
    margin-bottom: 1.6rem;
    backdrop-filter: blur(6px);
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Stats Strip ---------- */
.stats-strip {
    background: var(--ocean-deep);
    padding: 3.5rem 0;
    position: relative;
}

.stats-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sunset);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-block {
    padding: 0.5rem;
}

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--sunset-light);
    display: block;
    line-height: 1.2;
}

.stat-caption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* ---------- Service Tiles ---------- */
.tiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 2rem;
    margin-top: 3.5rem;
}

.tile {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.4rem 2rem;
    transition: all var(--speed-slow) var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.tile::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-sunset);
    opacity: 0;
    transition: opacity var(--speed) var(--ease-smooth);
}

.tile:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.tile:hover::after {
    opacity: 1;
}

.tile-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--ocean-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.tile h3 {
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
}

.tile p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Journey Steps ---------- */
.journey-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
}

.journey-track::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.journey-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.journey-num {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--ocean);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: var(--shadow-md);
    transition: all var(--speed) var(--ease-smooth);
}

.journey-step:hover .journey-num {
    transform: scale(1.12);
    box-shadow: var(--shadow-float);
    background: var(--sunset);
}

.journey-step h4 {
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.journey-step p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- About ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-photo {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
}

.about-photo img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.about-body h2 {
    margin-bottom: 1rem;
}

.about-body p {
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.about-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.about-stat {
    text-align: center;
}

.about-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean);
}

.about-stat span {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* Team Cards */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.crew-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem 1.8rem;
    text-align: center;
    transition: all var(--speed) var(--ease-smooth);
}

.crew-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.crew-initials {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--ocean-pale);
    color: var(--ocean);
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.crew-card h4 {
    margin-bottom: 0.2rem;
}

.crew-card .title {
    font-size: 0.83rem;
    color: var(--sunset);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.crew-card p {
    font-size: 0.88rem;
    line-height: 1.65;
}

/* ---------- Communication Transparency ---------- */
.comm-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.comm-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
}

.comm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-sunset);
}

.comm-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comm-card ul {
    list-style: none;
    padding: 0;
}

.comm-card li {
    padding: 0.35rem 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.3rem;
}

.comm-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--ocean-light);
    font-weight: 700;
}

/* ---------- Email Practices ---------- */
.practices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.practice-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.6rem;
    transition: all var(--speed) var(--ease-smooth);
}

.practice-row:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--ocean-pale);
}

.practice-row .icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--ocean-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.practice-row h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.practice-row p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- Infrastructure ---------- */
.infra-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.infra-tile {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    text-align: center;
    transition: all var(--speed) var(--ease-smooth);
}

.infra-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.infra-tile .icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    display: block;
}

.infra-tile h4 {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.infra-tile p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: var(--gradient-hero);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(244, 165, 131, 0.15);
    pointer-events: none;
}

.cta-banner h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--text);
    color: rgba(255, 255, 255, 0.55);
    padding: 4.5rem 0 0;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-brand-col span {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand-col p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.8rem;
}

.footer h4 {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    transition: color var(--speed) var(--ease-smooth);
}

.footer-nav a:hover {
    color: var(--sunset-light);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    font-size: 0.82rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
    color: var(--sunset-light);
}

/* ---------- Cookie Banner ---------- */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--text);
    color: rgba(255, 255, 255, 0.8);
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform var(--speed-slow) var(--ease-smooth);
}

.cookie-bar.visible {
    transform: translateY(0);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-inner p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.cookie-inner a {
    color: var(--sunset-light);
}

.cookie-ok {
    background: var(--sunset);
    color: var(--white);
    border: none;
    padding: 0.5rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--speed) var(--ease-smooth);
}

.cookie-ok:hover {
    background: var(--sunset-dark);
}

/* ---------- Legal Pages ---------- */
.legal-hero {
    background: var(--gradient-hero);
    padding: 8rem 0 3.5rem;
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    margin-bottom: 0.5rem;
}

.legal-hero .date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.legal-body {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 3rem 2rem 5rem;
}

.legal-body .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ocean);
    margin-bottom: 2rem;
}

.legal-body .back-link:hover {
    color: var(--sunset);
}

.legal-body h2 {
    font-size: 1.55rem;
    margin: 2.5rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.legal-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.legal-body h3 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.7rem;
}

.legal-body p,
.legal-body li {
    font-size: 0.96rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-body ul,
.legal-body ol {
    margin-bottom: 1rem;
}

.legal-body li {
    margin-bottom: 0.4rem;
}

.legal-body strong {
    color: var(--text);
}

.legal-body a {
    color: var(--ocean);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-body a:hover {
    color: var(--sunset);
}

.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.92rem;
}

.legal-body th,
.legal-body td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.legal-body th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text);
}

/* ---------- Scroll Animations ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* ---------- Trust/Contact Page Cards ---------- */
.trust-deck {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

.trust-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--speed) var(--ease-smooth);
}

.trust-card:hover {
    box-shadow: var(--shadow-md);
}

.trust-card .icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    display: block;
}

.trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.trust-card p,
.trust-card li {
    font-size: 0.92rem;
    line-height: 1.65;
}

.trust-card ul {
    list-style: none;
    padding: 0;
}

.trust-card li {
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.trust-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ocean);
    font-weight: 700;
}

/* Contact specifics */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* Notification Preferences page */
.pref-section {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.pref-section h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
}

.pref-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pref-item:last-child {
    border-bottom: none;
}

.pref-item .pref-label {
    font-size: 0.92rem;
    font-weight: 500;
}

.pref-item .pref-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.pref-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pref-badge.required {
    background: var(--ocean-pale);
    color: var(--ocean-deep);
}

.pref-badge.optional {
    background: var(--sunset-pale);
    color: var(--sunset-dark);
}

/* 404 page */
.four-oh-four {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    background: var(--surface);
}

.four-oh-four h1 {
    font-size: clamp(5rem, 15vw, 10rem);
    color: var(--ocean-pale);
    line-height: 1;
}

.four-oh-four h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.four-oh-four p {
    max-width: 440px;
    margin: 0 auto 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .infra-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 250, 245, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border);
        gap: 0.8rem;
    }

    .navbar-links.active {
        display: flex;
    }

    .navbar-cta {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero-content {
        padding-top: 5rem;
    }

    .hero-content h1 {
        font-size: clamp(2rem, 7vw, 2.8rem);
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .tiles-grid {
        grid-template-columns: 1fr;
    }

    .journey-track {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .journey-track::before {
        display: none;
    }

    .about-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .crew-grid {
        grid-template-columns: 1fr;
    }

    .comm-grid {
        grid-template-columns: 1fr;
    }

    .practices-grid {
        grid-template-columns: 1fr;
    }

    .infra-mosaic {
        grid-template-columns: 1fr;
    }

    .trust-deck {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .hero {
        min-height: 85vh;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .journey-track {
        grid-template-columns: 1fr;
    }
}