/* ============================================================
   NORDVIK GROUP — Design System v2.0
   Correduría de seguros multimarca · Maresme & Costa Brava
   Nordic minimalism + corporate trust
   ============================================================ */

/* --- DESIGN TOKENS --- */
:root {
  --navy:        #0B1D3A;
  --navy-light:  #132B52;
  --slate:       #3A4F6A;
  --slate-light: #5C7190;
  --ice:         #C8DCF0;
  --ice-light:   #E8F0F8;
  --aurora:      #6DA8C9;
  --aurora-dark: #4A8DB5;
  --gold:        #C9A96E;
  --gold-light:  #D4BC8E;
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --bg-warm:     #FAFBFD;
  --green-ok:    #2D8659;
  --red-err:     #C43E3E;
  --whatsapp:    #25D366;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', 'Inter', system-ui, sans-serif;
  --container:     1200px;
  --container-sm:  900px;
  --radius:        8px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --shadow-sm:   0 1px 3px rgba(11,29,58,.06);
  --shadow-md:   0 4px 12px rgba(11,29,58,.08);
  --shadow-lg:   0 8px 30px rgba(11,29,58,.10);
  --shadow-card: 0 2px 8px rgba(11,29,58,.06);
  --ease: cubic-bezier(.4,0,.2,1);
  --dur:  .3s;
}

/* --- RESET --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font-body);font-size:16px;line-height:1.65;color:var(--navy);background:var(--white);-webkit-font-smoothing:antialiased}
img,svg{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;color:inherit;border:none;background:none;outline:none}
button{cursor:pointer}
table{border-collapse:collapse}

/* --- TYPOGRAPHY --- */
h1,h2,h3,h4,h5,h6{font-family:var(--font-display);font-weight:700;line-height:1.2;color:var(--navy)}
h1{font-size:clamp(2rem,4vw,3rem);letter-spacing:-.02em}
h2{font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:-.015em}
h3{font-size:clamp(1.25rem,2vw,1.5rem)}
h4{font-size:1.125rem}
p{margin-bottom:1rem}
.text-slate{color:var(--slate)}
.text-aurora{color:var(--aurora)}
.text-gold{color:var(--gold)}
.text-sm{font-size:.875rem}
.text-xs{font-size:.75rem}
.text-center{text-align:center}
.font-display{font-family:var(--font-display)}
.font-medium{font-weight:500}
.font-semibold{font-weight:600}
.font-bold{font-weight:700}

/* --- LAYOUT --- */
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 1.5rem}
.container-sm{max-width:var(--container-sm);margin:0 auto;padding:0 1.5rem}
.section{padding:5rem 0}
.section-sm{padding:3rem 0}
.grid{display:grid;gap:2rem}
.grid-2{grid-template-columns:repeat(2,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}
.flex{display:flex}
.flex-col{flex-direction:column}
.flex-center{display:flex;align-items:center;justify-content:center}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.gap-1{gap:.5rem}
.gap-2{gap:1rem}
.gap-3{gap:1.5rem}
.gap-4{gap:2rem}

/* --- HEADER --- */
.header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;
  transition:all var(--dur) var(--ease);
}
.header.scrolled{border-bottom-color:var(--ice);box-shadow:var(--shadow-sm)}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  max-width:var(--container);margin:0 auto;padding:.75rem 1.5rem;height:72px;
}
.logo{display:flex;align-items:center;gap:.75rem;font-family:var(--font-display);font-weight:700;font-size:1.125rem;color:var(--navy);letter-spacing:.04em}
.logo-mark{
  width:36px;height:36px;background:var(--navy);border-radius:var(--radius);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);font-family:var(--font-display);font-weight:800;font-size:1.125rem;
}

