:root {
    --astcontact-white: #ffffff;
    --astcontact-ivory: #fffaf5;
    --astcontact-ivory-deep: #fff3e7;
    --astcontact-heading: #222222;
    --astcontact-body: #666666;
    --astcontact-orange: #ff7a00;
    --astcontact-orange-deep: #c8580a;
    --astcontact-border: #f0e2d2;
    --astcontact-shadow-sm: 0 6px 18px rgba(34, 24, 12, 0.06);
    --astcontact-shadow-lg: 0 24px 60px rgba(34, 24, 12, 0.12);

    --astcontact-font-display: 'Cormorant Garamond', Georgia, serif;
    --astcontact-font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --astcontact-radius-sm: 14px;
    --astcontact-radius-lg: 28px;
    --astcontact-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset (scoped) ---------- */
.astcontact-page,
.astcontact-page * {
    box-sizing: border-box;
}

.astcontact-page {
    background: var(--astcontact-white);
    color: var(--astcontact-body);
    font-family: var(--astcontact-font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

.astcontact-page a {
    color: var(--astcontact-orange-deep);
    text-decoration: none;
}

.astcontact-page a:hover {
    text-decoration: underline;
}

/* ---------- Shared reveal ---------- */
[data-astreveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--astcontact-ease), transform 0.8s var(--astcontact-ease);
}

[data-astreveal].astcontact-is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    [data-astreveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Eyebrow label ---------- */
.astcontact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--astcontact-font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--astcontact-orange-deep);
    margin: 0 0 22px;
}

.astcontact-eyebrow__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--astcontact-orange);
    box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.16);
    flex-shrink: 0;
}

.astcontact-eyebrow--center {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   SECTION 1 — HERO
   ========================================================================== */

.astcontact-hero {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    padding: 110px 24px 80px;
    text-align: center;
}

.astcontact-hero__orb {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 620px;
    height: 620px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(255, 122, 0, 0.09) 0%, rgba(255, 122, 0, 0) 68%);
    pointer-events: none;
    z-index: 0;
}

.astcontact-hero__title {
    position: relative;
    font-family: var(--astcontact-font-display);
    font-weight: 600;
    font-size: clamp(2.6rem, 5.2vw, 4.4rem);
    line-height: 1.12;
    color: var(--astcontact-heading);
    margin: 0 0 24px;
    letter-spacing: -0.01em;
}

.astcontact-hero__title em {
    font-style: italic;
    color: var(--astcontact-orange);
}

.astcontact-hero__text {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--astcontact-body);
}

/* ==========================================================================
   SECTION 2 — INFO CARDS + FORM
   ========================================================================== */

.astcontact-main {
    padding: 20px 24px 100px;
}

.astcontact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 48px;
    align-items: start;
}

/* ---------- Info cards column ---------- */
.astcontact-info {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-left: 28px;
}

.astcontact-constellation {
    position: absolute;
    left: -4px;
    top: 0;
    width: 24px;
    height: 100%;
    overflow: visible;
}

.astcontact-constellation__path {
    fill: none;
    stroke: var(--astcontact-orange);
    stroke-width: 1.4;
    stroke-dasharray: 6 7;
    stroke-linecap: round;
    opacity: 0.35;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.6s var(--astcontact-ease);
}

.astcontact-constellation__dot {
    fill: var(--astcontact-orange);
    opacity: 0;
    transition: opacity 0.5s ease 1.1s;
}

.astcontact-constellation--drawn .astcontact-constellation__path {
    stroke-dashoffset: 0;
}

.astcontact-constellation--drawn .astcontact-constellation__dot {
    opacity: 0.9;
}

@media (max-width: 991px) {
    .astcontact-constellation { display: none; }
    .astcontact-info { padding-left: 0; }
}

.astcontact-card {
    position: relative;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: var(--astcontact-white);
    border: 1px solid var(--astcontact-border);
    border-radius: var(--astcontact-radius-sm);
    padding: 26px 24px;
    box-shadow: var(--astcontact-shadow-sm);
    transition: transform 0.4s var(--astcontact-ease), box-shadow 0.4s var(--astcontact-ease), border-color 0.4s var(--astcontact-ease);
}

.astcontact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--astcontact-shadow-lg);
    border-color: var(--astcontact-orange);
}

.astcontact-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--astcontact-ivory-deep);
    color: var(--astcontact-orange-deep);
    transition: background 0.4s ease, color 0.4s ease, transform 0.4s var(--astcontact-ease);
}

.astcontact-card__icon svg {
    width: 22px;
    height: 22px;
}

.astcontact-card:hover .astcontact-card__icon {
    background: var(--astcontact-orange);
    color: var(--astcontact-white);
    transform: scale(1.06);
}

.astcontact-card__title {
    font-family: var(--astcontact-font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--astcontact-heading);
    margin: 0 0 6px;
}

.astcontact-card__text {
    font-size: 0.92rem;
    color: var(--astcontact-body);
    margin: 0;
}

/* ---------- Form column ---------- */
.astcontact-formwrap {
    background: var(--astcontact-ivory);
    border: 1px solid var(--astcontact-border);
    border-radius: var(--astcontact-radius-lg);
    padding: 48px 44px;
    box-shadow: var(--astcontact-shadow-sm);
}

.astcontact-formwrap__title {
    font-family: var(--astcontact-font-display);
    font-weight: 600;
    font-size: 2rem;
    color: var(--astcontact-heading);
    margin: 0 0 8px;
}

.astcontact-formwrap__sub {
    font-size: 0.94rem;
    color: var(--astcontact-body);
    margin: 0 0 32px;
}

.astcontact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
}

.astcontact-field {
    grid-column: 1 / -1;
    position: relative;
}

.astcontact-field--half {
    grid-column: span 1;
}

