:root {
    --bg-color: #f8f4fb;
    --bg-soft: #fdfbff;
    --surface: rgba(255, 252, 255, 0.82);
    --surface-strong: #fffdfd;
    --card-bg: rgba(255, 252, 255, 0.9);
    --primary: #9188bc;
    --primary-deep: #6f6598;
    --primary-soft: #e8d9f3;
    --accent: #a195cb;
    --sage: #c4e3f3;
    --wave-blue: #d7edf8;
    --wave-blue-deep: #b8d9ec;
    --text-dark: #3d3650;
    --text-light: #726b82;
    --line: rgba(143, 130, 180, 0.18);
    --shadow-soft: 0 22px 60px rgba(102, 86, 130, 0.12);
    --shadow-strong: 0 28px 90px rgba(102, 86, 130, 0.18);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-med: 0.45s ease;
    --section-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(232, 217, 243, 0.85), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(196, 227, 243, 0.42), transparent 24%),
        linear-gradient(180deg, #fdfbff 0%, #f6f0fb 46%, #fcf9fe 100%);
    color: var(--text-dark);
    font-family: "Manrope", sans-serif;
    line-height: 1.75;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cormorant Garamond", serif;
}

body::before,
body::after {
    content: "";
    position: fixed;
    z-index: -2;
    width: 42vw;
    height: 42vw;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
    animation: drift 18s ease-in-out infinite;
}

body::before {
    top: -10vw;
    right: -12vw;
    background: radial-gradient(circle, rgba(232, 217, 243, 0.82) 0%, rgba(232, 217, 243, 0) 68%);
}

body::after {
    bottom: -16vw;
    left: -12vw;
    background: radial-gradient(circle, rgba(196, 227, 243, 0.34) 0%, rgba(196, 227, 243, 0) 70%);
    animation-delay: -6s;
}

a {
    color: inherit;
}

a,
button {
    transition: color var(--transition-med), transform var(--transition-med), opacity var(--transition-med), box-shadow var(--transition-med);
}

img {
    max-width: 100%;
}

main {
    display: block;
}

@keyframes drift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(2vw, -2vw, 0) scale(1.04);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 14px 44px rgba(102, 86, 130, 0.08);
    }
    50% {
        box-shadow: 0 20px 60px rgba(154, 135, 191, 0.2);
    }
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideshowZoom {
    from {
        transform: scale(1.06);
    }
    to {
        transform: scale(1);
    }
}

#transition-layer {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.8), transparent 28%),
        linear-gradient(135deg, #fbf7fe 0%, #e8d9f3 46%, #cbc0e8 100%);
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
    transition: transform 0.7s cubic-bezier(0.83, 0, 0.17, 1), opacity 0.7s ease;
}

body.loaded #transition-layer {
    transform: scaleY(0);
    opacity: 0.2;
}

body.fade-out #transition-layer {
    transform: scaleY(1);
    opacity: 1;
    transform-origin: bottom;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.15rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 252, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    z-index: 1000;
    transition: padding var(--transition-med), background var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

header.scrolled {
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
    background: rgba(255, 252, 255, 0.9);
    box-shadow: 0 14px 34px rgba(102, 86, 130, 0.08);
    border-bottom-color: var(--line);
}

.logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.logo-container a {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.logo-container a::after {
    content: "";
    position: absolute;
    inset: -10px -14px;
    border-radius: 22px;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 252, 255, 0.82) 0%, rgba(255, 252, 255, 0) 16%, rgba(255, 252, 255, 0) 84%, rgba(255, 252, 255, 0.82) 100%),
        linear-gradient(180deg, rgba(255, 252, 255, 0.82) 0%, rgba(255, 252, 255, 0) 18%, rgba(255, 252, 255, 0) 82%, rgba(255, 252, 255, 0.82) 100%);
    opacity: 0.9;
}

.logo-container img {
    position: relative;
    z-index: 1;
    height: 72px;
    display: block;
    transition: transform var(--transition-slow), filter var(--transition-med);
}

.logo-container img:hover {
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 10px 20px rgba(102, 86, 130, 0.18));
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.7rem;
}

nav {
    margin-left: auto;
}

nav a {
    position: relative;
    display: block;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    transition: color var(--transition-med), transform var(--transition-med), letter-spacing var(--transition-med);
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.15rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: transform var(--transition-med);
}