/* Desktop nav */
.nav{display:flex;align-items:center;gap:2rem}
.nav a{font-size:.9rem;font-weight:500;color:var(--slate);transition:color var(--dur) var(--ease);position:relative}
.nav a:hover,.nav a.active{color:var(--navy)}
.nav-dropdown{position:relative}
.nav-dropdown-trigger{display:flex;align-items:center;gap:.25rem;cursor:pointer}
.nav-dropdown-trigger svg{width:14px;height:14px;transition:transform var(--dur) var(--ease)}
.nav-dropdown.open .nav-dropdown-trigger svg{transform:rotate(180deg)}
.nav-dropdown-menu{
  position:absolute;top:calc(100% + .5rem);left:50%;transform:translateX(-50%);
  background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-lg);
  padding:.75rem;min-width:220px;box-shadow:var(--shadow-lg);
  opacity:0;visibility:hidden;transform:translateX(-50%) translateY(8px);
  transition:all var(--dur) var(--ease);
}
.nav-dropdown.open .nav-dropdown-menu{opacity:1;visibility:visible;transform:translateX(-50%) translateY(0)}
.nav-dropdown-menu a{display:flex;align-items:center;gap:.75rem;padding:.625rem .75rem;border-radius:var(--radius);font-size:.875rem;color:var(--slate);transition:all .15s}
.nav-dropdown-menu a:hover{background:var(--off-white);color:var(--navy)}
.nav-dropdown-menu .dd-icon{width:32px;height:32px;background:var(--ice-light);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nav-dropdown-menu .dd-icon svg{width:16px;height:16px;color:var(--aurora-dark)}
.nav-cta{margin-left:.5rem}

/* Mobile nav */
.hamburger{
  display:none;flex-direction:column;gap:5px;padding:6px;cursor:pointer;
  background:none;border:none;z-index:110;
}
.hamburger span{display:block;width:22px;height:2px;background:var(--navy);border-radius:2px;transition:all var(--dur) var(--ease)}
.hamburger.active span:nth-child(1){transform:rotate(45deg) translate(5px,5px)}
.hamburger.active span:nth-child(2){opacity:0}
.hamburger.active span:nth-child(3){transform:rotate(-45deg) translate(5px,-5px)}
.nav-mobile{
  display:none;position:fixed;top:0;right:-100%;width:min(320px,85vw);height:100vh;
  background:var(--white);z-index:105;padding:5rem 1.5rem 2rem;
  transition:right var(--dur) var(--ease);box-shadow:var(--shadow-lg);overflow-y:auto;
}
.nav-mobile.open{right:0}
.nav-mobile a{display:block;padding:.75rem 0;font-size:1rem;font-weight:500;color:var(--navy);border-bottom:1px solid var(--ice-light)}
.nav-mobile .btn{margin-top:1.5rem;width:100%;text-align:center}
.nav-overlay{display:none;position:fixed;inset:0;background:rgba(11,29,58,.3);z-index:104;opacity:0;transition:opacity var(--dur)}
.nav-overlay.show{display:block;opacity:1}

@media(max-width:960px){
  .nav,.nav-cta{display:none}
  .hamburger{display:flex}
  .nav-mobile{display:block}
}

/* --- BUTTONS --- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:.75rem 1.75rem;border-radius:var(--radius);font-weight:600;font-size:.9rem;
  transition:all var(--dur) var(--ease);cursor:pointer;white-space:nowrap;line-height:1.3;
}
.btn svg{width:18px;height:18px;flex-shrink:0}
.btn-primary{background:var(--navy);color:var(--white)}
.btn-primary:hover{background:var(--navy-light);box-shadow:var(--shadow-md)}
.btn-outline{border:2px solid var(--navy);color:var(--navy);background:transparent}
.btn-outline:hover{background:var(--navy);color:var(--white)}
.btn-aurora{background:var(--aurora);color:var(--white)}
.btn-aurora:hover{background:var(--aurora-dark);box-shadow:var(--shadow-md)}
.btn-whatsapp{background:var(--whatsapp);color:var(--white)}
.btn-whatsapp:hover{filter:brightness(1.08);box-shadow:var(--shadow-md)}
.btn-ghost{color:var(--slate);background:transparent}
.btn-ghost:hover{color:var(--navy);background:var(--off-white)}
.btn-sm{padding:.5rem 1.25rem;font-size:.8125rem}
.btn-lg{padding:1rem 2.25rem;font-size:1rem}
.btn-block{width:100%}

/* --- HERO --- */
.hero{
  padding:8rem 0 4rem;
  background:linear-gradient(170deg,var(--off-white) 0%,var(--white) 60%);
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;top:-40%;right:-20%;width:60%;height:100%;
  background:radial-gradient(ellipse,rgba(109,168,201,.06) 0%,transparent 70%);
  pointer-events:none;
}
.hero .container{position:relative;z-index:1}
.hero-label{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.375rem 1rem;border-radius:99px;
  background:var(--ice-light);color:var(--aurora-dark);
  font-size:.8125rem;font-weight:600;margin-bottom:1.25rem;
}
.hero h1{margin-bottom:1.25rem;max-width:700px}
.hero-sub{font-size:1.125rem;color:var(--slate);max-width:560px;margin-bottom:2rem;line-height:1.7}
.hero-actions{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2.5rem}
.hero-metrics{display:flex;gap:2.5rem;flex-wrap:wrap}
.hero-metric{text-align:center}
.hero-metric strong{display:block;font-family:var(--font-display);font-size:1.5rem;color:var(--navy)}
.hero-metric span{font-size:.8125rem;color:var(--slate-light)}

/* Hero inner pages */
.hero-inner{padding:7rem 0 3rem;background:var(--off-white)}
.hero-inner h1{margin-bottom:.75rem}
.hero-inner .hero-sub{margin-bottom:1.5rem}

/* --- BREADCRUMB --- */
.breadcrumb{
  display:flex;align-items:center;gap:.375rem;
  font-size:.8125rem;color:var(--slate-light);margin-bottom:1.5rem;flex-wrap:wrap;
}
.breadcrumb a{color:var(--slate);transition:color .15s}
.breadcrumb a:hover{color:var(--aurora-dark)}
.breadcrumb .sep{color:var(--ice)}

/* --- CARDS --- */
.card{
  background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-lg);
  padding:2rem;transition:all var(--dur) var(--ease);
}
.card:hover{box-shadow:var(--shadow-md);border-color:var(--aurora);transform:translateY(-2px)}
.card-icon{
  width:48px;height:48px;border-radius:var(--radius);background:var(--ice-light);
  display:flex;align-items:center;justify-content:center;margin-bottom:1.25rem;
}
.card-icon svg{width:24px;height:24px;color:var(--aurora-dark)}
.card h3{margin-bottom:.5rem}
.card p{color:var(--slate);font-size:.9rem;margin-bottom:1rem}
.card-link{
  display:inline-flex;align-items:center;gap:.375rem;
  font-size:.875rem;font-weight:600;color:var(--aurora-dark);
}
.card-link svg{width:16px;height:16px;transition:transform .15s}
.card-link:hover svg{transform:translateX(3px)}

