:root {
    --font-body: "Nunito", sans-serif;
    --font-display: "Quicksand", sans-serif;
    --gold: #d8b462;
    --gold-deep: #9c7232;
    --logo-gold: #f0cf62;
    --logo-dark: #2f2214;
    --logo-brown: #8a6230;
    --page-bg: #bcad96;
    --cream: #fff8ec;
    --sand: #ead8bb;
    --sage: #6b8e7b;
    --sage-deep: #4f6b5d;
    --ink: #2f2418;
    --muted: #6f6352;
    --white: #ffffff;
    --border: rgba(110, 82, 34, 0.14);
    --shadow: 0 20px 60px rgba(90, 65, 24, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: #000000;
    background-color: var(--page-bg);
    background-image:
        linear-gradient(rgba(188, 173, 150, 0.86), rgba(188, 173, 150, 0.9)),
        url("../../photos/background.jpeg");
    background-position: center 640px;
    background-repeat: repeat-y;
    background-size: 100% auto;
    background-attachment: scroll;
}

body.page-home {
    background-position: center 640px;
    background-repeat: repeat-y;
    background-size: 100% auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

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

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

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.anchor-point {
    position: relative;
    top: -110px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background:
        radial-gradient(circle at left top, rgba(255, 248, 231, 0.18), transparent 26%),
        radial-gradient(circle at right center, rgba(143, 103, 17, 0.12), transparent 24%),
        linear-gradient(135deg, rgba(120, 91, 45, 0.94) 0%, rgba(165, 133, 88, 0.95) 48%, rgba(188, 173, 150, 0.96) 100%);
    border-bottom: 1px solid rgba(255, 248, 231, 0.2);
    box-shadow: 0 14px 30px rgba(53, 36, 11, 0.18);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 248, 231, 0.22), rgba(255, 248, 231, 0));
    pointer-events: none;
}

.header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 132px;
    gap: 1rem;
}

.brand-mark {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.brand-mark img {
    display: block;
    width: 174px;
    height: auto;
    flex: 0 0 174px;
    padding: 0.15rem 0;
    border-radius: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.28s ease;
}

.admin-login-brand img,
.admin-brand img {
    display: block;
    object-fit: cover;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.brand-mark:hover img {
    transform: translateY(-2px);
}

.eyebrow,
.section-tag {
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}

.site-nav a {
    position: relative;
    font-size: 1rem;
    color: #fff8eb;
    font-weight: 700;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.18rem;
    height: 3px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
    background: linear-gradient(90deg, #a97a32, #f0cf62, #b78636);
}

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

.site-nav a:hover,
.site-nav a.active {
    background: rgba(92, 65, 27, 0.24);
    border-color: rgba(255, 248, 231, 0.18);
    color: #ffffff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 248, 231, 0.18);
    border-radius: 50%;
    background: rgba(92, 65, 27, 0.24);
    box-shadow: 0 12px 24px rgba(53, 36, 11, 0.14);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff8eb;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero-section {
    position: relative;
    overflow: clip;
    padding: 0;
}

.inner-page {
    padding: 2rem 0 3rem;
}

.hero-grid,
.split-grid,
.intro-grid {
    display: grid;
    gap: 2rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(340px, 36vw, 680px);
    overflow: hidden;
    border-radius: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    background: #ffffff;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hero-slider .hero-slide:only-child {
    position: absolute;
    inset: 0;
    opacity: 1;
    visibility: visible;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: var(--slide-image);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #ffffff;
    transform: scale(1.14);
    transform-origin: center center;
    transition: background-size 0.3s ease, background-position 0.3s ease, transform 0.3s ease;
}

.bg-one {
    --slide-image: url("../images/slider-yoga-v2.jpg");
}

.bg-two {
    --slide-image: url("../images/slider-spiritual-v2.jpg");
}

.bg-three {
    --slide-image: url("../images/slider-mandala-v2.jpg");
}

.hero-slider-nav {
    position: absolute;
    left: 50%;
    bottom: 1.1rem;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.65rem;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.78);
    color: #000000;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev {
    left: 1.15rem;
}

.hero-arrow-next {
    right: 1.15rem;
}

.hero-dot {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.hero-dot.is-active {
    background: #b8891a;
}

.eyebrow,
.section-tag {
    display: inline-block;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    color: #000000;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.hero-copy h1,
.section-head h2,
.intro-grid h2,
.panel-content h2,
.journey-head h2,
.feature-panel-copy h2,
.cta-card h2 {
    font-family: "Times New Roman", Times, serif;
    line-height: 0.95;
    margin: 0 0 1rem;
    color: #000000;
}

.section-head p,
.intro-grid p,
.panel-content p,
.offer-card p,
.footer-grid p {
    color: #111111;
    line-height: 1.7;
    font-size: 1.06rem;
}

.hero-actions,
.instagram-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.45rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, #8f652b 0%, var(--gold-deep) 42%, var(--gold) 100%);
    box-shadow: 0 16px 30px rgba(156, 114, 50, 0.28);
}

.btn-secondary {
    color: var(--ink);
    background: rgba(255, 251, 244, 0.92);
    border: 1px solid rgba(156, 114, 50, 0.18);
    box-shadow: 0 10px 26px rgba(90, 65, 24, 0.08);
}

.highlight-card,
.offer-card,
.split-panel,
.instagram-item {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.intro-strip,
.offer-section,
.split-section,
.gallery-showcase-section,
.journey-section,
.hover-story-section {
    padding: 2rem 0 5rem;
}

.journey-head {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
}

.journey-head h2,
.hover-story-overlay h3 {
    font-family: "Times New Roman", Times, serif;
    color: #000000;
}

.journey-head h2 {
    margin: 0 0 1rem;
    line-height: 1;
}

.journey-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.journey-point {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    text-align: center;
    border: 1px solid rgba(184, 137, 26, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff, #fcf8ef);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.journey-point::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.55) 35%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s ease;
}

.journey-point:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 54px rgba(184, 137, 26, 0.16);
}

.journey-point:hover::before {
    transform: translateX(120%);
}

.journey-icon {
    display: inline-flex;
    width: 74px;
    height: 74px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #f9e39a, #d4af37);
    box-shadow: 0 14px 28px rgba(184, 137, 26, 0.22);
    animation: iconFloat 3.2s ease-in-out infinite;
}

.journey-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.journey-point strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 0.45rem;
    font-size: 3rem;
    line-height: 1;
    color: #b8891a;
}

.journey-point h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.7rem;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.8rem;
    color: #000000;
}

.journey-point span {
    position: relative;
    z-index: 1;
    color: #222222;
    line-height: 1.7;
}

.section-head-center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.journey-head .section-tag,
.section-head .section-tag,
.experience-redesign-head .section-tag,
.feature-panel-copy .section-tag,
.cta-card .section-tag {
    display: block;
    text-align: center;
}

.hover-story-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.hover-story-card {
    position: relative;
    overflow: hidden;
    height: 280px;
    border-radius: 28px;
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(184, 137, 26, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hover-story-card > .inline-edit-image {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hover-story-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: inherit;
}

.hover-story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(184, 137, 26, 0.18);
}

.page-hero {
    padding: 1rem 0 2rem;
}

.about-hero-card {
    position: relative;
    overflow: hidden;
    padding: 3.4rem 2rem;
    text-align: center;
    border-radius: 34px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 28%, rgba(255, 241, 210, 0.18), transparent 22%),
        linear-gradient(120deg, #6b4d1f 0%, #9c7232 44%, #d8b462 100%);
    box-shadow: 0 26px 64px rgba(111, 77, 31, 0.24);
}

.about-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.28) 40%, transparent 68%);
    transform: translateX(-120%);
    animation: ctaSweep 5.2s linear infinite;
}

.about-hero-card .section-tag,
.about-hero-card h1,
.about-hero-card p {
    position: relative;
    z-index: 1;
}

.about-hero-card h1 {
    margin: 0 0 1rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    line-height: 1;
    color: #fffaf0;
}

.about-hero-card p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 248, 231, 0.92);
    line-height: 1.8;
    font-size: 1.05rem;
}

