/* =============================================================
   pages.css — About, Contact, and shared page-level styles
   ============================================================= */

/* ── Page Hero (shared) ──────────────────────────────────────── */
.page-hero {
    position: relative;
    min-height: 48vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding-bottom: 0;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(3,38,79,.35) 0%,
        rgba(3,38,79,.72) 100%
    );
}

.page-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 140px;
    padding-bottom: 56px;
}

@media (max-width: 767.98px) {
    .page-hero__content {
        padding-top: 90px;
        padding-bottom: 40px;
    }
}

@media (max-width: 479.98px) {
    .page-hero__content {
        padding-top: 76px;
        padding-bottom: 32px;
    }
}

.page-hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.page-hero__content h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.1;
}

.page-hero__sub {
    font-size: 16px;
    color: rgba(255,255,255,.78);
    max-width: 520px;
    margin: 0;
    line-height: 1.6;
}

/* ── About: Stats Bar ────────────────────────────────────────── */
.about-stats-bar {
    background: var(--color-navy);
}

.about-stats-bar__inner {
    display: flex;
    align-items: stretch;
}

.about-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 28px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
    text-align: center;
}

.about-stat:last-child {
    border-right: 0;
}

.about-stat__num {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--color-gold);
    line-height: 1;
}

.about-stat__label {
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}

@media (max-width: 640px) {
    .about-stats-bar__inner {
        flex-wrap: wrap;
    }

    .about-stat {
        flex: 1 1 50%;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .about-stat:nth-child(2) {
        border-right: 0;
    }
}

/* ── About: Story Section ────────────────────────────────────── */
.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-story__media {
    position: relative;
}

.about-story__media img {
    width: 100%;
    border-radius: 20px;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    box-shadow: 0 24px 56px rgba(3,38,79,.18);
}

.about-story__media-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 12px 32px rgba(227,135,10,.35);
    text-align: center;
    color: #fff;
}

.about-story__media-badge strong {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.about-story__media-badge span {
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    opacity: .9;
}

.about-story__content p {
    color: #4a5568;
    line-height: 1.78;
    font-size: 15.5px;
    margin-bottom: 16px;
}

.about-story__content .button {
    margin-top: 8px;
}

@media (max-width: 900px) {
    .about-story__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-story__media-badge {
        bottom: -16px;
        right: 16px;
        width: 90px;
        height: 90px;
    }

    .about-story__media-badge strong {
        font-size: 1.5rem;
    }
}

/* ── Values Grid ─────────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.value-card {
    background: #fff;
    border: 1px solid #d5e0ec;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(3,38,79,.12);
    border-color: var(--color-primary);
}

.value-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(140deg, var(--color-navy) 0%, #0a3d6b 100%);
    border-radius: 18px;
    color: #b8e6ff;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(3,38,79,.20);
}

.value-card__icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.1;
}

.value-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 10px;
}

.value-card p {
    font-size: 13.5px;
    color: #475569;
    font-weight: 500;
    line-height: 1.65;
    margin: 0;
}

@media (max-width: 900px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Team Grid ───────────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.team-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6edf7;
    box-shadow: 0 4px 16px rgba(3,38,79,.07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(3,38,79,.14);
}

.team-card__photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #e8edf5;
}

.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .5s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.05);
}

.team-card__info {
    padding: 18px 20px;
    border-top: 2px solid var(--color-gold);
}

.team-card__info h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 4px;
}

.team-card__info p {
    font-size: 13px;
    color: var(--color-gold);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 900px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* ── Testimonials Premium ────────────────────────────────────── */
.testimonials-grid--premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.testimonial-card--premium {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 20px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(3,38,79,.06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonial-card--premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(3,38,79,.12);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    color: var(--color-gold);
}

.testimonial-card__quote {
    font-size: 15px;
    color: #374151;
    line-height: 1.72;
    margin: 0;
    flex: 1;
    font-style: italic;
}

.testimonial-card__quote::before {
    content: '\201C';
    font-size: 2.5rem;
    color: var(--color-gold);
    line-height: .5;
    vertical-align: -.4em;
    margin-right: 4px;
    font-style: normal;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #eef0f5;
}

.testimonial-card__avatar-initial {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a3d6b 100%);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
}

.testimonial-card__author strong {
    display: block;
    font-size: 14px;
    color: var(--color-navy);
}

.testimonial-card__author span {
    font-size: 12.5px;
    color: #8a94a6;
}

@media (max-width: 900px) {
    .testimonials-grid--premium {
        grid-template-columns: 1fr;
    }
}

/* ── FAQ Premium ─────────────────────────────────────────────── */
.faq-premium__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 64px;
    align-items: start;
}

