@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════ TOKENS */
:root {
    --gold:        hsl(38, 60%, 50%);
    --gold-light:  hsl(40, 50%, 70%);
    --gold-dark:   hsl(36, 70%, 35%);
    --cream:       hsl(40, 33%, 96%);
    --cream-dark:  hsl(38, 25%, 90%);
    --warm-white:  hsl(40, 40%, 98%);
    --text:        hsl(30, 10%, 20%);
    --taupe:       hsl(30, 10%, 45%);
    --border:      hsl(38, 30%, 80%);

    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Raleway', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════ RESET / BASE */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-family: var(--font-body);
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--text);
    line-height: 1.75;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin: 0;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
p { margin: 0; }

/* ═══════════════════════════════════════════════════ SECTION BACKGROUNDS */
.cream-section      { background-color: var(--cream); }
.cream-dark-section { background-color: var(--cream-dark); }
.warm-white-section { background-color: var(--warm-white); }

/* ═══════════════════════════════════════════════════════════════ BUTTONS */
.btn-gold,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.8rem 1.6rem;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold);
    color: var(--warm-white);
    border: 1px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--warm-white); }

/* ═══════════════════════════════════════════════════════════════ HEADER */
.site-header {
    background: var(--cream);
    border-bottom: 1px solid var(--gold-light);
}

/* Branding row — centered */
.header-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1.5rem 1rem;
    text-align: center;
}

/* Custom logo or emblem placeholder */
.header-logo .custom-logo-link img,
.header-logo .custom-logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.header-emblem {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    color: var(--gold-dark);
}

.site-name {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--text);
    margin: 0.5rem 0 0;
    text-transform: uppercase;
}

.site-tagline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.4rem 0 0;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--taupe);
}

.tagline-sep { color: var(--gold); }

/* Nav bar row */
.header-nav-bar {
    border-top: 1px solid var(--gold-light);
}

.header-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.65rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.primary-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Pipe separators between menu items via pseudo-elements */
.primary-menu li:not(:last-child)::after {
    content: '|';
    color: var(--border);
    margin: 0 0.75rem;
    font-size: 0.7rem;
}

.primary-menu li a {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text);
    transition: color 0.2s ease;
}

.primary-menu li a:hover,
.primary-menu li.current-menu-item a {
    color: var(--gold);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
}

/* ═══════════════════════════════════════════════════════════ SITE MAIN */
.site-main { overflow: hidden; }

/* ════════════════════════════════════════════════════ SHARED SECTION SHELL */
.section {
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.6rem);
    color: var(--text);
    line-height: 1.1;
    letter-spacing: 0.04em;
}

.section-title-gold {
    font-family: var(--font-heading);
    color: var(--gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-copy,
.section-eyebrow {
    font-family: var(--font-body);
    color: var(--taupe);
    font-size: 0.95rem;
    line-height: 1.85;
    max-width: 700px;
    margin: 0.75rem auto 0;
}

.section-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 0.5rem;
}

/* Alias for front-page.php eyebrow */
.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--taupe);
    margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════════════════════ HERO */
.hero-section {
    padding: 4rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero-orchid-bg {
    position: absolute;
    top: 0; right: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    opacity: 0.28;
}

.hero-orchid-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: flex-end;
    position: relative;
    z-index: 1;
}

.hero-copy { max-width: 600px; }

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0;
}

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

.hero-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--taupe);
    line-height: 1.85;
    margin-top: 1.5rem;
    max-width: 480px;
}

.hero-tagline {
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.6;
}

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

/* Hero image (when uploaded) */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image {
    width: 100%;
    max-width: 480px;
    object-fit: cover;
    display: block;
}

/* Hero card (fallback when no image uploaded) */
.hero-card {
    width: 100%;
    max-width: 500px;
    min-height: 480px;
    background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(249,243,236,0.98));
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(22,17,11,0.08);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -15%; right: -10%;
    width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(255,226,178,0.45), transparent 55%);
}

.hero-card-content {
    position: relative;
    z-index: 1;
    padding: 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-card-label {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: rgba(250,246,241,0.8);
    color: var(--taupe);
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-card-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-card-content p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--taupe);
}

/* ══════════════════════════════════════════════════════════ INSTITUTE */
.institute-section { text-align: center; }

.institute-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.institute-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.institute-icon { font-size: 1.85rem; }

.institute-title {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
}

.institute-sub {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--taupe);
}

/* ═══════════════════════════════════════════════════════════ 7 PILLARS */
.pillars-section { text-align: center; }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.85rem;
    margin-top: 2.5rem;
}