.page-hero-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    min-height: 360px;
    padding: 2.4rem;
    border-radius: 36px;
    border: 1px solid rgba(184, 137, 26, 0.16);
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), transparent 24%),
        radial-gradient(circle at bottom right, rgba(107, 142, 123, 0.16), transparent 28%),
        linear-gradient(145deg, rgba(255, 251, 242, 0.97), rgba(243, 232, 204, 0.9));
    box-shadow: 0 28px 70px rgba(94, 77, 30, 0.14);
}

.alt-card {
    background:
        radial-gradient(circle at top right, rgba(107, 142, 123, 0.18), transparent 24%),
        radial-gradient(circle at bottom left, rgba(212, 175, 55, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(247, 250, 246, 0.96), rgba(244, 227, 194, 0.82));
}

.page-hero-copy h1,
.content-card h2,
.content-card h3 {
    font-family: "Cormorant Garamond", serif;
    margin: 0 0 1rem;
    color: #332d27;
}

.page-hero-copy h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 0.96;
    max-width: 11ch;
}

.page-hero-copy p,
.content-card p,
.content-list li {
    color: var(--muted);
    line-height: 1.8;
}

.page-hero-accent {
    position: relative;
    min-height: 250px;
    border-radius: 28px;
    background:
        radial-gradient(circle at center, rgba(255, 236, 153, 0.95), rgba(212, 175, 55, 0.1) 42%, rgba(212, 175, 55, 0) 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.16));
}

.page-accent-lines::before,
.page-accent-lines::after {
    content: "";
    position: absolute;
    inset: 18% 14%;
    border-radius: 50%;
    border: 1px solid rgba(184, 137, 26, 0.28);
}

.page-accent-lines::after {
    inset: 28% 24%;
}

.content-section {
    padding: 1rem 0 4rem;
}

.about-story-section,
.vision-shell,
.about-cta-card {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(184, 137, 26, 0.14);
    box-shadow: 0 22px 54px rgba(123, 97, 31, 0.1);
}

.about-story-section {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
    background: linear-gradient(135deg, #fffdf8, #f8f1df);
}

.about-story-media {
    position: relative;
    height: auto;
    padding: 1rem 0 0.75rem 1rem;
}

.about-story-media::before {
    content: "";
    position: absolute;
    inset: 1.4rem 0.75rem 1.2rem 0.1rem;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(184, 137, 26, 0.2), rgba(111, 85, 32, 0.08));
    transform: none;
    box-shadow: 0 22px 44px rgba(123, 97, 31, 0.14);
}

.about-story-media > .inline-edit-image {
    position: relative;
    z-index: 1;
    display: block;
    height: auto;
    flex: 0 0 auto;
}

.about-story-media img {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 24px;
    object-fit: cover;
    transform: none;
    box-shadow: 0 24px 48px rgba(73, 58, 19, 0.16);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.about-story-section:hover .about-story-media img {
    transform: none;
    box-shadow: 0 30px 56px rgba(73, 58, 19, 0.2);
}

.about-story-founders {
    position: relative;
    z-index: 1;
    padding: 0.85rem 1.35rem 1rem;
    text-align: center;
}

.about-story-founders-label {
    margin: 0 0 0.35rem;
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #6e5222;
    animation: foundersBlink 1.1s step-end infinite;
}

.about-story-founders-names {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 2.8vw, 2.3rem);
    line-height: 1.1;
    color: #1f160b;
}

.about-story-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.2rem;
}

.about-story-copy h2 {
    margin: 0 0 1rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1;
    color: #000000;
}

.about-story-copy p {
    margin: 0 0 1rem;
    color: #2d2d2d;
    line-height: 1.8;
}

.about-story-copy .about-founder-label {
    font-weight: 800;
}

.about-story-highlight {
    margin: 1rem auto 0;
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.65vw, 1.22rem);
    line-height: 1.8;
    font-weight: 700;
    color: #241707;
}

.vision-section {
    padding: 2rem 0;
}

.vision-shell {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 2.4rem;
    background:
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.24), transparent 22%),
        linear-gradient(135deg, #fff7e4, #fcfbf6 55%, #f0f5ef);
}

.vision-copy h2 {
    margin: 0 0 1rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.9rem, 3.4vw, 3rem);
    line-height: 1;
    color: #000000;
}

.vision-copy p {
    margin: 0 0 1rem;
    color: #2e2e2e;
    line-height: 1.8;
}

.vision-orbit {
    position: relative;
    min-height: 280px;
    display: grid;
    place-items: center;
}

.vision-orbit-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.vision-orbit-ring {
    width: 240px;
    height: 240px;
    border: 2px solid rgba(184, 137, 26, 0.3);
    box-shadow: inset 0 0 0 18px rgba(212, 175, 55, 0.08);
    animation: slowSpin 18s linear infinite;
}

.vision-orbit > .inline-edit-image {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 320px);
}

.vision-orbit-image {
    width: min(100%, 320px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    border: 10px solid rgba(255, 248, 231, 0.92);
    box-shadow: 0 24px 46px rgba(184, 137, 26, 0.2);
}

.mission-section {
    padding: 1rem 0 2rem;
}

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

.mission-card {
    grid-column: span 2;
    padding: 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(184, 137, 26, 0.14);
    background: linear-gradient(180deg, #ffffff, #fbf7ec);
    box-shadow: 0 18px 40px rgba(123, 97, 31, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mission-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.mission-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(184, 137, 26, 0.14);
}

.mission-card p {
    margin: 0;
    color: #242424;
    line-height: 1.8;
}

.about-cta-section {
    padding: 1rem 0 0;
}

.page-about .content-section {
    padding-bottom: 2.25rem;
}

.page-about .about-cta-section {
    padding-bottom: 0;
}

.about-cta-card {
    position: relative;
    padding: 2.8rem 2rem;
    text-align: center;
    border-radius: 34px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 28%, rgba(255, 241, 210, 0.18), transparent 22%),
        linear-gradient(120deg, #6b4d1f 0%, #9c7232 44%, #d8b462 100%);
    box-shadow: 0 26px 64px rgba(111, 77, 31, 0.24);
}

.about-cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 8%, rgba(255, 255, 255, 0.28) 40%, transparent 68%);
    transform: translateX(-120%);
    animation: ctaSweep 5.2s linear infinite;
}

.about-cta-card .section-tag,
.about-cta-card h2,
.about-cta-card p,
.about-cta-card .cta-actions {
    position: relative;
    z-index: 1;
}

.about-cta-card h2 {
    margin: 0 0 1rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.9rem, 3.5vw, 3rem);
    line-height: 1;
    color: #fffaf0;
}

.about-cta-card p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 248, 231, 0.92);
    line-height: 1.8;
}

.content-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: start;
}

.content-card {
    padding: 2rem;
    border-radius: 30px;
    border: 1px solid rgba(156, 114, 50, 0.14);
    background:
        linear-gradient(180deg, rgba(255, 251, 244, 0.9), rgba(250, 243, 231, 0.84));
    box-shadow: 0 22px 54px rgba(90, 65, 24, 0.11);
}

.content-card h2 {
    font-size: 3rem;
}

.content-card h3 {
    font-size: 2rem;
}

.content-stack {
    display: grid;
    gap: 1.5rem;
}

.contact-left-stack {
    align-content: start;
}

.contact-form-card,
.contact-direct-card,
.contact-map-card {
    height: 100%;
}

.contact-map-card-wide {
    margin-top: 1.5rem;
}

.page-contact .content-section {
    padding-bottom: 2.25rem;
}

.page-contact .contact-map-card-wide {
    margin-top: 1rem;
}

.payment-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 1.4rem 1.4rem 1.25rem;
    text-align: center;
}

.payment-card .section-tag,
.payment-card h3,
.payment-card p,
.payment-card .payment-scanner-actions {
    width: 100%;
}

.payment-card h3 {
    margin-bottom: 0.6rem;
}

