/* Explain: Component classes: buttons, header, hero, cards, FAQ, forms, footer. */
/* ===== Scroll reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ===== Buttons ===== */
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.8rem;
    border: 0;
    border-radius: 999px;
    background: var(--gold-gradient);
    color: #1b1405;
    font-family: var(--font-heading);
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(201, 169, 98, 0.32);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
    box-shadow: 0 18px 42px rgba(201, 169, 98, 0.45);
}

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

.btn-lg {
    padding: 1.05rem 2.3rem;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 0.62rem 1.35rem;
    font-size: 0.9375rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.8rem;
    border: 1.5px solid var(--primary-color);
    border-radius: 999px;
    background: transparent;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #ffffff;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.05rem 2.1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease;
}

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

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(201, 169, 98, 0.28);
}

.brand-mark {
    display: inline-flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: var(--gold-gradient);
    color: #14100a;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(201, 169, 98, 0.35);
}

.brand-name {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.brand-sub {
    color: rgba(234, 240, 248, 0.62);
    font-size: 0.72rem;
    direction: ltr;
}

.nav-link {
    position: relative;
    padding: 0.35rem 0;
    color: rgba(234, 240, 248, 0.85);
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-panel {
    background: var(--primary-soft);
    border-top: 1px solid rgba(201, 169, 98, 0.22);
}

.mobile-link {
    display: block;
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.6rem;
    color: rgba(234, 240, 248, 0.9);
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.mobile-link:hover {
    background: rgba(201, 169, 98, 0.15);
    color: #ffffff;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 86vh;
    padding-block: 6rem 4rem;
    overflow: hidden;
    background: var(--surface-dark);
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(7, 20, 38, 0.96) 0%, rgba(7, 20, 38, 0.84) 48%, rgba(7, 20, 38, 0.42) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-inner {
    max-width: 44rem;
}

.hero-title {
    margin-top: 1.4rem;
    color: #ffffff;
    font-size: clamp(2.1rem, 6vw, 4rem);
    line-height: 1.25;
}

.hero-title .hl {
    color: var(--accent-color);
}

.hero-desc {
    margin-top: 1.3rem;
    max-width: 38rem;
    color: rgba(234, 240, 248, 0.88);
    font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2.2rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem 2rem;
    margin: 2.75rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    list-style: none;
}

.hero-stat {
    color: rgba(234, 240, 248, 0.9);
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-stat i {
    margin-inline-end: 0.4rem;
    color: var(--accent-color);
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
    text-align: center;
    background: var(--primary-color);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 3px;
    background: var(--gold-gradient);
}

.page-hero-title {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 4.5vw, 2.9rem);
}

.page-hero-sub {
    max-width: 46rem;
    margin: 1rem auto 0;
    color: rgba(234, 240, 248, 0.85);
    font-size: 1.05rem;
}

/* ===== Cards ===== */
.card-lux {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.card-lux:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 169, 98, 0.55);
    box-shadow: var(--shadow-card);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: rgba(10, 29, 58, 0.06);
    color: var(--primary-color);
    font-size: 1.35rem;
    transition: background 0.35s ease, color 0.35s ease;
}

.card-lux:hover .card-icon {
    background: var(--gold-gradient);
    color: #14100a;
}

.card-title {
    font-size: 1.2rem;
}

.card-text {
    margin-top: 0.7rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

.card-more {
    margin-top: auto;
    padding-top: 1.25rem;
    color: var(--secondary-hover);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

/* ===== Steps ===== */
.step-card {
    position: relative;
    height: 100%;
    padding: 2.5rem 1.75rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.step-num {
    position: absolute;
    top: -1.35rem;
    inset-inline-start: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--gold-gradient);
    color: #14100a;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.4);
}

/* ===== Notice ===== */
.notice {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid rgba(201, 169, 98, 0.45);
    border-radius: var(--radius-md);
    background: rgba(201, 169, 98, 0.09);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.notice i {
    margin-top: 0.3rem;
    color: var(--secondary-hover);
}

/* ===== Media frames ===== */
.media-frame {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Lead form section ===== */
.lead-section {
    position: relative;
    overflow: hidden;
    padding-block: clamp(4rem, 9vw, 7rem);
    background: var(--surface-dark);
    scroll-margin-top: 5rem;
}

.lead-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://files.cdn-files-a.com/admin/system_photos_stock/normal_695ba27c37e81.jpg?format=avif');
    background-size: cover;
    background-position: center;
    opacity: 0.32;
}

.lead-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 20, 38, 0.92), rgba(10, 29, 58, 0.97));
}

.lead-content {
    position: relative;
    z-index: 3;
}

.lead-head {
    max-width: 38rem;
    margin: 0 auto 2rem;
    text-align: center;
    color: #ffffff;
}

.lead-head h2 {
    margin-top: 1rem;
    color: #ffffff;
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
}

.lead-head p {
    margin-top: 0.8rem;
    color: rgba(234, 240, 248, 0.85);
}

.lead-panel {
    max-width: 36rem;
    margin-inline: auto;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-top: 4px solid var(--secondary-color);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.field + .field {
    margin-top: 1.15rem;
}

.field label {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 0.8rem;
    background: #ffffff;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.18);
}

.phone-group {
    display: flex;
    align-items: stretch;
    border: 1.5px solid var(--border-color);
    border-radius: 0.8rem;
    overflow: hidden;
    background: #ffffff;
}

.phone-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.18);
}

.phone-prefix {
    display: inline-flex;
    align-items: center;
    padding-inline: 0.9rem;
    border-inline-end: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--primary-color);
    font-weight: 700;
}

.phone-group input {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.phone-group input:focus {
    box-shadow: none;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-top: 1.15rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    cursor: pointer;
}

.consent input {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.3rem;
    accent-color: var(--secondary-hover);
}

.consent a {
    color: var(--secondary-hover);
    text-decoration: underline;
}

.form-msg {
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-msg-success {
    border: 1px solid rgba(16, 122, 87, 0.3);
    background: rgba(16, 122, 87, 0.1);
    color: #0f7a57;
}

.form-msg-error {
    border: 1px solid rgba(190, 42, 42, 0.28);
    background: rgba(190, 42, 42, 0.08);
    color: #b02a2a;
}

/* ===== FAQ ===== */
.faq-item {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.faq-item + .faq-item {
    margin-top: 0.9rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

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

.faq-chevron {
    flex: none;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-body {
    padding: 0 1.4rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.98rem;
}

/* ===== Contact ===== */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.contact-item i {
    margin-top: 0.35rem;
    color: var(--secondary-hover);
    font-size: 1.15rem;
}

.contact-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.95rem;
}

.contact-value {
    color: var(--text-muted);
    font-size: 0.98rem;
    word-break: break-word;
}

/* ===== Dark band ===== */
.band-navy {
    background: var(--primary-color);
    color: var(--text-on-dark);
}

.band-navy h2,
.band-navy h3 {
    color: #ffffff;
}

.band-navy p {
    color: rgba(234, 240, 248, 0.86);
}

/* ===== Footer ===== */
.site-footer {
    padding-block: 3.5rem 1.5rem;
    border-top: 3px solid var(--secondary-color);
    background: var(--surface-dark);
    color: rgba(234, 240, 248, 0.75);
}

.site-footer p {
    color: rgba(234, 240, 248, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 1.7fr 1fr 1fr 1fr;
    }
}

.footer-title {
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-link {
    display: block;
    padding: 0.35rem 0;
    color: rgba(234, 240, 248, 0.72);
    transition: color 0.25s ease;
}

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

.footer-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(201, 169, 98, 0.4);
    border-radius: 999px;
    color: var(--accent-color);
    transition: background 0.25s ease, color 0.25s ease;
}

.footer-social:hover {
    background: var(--secondary-color);
    color: #14100a;
}

.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(234, 240, 248, 0.6);
}

/* ===== Utilities ===== */
.num {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}