/* ========================================
   CSS CUSTOM PROPERTIES
   ======================================== */
:root {
    /* Terracotta + Sand Palette */
    --color-terracotta: #C0765B;
    --color-terracotta-dark: #A8614A;
    --color-terracotta-light: #D4956F;
    --color-sand: #F5EDE3;
    --color-sand-light: #FAF6F1;
    --color-sand-dark: #E8DDD0;
    --color-cream: #FFFDF9;
    --color-cream-dark: #F7F0E8;
    --color-text: #3D2B1F;
    --color-text-light: #6B5344;
    --color-text-muted: #9B8578;
    --color-white: #FFFFFF;
    --color-border: #EDE3D9;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    /* Layout */
    --container-max: 1200px;
    --header-height: 72px;
    
    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(61, 43, 31, 0.06);
    --shadow-md: 0 4px 20px rgba(61, 43, 31, 0.08);
    --shadow-lg: 0 8px 40px rgba(61, 43, 31, 0.12);
    --shadow-hover: 0 12px 48px rgba(61, 43, 31, 0.16);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-terracotta);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 700;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 1rem;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background: linear-gradient(135deg, rgba(192, 118, 91, 0.1), rgba(192, 118, 91, 0.05));
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: var(--space-sm);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.8125rem 1.75rem;
    border-radius: 50px;
    transition: all var(--transition-base);
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    background: var(--color-terracotta);
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(192, 118, 91, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--color-terracotta-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(192, 118, 91, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--color-white);
    color: var(--color-terracotta);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-terracotta);
    box-shadow: var(--shadow-md);
}

.btn-white:hover,
.btn-white:focus-visible {
    background: var(--color-sand);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-height);
    transition: all var(--transition-base);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(255, 253, 249, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-white);
    transition: color var(--transition-base);
}

.logo-icon {
    flex-shrink: 0;
}

.site-header.scrolled .logo {
    color: var(--color-text);
}

.logo-light {
    color: var(--color-white) !important;
}

/* Navigation */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.primary-nav a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta-light);
    transition: width var(--transition-base);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
    width: 100%;
}

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

.site-header.scrolled .primary-nav a {
    color: var(--color-text-light);
}

.site-header.scrolled .primary-nav a:hover,
.site-header.scrolled .primary-nav a:focus-visible {
    color: var(--color-terracotta);
}

.site-header.scrolled .primary-nav a::after {
    background: var(--color-terracotta);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.hamburger {
    position: relative;
}

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

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after {
    background: var(--color-text);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(61, 43, 31, 0.65) 0%,
        rgba(61, 43, 31, 0.4) 50%,
        rgba(192, 118, 91, 0.2) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl) var(--space-md);
    animation: heroFadeIn 1s ease forwards;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: var(--space-md);
    backdrop-filter: blur(4px);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5.5vw, 3.5rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   INTRO
   ======================================== */
.intro {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .intro-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-2xl);
    }
}

.intro-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: var(--space-md);
}

.intro-text p {
    color: var(--color-text-light);
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
}

.intro-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    font-weight: 500;
}

.feature-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
}

.intro-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.intro-image:hover img {
    transform: scale(1.03);
}

/* ========================================
   DIVIDER / QUOTE
   ======================================== */
.divider-section {
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-sand-light) 100%);
}

.divider-quote {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.divider-quote blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    color: var(--color-text);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    position: relative;
}

.divider-quote cite {
    font-family: var(--font-body);
    font-style: normal;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-terracotta);
    letter-spacing: 0.05em;
}

/* ========================================
   ROOMS
   ======================================== */
.rooms {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.rooms-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .rooms-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
}

.room-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.room-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.room-card-image {
    overflow: hidden;
    aspect-ratio: 3/2;
}

.room-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.room-card:hover .room-card-image img {
    transform: scale(1.05);
}

.room-card-body {
    padding: var(--space-md);
}

.room-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.room-card-body > p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 1rem;
    margin-bottom: var(--space-md);
}

.room-amenities li {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.room-amenities li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color-terracotta-light);
    flex-shrink: 0;
}

/* ========================================
   EXPERIENCE
   ======================================== */
.experience {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-sand-light) 0%, var(--color-cream) 100%);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: center;
}

@media (min-width: 900px) {
    .experience-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--space-2xl);
    }
}

.experience-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: var(--space-lg);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.exp-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.exp-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    color: var(--color-terracotta);
}

.exp-item h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.25rem;
}

.exp-item p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.experience-images {
    position: relative;
}

.exp-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.exp-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.exp-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream);
}

.exp-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 900px) {
    .exp-img-secondary {
        width: 50%;
        bottom: -2.5rem;
        right: -2rem;
    }
}

/* ========================================
   LOCATION
   ======================================== */
.location {
    padding: var(--space-3xl) 0;
    background: var(--color-cream);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    align-items: stretch;
}

@media (min-width: 900px) {
    .location-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: var(--space-2xl);
    }
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.location-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.25;
}

.location-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.detail-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.detail-item strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 0.125rem;
}

.detail-item span,
.detail-item a {
    font-size: 1rem;
    color: var(--color-text);
}

.detail-item a:hover {
    color: var(--color-terracotta);
    text-decoration: underline;
}

.location-map {
    min-height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* ========================================
   CTA
   ======================================== */
.cta {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-terracotta-dark) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .cta-inner {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.cta-content {
    max-width: 520px;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
    padding: var(--space-3xl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-sand-light) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: var(--space-2xl);
    }
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: var(--space-sm);
}

.contact-info > p {
    font-size: 1.05rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.contact-method:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.cm-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
    border-radius: var(--radius-sm);
    color: var(--color-white);
    flex-shrink: 0;
}

.cm-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

.cm-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-sand-light);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(192, 118, 91, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-light));
    border-radius: 50%;
    color: var(--color-white);
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
}

.form-success p {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-text);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr;
        gap: var(--space-xl);
    }
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-terracotta-light);
}

.footer-contact li:last-child {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.35);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-terracotta);
    color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 767px) {
    :root {
        --header-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(255, 253, 249, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: var(--space-md);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .primary-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .primary-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .primary-nav a {
        color: var(--color-text-light) !important;
        font-size: 1rem;
        padding: 0.5rem 0;
    }

    .primary-nav a:hover,
    .primary-nav a:focus-visible {
        color: var(--color-terracotta) !important;
    }

    .primary-nav a::after {
        display: none;
    }

    .primary-nav li:last-child {
        margin-top: var(--space-sm);
        width: 100%;
    }

    .primary-nav li:last-child .btn {
        width: 100%;
        justify-content: center;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .fade-in-delay-1 { transition-delay: 0.1s; }
    .fade-in-delay-2 { transition-delay: 0.2s; }
    .fade-in-delay-3 { transition-delay: 0.3s; }
}