.faq-premium__intro p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 24px;
}

.faq-premium__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item--premium {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.faq-item--premium[open] {
    border-color: rgba(227,135,10,.35);
    box-shadow: 0 6px 24px rgba(3,38,79,.09);
}

.faq-item--premium summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

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

.faq-item--premium[open] summary {
    color: var(--color-gold);
}

.faq-chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #8a94a6;
    transition: transform .25s ease;
}

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

.faq-item__body {
    padding: 0 20px 18px;
}

.faq-item__body p {
    font-size: 14.5px;
    color: #4a5568;
    line-height: 1.72;
    margin: 0;
}

@media (max-width: 900px) {
    .faq-premium__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

/* ── About CTA Banner ────────────────────────────────────────── */
.about-cta-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, #0a3d6b 100%);
    padding: 64px 0;
}

.about-cta-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.about-cta-banner__inner h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
}

.about-cta-banner__inner p {
    color: rgba(255,255,255,.65);
    margin: 0;
    font-size: 15px;
}

.about-cta-banner__actions {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.button--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
    transition: border-color .2s, background .2s;
    text-decoration: none;
}

.button--ghost:hover {
    border-color: var(--color-gold);
    background: rgba(227,135,10,.1);
}

@media (max-width: 768px) {
    .about-cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    .about-cta-banner__actions {
        flex-direction: column;
        width: 100%;
    }

    .about-cta-banner__actions .button {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE — Split layout
   ═══════════════════════════════════════════════════════════════ */

.contact-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 680px;
}

.contact-split__left,
.contact-split__right {
    min-width: 0;
}

@media (max-width: 900px) {
    .contact-split {
        grid-template-columns: 1fr;
        min-height: unset;
    }
}

@media (max-width: 640px) {
    .contact-split__left-inner,
    .contact-split__right-inner {
        padding: 40px 24px;
    }

    .contact-form-premium__row {
        grid-template-columns: 1fr;
    }
}

/* ── Left navy panel ─────────────────────────────────────────── */
.contact-split__left {
    background: linear-gradient(155deg, #03264f 0%, #071e3d 60%, #0a2d5a 100%);
    position: relative;
    overflow: hidden;
}

.contact-split__left::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: rgba(227,135,10,.07);
    pointer-events: none;
}

.contact-split__left::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(255,255,255,.03);
    pointer-events: none;
}

.contact-split__left-inner {
    position: relative;
    z-index: 1;
    padding: 64px 56px;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.contact-split__kicker {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 14px;
}

.contact-split__heading {
    font-size: clamp(2rem, 2.8vw, 3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 20px;
}

.contact-split__desc {
    font-size: 15px;
    color: rgba(255,255,255,.62);
    line-height: 1.75;
    max-width: 400px;
    margin-bottom: 40px;
}

.contact-split__items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.contact-split__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255,255,255,.06);
    transition: background .22s, border-color .22s, transform .22s;
}

.contact-split__item:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(227,135,10,.3);
    transform: translateX(4px);
}

.contact-split__item--wa:hover {
    border-color: rgba(37,211,102,.35);
    background: rgba(37,211,102,.08);
}

.contact-split__item-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22,135,217,.16);
    border: 1px solid rgba(71,183,255,.30);
    border-radius: 12px;
    color: #7dccff;
    transition: background .22s;
}

.contact-split__item-icon svg {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
}

