:root {
    --bg: #f8faf7;
    --bg-soft: #eaf4ee;
    --card: rgba(255, 255, 255, 0.94);
    --line: rgba(24, 77, 42, 0.12);
    --text: #1a1a1a;
    --muted: #666666;
    --primary: #184d2a;
    --primary-soft: #2f7a4b;
    --gold: #c8a951;
    --white: #ffffff;
    --gold-deep: #184d2a;
    --shadow: 0 18px 50px rgba(24, 77, 42, 0.08);
    --font-heading: "Cormorant Garamond", serif;
    --font-body: "Manrope", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font-body);
    overflow-x: clip;
    background:
        radial-gradient(circle at top left, rgba(24, 79, 29, 0.08), transparent 28%),
        radial-gradient(circle at top right, rgba(168, 181, 165, 0.18), transparent 24%),
        var(--bg);
    color: var(--text);
}

body[data-theme="golden-celebration"] {
    --bg: #fbf9f3;
    --bg-soft: #f3ecdd;
    --card: rgba(255, 255, 255, 0.95);
    --line: rgba(200, 169, 81, 0.18);
    --text: #2f2a1f;
    --muted: #766b57;
    --primary: #6d5720;
    --primary-soft: #9e8240;
    --gold: #c8a951;
    --gold-deep: #8e742d;
    --font-heading: "Playfair Display", serif;
    --font-body: "Manrope", sans-serif;
}

body[data-theme="midnight-bloom"] {
    --bg: #f5f8f8;
    --bg-soft: #e7f0ef;
    --card: rgba(255, 255, 255, 0.95);
    --line: rgba(88, 122, 126, 0.14);
    --text: #24333a;
    --muted: #6b7d83;
    --primary: #385f63;
    --primary-soft: #5d8a8e;
    --gold: #bca76a;
    --gold-deep: #385f63;
    --font-heading: "Libre Baskerville", serif;
    --font-body: "Manrope", sans-serif;
}

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

main,
section,
.site-header {
    overflow-x: clip;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(14px);
    background: rgba(244, 241, 234, 0.88);
    border-bottom: 1px solid rgba(24, 79, 29, 0.08);
    box-shadow: 0 12px 30px rgba(19, 33, 21, 0.08);
}

.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 169, 81, 0.55), transparent);
}

.navbar-brand,
.hero-title,
.section-title,
.cta-content h2,
.admin-topbar h1,
.admin-login-card h1,
.preview-card h3,
.countdown-card h3 {
    font-family: var(--font-heading);
}

.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    color: var(--text);
    font-size: 1.2rem;
    margin-right: 2rem;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    transition: transform 0.24s ease;
}

.brand-mark,
.portal-icon {
    display: inline-grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(216, 177, 109, 0.2), rgba(31, 58, 43, 0.45));
    border: 1px solid var(--line);
    color: var(--gold);
    font-weight: 800;
    flex: 0 0 74px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.brand-image {
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.brand-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.04rem;
    mix-blend-mode: multiply;
    filter: saturate(1.08) contrast(1.04);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brand-lockup:hover {
    transform: translateY(-1px);
}

.brand-lockup:hover .brand-mark {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 30px rgba(24, 77, 42, 0.14);
}

.brand-lockup:hover .brand-image img {
    transform: scale(1.06);
    filter: saturate(1.14) contrast(1.08) drop-shadow(0 4px 10px rgba(24, 77, 42, 0.14));
}

.footer-brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.footer-brand-mark {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    display: inline-grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(216, 177, 109, 0.2), rgba(24, 77, 42, 0.18));
    border: 1px solid var(--line);
}

.footer-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.04rem;
    mix-blend-mode: multiply;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 1.8vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--text);
}

.brand-copy small {
    margin-top: 0.28rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68rem;
    color: rgba(24, 77, 42, 0.62);
}

.site-nav-list {
    gap: 0.5rem;
}

.nav-link {
    color: rgba(26, 26, 26, 0.82);
    font-size: 0.94rem;
    font-weight: 600;
    padding: 0.72rem 0.9rem !important;
    border-radius: 999px;
}

.nav-link:hover, .nav-link.active { color: #fff; }

.nav-link:hover {
    background: rgba(24, 77, 42, 0.06);
    color: var(--primary);
}

.site-header-actions {
    display: flex;
    align-items: center;
    margin-left: 0.7rem;
}

.site-action-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(24, 77, 42, 0.12);
    box-shadow: 0 14px 28px rgba(24, 77, 42, 0.08);
}

.site-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 50px;
    padding: 0.78rem 1.2rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.site-action-chip:hover {
    transform: translateY(-1px);
}

