/* ==========================================================================
   ASTROTELLUS — Bright Celestial Luxury Stylesheet (v1.1.0)
   ========================================================================== */

:root {
    --at-ivory: #FFF9EF;
    --at-sky: #DDF3F8;
    --at-sage: #E8F4EA;
    --at-gold: #F9E8C6;
    --at-lavender: #E9DDF7;
    --at-coral: #EFCFC4;
    --at-deep-teal: #123F46;
    --at-teal: #006B68;
    --at-charcoal: #24313B;
    --at-white: #FFFFFF;
    --at-border: rgba(18, 63, 70, 0.12);
    --at-shadow-sm: 0 4px 16px rgba(18, 63, 70, 0.06);
    --at-shadow-md: 0 12px 32px rgba(18, 63, 70, 0.08);
    --at-radius: 16px;
    --at-font-serif: 'Cormorant Garamond', Georgia, serif;
    --at-font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--at-ivory);
    color: var(--at-charcoal);
    font-family: var(--at-font-sans);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Neutralise WP block-group default vertical spacing on custom layout wrappers */
.wp-block-group.at-site-header,
.wp-block-group.at-header-inner,
.wp-block-group.at-site-footer,
.wp-block-group.at-footer-grid,
.wp-block-group.at-footer-col,
.wp-block-group.at-hero-grid,
.wp-block-group.at-hero-col,
.wp-block-group.at-hero-emblem-card,
.wp-block-group.at-container,
.wp-block-group.at-container-narrow {
    margin-block-start: 0;
}

/* Accessibility: Visible Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--at-teal);
    outline-offset: 2px;
}

h1, h2, h3, h4, h5 {
    font-family: var(--at-font-serif);
    color: var(--at-deep-teal);
    font-weight: 600;
    line-height: 1.2;
    margin-top: 0;
}

/* Container */
.at-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.at-container-narrow {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.at-site-header {
    background-color: var(--at-ivory);
    border-bottom: 1px solid var(--at-border);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
}

.at-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.at-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.at-logo-header {
    height: 68px;
    width: auto;
    display: block;
    border-radius: 50%;
}

.at-logo-footer {
    height: 84px;
    width: auto;
    display: block;
    border-radius: 50%;
}

.at-logo-emblem {
    max-width: 220px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 14px;
    border-radius: 50%;
}

.at-nav-list {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.at-nav-list a {
    color: var(--at-deep-teal);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.at-nav-list a:hover {
    color: var(--at-teal);
}

.at-mobile-only-cta {
    display: none;
}

.at-mobile-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--at-border);
    border-radius: 10px;
    padding: 8px 12px;
    color: var(--at-deep-teal);
    font-weight: 600;
    cursor: pointer;
}

/* Buttons */
.at-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-family: var(--at-font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.at-btn-primary {
    background-color: var(--at-deep-teal);
    color: var(--at-white) !important;
}

.at-btn-primary:hover {
    background-color: var(--at-teal);
    transform: translateY(-1px);
    box-shadow: var(--at-shadow-sm);
}

.at-btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.at-btn-secondary {
    background-color: var(--at-white);
    color: var(--at-deep-teal) !important;
    border-color: var(--at-deep-teal);
}

.at-btn-secondary:hover {
    background-color: var(--at-gold);
}

.at-btn-sm {
    padding: 10px 18px;
    font-size: 0.88rem;
}

/* Sections */
.at-section {
    padding: 72px 0;
}

.at-section-sky {
    background: linear-gradient(135deg, var(--at-sky) 0%, var(--at-ivory) 100%);
}

.at-section-sage {
    background-color: var(--at-sage);
}

.at-section-gold {
    background-color: var(--at-gold);
}

.at-section-lavender {
    background-color: var(--at-lavender);
}

.at-section-white {
    background-color: var(--at-white);
}

.at-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}

.at-eyebrow {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--at-teal);
    margin-bottom: 10px;
}

.at-section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 14px;
}

/* Hero */
.at-hero {
    background: radial-gradient(circle at 85% 20%, var(--at-gold) 0%, transparent 45%),
                linear-gradient(160deg, var(--at-sky) 0%, var(--at-ivory) 65%);
    padding: 84px 0 76px;
    border-bottom: 1px solid var(--at-border);
}

.at-hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 48px;
    align-items: center;
}

.at-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    margin-bottom: 18px;
    color: var(--at-deep-teal);
}

.at-hero-lead {
    font-size: 1.12rem;
    color: var(--at-charcoal);
    max-width: 580px;
    margin-bottom: 24px;
}

.at-fee-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--at-white);
    border: 1px solid var(--at-border);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: var(--at-deep-teal);
    margin-bottom: 28px;
    box-shadow: var(--at-shadow-sm);
}

.at-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.at-hero-emblem {
    display: flex;
    justify-content: center;
    align-items: center;
}

.at-hero-emblem-card {
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--at-border);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--at-shadow-md);
    width: 100%;
    max-width: 320px;
}

/* Grids & Cards */
.at-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.at-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.at-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    align-items: start;
}

.at-card {
    background-color: var(--at-white);
    border: 1px solid var(--at-border);
    border-radius: var(--at-radius);
    padding: 28px;
    box-shadow: var(--at-shadow-sm);
}