.payment-card p {
    max-width: 34ch;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.payment-scanner-actions {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.payment-scanner-shell {
    width: min(100%, 220px);
    display: flex;
    justify-content: center;
    align-items: center;
    place-self: center;
    margin: 0.85rem auto 0;
    padding: 0.55rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 18px 42px rgba(123, 97, 31, 0.1);
}

.payment-scanner-shell.is-empty {
    width: 100%;
    max-width: 320px;
    min-height: 220px;
}

.payment-scanner-shell img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
    margin: 0 auto;
    border-radius: 14px;
    object-fit: contain;
}

.payment-upi-fallback {
    display: grid;
    gap: 0.35rem;
    width: 100%;
    max-width: 28rem;
    margin: 1rem auto 0;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 251, 242, 0.92);
    border: 1px solid rgba(184, 137, 26, 0.18);
    text-align: center;
}

.payment-upi-fallback strong {
    color: #6e5222;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-upi-fallback span {
    color: #2f2418;
    font-size: 1.15rem;
    font-weight: 800;
    word-break: break-word;
}

.payment-upi-fallback small {
    color: #6f6352;
    line-height: 1.6;
}

.scanner-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: none;
}

.scanner-modal.is-open {
    display: grid;
    place-items: center;
}

.scanner-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 22, 16, 0.72);
}

.scanner-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100vw - 2rem));
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 28px;
    background: #fffaf0;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.scanner-modal-close {
    justify-self: end;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background: rgba(255, 251, 242, 0.95);
    color: #4a3a20;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.scanner-modal-media {
    overflow: hidden;
    border-radius: 22px;
    background: #f1e6cf;
}

.scanner-modal-media img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
}

.scanner-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.enquiry-popup {
    position: fixed;
    inset: 0;
    z-index: 135;
    display: none;
}

.enquiry-popup.is-open {
    display: grid;
    place-items: center;
}

.enquiry-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 22, 16, 0.72);
    backdrop-filter: blur(8px);
}

.enquiry-popup-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    overflow: auto;
    display: grid;
    gap: 1rem;
    padding: 1.35rem;
    border-radius: 30px;
    background:
        radial-gradient(circle at top left, rgba(216, 180, 98, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(255, 252, 246, 0.98), rgba(249, 242, 230, 0.98));
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.enquiry-popup-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(184, 137, 26, 0.18);
    border-radius: 999px;
    background: rgba(255, 251, 242, 0.95);
    color: #4a3a20;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
}

.enquiry-popup-copy {
    padding-right: 3rem;
}

.enquiry-popup-copy h3 {
    margin: 0.65rem 0 0.45rem;
}

.enquiry-popup-copy p {
    margin: 0;
    color: var(--muted);
}

.enquiry-popup-form {
    margin-top: 0;
}

.enquiry-popup-grid {
    gap: 0.85rem;
}

.enquiry-popup-actions {
    justify-content: space-between;
}

body.enquiry-popup-open {
    overflow: hidden;
}

.content-list {
    margin: 0;
    padding-left: 1.2rem;
}

.content-list li + li {
    margin-top: 0.9rem;
}

.page-hero-stats,
.page-service-pills,
.page-gallery-preview {
    display: grid;
    gap: 1rem;
}

.page-service-pills span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(107, 142, 123, 0.16);
    color: #3d4239;
    font-weight: 700;
}

.page-gallery-preview {
    grid-template-columns: repeat(3, 1fr);
    align-self: stretch;
}

.page-gallery-preview span {
    min-height: 220px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0.1)),
        linear-gradient(145deg, rgba(212, 175, 55, 0.5), rgba(107, 142, 123, 0.34));
}

.contact-quick-card {
    padding: 1.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 18px 42px rgba(73, 58, 19, 0.1);
}

.contact-quick-card strong {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 1.15rem;
}

.contact-quick-card span {
    color: var(--muted);
    line-height: 1.7;
}

.contact-form {
    margin-top: 1rem;
}

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

.form-field {
    display: grid;
    gap: 0.55rem;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-field label {
    font-weight: 700;
    color: #3f392f;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(107, 142, 123, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    font: inherit;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(37, 211, 102, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.12);
}

.field-hint,
.form-status {
    font-size: 0.9rem;
    color: var(--muted);
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

.form-status.is-error {
    color: #b24d35;
}

.form-status.is-success {
    color: #2f7a4c;
}

.admin-login-page {
    min-height: calc(100vh - 220px);
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

.admin-login-body {
    background:
        radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 18%, rgba(255, 241, 210, 0.16), transparent 22%),
        linear-gradient(180deg, #efe1c3 0%, #f7efe0 100%);
}

.admin-login-shell {
    width: 100%;
}

.admin-login-wrap {
    display: flex;
    justify-content: center;
}

.admin-login-card {
    width: min(100%, 620px);
    padding: 2.6rem;
    border-radius: 36px;
    border: 1px solid rgba(184, 137, 26, 0.16);
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 28%, rgba(255, 241, 210, 0.18), transparent 22%),
        linear-gradient(120deg, rgba(107, 77, 31, 0.96) 0%, rgba(156, 114, 50, 0.94) 44%, rgba(216, 180, 98, 0.9) 100%);
    box-shadow: 0 28px 70px rgba(94, 77, 30, 0.16);
}

.admin-login-card h1 {
    margin: 0.8rem 0 1rem;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 0.96;
    color: #fffaf0;
}

.admin-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.2rem;
}

.admin-login-brand img {
    width: 122px;
    height: auto;
    flex: 0 0 122px;
    padding: 0.1rem 0;
    border-radius: 12px;
}

.admin-login-brand strong {
    display: block;
    color: #fff8eb;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
}

.admin-login-brand span {
    color: rgba(255, 248, 231, 0.82);
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-login-card p {
    margin: 0;
    color: rgba(255, 248, 231, 0.92);
    line-height: 1.8;
}

.admin-login-form {
    margin-top: 1.6rem;
    display: grid;
    gap: 1rem;
}

.password-field {
    position: relative;
}

.password-field input {
    padding-right: 3.7rem;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(184, 137, 26, 0.1);
    color: #6f5520;
    transform: translateY(-50%);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.password-toggle:hover {
    background: rgba(184, 137, 26, 0.16);
    color: #4f3b15;
}

.password-toggle svg {
    width: 1.2rem;
    height: 1.2rem;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

.admin-login-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.4rem;
}

.admin-panel-body {
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.14), transparent 18%),
        radial-gradient(circle at 82% 16%, rgba(255, 241, 210, 0.14), transparent 22%),
        linear-gradient(180deg, #efe1c3 0%, #f7f2e9 100%);
}

.admin-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 1rem;
    overflow: hidden;
}

.admin-sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 1.3rem;
    border-radius: 32px;
    background:
        radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 18%),
        radial-gradient(circle at 82% 28%, rgba(255, 241, 210, 0.18), transparent 22%),
        linear-gradient(180deg, #6b4d1f 0%, #9c7232 56%, #d8b462 100%);
    box-shadow: 0 24px 50px rgba(68, 51, 16, 0.18);
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #fff8eb;
}

.admin-brand img {
    width: 118px;
    height: auto;
    flex: 0 0 118px;
    padding: 0.1rem 0;
    border-radius: 12px;
}

.admin-brand strong {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
}

.admin-brand span {
    color: rgba(255, 248, 231, 0.82);
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-sidebar-nav {
    display: grid;
    gap: 0.7rem;
    margin-top: 2rem;
    min-height: 0;
    overflow-y: auto;
    padding-right: 0.35rem;
}

.admin-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    color: rgba(255, 248, 231, 0.9);
    transition: background 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.admin-sidebar-link:hover,
.admin-sidebar-link.is-active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateX(4px);
}

.admin-sidebar-dot {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: rgba(255, 248, 231, 0.72);
    box-shadow: 0 0 0 4px rgba(255, 248, 231, 0.12);
}

.admin-sidebar-link.is-active .admin-sidebar-dot {
    background: #ffffff;
}