.site-action-chip.is-login {
    color: var(--primary);
    background: transparent;
}

.site-action-chip.is-login:hover {
    background: rgba(24, 77, 42, 0.06);
    color: var(--primary);
}

.site-action-chip.is-book {
    min-width: 154px;
    color: #ffffff;
    background: linear-gradient(135deg, #2f9a57, #1d6d39 58%, #15552e);
    box-shadow: 0 14px 28px rgba(47, 154, 87, 0.24), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.btn-brand {
    background: linear-gradient(135deg, var(--primary-soft), var(--primary));
    border: 1px solid rgba(24, 77, 42, 0.08);
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(24, 77, 42, 0.18);
}

.btn-brand:hover {
    background: linear-gradient(135deg, var(--primary), #123a20);
    color: #ffffff;
}

.btn-outline-brand {
    background: #ffffff;
    border: 1px solid rgba(24, 77, 42, 0.16);
    color: var(--primary);
    font-weight: 700;
}

.btn-outline-brand:hover {
    background: rgba(24, 77, 42, 0.05);
    border-color: rgba(24, 77, 42, 0.22);
    color: var(--primary);
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 108px;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }

.hero-media {
    background:
        linear-gradient(135deg, rgba(16, 34, 24, 0.28), rgba(16, 34, 24, 0.02)),
        linear-gradient(130deg, rgba(24, 77, 42, 0.26), rgba(200, 169, 81, 0.12)),
        center/cover no-repeat;
    transform: scale(1.08);
    animation: heroZoom 14s ease-in-out infinite alternate;
}

.hero-overlay {
    background:
        linear-gradient(96deg, rgba(10, 25, 18, 0.9) 0%, rgba(16, 37, 26, 0.78) 26%, rgba(24, 52, 37, 0.58) 52%, rgba(36, 62, 48, 0.3) 72%, rgba(255, 255, 255, 0.08) 100%);
}
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.12); } }

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
}

.hero-glow-one {
    width: 420px;
    height: 420px;
    right: 4%;
    top: 14%;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.34), transparent 66%);
    animation: driftGlow 9s ease-in-out infinite alternate;
}

.hero-glow-two {
    width: 340px;
    height: 340px;
    left: -3%;
    bottom: 3%;
    background: radial-gradient(circle, rgba(47, 122, 75, 0.22), transparent 68%);
    animation: driftGlow 11s ease-in-out infinite alternate-reverse;
}

@keyframes driftGlow {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(18px, -20px, 0); }
}

.hero-eyebrow,
.section-eyebrow,
.preview-label {
    display: inline-flex;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
}

.hero-title {
    font-size: clamp(3rem, 6.2vw, 5.45rem);
    line-height: 0.9;
    margin-top: 0.85rem;
    margin-bottom: 1.1rem;
    max-width: 11ch;
}

.hero-copy, .section-copy {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.72;
    max-width: 58ch;
}

.hero-support-copy {
    margin-top: 0.9rem;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.72);
}

.hero-primary-cta {
    background: linear-gradient(135deg, #37b764, #228347 58%, #185f33);
    box-shadow: 0 18px 34px rgba(38, 148, 82, 0.26), 0 0 24px rgba(74, 198, 117, 0.16);
}

.hero-card {
    position: relative;
    max-width: 760px;
    padding: clamp(2.1rem, 4vw, 3.25rem);
    border-radius: 36px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05)),
        rgba(11, 19, 14, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 32px 70px rgba(8, 15, 10, 0.26);
    overflow: hidden;
    backdrop-filter: blur(14px);
}

.hero-card::before,
.shine-card::before,
.button-shine::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, 0.22) 48%, transparent 74%);
    transform: translateX(-140%);
    transition: transform 0.9s ease;
    pointer-events: none;
}

.hero-card:hover::before,
.shine-card:hover::before,
.button-shine:hover::before {
    transform: translateX(140%);
}

.hero-card .hero-title,
.hero-card .hero-copy {
    color: #ffffff;
}

.hero-card .hero-copy {
    color: rgba(255, 255, 255, 0.78);
}

.hero-layout {
    position: relative;
    z-index: 1;
}

.btn-ghost-light {
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.btn-ghost-light:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
}

.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.7rem;
    margin-bottom: 0.4rem;
}

.hero-cta-row .btn {
    min-height: 58px;
    padding-inline: 1.5rem;
    border-radius: 18px;
}

.button-shine,
.shine-card {
    position: relative;
    overflow: hidden;
}