nav a:hover,
nav a.active {
    color: var(--primary-deep);
    transform: translateY(-2px);
    letter-spacing: 0.045em;
}

nav a:hover::after,
nav a.active::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 30px;
    padding: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
}

body.nav-collapsed .menu-toggle {
    display: flex;
}

body.nav-collapsed nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    background: rgba(255, 252, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(143, 130, 180, 0.12);
    box-shadow: 0 18px 40px rgba(102, 86, 130, 0.08);
    transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    margin-left: 0;
}

body.nav-collapsed nav.open {
    max-height: 620px;
}

body.nav-collapsed nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem 5%;
}

body.nav-collapsed nav a {
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(143, 130, 180, 0.08);
}

body.nav-collapsed nav li:last-child a {
    border-bottom: none;
}

body.nav-collapsed nav a::after {
    display: none;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: var(--primary-deep);
    transform-origin: left center;
    transition: transform var(--transition-med), opacity var(--transition-med);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(38deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-38deg);
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.95rem 1.9rem;
    border: 1px solid rgba(126, 90, 67, 0.18);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 253, 255, 0.96), rgba(232, 217, 243, 0.9));
    color: var(--primary-deep);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(102, 86, 130, 0.14);
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.75), transparent 80%);
    transform: translateX(-120%);
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-4px) scale(1.015);
    box-shadow: 0 22px 44px rgba(102, 86, 130, 0.2);
    border-color: rgba(126, 90, 67, 0.28);
}

.btn:hover::before,
.btn:focus-visible::before {
    animation: shimmer 1s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px) scale(0.985);
    transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.page-section,
.about-section,
.care-section,
.standard-section,
#about-preview,
.split-section {
    position: relative;
}

.page-section,
.about-section,
.care-section,
.standard-section {
    padding: 110px 6%;
    text-align: center;
}

.page-section > *,
.about-section > *,
.care-section > *,
.standard-section > *,
#about-preview > *,
.split-section > * {
    max-width: var(--section-width);
    margin-left: auto;
    margin-right: auto;
}

.section-kicker,
.slideshow-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.2rem;
    padding: 0.5rem 0.95rem;
    border: 1px solid rgba(143, 130, 180, 0.16);
    border-radius: 999px;
    background: rgba(255, 252, 255, 0.76);
    color: var(--accent);
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.section-title,
.page-section h1,
.about-section h1,
.care-section h1,
.standard-section h1,
.contact-heading {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.98;
    margin-bottom: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.page-section h1::after,
.about-section h1::after,
.care-section h1::after,
.standard-section h1::after,
.contact-heading::after,
.section-title::after {
    content: "";
    display: block;
    width: 84px;
    height: 2px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--primary-soft), transparent);
}

.page-text,
.about-text,
.care-text,
.standard-text {
    max-width: 880px;
    font-size: 1.08rem;
    color: var(--text-light);
}

.care-section .fade-in {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.care-text {
    width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.staff-portrait {
    width: min(100%, 240px);
    margin: 0.5rem auto 2rem;
}

.staff-portrait img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 46px rgba(102, 86, 130, 0.14);
}

.page-text p,
.about-text p,
.care-text p,
.standard-text p {
    margin-bottom: 1.4rem;
}

#home {
    position: relative;
    min-height: 100vh;
    padding: 8rem 6% 5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
    align-items: center;
    gap: 3rem;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(253, 251, 255, 0.97) 0%, rgba(244, 239, 251, 0.9) 42%, rgba(244, 239, 251, 0.3) 100%),
        url("arunlodge.png") center / cover no-repeat;
}

#home::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 25%, rgba(255, 255, 255, 0.45), transparent 24%),
        radial-gradient(circle at 80% 72%, rgba(232, 217, 243, 0.34), transparent 18%);
    pointer-events: none;
}

#home::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: 10%;
    height: 160px;
    z-index: 1;
    border-bottom: 10px solid rgba(196, 227, 243, 0.85);
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
    transform: rotate(-4deg);
    opacity: 0.75;
    filter: drop-shadow(0 12px 18px rgba(184, 217, 236, 0.32));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    opacity: 0;
    transform: translateY(32px);
    animation: revealUp 1.2s 0.3s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-kicker {
    margin-bottom: 1.2rem;
}