.contact-split__item--wa .contact-split__item-icon {
    background: rgba(37,211,102,.15);
    border-color: rgba(37,211,102,.25);
    color: #25d366;
}

.contact-split__item:hover .contact-split__item-icon   { background: rgba(22,135,217,.28); }
.contact-split__item--wa:hover .contact-split__item-icon { background: rgba(37,211,102,.25); }

.contact-split__item > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-split__item strong {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.contact-split__item > div span {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    line-height: 1.4;
}

.contact-split__socials {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.contact-split__socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: rgba(255,255,255,.72);
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.contact-split__socials a:hover {
    background: rgba(22,135,217,.24);
    border-color: rgba(71,183,255,.46);
    color: #7dccff;
    transform: translateY(-3px);
}

/* ── Right form panel ────────────────────────────────────────── */
.contact-split__right {
    background: #f7f9fc;
    display: flex;
    align-items: stretch;
}

.contact-split__right-inner {
    flex: 1;
    min-width: 0;
    padding: 64px 56px;
    display: flex;
    flex-direction: column;
}

.contact-split__form-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 6px 0 8px;
    line-height: 1.2;
}

.contact-split__form-sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 32px;
}

.contact-form-premium__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.contact-form-premium__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-form-premium__row > .form-field,
.contact-form-premium__form > .form-field {
    min-width: 0;
}

/* Light contact form: override the shared dark-form controls in layout.css. */
.contact-split__right .contact-form-premium__form .form-field label {
    color: #082e5c;
}

.contact-split__right .contact-form-premium__form .form-field input,
.contact-split__right .contact-form-premium__form .form-field select,
.contact-split__right .contact-form-premium__form .form-field textarea {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    box-sizing: border-box;
    border: 1.5px solid #c8d5e3;
    border-radius: 8px;
    background: #fff;
    color: #082e5c;
    padding: 13px 15px;
    font: inherit;
    line-height: 1.4;
    caret-color: #0f6faf;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-split__right .contact-form-premium__form .form-field input::placeholder,
.contact-split__right .contact-form-premium__form .form-field textarea::placeholder {
    color: #64748b;
    opacity: 1;
}

.contact-split__right .contact-form-premium__form .form-field select:invalid {
    color: #64748b;
}

.contact-split__right .contact-form-premium__form .form-field select option {
    background: #fff;
    color: #082e5c;
}

.contact-split__right .contact-form-premium__form .form-field input:hover,
.contact-split__right .contact-form-premium__form .form-field select:hover,
.contact-split__right .contact-form-premium__form .form-field textarea:hover {
    border-color: #8fa9c0;
}

.contact-split__right .contact-form-premium__form .form-field input:focus,
.contact-split__right .contact-form-premium__form .form-field select:focus,
.contact-split__right .contact-form-premium__form .form-field textarea:focus {
    outline: none;
    border-color: #0f6faf;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 111, 175, .14);
}

.contact-split__right .contact-form-premium__form .phone-input-group {
    display: flex;
    min-width: 0;
    min-height: 52px;
    overflow: hidden;
    border: 1.5px solid #c8d5e3;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.contact-split__right .contact-form-premium__form .phone-input-group:focus-within {
    border-color: #0f6faf;
    box-shadow: 0 0 0 3px rgba(15, 111, 175, .14);
}

.contact-split__right .contact-form-premium__form .phone-input-group__prefix {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 64px;
    padding: 0 12px;
    border-inline-end: 1.5px solid #c8d5e3;
    background: #eaf2f8;
    color: #082e5c;
    font-size: 14px;
    font-weight: 700;
}

.contact-split__right .contact-form-premium__form .phone-input-group__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 49px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.contact-form-premium__form .form-field:last-of-type {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-premium__form .form-field:last-of-type textarea {
    flex: 1;
    resize: none;
    min-height: 100px;
}

/* old classes kept for compatibility */
.contact-page__grid,
.contact-page__desc,
.contact-page__info .section-heading,
.contact-info-list,
.contact-info-item,
.contact-info-item:hover,
.contact-info-item__icon,
.contact-info-item__icon--whatsapp,
.contact-socials,
.contact-social-btn,
.contact-form-card--premium,
.contact-form-card__title,
.contact-form-card__sub { /* old selectors — no longer used */ }

/* ── Contact info list ───────────────────────────────────────── */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    background: #fff;
    border: 1.5px solid #e6edf7;
    border-left: 4px solid transparent;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 32px rgba(3,38,79,.11);
    border-left-color: var(--color-gold);
    border-color: rgba(227,135,10,.25);
    border-left-color: var(--color-gold);
}

.contact-info-item__icon {
    width: 54px;
    height: 54px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, var(--color-navy) 0%, #0a3d6b 100%);
    border-radius: 15px;
    color: var(--color-gold);
    box-shadow: 0 8px 20px rgba(3,38,79,.22);
    transition: transform .25s ease;
}

.contact-info-item:hover .contact-info-item__icon {
    transform: scale(1.08);
}

.contact-info-item__icon--whatsapp {
    background: linear-gradient(140deg, #075e54 0%, #25d366 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37,211,102,.28);
}

.contact-info-item__icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-item > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.contact-info-item strong {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-navy);
    display: block;
    letter-spacing: .01em;
}

.contact-info-item span {
    font-size: 14px;
    color: #64748b;
    line-height: 1.45;
}

/* ── Social buttons ──────────────────────────────────────────── */
.contact-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1.5px solid #e0e7f0;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.contact-social-btn:hover {
    border-color: var(--color-gold);
    background: rgba(227,135,10,.06);
    color: var(--color-gold);
    transform: translateY(-2px);
}