.card-flat{border:1px solid var(--ice);border-radius:var(--radius-lg);padding:1.5rem;background:var(--white)}
.card-flat:hover{box-shadow:none;transform:none}
.stat-card{text-align:center;padding:1.5rem}
.stat-card .stat-num{font-family:var(--font-display);font-size:2rem;font-weight:800;color:var(--navy);display:block}
.stat-card .stat-label{font-size:.8125rem;color:var(--slate-light)}

/* --- 3-STEP PROCESS --- */
.steps{counter-reset:step}
.step-item{counter-increment:step;text-align:center;padding:2rem 1.5rem;position:relative}
.step-item::before{
  content:counter(step);display:flex;align-items:center;justify-content:center;
  width:48px;height:48px;border-radius:50%;background:var(--navy);color:var(--white);
  font-family:var(--font-display);font-weight:700;font-size:1.25rem;margin:0 auto 1.25rem;
}
.step-item h3{margin-bottom:.5rem}
.step-item p{color:var(--slate);font-size:.9rem}

/* --- TRUST BAR --- */
.trust-bar{padding:3rem 0;background:var(--off-white);border-top:1px solid var(--ice);border-bottom:1px solid var(--ice)}
.trust-items{display:flex;justify-content:center;gap:3rem;flex-wrap:wrap;align-items:center}
.trust-item{display:flex;align-items:center;gap:.75rem;font-size:.9rem;color:var(--slate);font-weight:500}
.trust-item svg{width:20px;height:20px;color:var(--aurora-dark);flex-shrink:0}

