/* ── Lakeman Shared Styles ── */
/* bradlandman.com | Brad the Lakeman | Keller Williams at the Lake */

@font-face {
    font-family: 'Killarney';
    src: url('https://firebasestorage.googleapis.com/v0/b/lakeman-crm-486702.firebasestorage.app/o/Killarney%20DEMO.otf?alt=media&token=6a88532d-f9b4-46c9-b204-1f4363530ec2') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root{
    --navy:#0a1628;--lake-blue:#4ab3e8;--lake-blue-dark:#0284c7;--gold:#f59e0b;
    --white:#ffffff;--gray-300:#cbd5e1;--gray-600:#475569;
    --success:#10b981;--danger:#ef4444;
}

*{margin:0;padding:0;box-sizing:border-box}

body{
    font-family:'Lato',sans-serif;
    min-height:100vh;
    padding:0 1rem;
    color:var(--white);
    overflow-x:hidden;
    position:relative;
    display:flex;
    flex-direction:column;
    align-items:center;
}

/* ── Ken Burns slideshow ── */
.kb-bg{position:fixed;inset:0;z-index:0;background:#0a1628;}
.kb-slide{
    position:absolute;inset:0;
    background-size:cover;
    background-position:center;
    opacity:0;
    animation:kbCycle 24s infinite;
}
.kb-slide:nth-child(1){
    background-image:url('https://firebasestorage.googleapis.com/v0/b/lakeman-crm-486702.firebasestorage.app/o/WMgunlake-2%20(1).jpg?alt=media&token=0ce0892d-42c5-4831-bcae-0a933d5ce68a');
    animation-delay:0s;
}
.kb-slide:nth-child(2){
    background-image:url('https://firebasestorage.googleapis.com/v0/b/lakeman-crm-486702.firebasestorage.app/o/dji_fly_20240214_173350_59_1707950087964_photo_optimized.jpg?alt=media&token=8e5663ff-4122-4154-81ce-0fd18e7c5210');
    animation-delay:8s;
}
.kb-slide:nth-child(3){
    background-image:url('https://firebasestorage.googleapis.com/v0/b/lakeman-crm-486702.firebasestorage.app/o/Lakeman%20Sunset.jpg?alt=media&token=7f9ee773-1574-4f89-8555-6f7a7b4b749e');
    animation-delay:16s;
}
@keyframes kbCycle{
    0%   {opacity:0;transform:scale(1.08);}
    5%   {opacity:1;}
    30%  {opacity:1;}
    38%  {opacity:0;transform:scale(1.0);}
    100% {opacity:0;transform:scale(1.08);}
}

.kb-overlay{
    position:fixed;inset:0;z-index:1;
    background:linear-gradient(to bottom,rgba(10,22,40,.55) 0%,rgba(10,22,40,.35) 50%,rgba(10,22,40,.75) 100%);
}

/* ── Waves ── */
.wave-bg{position:fixed;bottom:0;left:0;right:0;height:30vh;pointer-events:none;z-index:2;}
.wave{position:absolute;bottom:0;left:0;width:200%;height:100%}
.wave svg{width:100%;height:100%}
.wave-1{animation:waveMove 9s linear infinite;opacity:.55}
.wave-2{animation:waveMove 14s linear infinite reverse;opacity:.35;bottom:8px}
.wave-3{animation:waveMove 6s linear infinite;opacity:.2;bottom:18px}
@keyframes waveMove{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

/* ── Layout ── */
.container{max-width:560px;width:100%;margin:0 auto;position:relative;z-index:3;display:flex;flex-direction:column;align-items:center;padding:3rem 0 2rem;}

/* ── Header ── */
.header{text-align:center;margin-bottom:2rem;display:flex;flex-direction:column;align-items:center;}
.top-logo{width:300px;height:auto;object-fit:contain;margin-bottom:1.75rem;opacity:.92;}
.headshot{width:110px;height:110px;border-radius:50%;object-fit:cover;border:3px solid #4ab3e8;margin-bottom:.9rem;box-shadow:0 0 0 6px rgba(74,179,232,.15),0 4px 20px rgba(0,0,0,.4);}
.agent-name{font-family:'Killarney','Cinzel',serif;font-size:2.25rem;font-weight:400;margin-bottom:.2rem;letter-spacing:.01em;}
.agent-tagline{font-family:'Killarney','Cinzel',serif;font-size:1.75rem;font-weight:400;color:#4ab3e8;letter-spacing:.1em;margin-bottom:.75rem;}
.subtitle{font-size:.9375rem;color:rgba(255,255,255,.8);line-height:1.6;max-width:420px;}

@media(min-width:768px){
    .top-logo{width:420px;}
    .headshot{width:120px;height:120px;}
    .footer-brand-img{height:90px;}
    .footer-compliance-img{height:44px;}
}

/* ── Form card ── */
.card{
    background:var(--white);
    border-radius:8px;
    padding:2rem;
    box-shadow:0 8px 32px rgba(0,0,0,.3);
    color:var(--navy);
    width:100%;
    margin-bottom:2rem;
}
.card-title{
    font-family:'Killarney','Cinzel',serif;
    font-size:1.5rem;font-weight:400;
    margin-bottom:1.5rem;
    text-align:center;
    color:var(--navy);
}
.form-group{margin-bottom:1.25rem;}
.form-label{display:block;margin-bottom:.4rem;font-weight:600;font-size:.9rem;color:#1e293b;}
.form-label .required{color:var(--danger);margin-left:.2rem;}
.form-input,.form-select{
    width:100%;padding:.8rem 1rem;
    border:2px solid var(--gray-300);
    border-radius:4px;
    font-family:'Lato',sans-serif;
    font-size:.9375rem;
    color:#1e293b;
    background:var(--white);
    transition:border-color .2s;
}
.form-input:focus,.form-select:focus{outline:none;border-color:var(--lake-blue);box-shadow:0 0 0 3px rgba(74,179,232,.15);}
.form-input.error{border-color:var(--danger);}
.form-hint{font-size:.8rem;color:var(--gray-600);margin-top:.3rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
@media(max-width:480px){.form-row{grid-template-columns:1fr;}}
textarea.form-input{resize:vertical;min-height:80px;}

/* ── Button ── */
.btn{
    width:100%;padding:1rem;
    border:none;border-radius:4px;
    font-family:'Lato',sans-serif;font-weight:700;font-size:1rem;
    letter-spacing:.06em;text-transform:uppercase;
    cursor:pointer;transition:all .15s;
    touch-action:manipulation;min-height:52px;
    display:flex;align-items:center;justify-content:center;gap:.5rem;
}
.btn-primary{background:var(--lake-blue);color:var(--white);}
.btn-primary:hover{background:var(--lake-blue-dark);}
.btn-primary:active{transform:scale(.98);}
.btn-primary:disabled{background:#94a3b8;cursor:not-allowed;}

/* ── Success screen ── */
.success-screen{display:none;text-align:center;padding:1.5rem 0;}
.success-screen.show{display:block;}
.success-check{font-size:2.5rem;color:var(--success);margin-bottom:.75rem;}
.success-title{font-family:'Killarney','Cinzel',serif;font-size:1.75rem;font-weight:400;margin-bottom:1rem;color:var(--navy);}
.success-text{font-size:1rem;line-height:1.6;color:var(--gray-600);}

/* ── Error message ── */
.error-message{display:none;background:rgba(239,68,68,.08);border:1px solid var(--danger);color:var(--danger);padding:.75rem 1rem;border-radius:4px;margin-bottom:1rem;font-size:.875rem;}
.error-message.show{display:block;}

/* ── Footer ── */
.footer{text-align:center;font-size:1rem;color:rgba(255,255,255,.65);line-height:1.0;width:100%;margin-bottom:4rem;}
.footer a{color:rgba(255,255,255,.8);text-decoration:none;}
.footer-name{font-family:'Killarney','Cinzel',serif;font-size:1.5rem;font-weight:400;color:rgba(255,255,255,.95);margin-bottom:.2rem;}
.footer-contact div{margin-bottom:.1rem;}
.footer-contact{line-height:1.6;font-size:.9rem;}
.footer-brand-logos{display:flex;align-items:center;justify-content:center;gap:2.5rem;flex-wrap:wrap;margin:1.75rem 0 1.25rem;}
.footer-brand-img{height:64px;width:auto;object-fit:contain;opacity:.9;}
.footer-compliance-row{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap;padding:.5rem 1.5rem;}
.footer-compliance-img{height:32px;width:auto;object-fit:contain;opacity:.8;}
.footer-ownership{font-size:.7rem;color:rgba(255,255,255,.4);letter-spacing:.04em;}
.footer-privacy{font-size:.75rem;margin-top:.75rem;}
.footer-privacy a{color:rgba(255,255,255,.4);}
.footer-privacy a:hover{color:rgba(255,255,255,.7);}

/* ── Landing page: action buttons ── */
.actions{width:100%;display:flex;flex-direction:column;gap:.75rem;margin-bottom:2rem;}
.action-btn{display:flex;align-items:center;justify-content:center;width:100%;padding:.9rem 1.5rem;background:transparent;border:1px solid rgba(255,255,255,.55);border-radius:4px;font-family:'Lato',sans-serif;font-weight:500;font-size:.9375rem;cursor:pointer;transition:all .18s;text-decoration:none;min-height:52px;letter-spacing:.08em;text-transform:uppercase;color:var(--white);backdrop-filter:blur(4px);}
.action-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.9);transform:translateY(-1px);}
.btn-gold{border-color:rgba(245,158,11,.8);color:#fbbf24;}
.btn-gold:hover{background:rgba(245,158,11,.12);border-color:var(--gold);}

/* ── Landing page: contact row ── */
.contact-row{display:flex;gap:.625rem;margin-bottom:2rem;width:100%;}
.contact-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:.4rem;padding:.7rem;border-radius:4px;background:transparent;border:1px solid rgba(255,255,255,.35);color:var(--white);text-decoration:none;font-size:.8125rem;font-weight:500;letter-spacing:.07em;text-transform:uppercase;transition:all .15s;backdrop-filter:blur(4px);}
.contact-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.7);}

/* ── Buyer page: price tiles ── */
.price-options{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-top:.5rem;}
.price-option{border:2px solid var(--gray-300);border-radius:4px;padding:.7rem;text-align:center;cursor:pointer;font-size:.9rem;font-weight:500;transition:all .2s;color:#1e293b;user-select:none;}
.price-option:hover{border-color:var(--lake-blue);background:rgba(74,179,232,.05);}
.price-option.selected{border-color:var(--lake-blue);background:rgba(74,179,232,.1);color:var(--lake-blue);font-weight:700;}

/* ── Buyer page: checkboxes ── */
.check-list{display:flex;flex-direction:column;gap:.5rem;margin-top:.5rem;}
.check-item{display:flex;align-items:center;gap:.75rem;padding:.6rem .875rem;border:2px solid var(--gray-300);border-radius:4px;cursor:pointer;transition:all .2s;font-size:.9375rem;color:#1e293b;user-select:none;}
.check-item:hover{border-color:var(--lake-blue);background:rgba(74,179,232,.04);}
.check-item.selected{border-color:var(--lake-blue);background:rgba(74,179,232,.08);color:var(--lake-blue);}
.check-box{width:20px;height:20px;border:2px solid var(--gray-300);border-radius:3px;flex-shrink:0;display:flex;align-items:center;justify-content:center;transition:all .2s;}
.check-item.selected .check-box{background:var(--lake-blue);border-color:var(--lake-blue);}
.check-box svg{display:none;}
.check-item.selected .check-box svg{display:block;}
.other-input{margin-top:.5rem;display:none;}
.other-input.show{display:block;}