.shine-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(240px circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(200, 169, 81, 0.12), transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.shine-card:hover::after {
    opacity: 1;
}

.hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.hero-mini-card {
    padding: 1rem 1.05rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.hero-mini-card span,
.floating-label {
    display: inline-block;
    margin-bottom: 0.5rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(200, 169, 81, 0.88);
    font-weight: 700;
}

.hero-mini-card strong {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

.hero-side-stack {
    display: grid;
    gap: 1.65rem;
    padding-left: 2.5rem;
    max-width: 430px;
    margin-left: auto;
}

.floating-highlight-card {
    padding: 1.75rem;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(250, 250, 247, 0.84));
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: 0 22px 48px rgba(17, 28, 20, 0.16);
    backdrop-filter: blur(10px);
}

.floating-highlight-card.alt {
    transform: translateX(0);
}

.floating-highlight-card h3 {
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.02;
}

.floating-highlight-card p,
.floating-list {
    margin: 0;
    color: #56615b;
    line-height: 1.72;
}

.floating-list {
    padding-left: 1.1rem;
    display: grid;
    gap: 0.55rem;
}

.feature-band, .section-block, .site-footer { padding: 110px 0; }
.feature-band { padding-top: 34px; padding-bottom: 42px; }
.section-tight-top { padding-top: 42px; }
.section-separated-top { padding-top: 86px; }

.container {
    max-width: 1220px;
    padding-left: clamp(18px, 2.4vw, 34px);
    padding-right: clamp(18px, 2.4vw, 34px);
}

.feature-pill,
.about-card,
.service-card,
.gallery-card,
.customizer-panel,
.preview-card,
.countdown-card,
.testimonial-card,
.booking-shell,
.metric-card,
.admin-note,
.message-card,
.admin-login-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 28px;
}

.feature-pill, .about-card, .service-card, .metric-card, .admin-note, .message-card { padding: 1.5rem; }
.feature-pill {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 1.7rem 1.6rem;
    font-size: 1.03rem;
    line-height: 1.7;
}

.value-card strong {
    display: block;
    margin-bottom: 0.4rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    line-height: 1;
}

.value-card span {
    color: var(--muted);
    font-size: 0.98rem;
}

.glass-card {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.82)),
        var(--card);
    backdrop-filter: blur(12px);
}
.section-dark { background: linear-gradient(180deg, rgba(236, 241, 233, 0.92), rgba(244, 241, 234, 0.98)); }
.section-accent { background: linear-gradient(180deg, rgba(223, 233, 222, 0.7), rgba(244, 241, 234, 0.98)); }
.section-heading { margin-bottom: 3.5rem; }
.section-title { font-size: clamp(2.65rem, 4.8vw, 4.35rem); line-height: 0.96; margin: 0.8rem 0 1rem; }
.section-copy { color: #3d3d3d; }

.image-panel {
    min-height: 540px;
    border-radius: 32px;
    background:
        radial-gradient(circle at top left, rgba(200, 169, 81, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(244, 248, 244, 0.94));
    position: relative;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 20px 42px rgba(24, 77, 42, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.image-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.18), transparent 45%, rgba(200, 169, 81, 0.08));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.image-panel-media {
    width: 100%;
    height: 100%;
    min-height: 496px;
    display: block;
    border-radius: 32px;
    object-fit: cover;
    object-position: center 18%;
    transition: transform 0.55s ease;
}

.image-panel:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 169, 81, 0.35);
    box-shadow: 0 26px 54px rgba(24, 77, 42, 0.14);
}

.image-panel:hover::before {
    opacity: 1;
}

.image-panel:hover .image-panel-media {
    transform: scale(1.03);
}

.image-badge {
    position: absolute;
    left: 28px;
    bottom: 24px;
    background: rgba(14, 24, 17, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.9rem 1.1rem;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    z-index: 3;
    box-shadow: 0 12px 28px rgba(5, 12, 8, 0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

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

.about-grid-wide {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 2.25rem;
}

.about-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 247, 0.94));
    padding: 1.65rem;
    border-radius: 24px;
}

.about-card h3,
.service-card h3,
.step-card h3,
.testimonial-card h3 {
    font-family: var(--font-heading);
}

.service-card {
    height: 100%;
    padding: 2.1rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 244, 0.92));
    border-radius: 28px;
}

.service-card:hover, .gallery-card:hover {
    transform: translateY(-8px);
    border-color: rgba(216, 177, 109, 0.48);
    box-shadow: 0 24px 46px rgba(24, 77, 42, 0.12);
}

.service-icon {
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(47, 154, 87, 0.18), rgba(24, 77, 42, 0.42));
    color: #1d6d39;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-logo-icon {
    background: linear-gradient(135deg, rgba(216, 177, 109, 0.18), rgba(24, 77, 42, 0.24));
    overflow: hidden;
}