/* --- SECTION HEADERS --- */
.section-header{text-align:center;max-width:640px;margin:0 auto 3rem}
.section-header p{color:var(--slate);font-size:1rem;margin-top:.75rem}
.section-eyebrow{
  display:inline-block;font-size:.75rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.08em;color:var(--aurora-dark);margin-bottom:.5rem;
}

/* --- CTA BANNER --- */
.cta-banner{padding:4rem 0;background:var(--navy);color:var(--white);text-align:center}
.cta-banner h2{color:var(--white);margin-bottom:.75rem}
.cta-banner p{color:var(--ice);max-width:520px;margin:0 auto 2rem}
.cta-banner .btn-primary{background:var(--aurora);color:var(--white)}
.cta-banner .btn-primary:hover{background:var(--aurora-dark)}
.cta-banner .btn-outline{border-color:rgba(255,255,255,.3);color:var(--white)}
.cta-banner .btn-outline:hover{background:rgba(255,255,255,.1)}

/* --- FORMS --- */
.form-section{padding:5rem 0;background:var(--off-white)}
.form-card{
  background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-xl);
  padding:2.5rem;max-width:640px;margin:0 auto;box-shadow:var(--shadow-md);
}
.form-card h3{margin-bottom:.25rem}
.form-card .form-sub{color:var(--slate);font-size:.9rem;margin-bottom:2rem}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.form-group{margin-bottom:1.25rem}
.form-group label{display:block;font-size:.8125rem;font-weight:600;color:var(--navy);margin-bottom:.375rem}
.form-group input,
.form-group select,
.form-group textarea{
  width:100%;padding:.75rem 1rem;
  background:var(--off-white);border:1.5px solid var(--ice);border-radius:var(--radius);
  font-size:.9rem;color:var(--navy);transition:border-color var(--dur);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color:var(--aurora);background:var(--white);
  box-shadow:0 0 0 3px rgba(109,168,201,.12);
}
.form-group textarea{resize:vertical;min-height:100px}
.form-group select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233A4F6A' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center}
.form-group .error-msg{font-size:.75rem;color:var(--red-err);margin-top:.25rem;display:none}
.form-group.has-error input,.form-group.has-error select{border-color:var(--red-err)}
.form-group.has-error .error-msg{display:block}
.form-legal{font-size:.75rem;color:var(--slate-light);margin-top:1rem;line-height:1.5}
.form-legal a{color:var(--aurora-dark);text-decoration:underline}

/* Thank you state */
.form-thankyou{display:none;text-align:center;padding:3rem 1rem}
.form-thankyou.show{display:block}
.form-thankyou .ty-icon{
  width:64px;height:64px;background:rgba(45,134,89,.1);border-radius:50%;
  display:flex;align-items:center;justify-content:center;margin:0 auto 1.5rem;
}
.form-thankyou .ty-icon svg{width:32px;height:32px;color:var(--green-ok)}
.form-thankyou h3{margin-bottom:.5rem}
.form-thankyou p{color:var(--slate)}

@media(max-width:640px){.form-row{grid-template-columns:1fr}}

/* --- FAQ --- */
.faq-list{max-width:720px;margin:0 auto}
.faq-item{border-bottom:1px solid var(--ice)}
.faq-question{
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.25rem 0;cursor:pointer;font-weight:600;font-size:.95rem;color:var(--navy);transition:color .15s;
}
.faq-question:hover{color:var(--aurora-dark)}
.faq-question svg{width:20px;height:20px;flex-shrink:0;transition:transform var(--dur) var(--ease);color:var(--slate-light)}
.faq-item.active .faq-question svg{transform:rotate(180deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .4s var(--ease)}
.faq-answer-inner{padding:0 0 1.25rem;color:var(--slate);font-size:.9rem;line-height:1.7}

/* --- FOOTER --- */
.footer{background:var(--navy);color:var(--ice);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:3rem;padding-bottom:3rem}
.footer-brand .logo{color:var(--white);margin-bottom:1rem}
.footer-brand .logo-mark{background:var(--aurora)}
.footer-brand p{font-size:.875rem;color:var(--slate-light);line-height:1.6;max-width:280px}
.footer-col h4{color:var(--white);font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;margin-bottom:1rem}
.footer-col a{display:block;font-size:.875rem;color:var(--slate-light);padding:.3rem 0;transition:color .15s}
.footer-col a:hover{color:var(--white)}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:1.5rem 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
  font-size:.75rem;color:var(--slate-light);
}
.footer-bottom a{color:var(--slate-light);transition:color .15s}
.footer-bottom a:hover{color:var(--white)}

