/* ============================================================
   19 Builders & Developers — premium theme
   ============================================================ */
:root {
    --ink:      #161a20;
    --ink-2:    #20252e;
    --gold:     #d4af6a;
    --gold-2:   #b8924a;
    --gold-soft: rgba(212, 175, 106, 0.14);
    --paper:    #ffffff;
    --text:     #1b2330;
    --muted:    #6b7280;
    --line:     #e6e9f0;
    --ok:       #1a7f37;
    --ok-bg:    #e7f6ec;
    --shadow:   0 30px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    min-height: 100vh;
    position: relative;
    background:
        linear-gradient(rgba(16, 19, 26, 0.90), rgba(16, 19, 26, 0.94)),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80')
        center center / cover no-repeat fixed,
        #12151b;
}

/* Soft floating gold glows in the background */
body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}
body::before {
    width: 420px; height: 420px;
    background: rgba(212, 175, 106, 0.22);
    top: -120px; left: -100px;
    animation: float1 14s ease-in-out infinite;
}
body::after {
    width: 360px; height: 360px;
    background: rgba(96, 130, 200, 0.18);
    bottom: -120px; right: -80px;
    animation: float2 18s ease-in-out infinite;
}
@keyframes float1 { 50% { transform: translate(60px, 40px); } }
@keyframes float2 { 50% { transform: translate(-50px, -30px); } }

/* ---------------- Header ---------------- */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 106, 0.5);
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
header::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
header img { height: 80px; width: auto; display: block; }
@media (max-width: 560px) { header img { height: 58px; } }

/* ---------------- Layout ---------------- */
.wrap {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px 50px;
}

/* Hero intro */
.intro { text-align: center; margin-bottom: 44px; animation: rise .8s ease both; }
.eyebrow {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
    content: "";
    display: inline-block;
    width: 26px; height: 1px;
    background: var(--gold);
    vertical-align: middle;
    margin: 0 12px;
}
.intro h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 44px;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.intro h1 em { font-style: italic; color: var(--gold); }
.intro p { color: rgba(255,255,255,.8); margin: 0 auto; max-width: 480px; font-size: 16px; }

/* ---------------- Option cards grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.opt {
    position: relative;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 20px;
    padding: 38px 26px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    transition: transform .25s ease, box-shadow .25s ease;
    animation: rise .8s ease both;
}
.opt:nth-child(2) { animation-delay: .1s; }
.opt:nth-child(3) { animation-delay: .2s; }
.opt::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-2));
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s ease;
}
.opt:hover { transform: translateY(-8px); box-shadow: 0 34px 70px rgba(0,0,0,.45); }
.opt:hover::before { transform: scaleX(1); }
.opt .ico {
    width: 74px; height: 74px;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
    color: var(--gold);
    box-shadow: 0 12px 26px rgba(0,0,0,.25);
    transition: transform .25s ease;
}
.opt:hover .ico { transform: scale(1.08) rotate(-4deg); }
.opt .ico svg { width: 34px; height: 34px; stroke-width: 1.7; }
.opt h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0 0 10px; font-size: 23px; }
.opt p { color: var(--muted); font-size: 14.5px; margin: 0 0 22px; line-height: 1.55; }
.opt .go { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; font-size: 14px; letter-spacing: .3px; }
.opt .go svg { width: 16px; height: 16px; transition: transform .2s ease; }
.opt:hover .go svg { transform: translateX(5px); }

/* ---------------- Form card ---------------- */
.formcard {
    display: none;
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 22px;
    padding: 38px;
    box-shadow: var(--shadow);
    animation: fade .5s ease;
}

.formcard h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 27px;
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.formcard h2 .badge {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: var(--gold-soft);
    color: var(--gold-2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.formcard h2 .badge svg { width: 23px; height: 23px; stroke-width: 1.8; }
.formcard .sub { color: var(--muted); margin: 0 0 22px; font-size: 14px; padding-left: 56px; }

/* Back-to-options link */
.link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; color: var(--muted); cursor: pointer; font-size: 14px; font-weight: 600; }
.link:hover { color: var(--gold-2); }

/* Fields */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 7px; color: #374151; }
.field label .req { color: #d1242f; }

.field input,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1.5px solid var(--line);
    border-radius: 11px;
    font-size: 15px;
    font-family: inherit;
    background: #fafbfd;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #aab1bd; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 4px var(--gold-soft);
    background: #fff;
}
.field textarea { resize: vertical; min-height: 96px; }

.row { display: flex; gap: 16px; }
.row .field { flex: 1; }

/* Button */
.btn {
    margin-top: 8px;
    width: 100%;
    background: linear-gradient(135deg, var(--ink-2), var(--ink));
    color: #fff;
    border: none;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .08s ease, box-shadow .2s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}
.btn::after {
    content: "→";
    margin-left: 10px;
    transition: margin .2s ease;
    display: inline-block;
}
.btn:hover { box-shadow: 0 16px 36px rgba(0,0,0,.32); }
.btn:hover::after { margin-left: 16px; }
.btn:active { transform: translateY(2px); }
.btn::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Success notice */
.notice {
    background: var(--ok-bg);
    color: var(--ok);
    border: 1px solid #b7e0c2;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 22px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    animation: rise .5s ease both;
}

.notice.error {
    background: #fdecec;
    color: #b42318;
    border-color: #f5c2c0;
}

/* Footer */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    padding: 34px 20px 44px;
}
footer a { color: var(--gold); text-decoration: none; font-weight: 600; }
footer a:hover { text-decoration: underline; }

/* Animations */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 820px) {
    .grid { grid-template-columns: 1fr; }
    .intro h1 { font-size: 32px; }
    .row { flex-direction: column; gap: 0; }
}
@media (max-width: 560px) {
    .formcard { padding: 24px; }
    .formcard .sub { padding-left: 0; }
}