.hero-content h1 {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(4rem, 8vw, 6.7rem);
    line-height: 1.02;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.hero-line {
    display: block;
}

.hero-content .hero-subtitle {
    display: block;
    margin-top: 1rem;
    color: var(--accent);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero-content p {
    max-width: 35rem;
    margin-bottom: 2rem;
    font-size: 1.13rem;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.btn.secondary {
    background: transparent;
    box-shadow: none;
}

.hero-panel {
    position: relative;
    z-index: 2;
    justify-self: end;
    width: min(100%, 360px);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 252, 255, 0.9), rgba(232, 217, 243, 0.56));
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    animation: float 7s ease-in-out infinite;
}

.hero-panel::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(126, 90, 67, 0.08);
    pointer-events: none;
}

.hero-panel h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--primary-deep);
    margin-bottom: 0.8rem;
}

.hero-panel p {
    color: var(--text-light);
    margin-bottom: 1.3rem;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.95rem;
}

.hero-panel li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
    color: var(--text-dark);
}

.hero-panel li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), var(--accent));
    box-shadow: 0 0 0 6px rgba(232, 217, 243, 0.26);
}

.scroll-cue {
    position: absolute;
    left: 6%;
    bottom: 2rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.83rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scroll-cue::before {
    content: "";
    width: 48px;
    height: 1px;
    background: rgba(161, 149, 203, 0.6);
}

.wave-divider {
    position: relative;
    z-index: 1;
    margin-top: -2px;
    line-height: 0;
}

.wave-divider svg path {
    fill: #efe4f7;
}

.wave-divider svg {
    filter: drop-shadow(0 -10px 16px rgba(196, 227, 243, 0.3));
}

.highlight-box {
    position: relative;
    margin-top: 2.8rem;
    padding: clamp(2rem, 5vw, 3.4rem);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 32px;
    background: linear-gradient(145deg, rgba(255, 252, 255, 0.94), rgba(232, 217, 243, 0.72));
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
    text-align: center;
}

.highlight-box::before {
    content: "";
    position: absolute;
    inset: auto auto -20% -6%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 217, 243, 0.34), rgba(232, 217, 243, 0));
    pointer-events: none;
}

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

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.8rem;
    margin-top: 3rem;
}

.card-grid .info-card,
.card-grid .service-card {
    opacity: 0;
    transform: translateY(36px);
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-grid.appear .info-card:nth-child(1),
.card-grid.appear .service-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.card-grid.appear .info-card:nth-child(2),
.card-grid.appear .service-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.18s;
}

.card-grid.appear .info-card:nth-child(3),
.card-grid.appear .service-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.28s;
}

.card-grid.appear .info-card:nth-child(4),
.card-grid.appear .service-card:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.38s;
}

.info-card,
.service-card {
    position: relative;
    padding: 2.2rem 1.9rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 253, 255, 0.96), rgba(232, 217, 243, 0.78));
    border: 1px solid rgba(126, 90, 67, 0.1);
    box-shadow: 0 18px 42px rgba(102, 86, 130, 0.09);
    animation: pulseGlow 7s ease-in-out infinite;
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.info-card:hover,
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(102, 86, 130, 0.16);
    border-color: rgba(126, 90, 67, 0.2);
}

.info-card h3,
.service-card h3 {
    margin-bottom: 0.85rem;
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.info-card p,
.service-card p {
    color: var(--text-light);
}

#about-preview {
    padding: 110px 6%;
    text-align: center;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 3.2rem;
    max-width: 1080px;
    justify-items: center;
}

.about-gallery img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 26px;
    box-shadow: 0 22px 50px rgba(102, 86, 130, 0.1);
    transition: transform var(--transition-slow), box-shadow var(--transition-med), filter var(--transition-med);
    filter: saturate(0.92) contrast(0.98);
}

.about-gallery img:nth-child(even) {
    transform: none;
}

.about-gallery img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 28px 64px rgba(102, 86, 130, 0.16);
    filter: saturate(1.05) contrast(1.03);
}

.staff-showcase {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.35rem;
    margin-top: 3.2rem;
    max-width: 980px;
    text-align: left;
}

.staff-photo-card {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 253, 255, 0.96), rgba(232, 217, 243, 0.76));
    border: 1px solid rgba(126, 90, 67, 0.1);
    box-shadow: 0 18px 42px rgba(102, 86, 130, 0.09);
}