.service-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.45rem;
    mix-blend-mode: multiply;
}

.gallery-card {
    width: 100%;
    padding: 0;
    overflow: hidden;
    text-align: left;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 28px;
    height: 100%;
}

.gallery-image,
.cta-image {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 320px;
    background: linear-gradient(135deg, rgba(31, 58, 43, 0.1), rgba(216, 177, 109, 0.1));
}

.gallery-image {
    aspect-ratio: 4 / 4.4;
    min-height: 0;
}

.gallery-image::after,
.cta-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(17, 23, 20, 0.04), rgba(17, 23, 20, 0.18)),
        linear-gradient(135deg, rgba(31, 58, 43, 0.08), rgba(216, 177, 109, 0.05));
    pointer-events: none;
    z-index: 1;
}

.gallery-image-media,
.cta-image-media {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: block;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-image-media {
    position: absolute;
    inset: 0;
    min-height: 0;
}

.gallery-card:hover .gallery-image-media,
.cta-banner:hover .cta-image-media {
    transform: scale(1.04);
    filter: saturate(1.03) contrast(1.02);
}

.gallery-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    background: rgba(255, 255, 255, 0.88);
}

.gallery-meta strong {
    flex: 1;
}

.gallery-meta small {
    color: var(--gold);
    white-space: nowrap;
}
.service-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--primary-soft);
    font-weight: 700;
    font-size: 0.9rem;
}
.gallery-marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.gallery-marquee-track { display: inline-flex; gap: 1rem; animation: marquee 26s linear infinite; }
.gallery-chip { padding: 0.65rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.founder-role-copy {
    margin-top: 1rem;
    color: var(--primary);
    font-weight: 700;
}

.customizer-panel, .preview-card, .countdown-card, .booking-shell, .admin-login-card { padding: 2rem; }
.customizer-panel, .preview-card, .countdown-card, .booking-shell {
    border-radius: 32px;
}

.spaced-panel {
    min-height: 100%;
}

.simple-highlight-card {
    min-height: 100%;
}

.preview-list, .contact-stack, .steps-stack { display: grid; gap: 1rem; }

.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(24, 79, 29, 0.04);
    border: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(24, 77, 42, 0.06);
}

.step-card span:first-child {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-deep));
    color: #111;
    font-weight: 800;
}

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

.countdown-grid div {
    padding: 1rem;
    border-radius: 22px;
    text-align: center;
    border: 1px solid var(--line);
    background: rgba(24, 79, 29, 0.04);
}

.countdown-grid strong { display: block; font-size: 2rem; color: var(--gold); }
.event-item { padding: 1rem 0; border-top: 1px solid var(--line); }
.testimonial-card { padding: 2rem; height: 100%; max-width: none; margin: 0 auto; text-align: center; }
.testimonial-card p { font-size: 1.2rem; line-height: 1.8; }

.testimonial-submit-shell {
    padding: 2rem;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.testimonial-submit-title {
    margin: 0.7rem 0 0.8rem;
    font-family: var(--font-heading);
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.cta-banner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.cta-image {
    min-height: 100%;
}

.cta-image-media {
    min-height: 100%;
    height: 100%;
}

.cta-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.take-home-highlight {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(24, 77, 42, 0.06), rgba(200, 169, 81, 0.1));
    border: 1px solid rgba(24, 77, 42, 0.1);
}

.take-home-icon {
    width: 64px;
    height: 64px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--line);
}

.take-home-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.42rem;
    mix-blend-mode: multiply;
}