@media (max-width: 560px) {
    .astcontact-field--half { grid-column: 1 / -1; }
}

.astcontact-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1.5px solid var(--astcontact-border);
    padding: 10px 2px 10px;
    font-family: var(--astcontact-font-body);
    font-size: 0.98rem;
    color: var(--astcontact-heading);
    transition: border-color 0.3s ease;
}

.astcontact-textarea {
    resize: vertical;
    min-height: 84px;
    padding-top: 14px;
}

.astcontact-input:focus {
    outline: none;
    border-bottom-color: var(--astcontact-orange);
}

.astcontact-input--error {
    border-bottom-color: #d94f4f;
}

.astcontact-label {
    position: absolute;
    left: 2px;
    top: 10px;
    font-size: 0.98rem;
    color: #9a9a9a;
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.25s var(--astcontact-ease), color 0.25s ease, top 0.25s ease;
}

.astcontact-input:focus + .astcontact-label,
.astcontact-input:not(:placeholder-shown) + .astcontact-label {
    transform: translateY(-20px) scale(0.82);
    color: var(--astcontact-orange-deep);
}

/* Select needs its own filled-state trigger since it has no placeholder-shown */
.astcontact-label--select {
    transform-origin: left top;
}

.astcontact-select.astcontact-input--filled + .astcontact-label--select,
.astcontact-select:focus + .astcontact-label--select {
    transform: translateY(-20px) scale(0.82);
    color: var(--astcontact-orange-deep);
}

.astcontact-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF7A00' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 18px;
    cursor: pointer;
}

.astcontact-checkbox {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--astcontact-body);
    cursor: pointer;
    user-select: none;
}

.astcontact-checkbox input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.astcontact-checkbox__box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 1.5px solid var(--astcontact-border);
    background: var(--astcontact-white);
    position: relative;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.astcontact-checkbox__box::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid var(--astcontact-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.astcontact-checkbox input:checked + .astcontact-checkbox__box {
    background: var(--astcontact-orange);
    border-color: var(--astcontact-orange);
}

.astcontact-checkbox input:checked + .astcontact-checkbox__box::after {
    opacity: 1;
}

.astcontact-checkbox input:focus-visible + .astcontact-checkbox__box {
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.25);
}

/* ---------- Buttons ---------- */
.astcontact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    font-family: var(--astcontact-font-body);
    font-weight: 600;
    font-size: 0.96rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.35s var(--astcontact-ease), box-shadow 0.35s var(--astcontact-ease), background 0.35s ease;
}

.astcontact-btn svg {
    width: 18px;
    height: 18px;
}

.astcontact-btn--submit {
    grid-column: 1 / -1;
    justify-self: start;
    padding: 16px 40px;
    color: var(--astcontact-white);
    background: linear-gradient(135deg, var(--astcontact-orange) 0%, var(--astcontact-orange-deep) 100%);
    box-shadow: 0 14px 30px rgba(255, 122, 0, 0.28);
}

.astcontact-btn--submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(255, 122, 0, 0.36);
}

.astcontact-form__note {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.88rem;
    min-height: 1.2em;
}

.astcontact-form__note--success { color: #1f8a4d; }
.astcontact-form__note--error { color: #d94f4f; }

/* ==========================================================================
   SECTION 3 — MAP
   ========================================================================== */

.astcontact-mapsection {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 100px;
    text-align: center;
}

.astcontact-mapsection__title {
    font-family: var(--astcontact-font-display);
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--astcontact-heading);
    margin: 0 0 34px;
}

.astcontact-map {
    width: 100%;
    aspect-ratio: 16 / 6;
    border-radius: var(--astcontact-radius-lg);
    overflow: hidden;
    box-shadow: var(--astcontact-shadow-lg);
    border: 1px solid var(--astcontact-border);
}

.astcontact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(12%) contrast(1.02);
}

@media (max-width: 767px) {
    .astcontact-map { aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   SECTION 4 — QUICK CONTACT BANNER
   ========================================================================== */

.astcontact-banner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 110px;
    padding: 56px 52px;
    border-radius: var(--astcontact-radius-lg);
    background: linear-gradient(120deg, var(--astcontact-orange) 0%, var(--astcontact-orange-deep) 100%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(200, 88, 10, 0.28);
}

.astcontact-banner__glow {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.astcontact-banner__content {
    position: relative;
    max-width: 520px;
}

.astcontact-banner__title {
    font-family: var(--astcontact-font-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    color: var(--astcontact-white);
    margin: 0 0 10px;
}

.astcontact-banner__text {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.astcontact-banner__actions {
    position: relative;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.astcontact-btn--call {
    padding: 15px 30px;
    background: var(--astcontact-white);
    color: var(--astcontact-orange-deep);
}

.astcontact-btn--call:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16);
}

.astcontact-btn--whatsapp {
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.18);
    color: var(--astcontact-white);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.astcontact-btn--whatsapp:hover {
    background: rgba(0, 0, 0, 0.28);
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

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

    .astcontact-formwrap {
        padding: 38px 28px;
    }

    .astcontact-banner {
        padding: 44px 32px;
    }
}

@media (max-width: 767px) {
    .astcontact-hero {
        padding: 84px 20px 60px;
    }

    .astcontact-main {
        padding: 10px 18px 70px;
    }

    .astcontact-formwrap {
        padding: 32px 22px;
        border-radius: 20px;
    }

    .astcontact-card {
        padding: 22px 18px;
    }

    .astcontact-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 80px;
    }

    .astcontact-banner__actions {
        width: 100%;
    }

    .astcontact-btn--call,
    .astcontact-btn--whatsapp {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .astcontact-hero__title {
        font-size: 2.1rem;
    }

    .astcontact-formwrap__title {
        font-size: 1.6rem;
    }
}