.staff-photo-card-offset {
    transform: none;
}

.staff-photo-frame {
    overflow: hidden;
    border-radius: 20px;
    aspect-ratio: 4 / 5;
    min-height: 0;
    box-shadow: 0 20px 46px rgba(102, 86, 130, 0.12);
}

.staff-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-slow), filter var(--transition-med);
}

.staff-photo-card:hover .staff-photo-frame img {
    transform: scale(1.03);
    filter: saturate(1.04) contrast(1.02);
}

.staff-photo-copy {
    padding: 0.2rem 0.2rem 0.1rem;
}

.staff-photo-copy h3 {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.02;
    margin-bottom: 0.65rem;
}

.staff-photo-copy p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.65;
}

.split-section {
    padding: 110px 6%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: stretch;
}

.split-section > .fade-in {
    width: 100%;
}

.split-section .fade-in:first-child,
.contact-form {
    padding: 2.4rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 252, 255, 0.94), rgba(232, 217, 243, 0.68));
    border: 1px solid rgba(126, 90, 67, 0.1);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-card {
    padding: 1rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 252, 255, 0.94), rgba(232, 217, 243, 0.68));
    border: 1px solid rgba(143, 130, 180, 0.1);
    box-shadow: var(--shadow-soft);
    height: 100%;
    min-height: 420px;
}

.map-embed {
    width: 100%;
    height: 100%;
    min-height: 388px;
    border: 0;
    border-radius: 22px;
    display: block;
}

.contact-form input,
.contact-form textarea,
.newsletter-form input {
    width: 100%;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(126, 90, 67, 0.14);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-dark);
    font: inherit;
    transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
}

.contact-form input:focus,
.contact-form textarea:focus,
.newsletter-form input:focus {
    outline: none;
    transform: translateY(-1px);
    border-color: rgba(126, 90, 67, 0.34);
    box-shadow: 0 0 0 4px rgba(232, 217, 243, 0.34);
}

.contact-form textarea {
    min-height: 170px;
    resize: vertical;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 520px;
    margin: 2.6rem auto 0;
    padding: 2rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 252, 255, 0.95), rgba(232, 217, 243, 0.7));
    border: 1px solid rgba(126, 90, 67, 0.1);
    box-shadow: var(--shadow-soft);
}

.newsletter-display {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
    text-align: left;
}

.newsletter-hero-card,
.newsletter-story-card,
.newsletter-gallery-panel,
.admin-panel {
    border: 1px solid rgba(126, 90, 67, 0.1);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 252, 255, 0.95), rgba(232, 217, 243, 0.7));
    box-shadow: var(--shadow-soft);
}

.newsletter-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
    padding: clamp(1.8rem, 4vw, 2.6rem);
}

.newsletter-issue,
.newsletter-card-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.newsletter-hero-card h2,
.newsletter-story-card h3,
.admin-panel h2 {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    margin-bottom: 0.9rem;
}

.newsletter-hero-card p,
.newsletter-story-card p,
.newsletter-story-card div,
.admin-panel p,
.admin-form label {
    color: var(--text-light);
}

.newsletter-meta {
    min-width: 180px;
    padding: 1rem 1.2rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.newsletter-meta span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.newsletter-meta strong {
    color: var(--primary-deep);
    font-size: 1.05rem;
}

.newsletter-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
}

.newsletter-story-card {
    padding: 2rem;
}

.newsletter-story-card-accent {
    background: linear-gradient(180deg, rgba(196, 227, 243, 0.52), rgba(255, 252, 255, 0.88));
}

.newsletter-story-card div p {
    margin-bottom: 1rem;
}

.newsletter-gallery-panel {
    padding: 2rem;
}