.admin-sidebar-footer {
    margin-top: auto;
    flex-shrink: 0;
    padding-top: 1.2rem;
    color: rgba(255, 248, 231, 0.84);
    line-height: 1.7;
}

.admin-sidebar-footer p {
    margin: 0 0 1rem;
}

.admin-logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fffdf8;
}

.admin-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 1rem 1rem 1rem 0;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.42), transparent 20%),
        linear-gradient(120deg, rgba(255, 250, 241, 0.92), rgba(243, 232, 204, 0.84));
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 18px 42px rgba(73, 58, 19, 0.08);
}

.admin-topbar-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-topbar-eyebrow {
    margin: 0 0 0.25rem;
    color: #8a6c2b;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.admin-topbar h1 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.2rem;
    color: #322d27;
}

.admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.admin-topbar-user strong,
.admin-topbar-user span {
    display: block;
}

.admin-topbar-user span {
    color: var(--muted);
    font-size: 0.92rem;
}

.admin-user-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #496355, #b8891a);
    color: #fffaf0;
    font-weight: 700;
}

.admin-sidebar-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(184, 137, 26, 0.12);
    cursor: pointer;
}

.admin-sidebar-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: #5a4414;
}

.admin-main-content {
    padding: 1rem 0;
}

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

.admin-stat-card,
.admin-panel-card {
    padding: 1.5rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(184, 137, 26, 0.12);
    box-shadow: 0 18px 42px rgba(73, 58, 19, 0.08);
}

.admin-stat-card span,
.admin-card-eyebrow {
    display: block;
    color: #8a6c2b;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-stat-card strong {
    display: block;
    margin: 0.65rem 0;
    font-size: 2.5rem;
    color: #312c27;
    font-family: "Cormorant Garamond", serif;
}

.admin-stat-card p,
.admin-panel-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 1rem;
    margin-top: 1rem;
}

.admin-panel-card-accent {
    background:
        radial-gradient(circle at top right, rgba(255, 223, 125, 0.2), transparent 24%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 232, 204, 0.86));
}

.admin-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.admin-panel-head h2 {
    margin: 0.4rem 0 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 2rem;
    color: #312c27;
}

.admin-head-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.admin-chip,
.admin-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(107, 142, 123, 0.12);
    color: #496355;
    font-size: 0.85rem;
    font-weight: 700;
}

.admin-badge-success {
    background: rgba(47, 122, 76, 0.12);
    color: #2f7a4c;
}

.admin-activity-list,
.admin-settings-list {
    display: grid;
    gap: 0.9rem;
}

.admin-activity-item,
.admin-setting-row,
.admin-shortcut-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(247, 243, 234, 0.9);
    border: 1px solid rgba(184, 137, 26, 0.1);
}

.admin-activity-item strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #2e2924;
}

.admin-activity-item span {
    color: var(--muted);
    line-height: 1.6;
}

.admin-shortcut-grid {
    display: grid;
    gap: 0.85rem;
}

.admin-course-table-wrap {
    border-radius: 24px;
    background: rgba(247, 243, 234, 0.7);
    border: 1px solid rgba(184, 137, 26, 0.1);
}

.admin-course-table th,
.admin-course-table td {
    vertical-align: top;
}

.admin-table-title,
.admin-table-subtext {
    display: block;
}

.admin-table-title {
    margin-bottom: 0.35rem;
    color: #2f2a24;
    font-size: 1.05rem;
}

.admin-table-subtext {
    min-width: 210px;
    color: var(--muted);
    line-height: 1.6;
}

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

.admin-btn-danger {
    background: linear-gradient(135deg, #8a3c2f, #b24d35);
    color: #fffaf3;
}

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

.admin-course-form select {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(107, 142, 123, 0.18);
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    font: inherit;
    outline: none;
}

.admin-course-image-preview {
    overflow: hidden;
    max-width: 420px;
    border-radius: 22px;
    border: 1px solid rgba(184, 137, 26, 0.14);
    background: rgba(255, 255, 255, 0.82);
}

.admin-course-image-preview img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

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

.admin-course-detail-card,
.admin-course-long-card {
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(247, 243, 234, 0.9);
    border: 1px solid rgba(184, 137, 26, 0.1);
}

.admin-course-detail-card strong,
.admin-course-detail-card span,
.admin-course-long-card strong {
    display: block;
}

.admin-course-detail-card strong,
.admin-course-long-card strong {
    margin-bottom: 0.35rem;
    color: #2e2924;
}

.admin-course-long-card + .admin-course-long-card {
    margin-top: 1rem;
}

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

.admin-gallery-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.admin-gallery-order-note {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.admin-gallery-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(247, 243, 234, 0.84);
    border: 1px solid rgba(184, 137, 26, 0.1);
    cursor: grab;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.admin-gallery-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(73, 58, 19, 0.08);
}

.admin-gallery-card.is-dragging {
    opacity: 0.6;
    cursor: grabbing;
    border-color: rgba(184, 137, 26, 0.34);
    box-shadow: 0 18px 30px rgba(73, 58, 19, 0.14);
}

.admin-gallery-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.admin-gallery-drag,
.admin-gallery-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    min-height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(184, 137, 26, 0.16);
    color: #6e5222;
    font-weight: 800;
}

.admin-gallery-drag {
    font-size: 1.1rem;
}

.admin-gallery-thumb,
.admin-gallery-delete-thumb,
.admin-gallery-preview-card {
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(184, 137, 26, 0.12);
}

.admin-gallery-thumb {
    aspect-ratio: 1 / 1;
}

.admin-gallery-preview-card {
    margin-bottom: 1rem;
    max-height: 560px;
}

.admin-gallery-delete-thumb {
    margin-bottom: 1rem;
    max-width: 360px;
}

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

.admin-gallery-preview-card img {
    max-height: 560px;
    object-fit: contain;
    background: #f7f0df;
}

.admin-gallery-card-body {
    display: grid;
    gap: 0.3rem;
}

.admin-gallery-card-body strong,
.admin-gallery-card-body span {
    display: block;
}

.admin-gallery-card-body span {
    color: var(--muted);
}

.admin-delete-card {
    max-width: 820px;
}

.admin-shortcut-card {
    color: #45361a;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admin-shortcut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(73, 58, 19, 0.08);
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem 0.9rem;
    text-align: left;
    border-bottom: 1px solid rgba(184, 137, 26, 0.12);
}

.admin-table th {
    color: #7f6327;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-inline-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 220px;
}

.admin-inline-form select {
    min-width: 140px;
    margin-bottom: 0;
}

.admin-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.admin-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background: rgba(255, 255, 255, 0.86);
    color: #473b27;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease;
}

.admin-page-button:hover,
.admin-page-button.is-active {
    background: linear-gradient(135deg, #b8891a, #efd073);
    color: #fffaf0;
    transform: translateY(-2px);
}

.admin-change-password-card {
    max-width: 860px;
}

.admin-setting-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #312c27;
}

.admin-setting-toggle {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(184, 137, 26, 0.12);
    cursor: pointer;
}

.admin-setting-toggle p {
    margin-top: 0.25rem;
    font-size: 0.92rem;
}

.admin-setting-toggle input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #b8891a;
    flex: 0 0 auto;
}

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

.admin-payment-scanner-preview img {
    max-height: 360px;
    object-fit: contain;
    background: #f7f0df;
}

.admin-payment-scanner-empty {
    padding: 1.2rem;
    border-radius: 20px;
    border: 2px dashed rgba(184, 137, 26, 0.22);
    background: rgba(247, 243, 234, 0.9);
    color: #6f6352;
    text-align: center;
}

.admin-settings-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-footer {
    padding: 0.2rem 0 1rem;
    color: var(--muted);
}

.admin-page-edit-list {
    display: grid;
    gap: 1rem;
}

.admin-page-edit-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 20px;
    background: rgba(247, 243, 234, 0.9);
    border: 1px solid rgba(184, 137, 26, 0.1);
}

.admin-page-edit-card strong,
.admin-page-edit-card span {
    display: block;
}