.take-home-highlight strong {
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.take-home-highlight p {
    margin: 0;
    color: var(--muted);
}

.contact-stack div { display: flex; align-items: center; gap: 0.85rem; color: var(--muted); }

.form-control, .form-select {
    border-radius: 18px;
    min-height: 54px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(241, 236, 226, 0.12);
    color: var(--text);
}

.form-control:focus, .form-select:focus {
    background: rgba(255, 255, 255, 0.92);
    color: var(--text);
    border-color: rgba(103, 160, 108, 0.6);
    box-shadow: 0 0 0 0.2rem rgba(24, 79, 29, 0.16);
}

.form-select option { color: #111; }
textarea.form-control { min-height: 160px; }
.nav-pills .nav-link { background: rgba(24, 79, 29, 0.06); border-radius: 999px; }
.nav-pills .nav-link.active { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #111; }

.site-footer { padding: 40px 0 60px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 1.25rem; color: var(--muted); }

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 16px 35px rgba(37, 211, 102, 0.34);
    z-index: 1000;
}

.gallery-modal-content { background: transparent; border: none; }
.form-status { color: #8ad8a3; }
.form-status.is-error { color: #ff8a8a; }

.section-block {
    position: relative;
}

.section-block::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top right, rgba(200, 169, 81, 0.06), transparent 20%),
        radial-gradient(circle at bottom left, rgba(47, 122, 75, 0.05), transparent 24%);
}

.admin-layout { display: grid; grid-template-columns: 300px 1fr; min-height: 100vh; }
.admin-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    border-right: 1px solid var(--line);
    background: linear-gradient(180deg, #184d2a, #123a20);
}

.admin-sidebar h2,
.admin-sidebar .section-eyebrow {
    color: #f5f2ea;
}

.admin-sidebar .nav-link {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    color: rgba(245, 242, 234, 0.72);
}

.admin-sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.admin-sidebar .nav-link.active {
    background: rgba(245, 242, 234, 0.14);
    color: #fff;
}
.admin-main { padding: 2rem; }
.admin-utility-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.admin-utility-copy {
    display: grid;
    gap: 0.2rem;
}

.admin-notification-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 12px 24px rgba(24, 77, 42, 0.08);
}

.admin-notification-count {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 26px;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: rgba(24, 77, 42, 0.1);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 800;
}

.admin-notification-count.has-unread {
    background: #184d2a;
    color: #fff;
}

.admin-notification-menu {
    width: min(420px, 92vw);
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 22px 44px rgba(24, 77, 42, 0.12);
    background: rgba(255, 255, 255, 0.98);
}

.admin-notification-header,
.admin-notification-footer {
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
}

.admin-notification-footer {
    border-bottom: none;
    border-top: 1px solid var(--line);
}

.admin-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.admin-notification-header small {
    display: block;
    color: var(--muted);
}

.admin-notification-list {
    max-height: 360px;
    overflow-y: auto;
}

.admin-notification-item,
.admin-notification-empty {
    padding: 1rem 1.1rem;
    border-top: 1px solid var(--line);
}

.admin-notification-item:first-child,
.admin-notification-empty:first-child {
    border-top: none;
}

.admin-notification-item.is-unread {
    background: rgba(24, 77, 42, 0.06);
}

.admin-notification-item strong,
.admin-notification-item p,
.admin-notification-item small {
    display: block;
}

.admin-notification-item p {
    margin: 0.3rem 0;
}

.admin-notification-item small,
.admin-notification-empty {
    color: var(--muted);
}

.admin-panel { display: none; }
.admin-panel.active { display: block; }
.admin-topbar { display: flex; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 2rem; }
.metric-card strong { display: block; font-size: 2.25rem; margin-top: 0.6rem; color: var(--gold); }
.admin-json-editor { min-height: 620px; font-family: Consolas, monospace; font-size: 0.95rem; }
.admin-table, .message-grid { background: rgba(255, 255, 255, 0.88); border: 1px solid var(--line); border-radius: 28px; padding: 1rem; }
.admin-table {
    max-height: 70vh;
    overflow: auto;
}
.table-dark { --bs-table-bg: transparent; --bs-table-striped-bg: rgba(255, 255, 255, 0.03); --bs-table-color: var(--text); }

.stack-grid {
    display: grid;
    gap: 1rem;
}

.editor-card,
.upload-card {
    padding: 1.2rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 24px rgba(24, 77, 42, 0.05);
}

.upload-card p {
    color: var(--muted);
}

.admin-field-help {
    color: var(--muted);
    margin-top: 0.8rem;
}

.admin-inline-list {
    display: grid;
    gap: 0.65rem;
    padding-left: 1.2rem;
}

.upload-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
    margin-top: 1rem;
}

.media-field {
    display: grid;
    gap: 0.75rem;
}

.media-upload-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.8rem;
}

.media-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.media-preview-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(248, 250, 247, 0.9);
}

.media-preview-thumb {
    width: 120px;
    height: 144px;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(31, 58, 43, 0.08), rgba(216, 177, 109, 0.08));
    border: 1px solid var(--line);
}

.media-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.media-preview-meta strong {
    display: block;
    margin-bottom: 0.2rem;
}

.media-preview-meta span {
    color: var(--muted);
    font-size: 0.92rem;
}

.media-modal-content {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.media-modal-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    background: #f8faf7;
}

.media-modal-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: 1.5rem;
    overflow: auto;
    background: #f8faf7;
}

.media-modal-stage img {
    max-width: 100%;
    max-height: 78vh;
    transform-origin: center center;
    transition: transform 0.2s ease;
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(24, 77, 42, 0.1);
}

.portal-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
}

