/* Shared GoldBrella design for the public site, both dashboards and dialogs. */
:root { color-scheme:dark; --ink:#f4f5f3; --muted:#bcc9c9; --gold:#e5bc66; --gold-deep:#edcb7e; --gold-light:#ffe4a2; --cream:#071011; --surface:#111d20; --white:#fff; --line:#3b514f; --red:#33ddd1; --teal:#28ddd0; --panel-shadow:0 18px 42px #0005; --gold-gradient:linear-gradient(115deg,#d39a3c,#fbe1a0 45%,#e5b759 75%,#c88d36); }
body { background:radial-gradient(ellipse at 95% 8%,#14333480,transparent 42%),radial-gradient(ellipse at 0% 65%,#153b332c,transparent 40%),#071011; color:var(--ink); }
::selection { background:#27cfc4; color:#061414; }
header { background:#071011c9; border-bottom:1px solid #b9994c36; }
.brand { color:#efd089; font-family:Georgia,'Times New Roman',serif; font-weight:400; }
.brand-logo { border-radius:50%; object-fit:contain; }
.brand small { font-family:Arial,Helvetica,sans-serif; color:var(--muted); }
nav a, h1,h2,h3,.product-card h3,.empty strong,.auto-box strong,footer .brand,.confirmation-advisor h3 { color:var(--ink); }
nav a:hover,.gold,.eyebrow,.text-link,.advisor-position,.advisor-card .advisor-position,.postal-match,.response-deadline strong,.stat strong,footer a,.lead a,.lead-name,.subtle-note a,.check a,.legal-page a { color:var(--gold-light); }
.hero-eyebrow { color:var(--muted); }
.hero { position:relative; overflow:hidden; min-height:580px; padding-block:66px 54px; grid-template-columns:1.25fr 1fr; background:#071011; }
.hero::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:1px; background:linear-gradient(90deg,transparent,#dcb46399,transparent); }
.hero-copy { z-index:2; }
.hero h1 { font-size:clamp(2rem,4.6vw,4.5rem); font-weight:800; line-height:1.07; letter-spacing:-.035em; }
.hero h1 > span { display:block; }
.hero h1 > em { color:var(--teal); background:none; -webkit-text-fill-color:var(--teal); filter:none; margin:0; }
.headline-gold { color:var(--gold); }
.hero-copy > p { color:#edf2ef; max-width:640px; font-size:clamp(1.05rem,1.45vw,1.35rem); }
.hero-art-3d { position:absolute; inset:0; width:100%; margin:0; z-index:0; pointer-events:none; }
.hero-depth { width:100%; height:100%; }
.hero-render { width:100%; height:100%; max-height:none; object-fit:cover; object-position:center; aspect-ratio:auto; mix-blend-mode:normal; border-radius:0; mask-image:linear-gradient(90deg,transparent 3%,#000 48%); }
.hero-art-3d::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#071011 0%,#071011b0 25%,transparent 58%),linear-gradient(0deg,#071011,transparent 18%); }
.motion-toggle { position:absolute; bottom:12px; right:4%; z-index:2; pointer-events:auto; color:#d4dfdb; border-color:#bc955c88; background:#071011aa; }
.teal { color:var(--teal); }
.insurance-heading { font-size:clamp(1.7rem,3vw,2.8rem); margin:24px 0 28px; }
.insurance-heading::after,#how h2::after { background:var(--gold); }
.product-grid { grid-template-columns:repeat(12,minmax(0,1fr)); grid-template-rows:300px 260px 250px; }
.product-grid .product-card { border-radius:24px; padding:24px; justify-content:flex-end; align-items:flex-start; text-align:left; background:#102322; border-color:#d0ac5b66; overflow:hidden; box-shadow:0 8px 24px #0003; }
.product-card[data-product="Életbiztosítás"] { grid-column:1 / 7; grid-row:1; }
.product-card[data-product="Lakásbiztosítás"] { grid-column:7 / 13; grid-row:1; }
.product-card[data-product="Gépjármű-biztosítás"] { grid-column:1 / 7; grid-row:2; }
.product-card[data-product="Balesetbiztosítás"] { grid-column:7 / 10; grid-row:2; }
.product-card[data-product="Egészségbiztosítás"] { grid-column:10 / 13; grid-row:2; }
.product-card[data-product="Utasbiztosítás"] { grid-column:1 / 5; grid-row:3; }
.product-card[data-product="Vállalkozói biztosítás"] { grid-column:5 / 9; grid-row:3; }
.product-card[data-product="Nyugdíjbiztosítás"] { grid-column:9 / 13; grid-row:3; }
.card-photo { position:absolute; top:50%; left:0; width:100%; aspect-ratio:3 / 2; min-height:100%; transform:translateY(-50%); background-image:url('/goldbrella-photos-midnight.webp?v=13623fdbe021ed2c359c4e86'); background-size:400% 200%; background-position:var(--photo-x) var(--photo-y); z-index:0; }
.product-card::before { content:''; position:absolute; inset:0; z-index:1; background:linear-gradient(0deg,#031312f5,transparent 80%); }
.product-card h3,.product-card[data-product="Egészségbiztosítás"] h3 { z-index:2; position:relative; width:100%; padding-right:42px; font-size:clamp(1.125rem,1.75vw,1.6rem); font-weight:750; text-shadow:0 2px 10px #000b; }
.product-card .icon { position:absolute; top:16px; left:16px; z-index:2; opacity:1; }
.product-card::after { z-index:2; width:38px; height:38px; bottom:20px; right:18px; color:#111607; }
.product-card:hover,.advisor-card:hover,button.advisor-choice:hover { border-color:var(--teal); background:#122d2b; box-shadow:0 26px 44px #0007,0 0 0 2px #28ddd044; }
@media(hover:hover) and (pointer:fine) { .product-card:hover { box-shadow:0 26px 44px #0007,0 0 0 2px #28ddd080; } }
.outline { background:#10202088; color:var(--ink); border-color:#d0ac5b99; }
.outline:hover { background:#1a3432; border-color:var(--teal); }
.dark,.gold-button,.tabs .active { color:#1b190f; }
.hero .actions .button { min-height:56px; }
.advisor-search-panel,.steps article,section.join,.advisor-card,button.advisor-choice,.lead,.table-wrap,.stat,.office-directory,.portrait-upload,.confirmation-advisor,.profile-membership { background:linear-gradient(135deg,#122425,#0c171a); border-color:#bb975c77; box-shadow:var(--panel-shadow); }
.advisor-search-panel { margin-top:26px; }
.steps article { border-radius:24px; border-color:#bb975c77; }
.steps article > span { color:var(--gold); }
.steps p,.join p,.section-head p,.search-intro p,.advisor-card p,.advisor-county,.auto-box p,.subtle-note,.profile-demo-label,.response-deadline span,.stat span,.lead .meta,.office-entry p,.office-entry small,.postal-match span,footer,dialog p { color:var(--muted); }
label,label > span,.check,.check > span { color:#e5ebe7; }
input,select,textarea { background:#071315; color:var(--ink); border-color:#58736d; box-shadow:inset 0 1px 4px #0003; }
input::placeholder,textarea::placeholder { color:#9aafaa; }
select option { background:#101f21; color:var(--ink); }
input:focus,select:focus,textarea:focus { border-color:var(--teal); }
.empty { background:#10201ea6; border-color:#8eae9f; color:var(--muted); }
.avatar { background:#143835; color:var(--gold); }
.trust-strip { background:#11272480; border-color:#466b5a; color:var(--muted); }
.trust-strip b { color:var(--gold-light); }
footer { border-color:#d0ac5b55; background:#071011; }
dialog { background:linear-gradient(135deg,#14292a,#0b1518); color:var(--ink); border-color:#c8a26088; box-shadow:0 32px 100px #000a; }
dialog::backdrop { background:#010a0ddd; }
.modal-close { color:var(--gold); }
.modal-close:hover { color:var(--teal); background:#21413d; }
.notice,.office-match { background:#23332d; color:#f5e7c7; border-color:#ad8855; }
.error { color:#ff9a9a!important; }
.success { color:#72e6c1!important; }
.portrait-upload input::file-selector-button { background:var(--gold-gradient); }
.confirmation-check { background:var(--gold-gradient); color:#241e0e; }
.tabs button { background:#112627; color:var(--muted); border-color:#375954; }
th,.lead-table th { background:#162c2c; color:#f3dba4; }
td { color:var(--ink); }
.status,.chip,.payment-status { background:#1c3832; color:#edf3dc; border-color:#567b6c; }
.payment-status.paid { background:#174438; color:#adf0cf; }
.payment-status.due { background:#523b24; color:#ffe0a1; }
.profile-details dl > div { border-color:var(--line); }
.location-suggestions { background:#112525; box-shadow:0 16px 36px #0007; }
.location-option { color:var(--ink); }
.location-option:hover,.location-option[aria-selected="true"] { background:#244a43; color:var(--gold-light); }
#toast { background:#17312d; color:var(--ink); border-color:#d5b578; }
#user-name { color:var(--gold); }
#dashboard-view { background:radial-gradient(at 85% 0,#12393380,transparent 45%); }
#dashboard-view > section { padding-top:46px; }
.dashboard-title { font-size:clamp(1.75rem,3vw,2.8rem); }
.legal-page { color:var(--ink); }
@media(max-width:1100px) { .hero h1 { font-size:clamp(2rem,4.8vw,3.4rem); } .product-grid { grid-template-rows:280px 250px 240px; } }
@media(max-width:860px) {
 .hero { min-height:600px; grid-template-columns:1fr; padding-top:36px; padding-bottom:60px; }
 .hero-copy { max-width:72%; }
 .hero h1 { font-size:clamp(2rem,5.5vw,3rem); }
 .hero-render { object-position:58% center; }
 .hero-art-3d { max-width:none; }
 .product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:none; grid-auto-rows:250px; }
 .product-grid .product-card { grid-column:auto; grid-row:auto; }
}
@media(max-width:650px) {
 .hero { min-height:660px; padding-top:26px; padding-bottom:240px; }
 .hero-copy { max-width:100%; }
 .hero h1 { font-size:clamp(1.85rem,8.4vw,2.8rem); }
 .hero-copy > p { font-size:1.05rem; }
 .hero-render { object-position:70% center; mask-image:linear-gradient(0deg,#000,transparent 88%); }
 .hero-art-3d::after { background:linear-gradient(180deg,#071011 5%,#071011cc 42%,transparent 82%); }
 .product-grid { gap:14px; grid-auto-rows:225px; }
 .product-grid .product-card { min-height:0; padding:14px; }
 .product-card h3,.product-card[data-product="Egészségbiztosítás"] h3 { font-size:1.0625rem; padding-right:0; padding-bottom:32px; }
 .product-card::after { width:28px; height:28px; bottom:12px; right:12px; }
 .card-photo { width:auto; left:50%; height:100%; min-width:100%; aspect-ratio:3 / 2; transform:translate(-50%,-50%); }
 .brand { font-size:27px; }
 .advisor-search-panel { padding:22px 18px; }
}

/* Keep anchored controls in place while preserving the existing hover motion. */
button.modal-close:not(:disabled):not(.password-toggle):hover,button.motion-toggle:not(:disabled):not(.password-toggle):hover { position:absolute; }

/* One uninterrupted photographic canvas, including the header and footer. */
body { position:relative; isolation:isolate; background:#071011; }
body::before { content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; background:linear-gradient(180deg,#03101160,#031011a8 55%,#03101170),url('/goldbrella-hero-midnight.webp?v=13623fdbe021ed2c359c4e86') center / cover no-repeat; }
header { position:relative; z-index:5; background:#07101124; backdrop-filter:blur(3px); border-color:#dfc58445; }
.hero { background:transparent; overflow:visible; }
.hero-art-3d { top:-88px; height:calc(100% + 88px); }
.hero-render { mask-image:none; }
.hero-art-3d::after { background:linear-gradient(90deg,#04100e65,transparent 68%),linear-gradient(0deg,#07101166,transparent 25%); }
.hero::after { display:none; }
.hero h1,.hero-copy > p,.hero-eyebrow { text-shadow:0 3px 22px #000; }
.hero-copy { position:relative; }
#public-view,#dashboard-view,footer { background:transparent; }
.advisor-search-panel,section.join { background:linear-gradient(135deg,#0c2224c9,#081416b0); }
.trust-strip { background:#1028237d; }
#faq details { background:#08191ab3; padding:16px 20px; border-radius:14px; }
#how { padding-top:28px; padding-bottom:40px; }
#how h2 { font-size:clamp(1.7rem,3vw,2.6rem); margin-bottom:36px; }
#how h2::after { display:none; }
.steps { position:relative; gap:18px; margin-top:0; padding-top:22px; }
.steps::before { display:none; }
.step-wave { position:absolute; top:-18px; left:0; width:100%; height:70px; z-index:2; overflow:visible; filter:drop-shadow(0 0 5px #efbf5399); pointer-events:none; }
.steps article { display:grid; grid-template-columns:64px 1fr; gap:14px; align-items:start; border:1px solid #e5bc6655; border-top:0; border-radius:22px; background:linear-gradient(130deg,#091819d9,#09181988); padding:28px 24px 26px; box-shadow:0 10px 32px #0003; }
.steps article:nth-of-type(2) { margin-top:18px; }
.steps article > .step-number { font-size:3rem; color:var(--gold); font-weight:800; margin-top:12px; }
.step-icon { display:grid; place-items:center; width:64px; height:64px; border:1px solid var(--gold); border-radius:50%; color:var(--gold-light); background:#0617196b; margin-bottom:12px; }
.step-icon svg { width:40px; height:40px; }
.steps h3 { margin:0 0 10px; font-size:1.25rem; line-height:1.2; }
.steps p { color:#e1e9e5; font-size:1rem; line-height:1.45; }
footer { border-top-color:#e5bc6655; }
@media(max-width:860px) { .hero-art-3d { top:-88px; } .steps article { padding:24px 16px; grid-template-columns:48px 1fr; gap:10px; } .steps article > .step-number { font-size:2.4rem; } }
@media(max-width:650px) { .hero-art-3d { top:-132px; height:calc(100% + 132px); } .hero-render { mask-image:none; } .hero-art-3d::after { background:linear-gradient(180deg,#04100eb8,transparent 85%); } .steps { grid-template-columns:1fr; gap:20px; } .steps article,.steps article:nth-of-type(2) { margin:0; padding:26px 22px; grid-template-columns:60px 1fr; border-top:1px solid #e5bc6655; } .step-wave { display:none; } }
/* The hero and lower sections share the same canvas without a seam. */
body { overflow-x:clip; }
body::before { animation:insurance-depth 9s ease-in-out infinite; transform-origin:center; }
.hero-render { opacity:0; }
.hero-art-3d::after { display:none; }
.hero-art-3d { overflow:clip; }
body.motion-paused::before { animation-play-state:paused; }
@media(prefers-reduced-motion:reduce) { body::before { animation:none; } }