/* ── Contact form card ───────────────────────────────────────── */
.contact-form-card--premium {
    background: #fff;
    border: 1px solid #e6edf7;
    border-radius: 24px;
    padding: 40px 36px;
    box-shadow: 0 12px 48px rgba(3,38,79,.10);
    display: flex;
    flex-direction: column;
}

.contact-form-card--premium .contact-form-premium__form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form-card--premium .contact-form-premium__form .form-field:last-of-type {
    flex: 1;
}

.contact-form-card--premium .contact-form-premium__form .form-field:last-of-type textarea {
    min-height: 120px;
    height: 100%;
    resize: none;
}

.contact-form-card__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 6px;
}

.contact-form-card__sub {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 28px;
}

.contact-form-premium__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-premium__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.button--full {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

/* ── Map section ─────────────────────────────────────────────── */
.contact-map-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 16px 48px rgba(3,38,79,.14);
}

.contact-map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.contact-map-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 8px 32px rgba(3,38,79,.18);
    max-width: 300px;
    color: var(--color-navy);
}

.contact-map-badge svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.contact-map-badge strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--color-navy);
}

.contact-map-badge span {
    font-size: 12.5px;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-page__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-card--premium {
        position: static;
    }
}

@media (max-width: 640px) {
    .contact-form-card--premium {
        padding: 28px 20px;
    }

    .contact-form-premium__row {
        grid-template-columns: 1fr;
    }

    .contact-info-item span {
        white-space: normal;
    }
}

.button--outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 20px;
    border: 2px solid var(--color-navy);
    border-radius: 12px;
    color: var(--color-navy);
    font-size: 13.5px;
    font-weight: 700;
    background: transparent;
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}

.button--outline-navy:hover {
    background: var(--color-navy);
    color: #fff;
}


/* =============================================================
   Legal pages (Privacy, Cookie Policy, Terms)
   ============================================================= */

.legal-hero {
    background: var(--color-navy);
    padding: 128px 0 52px;
    text-align: center;
    color: #fff;
    margin-top: calc(-1 * var(--header-h));
}

.legal-hero .section-kicker {
    color: var(--color-gold);
    margin-bottom: 12px;
}

.legal-hero h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 14px;
}

.legal-hero__meta {
    font-size: .88rem;
    color: rgba(255,255,255,.5);
    margin: 0;
}

/* ── Section wrapper ───────────────────────────────────────── */
.legal-section {
    padding: 64px 0 96px;
    background: #f8f9fb;
}