.newsletter-gallery-heading {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.newsletter-gallery-heading h3 {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    font-weight: 500;
}

.newsletter-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

.newsletter-gallery-cta {
    margin-top: 1.7rem;
    text-align: center;
}

.newsletter-gallery-item {
    overflow: hidden;
    border-radius: 24px;
    min-height: 260px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 40px rgba(102, 86, 130, 0.08);
}

.newsletter-gallery-item img,
.admin-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.admin-panel {
    padding: clamp(1.8rem, 4vw, 2.5rem);
    text-align: left;
}

.admin-panel-editor {
    margin-top: 2.2rem;
}

.admin-panel-heading,
.admin-panel-actions,
.admin-form-actions,
.admin-gallery-tools {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.admin-panel-heading,
.admin-gallery-tools {
    margin-bottom: 1.5rem;
}

.admin-panel-actions,
.admin-form-actions {
    flex-wrap: wrap;
}

.admin-form {
    display: grid;
    gap: 1rem;
}

.admin-form-editor {
    gap: 1.5rem;
}

.admin-editor-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    grid-column: 1 / -1;
}

.admin-editor-sidebar {
    position: sticky;
    top: 110px;
}

.admin-sidebar-card,
.admin-editor-section {
    border-radius: 24px;
    border: 1px solid rgba(126, 90, 67, 0.1);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 14px 34px rgba(102, 86, 130, 0.06);
}

.admin-sidebar-card {
    padding: 1.4rem;
}

.admin-sidebar-card h3,
.admin-section-heading h3 {
    color: var(--primary-deep);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.admin-section-nav {
    display: grid;
    gap: 0.55rem;
    margin: 1.15rem 0;
}

.admin-section-nav a {
    padding: 0.8rem 1rem;
    border-radius: 16px;
    text-decoration: none;
    color: var(--primary-deep);
    background: rgba(232, 217, 243, 0.45);
    font-weight: 700;
}

.admin-section-nav a:hover,
.admin-section-nav a:focus-visible {
    background: rgba(196, 227, 243, 0.56);
    transform: translateY(-1px);
}

.admin-sidebar-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--text-light);
}

.admin-sidebar-list li + li {
    margin-top: 0.65rem;
}

.admin-editor-main {
    display: grid;
    gap: 1.25rem;
}

.admin-editor-section {
    padding: 1.5rem;
    scroll-margin-top: 120px;
}

.admin-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.25rem;
}

.admin-section-heading p {
    max-width: 28rem;
}

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

.admin-span-full {
    grid-column: 1 / -1;
}

.admin-form label {
    display: grid;
    gap: 0.5rem;
    font-weight: 700;
    min-width: 0;
}

.admin-form textarea,
.admin-form input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(126, 90, 67, 0.14);
    background: rgba(255, 255, 255, 0.84);
    color: var(--text-dark);
    font: inherit;
    box-sizing: border-box;
}

.admin-form input[type="text"],
.admin-form input[type="password"],
.admin-form textarea {
    overflow-wrap: anywhere;
}

.admin-form textarea:focus,
.admin-form input:focus {
    outline: none;
    border-color: rgba(126, 90, 67, 0.34);
    box-shadow: 0 0 0 4px rgba(232, 217, 243, 0.34);
}

.admin-form textarea,
.admin-gallery-tools,
.admin-form-actions,
.admin-feedback {
    grid-column: 1 / -1;
}

.admin-form textarea {
    resize: none;
    min-height: 8rem;
    overflow-y: hidden;
    line-height: 1.65;
    white-space: pre-wrap;
}

.admin-intro {
    max-width: none;
    margin-bottom: 1.5rem;
}

.admin-upload-field input[type="file"] {
    padding: 0.85rem;
    background: rgba(232, 217, 243, 0.22);
}

.admin-gallery-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    width: 100%;
}

.admin-gallery-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 14px 34px rgba(102, 86, 130, 0.08);
}

.admin-gallery-selector {
    display: block;
    cursor: pointer;
}

.admin-gallery-card img {
    height: 180px;
}

.admin-gallery-checkbox {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1rem 1rem;
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-gallery-checkbox input {
    width: auto;
    margin: 0;
}

.admin-remove-image {
    width: calc(100% - 1rem);
    margin: 0.5rem;
}

.admin-feedback {
    min-height: 1.5rem;
    color: var(--primary-deep);
    font-weight: 700;
}

.admin-feedback.error {
    color: #9f4358;
}

.admin-logout-confirm {
    margin-bottom: 1.5rem;
    padding: 1.2rem 1.25rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(126, 90, 67, 0.12);
}

.admin-logout-confirm p {
    color: var(--text-dark);
    font-weight: 700;
}

.admin-logout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1rem;
}

.admin-editor-footer {
    padding-top: 0.25rem;
}

.list-clean {
    list-style: none;
    max-width: 860px;
    margin: 3rem auto 0;
    text-align: left;
}

