/* Explain: Styles for UI components like buttons, cards, navigation, and form elements. */
.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 90;
    transform: translateY(-180%);
    border-radius: 999px;
    background: var(--text-color);
    color: #FFFFFF;
    padding: 0.6rem 1rem;
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    border-bottom: 1px solid var(--border-color);
    background: rgba(246, 244, 239, 0.88);
    backdrop-filter: blur(14px);
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-color);
    text-decoration: none;
}

.brand-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(79, 106, 91, 0.14);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 2.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nav-link:hover {
    color: var(--text-color);
    background: rgba(79, 106, 91, 0.08);
}

.nav-link.is-active {
    color: var(--primary-color);
    background: rgba(79, 106, 91, 0.12);
    font-weight: 600;
}

.nav-cta {
    min-height: 2.5rem;
    padding: 0.3rem 1.1rem;
    font-size: 0.9rem;
    margin-left: 0.35rem;
}

.mobile-toggle {
    display: inline-grid;
    min-height: 2.75rem;
    min-width: 2.75rem;
    place-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    color: var(--text-color);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mobile-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-panel {
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 1.25rem 1rem;
}

.mobile-panel a {
    display: block;
    min-height: 2.85rem;
    border-radius: 0.85rem;
    padding-inline: 0.95rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 2.85rem;
    text-decoration: none;
}

.mobile-panel a.is-active {
    background: rgba(79, 106, 91, 0.12);
    color: var(--primary-color);
    font-weight: 600;
}

.section-eyebrow {
    color: var(--primary-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.btn-solid,
.btn-ghost,
.btn-light,
.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-solid {
    background: var(--primary-color);
    color: #FFFFFF;
}

.btn-solid:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-ghost {
    border-color: var(--border-color);
    background: transparent;
    color: var(--text-color);
}

.btn-ghost:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-light {
    background: #FFFFFF;
    color: var(--primary-hover);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.88);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
    color: #FFFFFF;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
}

.card-soft {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    padding: clamp(1.25rem, 3vw, 2rem);
}

.chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--surface-color);
    padding: 0.55rem 1rem;
    color: var(--text-color);
    font-size: 0.92rem;
    font-weight: 500;
}

.step-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.step-number {
    display: grid;
    place-items: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    background: rgba(79, 106, 91, 0.12);
    color: var(--primary-color);
    font-weight: 700;
}

.timeline {
    position: relative;
    display: grid;
    gap: 1.25rem;
    padding-left: 1.5rem;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0.32rem;
    top: 0.6rem;
    bottom: 0.6rem;
    width: 1px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -1.47rem;
    top: 0.55rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    background: var(--primary-color);
    box-shadow: 0 0 0 5px rgba(79, 106, 91, 0.12);
}

.timeline-year {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faq-list {
    display: grid;
    gap: 0.85rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    background: var(--surface-color);
    padding: 1.1rem 1.25rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
    line-height: 1;
    transition: transform 0.25s ease;
}

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

.faq-item p {
    margin-top: 0.8rem;
    color: var(--text-muted);
}

.signal-panel {
    position: relative;
    min-height: 20rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-large);
    background: linear-gradient(155deg, #E6ECE6, #F6F4EF 72%);
    box-shadow: var(--shadow-soft);
}

.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(79, 106, 91, 0.22);
    border-radius: 50%;
}

.signal-ring-1 { width: 8.5rem; height: 8.5rem; }
.signal-ring-2 { width: 15rem; height: 15rem; }
.signal-ring-3 { width: 22rem; height: 22rem; border-style: dashed; }

.signal-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.75rem;
    height: 2.75rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 11px rgba(79, 106, 91, 0.14);
}

.signal-label {
    position: absolute;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-hover);
    box-shadow: 0 8px 20px rgba(44, 51, 48, 0.08);
}

.signal-label-a { left: 7%; bottom: 20%; }
.signal-label-b { right: 7%; top: 20%; }
.signal-label-c { right: 12%; bottom: 13%; }

.cta-band {
    border-radius: var(--radius-large);
    background: linear-gradient(140deg, #3C5246, #4F6A5B);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
}

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

.book-form label {
    display: block;
    margin-bottom: 0.4rem;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.book-form .input,
.book-form .select,
.book-form .textarea {
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--text-color);
    width: 100%;
}

.book-form .input:focus,
.book-form .select:focus,
.book-form .textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 106, 91, 0.16);
}

.status {
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    font-weight: 500;
}

.status-success {
    background: rgba(79, 106, 91, 0.12);
    color: var(--primary-hover);
}

.status-error {
    background: rgba(158, 74, 62, 0.12);
    color: #8C4438;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}