@media(max-width:768px){.footer-grid{grid-template-columns:1fr 1fr;gap:2rem}}
@media(max-width:480px){.footer-grid{grid-template-columns:1fr}}

/* --- WHATSAPP FLOAT --- */
.whatsapp-float{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:90;
  width:56px;height:56px;border-radius:50%;background:var(--whatsapp);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 16px rgba(37,211,102,.3);transition:all var(--dur) var(--ease);
}
.whatsapp-float:hover{transform:scale(1.08);box-shadow:0 6px 24px rgba(37,211,102,.35)}
.whatsapp-float svg{width:28px;height:28px}

/* --- GEO BLOCK --- */
.geo-block{padding:3rem 0;background:var(--off-white);border-top:1px solid var(--ice)}
.geo-block h3{margin-bottom:1.5rem}
.geo-tags{display:flex;flex-wrap:wrap;gap:.5rem}
.geo-tag{
  display:inline-block;padding:.375rem .875rem;
  background:var(--white);border:1px solid var(--ice);border-radius:99px;
  font-size:.8125rem;color:var(--slate);transition:all .15s;
}
.geo-tag:hover{border-color:var(--aurora);color:var(--aurora-dark);background:var(--ice-light)}

/* --- COVERAGE LIST --- */
.coverage-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.coverage-item{display:flex;align-items:flex-start;gap:.75rem;padding:1rem;background:var(--off-white);border-radius:var(--radius)}
.coverage-item svg{width:20px;height:20px;color:var(--aurora-dark);flex-shrink:0;margin-top:.125rem}
.coverage-item span{font-size:.9rem;color:var(--navy)}

/* --- RISK CARDS --- */
.risk-card{background:var(--off-white);border-left:3px solid var(--gold);padding:1.25rem 1.5rem;border-radius:0 var(--radius) var(--radius) 0}
.risk-card h4{font-size:.9rem;margin-bottom:.25rem}
.risk-card p{font-size:.85rem;color:var(--slate);margin:0}

/* --- PROFILE MOSAIC --- */
.profile-mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.profile-card{
  text-align:center;padding:2rem 1.5rem;
  background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-lg);
  transition:all var(--dur) var(--ease);
}
.profile-card:hover{box-shadow:var(--shadow-md);border-color:var(--aurora)}
.profile-card .card-icon{margin:0 auto 1rem}
.profile-card h4{margin-bottom:.375rem}
.profile-card p{color:var(--slate);font-size:.8125rem;margin-bottom:1rem}

/* --- ZONE CARDS --- */
.zone-card{padding:2rem;background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-lg);transition:all var(--dur) var(--ease)}
.zone-card:hover{box-shadow:var(--shadow-md);border-color:var(--aurora)}
.zone-card h3{margin-bottom:.5rem}
.zone-card p{color:var(--slate);font-size:.9rem;margin-bottom:1rem}
.zone-card .geo-tags{margin-bottom:1.25rem}

/* --- LEGAL PAGES --- */
.legal-section{padding:2rem 0 4rem}
.legal-content{max-width:var(--container-sm);margin:0 auto}
.legal-content h2{font-size:1.375rem;margin:2.5rem 0 1rem;padding-top:1rem;border-top:1px solid var(--ice)}
.legal-content h3{font-size:1.1rem;margin:1.5rem 0 .75rem}
.legal-content p,.legal-content li{color:var(--slate);font-size:.9rem;line-height:1.7}
.legal-content ul{padding-left:1.25rem;margin-bottom:1rem}
.legal-content ul li{list-style:disc;margin-bottom:.375rem}
.legal-content a{color:var(--aurora-dark);text-decoration:underline}