.portal-shell {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.portal-brand h1 {
    margin: 0.35rem 0;
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 4rem);
}

.portal-brand p {
    margin: 0;
    color: var(--muted);
}

.portal-card {
    height: 100%;
    padding: 2.25rem;
    border-radius: 34px;
    border: 1px solid var(--line);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
        var(--card);
    box-shadow: var(--shadow);
}

.portal-card h2 {
    margin: 1rem 0;
    font-family: var(--font-heading);
    font-size: 2.25rem;
}

.portal-card p,
.portal-list {
    color: var(--muted);
}

.portal-list {
    display: grid;
    gap: 0.75rem;
    margin: 1.4rem 0 2rem;
    padding-left: 1.2rem;
}

.portal-client {
    background:
        radial-gradient(circle at top right, rgba(216, 177, 109, 0.12), transparent 30%),
        var(--card);
}

.portal-admin {
    background:
        radial-gradient(circle at top left, rgba(31, 58, 43, 0.24), transparent 30%),
        var(--card);
}

.theme-option {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    height: 100%;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
}

.theme-option input {
    display: none;
}

.theme-option.is-active {
    border-color: rgba(24, 77, 42, 0.62);
    background: linear-gradient(180deg, rgba(24, 77, 42, 0.05), rgba(255, 255, 255, 0.92));
    box-shadow: 0 0 0 2px rgba(24, 77, 42, 0.22) inset, 0 18px 34px rgba(24, 77, 42, 0.08);
}

.theme-option.is-active strong {
    color: #184d2a;
}

.theme-option input:checked + .theme-swatch {
    box-shadow: 0 0 0 3px rgba(24, 77, 42, 0.18);
}

.theme-swatch {
    display: block;
    height: 110px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-message-toolbar {
    width: min(380px, 100%);
}

.message-grid-scroll {
    max-height: 70vh;
    overflow-y: auto;
    display: grid;
    gap: 1rem;
}

.message-card {
    padding: 1.2rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
}

.message-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
}

.message-card strong {
    display: block;
}

.message-card span {
    color: var(--muted);
}

.message-card p {
    margin: 0;
}

.admin-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2100;
    padding: 0.95rem 1.1rem;
    border-radius: 16px;
    background: rgba(24, 77, 42, 0.96);
    color: #fff;
    box-shadow: 0 18px 36px rgba(24, 77, 42, 0.24);
    transform: translateY(-12px);
    opacity: 0;
    transition: transform 0.24s ease, opacity 0.24s ease;
}

.admin-toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.admin-toast.is-error {
    background: rgba(161, 46, 46, 0.96);
}

.theme-evergreen-signature {
    background: linear-gradient(135deg, #f8faf7, #dfeade 58%, #184d2a);
}

.theme-golden-celebration {
    background: linear-gradient(135deg, #fffaf3, #efe1bd 58%, #9b7730);
}

.theme-midnight-bloom {
    background: linear-gradient(135deg, #f7fbfb, #d9e8e8 58%, #587a7e);
}

.toggle-row {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text);
}

.installer-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(24, 79, 29, 0.06), transparent 22%),
        radial-gradient(circle at top right, rgba(209, 220, 204, 0.45), transparent 26%),
        linear-gradient(135deg, #fbf8f2, #f2f5ee 52%, #edf2e8);
}

.installer-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(250, 247, 241, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(24, 79, 29, 0.08);
}

.installer-topbar-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.installer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.installer-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    background: #f4f0e8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 24px rgba(18, 34, 19, 0.08);
    flex: 0 0 52px;
}

.installer-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.installer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.installer-brand-text strong {
    font-size: 1rem;
    color: var(--text);
}

.installer-brand-text small {
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.installer-shell {
    min-height: calc(100vh - 84px);
    display: flex;
    align-items: center;
    padding: 3rem 0 4rem;
}

.installer-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem;
    align-items: stretch;
}

.installer-side,
.installer-card {
    border: 1px solid var(--line);
    border-radius: 36px;
    box-shadow: var(--shadow);
}

.installer-side {
    padding: 2.5rem;
    background:
        radial-gradient(circle at top right, rgba(244, 241, 235, 0.08), transparent 20%),
        linear-gradient(180deg, rgba(9, 24, 10, 0.98), rgba(10, 19, 10, 0.98));
}

.installer-card {
    padding: 2.5rem;
    background:
        radial-gradient(circle at top right, rgba(24, 79, 29, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 238, 0.96));
    border: 1px solid rgba(24, 79, 29, 0.1);
    box-shadow: 0 24px 60px rgba(20, 39, 22, 0.1);
}

.installer-intro {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--line);
}