.at-card-sky { background-color: var(--at-sky); }
.at-card-sage { background-color: var(--at-sage); }
.at-card-gold { background-color: var(--at-gold); }
.at-card-lavender { background-color: var(--at-lavender); }

.at-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--at-deep-teal);
    color: var(--at-white);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

/* Pricing Box */
.at-pricing-box {
    background-color: var(--at-white);
    border: 2px solid var(--at-deep-teal);
    border-radius: 20px;
    padding: 40px 32px;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--at-shadow-md);
}

.at-price-figure {
    font-family: var(--at-font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--at-deep-teal);
    line-height: 1.1;
    margin: 10px 0;
}

/* FAQ Accordions */
.at-faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 840px;
    margin: 0 auto;
}

.at-faq-item {
    background-color: var(--at-white);
    border: 1px solid var(--at-border);
    border-radius: 12px;
    padding: 18px 22px;
}

.at-faq-item summary {
    font-weight: 600;
    color: var(--at-deep-teal);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.at-faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    color: var(--at-teal);
    font-weight: 400;
}

.at-faq-item[open] summary::after {
    content: "\2212";
}

.at-faq-body {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--at-border);
    color: var(--at-charcoal);
}

/* Forms (Booking & Contact) */
.at-form-card {
    background-color: var(--at-white);
    border: 1px solid var(--at-border);
    border-radius: 20px;
    padding: 36px;
    box-shadow: var(--at-shadow-md);
}

.at-form-section-title {
    font-size: 1.4rem;
    border-bottom: 1px solid var(--at-border);
    padding-bottom: 8px;
    margin: 28px 0 18px;
}

.at-form-section-title:first-child {
    margin-top: 0;
}

.at-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.at-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

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

.at-field label {
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--at-deep-teal);
}

.at-field input[type="text"],
.at-field input[type="email"],
.at-field input[type="tel"],
.at-field input[type="date"],
.at-field input[type="time"],
.at-field select,
.at-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(18, 63, 70, 0.25);
    border-radius: 10px;
    font-family: var(--at-font-sans);
    font-size: 0.95rem;
    background-color: var(--at-ivory);
    color: var(--at-charcoal);
}

.at-field-help {
    font-size: 0.84rem;
    color: #4c5a65;
    margin: 2px 0 0;
}

.at-consent-box {
    background-color: var(--at-sage);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0 24px;
}

.at-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.at-checkbox-row:last-child {
    margin-bottom: 0;
}

.at-checkbox-row input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.at-alert {
    padding: 18px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}

.at-alert-success {
    background-color: var(--at-sage);
    border-color: var(--at-teal);
    color: var(--at-deep-teal);
}

.at-alert-warning {
    background-color: var(--at-gold);
    border-color: #9e7420;
    color: #4f390b;
}

.at-alert-error {
    background-color: var(--at-coral);
    border-color: #9e3b33;
    color: #5c1914;
}

.at-hp-field {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Footer */
.at-site-footer {
    background-color: var(--at-white);
    border-top: 1px solid var(--at-border);
    padding: 56px 0 32px;
    margin-top: 48px;
}

.at-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 32px;
    margin-bottom: 36px;
}

.at-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.at-footer-links li {
    margin-bottom: 8px;
}

.at-footer-links a {
    color: var(--at-charcoal);
    text-decoration: none;
    font-size: 0.92rem;
}

.at-footer-links a:hover {
    color: var(--at-teal);
    text-decoration: underline;
}

.at-footer-bottom {
    border-top: 1px solid var(--at-border);
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.85rem;
    color: #55636e;
}

/* Sticky Mobile CTA */
.at-mobile-sticky-cta {
    display: none;
}

/* Responsive Breakpoints (1024px, 768px, 360px) */
@media (max-width: 1024px) {
    .at-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .at-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .at-hero-grid,
    .at-grid-3,
    .at-grid-2,
    .at-form-grid {
        grid-template-columns: 1fr;
    }

    .at-mobile-toggle {
        display: inline-flex;
    }

    .at-mobile-only-cta {
        display: block;
    }

    .at-header-nav-wrap {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--at-ivory);
        border-bottom: 1px solid var(--at-border);
        padding: 20px 24px;
        box-shadow: var(--at-shadow-md);
    }

    .at-header-nav-wrap.is-open {
        display: block;
    }

    .at-nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .at-header-cta-desktop {
        display: none;
    }

    .at-section {
        padding: 48px 0;
    }

    .at-form-card {
        padding: 22px;
    }

    .at-mobile-sticky-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 249, 239, 0.96);
        border-top: 1px solid var(--at-border);
        padding: 10px 16px;
        z-index: 95;
        backdrop-filter: blur(8px);
    }

    .at-mobile-sticky-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .at-mobile-sticky-fee {
        font-weight: 700;
        color: var(--at-deep-teal);
        font-size: 1rem;
    }

    .at-mobile-sticky-fee small {
        display: block;
        font-weight: 500;
        font-size: 0.75rem;
        color: var(--at-charcoal);
    }

    body {
        padding-bottom: 72px;
    }

    .at-footer-grid {
        grid-template-columns: 1fr;
    }
}