.list-clean li {
    position: relative;
    margin-bottom: 1.2rem;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(255, 253, 255, 0.96), rgba(232, 217, 243, 0.76));
    border: 1px solid rgba(126, 90, 67, 0.1);
    box-shadow: 0 18px 40px rgba(102, 86, 130, 0.08);
    transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.list-clean li:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 54px rgba(102, 86, 130, 0.12);
}

.review-quote {
    display: block;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.9rem;
    font-style: italic;
    line-height: 1.25;
}

.review-author {
    display: block;
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-banner {
    position: relative;
    margin: 112px auto 0;
    padding: 0 6%;
    max-width: calc(var(--section-width) + 12%);
}

.page-banner-shell {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    min-height: 72vh;
    display: grid;
    align-items: end;
    box-shadow: var(--shadow-strong);
}

.page-banner-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(50, 41, 32, 0.7) 0%, rgba(50, 41, 32, 0.2) 48%, rgba(50, 41, 32, 0.06) 100%);
}

.page-banner-media,
.page-banner-media img {
    width: 100%;
    height: 100%;
}

.page-banner-media img {
    display: block;
    min-height: 72vh;
    object-fit: cover;
}

.page-banner-card {
    position: absolute;
    left: 5%;
    bottom: 8%;
    z-index: 2;
    max-width: 580px;
    padding: 2rem 2.2rem;
    border-radius: 28px;
    background: rgba(255, 252, 247, 0.14);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fffaf4;
}

.banner-card-reveal {
    opacity: 0;
    transform: translateY(26px) scale(0.985);
    transition: opacity 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.18s, transform 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.18s;
}

body.loaded .banner-card-reveal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.page-banner-card h1,
.page-banner-card p {
    color: inherit;
}

.page-banner-card h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 5vw, 4.8rem);
    line-height: 0.95;
    font-weight: 500;
    margin-bottom: 1rem;
}

.page-banner-card p {
    font-size: 1.05rem;
    color: rgba(255, 250, 244, 0.92);
}

.page-intro {
    margin-top: 96px;
}

.accommodation-hero {
    padding: 132px 6% 20px;
}

.homely-slideshow {
    position: relative;
    max-width: var(--section-width);
    margin: 0 auto;
    min-height: 72vh;
    border-radius: 34px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 253, 255, 0.56), rgba(232, 217, 243, 0.28));
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 255, 255, 0.52);
}

.slideshow-track {
    position: relative;
    min-height: 72vh;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 6s ease;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(50, 41, 32, 0.68) 0%, rgba(50, 41, 32, 0.24) 42%, rgba(50, 41, 32, 0.12) 100%);
}

.slide img {
    width: 100%;
    min-height: 72vh;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

.slide.active img {
    animation: slideshowZoom 6s ease forwards;
}

.slideshow-overlay {
    position: absolute;
    left: 9%;
    bottom: 10%;
    z-index: 3;
    max-width: 580px;
    color: #fffaf4;
}

.slideshow-overlay h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 0.95;
    font-weight: 500;
    margin-bottom: 1rem;
}

.slideshow-overlay p {
    color: rgba(255, 250, 244, 0.92);
    font-size: 1.05rem;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 56px;
    height: 56px;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 252, 247, 0.12);
    color: #fffaf4;
    font-size: 1.3rem;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-med), background var(--transition-med), box-shadow var(--transition-med);
}

.slideshow-arrow:hover,
.slideshow-arrow:focus-visible {
    transform: translateY(-50%) scale(1.06);
    background: rgba(255, 252, 247, 0.22);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
}

.slideshow-arrow.prev {
    left: 22px;
}

.slideshow-arrow.next {
    right: 22px;
}

.slideshow-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    display: flex;
    gap: 0.65rem;
    transform: translateX(-50%);
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(255, 252, 247, 0.14);
    backdrop-filter: blur(10px);
}

.slideshow-dot {
    width: 11px;
    height: 11px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 250, 244, 0.48);
    cursor: pointer;
    transition: transform var(--transition-med), background var(--transition-med);
}

.slideshow-dot.active {
    background: #fffaf4;
    transform: scale(1.25);
}