.legal-wrap {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
    max-width: 1020px;
}

/* ── Table of contents ─────────────────────────────────────── */
.legal-toc {
    position: sticky;
    top: 100px;
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 14px;
    padding: 20px;
}

.legal-toc__title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-gold);
    margin: 0 0 12px;
}

.legal-toc ol {
    margin: 0;
    padding: 0 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc li {
    font-size: .82rem;
    line-height: 1.4;
}

.legal-toc a {
    color: #6b7a90;
    text-decoration: none;
    transition: color .15s;
}

.legal-toc a:hover {
    color: var(--color-navy);
}

/* ── Body ──────────────────────────────────────────────────── */
.legal-body {
    background: #fff;
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    padding: 40px 44px;
}

.legal-intro {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #eef0f4;
}

.legal-body h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 32px 0 12px;
    padding-top: 8px;
    scroll-margin-top: 110px;
}

.legal-body h2:first-of-type {
    margin-top: 0;
}

.legal-body p {
    font-size: .9375rem;
    color: #4a5568;
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-body ul,
.legal-body ol {
    margin: 0 0 16px 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.legal-body li {
    font-size: .9375rem;
    color: #4a5568;
    line-height: 1.65;
}

.legal-body a {
    color: var(--color-navy);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-body a:hover {
    color: var(--color-gold);
}

/* ── Contact box ───────────────────────────────────────────── */
.legal-contact-box {
    background: rgba(3,38,79,.04);
    border: 1px solid rgba(3,38,79,.1);
    border-left: 4px solid var(--color-gold);
    border-radius: 10px;
    padding: 18px 20px;
    font-size: .9rem;
    color: #4a5568;
    line-height: 1.8;
    margin-top: 8px;
}

.legal-contact-box a {
    color: var(--color-navy);
}

/* ── Table ─────────────────────────────────────────────────── */
.legal-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
    border-radius: 10px;
    border: 1px solid #e2e6ef;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875rem;
    min-width: 520px;
}

.legal-table th {
    padding: 11px 14px;
    text-align: left;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #6b7a90;
    background: #f8f9fb;
    border-bottom: 1px solid #e2e6ef;
}

.legal-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #eef0f4;
    color: #4a5568;
    vertical-align: top;
    line-height: 1.6;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .legal-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .legal-toc {
        position: static;
    }

    .legal-body {
        padding: 28px 20px;
    }
}


/* =============================================================
   Upload Property page  (.up-*)
   ============================================================= */

/* ── Hero ──────────────────────────────────────────────────── */
.up-hero {
    background: var(--color-navy);
    padding: 128px 0 64px;
    text-align: center;
    color: #fff;
    margin-top: calc(-1 * var(--header-h));
}

.up-hero .section-kicker {
    color: var(--color-gold);
    margin-bottom: 14px;
}

.up-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.15;
}

.up-hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    max-width: 520px;
    margin: 0 auto;
}

/* ── Form section wrapper ──────────────────────────────────── */
.up-form-section {
    background: #f4f6f9;
    padding: 72px 0 96px;
}

.up-form-wrap {
    max-width: 780px;
    margin: 0 auto;
}

/* ── Step indicator ────────────────────────────────────────── */
.up-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

.up-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 90px;
}

.up-step__circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #cdd3dc;
    background: #fff;
    color: #8a94a6;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .3s, border-color .3s, color .3s;
}

.up-step span {
    font-size: .75rem;
    font-weight: 600;
    color: #8a94a6;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-align: center;
    white-space: nowrap;
    transition: color .3s;
}

.up-steps__line {
    flex: 1;
    height: 2px;
    background: #cdd3dc;
    margin-bottom: 22px;
    transition: background .4s;
}

.up-step.is-active .up-step__circle {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}
.up-step.is-active span {
    color: var(--color-navy);
}

.up-step.is-done .up-step__circle {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
    font-size: 0;
}
.up-step.is-done .up-step__circle::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-2px);
}
.up-step.is-done span {
    color: var(--color-gold);
}
.up-steps__line.is-done {
    background: var(--color-gold);
}

