/* =============================================================
   saviliate-contact.css
   Contact page styles — all scoped under body.sv
   Depends on: saviliate-landing.css (tokens, base components)
   ============================================================= */


/* ── SECTION 1: HERO — full-width, centred ─────────────────── */
.sv .sv-contact-hero {
    padding-top: 10rem;
    padding-bottom: 5.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.sv .sv-contact-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 70% 80% at 50% 60%, rgba(26,74,74,.32) 0%, transparent 65%),
        radial-gradient(ellipse 38% 38% at 82% 15%, rgba(201,169,110,.07) 0%, transparent 60%),
        radial-gradient(ellipse 32% 32% at 18% 18%, rgba(201,169,110,.05) 0%, transparent 60%);
    pointer-events: none;
}

.sv .sv-contact-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: .68rem; letter-spacing: .22em; text-transform: uppercase;
    color: var(--sv-gold);
    display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
}

/* Rules on both sides of the eyebrow text */
.sv .sv-contact-eyebrow::before,
.sv .sv-contact-eyebrow::after {
    content: ''; width: 22px; height: 1px; background: var(--sv-gold);
}

.sv .sv-contact-heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 300; line-height: 1.06; color: #fff;
}

.sv .sv-contact-heading em {
    font-style: italic;
    color: var(--sv-gold);
}

.sv .sv-contact-sub {
    font-size: .98rem; color: rgba(255,255,255,.5); line-height: 1.85;
    max-width: 540px; margin-left: auto; margin-right: auto;
}

.sv .sv-response-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: 'DM Mono', monospace;
    font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.35);
    padding: .5rem .9rem;
    border: 1px solid var(--sv-border); border-radius: 100px;
}

.sv .sv-response-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80; box-shadow: 0 0 8px #4ade80;
    animation: sv-pulse-dot 2s ease-in-out infinite;
}

@keyframes sv-pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: .4; }
}


/* ── SECTION 2: INFO CARDS — horizontal flex, centred ──────── */
.sv .sv-info-strip {
    background: var(--sv-ink2);
    border-top: 1px solid var(--sv-border);
    border-bottom: 1px solid var(--sv-border);
    padding: 3.5rem 0;
}

/* The 1px gap between cards uses the border colour as background,
   creating the hairline divider effect */
.sv .sv-info-cards {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 1px;
    background: var(--sv-border);   /* shows through the 1px gaps */
    border: 1px solid var(--sv-border);
}

/* flex:1 1 0 (not 1 1 180px) ensures all five cards grow equally
   and fill the row — prevents side colour bleed on cards 4 & 5 */
.sv .sv-info-card {
    flex: 1 1 0;
    min-width: 160px;
    background: var(--sv-ink2);
    padding: 1.75rem 1.2rem;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: .65rem;
    transition: background .25s;
}

.sv .sv-info-card:hover {
    background: rgba(26,74,74,.18);
}

.sv .sv-info-card-icon {
    width: 42px; height: 42px;
    background: rgba(201,169,110,.08); border: 1px solid var(--sv-border); border-radius: 2px;
    display: grid; place-items: center;
    font-size: 1rem; color: var(--sv-gold);
}

.sv .sv-info-card-label {
    font-family: 'DM Mono', monospace;
    font-size: .6rem; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.32);
}

.sv .sv-info-card-value {
    font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.55;
}

.sv .sv-info-card-value a {
    color: inherit; text-decoration: none; transition: color .2s;
}

.sv .sv-info-card-value a:hover    { color: var(--sv-gold); }
.sv .sv-info-card-value a.sv-wa:hover { color: #25D366; }

/* Social strip */
.sv .sv-social-strip { padding: 2.5rem 0 0; }

.sv .sv-social-strip-inner {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
}

.sv .sv-social-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    font-family: 'DM Mono', monospace;
    font-size: .65rem; letter-spacing: .08em; text-transform: uppercase;
    color: rgba(255,255,255,.55);
    border: 1px solid var(--sv-border); border-radius: 2px;
    padding: .45rem .85rem; text-decoration: none;
    transition: color .22s, border-color .22s, background .22s;
    white-space: nowrap;
}

.sv .sv-social-btn i { font-size: .9rem; line-height: 1; }

/* Default hover */
.sv .sv-social-btn:hover {
    color: #fff;
    border-color: rgba(201,169,110,.5);
    background: rgba(201,169,110,.07);
}

