:root {
    /* Brand Palette */
    --color-ivory: #F7F4EC;
    --color-surface: #FFFCF6;
    --color-surface-muted: #EEF5F1;
    --color-text: #18343A;
    --color-text-muted: #5F746D;
    --color-border: #D7E2DA;
    --color-gold: #C79A3A;
    --color-gold-soft: #E8D5A4;
    --color-gold-deep: #9F741D;
    --color-leaf: #6F9E8F;
    --color-leaf-deep: #466A61;
    --color-sage: #DDE8DE;
    --color-water: #A9D7D8;
    --color-water-deep: #2D7A83;
    --color-water-ink: #0F6472;
    --color-water-mist: #E3F1F2;

    /* Semantic aliases */
    --color-bg: var(--color-ivory);
    --color-primary: var(--color-water-deep);
    --color-primary-hover: var(--color-water-ink);
    --color-secondary: var(--color-sage);
    --color-accent: var(--color-gold);
    --color-accent-hover: var(--color-gold-deep);

    /* Typography */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Raleway', sans-serif;

    /* Variables */
    --section-padding: 6rem 2rem;
    --border-radius: 12px;
    --border-radius-lg: 24px;
    --transition: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --shadow-soft: 0 10px 40px rgba(28, 39, 33, 0.05);
    --shadow-glow: 0 18px 50px rgba(201, 164, 76, 0.18);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background:
        radial-gradient(circle at top left, rgba(169, 215, 216, 0.14), transparent 26%),
        radial-gradient(circle at top right, rgba(201, 164, 76, 0.12), transparent 22%),
        var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        linear-gradient(125deg, rgba(169, 215, 216, 0.24), transparent 24%),
        linear-gradient(315deg, rgba(232, 213, 164, 0.2), transparent 28%);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    position: relative;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

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

.tagline {
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.brand-icon {
    width: 3rem;
    height: 3rem;
    color: var(--color-primary);
    stroke-width: 1.7;
}

.brand-icon--gold {
    color: var(--color-accent);
}

.brand-icon-shell {
    width: 4.25rem;
    height: 4.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(45, 122, 131, 0.24);
    border-radius: 999px;
    background:
        radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.92), rgba(169, 215, 216, 0.24)),
        var(--color-surface);
    box-shadow: 0 14px 36px rgba(15, 100, 114, 0.1);
}

/* Accessibility - Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 3px;
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px rgba(45, 122, 131, 0.2);
}

/* Hero Layout for Pages */
.page-header {
    padding: 6rem 2rem 3rem;
    background-color: var(--color-bg);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
    text-align: left;
}

.hero-content p {
    margin: 1rem 0 0;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -1.5rem;
    background-color: var(--color-surface-muted);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    transform: rotate(-3deg);
}

.hero-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    display: block;
}

@media (max-width: 900px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content p {
        margin: 1rem auto 0;
        max-width: 700px;
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .hero-image-wrapper::before {
        inset: -1rem;
    }
}

/* Icon Card Pattern */
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 252, 246, 0.92);
    border-radius: var(--border-radius);
    border: 1px solid rgba(45, 122, 131, 0.12);
    transition: var(--transition);
}

.icon-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(45, 122, 131, 0.25);
}

.icon-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.icon-card__icon svg {
    width: 100%;
    height: 100%;
}

.icon-card__text {
    font-size: 0.92rem;
    color: var(--color-text);
    line-height: 1.5;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
    color: #fff;
    box-shadow: 0 10px 24px rgba(70, 96, 75, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), #31453a);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(70, 96, 75, 0.28);
}

.btn-outline {
    background-color: rgba(255, 252, 246, 0.75);
    color: var(--color-primary);
    border: 1px solid rgba(94, 125, 99, 0.35);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(249, 248, 246, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28, 39, 33, 0.05);
}

.navbar.scrolled {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-soft);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(45, 122, 131, 0.2);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.1;
}

.logo-tagline {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-accent);
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-gold-soft), #f3ead0);
    color: var(--color-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-glow);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Mobile Menu Button */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    display: block;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    background-color: var(--color-text);
    color: #fff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive */
@media screen and (max-width: 900px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        width: 80%;
        max-width: 400px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: 0.5s ease;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .burger {
        display: flex;
        z-index: 1001;
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
        transform: scaleX(0);
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Mobile Menu Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 25, 0.45);
    z-index: 999;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Footer contact items */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.footer-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

/* 768px breakpoint */
@media screen and (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    h2 {
        font-size: clamp(1.6rem, 5vw, 2.4rem);
    }

    .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

/* 480px breakpoint */
@media screen and (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Print styles */
@media print {

    .navbar,
    footer,
    .btn {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

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