/* ── Form card ─────────────────────────────────────────────── */
.up-form-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(3,38,79,.08);
    overflow: hidden;
}

/* ── Panel ─────────────────────────────────────────────────── */
.up-panel {
    display: none;
    padding: 44px 48px 40px;
}
.up-panel.is-active {
    display: block;
}

.up-panel__head {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eef0f4;
}
.up-panel__head h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 6px;
}
.up-panel__head p {
    font-size: .93rem;
    color: #6b7585;
    margin: 0;
}

/* ── Field grid ────────────────────────────────────────────── */
.up-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-bottom: 32px;
}

.up-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

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

.up-field > label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.up-field > label span {
    color: var(--color-gold);
    margin-left: 2px;
}

.up-field input[type="text"],
.up-field input[type="email"],
.up-field input[type="tel"],
.up-field input[type="number"],
.up-field textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d8dce6;
    border-radius: 10px;
    font-size: .95rem;
    color: var(--color-ink);
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
}

.up-field input:focus,
.up-field textarea:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(3,38,79,.08);
}

.up-field textarea {
    resize: vertical;
    min-height: 110px;
}

/* select wrapper */
.up-select-wrap {
    position: relative;
}
.up-select-wrap::after {
    content: '';
    pointer-events: none;
    position: absolute;
    right: 14px;
    top: 40%;
    width: 8px;
    height: 8px;
    border-right: 1.8px solid #8a94a6;
    border-bottom: 1.8px solid #8a94a6;
    transform: rotate(45deg);
}
.up-select-wrap select {
    width: 100%;
    padding: 11px 38px 11px 14px;
    border: 1.5px solid #d8dce6;
    border-radius: 10px;
    font-size: .95rem;
    color: var(--color-ink);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.up-select-wrap select:focus {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(3,38,79,.08);
}

/* AED prefix input */
.up-input-prefix {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #d8dce6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.up-input-prefix:focus-within {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(3,38,79,.08);
}
.up-input-prefix > span {
    padding: 11px 14px;
    background: #f4f6f9;
    font-size: .82rem;
    font-weight: 700;
    color: #6b7585;
    border-right: 1.5px solid #d8dce6;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.up-input-prefix input {
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 11px 14px;
    min-width: 0;
}

/* Phone prefix */
.up-phone-wrap {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #d8dce6;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.up-phone-wrap:focus-within {
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(3,38,79,.08);
}
.up-phone-prefix {
    padding: 11px 14px;
    background: #f4f6f9;
    font-size: .88rem;
    font-weight: 600;
    color: var(--color-navy);
    border-right: 1.5px solid #d8dce6;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}
.up-phone-wrap input {
    flex: 1;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 11px 14px;
    min-width: 0;
}

/* ── Property type radio grid ──────────────────────────────── */
.up-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.up-type-btn input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.up-type-btn span {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 10px 14px;
    border: 1.5px solid #d8dce6;
    border-radius: 12px;
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
    color: #6b7585;
    cursor: pointer;
    text-align: center;
    transition: border-color .2s, color .2s, box-shadow .2s, background .2s;
    user-select: none;
}

.up-type-btn span svg {
    color: #a0a9b8;
    transition: color .2s;
}

.up-type-btn:hover span {
    border-color: var(--color-navy);
    color: var(--color-navy);
    background: rgba(3,38,79,.04);
}
.up-type-btn:hover span svg {
    color: var(--color-navy);
}

.up-type-btn.is-selected span {
    border-color: var(--color-gold);
    background: rgba(227,135,10,.06);
    color: var(--color-gold);
    box-shadow: 0 2px 12px rgba(227,135,10,.15);
}
.up-type-btn.is-selected span svg {
    color: var(--color-gold);
}

/* ── Status toggles ────────────────────────────────────────── */
.up-toggle-group {
    display: flex;
    gap: 12px;
}

.up-toggle input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.up-toggle span {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    border: 1.5px solid #d8dce6;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 600;
    color: #6b7585;
    cursor: pointer;
    background: #fff;
    transition: all .2s;
    user-select: none;
}

.up-toggle:hover span {
    border-color: var(--color-navy);
    color: var(--color-navy);
}

.up-toggle.is-selected span {
    background: var(--color-navy);
    border-color: var(--color-navy);
    color: #fff;
}

/* ── Navigation row ────────────────────────────────────────── */
.up-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 8px;
    border-top: 1px solid #eef0f4;
}

/* ── Buttons ───────────────────────────────────────────────── */
.up-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s, background .2s;
    font-family: inherit;
    text-decoration: none;
    line-height: 1;
}