.admin-page-edit-card span {
    color: var(--muted);
    margin-top: 0.2rem;
}

.admin-custom-page-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.admin-custom-page-actions form {
    margin: 0;
}

.admin-page-edit-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    background: rgba(184, 137, 26, 0.12);
    color: #6f5520;
}

.admin-page-edit-link svg {
    width: 1.2rem;
    height: 1.2rem;
}

.admin-home-gallery-form {
    margin-top: 1.2rem;
}

.admin-home-gallery-upload-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-home-gallery-upload-row input[type="file"] {
    flex: 1 1 320px;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background: rgba(247, 243, 234, 0.92);
}

.admin-home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.admin-home-gallery-card {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(247, 243, 234, 0.9);
    border: 1px solid rgba(184, 137, 26, 0.1);
}

.admin-home-gallery-card-empty {
    grid-column: 1 / -1;
}

.admin-home-gallery-card-empty span {
    color: var(--muted);
    line-height: 1.6;
}

.admin-home-gallery-thumb {
    overflow: hidden;
    border-radius: 18px;
    aspect-ratio: 4 / 3;
    background: #f7f0df;
}

.admin-home-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.admin-home-gallery-copy {
    display: grid;
    gap: 0.25rem;
}

.admin-home-gallery-copy strong,
.admin-home-gallery-copy span {
    display: block;
}

.admin-home-gallery-copy span {
    color: var(--muted);
    font-size: 0.92rem;
    word-break: break-word;
}

.admin-home-gallery-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inline-editor-toolbar {
    position: sticky;
    top: 78px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin: 0 auto 1rem;
    width: min(calc(100% - 2rem), var(--container));
    border-radius: 22px;
    background: rgba(35, 34, 21, 0.92);
    color: #fff8eb;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.inline-editor-toolbar-copy strong,
.inline-editor-toolbar-copy span {
    display: block;
}

.inline-editor-toolbar-copy span {
    color: rgba(255, 248, 231, 0.78);
    margin-top: 0.2rem;
    font-size: 0.92rem;
}

.inline-editor-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.inline-editor-upload {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.inline-editor-upload input {
    display: none;
}

[data-edit-type="text"] {
    outline: 2px dashed rgba(184, 137, 26, 0.5);
    outline-offset: 6px;
    border-radius: 8px;
}

.inline-edit-image {
    position: relative;
    cursor: pointer;
}

.inline-edit-background {
    position: relative;
    display: block;
}

.hero-slide > .inline-edit-background {
    position: absolute;
    inset: 0;
}

.inline-edit-background > .hero-slide-bg {
    height: 100%;
}

.inline-edit-image.is-selected {
    outline: 3px solid rgba(184, 137, 26, 0.8);
    outline-offset: 6px;
    border-radius: 16px;
}

.inline-edit-image-button {
    min-height: 38px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 999px;
    background: rgba(35, 34, 21, 0.84);
    color: #fff8eb;
    cursor: pointer;
}

.inline-edit-image-button-danger {
    background: rgba(123, 41, 28, 0.9);
}

.inline-edit-image-actions {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    z-index: 5;
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.inline-edit-image-placeholder {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 200px;
    padding: 1rem;
    border: 2px dashed rgba(184, 137, 26, 0.42);
    border-radius: 14px;
    background: rgba(255, 248, 231, 0.78);
    color: #6f4d0f;
    font-weight: 700;
    text-align: center;
}

.contact-info-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.contact-info-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 0.95rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(184, 137, 26, 0.14);
}

.contact-info-content,
.contact-info-item strong,
.contact-info-item span {
    display: block;
}

.contact-info-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 52px;
}

.contact-info-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(184, 137, 26, 0.1);
    color: #8f6711;
    line-height: 0;
}

.contact-info-icon svg {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    flex: 0 0 auto;
    transform: translate(-50%, -50%);
}

.contact-info-item strong {
    margin-bottom: 0.3rem;
    color: #383228;
}

.contact-info-item span {
    color: var(--muted);
}

.whatsapp-card {
    border-color: rgba(37, 211, 102, 0.26);
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.12), rgba(255, 255, 255, 0.8));
}

.whatsapp-card .contact-info-icon {
    background: rgba(37, 211, 102, 0.12);
    color: #179848;
}

.contact-map-shell {
    overflow: hidden;
    margin-top: 1rem;
    border-radius: 22px;
    border: 1px solid rgba(184, 137, 26, 0.14);
    min-height: 260px;
}

.contact-map-shell iframe {
    width: 100%;
    height: 100%;
    min-height: 260px;
    border: 0;
    display: block;
}

.floating-whatsapp {
    position: fixed;
    right: 1.15rem;
    bottom: 1.15rem;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(24, 109, 58, 0.24);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    animation: whatsappPulse 1.8s ease-in-out infinite;
}

.floating-whatsapp::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.36);
    opacity: 0;
    animation: whatsappRing 1.8s ease-out infinite;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 24px 44px rgba(24, 109, 58, 0.32);
}

.floating-whatsapp svg {
    width: 34px;
    height: 34px;
}

.intro-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    padding: 2.4rem;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 24%),
        linear-gradient(135deg, #fffdf8, #f8f4ea);
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 20px 48px rgba(123, 97, 31, 0.08);
}

.intro-grid h2,
.section-head h2,
.panel-content h2,
.journey-head h2,
.feature-panel-copy h2,
.cta-card h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.8rem);
}