/* --- TIMELINE (about page) --- */
.timeline{position:relative;padding-left:2.5rem}
.timeline::before{content:'';position:absolute;left:.75rem;top:0;bottom:0;width:2px;background:var(--ice)}
.timeline-item{position:relative;margin-bottom:2.5rem}
.timeline-item::before{
  content:'';position:absolute;left:-2.5rem;top:.375rem;
  width:14px;height:14px;border-radius:50%;
  background:var(--aurora);border:3px solid var(--white);box-shadow:0 0 0 2px var(--aurora);
}
.timeline-item h4{margin-bottom:.25rem}
.timeline-item p{color:var(--slate);font-size:.9rem}

/* --- BENEFIT GRID (colaboradores) --- */
.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.benefit-item{text-align:center;padding:2rem 1.5rem;background:var(--off-white);border-radius:var(--radius-lg)}
.benefit-item svg{width:32px;height:32px;color:var(--aurora-dark);margin:0 auto 1rem}
.benefit-item h4{margin-bottom:.5rem}
.benefit-item p{color:var(--slate);font-size:.875rem}

/* --- TWO COLUMN LAYOUT (verticals) --- */
.two-col{display:grid;grid-template-columns:1fr 380px;gap:3rem;align-items:start}
.two-col-main{min-width:0}
.two-col-sidebar{position:sticky;top:90px}

@media(max-width:960px){
  .two-col{grid-template-columns:1fr;gap:2rem}
  .two-col-sidebar{position:static}
}

/* --- WIZARD SIDEBAR CARD --- */
.wizard-card{
  background:var(--white);border:1px solid var(--ice);border-radius:var(--radius-xl);
  padding:2rem;box-shadow:var(--shadow-md);
}
.wizard-card h3{margin-bottom:.25rem;font-size:1.125rem}
.wizard-card .form-sub{color:var(--slate);font-size:.85rem;margin-bottom:1.5rem}
.wizard-progress{display:flex;gap:.375rem;margin-bottom:1.5rem}
.wizard-progress-bar{flex:1;height:4px;background:var(--ice);border-radius:99px}
.wizard-progress-bar.active{background:var(--aurora)}
.wizard-step{display:none}
.wizard-step.active{display:block}
.wizard-nav{display:flex;gap:.75rem;margin-top:1.5rem}
.wizard-result{display:none;text-align:center;padding:1.5rem 0}
.wizard-result.show{display:block}
.wizard-result .score-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.5rem 1.25rem;border-radius:99px;font-weight:700;font-size:1rem;margin-bottom:1rem;
}
.wizard-result .score-badge.high{background:rgba(45,134,89,.1);color:var(--green-ok)}
.wizard-result .score-badge.medium{background:rgba(201,169,110,.15);color:var(--gold)}
.wizard-result .score-badge.low{background:rgba(196,62,62,.1);color:var(--red-err)}

/* --- ANIMATIONS --- */
.fade-up{opacity:0;transform:translateY(24px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* --- RESPONSIVE --- */
@media(max-width:960px){
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .profile-mosaic{grid-template-columns:repeat(2,1fr)}
  .benefit-grid{grid-template-columns:repeat(2,1fr)}
  .hero{padding:7rem 0 3rem}
  .hero-inner{padding:6rem 0 2.5rem}
}
@media(max-width:640px){
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr}
  .profile-mosaic{grid-template-columns:1fr}
  .benefit-grid{grid-template-columns:1fr}
  .coverage-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column;align-items:flex-start}
  .hero-metrics{gap:1.5rem}
  .section{padding:3.5rem 0}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;text-align:center}
  .container{padding:0 1rem}
  .form-card{padding:1.75rem}
}

/* --- UTILITY --- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
.mb-0{margin-bottom:0}
.mb-1{margin-bottom:.5rem}
.mb-2{margin-bottom:1rem}
.mb-3{margin-bottom:1.5rem}
.mb-4{margin-bottom:2rem}
.mt-4{margin-top:2rem}
.pt-0{padding-top:0}