.up-btn--next {
    background: var(--color-navy);
    color: #fff;
    box-shadow: 0 4px 16px rgba(3,38,79,.2);
}
.up-btn--next:hover {
    background: #042e65;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(3,38,79,.28);
    color: #fff;
}

.up-btn--submit {
    background: linear-gradient(135deg, var(--color-gold) 0%, #c97a08 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(227,135,10,.3);
}
.up-btn--submit:hover {
    background: linear-gradient(135deg, #e89510 0%, #b86e07 100%);
    box-shadow: 0 8px 24px rgba(227,135,10,.4);
    transform: translateY(-1px);
    color: #fff;
}

.up-btn--back {
    background: transparent;
    color: #6b7585;
    padding-left: 4px;
    box-shadow: none;
}
.up-btn--back:hover {
    color: var(--color-navy);
    transform: none;
    box-shadow: none;
}

/* ── Success screen ────────────────────────────────────────── */
.up-success {
    padding: 64px 48px;
    text-align: center;
}
.up-success[hidden] { display: none; }
.up-success.is-active { display: block; }

.up-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #1da851);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fff;
    box-shadow: 0 8px 28px rgba(37,211,102,.3);
}

.up-success h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 12px;
}

.up-success p {
    font-size: 1rem;
    color: #6b7585;
    max-width: 400px;
    margin: 0 auto 32px;
}

.up-success .up-btn--next {
    display: inline-flex;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 767px) {
    .up-panel {
        padding: 32px 24px 28px;
    }

    .up-fields {
        grid-template-columns: 1fr;
    }

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

    .up-step {
        min-width: 60px;
    }

    .up-step span {
        font-size: .65rem;
    }

    .up-step__circle {
        width: 34px;
        height: 34px;
        font-size: .8rem;
    }

    .up-success {
        padding: 48px 24px;
    }
}

@media (max-width: 479px) {
    .up-toggle-group {
        flex-wrap: wrap;
    }

    .up-nav {
        flex-direction: column-reverse;
        gap: 12px;
        align-items: stretch;
    }

    .up-btn {
        justify-content: center;
    }

    .up-btn--back {
        order: 2;
        text-align: center;
        padding: 10px;
    }
}

/* ── 404 Not Found page (.page-404) ─────────────────────────────── */
.page-404 .nf-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: #f4f6fa;
    padding: 80px 0;
}

.page-404 .nf-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.page-404 .nf-code {
    font-size: clamp(6rem, 18vw, 10rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.05em;
    color: transparent;
    -webkit-text-stroke: 3px rgba(3, 38, 79, 0.12);
    user-select: none;
}

.page-404 .nf-title {
    margin: 0;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #03264f;
    letter-spacing: -0.03em;
}

.page-404 .nf-body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #6b7280;
    max-width: 36rem;
}

.page-404 .nf-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.page-404 .nf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, color .2s, box-shadow .2s;
}

.page-404 .nf-btn--primary {
    background: #c9a96e;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(201, 169, 110, 0.3);
}

.page-404 .nf-btn--primary:hover {
    background: #a8863c;
    box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.page-404 .nf-btn--ghost {
    background: #ffffff;
    color: #03264f;
    border: 1.5px solid rgba(3, 38, 79, 0.15);
}

.page-404 .nf-btn--ghost:hover {
    background: #f0f4f8;
    border-color: rgba(3, 38, 79, 0.25);
}