.section-head {
    max-width: 760px;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

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

.offer-card {
    position: relative;
    overflow: hidden;
    padding: 1.7rem;
    background:
        radial-gradient(circle at top right, rgba(216, 180, 98, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(247, 239, 227, 0.96));
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 10%, rgba(255, 255, 255, 0.55) 42%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.85s ease;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 54px rgba(184, 137, 26, 0.14);
}

.offer-card:hover::before {
    transform: translateX(120%);
}

.offer-visual {
    position: relative;
    height: 170px;
    margin-bottom: 1.15rem;
    border-radius: 20px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.offer-card > .inline-edit-background {
    display: block;
}

.offer-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(0,0,0,0.12));
    opacity: 0;
    transition: opacity 0.35s ease;
}

.offer-visual-one {
    background-image: url("https://images.pexels.com/photos/6453879/pexels-photo-6453879.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.offer-visual-two {
    background-image: url("https://images.pexels.com/photos/4998839/pexels-photo-4998839.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.offer-visual-three {
    background-image: url("https://images.pexels.com/photos/4587346/pexels-photo-4587346.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.offer-visual-uploaded {
    overflow: hidden;
    background: #f3ead7;
}

.offer-visual-uploaded img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-card h3 {
    margin: 0 0 0.7rem;
    font-family: "Times New Roman", Times, serif;
    font-size: 2rem;
    color: #000000;
    transition: transform 0.32s ease, color 0.32s ease;
}

.offer-card p {
    transition: transform 0.35s ease;
}

.offer-card:hover .offer-visual {
    transform: scale(1.04);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.offer-card:hover .offer-visual::after {
    opacity: 1;
}

.offer-card:hover h3 {
    transform: translateX(6px);
    color: #8c6410;
}

.offer-card:hover p {
    transform: translateX(4px);
}

.course-grid {
    align-items: stretch;
}

.course-card {
    display: flex;
    flex-direction: column;
}

.course-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.9rem;
}

.course-card-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(107, 142, 123, 0.1);
    color: #4a5f55;
    font-size: 0.88rem;
    font-weight: 700;
}

.course-highlight-list {
    margin: 0.3rem 0 1.2rem;
    padding-left: 1.1rem;
    color: #3f392f;
    line-height: 1.7;
}

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
}

.course-card-footer strong,
.course-card-footer span {
    display: block;
}

.course-card-footer strong {
    color: #352e28;
    font-size: 1.3rem;
}

.course-card-footer span {
    color: #8a6c2b;
    font-size: 0.9rem;
}

.classes-page-section,
.services-page-section,
.class-level-section,
.service-experience-section {
    padding-top: 0.5rem;
}

.class-format-grid,
.service-showcase-grid,
.class-level-grid,
.service-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

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

.class-format-card,
.service-showcase-card,
.class-level-card,
.service-experience-card,
.class-side-panel {
    border-radius: 30px;
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 22px 54px rgba(123, 97, 31, 0.1);
}

.class-format-card,
.service-showcase-card,
.class-level-card,
.service-experience-card {
    background: linear-gradient(180deg, #ffffff, #fbf7ee);
}

.class-format-card {
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.class-format-card:hover,
.service-showcase-card:hover,
.class-level-card:hover,
.service-experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(123, 97, 31, 0.15);
}

.class-format-visual {
    min-height: 260px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(255, 250, 240, 0.92);
}

.class-format-visual-image {
    position: relative;
    overflow: hidden;
    background: #f7f0df;
}

.class-format-visual-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--class-visual-overlay, linear-gradient(180deg, rgba(35, 25, 7, 0.12), rgba(35, 25, 7, 0.24)));
    pointer-events: none;
}

.class-format-visual-image > img,
.class-format-visual-image > .inline-edit-image {
    display: block;
    width: 100%;
}

.class-format-visual-image > img,
.class-format-visual-image > .inline-edit-image img {
    display: block;
    width: 100%;
    height: auto;
}

.class-format-visual-offline {
    background-image:
        linear-gradient(180deg, rgba(35, 25, 7, 0.18), rgba(35, 25, 7, 0.34)),
        url("https://images.pexels.com/photos/4998841/pexels-photo-4998841.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.class-format-visual-online {
    background-image:
        linear-gradient(180deg, rgba(25, 38, 33, 0.22), rgba(25, 38, 33, 0.4)),
        url("https://images.pexels.com/photos/4998835/pexels-photo-4998835.jpeg?auto=compress&cs=tinysrgb&w=1400");
}

.brand-text strong,
.hero-copy h1,
.section-head h2,
.intro-grid h2,
.panel-content h2,
.journey-head h2,
.feature-panel-copy h2,
.cta-card h2,
.about-hero-card h1,
.page-hero-copy h1,
.content-card h2,
.content-card h3,
.about-story-copy h2,
.vision-copy h2,
.journey-point h3,
.hover-story-overlay h3,
.mini-process-card h3,
.admin-login-card h1,
.admin-login-brand strong,
.admin-brand strong,
.admin-topbar h1,
.admin-stat-card strong,
.admin-panel-head h2,
.footer-brand h3,
.footer-grid h4 {
    font-family: var(--font-display);
}

.class-format-body,
.service-showcase-card,
.class-level-card,
.service-experience-card {
    padding: 1.7rem;
}

.class-format-badge,
.service-icon,
.class-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.class-format-badge {
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.12);
    color: #6d5318;
}

.class-format-badge-accent {
    background: rgba(107, 142, 123, 0.14);
    color: #3f5c51;
}

.class-format-card h3,
.service-showcase-card h3,
.class-level-card h3 {
    margin: 0 0 0.8rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    line-height: 1.05;
    color: #18130b;
}

.class-format-card p,
.service-showcase-card p,
.class-level-card p,
.service-experience-card p,
.class-side-panel p {
    margin: 0;
    color: #2c2924;
    line-height: 1.8;
}

.class-format-list,
.class-side-list {
    margin: 1.1rem 0 0;
    padding-left: 1.1rem;
    color: #30291f;
    line-height: 1.8;
}

.class-format-list li + li,
.class-side-list li + li {
    margin-top: 0.55rem;
}

.class-level-shell,
.service-experience-shell {
    padding: 2.2rem;
    border-radius: 34px;
    border: 1px solid rgba(184, 137, 26, 0.16);
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 24%),
        linear-gradient(145deg, #fffdf9, #f8f1e0);
    box-shadow: 0 24px 56px rgba(123, 97, 31, 0.1);
}

.class-level-head,
.service-experience-head {
    margin-bottom: 1.6rem;
}

.class-level-tags {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.class-tag {
    background: #ffffff;
    border: 1px solid rgba(184, 137, 26, 0.2);
    color: #5d481b;
    box-shadow: 0 12px 28px rgba(123, 97, 31, 0.08);
}

.class-level-card strong {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: #b8891a;
    font-size: 0.92rem;
    letter-spacing: 0.16em;
}

.service-showcase-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-showcase-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent 42%);
    pointer-events: none;
}

.service-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon {
    min-width: 64px;
    min-height: 64px;
    padding: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #b8891a, #efd073);
    color: #fff8ea;
    box-shadow: 0 16px 32px rgba(184, 137, 26, 0.2);
}

.service-experience-card strong {
    display: block;
    margin-bottom: 0.7rem;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.7rem;
    color: #19130a;
}

.class-side-panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: 2.2rem;
    background:
        radial-gradient(circle at top left, rgba(255, 223, 125, 0.24), transparent 24%),
        linear-gradient(135deg, #fff9eb, #f6edde);
}

.class-side-panel h2 {
    margin: 0 0 0.9rem;
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    color: #18120a;
}

.class-side-panel .btn {
    justify-self: end;
}

.split-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
}

.feature-stack {
    display: grid;
    gap: 1.6rem;
}

.feature-panel {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
    overflow: hidden;
    border-radius: 34px;
    background:
        linear-gradient(135deg, #fffaf0, #fffefb 58%, #f7f3e8);
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 24px 56px rgba(123, 97, 31, 0.1);
    transition: transform 0.38s ease, box-shadow 0.38s ease;
}

.feature-panel-copy-only {
    grid-template-columns: 1fr;
}

.feature-panel-reverse {
    grid-template-columns: 1.2fr 0.8fr;
}

.feature-panel-media {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.feature-panel-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(31, 24, 10, 0.24)),
        radial-gradient(circle at top right, rgba(255, 223, 125, 0.18), transparent 26%);
    opacity: 0.85;
    transition: opacity 0.4s ease;
}

.feature-panel-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.feature-panel-media > .inline-edit-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
}

.feature-panel-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.3rem;
}

.feature-panel-copy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #d4af37, #f2df95);
}

.feature-panel-copy h2 {
    margin: 0 0 1rem;
    line-height: 1;
}

.feature-panel-copy p {
    margin: 0 0 1.2rem;
    color: #1b1b1b;
    line-height: 1.8;
    font-size: 1.04rem;
}

.feature-points {
    display: grid;
    gap: 0.9rem;
}

.feature-point {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 0.95rem;
    align-items: start;
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(184, 137, 26, 0.14);
    box-shadow: 0 12px 24px rgba(123, 97, 31, 0.06);
    transform: translateY(0);
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.feature-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #b8891a, #d4af37);
    box-shadow: 0 12px 24px rgba(184, 137, 26, 0.2);
    animation: pointFloat 3.6s ease-in-out infinite;
}

.feature-point-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-point strong {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.05rem;
    color: #2b2418;
}

.feature-point p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #373026;
}

.feature-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 62px rgba(123, 97, 31, 0.14);
}

.feature-panel:hover .feature-panel-media img {
    transform: scale(1.08);
}

.feature-panel:hover .feature-panel-media::after {
    opacity: 1;
}

.feature-panel:hover .feature-point {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(123, 97, 31, 0.1);
    border-color: rgba(184, 137, 26, 0.22);
}

.feature-list {
    margin: 0;
    padding-left: 1.1rem;
    color: #262626;
}

.feature-list li + li {
    margin-top: 0.7rem;
}

.mini-process-section {
    padding: 0 0 5rem;
}

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