footer {
    padding: 2.2rem 1.5rem 3rem;
    color: var(--text-light);
    text-align: center;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-credit {
    margin-top: 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: none;
}

.footer-credit a {
    text-decoration: none;
    color: var(--text-light);
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
    color: var(--accent);
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.9rem 1.6rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

.footer-links a {
    position: relative;
    text-decoration: none;
    color: var(--primary-deep);
    transition: color var(--transition-med), transform var(--transition-med);
}

.footer-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.25rem;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: scaleX(0.35);
    opacity: 0;
    transition: transform var(--transition-med), opacity var(--transition-med);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
}

.contact-form a:hover,
.contact-form a:focus-visible,
.page-text a:hover,
.page-text a:focus-visible,
.about-text a:hover,
.about-text a:focus-visible,
.care-text a:hover,
.care-text a:focus-visible {
    color: var(--accent);
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        overflow: hidden;
        max-height: 0;
        background: rgba(255, 252, 255, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(126, 90, 67, 0.12);
        box-shadow: 0 18px 40px rgba(102, 86, 130, 0.08);
        transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    }

    nav.open {
        max-height: 620px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 5%;
    }

    nav a {
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid rgba(126, 90, 67, 0.08);
    }

    nav li:last-child a {
        border-bottom: none;
    }

    nav a::after {
        display: none;
    }
}

@media (max-width: 980px) {
    #home {
        grid-template-columns: 1fr;
        align-items: end;
        padding-top: 7.5rem;
    }

    .hero-panel {
        justify-self: start;
        width: min(100%, 520px);
    }

    .scroll-cue {
        display: none;
    }

    .split-section {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .newsletter-story-grid,
    .staff-showcase {
        grid-template-columns: 1fr;
    }

    .admin-editor-layout {
        grid-template-columns: 1fr;
    }

    .admin-editor-sidebar {
        position: static;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-section-heading {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.95rem 5%;
    }

    .logo-container img {
        height: 66px;
    }

    #home,
    .page-section,
    .about-section,
    .care-section,
    .standard-section,
    #about-preview,
    .split-section,
    .page-banner,
    .accommodation-hero {
        padding-left: 5%;
        padding-right: 5%;
    }

    #home {
        min-height: auto;
        padding-bottom: 4rem;
        gap: 1.6rem;
        background-position: 72% center;
    }

    .hero-content h1 {
        font-size: clamp(3.3rem, 16vw, 4.8rem);
    }

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

    .hero-panel,
    .highlight-box,
    .split-section .fade-in:first-child,
    .map-card,
    .contact-form,
    .newsletter-form,
    .newsletter-hero-card,
    .newsletter-story-card,
    .newsletter-gallery-panel,
    .admin-panel {
        padding: 1.6rem;
        border-radius: 24px;
    }

    .about-gallery {
        grid-template-columns: 1fr;
    }

    .about-gallery img,
    .about-gallery img:nth-child(even) {
        height: 250px;
        transform: none;
    }

    .staff-photo-card-offset {
        transform: none;
    }

    .staff-photo-frame {
        aspect-ratio: 4 / 5;
        min-height: 0;
    }

    .page-banner-shell,
    .page-banner-media img,
    .homely-slideshow,
    .slideshow-track,
    .slide img {
        min-height: 58vh;
    }

    .page-banner-card,
    .slideshow-overlay {
        left: 5.5rem;
        right: 5.5rem;
        bottom: 8%;
        max-width: none;
    }

    .slideshow-overlay {
        bottom: 5.5rem;
    }

    .slideshow-overlay h2 {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .slideshow-overlay p {
        font-size: 0.96rem;
    }

    .slideshow-arrow {
        width: 46px;
        height: 46px;
        top: auto;
        bottom: 1.4rem;
        transform: none;
    }

    .slideshow-arrow.prev {
        left: 12px;
    }

    .slideshow-arrow.next {
        right: 12px;
    }

    .slideshow-arrow:hover,
    .slideshow-arrow:focus-visible {
        transform: scale(1.06);
    }

    .slideshow-dots {
        bottom: 1.55rem;
    }

    .newsletter-hero-card,
    .newsletter-gallery-heading,
    .admin-panel-heading,
    .admin-panel-actions,
    .admin-gallery-tools {
        grid-template-columns: 1fr;
        display: grid;
    }

    .newsletter-gallery {
        grid-template-columns: 1fr;
    }

    .newsletter-gallery-item {
        min-height: 220px;
    }

    .newsletter-meta {
        min-width: 0;
    }
}