.pillar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.85rem 0.5rem;
}

.pillar-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 1px solid var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    flex-shrink: 0;
}

.pillar-name {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}

.pillar-sub {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.06em;
    margin-top: 0.2rem;
}

.pillar-desc {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: var(--taupe);
    line-height: 1.55;
    margin-top: 0.35rem;
}

/* ════════════════════════════════════════════════════════════ JOURNEY */
.journey-section { text-align: center; }

.journey-heading {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2vw, 2rem);
    color: var(--text);
    margin-top: 0.25rem;
}

.journey-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.journey-card {
    flex: 1 1 180px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.journey-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.journey-title {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    margin-top: 0.5rem;
}

.journey-copy {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--taupe);
    line-height: 1.7;
    margin-top: 0.6rem;
}

.journey-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gold);
    padding-top: 1rem;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════ EXPERIENCES */
.services-section { text-align: center; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

/* Placeholder when no image uploaded */
.service-card-placeholder {
    background: linear-gradient(160deg, hsl(38, 25%, 88%), hsl(38, 35%, 78%));
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
}

.service-card-flag {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text);
}

.service-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(22,17,11,0.82) 0%, transparent 100%);
    text-align: left;
}

/* When no image, overlay is inline below the placeholder */
.service-card-placeholder ~ .service-card-overlay {
    position: static;
    background: var(--cream-dark);
    padding: 1.25rem;
}

.service-card-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--warm-white);
    text-transform: uppercase;
}

.service-card-subtitle {
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: rgba(250,246,241,0.85);
    margin-top: 0.2rem;
}

.service-card-tagline {
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: rgba(250,246,241,0.65);
    margin-top: 0.15rem;
}

.service-meta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(250,246,241,0.85);
    margin-top: 0.65rem;
    letter-spacing: 0.06em;
}

/* When no image, text is dark */
.service-card-placeholder ~ .service-card-overlay .service-card-name,
.service-card-placeholder ~ .service-card-overlay .service-card-subtitle,
.service-card-placeholder ~ .service-card-overlay .service-card-tagline,
.service-card-placeholder ~ .service-card-overlay .service-meta {
    color: var(--text);
}

/* ═══════════════════════════════════════════════════════════ BOOKING */
.booking-section { text-align: center; }

.booking-inner { display: grid; place-items: center; }

.booking-copy { max-width: 640px; }

.booking-copy h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
}

.booking-copy .section-copy { margin-top: 1rem; }

.booking-copy .btn-gold { margin-top: 1.75rem; }

/* ═══════════════════════════════════════════════════════════ FOOTER */
.site-footer {
    background: var(--cream-dark);
    padding: 2.5rem 1.5rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.wave-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
    margin-bottom: 0.5rem;
}

.footer-copy {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--taupe);
}

/* ══════════════════════════════════════════════════════ RESPONSIVE */
@media (max-width: 1100px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-copy { max-width: 100%; }

    .hero-visual { justify-content: flex-start; }

    .institute-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 680px) {
    .section { padding: 3.5rem 1rem; }

    .hero-section { padding: 2.5rem 1rem 2rem; }

    .header-nav-inner { flex-direction: column; gap: 0.75rem; }

    .primary-menu { justify-content: center; }

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

    .institute-grid { grid-template-columns: repeat(2, 1fr); }

    .pillars-grid { grid-template-columns: repeat(2, 1fr); }

    .journey-arrow { display: none; }

    .journey-grid { flex-direction: column; align-items: center; gap: 1.5rem; }

    .journey-card { max-width: 100%; }
}

@media (max-width: 420px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-gold,
    .hero-actions .btn-outline { width: 100%; justify-content: center; }

    .header-actions { flex-direction: column; width: 100%; }
    .header-actions .btn-gold,
    .header-actions .btn-outline { width: 100%; justify-content: center; }

    .institute-grid { grid-template-columns: 1fr; }
    .pillars-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════ LATEPOINT — SERVICE IMAGE BACKGROUND */

.latepoint-lightbox-i {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

/* Dark overlay so form content stays readable over any image */
.latepoint-lightbox-i.has-service-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 17, 11, 0.55);
    pointer-events: none;
    z-index: 0;
    animation: lp-overlay-in 0.35s ease forwards;
}

@keyframes lp-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Lift all direct children above the overlay */
.latepoint-lightbox-i.has-service-bg > * {
    position: relative;
    z-index: 1;
}