.mini-process-card {
    position: relative;
    overflow: hidden;
    padding: 1.6rem;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(184, 137, 26, 0.14);
    box-shadow: 0 18px 40px rgba(123, 97, 31, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mini-process-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #f2df95);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.mini-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(184, 137, 26, 0.14);
}

.mini-process-card:hover::after {
    transform: scaleX(1);
}

.feature-index {
    display: inline-flex;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #b8891a;
}

.mini-process-card h3 {
    margin: 0 0 0.7rem;
    font-family: "Times New Roman", Times, serif;
    font-size: 1.5rem;
    color: #000000;
    transition: transform 0.32s ease, color 0.32s ease;
}

.mini-process-card p {
    margin: 0;
    color: #222222;
    line-height: 1.75;
}

.mini-process-card:hover h3 {
    transform: translateX(4px);
    color: #8c6410;
}

.gallery-marquee {
    --gallery-gap: 1.2rem;
    overflow: hidden;
    padding: 0.35rem 0;
}

.gallery-track {
    display: flex;
    gap: var(--gallery-gap);
    width: max-content;
    will-change: transform;
    animation: marqueeLoop 34s linear infinite;
}

.gallery-track-group {
    display: flex;
    gap: var(--gallery-gap);
}

.gallery-mini-card {
    flex: 0 0 340px;
    height: 220px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 18px 42px rgba(123, 97, 31, 0.1);
    background: #ffffff;
}

.gallery-mini-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-mini-card > .inline-edit-image {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-mini-card:hover img {
    transform: scale(1.06);
}

.gallery-page-section {
    display: grid;
    gap: 1.5rem;
}

.gallery-fetch-status {
    min-height: 1.5rem;
    text-align: center;
    color: var(--muted);
}

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

.gallery-page-card {
    position: relative;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.gallery-page-card::after {
    content: "View";
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(35, 34, 21, 0.82);
    color: #fff8eb;
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-page-card-media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 24px;
    background: #f8f0df;
    border: 1px solid rgba(184, 137, 26, 0.16);
    box-shadow: 0 18px 42px rgba(123, 97, 31, 0.1);
}

.gallery-page-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-page-card:hover img {
    transform: scale(1.04);
}

.gallery-page-card:hover::after,
.gallery-page-card:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.gallery-page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background: rgba(255, 255, 255, 0.86);
    color: #473b27;
    font: inherit;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.gallery-page-button:hover,
.gallery-page-button.is-active {
    background: linear-gradient(135deg, #b8891a, #efd073);
    color: #fffaf0;
    transform: translateY(-2px);
}

.gallery-modal-open {
    overflow: hidden;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: none;
}

.gallery-modal.is-open {
    display: grid;
    place-items: center;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(27, 22, 16, 0.72);
}

.gallery-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(960px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border-radius: 28px;
    background: #fffaf0;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.gallery-modal-close {
    justify-self: end;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 137, 26, 0.18);
    background: rgba(255, 251, 242, 0.95);
    color: #4a3a20;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.gallery-modal-media {
    overflow: hidden;
    border-radius: 22px;
    background: #f1e6cf;
}

.gallery-modal-media img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
}

.gallery-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.gallery-modal-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cta-section {
    padding: 0 0 2rem;
}

.cta-card {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    text-align: center;
    border-radius: 34px;
    background:
        radial-gradient(circle at top left, rgba(216, 180, 98, 0.28), transparent 24%),
        radial-gradient(circle at bottom right, rgba(107, 142, 123, 0.16), transparent 28%),
        linear-gradient(135deg, #fff8ed, #f2e4ca);
    border: 1px solid rgba(156, 114, 50, 0.18);
    box-shadow: 0 24px 60px rgba(111, 77, 31, 0.14);
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.46) 45%, transparent 75%);
    transform: translateX(-120%);
    animation: ctaSweep 5.5s linear infinite;
}

.cta-card .section-tag,
.cta-card h2,
.cta-card p,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-card h2 {
    margin: 0 auto 1rem;
    max-width: 900px;
    line-height: 1;
    color: #000000;
}

.cta-card p {
    max-width: 760px;
    margin: 0 auto;
    color: #1b1b1b;
    line-height: 1.8;
    font-size: 1.03rem;
}

.cta-actions {
    justify-content: center;
}

.site-footer {
    color: #fbf5ea;
    background:
        linear-gradient(135deg, rgba(120, 91, 45, 0.92) 0%, rgba(165, 133, 88, 0.94) 48%, rgba(188, 173, 150, 0.98) 100%);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 0.9fr 0.75fr 1fr 1.25fr;
    gap: 2.25rem;
    padding: 2.8rem 0 2rem;
    align-items: start;
}

.footer-brand h3 {
    margin: 0 0 0.9rem;
    color: #fff8eb;
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    line-height: 1;
}

.footer-brand p {
    margin: 0;
    max-width: 18rem;
    color: rgba(255, 248, 231, 0.94);
    line-height: 1.75;
    font-size: 1.02rem;
}

.footer-grid h4 {
    display: inline-flex;
    align-items: center;
    margin: 0 0 1.15rem;
    min-height: 2.7rem;
    padding: 0.38rem 1rem;
    border-radius: 16px;
    color: #fff8eb;
    background: rgba(92, 65, 27, 0.24);
    border: 1px solid rgba(255, 248, 231, 0.18);
    box-shadow: 0 12px 26px rgba(53, 36, 11, 0.16);
    font-family: "Cormorant Garamond", serif;
    font-size: 1.7rem;
    letter-spacing: 0.01em;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-links a,
.footer-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 248, 231, 0.94);
    width: fit-content;
    transition: transform 0.25s ease, color 0.25s ease;
    line-height: 1.45;
}

.footer-links a {
    font-size: 1.06rem;
}

.footer-links a:hover,
.footer-contact-item:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact-list {
    display: grid;
    gap: 0.9rem;
}

.footer-contact-item {
    font-size: 1.02rem;
}

.footer-contact-item strong {
    color: #fff9ea;
    font-weight: 700;
}

.footer-contact-text {
    cursor: default;
}

.footer-contact-text:hover {
    transform: none;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 12px;
    background: rgba(255, 248, 231, 0.18);
    border: 1px solid rgba(255, 248, 231, 0.16);
    flex: 0 0 2rem;
}

.footer-contact-icon svg {
    width: 1rem;
    height: 1rem;
    display: block;
}

.footer-socials {
    display: grid;
    gap: 0.65rem;
}

.footer-social-reference-card {
    display: grid;
    gap: 0.55rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.footer-social-reference-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    min-height: 42px;
    color: #181109;
    text-decoration: none;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.footer-social-reference-row:hover {
    transform: translateX(4px);
    filter: brightness(1.03);
}

.footer-social-reference-row-static {
    cursor: default;
}

.footer-social-reference-row-static:hover {
    transform: none;
    filter: none;
}

.footer-social-reference-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    flex: 0 0 42px;
}

.footer-social-reference-icon svg {
    width: 30px;
    height: 30px;
    display: block;
}

.footer-social-reference-icon-whatsapp {
    color: #66ff93;
}

.footer-social-reference-icon-facebook {
    color: #1877f2;
}

.footer-social-reference-icon-youtube {
    color: #ff0000;
}

.footer-social-reference-text {
    font-family: "Nunito", sans-serif;
    font-size: clamp(0.88rem, 1.15vw, 1rem);
    font-weight: 800;
    line-height: 1.1;
    color: #120b04;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.12em;
    word-break: normal;
    overflow-wrap: anywhere;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: 16px;
    background: rgba(255, 251, 244, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.62);
    box-shadow: 0 10px 22px rgba(39, 27, 4, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: #2d1d05;
    text-decoration: none;
}

.footer-social:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(39, 27, 4, 0.24);
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 14px;
    background: rgba(143, 103, 17, 0.08);
    flex: 0 0 2.45rem;
}

.footer-social-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    display: block;
}

.footer-social-copy {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
    min-width: 0;
}

.footer-social-copy strong {
    color: #6f4d0f;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    text-transform: none;
}

.footer-social-handle,
.footer-social-url {
    display: inline;
    line-height: 1.3;
}

.footer-social-handle {
    color: #2d1d05;
    font-weight: 600;
    word-break: break-word;
}

.footer-social-url {
    color: #8b6b31;
    font-size: 0.82rem;
    word-break: break-word;
}

.footer-social.is-placeholder {
    cursor: default;
}

