/* =====================================================================
   Adorned — contact / enquire page
   Two-panel invitation card. Form controls reuse the global .enq-*
   styles from theme.css; this file handles the page layout + atmosphere.
   ===================================================================== */
.contact-section {
    position: relative;
    overflow: hidden;
    padding: clamp(5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 7rem);
    background:
        radial-gradient(120% 80% at 50% -10%, rgba(176, 141, 87, 0.08), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, var(--cream) 45%, #f3ede3 100%);
}
.contact-section .container { position: relative; z-index: 1; }

/* Ambient glow + sparkles */
.contact-atmo { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.contact-glow {
    position: absolute;
    top: -15%; left: 50%;
    width: 900px; height: 520px; max-width: 120%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(216, 176, 106, 0.16), transparent 65%);
    animation: cGlow 8s ease-in-out infinite;
}
@keyframes cGlow { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.contact-spark { position: absolute; width: 16px; height: 16px; color: var(--brand); opacity: 0; animation: cSpark 6s ease-in-out infinite; }
.contact-spark svg { width: 100%; height: 100%; fill: currentColor; filter: drop-shadow(0 0 6px rgba(216, 176, 106, 0.7)); }
.contact-spark.cs-1 { top: 16%; left: 10%; animation-delay: 0s; }
.contact-spark.cs-2 { top: 30%; right: 12%; animation-delay: 1.4s; width: 12px; height: 12px; }
.contact-spark.cs-3 { top: 66%; left: 6%; animation-delay: 2.6s; width: 14px; height: 14px; }
.contact-spark.cs-4 { top: 74%; right: 16%; animation-delay: 0.9s; }
.contact-spark.cs-5 { top: 20%; left: 52%; animation-delay: 3.4s; width: 12px; height: 12px; }
@keyframes cSpark {
    0%, 100% { opacity: 0; transform: translateY(6px) scale(0.5) rotate(0deg); }
    40% { opacity: 1; }
    55% { opacity: 1; transform: translateY(-8px) scale(1) rotate(45deg); }
    75% { opacity: 0; }
}

/* Header */
.contact-head { text-align: center; max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.contact-head .section-sparkle { display: inline-flex; width: 30px; height: 30px; margin-bottom: 0.4rem; }
.contact-head .section-sparkle svg { width: 100%; height: 100%; fill: var(--brand); animation: cTwinkle 2.8s ease-in-out infinite; }
@keyframes cTwinkle { 0%, 100% { opacity: 0.55; transform: scale(0.85) rotate(0); } 50% { opacity: 1; transform: scale(1.12) rotate(45deg); } }
.contact-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    line-height: 1.1;
    color: var(--ink);
    margin: 0.3rem 0 1rem;
}
.contact-title .accent { color: var(--brand); font-style: italic; }
.contact-sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.7; margin: 0 auto; max-width: 46ch; }

/* Shell */
.contact-shell {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 1080px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(38, 34, 30, 0.14);
}

/* Invitation panel (dark, atmospheric) */
.contact-aside {
    position: relative;
    padding: clamp(2rem, 3.6vw, 3rem);
    color: #e7e0d6;
    background:
        radial-gradient(90% 55% at 15% 0%, rgba(216, 176, 106, 0.22), transparent 60%),
        linear-gradient(160deg, #241f18 0%, #17120d 100%);
}
.contact-aside-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: #fff; margin: 0 0 0.8rem; line-height: 1.15; }
.contact-aside-lead { color: rgba(255, 255, 255, 0.72); line-height: 1.7; margin: 0 0 1.6rem; font-size: 0.98rem; }
.contact-points { list-style: none; padding: 0; margin: 0 0 1.7rem; display: grid; gap: 0.7rem; }
.contact-points li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.92rem; color: #e7e0d6; line-height: 1.5; }
.contact-points i { flex: 0 0 auto; margin-top: 0.15rem; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #1c1712; font-size: 0.7rem; display: inline-flex; align-items: center; justify-content: center; }

.contact-details { display: grid; gap: 0.3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 1.6rem; }
.contact-detail { display: flex; align-items: center; gap: 0.8rem; padding: 0.5rem 0; color: #e7e0d6; text-decoration: none; transition: color 0.3s ease; }
a.contact-detail:hover { color: #fff; }
.contact-detail-ico {
    flex: 0 0 auto;
    width: 40px; height: 40px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--brand); font-size: 1rem;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
a.contact-detail:hover .contact-detail-ico { background: var(--brand); color: #1c1712; border-color: var(--brand); }
.contact-detail-label { display: block; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9c968c; margin-bottom: 0.1rem; }

.contact-social { display: flex; gap: 0.6rem; }
.contact-social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: inline-flex; align-items: center; justify-content: center;
    color: #e7e0d6; font-size: 1rem; text-decoration: none;
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.contact-social a:hover { background: var(--brand); border-color: var(--brand); color: #1c1712; transform: translateY(-4px) rotate(6deg); }

/* Form panel */
.contact-form-card { padding: clamp(2rem, 3.6vw, 3rem); }
.contact-ok {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    background: #eef6ec; color: #2f6b3a; border: 1px solid #cfe6c9;
    font-size: 0.95rem; margin-bottom: 1.4rem;
}
.contact-ok i { font-size: 1.1rem; flex: 0 0 auto; }

@media (max-width: 860px) {
    .contact-shell { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 520px) {
    .contact-section .enq-row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .contact-glow, .contact-spark, .contact-head .section-sparkle svg { animation: none; }
    .contact-spark { opacity: 0; }
    .contact-detail, .contact-social a, .contact-detail-ico { transition: none; }
}