.installer-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin: 0.6rem 0 0.9rem;
}

.installer-card h2,
.installer-side h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.7rem 0 1.1rem;
}

.logo-frame {
    display: grid;
    place-items: center;
    min-height: 240px;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 32px;
    border: 1px solid rgba(24, 79, 29, 0.1);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(243, 246, 239, 0.96));
}

.logo-frame-inner {
    text-align: center;
    color: #174f1d;
}

.installer-logo {
    width: min(100%, 260px);
    max-width: 260px;
    max-height: 260px;
    display: block;
    margin: 0 auto;
    border-radius: 24px;
    object-fit: contain;
    box-shadow: 0 16px 40px rgba(9, 18, 9, 0.08);
}

.logo-monogram {
    display: inline-grid;
    place-items: center;
    width: 150px;
    height: 150px;
    border: 3px solid #174f1d;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.logo-frame-inner h1 {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    margin: 0;
    letter-spacing: 0.04em;
}

.logo-frame-inner p {
    margin: 0.4rem 0 0;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
}

.auth-grid .installer-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.installer-copy {
    max-width: 46ch;
}

.installer-feature-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
}

.installer-feature-card i {
    color: #79a77d;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.installer-form-section + .installer-form-section {
    margin-top: 1.5rem;
}

.installer-form-section h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 0.9rem;
    color: #184f1d;
}

.installer-step-badge {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    background: rgba(24, 79, 29, 0.06);
    border: 1px solid rgba(24, 79, 29, 0.08);
    color: #184f1d;
    font-size: 0.85rem;
    font-weight: 700;
}

.installer-note {
    color: var(--muted);
    max-width: 58ch;
}

.installer-feature-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    align-items: center;
    min-height: 100%;
    color: var(--muted);
}

.installer-feature-strip span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.installer-feature-strip i {
    color: #7db183;
}

.installer-card .section-eyebrow,
.installer-card .installer-note,
.installer-card .form-label,
.installer-card .installer-title {
    color: inherit;
}

.installer-card .form-label {
    color: #35503a;
    font-weight: 600;
}

.installer-card .section-eyebrow {
    color: #184f1d;
}

.installer-card .installer-note {
    color: #5f6f61;
}

.auth-page-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(24, 79, 29, 0.08), transparent 24%),
        linear-gradient(135deg, #f8f6f0, #edf2e8 52%, #f4f1ea);
}

.auth-page-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.auth-layout {
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(16, 35, 18, 0.12);
    background: rgba(255, 255, 255, 0.84);
}

.auth-showcase {
    height: 100%;
    padding: 3rem;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 24%),
        linear-gradient(180deg, #1e5a24, #184f1d);
    color: #f8f4ec;
}

.auth-showcase h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4vw, 3.4rem);
    margin: 1rem 0;
}

.auth-showcase p {
    color: rgba(248, 244, 236, 0.82);
    max-width: 42ch;
}

.auth-benefits {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.auth-benefits div {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-benefits strong {
    display: block;
    margin-bottom: 0.3rem;
}

.auth-benefits span {
    color: rgba(248, 244, 236, 0.78);
}

.auth-card {
    height: 100%;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.94);
}

.auth-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.auth-card-top h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    margin-top: 0.6rem;
}

.auth-switch {
    display: inline-flex;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(24, 79, 29, 0.06);
    border: 1px solid rgba(24, 79, 29, 0.08);
}

.auth-switch a {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
}

.auth-switch a.is-active {
    background: #184f1d;
    color: #f8f4ec;
}

.auth-info {
    padding: 0.95rem 1rem;
    border-radius: 18px;
    background: rgba(24, 79, 29, 0.06);
    color: #184f1d;
    border: 1px solid rgba(24, 79, 29, 0.08);
}

.auth-submit-button {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
}

.portal-dashboard-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(200, 169, 81, 0.12), transparent 24%),
        radial-gradient(circle at top left, rgba(24, 77, 42, 0.08), transparent 22%),
        #f8faf7;
}

.portal-dashboard-main {
    padding-top: 110px;
}

.portal-dashboard-hero {
    padding: 36px 0 22px;
}

.portal-dashboard-shell {
    padding: 1rem 0 0;
}

.portal-dashboard-card,
.portal-stat-card,
.portal-event-card,
.portal-message-card,
.portal-activity-item,
.portal-empty-state {
    border-radius: 28px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(24, 77, 42, 0.08);
}

.portal-dashboard-card {
    padding: 2rem;
}

.portal-dashboard-intro h1 {
    margin: 0.7rem 0 1rem;
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: 0.9;
}

.portal-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-top: 1.4rem;
}