.footer-social.is-placeholder:hover {
    transform: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 248, 231, 0.22);
}

.footer-bottom p {
    margin: 0;
    padding: 1rem 0 1.4rem;
    color: rgba(255, 248, 231, 0.8);
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.12s;
}

.reveal-delay-2 {
    transition-delay: 0.24s;
}

@keyframes rotateGlow {
    from {
        transform: translateX(-50%) rotate(0deg);
    }
    to {
        transform: translateX(-50%) rotate(360deg);
    }
}

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

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

@keyframes whatsappPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 18px 36px rgba(24, 109, 58, 0.24);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 22px 42px rgba(37, 211, 102, 0.34);
    }
}

@keyframes whatsappRing {
    0% {
        transform: scale(0.88);
        opacity: 0;
    }
    30% {
        opacity: 0.5;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

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

@keyframes slowSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes marqueeLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--gallery-loop-distance, 0px)));
    }
}

@keyframes foundersBlink {
    0%,
    48%,
    100% {
        opacity: 1;
    }

    50%,
    98% {
        opacity: 0.35;
    }
}


@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        left: 1rem;
        right: 1rem;
        display: grid;
        gap: 0.2rem;
        padding: 1rem;
        border-radius: 24px;
        background:
            linear-gradient(145deg, rgba(120, 91, 45, 0.98), rgba(188, 173, 150, 0.96));
        border: 1px solid rgba(255, 248, 231, 0.18);
        box-shadow: 0 25px 50px rgba(53, 36, 11, 0.22);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

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

    .site-nav a {
        padding: 0.8rem 0.6rem;
    }

    .split-grid,
    .intro-grid,
    .page-hero-card,
    .content-grid,
    .about-story-section,
    .vision-shell,
    .journey-points,
    .hover-story-grid,
    .feature-panel,
    .feature-panel-reverse,
    .mini-process-grid,
    .mission-grid,
    .class-format-grid,
    .service-showcase-grid,
    .class-level-grid,
    .service-experience-grid,
    .class-side-panel,
    .offer-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .mission-card {
        grid-column: auto;
    }

    .mission-card:nth-child(4),
    .mission-card:nth-child(5) {
        grid-column: auto;
    }

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

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        z-index: 40;
        width: min(320px, 88vw);
        transform: translateX(-100%);
        transition: transform 0.28s ease;
    }

    .admin-sidebar.is-open {
        transform: translateX(0);
    }

    .admin-main {
        padding: 1rem;
    }

    .admin-sidebar-toggle {
        display: inline-block;
    }

    .admin-overview-grid,
    .admin-content-grid {
        grid-template-columns: 1fr;
    }

    .inline-editor-toolbar {
        top: 72px;
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-topbar {
        padding: 1.1rem 1rem;
    }

    .admin-topbar h1 {
        font-size: 1.9rem;
    }

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

.admin-demo-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-slider {
        min-height: 0;
        height: auto;
        aspect-ratio: 1920 / 620;
    }

    .hero-slide-bg {
        background-size: cover;
        background-position: center center;
        transform: scale(1.18);
    }

    .feature-panel-media {
        min-height: 260px;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .page-hero-copy h1 {
        max-width: none;
    }

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

    .class-side-panel .btn {
        justify-self: start;
    }

}

@media (max-width: 1024px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 640px) {
    .header-wrap {
        min-height: 110px;
    }

    .brand-mark img {
        width: 138px;
        height: auto;
        flex-basis: 138px;
        padding: 0.1rem 0;
    }

    .hero-slider {
        min-height: 240px;
        height: auto;
        aspect-ratio: 1920 / 620;
    }

    .hero-arrow {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero-arrow-prev {
        left: 0.7rem;
    }

    .hero-arrow-next {
        right: 0.7rem;
    }

    .hero-slider-nav {
        bottom: 0.75rem;
    }

    .hero-slide-bg {
        background-size: cover;
        background-position: center center;
        transform: scale(1.24);
    }

    .gallery-mini-card {
        flex-basis: 240px;
        height: 170px;
    }

    .footer-social-reference-card {
        padding: 0.95rem 0.9rem;
        border-radius: 24px;
    }

    .footer-social-reference-row {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.65rem;
        min-height: 40px;
    }

    .footer-social-reference-icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        flex-basis: 40px;
    }

    .footer-social-reference-icon svg {
        width: 28px;
        height: 28px;
    }

    .gallery-page-grid,
    .admin-gallery-grid,
    .admin-home-gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-modal-dialog {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        gap: 0.85rem;
        padding: 0.85rem;
        border-radius: 22px;
    }

    .gallery-modal-media img {
        max-height: 58vh;
    }

    .gallery-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .gallery-modal-footer strong {
        text-align: center;
    }

    .gallery-modal-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
        width: 100%;
    }

    .gallery-modal-actions .btn {
        min-height: 46px;
        width: 100%;
        justify-content: center;
        padding-inline: 0.75rem;
    }

    .admin-topbar,
    .admin-topbar-left,
    .admin-setting-row,
    .admin-panel-head,
    .admin-course-head,
    .course-card-footer,
    .admin-course-meta,
    .admin-head-actions,
    .admin-course-actions,
    .admin-page-edit-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-login-card {
        padding: 2rem 1.3rem;
        border-radius: 28px;
    }

    .admin-login-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hover-story-card {
        height: 280px;
    }

    .feature-panel-media {
        min-height: 220px;
    }

    .feature-point {
        grid-template-columns: 46px 1fr;
        padding: 0.85rem 0.9rem;
    }

    .feature-point-icon {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .feature-point-icon svg {
        width: 20px;
        height: 20px;
    }

    .offer-card,
    .intro-grid,
    .cta-card,
    .feature-panel-copy,
    .mini-process-card,
    .about-story-copy,
    .vision-shell,
    .about-cta-card,
    .class-format-body,
    .service-showcase-card,
    .class-level-card,
    .service-experience-card,
    .class-level-shell,
    .service-experience-shell,
    .class-side-panel {
        padding: 1.3rem;
    }

    .about-story-media {
        padding: 1.3rem 1.3rem 0;
    }

    .about-story-media::before,
    .about-story-media img,
    .about-story-section:hover .about-story-media img {
        transform: none;
    }

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

    .floating-whatsapp {
        width: 58px;
        height: 58px;
        right: 0.9rem;
        bottom: 0.9rem;
    }
}

/* Full image display overrides for non-hero section backgrounds */
.offer-visual,
.class-format-visual {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f7f0df;
}

.hover-story-card > .inline-edit-image,
.feature-panel-media > .inline-edit-image,
.gallery-mini-card > .inline-edit-image,
.gallery-page-card-media,
.admin-gallery-thumb,
.admin-gallery-delete-thumb,
.admin-course-image-preview,
.offer-visual-uploaded,
.about-story-media > .inline-edit-image {
    background: #f7f0df;
}

.hover-story-card img,
.about-story-media img,
.vision-orbit-image,
.admin-course-image-preview img,
.admin-gallery-thumb img,
.admin-gallery-delete-thumb img,
.admin-gallery-preview-card img,
.offer-visual-uploaded img,
.feature-panel-media img,
.gallery-mini-card img,
.gallery-page-card img {
    object-fit: contain;
    object-position: center;
}

.feature-panel-media img {
    object-fit: cover;
    object-position: center;
}

.gallery-mini-card img,
.gallery-page-card img {
    object-fit: cover;
    object-position: center;
}

.about-story-media img,
.vision-orbit-image {
    height: auto;
    min-height: 0;
    max-height: none;
}

.vision-orbit-image {
    aspect-ratio: auto;
    border-radius: 24px;
}

.hover-story-card:hover img,
.feature-panel:hover .feature-panel-media img,
.gallery-mini-card:hover img,
.gallery-page-card:hover img {
    transform: none;
}

.hover-story-section .hover-story-card > .inline-edit-image,
.hover-story-section .hover-story-card img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.hover-story-section .hover-story-card img {
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .contact-right-stack {
        order: -1;
    }
}