/* Per-brand hover colours */
.sv .sv-social-btn[aria-label="LinkedIn"]:hover    { border-color: rgba(10,102,194,.6);  color: #0a66c2; background: rgba(10,102,194,.08); }
.sv .sv-social-btn[aria-label="X (Twitter)"]:hover { border-color: rgba(255,255,255,.4); color: #fff;    background: rgba(255,255,255,.06); }
.sv .sv-social-btn[aria-label="Facebook"]:hover    { border-color: rgba(24,119,242,.6);  color: #1877f2; background: rgba(24,119,242,.08); }
.sv .sv-social-btn[aria-label="Instagram"]:hover   { border-color: rgba(225,48,108,.5);  color: #e1306c; background: rgba(225,48,108,.07); }
.sv .sv-social-btn[aria-label="YouTube"]:hover     { border-color: rgba(255,0,0,.5);     color: #ff0000; background: rgba(255,0,0,.07);  }
.sv .sv-social-btn[aria-label="TikTok"]:hover      { border-color: rgba(105,201,208,.5); color: #69c9d0; background: rgba(105,201,208,.07); }


/* ── SECTION 3: CONTACT FORM — centred panel ───────────────── */
.sv .sv-contact-form-section { padding: 5rem 0; }

.sv .sv-contact-panel {
    background: var(--sv-ink2); border: 1px solid var(--sv-border);
    position: relative; overflow: hidden;
}

/* Gold top-edge accent line */
.sv .sv-contact-panel::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--sv-gold), transparent);
    opacity: .6;
}

/* Field labels */
.sv .sv-field-label {
    font-family: 'DM Mono', monospace;
    font-size: .63rem; letter-spacing: .15em; text-transform: uppercase;
    color: rgba(255,255,255,.45); margin-bottom: .45rem; display: block;
}

/* Input / select / textarea base */
.sv .sv-field {
    background: rgba(255,255,255,.04); border: 1px solid rgba(201,169,110,.15);
    border-radius: 2px; color: #fff;
    font-family: 'Outfit', sans-serif; font-size: .9rem;
    padding: .75rem 1rem; width: 100%;
    transition: border-color .25s, background .25s, box-shadow .25s;
    -webkit-appearance: none;
}

.sv .sv-field:focus {
    outline: none; border-color: rgba(201,169,110,.55);
    background: rgba(255,255,255,.065);
    box-shadow: 0 0 0 3px rgba(201,169,110,.08);
}

.sv .sv-field::placeholder {
    color: rgba(255,255,255,.22); font-size: .85rem;
}

.sv .sv-field option { background: #13131a; color: #fff; }

.sv .sv-field.is-invalid {
    border-color: rgba(248,113,113,.6) !important;
    box-shadow: 0 0 0 3px rgba(248,113,113,.08) !important;
}

/* Validation error message */
.sv .sv-invalid-msg {
    font-family: 'DM Mono', monospace; font-size: .62rem; letter-spacing: .04em;
    color: #f87171; margin-top: .35rem;
}

/* Custom select arrow */
.sv select.sv-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(201,169,110,0.6)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
    padding-right: 2.5rem; cursor: pointer;
}

/* Character counter (driven by saviliate-contact.js) */
.sv .sv-char-count {
    font-family: 'DM Mono', monospace; font-size: .6rem; letter-spacing: .06em;
    color: rgba(255,255,255,.22); text-align: right; margin-top: .3rem;
    transition: color .2s;
}

.sv .sv-char-count.sv-count-warn { color: var(--sv-gold); }
.sv .sv-char-count.sv-count-max  { color: #f87171; }

/* Submit button */
.sv .sv-contact-submit {
    padding: .9rem 2.4rem;
    background: linear-gradient(135deg, var(--sv-gold), var(--sv-gold-mid));
    color: var(--sv-ink); font-weight: 600;
    font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
    border: none; border-radius: 2px; cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}

.sv .sv-contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(201,169,110,.38);
}

.sv .sv-contact-submit:active { transform: translateY(0); }

/* Flash / inline result banners */
.sv .sv-form-result {
    display: none; padding: 1.4rem 1.6rem; border-radius: 2px;
    font-size: .88rem; line-height: 1.65;
}

.sv .sv-form-result.sv-result-success {
    background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.2); color: #4ade80;
}

.sv .sv-form-result.sv-result-error {
    background: rgba(248,113,113,.08); border: 1px solid rgba(248,113,113,.2); color: #f87171;
}

/* Honeypot — visually and structurally hidden */
.sv-hp-field {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
}


/* ── SECTION 4: COMMON TOPICS — full-width, 2-col accordion ── */
.sv .sv-contact-faq-section {
    padding: 5rem 0;
    background: var(--sv-ink2);
    border-top: 1px solid var(--sv-border);
}

.sv .sv-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 768px) {
    .sv .sv-faq-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: 5rem;
    }
}

.sv .sv-faq-item {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--sv-border);
}

.sv .sv-faq-icon {
    width: 38px; height: 38px;
    background: rgba(201,169,110,.08); border: 1px solid var(--sv-border); border-radius: 2px;
    display: grid; place-items: center;
    font-size: .95rem; color: var(--sv-gold); flex-shrink: 0;
}