.portal-mini-note {
    color: var(--muted);
}

.portal-account-card {
    height: 100%;
}

.portal-account-list {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.portal-account-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.portal-account-list span {
    color: var(--muted);
    text-align: right;
}

.portal-stat-card {
    padding: 1.6rem;
}

.portal-stat-card span {
    color: var(--muted);
}

.portal-stat-card strong {
    display: block;
    margin-top: 0.65rem;
    color: var(--primary);
    font-size: 2.4rem;
    font-family: var(--font-heading);
}

.portal-header-actions {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.portal-section-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.portal-activity-list,
.portal-message-stack {
    display: grid;
    gap: 1rem;
}

.portal-activity-item,
.portal-message-card,
.portal-empty-state {
    padding: 1.2rem 1.3rem;
}

.portal-activity-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
}

.portal-activity-item strong,
.portal-event-card h3 {
    display: block;
    font-family: var(--font-heading);
}

.portal-activity-item span,
.portal-message-card p,
.portal-empty-state p,
.portal-event-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.portal-event-card {
    height: 100%;
    padding: 1.4rem;
}

.user-status-pill {
    display: inline-flex;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.status-approved {
    background: rgba(38, 128, 72, 0.12);
    color: #1f7a42;
}

.status-pending {
    background: rgba(195, 140, 28, 0.12);
    color: #9b6b16;
}

.status-rejected {
    background: rgba(170, 43, 43, 0.12);
    color: #a02b2b;
}

@media (max-width: 991px) {
    .site-header .navbar { background: rgba(244, 241, 234, 0.96); }
    .navbar-brand {
        margin-right: 0;
    }
    .site-header-actions {
        width: 100%;
        margin-left: 0;
        padding-top: 0.8rem;
    }

    .hero-card {
        margin-top: 2rem;
    }
    .hero-mini-grid {
        grid-template-columns: 1fr;
    }
    .hero-side-stack {
        padding-left: 0;
        margin-top: 1.5rem;
        max-width: none;
    }
    .admin-utility-bar,
    .admin-topbar,
    .message-card-top,
    .admin-notification-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .admin-message-toolbar {
        width: 100%;
    }
    .brand-copy strong {
        font-size: 1.2rem;
    }
    .brand-copy small {
        font-size: 0.62rem;
        letter-spacing: 0.14em;
    }
    .site-nav-list {
        gap: 0.1rem;
        padding-top: 1rem;
    }
    .site-action-toggle {
        width: 100%;
        justify-content: stretch;
    }
    .site-action-chip {
        flex: 1 1 0;
        width: 100%;
    }
    .about-grid, .cta-banner, .admin-layout, .installer-grid { grid-template-columns: 1fr; }
    .admin-sidebar { border-right: none; border-bottom: 1px solid var(--line); }
    .admin-topbar { flex-direction: column; align-items: flex-start; }
    .auth-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .portal-section-head,
    .portal-activity-item,
    .portal-account-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    .portal-account-list span {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .feature-band, .section-block, .site-footer { padding: 72px 0; }
    .section-tight-top { padding-top: 18px; }
    .section-separated-top { padding-top: 52px; }
    .hero-title { max-width: 100%; }
    .hero-section {
        padding-top: 82px;
    }
    .hero-card {
        padding: 1.4rem;
        border-radius: 24px;
    }
    .container {
        padding-left: 18px;
        padding-right: 18px;
    }
    .hero-title {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
        line-height: 0.92;
    }
    .hero-copy {
        font-size: 0.98rem;
    }
    .hero-cta-row {
        flex-direction: column;
    }
    .hero-cta-row .btn {
        width: 100%;
    }
    .floating-highlight-card.alt {
        transform: none;
    }
    .countdown-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .image-panel { min-height: 420px; }
    .image-panel {
        min-height: 420px;
    }
    .image-panel-media {
        min-height: 388px;
    }
    .brand-mark {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
    }
    .brand-copy strong {
        font-size: 1.05rem;
    }
    .brand-copy small {
        display: none;
    }
    .installer-side,
    .installer-card {
        padding: 1.5rem;
    }

    .installer-topbar-inner {
        min-height: 72px;
    }
    .auth-showcase,
    .auth-card {
        padding: 1.5rem;
    }
    .portal-dashboard-main {
        padding-top: 96px;
    }
    .portal-dashboard-card {
        padding: 1.35rem;
        border-radius: 22px;
    }
    .admin-main {
        padding: 1.25rem;
    }
    .admin-notification-menu {
        width: min(92vw, 92vw);
    }
    .media-upload-row,
    .upload-inline {
        grid-template-columns: 1fr;
    }
}
