
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
:root{
  --blue:#00257a;--blue2:#1a4fa0;--blue3:#0668f5;
  --yellow:#ffdd43;--dark:#1e293b;--gray:#5a6a85;
  --bg:#f4f6fb;--white:#ffffff;--border:#dde3ee;
  --shadow:0 8px 32px rgba(0,37,122,0.10);
  --shadow2:0 20px 48px rgba(0,37,122,0.16);
  /* Dashboard layout vars */
  --dash-topbar-h: 58px;
  --dash-bottomnav-h: 64px;
}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{font-family:'Open Sans',system-ui,sans-serif;background:var(--white);color:var(--dark);-webkit-font-smoothing:antialiased;overflow-x:hidden;}

#home-page{padding-top:72px;}

.page-loader{position:fixed;inset:0;z-index:9999;background:#e8e8e8;display:none;flex-direction:column;align-items:center;justify-content:center;gap:24px;transition:opacity .5s ease;opacity:0;font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;}
.page-loader.visible{display:flex;opacity:1;}
.loader-container{display:flex;flex-direction:column;align-items:center;gap:24px;}
.loader-squares{display:flex;align-items:flex-start;gap:8px;}
.loader-square{width:32px;height:32px;opacity:0.4;animation:squareWave 1.2s ease-in-out infinite;}
.loader-square:nth-child(1){background-color:#a8b9d8;animation-delay:0s;}
.loader-square:nth-child(2){background-color:#2e6dbf;width:48px;height:48px;animation-delay:0.2s;}
.loader-square:nth-child(3){background-color:#0047a0;animation-delay:0.4s;}
.loader-text{color:#333333;font-size:18px;font-weight:500;letter-spacing:.3px;}
@keyframes squareWave{0%,100%{opacity:0.4;transform:scale(1);}50%{opacity:1;transform:scale(1.15);}}
@keyframes spin{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}
@keyframes gentleFloat{0%,100%{transform:translate(0,0) rotate(0deg) scale(1);}25%{transform:translate(-5px,-8px) rotate(5deg) scale(1.05);}50%{transform:translate(3px,-4px) rotate(-3deg) scale(1);}75%{transform:translate(-2px,-10px) rotate(4deg) scale(1.03);}}

.header{background:#ffffff;border-bottom:1px solid #dde3ee;position:fixed;top:0;left:0;right:0;z-index:300;box-shadow:0 2px 12px rgba(0,37,122,0.07);}
.header-inner{max-width:1280px;margin:0 auto;padding:0 1.5rem;height:72px;display:flex;align-items:center;gap:1.2rem;}
.menu-btn{background:#0668f5;border:none;border-radius:10px;height:44px;padding:0 18px;display:inline-flex;align-items:center;gap:9px;cursor:pointer;flex-shrink:0;color:white;font-size:15px;font-weight:700;font-family:inherit;}
.menu-btn:hover{background:#1a4fa0;}
.header-logo{flex-shrink:0;margin-left:6px;}
.header-logo img{height:36px;width:auto;display:block;}
.header-nav{display:flex;align-items:center;gap:4px;margin-left:auto;}
.header-nav a{color:#0099FF;text-decoration:none;font-weight:700;font-size:1rem;padding:8px 16px;border-radius:7px;transition:color .2s ease;white-space:nowrap;}
.header-nav a:hover{color:#0044AA;}
.header-right{display:flex;align-items:center;gap:8px;margin-left:16px;flex-shrink:0;}
.separator{width:1px;height:36px;background-color:#dde3ee;margin:0 4px;}
.icon-btn{background:none;border:none;cursor:pointer;width:46px;height:46px;border-radius:10px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;}
.icon-btn svg{width:32px;height:32px;}
.icon-btn svg path,.icon-btn svg circle,.icon-btn svg rect{stroke:#0099FF;transition:stroke .2s ease;}
.icon-btn svg circle[fill="white"]{fill:white;stroke:#0099FF;}
.icon-btn svg circle[fill="#0099FF"]{fill:#0099FF;}
.icon-btn:hover svg path,.icon-btn:hover svg circle,.icon-btn:hover svg rect{stroke:#0044AA;}
.icon-btn:hover svg circle[fill="white"]{fill:white;stroke:#0044AA;}
.icon-btn:hover svg circle[fill="#0099FF"]{fill:#0044AA;}

.login-overlay{position:fixed;inset:0;z-index:500;opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;display:flex;flex-direction:column;overflow:hidden;}
.login-overlay.open{opacity:1;visibility:visible;}
.login-bg{position:absolute;inset:0;background-color:#e8f0f8;background:url('../images/hero-bg.jpg') center bottom/cover no-repeat;z-index:0;}
.login-topbar{position:relative;z-index:3;background:var(--blue);display:flex;align-items:center;justify-content:center;padding:14px 20px;min-height:60px;flex-shrink:0;}
.login-topbar img{height:30px;filter:brightness(0) invert(1);}
.login-close{position:absolute;right:16px;top:50%;transform:translateY(-50%);background:rgba(255,255,255,0.18);border:1.5px solid rgba(255,255,255,0.3);border-radius:0;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;}
.login-close:hover{background:rgba(255,255,255,0.28);}
.login-close svg{width:15px;height:15px;stroke:white;fill:none;stroke-width:2.5;stroke-linecap:round;}
.login-main{position:relative;z-index:2;flex:1;display:flex;align-items:center;justify-content:center;padding:32px 5%;gap:50px;overflow:hidden;}
.login-features{display:grid;grid-template-columns:repeat(3,190px);grid-template-rows:repeat(2,185px);gap:14px;flex-shrink:0;}
.lf-card{background:rgba(255,255,255,0.88);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);border-radius:0;padding:24px 20px;display:flex;flex-direction:column;cursor:default;border:none;}
.lf-card:hover{background:rgba(255,255,255,0.88);box-shadow:none;transform:none;}
.lf-icon{width:38px;height:38px;margin-bottom:14px;color:#1a4bbf;}
.lf-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.lf-title{font-size:15px;font-weight:600;color:#1a4bbf;margin-bottom:8px;}
.lf-desc{font-size:12px;color:#555;line-height:1.5;}
.login-panel{background:#fff;border-radius:0;box-shadow:0 8px 40px rgba(0,0,0,0.18);width:430px;flex-shrink:0;overflow:hidden;transform:translateX(20px);opacity:0;transition:transform .35s cubic-bezier(.25,.9,.35,1),opacity .3s;}
.login-overlay.open .login-panel{transform:translateX(0);opacity:1;}
.login-tab-single{display:block;padding:16px 24px 13px;font-size:13.5px;font-weight:700;color:#1a3a8f;border-bottom:3px solid #1a3a8f;background:none;border-top:none;border-left:none;border-right:none;width:100%;text-align:left;font-family:inherit;cursor:default;}
.login-body{padding:30px 36px 38px;}
.login-body h3{font-size:28px;font-weight:800;color:#111;text-align:center;margin-bottom:6px;}
.login-subtitle{font-size:14px;color:#666;text-align:center;margin-bottom:26px;}
.login-method-tabs{display:flex;border:1.8px solid #1a3a8f;border-radius:0;overflow:hidden;margin-bottom:22px;}
.lm-tab{flex:1;padding:12px 0;font-size:14px;font-weight:600;border:none;cursor:pointer;transition:background .2s,color .2s;background:#fff;color:#1a3a8f;font-family:inherit;}
.lm-tab.active{background:#1a3a8f;color:#fff;}
.form-group{margin-bottom:14px;}
.form-group label{display:block;font-size:11px;color:#666;margin-bottom:3px;font-weight:500;}
.form-group input{width:100%;border:1.5px solid #ccc;border-radius:0;padding:12px 44px 12px 14px;font-size:15px;font-family:inherit;outline:none;transition:border-color .2s;color:#222;background:#fff;}
.form-group input::placeholder{color:#aaa;}
.form-group input:focus{border-color:#1a3a8f;}
.pw-wrap{position:relative;}
.pw-wrap input{padding-right:46px;}
.pw-eye{position:absolute;right:12px;top:50%;transform:translateY(-50%);background:none;border:none;cursor:pointer;color:#1a3a8f;display:flex;padding:4px;}
.pw-eye svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.btn-login-submit{width:100%;background:#1a3a8f;color:#fff;border:none;border-radius:0;padding:15px;font-size:16px;font-weight:700;font-family:inherit;cursor:pointer;margin-top:12px;transition:background .2s;}
.btn-login-submit:hover{background:#1340a8;}
.login-error-box{display:none;background:#fff0f0;border:1px solid #fca5a5;border-radius:0;padding:10px 14px;font-size:13px;color:#dc2626;margin-bottom:12px;font-weight:600;}

.nav-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:600;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;}
.nav-overlay.open{opacity:1;visibility:visible;}
.home-side-nav{position:fixed;top:0;left:-300px;width:280px;height:100dvh;background:var(--white);z-index:700;transition:left .3s cubic-bezier(.25,.9,.35,1.05);display:flex;flex-direction:column;overflow-y:auto;box-shadow:4px 0 24px rgba(0,0,0,.12);}
.home-side-nav.open{left:0;}
.side-nav-head{background:var(--blue);padding:20px;display:flex;align-items:center;justify-content:space-between;}
.side-nav-head img{height:28px;filter:brightness(0) invert(1);}
.side-close{background:none;border:none;cursor:pointer;color:white;display:flex;}
.side-close svg{width:22px;height:22px;}
.home-side-nav ul{list-style:none;padding:12px 8px;}
.home-side-nav ul li a{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;color:var(--blue);font-weight:700;font-size:15px;text-decoration:none;transition:background .15s;}
.home-side-nav ul li a:hover{background:#eef3fb;}
.side-nav-divider{height:1px;background:var(--border);margin:8px 12px;}

.hero{position:relative;min-height:520px;overflow:hidden;display:flex;align-items:center;}
.hero-bg{position:absolute;inset:0;background-color:#e8f0f8;background:url('../images/hero-bg.jpg') center bottom/cover no-repeat;z-index:0;}
.hero-inner{position:relative;z-index:2;max-width:1280px;margin:0 auto;width:100%;padding:80px 1.5rem;display:flex;align-items:center;gap:40px;}
.hero-content{flex:1;}
.hero-eyebrow{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:#2d2d2d;font-weight:700;margin-bottom:12px;}
.hero h1{font-size:clamp(36px,5vw,60px);font-weight:800;color:#00257a;line-height:1.1;margin-bottom:16px;}
.hero-sub{font-size:16px;color:#ffffff;max-width:520px;line-height:1.7;margin-bottom:32px;text-shadow:0 1px 6px rgba(0,0,0,0.7);}
.hero-calc-label{font-size:13px;font-weight:700;color:#ffffff;margin-bottom:14px;text-shadow:0 1px 6px rgba(0,0,0,0.7);}
.hero-tabs{display:flex;gap:8px;flex-wrap:wrap;}
.hero-tab{background:rgba(255,255,255,0.85);border:2px solid rgba(0,37,122,0.35);backdrop-filter:blur(8px);border-radius:12px;padding:14px 18px;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s,background .2s;text-decoration:none;min-width:88px;}
.hero-tab:hover{border-color:#00257a;background:rgba(255,255,255,0.95);box-shadow:0 4px 16px rgba(0,37,122,0.2);transform:translateY(-2px);}
.hero-tab svg{width:28px;height:28px;stroke:#3b8fe0;fill:none;stroke-width:1.7;}
.hero-tab span{font-size:10px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;color:#3b8fe0;}
.hero-payment{flex-shrink:0;width:480px;background:white;border-radius:16px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,0.25);}
.hero-payment-head{background:linear-gradient(120deg,var(--blue) 0%,#003dab 100%);color:white;padding:16px 22px;text-align:center;}
.hero-payment-head h3{font-size:16px;font-weight:800;}
.hero-payment-head p{font-size:12px;opacity:.75;margin-top:2px;}
.hero-payment-body{padding:16px 20px;}
.pay-btns{display:flex;flex-direction:row;gap:8px;}
.pay-btn{flex:1;padding:10px 8px;border-radius:10px;font-weight:700;font-size:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s;background:white;border:2px solid var(--blue2);color:var(--blue2);font-family:inherit;text-decoration:none;text-align:center;white-space:nowrap;}
.pay-btn:hover{transform:translateY(-2px);background:#eef3fb;box-shadow:0 6px 16px rgba(6,104,245,.12);}
.pay-btn svg{width:20px;height:20px;flex-shrink:0;}
.bank-wrap{max-height:0;overflow:hidden;opacity:0;transition:max-height .4s,opacity .3s;margin-top:12px;}
.bank-wrap.open{max-height:600px;opacity:1;}
.bank-card{background:#fff;border-radius:12px;padding:18px 20px;border:1.5px solid #d0dcf0;box-shadow:0 2px 12px rgba(0,37,122,0.07);}
.bank-title{font-weight:800;color:var(--dark);margin-bottom:14px;font-size:15px;display:flex;align-items:center;gap:8px;}
.bank-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e8edf5;gap:16px;}
.bank-row:last-child{border-bottom:none;}
.bank-label{font-weight:700;color:var(--dark);font-size:13px;white-space:nowrap;flex-shrink:0;}
.bank-value{font-weight:800;color:#003dbb;font-size:13px;text-align:right;}

.promo-section{background:var(--white);padding:60px 1.5rem;}
.promo-inner{max-width:1000px;margin:0 auto;background:#ffffff;border-radius:20px;padding:40px 50px;box-shadow:0 4px 20px rgba(0,0,0,0.08);display:flex;align-items:center;justify-content:space-between;gap:50px;overflow:visible;border:1.5px solid #e8edf5;}
.promo-text{flex:1;z-index:2;}
.promo-opportunity-badge{color:#6b7280;font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;margin-bottom:15px;display:block;}
.promo-main-title{color:#1e3a5f;font-size:32px;font-weight:700;line-height:1.3;margin-bottom:10px;}
.promo-highlight{background:#a5e6f3;color:#0055b8;padding:2px 8px;border-radius:4px;font-weight:700;}
.promo-subtitle{color:#374151;font-size:16px;font-weight:400;line-height:1.5;}
.promo-right{position:relative;flex-shrink:0;display:flex;align-items:center;justify-content:center;padding-top:30px;}
.promo-stars-deco{position:absolute;top:-15px;left:-85px;width:85px;height:85px;z-index:10;pointer-events:none;animation:gentleFloat 6s ease-in-out infinite;}
.promo-stars-deco img{width:100%;height:100%;object-fit:contain;}
.promo-card-img{width:220px;position:relative;z-index:5;filter:drop-shadow(0 8px 20px rgba(0,0,0,0.15));transition:transform .4s ease;transform:rotate(-3deg);}
.promo-card-img:hover{transform:rotate(3deg) scale(1.02);}
.promo-card-img img{width:100%;height:auto;display:block;border-radius:12px;}

.help-section{background:var(--bg);padding:60px 1.5rem;}
.help-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:60px;}
.help-text{flex:1;}
.help-eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--gray);margin-bottom:12px;}
.help-title{font-size:clamp(28px,4vw,44px);font-weight:800;color:var(--blue);line-height:1.2;margin-bottom:16px;}
.help-desc{font-size:15px;color:var(--gray);line-height:1.7;max-width:460px;}
.help-img-wrap{flex:1;border-radius:16px;overflow:hidden;box-shadow:var(--shadow2);max-width:540px;}
.help-img-wrap img{width:100%;height:360px;object-fit:cover;display:block;}

.products-section{background:var(--white);padding:70px 1.5rem;}
.section-label{text-align:center;font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--gray);margin-bottom:10px;}
.section-title{text-align:center;font-size:clamp(26px,4vw,38px);font-weight:800;color:var(--blue);margin-bottom:8px;}
.section-sub{text-align:center;font-size:15px;color:var(--gray);margin-bottom:40px;}
.products-grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.prod-card{border-radius:16px;overflow:hidden;border:1.5px solid var(--border);background:var(--white);cursor:pointer;transition:transform .25s,box-shadow .25s;text-decoration:none;display:block;color:inherit;}
.prod-card:hover{transform:translateY(-5px);box-shadow:var(--shadow2);}
.prod-card img{width:100%;height:180px;object-fit:cover;display:block;}
.prod-body{padding:18px 20px;}
.prod-title{font-size:16px;font-weight:800;color:var(--blue);margin-bottom:6px;display:flex;align-items:center;gap:6px;}
.prod-title::after{content:'→';font-weight:400;}
.prod-desc{font-size:13px;color:var(--gray);line-height:1.5;}
.prod-detail{display:none;background:var(--white);border:1.5px solid var(--border);border-radius:16px;padding:32px;margin-top:20px;animation:fadeUp .3s ease both;}
.prod-detail.open{display:block;}
@keyframes fadeUp{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:translateY(0);}}
.prod-detail h2{font-size:22px;font-weight:800;color:var(--blue);margin-bottom:8px;}
.prod-detail>p{font-size:14px;color:var(--gray);margin-bottom:20px;line-height:1.6;}
.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;}
.detail-block{background:var(--bg);border-radius:12px;padding:16px;border:1px solid var(--border);}
.detail-icon{display:inline-flex;font-size:22px;line-height:1;margin-bottom:8px;}
.detail-block h3{font-size:13px;font-weight:800;color:var(--blue);margin-bottom:6px;}
.detail-block p{font-size:12px;color:var(--gray);line-height:1.6;}

.values-section{background:linear-gradient(180deg,#f0f5fc 0%,var(--white) 100%);padding:70px 1.5rem;text-align:center;}
.values-inner{max-width:1000px;margin:0 auto;}
.values-eyebrow{font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--gray);margin-bottom:12px;}
.values-title{font-size:clamp(28px,4vw,42px);font-weight:800;color:var(--blue);margin-bottom:16px;line-height:1.2;}
.values-text{font-size:15px;color:var(--gray);line-height:1.7;margin-bottom:50px;max-width:680px;margin-left:auto;margin-right:auto;}
.values-text strong{color:var(--dark);font-weight:800;}
.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:32px;margin-bottom:40px;}
.stat-num{font-size:clamp(38px,5vw,56px);font-weight:800;color:var(--blue);line-height:1;}
.stat-unit{font-size:20px;font-weight:700;color:var(--blue);}
.stat-lbl{font-size:13px;color:var(--gray);margin-top:6px;line-height:1.4;}

.reviews-section{background:var(--bg);padding:70px 1.5rem;}
.reviews-inner{max-width:1100px;margin:0 auto;}
.rating-bar{display:flex;align-items:center;gap:20px;margin-bottom:36px;flex-wrap:wrap;}
.rating-star-big{font-size:32px;color:#f4b400;line-height:1;}
.rating-score-big{font-size:32px;font-weight:800;color:var(--dark);}
.rating-count{font-size:14px;color:var(--gray);}
.google-src{display:flex;flex-direction:column;align-items:flex-start;margin-left:auto;}
.google-src small{font-size:11px;color:var(--gray);margin-bottom:2px;}
.google-logo{font-size:18px;font-weight:800;}
.google-logo .g1{color:#4285F4;}.google-logo .g2{color:#EA4335;}.google-logo .g3{color:#FBBC05;}.google-logo .g4{color:#4285F4;}.google-logo .g5{color:#34A853;}.google-logo .g6{color:#EA4335;}
.reviews-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.review-card{background:white;border:1.5px solid var(--border);border-radius:14px;padding:24px;}
.review-stars{color:#f4b400;font-size:18px;margin-bottom:12px;}
.review-text{font-size:14px;color:var(--gray);line-height:1.6;margin-bottom:14px;}
.review-office{font-size:12px;font-weight:700;color:var(--blue3);}

footer{background:var(--blue);color:rgba(255,255,255,.8);padding:56px 1.5rem 0;}
.footer-main{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:48px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-brand img{height:30px;filter:brightness(0) invert(1);margin-bottom:16px;}
.footer-brand p{font-size:13px;line-height:1.7;max-width:240px;margin-bottom:14px;}
.footer-brand small{font-size:12px;opacity:.55;}
.footer-social{display:flex;gap:10px;margin-top:16px;}
.social-btn{width:34px;height:34px;border-radius:8px;background:rgba(255,255,255,.1);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;color:white;font-size:14px;font-weight:700;transition:background .2s;text-decoration:none;}
.social-btn:hover{background:rgba(255,255,255,.2);}
.footer-col h4{font-size:13px;font-weight:800;color:white;margin-bottom:14px;}
.footer-col ul{list-style:none;}
.footer-col ul li{margin-bottom:8px;}
.footer-col ul li a{font-size:13px;color:rgba(255,255,255,.65);text-decoration:none;transition:color .2s;}
.footer-col ul li a:hover{color:white;}
.footer-ratings{max-width:1280px;margin:0 auto;padding:32px 0;display:flex;align-items:center;gap:32px;flex-wrap:wrap;border-bottom:1px solid rgba(255,255,255,.12);}
.footer-ratings-text h4{font-size:16px;font-weight:800;color:white;margin-bottom:4px;}
.footer-ratings-text p{font-size:13px;color:rgba(255,255,255,.6);}
.footer-rating-score{display:flex;align-items:center;gap:10px;}
.footer-rating-score .star{font-size:22px;color:#f4b400;}
.footer-rating-score .score{font-size:22px;font-weight:800;color:white;}
.footer-rating-score .count{font-size:12px;color:rgba(255,255,255,.6);}
.footer-bottom{max-width:1280px;margin:0 auto;padding:20px 0;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:rgba(255,255,255,.4);}
.footer-bottom-links{display:flex;gap:20px;flex-wrap:wrap;}
.footer-bottom-links a{color:rgba(255,255,255,.4);text-decoration:none;font-size:12px;}
.footer-bottom-links a:hover{color:rgba(255,255,255,.7);}

.float-wrap{position:fixed;bottom:28px;right:28px;z-index:200;}
.float-pill{display:flex;align-items:center;justify-content:space-between;background:#F5C400;border:none;border-radius:50px;padding:14px 18px 14px 22px;width:240px;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.18);font-family:inherit;transition:opacity .4s ease,transform .4s ease;}
.float-pill:hover{opacity:.9;}
.float-pill-text{display:flex;flex-direction:column;gap:2px;}
.float-pill-text p:first-child{margin:0;font-weight:700;font-size:14px;color:#1a1a1a;}
.float-pill-text p:last-child{margin:0;font-size:12px;color:#3a3a3a;}
.float-pill-icon{background:#fff;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.float-circle{background:#fff;border:3px solid #F5C400;border-radius:50%;width:58px;height:58px;display:none;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 8px 28px rgba(0,0,0,.15);transition:opacity .4s ease,transform .4s ease;}
.float-circle:hover{opacity:.85;}

.pay-modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:900;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;display:flex;align-items:center;justify-content:center;padding:20px;}
.pay-modal-overlay.open{opacity:1;visibility:visible;}
.pay-modal{background:white;border-radius:18px;width:100%;max-width:480px;box-shadow:0 32px 80px rgba(0,0,0,.25);overflow:hidden;transform:scale(.96);transition:transform .25s;font-family:'Sora',sans-serif;}
.pay-modal-overlay.open .pay-modal{transform:scale(1);}
.pay-modal-head{background:linear-gradient(135deg,#00257a 0%,#0046c8 100%);color:white;padding:20px 24px;display:flex;align-items:center;justify-content:space-between;}
.pay-modal-head h3{font-size:17px;font-weight:800;margin:0;}
.pay-modal-head .pay-amount{font-size:13px;opacity:.85;margin-top:3px;}
.pay-modal-close{background:rgba(255,255,255,.18);border:none;border-radius:8px;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:white;}
.pay-modal-close svg{width:15px;height:15px;}
.pay-tabs{display:flex;border-bottom:1.5px solid #e2e8f0;background:#f8fafc;}
.pay-tab{flex:1;padding:14px 8px;background:none;border:none;font-family:inherit;font-size:12.5px;font-weight:700;color:#64748b;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:5px;transition:all .2s;border-bottom:3px solid transparent;}
.pay-tab svg{width:20px;height:20px;}
.pay-tab:hover{color:#0046c8;background:#eef3ff;}
.pay-tab.active{color:#0046c8;background:white;border-bottom-color:#0046c8;}
.pay-modal-body{padding:24px;min-height:220px;}
.pay-pane{display:none;}
.pay-pane.active{display:block;}
.pay-amount-display{background:#eef3ff;border:1.5px solid #c7d6f7;border-radius:10px;padding:14px 16px;margin-bottom:18px;display:flex;justify-content:space-between;align-items:center;}
.pay-amount-display .lbl{font-size:11.5px;color:#5a6a85;font-weight:700;text-transform:uppercase;letter-spacing:.5px;}
.pay-amount-display .val{font-size:22px;font-weight:800;color:#00257a;font-family:'JetBrains Mono',monospace;}
.pay-info-text{font-size:12.5px;color:#5a6a85;line-height:1.6;margin-bottom:14px;text-align:center;}
.pay-bank-row{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #e8edf5;font-size:13px;gap:12px;}
.pay-bank-row:last-child{border-bottom:none;}
.pay-bank-row .lbl{font-weight:700;color:#0d1526;flex-shrink:0;}
.pay-bank-row .val{font-weight:700;color:#0046c8;font-family:'JetBrains Mono',monospace;text-align:right;word-break:break-all;}
#paypal-button-container,#card-button-container{min-height:50px;}
.pay-loading{text-align:center;color:#8899b0;font-size:13px;padding:20px;}
.pay-config-warn{background:#fff8e1;border:1.5px solid #ffcc02;border-radius:8px;padding:10px 12px;font-size:12px;color:#7a4a00;margin-bottom:14px;line-height:1.5;}

.modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:800;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s;display:flex;align-items:center;justify-content:center;padding:20px;}
.modal-overlay.open{opacity:1;visibility:visible;}
.modal{background:white;border-radius:20px;width:100%;max-width:480px;box-shadow:0 32px 80px rgba(0,0,0,.2);overflow:hidden;transform:scale(.95);transition:transform .25s;}
.modal-overlay.open .modal{transform:scale(1);}
.modal-head{background:var(--blue);color:white;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;}
.modal-head h3{font-size:18px;font-weight:800;}
.modal-head p{font-size:13px;opacity:.75;margin-top:2px;}
.modal-close{background:rgba(255,255,255,.15);border:none;border-radius:8px;cursor:pointer;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:white;flex-shrink:0;}
.modal-close svg{width:16px;height:16px;}
.modal-body{padding:28px;}
.modal-form-group{margin-bottom:16px;}
.modal-form-group label{display:block;font-size:12px;font-weight:700;color:var(--gray);margin-bottom:5px;text-transform:uppercase;letter-spacing:.4px;}
.modal-form-group input,.modal-form-group textarea{width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:8px;font-size:14px;font-family:inherit;outline:none;transition:border-color .2s;color:var(--dark);resize:none;}
.modal-form-group input:focus,.modal-form-group textarea:focus{border-color:var(--blue);}
.modal-form-group textarea{min-height:100px;resize:vertical;}
.btn-send{width:100%;background:var(--blue);color:white;border:none;border-radius:8px;padding:14px;font-size:15px;font-weight:800;font-family:inherit;cursor:pointer;transition:background .2s;margin-top:4px;}
.btn-send:hover{background:var(--blue2);}
.modal-success{display:none;padding:40px 28px;text-align:center;}
.modal-success-icon{font-size:48px;margin-bottom:16px;}
.modal-success h3{font-size:20px;font-weight:800;color:var(--blue);margin-bottom:8px;}
.modal-success p{font-size:14px;color:var(--gray);line-height:1.6;}

/* ══════════════════════════════════════════════════════
   DASHBOARD — topbar SIEMPRE FIJA
══════════════════════════════════════════════════════ */
#dashboard-page{
  display:none;
  font-family:'Sora',sans-serif;
  background:#eef1f8;
  color:#0d1526;
  min-height:100vh;
  font-size:13px;
}
#dashboard-page *{box-sizing:border-box;}

/* TOPBAR FIJA — nunca se mueve */
#dashboard-page .topbar{
  background:#ffffff;
  padding:0 1.5rem;
  height:var(--dash-topbar-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:fixed;
  top:0; left:0; right:0;
  z-index:200;
  border-bottom:1px solid #e2e8f0;
  box-shadow:0 1px 4px rgba(0,0,0,0.06);
}
#dashboard-page .topbar-logo{display:flex;align-items:center;gap:12px;}
#dashboard-page .topbar-logo img{height:26px;}
#dashboard-page .topbar-divider{width:1px;height:24px;background:#e2e8f0;}
#dashboard-page .topbar-section-label{font-size:12px;font-weight:600;color:#64748b;}
#dashboard-page .topbar-right{display:flex;align-items:center;gap:8px;}
#dashboard-page .btn-logout{display:flex;align-items:center;gap:5px;background:linear-gradient(135deg,#00257a,#0046c8);border:none;border-radius:7px;padding:6px 12px;color:white;font-size:11.5px;font-weight:700;cursor:pointer;font-family:'Sora',sans-serif;transition:all .2s;box-shadow:0 2px 6px rgba(0,37,122,0.2);}
#dashboard-page .btn-logout:hover{background:linear-gradient(135deg,#001a5c,#003399);}
#dashboard-page .btn-logout svg{width:12px;height:12px;flex-shrink:0;}

/* MAIN WRAP — compensa topbar fija */
#dashboard-page .main-wrap{
  max-width:1100px;
  margin:0 auto;
  padding:calc(var(--dash-topbar-h) + 20px) 1.5rem 50px;
}
#dashboard-page .main-grid{display:grid;grid-template-columns:240px 1fr;gap:16px;align-items:start;}

#dashboard-page .side-nav{background:#ffffff;border-radius:12px;border:1px solid #d0d8ea;box-shadow:0 2px 8px rgba(0,37,122,0.06);overflow:hidden;position:sticky;top:calc(var(--dash-topbar-h) + 12px);}
#dashboard-page .side-nav-profile{background:linear-gradient(135deg,#f8f9ff 0%,#eef1fb 100%);padding:16px 18px;border-bottom:1px solid #d0d8ea;text-align:center;}
#dashboard-page .snp-avatar{width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#1a3a8f,#0668f5);display:flex;align-items:center;justify-content:center;font-size:20px;font-weight:800;color:white;margin:0 auto 10px;box-shadow:0 3px 12px rgba(6,104,245,0.25);}
#dashboard-page .snp-name{font-size:13px;font-weight:700;color:#0d1526;margin-bottom:3px;}
#dashboard-page .snp-sub{font-size:11px;color:#8899b0;font-family:'JetBrains Mono',monospace;}
#dashboard-page .snp-poliza{display:inline-flex;align-items:center;gap:4px;margin-top:8px;background:#00257a;border-radius:20px;padding:4px 10px;font-size:10px;font-weight:700;color:white;}
#dashboard-page .nav-menu{padding:6px;}
#dashboard-page .nav-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border-radius:8px;border:none;background:transparent;color:#5a6a85;font-size:12.5px;font-weight:500;cursor:pointer;font-family:'Sora',sans-serif;text-align:left;transition:all .18s;position:relative;}
#dashboard-page .nav-btn:hover{background:#eef1f8;color:#00257a;}
#dashboard-page .nav-btn.active{background:#eef3ff;color:#0046c8;font-weight:700;}
#dashboard-page .nav-btn.active::before{content:'';position:absolute;left:0;top:20%;bottom:20%;width:3px;border-radius:0 3px 3px 0;background:#0046c8;}
#dashboard-page .nav-btn svg{width:15px;height:15px;flex-shrink:0;}
#dashboard-page .nav-btn .nav-badge{margin-left:auto;background:#e8364a;color:white;border-radius:20px;padding:2px 6px;font-size:9px;font-weight:700;}
#dashboard-page .nav-divider{height:1px;background:#d0d8ea;margin:4px 6px;}

#dashboard-page .content-area{display:flex;flex-direction:column;gap:14px;}
#dashboard-page .panel{background:#ffffff;border-radius:12px;border:1px solid #d0d8ea;box-shadow:0 2px 8px rgba(0,37,122,0.06);overflow:hidden;animation:dashFadeUp .3s ease both;}
@keyframes dashFadeUp{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
#dashboard-page .panel-head{padding:14px 18px;border-bottom:1px solid #d0d8ea;display:flex;align-items:center;justify-content:space-between;}
#dashboard-page .panel-title{font-size:13px;font-weight:700;color:#0d1526;display:flex;align-items:center;gap:7px;}
#dashboard-page .panel-title svg{width:15px;height:15px;color:#0046c8;}
#dashboard-page .panel-body{padding:16px 18px;}
#dashboard-page .tab-section{display:none;}
#dashboard-page .tab-section.active{display:block;}

#dashboard-page .stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:12px;}
#dashboard-page .stat-card{background:#fff;border:1px solid #d6deed;border-top:3px solid #64748b;border-radius:9px;padding:9px 8px;text-align:center;box-shadow:0 1px 3px rgba(0,37,122,0.05);}
#dashboard-page .stat-card:nth-child(1){border-top-color:#0046c8;}
#dashboard-page .stat-card:nth-child(2){border-top-color:#94a3b8;}
#dashboard-page .stat-card:nth-child(3){border-top-color:#f59e0b;}
#dashboard-page .stat-card .stat-icon-wrap{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;margin:0 auto 6px;}
#dashboard-page .stat-card .stat-icon-wrap.gray{background:#f1f3f8;}
#dashboard-page .stat-card .stat-icon-wrap.blue{background:#e8f0fe;}
#dashboard-page .stat-card .stat-icon-wrap.orange{background:#fff3e0;}
#dashboard-page .stat-card .stat-icon-wrap svg{width:15px;height:15px;}
#dashboard-page .stat-card .stat-val{font-size:15px;font-weight:800;color:#00257a;font-family:'JetBrains Mono',monospace;}
#dashboard-page .stat-card .stat-lbl{font-size:8.8px;color:#7a889e;margin-top:1px;font-weight:700;text-transform:uppercase;letter-spacing:.45px;}

#dashboard-page .resumen-poliza-card{border:1.5px solid #d0d8ea;border-radius:10px;overflow:hidden;}
#dashboard-page .resumen-poliza-head{background:linear-gradient(135deg,#00257a 0%,#0046c8 100%);padding:12px 16px;display:flex;align-items:center;gap:10px;}
#dashboard-page .resumen-poliza-icon{font-size:20px;}
#dashboard-page .resumen-poliza-info{flex:1;}
#dashboard-page .resumen-poliza-title{font-size:13px;font-weight:700;color:white;}
#dashboard-page .resumen-poliza-num{font-size:11px;color:rgba(255,255,255,0.65);font-family:'JetBrains Mono',monospace;}
#dashboard-page .resumen-poliza-status{background:rgba(0,196,122,0.2);border:1px solid rgba(0,196,122,0.4);border-radius:20px;padding:3px 10px;font-size:10px;font-weight:700;color:#5fffcc;}
#dashboard-page .resumen-poliza-body{padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:8px;}
#dashboard-page .resumen-poliza-field label{font-size:9.5px;font-weight:700;color:#8899b0;text-transform:uppercase;letter-spacing:.4px;display:block;margin-bottom:2px;}
#dashboard-page .resumen-poliza-field span{font-size:12px;font-weight:600;color:#0d1526;font-family:'JetBrains Mono',monospace;}

#dashboard-page .aviso-recibos{display:flex;background:#fff8e1;border:1.5px solid #ffcc02;border-radius:10px;padding:12px 14px;align-items:center;gap:10px;margin-top:12px;}
#dashboard-page .aviso-recibos-icon{font-size:22px;flex-shrink:0;}
#dashboard-page .aviso-recibos-text{flex:1;}
#dashboard-page .aviso-recibos-text strong{font-size:12.5px;font-weight:700;color:#7a4a00;display:block;margin-bottom:2px;}
#dashboard-page .aviso-recibos-text span{font-size:11.5px;color:#9a6000;}
#dashboard-page .aviso-recibos-btn{background:#ffcc02;border:none;border-radius:7px;padding:7px 12px;font-size:11.5px;font-weight:700;font-family:'Sora',sans-serif;cursor:pointer;color:#3a2000;white-space:nowrap;flex-shrink:0;}

#dashboard-page .poliza-card{border:1.5px solid #d0d8ea;border-radius:10px;overflow:hidden;margin-bottom:12px;}
#dashboard-page .poliza-head{background:linear-gradient(135deg,#00257a 0%,#0046c8 100%);padding:12px 16px;display:flex;align-items:center;gap:10px;}
#dashboard-page .poliza-icon{width:38px;height:38px;background:rgba(255,255,255,0.15);border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;flex-shrink:0;}
#dashboard-page .poliza-head-info{flex:1;}
#dashboard-page .poliza-head-title{font-size:13px;font-weight:700;color:white;}
#dashboard-page .poliza-head-num{font-size:11px;color:rgba(255,255,255,0.65);font-family:'JetBrains Mono',monospace;margin-top:2px;}
#dashboard-page .poliza-status{display:inline-flex;align-items:center;gap:4px;background:rgba(0,196,122,0.2);border:1px solid rgba(0,196,122,0.4);border-radius:20px;padding:3px 10px;font-size:10px;font-weight:700;color:#5fffcc;}
#dashboard-page .poliza-body{padding:12px 16px;}
#dashboard-page .poliza-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 16px;border-bottom:1.5px solid #c4cee0;padding-bottom:10px;margin-bottom:4px;}
#dashboard-page .poliza-field{padding:8px 0;}
#dashboard-page .poliza-field-label{font-size:9.5px;font-weight:700;color:#8899b0;text-transform:uppercase;letter-spacing:.4px;margin-bottom:2px;}
#dashboard-page .poliza-field-val{font-size:13px;font-weight:600;color:#0d1526;font-family:'JetBrains Mono',monospace;}

#dashboard-page .datos-grid{display:grid;grid-template-columns:1fr 1fr;gap:0;}
#dashboard-page .dato-row{display:flex;align-items:flex-start;gap:10px;padding:12px 0;border-bottom:1px solid #d0d8ea;}
#dashboard-page .dato-row:nth-last-child(-n+2){border-bottom:none;}
#dashboard-page .dato-row.full{grid-column:1/-1;}
#dashboard-page .dato-icon{width:30px;height:30px;border-radius:7px;background:#eef3ff;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
#dashboard-page .dato-icon svg{width:13px;height:13px;color:#0046c8;}
#dashboard-page .dato-label{font-size:9.5px;font-weight:600;color:#8899b0;text-transform:uppercase;letter-spacing:.4px;margin-bottom:2px;}
#dashboard-page .dato-val{font-size:13px;font-weight:600;color:#0d1526;}

#dashboard-page .recibo-item{border:1.5px solid #d0d8ea;border-radius:10px;overflow:hidden;margin-bottom:10px;transition:box-shadow .2s;}
#dashboard-page .recibo-item:last-child{margin-bottom:0;}
#dashboard-page .recibo-item:hover{box-shadow:0 4px 16px rgba(0,37,122,0.1);}
#dashboard-page .recibo-head{padding:12px 14px;display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#fafbff,#f4f6fc);}
#dashboard-page .recibo-status-dot{width:34px;height:34px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;}
#dashboard-page .recibo-status-dot.pendiente{background:#fff3e0;border:2px solid #ffb74d;}
#dashboard-page .recibo-info{flex:1;}
#dashboard-page .recibo-desc{font-size:13px;font-weight:700;color:#0d1526;}
#dashboard-page .recibo-fecha{font-size:11px;color:#8899b0;margin-top:2px;}
#dashboard-page .recibo-importe{font-size:18px;font-weight:800;color:#00257a;font-family:'JetBrains Mono',monospace;}
#dashboard-page .recibo-tag{display:inline-flex;align-items:center;gap:4px;border-radius:20px;padding:2px 8px;font-size:9.5px;font-weight:700;text-transform:uppercase;letter-spacing:.3px;}
#dashboard-page .recibo-tag.pendiente{background:#fff3e0;color:#e65100;border:1px solid #ffb74d;}
#dashboard-page .recibo-actions{padding:10px 14px;background:#f9fafd;border-top:1px solid #d0d8ea;display:flex;gap:8px;align-items:center;}
#dashboard-page .btn-pay{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#003087,#0044aa);color:white;border:none;border-radius:7px;padding:8px 14px;font-size:12px;font-weight:700;font-family:'Sora',sans-serif;cursor:pointer;transition:all .2s;text-decoration:none;}
#dashboard-page .btn-pay:hover{transform:translateY(-1px);box-shadow:0 3px 12px rgba(0,48,135,0.35);}
#dashboard-page .btn-transfer{display:inline-flex;align-items:center;gap:5px;background:transparent;border:1.5px solid #d0d8ea;border-radius:7px;padding:8px 12px;font-size:11.5px;font-weight:600;color:#5a6a85;font-family:'Sora',sans-serif;cursor:pointer;transition:all .2s;}
#dashboard-page .btn-transfer:hover{border-color:#0046c8;color:#0046c8;background:#eef3ff;}
#dashboard-page .no-recibos{text-align:center;padding:30px 20px;}
#dashboard-page .no-recibos-icon{font-size:40px;margin-bottom:10px;}
#dashboard-page .no-recibos h3{font-size:15px;font-weight:700;color:#0d1526;margin-bottom:5px;}
#dashboard-page .no-recibos p{font-size:12.5px;color:#8899b0;line-height:1.6;}

#dashboard-page .contact-intro{display:flex;flex-direction:column;align-items:center;padding:20px 18px 16px;gap:10px;text-align:center;}
#dashboard-page .contact-intro-icon{width:56px;height:56px;background:#eef3ff;border-radius:14px;display:flex;align-items:center;justify-content:center;}
#dashboard-page .contact-intro-icon svg{width:28px;height:28px;stroke:#0046c8;}
#dashboard-page .contact-intro h3{font-size:15px;font-weight:700;color:#0d1526;}
#dashboard-page .contact-intro p{font-size:12.5px;color:#8899b0;max-width:320px;line-height:1.6;}
#dashboard-page .btn-abrir-contacto{display:inline-flex;align-items:center;gap:8px;background:linear-gradient(135deg,#00257a,#0046c8);color:white;border:none;border-radius:9px;padding:11px 22px;font-size:13px;font-weight:700;font-family:'Sora',sans-serif;cursor:pointer;box-shadow:0 3px 12px rgba(0,37,122,0.25);transition:all .2s;}
#dashboard-page .btn-abrir-contacto:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,37,122,0.35);}
#dashboard-page .btn-abrir-contacto svg{width:15px;height:15px;}
#dashboard-page .inline-contact-form{display:none;margin-top:0;background:#f8f9ff;border-top:1.5px solid #dde3ee;padding:16px 18px;animation:dashFadeUp .25s ease both;}
#dashboard-page .inline-contact-form.open{display:block;}
#dashboard-page .icf-title{font-size:13px;font-weight:700;color:#0d1526;margin-bottom:12px;display:flex;align-items:center;gap:7px;}
#dashboard-page .icf-title svg{width:14px;height:14px;stroke:#0046c8;}
#dashboard-page .icf-group{margin-bottom:10px;}
#dashboard-page .icf-group label{display:block;font-size:10px;font-weight:700;color:#8899b0;text-transform:uppercase;letter-spacing:.4px;margin-bottom:4px;}
#dashboard-page .icf-group input,#dashboard-page .icf-group textarea{width:100%;padding:9px 12px;border:1.5px solid #d0d8ea;border-radius:7px;font-size:13px;font-family:'Sora',sans-serif;outline:none;transition:border-color .2s;color:#0d1526;resize:none;background:#fff;}
#dashboard-page .icf-group input:focus,#dashboard-page .icf-group textarea:focus{border-color:#0046c8;}
#dashboard-page .icf-group textarea{min-height:70px;resize:vertical;}
#dashboard-page .icf-btns{display:flex;gap:8px;margin-top:12px;}
#dashboard-page .btn-icf-send{flex:1;background:linear-gradient(135deg,#00257a,#0046c8);color:white;border:none;border-radius:7px;padding:10px;font-size:13px;font-weight:700;font-family:'Sora',sans-serif;cursor:pointer;transition:all .2s;}
#dashboard-page .btn-icf-send:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(0,37,122,0.3);}
#dashboard-page .btn-icf-cancel{background:transparent;border:1.5px solid #d0d8ea;border-radius:7px;padding:10px 14px;font-size:13px;font-weight:600;color:#8899b0;font-family:'Sora',sans-serif;cursor:pointer;transition:all .2s;}
#dashboard-page .btn-icf-cancel:hover{border-color:#0046c8;color:#0046c8;}
#dashboard-page .icf-success{display:none;text-align:center;padding:20px;}
#dashboard-page .icf-success-icon{font-size:36px;margin-bottom:10px;}
#dashboard-page .icf-success h3{font-size:15px;font-weight:700;color:#0d1526;margin-bottom:5px;}
#dashboard-page .icf-success p{font-size:12px;color:#8899b0;line-height:1.6;}
#dashboard-page .transfer-wrap{display:none;margin-top:10px;background:#f8f9ff;border:1.5px solid #d0d8ea;border-radius:9px;padding:14px;}
#dashboard-page .transfer-wrap.open{display:block;animation:dashFadeUp .2s ease;}
#dashboard-page .transfer-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid #d0d8ea;}
#dashboard-page .transfer-row:last-child{border-bottom:none;}
#dashboard-page .transfer-label{font-size:11px;font-weight:700;color:#8899b0;text-transform:uppercase;letter-spacing:.3px;}
#dashboard-page .transfer-val{font-size:12px;font-weight:700;color:#00257a;font-family:'JetBrains Mono',monospace;}

#dashboard-page .stat-card-green{border-top-color:#16a34a !important;}
#dashboard-page .stat-card-blue{border-top-color:#1d4ed8 !important;}
#dashboard-page .stat-card-orange{border-top-color:#ea580c !important;}
#dashboard-page .stat-icon-wrap.stat-ico-green{background:#dcfce7;}
#dashboard-page .stat-icon-wrap.stat-ico-blue{background:#dbeafe;}
#dashboard-page .stat-icon-wrap.stat-ico-orange{background:#ffedd5;}
#dashboard-page .aviso-pago-urgente{display:flex;align-items:flex-start;gap:12px;background:linear-gradient(135deg,#fff5f5 0%,#fef2f2 100%);border:1.5px solid #fecaca;border-left:4px solid #dc2626;border-radius:10px;padding:14px 16px;margin-bottom:14px;box-shadow:0 2px 8px rgba(220,38,38,0.06);}
#dashboard-page .aviso-pago-urgente-icon{flex-shrink:0;width:34px;height:34px;border-radius:50%;background:#fee2e2;display:flex;align-items:center;justify-content:center;}
#dashboard-page .aviso-pago-urgente-icon svg{width:18px;height:18px;stroke:#dc2626;}
#dashboard-page .aviso-pago-urgente-text strong{display:block;font-size:13px;font-weight:700;color:#991b1b;margin-bottom:3px;}
#dashboard-page .aviso-pago-urgente-text p{font-size:12px;color:#7f1d1d;line-height:1.55;margin:0;}

/* ══════════════════════════════════════════════════════
   BOTTOM NAV MÓVIL
══════════════════════════════════════════════════════ */
#dash-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--dash-bottomnav-h);
  background: #fff;
  border-top: 1.5px solid #e2e8f0;
  box-shadow: 0 -4px 20px rgba(0,37,122,0.10);
  z-index: 300;
  align-items: stretch;
  justify-content: stretch;
}
.dbn-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
  font-size: 9px;
  font-weight: 600;
  color: #8899b0;
  padding: 8px 4px 10px;
  position: relative;
  transition: color .2s;
  -webkit-tap-highlight-color: transparent;
}
.dbn-btn.active { color: #0046c8; }
.dbn-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dbn-btn .dbn-badge {
  position: absolute;
  top: 6px; right: calc(50% - 18px);
  background: #e8364a; color: white;
  border-radius: 20px; padding: 1px 5px;
  font-size: 8px; font-weight: 700;
  min-width: 15px; text-align: center;
}

/* ══════════════════════════════════════════════════════
   ALERTA URGENTE MODAL
══════════════════════════════════════════════════════ */
#recibo-alert-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 5000;
  align-items: center; justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
#recibo-alert-overlay.open { display: flex; }
.recibo-alert-modal {
  background: #fff; border-radius: 20px;
  width: 100%; max-width: 420px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
  animation: alertPop .35s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes alertPop {
  from { opacity:0; transform: scale(.85) translateY(30px); }
  to   { opacity:1; transform: scale(1) translateY(0); }
}
.recibo-alert-header {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  padding: 20px 22px 18px;
  display: flex; align-items: center; gap: 14px;
}
.recibo-alert-header-icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 24px;
}
.recibo-alert-header h3 { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 3px; }
.recibo-alert-header p { font-size: 12px; color: rgba(255,255,255,0.8); margin: 0; }
.recibo-alert-body { padding: 20px 22px; }
.recibo-alert-amount {
  background: #fef2f2; border: 1.5px solid #fecaca;
  border-radius: 12px; padding: 14px 16px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
}
.recibo-alert-amount .ral-lbl { font-size: 11px; font-weight: 700; color: #991b1b; text-transform: uppercase; letter-spacing: .5px; }
.recibo-alert-amount .ral-val { font-size: 28px; font-weight: 800; color: #dc2626; font-family: 'JetBrains Mono', monospace; }
.recibo-alert-body ul { list-style: none; margin-bottom: 18px; display: flex; flex-direction: column; gap: 10px; }
.recibo-alert-body ul li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #374151; line-height: 1.5; }
.recibo-alert-body ul li .ral-dot { width: 20px; height: 20px; background: #fef2f2; border: 1.5px solid #fca5a5; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 10px; margin-top: 1px; }
.recibo-alert-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 22px 22px; }
.btn-alert-pay {
  width: 100%; background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white; border: none; border-radius: 12px; padding: 15px;
  font-size: 15px; font-weight: 800; font-family: 'Sora', sans-serif;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 4px 18px rgba(220,38,38,0.35); transition: all .2s;
}
.btn-alert-pay:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(220,38,38,0.45); }
.btn-alert-dismiss {
  width: 100%; background: none; border: 1.5px solid #e5e7eb;
  border-radius: 12px; padding: 12px; font-size: 13px; font-weight: 600;
  color: #6b7280; font-family: 'Sora', sans-serif; cursor: pointer; transition: all .2s;
}
.btn-alert-dismiss:hover { border-color: #9ca3af; color: #374151; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════════════════════════════ */
@media(max-width:960px){
  .products-grid{grid-template-columns:repeat(2,1fr);}
  .reviews-grid{grid-template-columns:repeat(2,1fr);}
  .stats-row{grid-template-columns:repeat(2,1fr);gap:24px;}
  .footer-main{grid-template-columns:1fr 1fr;gap:32px;}
  .help-inner{flex-direction:column-reverse;gap:32px;}
  .login-features{grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(3,auto);width:auto;}
  .login-main{justify-content:center;padding:24px 16px;flex-wrap:wrap;}
  .login-panel{width:100%;max-width:460px;}
  .hero-inner{flex-direction:column;}
  .hero-payment{width:100%;max-width:100%;}
  .pay-btns{flex-direction:column;}
  .pay-btn{flex-direction:row;padding:12px 16px;}
  .promo-inner{flex-direction:column;padding:30px 25px;gap:40px;text-align:center;}
  .promo-main-title{font-size:26px;}
  .promo-right{padding-top:40px;}
  .promo-stars-deco{width:70px;height:70px;left:-60px;top:-10px;}
  .promo-card-img{width:180px;}
  #dashboard-page .main-grid{grid-template-columns:1fr;}
  #dashboard-page .side-nav{position:static;display:none!important;}
  #dash-bottom-nav{display:flex;}
  #dashboard-page .main-wrap{padding-bottom:calc(var(--dash-bottomnav-h) + 16px);}
  #dashboard-page .contact-grid{grid-template-columns:1fr 1fr;}
  #dashboard-page .datos-grid{grid-template-columns:1fr;}
  #dashboard-page .poliza-grid{grid-template-columns:1fr;}
  #dashboard-page .stats-row{grid-template-columns:1fr 1fr 1fr;}
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — MÓVIL ≤640px
══════════════════════════════════════════════════════ */
@media(max-width:640px){
  /* HOME */
  #home-page{padding-top:60px;}
  .header-inner{height:60px;padding:0 10px;gap:6px;}
  .menu-btn{border-radius:10px;height:42px;width:42px;padding:0;justify-content:center;aspect-ratio:1/1;}
  .menu-btn span{display:none;}
  .header-logo img{height:28px;}
  .header-nav{display:none;}
  .header-right{margin-left:auto;gap:3px;}
  .separator{height:28px;margin:0 2px;}
  .icon-btn{width:42px;height:42px;}
  .icon-btn svg{width:28px;height:28px;}
  .hero{min-height:calc(100dvh - 60px);display:flex;align-items:flex-start;}
  .hero-bg{background-size:cover;background-position:center center;}
  .hero-inner{flex-direction:column;padding:14px 1rem 16px;gap:0;align-items:stretch;width:100%;justify-content:flex-start;display:flex;}
  .hero-content{order:1;flex-shrink:0;display:flex;flex-direction:column;padding-bottom:0;margin-bottom:0;}
  .hero-eyebrow{font-size:10px;margin-bottom:5px;letter-spacing:2px;order:1;}
  .hero h1{font-size:26px;margin-bottom:6px;line-height:1.15;order:2;}
  .hero-sub{font-size:13px;margin-bottom:9px;line-height:1.5;max-width:100%;order:3;}
  .hero-calc-label{font-size:12px;margin-bottom:6px;font-weight:700;order:4;}
  .hero-tabs{display:grid;grid-template-columns:repeat(6,1fr);gap:3px;overflow:visible;padding-bottom:0;width:100%;order:5;margin-bottom:0;}
  .hero-tabs::-webkit-scrollbar{display:none;}
  .hero-tab{min-width:0;max-width:none;width:100%;padding:6px 2px;gap:3px;flex-shrink:1;border-radius:8px;border-width:1.5px;}
  .hero-tab svg{width:16px;height:16px;}
  .hero-tab span{font-size:6.8px;letter-spacing:0;line-height:1.1;}
  .hero-payment{order:2;width:100%;max-width:100%;border-radius:12px;flex-shrink:0;margin-top:60px;margin-bottom:0;}
  .hero-payment-head{padding:8px 12px;}
  .hero-payment-head h3{font-size:13px;}
  .hero-payment-head p{font-size:10.5px;margin-top:1px;}
  .hero-payment-body{padding:8px 10px;}
  .pay-btns{flex-direction:row;gap:5px;}
  .pay-btn{flex:1;flex-direction:column;padding:7px 3px;font-size:10px;gap:3px;}
  .pay-btn svg{width:16px;height:16px;}
  .promo-section{padding:18px 0.9rem;}
  .promo-inner{flex-direction:column;padding:24px 20px;gap:30px;text-align:center;border-radius:14px;}
  .promo-opportunity-badge{font-size:11px;margin-bottom:8px;}
  .promo-main-title{font-size:20px;margin-bottom:6px;}
  .promo-subtitle{font-size:13px;}
  .promo-right{padding-top:30px;}
  .promo-stars-deco{width:60px;height:60px;left:-50px;top:-10px;}
  .promo-card-img{width:160px;}
  .help-section{padding:0;}
  .help-inner{flex-direction:column;gap:0;}
  .help-text{order:1;padding:24px 1rem 20px;flex:none;}
  .help-eyebrow{font-size:10px;margin-bottom:8px;}
  .help-title{font-size:22px;margin-bottom:10px;}
  .help-desc{font-size:13px;line-height:1.6;max-width:100%;}
  .help-img-wrap{order:2;max-width:100%;border-radius:0;width:100%;overflow:hidden;height:220px;}
  .help-img-wrap img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;}
  .products-grid{grid-template-columns:1fr;}
  .detail-grid{grid-template-columns:1fr;gap:10px;}
  .detail-block{display:flex;align-items:flex-start;gap:12px;padding:13px 14px;border-radius:10px;text-align:left;}
  .detail-icon{width:34px;height:34px;flex:0 0 34px;margin:0;border-radius:9px;background:#e8f0fe;align-items:center;justify-content:center;font-size:18px;}
  .detail-text{flex:1;min-width:0;}
  .detail-block h3{font-size:12.5px;margin-bottom:3px;}
  .detail-block p{font-size:11.5px;line-height:1.45;}
  .reviews-grid{grid-template-columns:1fr;}
  .stats-row{grid-template-columns:1fr 1fr;}
  .footer-main{grid-template-columns:1fr;}
  .login-features{display:none;}
  .login-body{padding:22px 20px 26px;}
  .login-body h3{font-size:22px;}

  /* ─── DASHBOARD MÓVIL ─── */
  #dashboard-page .topbar{ padding: 0 14px; }
  #dashboard-page .topbar-section-label{ font-size: 11px; }
  #dashboard-page .topbar-logo img{ height: 22px; }
  #dashboard-page .side-nav { display: none !important; }
  #dash-bottom-nav { display: flex; }

  #dashboard-page .main-wrap {
    padding-top: calc(var(--dash-topbar-h) + 12px);
    padding-bottom: calc(var(--dash-bottomnav-h) + 16px);
    padding-left: 0; padding-right: 0;
    max-width: 100%;
  }
  #dashboard-page .main-grid { grid-template-columns: 1fr; gap: 0; }
  #dashboard-page .content-area { gap: 0; }

  /* Cada sección ocupa pantalla completa */
  #dashboard-page .tab-section {
    min-height: calc(100dvh - var(--dash-topbar-h) - var(--dash-bottomnav-h));
    display: none;
  }
  #dashboard-page .tab-section.active { display: block; }

  /* Panel sin bordes laterales en móvil */
  #dashboard-page .panel {
    border-radius: 0; border-left: none; border-right: none;
    border-top: none; box-shadow: none; margin-bottom: 0;
  }
  #dashboard-page .panel-head { padding: 14px 16px; }
  #dashboard-page .panel-body { padding: 14px 16px; }
  #dashboard-page .panel-title { font-size: 14px; }

  #dashboard-page .stats-row { grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 14px; }
  #dashboard-page .stat-card { padding: 10px 6px; border-radius: 10px; }
  #dashboard-page .stat-card .stat-icon-wrap { width: 26px; height: 26px; border-radius: 7px; margin: 0 auto 5px; }
  #dashboard-page .stat-card .stat-icon-wrap svg { width: 14px; height: 14px; }
  #dashboard-page .stat-card .stat-val { font-size: 16px; }
  #dashboard-page .stat-card .stat-lbl { font-size: 8px; letter-spacing: .2px; }

  #dashboard-page .resumen-poliza-body { grid-template-columns: 1fr 1fr; gap: 10px; }
  #dashboard-page .datos-grid { grid-template-columns: 1fr; }
  #dashboard-page .dato-row:last-child { border-bottom: none; }
  #dashboard-page .poliza-grid { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
  #dashboard-page .poliza-field { padding: 6px 0; }
  #dashboard-page .poliza-field-val { font-size: 14px; }

  #dashboard-page .recibo-head { padding: 12px 12px; gap: 8px; }
  #dashboard-page .recibo-importe { font-size: 16px; }
  #dashboard-page .recibo-actions { padding: 10px 12px; flex-wrap: wrap; gap: 8px; }
  #dashboard-page .btn-pay { font-size: 13px; padding: 10px 14px; width: 100%; justify-content: center; }

  #dashboard-page .aviso-recibos { flex-direction: column; align-items: flex-start; gap: 10px; }
  #dashboard-page .aviso-recibos-btn { width: 100%; text-align: center; padding: 10px; font-size: 13px; }
  #dashboard-page .aviso-pago-urgente { flex-direction: column; gap: 10px; }

  #dashboard-page .contact-intro { padding: 24px 16px 20px; }
  #dashboard-page .btn-abrir-contacto { width: 100%; justify-content: center; }
  #dashboard-page .inline-contact-form { padding: 16px; }
  #dashboard-page .icf-btns { flex-direction: column; }
  #dashboard-page .btn-icf-cancel { order: 2; }
  #dashboard-page .btn-icf-send { order: 1; }

  /* Alerta modal en móvil */
  .recibo-alert-modal { border-radius: 16px; }
  .recibo-alert-header { padding: 16px 18px 14px; }
  .recibo-alert-header h3 { font-size: 15px; }
  .recibo-alert-body { padding: 16px 18px; }
  .recibo-alert-amount .ral-val { font-size: 24px; }
  .recibo-alert-actions { padding: 0 18px 18px; }
}

/* ══ DESKTOP GRANDE ══ */
@media(min-width:961px){
  #dashboard-page{font-size:15px;}
  #dashboard-page .topbar{height:68px;padding:0 2rem;}
  #dashboard-page .topbar-logo img{height:32px;}
  #dashboard-page .topbar-divider{height:30px;}
  #dashboard-page .topbar-section-label{font-size:14px;}
  #dashboard-page .main-wrap{max-width:1400px;padding:calc(68px + 28px) 2rem 70px;}
  #dashboard-page .main-grid{grid-template-columns:300px 1fr;gap:22px;}
  #dashboard-page .side-nav{border-radius:14px;display:block!important;}
  #dash-bottom-nav{display:none!important;}
  #dashboard-page .side-nav-profile{padding:22px 22px;}
  #dashboard-page .snp-avatar{width:74px;height:74px;font-size:26px;margin-bottom:12px;}
  #dashboard-page .snp-name{font-size:16px;margin-bottom:4px;}
  #dashboard-page .snp-sub{font-size:13px;}
  #dashboard-page .snp-poliza{font-size:12px;padding:5px 12px;margin-top:10px;}
  #dashboard-page .nav-menu{padding:10px;}
  #dashboard-page .nav-btn{padding:13px 14px;font-size:14.5px;border-radius:10px;gap:12px;}
  #dashboard-page .nav-btn svg{width:18px;height:18px;}
  #dashboard-page .nav-btn .nav-badge{font-size:11px;padding:3px 8px;}
  #dashboard-page .content-area{gap:18px;}
  #dashboard-page .panel{border-radius:14px;}
  #dashboard-page .panel-head{padding:18px 24px;}
  #dashboard-page .panel-title{font-size:16px;gap:9px;}
  #dashboard-page .panel-title svg{width:19px;height:19px;}
  #dashboard-page .panel-body{padding:22px 24px;}
  #dashboard-page .stats-row{gap:14px;margin-bottom:18px;}
  #dashboard-page .stat-card{padding:18px 14px;border-radius:12px;border-top-width:4px;}
  #dashboard-page .stat-card .stat-icon-wrap{width:42px;height:42px;border-radius:11px;margin:0 auto 10px;}
  #dashboard-page .stat-card .stat-icon-wrap svg{width:22px;height:22px;}
  #dashboard-page .stat-card .stat-val{font-size:22px;}
  #dashboard-page .stat-card .stat-lbl{font-size:11.5px;margin-top:4px;letter-spacing:.6px;}
  #dashboard-page .resumen-poliza-card{border-radius:12px;}
  #dashboard-page .resumen-poliza-head{padding:16px 22px;gap:14px;}
  #dashboard-page .resumen-poliza-icon{font-size:26px;}
  #dashboard-page .resumen-poliza-title{font-size:16px;}
  #dashboard-page .resumen-poliza-num{font-size:13px;}
  #dashboard-page .resumen-poliza-status{font-size:12px;padding:5px 13px;}
  #dashboard-page .resumen-poliza-body{padding:18px 22px;gap:14px;}
  #dashboard-page .resumen-poliza-field label{font-size:11px;margin-bottom:4px;}
  #dashboard-page .resumen-poliza-field span{font-size:14.5px;}
  #dashboard-page .aviso-recibos{padding:16px 18px;gap:14px;border-radius:12px;margin-top:18px;}
  #dashboard-page .aviso-recibos-icon{font-size:26px;}
  #dashboard-page .aviso-recibos-text strong{font-size:14.5px;margin-bottom:3px;}
  #dashboard-page .aviso-recibos-text span{font-size:13.5px;}
  #dashboard-page .aviso-recibos-btn{font-size:13.5px;padding:9px 16px;border-radius:9px;}
  #dashboard-page .poliza-card{border-radius:12px;margin-bottom:16px;}
  #dashboard-page .poliza-head{padding:16px 22px;gap:14px;}
  #dashboard-page .poliza-icon{width:46px;height:46px;font-size:22px;border-radius:10px;}
  #dashboard-page .poliza-head-title{font-size:16px;}
  #dashboard-page .poliza-head-num{font-size:13px;}
  #dashboard-page .poliza-status{font-size:12px;padding:5px 13px;}
  #dashboard-page .poliza-body{padding:18px 22px;}
  #dashboard-page .poliza-field{padding:12px 0;}
  #dashboard-page .poliza-field-label{font-size:11px;margin-bottom:4px;}
  #dashboard-page .poliza-field-val{font-size:15.5px;}
  #dashboard-page .dato-row{padding:16px 0;gap:14px;}
  #dashboard-page .dato-icon{width:38px;height:38px;border-radius:9px;}
  #dashboard-page .dato-icon svg{width:17px;height:17px;}
  #dashboard-page .dato-label{font-size:11px;margin-bottom:4px;}
  #dashboard-page .dato-val{font-size:15.5px;}
  #dashboard-page .recibo-item{border-radius:12px;margin-bottom:14px;}
  #dashboard-page .recibo-head{padding:16px 20px;gap:14px;}
  #dashboard-page .recibo-status-dot{width:42px;height:42px;}
  #dashboard-page .recibo-desc{font-size:15.5px;}
  #dashboard-page .recibo-fecha{font-size:13px;margin-top:3px;}
  #dashboard-page .recibo-importe{font-size:22px;}
  #dashboard-page .recibo-tag{font-size:11px;padding:3px 10px;}
  #dashboard-page .recibo-actions{padding:14px 20px;gap:10px;}
  #dashboard-page .btn-pay{font-size:14px;padding:10px 18px;border-radius:9px;}
  #dashboard-page .btn-transfer{font-size:13.5px;padding:10px 16px;border-radius:9px;}
  #dashboard-page .no-recibos{padding:42px 24px;}
  #dashboard-page .no-recibos-icon{font-size:50px;margin-bottom:14px;}
  #dashboard-page .no-recibos h3{font-size:18px;margin-bottom:6px;}
  #dashboard-page .no-recibos p{font-size:14.5px;}
  #dashboard-page .contact-intro{padding:30px 24px 22px;gap:14px;}
  #dashboard-page .contact-intro-icon{width:68px;height:68px;border-radius:16px;}
  #dashboard-page .contact-intro-icon svg{width:34px;height:34px;}
  #dashboard-page .contact-intro h3{font-size:18px;}
  #dashboard-page .contact-intro p{font-size:14.5px;max-width:420px;}
  #dashboard-page .btn-abrir-contacto{font-size:14.5px;padding:13px 26px;border-radius:11px;}
  #dashboard-page .btn-abrir-contacto svg{width:18px;height:18px;}
  #dashboard-page .inline-contact-form{padding:22px 24px;}
  #dashboard-page .icf-title{font-size:15px;margin-bottom:14px;}
  #dashboard-page .icf-title svg{width:17px;height:17px;}
  #dashboard-page .icf-group label{font-size:11.5px;margin-bottom:5px;}
  #dashboard-page .icf-group input,#dashboard-page .icf-group textarea{font-size:14.5px;padding:11px 14px;border-radius:8px;}
  #dashboard-page .icf-group textarea{min-height:90px;}
  #dashboard-page .btn-icf-send{font-size:14.5px;padding:12px;border-radius:9px;}
  #dashboard-page .btn-icf-cancel{font-size:14.5px;padding:12px 18px;border-radius:9px;}
  #dashboard-page .transfer-wrap{padding:18px;border-radius:11px;}
  #dashboard-page .transfer-label{font-size:12.5px;}
  #dashboard-page .transfer-val{font-size:13.5px;}
  #dashboard-page .aviso-pago-urgente{padding:16px 20px;border-radius:12px;}
  #dashboard-page .aviso-pago-urgente-icon{width:42px;height:42px;}
  #dashboard-page .aviso-pago-urgente-icon svg{width:22px;height:22px;}
  #dashboard-page .aviso-pago-urgente-text strong{font-size:14.5px;}
  #dashboard-page .aviso-pago-urgente-text p{font-size:13px;}
}

/* ══════════════════════════════════════════════════════
   STANDALONE LOGIN PAGE (login.html)
══════════════════════════════════════════════════════ */
body.login-standalone {
  margin: 0; padding: 0;
  background: #e8f0f8;
  overflow: hidden;
}
body.login-standalone .login-overlay {
  position: relative !important;
  min-height: 100vh !important;
  height: 100dvh !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.login-standalone .login-panel {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

/* ══════════════════════════════════════════════════════
   STANDALONE DASHBOARD PAGE (dashboard.html)
══════════════════════════════════════════════════════ */
body.dashboard-standalone {
  margin: 0; padding: 0;
  background: #eef1f8;
}
body.dashboard-standalone #dashboard-page {
  display: block !important;
}

/* ══════════════════════════════════════════════════════
   PÁGINAS DE PRODUCTO (hogar, decesos, vida…)
══════════════════════════════════════════════════════ */
.prod-page { padding-top: 72px; }

.prod-page-hero {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  background: var(--blue);
  overflow: hidden;
}
.prod-page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .28;
}
.prod-page-hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.prod-page-hero-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.prod-page-hero-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 18px;
}
.prod-page-hero-sub {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 32px;
}
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
  border: none; cursor: pointer;
}
.btn-hero-cta:hover { background: #ffe566; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.prod-page-hero-img {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.prod-page-hero-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* Highlights strip */
.prod-highlights {
  background: #fff;
  padding: 28px 0;
  border-bottom: 1px solid #e8edf5;
}
.prod-highlights-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.prod-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.phi-icon {
  width: 46px; height: 46px;
  background: #e8f0fb;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.phi-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--blue); }
.phi-text span { font-size: 11.5px; color: var(--gray); }

/* Coberturas section */
.coberturas-section { padding: 72px 0; background: #f7f9fc; }
.coberturas-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.coberturas-section .section-label,
.coberturas-section .section-title,
.coberturas-section .section-sub { text-align: center; }
.coberturas-section .section-sub { margin-bottom: 48px; }
.coberturas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.cobertura-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  box-shadow: 0 2px 12px rgba(0,37,122,.07);
  border: 1px solid #e8edf5;
  transition: transform .2s, box-shadow .2s;
}
.cobertura-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,37,122,.13); }
.cc-icon { font-size: 32px; margin-bottom: 12px; }
.cc-title { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.cc-desc { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* Why Santalucía */
.why-section { padding: 72px 0; background: #fff; }
.why-inner { max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.why-section .section-label,
.why-section .section-title,
.why-section .section-sub { text-align: center; }
.why-section .section-sub { margin-bottom: 40px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: 14px;
  background: #f7f9fc;
  border: 1px solid #e8edf5;
  transition: transform .2s;
}
.why-card:hover { transform: translateY(-4px); }
.wc-icon { font-size: 38px; margin-bottom: 14px; }
.why-card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.why-card p { font-size: 13.5px; color: var(--gray); line-height: 1.6; }

/* Product CTA */
.prod-cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  padding: 80px 32px;
  text-align: center;
}
.prod-cta-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.prod-cta-section p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 32px; }
.prod-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-cta-primary {
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
  font-size: 15px;
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s;
}
.btn-cta-primary:hover { background: #ffe566; transform: translateY(-2px); }
.btn-cta-secondary {
  background: rgba(255,255,255,.15);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 34px;
  border-radius: 8px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.4);
  transition: all .2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,.25); }

/* ══════════════════════════════════════════════════════
   PÁGINA CONTACTO (contacto.html)
══════════════════════════════════════════════════════ */
.contact-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  padding: 110px 32px 64px;
  text-align: center;
}
.contact-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.contact-hero p { color: rgba(255,255,255,.8); font-size: 17px; }
.contact-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 32px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}
.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,37,122,.08);
}
.contact-form-card h2 {
  font-family: 'Sora', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 28px;
}
.cfg { margin-bottom: 18px; }
.cfg label { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.cfg input, .cfg textarea, .cfg select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde3ef;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: var(--dark);
  outline: none;
  transition: border-color .2s;
  background: #fafcff;
}
.cfg input:focus, .cfg textarea:focus, .cfg select:focus { border-color: var(--blue3); }
.cfg textarea { min-height: 130px; resize: vertical; }
.cfg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-contact-send {
  width: 100%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s;
}
.btn-contact-send:hover { background: var(--blue2); }
.contact-sent { display: none; text-align: center; padding: 40px 20px; }
.contact-sent .cs-icon { font-size: 56px; margin-bottom: 16px; }
.contact-sent h3 { font-family: 'Sora'; font-size: 22px; font-weight: 700; color: var(--blue); margin-bottom: 10px; }
.contact-sent p { color: var(--gray); font-size: 15px; }
.contact-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(0,37,122,.08);
}
.contact-info-card h3 { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 18px; }
.cii { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.cii:last-child { margin-bottom: 0; }
.cii-icon { font-size: 20px; flex-shrink: 0; margin-top: 1px; }
.cii-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--dark); }
.cii-text span { font-size: 12.5px; color: var(--gray); line-height: 1.5; }

/* Responsive product & contact */
@media (max-width: 900px) {
  .prod-page-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .prod-page-hero-img { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-body { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prod-highlights-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .cfg-row { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .prod-highlights-inner { grid-template-columns: 1fr; }
  .coberturas-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   PRODUCT DETAIL PAGES — Reference Design
══════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb{background:var(--bg);border-bottom:1px solid var(--border);padding:12px 0;}
.breadcrumb-inner{max-width:1280px;margin:0 auto;padding:0 1.5rem;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--gray);}
.breadcrumb a{color:var(--blue2);font-weight:600;text-decoration:none;}
.breadcrumb a:hover{color:var(--blue);}
.breadcrumb span{color:var(--gray);}

/* Product Hero */
.product-hero{padding-top:72px;background:linear-gradient(135deg,var(--blue) 0%,#0046c8 60%,#0668f5 100%);color:white;padding-bottom:0;}
.product-hero-inner{max-width:1280px;margin:0 auto;padding:64px 1.5rem 56px;display:flex;align-items:center;gap:48px;}
.product-hero-text{flex:1;}
.product-hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(255,255,255,.15);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.25);border-radius:50px;padding:6px 16px;font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:20px;color:rgba(255,255,255,.9);}
.product-hero-text h1{font-size:clamp(32px,5vw,54px);font-weight:800;line-height:1.1;margin-bottom:16px;color:white;}
.product-hero-text p{font-size:17px;line-height:1.7;opacity:.88;max-width:520px;margin-bottom:32px;color:white;}
.product-hero-cta{display:inline-flex;align-items:center;gap:10px;background:#F5C400;color:#1a1a1a;font-weight:800;font-size:15px;padding:16px 28px;border-radius:12px;border:none;cursor:pointer;font-family:inherit;transition:transform .2s,box-shadow .2s;text-decoration:none;}
.product-hero-cta:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.2);}
.product-hero-img{flex-shrink:0;width:420px;border-radius:20px;overflow:hidden;box-shadow:0 24px 64px rgba(0,0,0,.3);}
.product-hero-img img{width:100%;height:300px;object-fit:cover;}

/* Section shared labels */
.section-label{text-align:center;font-size:11px;letter-spacing:3px;text-transform:uppercase;color:var(--gray);margin-bottom:10px;}
.section-title{text-align:center;font-size:clamp(26px,4vw,38px);font-weight:800;color:var(--blue);margin-bottom:8px;}
.section-sub{text-align:center;font-size:15px;color:var(--gray);margin-bottom:40px;}

/* Coverage Section */
.coverage-section{background:var(--white);padding:72px 1.5rem;}
.coverage-inner{max-width:1100px;margin:0 auto;}
.coverage-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:40px;}
.coverage-card{background:var(--bg);border:1.5px solid var(--border);border-radius:18px;padding:28px;display:flex;gap:20px;align-items:flex-start;transition:box-shadow .25s,transform .25s;}
.coverage-card:hover{box-shadow:var(--shadow2);transform:translateY(-3px);}
.coverage-card-icon{width:52px;height:52px;border-radius:14px;background:linear-gradient(135deg,var(--blue) 0%,var(--blue2) 100%);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:24px;}
.coverage-card-body h3{font-size:16px;font-weight:800;color:var(--blue);margin-bottom:8px;}
.coverage-card-body p{font-size:14px;color:var(--gray);line-height:1.6;}

/* FAQ Section */
.faq-section{background:var(--bg);padding:72px 1.5rem;}
.faq-inner{max-width:800px;margin:0 auto;}
.faq-item{background:white;border:1.5px solid var(--border);border-radius:14px;margin-bottom:12px;overflow:hidden;}
.faq-question{width:100%;background:none;border:none;padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;font-family:inherit;font-size:15px;font-weight:700;color:var(--dark);text-align:left;transition:background .2s;}
.faq-question:hover{background:var(--bg);}
.faq-question svg{width:18px;height:18px;stroke:var(--blue);flex-shrink:0;transition:transform .25s;}
.faq-item.open .faq-question svg{transform:rotate(180deg);}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-item.open .faq-answer{max-height:300px;}
.faq-answer p{padding:0 24px 20px;font-size:14px;color:var(--gray);line-height:1.7;}

/* CTA Banner */
.cta-section{background:linear-gradient(135deg,var(--blue) 0%,#0046c8 100%);padding:64px 1.5rem;text-align:center;}
.cta-inner{max-width:700px;margin:0 auto;}
.cta-inner h2{font-size:clamp(26px,4vw,38px);font-weight:800;color:white;margin-bottom:12px;}
.cta-inner p{font-size:16px;color:rgba(255,255,255,.8);margin-bottom:32px;line-height:1.6;}
.cta-btn{display:inline-flex;align-items:center;gap:10px;background:#F5C400;color:#1a1a1a;font-weight:800;font-size:16px;padding:18px 36px;border-radius:12px;border:none;cursor:pointer;font-family:inherit;transition:transform .2s,box-shadow .2s;text-decoration:none;}
.cta-btn:hover{transform:translateY(-2px);box-shadow:0 10px 32px rgba(0,0,0,.25);}

@media(max-width:1100px){
  .product-hero-inner{flex-direction:column;}
  .product-hero-img{width:100%;max-width:520px;}
}
@media(max-width:900px){
  .coverage-grid{grid-template-columns:1fr;}
}

/* Contact single-column (form only) */
.contact-body-single{grid-template-columns:1fr;max-width:760px;}
.contact-body-single .contact-form-card{box-shadow:0 4px 32px rgba(0,37,122,.10);}

/* ══════════════════════════════════════════════════════
   RESPONSIVE EXTRA — pantallas 480px y menores
══════════════════════════════════════════════════════ */
@media(max-width:480px){
  /* Header */
  .header-inner{padding:0 8px;gap:4px;}
  .menu-btn{height:38px;width:38px;}
  .icon-btn{width:38px;height:38px;}

  /* Hero */
  .hero h1{font-size:22px;}
  .hero-sub{font-size:12px;}
  .hero-tabs{grid-template-columns:repeat(3,1fr);gap:4px;}
  .hero-tab{padding:8px 4px;border-radius:8px;}
  .hero-tab svg{width:18px;height:18px;}
  .hero-tab span{font-size:7.5px;}

  /* Sección promo */
  .promo-section{padding:14px 0.75rem;}
  .promo-inner{padding:20px 16px;gap:24px;border-radius:12px;}
  .promo-main-title{font-size:18px;}

  /* Sección valores */
  .values-section{padding:40px 1rem;}
  .stats-row{grid-template-columns:1fr 1fr;gap:16px;}
  .stat-num{font-size:32px;}

  /* Sección reviews */
  .reviews-section{padding:40px 1rem;}
  .review-card{padding:18px 16px;}

  /* Sección productos */
  .products-section{padding:40px 1rem;}

  /* Footer */
  footer{padding:36px 1rem 0;}
  .footer-main{gap:20px;padding-bottom:28px;}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:10px;}
  .footer-bottom-links{flex-wrap:wrap;gap:10px 16px;}

  /* Modal pago */
  .pay-modal{border-radius:14px;}
  .pay-modal-head{padding:16px 18px;}
  .pay-modal-head h3{font-size:15px;}
  .pay-modal-body{padding:16px;}
  .pay-tab{font-size:11px;padding:10px 6px;}

  /* Modal contacto */
  .modal{border-radius:14px;}
  .modal-head{padding:18px 20px;}
  .modal-body{padding:18px 20px;}

  /* Float pill */
  .float-pill{width:200px;padding:12px 14px 12px 18px;}
  .float-pill-text p:first-child{font-size:13px;}
  .float-pill-text p:last-child{font-size:11px;}
  .float-pill-icon{width:38px;height:38px;}
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE EXTRA — pantallas muy pequeñas ≤360px
══════════════════════════════════════════════════════ */
@media(max-width:360px){
  .hero h1{font-size:20px;}
  .hero-tabs{grid-template-columns:repeat(3,1fr);}
  .hero-tab span{font-size:6.5px;}
  .stat-num{font-size:28px;}
  .float-pill{width:180px;}
  .float-pill-text p:first-child{font-size:12px;}
  .pay-tabs{flex-wrap:wrap;}
  .pay-tab{flex:0 0 33.33%;}
  .footer-bottom-links{flex-direction:column;gap:6px;}
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — tablet intermedio 641-960px
══════════════════════════════════════════════════════ */
@media(min-width:641px) and (max-width:960px){
  .hero-inner{flex-direction:column;padding:60px 1.5rem;}
  .hero-payment{max-width:560px;margin:0 auto;}
  .hero-tabs{flex-wrap:wrap;justify-content:center;}
  .hero-tab{min-width:100px;}
  .values-section{padding:56px 1.5rem;}
  .stats-row{grid-template-columns:repeat(2,1fr);gap:20px;}
  .footer-main{grid-template-columns:1fr 1fr;gap:24px;}
  .contact-body{grid-template-columns:1fr;}
  .products-section{padding:56px 1.5rem;}
  .header-nav{display:none;}
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE — pantallas grandes ≥1280px
══════════════════════════════════════════════════════ */
@media(min-width:1280px){
  .hero-inner{padding:100px 1.5rem;}
  .hero-content{max-width:600px;}
  .products-grid{max-width:1200px;}
  .values-inner{max-width:1100px;}
  .reviews-inner{max-width:1200px;}
  .reviews-grid{grid-template-columns:repeat(3,1fr);}
}

/* ══════════════════════════════════════════════════════
   OVERFLOW — garantizar que nada se desborda en ningún
   tamaño de pantalla
══════════════════════════════════════════════════════ */
html,body{overflow-x:hidden;max-width:100%;}
img,video,svg{max-width:100%;height:auto;}
.hero-payment{box-sizing:border-box;}
.hero-tabs{box-sizing:border-box;}
