/* ============================================================
   TNA OFFICE — Landing Page
   Paleta fiel al WP: fondo oscuro/negro, acento dorado, Raleway
   ============================================================ */
:root {
    --bg:         #0d0d0d;
    --bg2:        #141414;
    --bg3:        #1a1a1a;
    --gold:       #f3e6d6;
    --gold-glow:  rgba(243, 230, 214,.18);
    --white:      #f5f5f5;
    --muted:      #888;
    --border:     rgba(255,255,255,.08);
    --radius:     6px;
    --trans:      all .38s cubic-bezier(.16,1,.3,1);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Roboto',sans-serif;background:var(--bg);color:var(--white);line-height:1.6;overflow-x:hidden;}
a{text-decoration:none;color:inherit;}
p a:not([class^="btn"]):not(.announce-cta) { text-decoration: underline; }
ul{list-style:none;}
img{max-width:100%;display:block;}
.container{max-width:1240px;margin:0 auto;padding:0 5%;}
.text-center{text-align:center;}
.text-gold{color:var(--gold);}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4{font-family:'Raleway',sans-serif;font-weight:700;line-height:1.18;letter-spacing:-.01em;}
h1{font-size:clamp(2rem,5vw,3.6rem);}
h2{font-size:clamp(1.6rem,3.5vw,2.6rem);}
h3{font-size:1.3rem;}
.section-tag{display:inline-block;font-size:.78rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold);margin-bottom:.8rem;}
.section-header{margin-bottom:3.5rem;}
.section-header p{color:var(--muted);max-width:580px;margin:.8rem auto 0;font-size:1rem;}

/* ---- BUTTONS ---- */
.btn-primary{display:inline-block;padding:13px 32px;background:var(--gold);color:#000;font-family:'Raleway',sans-serif;font-weight:700;font-size:.95rem;letter-spacing:.5px;border-radius:var(--radius);border:none;cursor:pointer;transition:var(--trans);}
.btn-primary:hover{background:#ffffff !important;color:#000000 !important;transform:translateY(-2px);box-shadow:0 8px 24px var(--gold-glow);}
.btn-outline{display:inline-block;padding:13px 32px;background:transparent;color:var(--white);font-family:'Raleway',sans-serif;font-weight:600;font-size:.95rem;border:1px solid rgba(255,255,255,.35);border-radius:var(--radius);cursor:pointer;transition:var(--trans);}
.btn-outline:hover{background:rgba(255,255,255,.08);border-color:var(--white);}
.btn-cta-nav{padding:9px 22px;background:var(--gold);color:#000;font-family:'Montserrat','Poppins',sans-serif;font-weight:600;font-size:.85rem;border-radius:var(--radius);transition:var(--trans);white-space:nowrap;flex-shrink:0;text-transform:uppercase;letter-spacing:0.5px;}
.btn-cta-nav:hover{background:#ffffff !important;color:#000000 !important;transform:scale(1.05);}
.btn-app-nav{padding:8px 21px;background:#000;color:var(--gold);border:1px solid var(--gold);font-family:'Montserrat','Poppins',sans-serif;font-weight:600;font-size:.85rem;border-radius:var(--radius);transition:var(--trans);white-space:nowrap;flex-shrink:0;text-transform:uppercase;letter-spacing:0.5px;display:inline-block;}
.btn-app-nav:hover{background:var(--gold) !important;color:#000000 !important;transform:scale(1.05);}
.btn-service{display:inline-block;margin-top:1.4rem;padding:10px 26px;border:1px solid var(--gold);color:var(--gold);font-family:'Raleway',sans-serif;font-weight:600;font-size:.88rem;border-radius:var(--radius);transition:var(--trans);}
.btn-service:hover{background:var(--gold);color:#000;}
.btn-submit{display:flex;align-items:center;justify-content:center;gap:.6rem;width:100%;padding:15px;background:var(--gold);color:#000;font-family:'Raleway',sans-serif;font-weight:700;font-size:1rem;border:none;border-radius:var(--radius);cursor:pointer;transition:var(--trans);margin-top:.5rem;}
.btn-submit:hover{background:var(--gold);transform:translateY(-2px);}

/* ---- NAVBAR ---- */
.navbar{position:fixed;top:0;width:100%;z-index:1000;padding:18px 0;background:rgba(10,10,10,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--border);transition:var(--trans);}
.navbar.scrolled{padding:12px 0;background:rgba(5,5,5,.97);}
.nav-container{max-width:1440px;margin:0 auto;padding:0 3%;display:flex;align-items:center;justify-content:space-between;gap:1rem;}
.logo-wrap{flex-shrink:0;margin-right:auto;}
.logo-img{width:260px;height:auto;object-fit:contain;}
.nav-links{display:flex;align-items:center;gap:2rem;}
.nav-links li{white-space:nowrap;}
.nav-links a{font-family:'Montserrat','Poppins',sans-serif;font-size:0.8rem;font-weight:500;letter-spacing:1px;color:#ffffff;text-decoration:none;text-transform:uppercase;transition:color 0.3s ease;white-space:nowrap;}
.nav-links a:hover{color:#00b4d8;}
.nav-toggle{display:none;background:none;border:none;color:#ffffff;font-size:1.4rem;cursor:pointer;}

/* ---- HERO ---- */
.hero{position:relative;height:100vh;display:flex;align-items:center;overflow:hidden;}
.hero-slides{position:absolute;inset:0;}
.slide{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1.2s ease;will-change:opacity;}
.slide.active{opacity:1;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(0,0,0,.3) 0%,rgba(0,0,0,.1) 60%,rgba(0,0,0,.25) 100%);}
.hero-content{position:relative;z-index:2;padding:0 5%;max-width:780px;margin-top:70px;}
.hero-badge{display:inline-block;padding:5px 16px;background:rgba(243, 230, 214,.12);border:1px solid var(--gold-glow);color:var(--gold);font-size:.75rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;border-radius:20px;margin-bottom:1.4rem;}
.hero-content h1{margin-bottom:1.4rem;text-shadow:0 2px 12px rgba(0,0,0,.5);}
.hero-sub{font-size:1.15rem;color:rgba(255,255,255,.85);margin-bottom:2.4rem;font-weight:300;}
.hero-sub strong{color:#fff;font-weight:600;}
.hero-actions{display:flex;gap:1.2rem;flex-wrap:wrap;align-items:center;}
.hero-actions .btn-primary{font-size:1.1rem;padding:16px 40px;box-shadow:0 8px 30px var(--gold-glow);transform:scale(1.05);}
.hero-actions .btn-primary:hover{background:#ffffff !important;color:#000000 !important;transform:scale(1.08) translateY(-2px);}
.hero-dots{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);display:flex;gap:.6rem;z-index:3;}
.dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35);cursor:pointer;transition:var(--trans);}
.dot.active{background:var(--gold);width:22px;border-radius:4px;}

/* ---- INTRO ---- */
.intro-section{padding:4rem 0;background:#ffffff;}
.intro-section, .intro-section h2, .intro-section h3, .intro-section .section-tag, .intro-section p, .intro-section strong, .intro-section .pricing-features li { color: #000000 !important; }
.intro-section .pricing-features li { border-bottom-color: rgba(0,0,0,0.1) !important; }
.intro-section a[target="_blank"] { color: #000000 !important; text-decoration: underline; }
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.intro-text h2{margin-bottom:1.2rem;}
.intro-text p{margin-bottom:2rem;font-size:1rem;}
.intro-features{display:flex;flex-direction:column;gap:1.6rem;}
.feat-item{display:flex;gap:1.2rem;align-items:flex-start;padding:1.2rem;border:1px solid rgba(0,0,0,0.1);border-radius:var(--radius);background:#f9f9f9;transition:var(--trans);}
.feat-item:hover{border-color:var(--gold-glow);box-shadow:0 4px 20px rgba(0,0,0,.3);}
.feat-icon{font-size:1.6rem;flex-shrink:0;margin-top:2px;}
.feat-item h3{font-size:.95rem;margin-bottom:.2rem;color:var(--white);}
.feat-item p{font-size:.85rem;color:var(--muted);margin:0;}

/* ---- SERVICES ---- */
.services-section{padding:4rem 0;background:var(--bg);}
.services-section .section-header p{max-width:850px;}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }
.service-card{background:var(--bg2);border:1px solid var(--border);border-radius:10px;overflow:hidden;transition:var(--trans);}
.service-card:hover{transform:translateY(-6px);border-color:rgba(243, 230, 214,.3);box-shadow:0 16px 40px rgba(0,0,0,.45);}
.service-img{position:relative;height:220px;overflow:hidden;}
.service-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s ease;}
.service-card:hover .service-img img{transform:scale(1.06);}
.service-img-overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.5) 0%,transparent 60%);}
.service-body{padding:1.8rem;}
.service-body h3{color:var(--gold);margin-bottom:.8rem;font-size:1.2rem;}
.service-body p{color:var(--muted);font-size:.9rem;margin-bottom:1rem;}
.service-list{display:flex;flex-direction:column;gap:.45rem;}
.service-list li{font-size:.88rem;color:var(--white);}

/* ---- COMPARE ---- */
.compare-section{padding:56px 0;background:var(--bg2);}
.compare-wrapper{display:grid;grid-template-columns:1fr auto;gap:3rem;align-items:start;}
.compare-table{width:100%;border-collapse:collapse;background:var(--bg3);border:1px solid var(--border);border-radius:10px;overflow:hidden;}
.compare-table th,.compare-table td{padding:1.1rem 1.4rem;text-align:center;border-bottom:1px solid var(--border);}
.compare-table th{font-family:'Raleway',sans-serif;font-size:.88rem;font-weight:700;letter-spacing:.5px;background:rgba(0,0,0,.3);text-transform:uppercase;}
.compare-table td:first-child{text-align:left;font-weight:500;color:var(--white);}
.compare-table tr:last-child td{border-bottom:none;}
.col-tna{color:var(--gold);}
.col-other{color:var(--muted);}
.yes{color:#4ade80;font-weight:700;}
.no{color:#f87171;font-weight:700;}
.warn{color:#fb923c;font-weight:600;font-size:.9rem;}
.compare-cta{width:300px;}
.compare-badge{background:var(--bg3);border:1px solid rgba(243, 230, 214,.3);border-radius:10px;padding:2rem;text-align:center;}
.big-icon{font-size:2.5rem;display:block;margin-bottom:.8rem;}
.compare-badge h3{color:var(--gold);font-size:1.1rem;margin-bottom:.8rem;}
.compare-badge p{font-size:.88rem;color:var(--muted);margin-bottom:1.4rem;}

/* ---- STATS ---- */
.stats-section{padding:5rem 0;background:var(--gold);}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center;}
.stat-item{padding:2rem 1rem;border:1px solid rgba(0,0,0,.15);border-radius:var(--radius);background:rgba(255,255,255,.3);box-shadow:0 4px 15px rgba(0,0,0,.05);}
.stat-number{display:block;font-family:'Raleway',sans-serif;font-size:3.2rem;font-weight:900;color:#111;line-height:1;}
.stat-label{display:block;font-size:.85rem;font-weight:700;color:#444;margin-top:.8rem;text-transform:uppercase;letter-spacing:1px;}

/* ---- TESTIMONIALS ---- */
.testimonials-section{padding:7rem 0;background:var(--bg);}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:2rem;}
.testimonial-card{background:var(--bg2);border:1px solid var(--border);border-radius:10px;padding:2rem;transition:var(--trans);}
.testimonial-card:hover{border-color:var(--gold-glow);transform:translateY(-4px);}
.stars{color:var(--gold);font-size:1.1rem;margin-bottom:1rem;}
.testimonial-card p{font-style:italic;color:var(--white);font-size:.95rem;line-height:1.7;margin-bottom:1.4rem;}
.t-author{display:flex;align-items:center;gap:.9rem;}
.t-avatar{width:42px;height:42px;border-radius:50%;background:var(--gold);color:#000;font-family:'Raleway',sans-serif;font-weight:800;font-size:.9rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.t-author strong{display:block;font-size:.9rem;color:var(--gold);}
.t-author span{font-size:.8rem;color:var(--muted);}

/* ---- CONTACT ---- */
.contact-section{padding:7rem 0;background:var(--bg2);}
.contact-wrapper{display:grid;grid-template-columns:1fr 1.4fr;gap:5rem;align-items:start;}
.contact-info h2{margin-bottom:1rem;}
.contact-info>p{color:var(--muted);margin-bottom:2rem;font-size:.95rem;}
.info-list{display:flex;flex-direction:column;gap:1.4rem;}
.info-row{display:flex;gap:1rem;align-items:flex-start;}
.info-icon{font-size:1.3rem;margin-top:2px;flex-shrink:0;}
.info-row strong{display:block;font-size:.88rem;color:var(--gold);margin-bottom:.2rem;}
.info-row span{font-size:.9rem;color:var(--muted);}
.contact-form-wrap{background:var(--bg3);border:1px solid var(--border);border-radius:10px;padding:2.4rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;}
.form-group{display:flex;flex-direction:column;gap:.45rem;margin-bottom:1.2rem;}
.form-group label{font-size:.82rem;color:var(--muted);font-weight:500;}
.form-group input,.form-group select,.form-group textarea{background:rgba(0,0,0,.4);border:1px solid var(--border);padding:12px 14px;border-radius:var(--radius);color:var(--white);font-family:'Roboto',sans-serif;font-size:.9rem;transition:var(--trans);}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:var(--gold);background:rgba(0,0,0,.6);}
.form-group select option{background:#1a1a1a;}
.form-group textarea{resize:vertical;}
.form-note{text-align:center;font-size:.78rem;color:var(--muted);margin-top:.8rem;}

/* ---- FOOTER ---- */
.footer{background:var(--bg);border-top:1px solid var(--border);padding:4rem 0 0;}
.footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:3rem;padding-bottom:3rem;}
.footer-logo-wrap .footer-logo{height:55px;width:auto;margin-bottom:1rem;}
.footer-logo-wrap p{font-size:.85rem;color:var(--muted);}
.footer-links h3{font-family:'Raleway',sans-serif;font-size:.82rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:var(--gold);margin-bottom:1rem;}
.footer-links li,.footer-links li a{font-size:.85rem;color:var(--muted);margin-bottom:.55rem;display:block;transition:color .2s;}
.footer-links a:hover{color:var(--white);}
.footer-bottom{border-top:1px solid var(--border);padding:1.4rem 5%;text-align:center;font-size:.8rem;color:var(--muted);}
.footer-bottom a{color:var(--gold);}

/* ---- RESPONSIVE ---- */
@media(max-width:1060px){
    .compare-wrapper{grid-template-columns:1fr;}
    .compare-cta{width:100%;}
    .compare-badge{max-width:500px;}
}
@media(max-width:900px){
    .intro-grid,.contact-wrapper{grid-template-columns:1fr;gap:3rem;}
    .stats-grid{grid-template-columns:repeat(2,1fr);}
    .footer-inner{grid-template-columns:1fr 1fr;}
}
@media(max-width:680px){
    .nav-links{display:none;}
    .nav-toggle{display:block;}
    .nav-links.open{display:flex;flex-direction:column;position:fixed;top:72px;left:0;width:100%;background:rgba(5,5,5,.98);padding:2rem 5%;gap:1.4rem;border-bottom:1px solid var(--border);}
    .hero-content h1{font-size:2rem;}
    .hero-actions{flex-direction:column;gap:.8rem;}
    .form-row{grid-template-columns:1fr;}
    .stats-grid{grid-template-columns:repeat(2,1fr);}
    .footer-inner{grid-template-columns:1fr;}
}

/* ---- THEME TOGGLE ---- */
.theme-toggle{background:none;border:1px solid var(--border);border-radius:20px;padding:5px 10px;font-size:1.1rem;cursor:pointer;transition:var(--trans);line-height:1;}
.theme-toggle:hover{border-color:var(--gold);transform:scale(1.1);}

/* ---- ANNOUNCEMENT BAR ---- */
.announce-bar{display:flex;align-items:center;justify-content:center;gap:1rem;background:var(--gold);color:#000;padding:9px 5%;font-size:.88rem;position:relative;z-index:1001;}
.announce-bar.hidden{display:none;}
.announce-content{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;justify-content:center;}
.announce-tag{background:rgba(0,0,0,.15);padding:2px 10px;border-radius:20px;font-weight:700;font-size:.78rem;letter-spacing:.5px;white-space:nowrap;}
.announce-content p{margin:0;font-family:'Raleway',sans-serif;}
.announce-content strong{font-weight:800;}
.announce-cta{font-weight:700;text-decoration:underline;color:#000;white-space:nowrap;}
.announce-close{background:none;border:none;font-size:1.3rem;cursor:pointer;color:#000;opacity:.6;margin-left:auto;flex-shrink:0;line-height:1;padding:0 4px;}
.announce-close:hover{opacity:1;}
/* Compensar navbar cuando barra visible */
.navbar{top:var(--bar-h,38px);}

/* ---- BROKERS SECTION ---- */
.brokers-section{padding:5.5rem 0;background:linear-gradient(135deg,#1a1200 0%,#2a1e00 50%,#0d0d0d 100%);border-top:1px solid rgba(243, 230, 214,.2);border-bottom:1px solid rgba(243, 230, 214,.2);}
.brokers-inner{display:grid;grid-template-columns:1fr auto;gap:4rem;align-items:center;}
.brokers-tag{display:inline-block;font-size:.75rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--gold);background:rgba(243, 230, 214,.1);border:1px solid rgba(243, 230, 214,.3);padding:4px 14px;border-radius:20px;margin-bottom:1rem;}
.brokers-text h2{color:#fff;margin-bottom:1rem;font-size:clamp(1.4rem,2.5vw,2rem);}
.brokers-text>p{color:#aaa;margin-bottom:1.4rem;font-size:.95rem;max-width:520px;}
.brokers-list{display:flex;flex-direction:column;gap:.6rem;margin-bottom:2rem;}
.brokers-list li{color:#ccc;font-size:.9rem;}
.brokers-badge{background:rgba(243, 230, 214,.08);border:1px solid rgba(243, 230, 214,.3);border-radius:12px;padding:2.4rem 2rem;text-align:center;min-width:240px;max-width:280px;}
.brokers-icon{font-size:3rem;display:block;margin-bottom:1rem;}
.brokers-badge-title{color:#fff;font-family:"Raleway",sans-serif;font-weight:700;font-size:1rem;margin-bottom:.6rem;line-height:1.4;}
.brokers-badge-sub{color:#888;font-size:.85rem;margin-bottom:1.4rem;}
.brokers-phone{display:inline-block;color:var(--gold);font-family:"Raleway",sans-serif;font-weight:700;font-size:1rem;text-decoration:none;transition:var(--trans);}
.brokers-phone:hover{color:var(--gold);}
@media(max-width:900px){.brokers-inner{grid-template-columns:1fr;}.brokers-badge{max-width:100%;}}


/* ---- FIX: announce-bar sticky + navbar siempre sólido ---- */
.announce-bar{
    position:fixed;
    top:0;left:0;right:0;
    z-index:1002;
}
.navbar{
    position:fixed;
    /* top se setea dinámicamente desde JS con --bar-h */
    background:rgba(13,13,13,.98) !important;
    border-bottom:1px solid rgba(255,255,255,.08);
}
/* compensar el espacio ocupado por barra+navbar en el hero */
body{padding-top:var(--total-offset, 110px);}
.hero{margin-top:calc(-1 * var(--total-offset, 110px));padding-top:var(--total-offset, 110px);}

/* ---- HERO PRICE ANCHOR ---- */
.hero-price{display:inline-block;margin-top:.5rem;font-size:.95rem;color:rgba(255,255,255,.85);}
.hero-price strong{color:var(--gold);font-size:1.05rem;}

/* ---- HERO BULLETS ---- */
.hero-bullets{list-style:none;display:flex;flex-wrap:wrap;gap:.6rem 1.6rem;margin:.8rem 0 1rem;padding:0;}
.hero-bullets li{color:#fff;font-size:.92rem;font-weight:500;}

/* ---- CTA FINAL ---- */
.cta-final-section{padding:6rem 0;background:linear-gradient(135deg,var(--gold) 0%,#a87c2a 100%);}
.cta-final-section .section-tag{color:rgba(0,0,0,.6);background:rgba(0,0,0,.1);border-color:rgba(0,0,0,.2);}
.cta-final-section h2{color:#000;margin:1rem 0;}
.cta-final-section>div>p{color:rgba(0,0,0,.75);margin-bottom:2rem;}
.cta-final-actions{display:flex;gap:1.2rem;justify-content:center;flex-wrap:wrap;margin-bottom:1.4rem;}
.cta-final-section .btn-primary{background:#000;color:var(--gold);}
.cta-final-section .btn-primary:hover{background:#111;}
.cta-final-section .btn-outline{border-color:rgba(0,0,0,.5);color:#000;}
.cta-final-section .btn-outline:hover{background:rgba(0,0,0,.1);}
.cta-final-note{font-size:.82rem;color:rgba(0,0,0,.55);margin:0;}

/* ---- TRUST SECTION (LOGOS + TESTIMONIOS) ---- */
.trust-section{padding:5rem 0;background:var(--bg-lighter);}
.logos-wrapper{margin-bottom:4rem;}
.logos-title{font-size:.9rem;text-transform:uppercase;letter-spacing:2px;color:rgba(255,255,255,.5);margin-bottom:1.5rem;}
.logos-grid{display:flex;justify-content:center;gap:3rem;flex-wrap:wrap;opacity:0.6;filter:grayscale(100%);}
.logo-placeholder{font-weight:700;font-size:1.2rem;color:rgba(255,255,255,.8);}

/* ---- MOBILE FIXES ---- */
@media(max-width: 768px) {
    .trust-section { padding: 3.5rem 0; }
    .logos-grid { gap: 1.5rem; }
    .service-img { height: auto; aspect-ratio: 3 / 2; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; text-align: center; }
    .cta-final-actions { flex-direction: column; width: 100%; }
    .cta-final-actions .btn-primary, .cta-final-actions .btn-outline { width: 100%; text-align: center; }
    .hero-bullets { flex-direction: column; gap: 0.4rem; }
    .hero-price { font-size: 1rem; text-align: center; display: block; margin-top: 1rem; }
}

/* ---- PRICING CARDS ---- */
.pricing-section { padding: 4rem 0 3rem; background: url('../img/bg_precios.jpg') no-repeat left center; background-size: cover; position: relative; }
.pricing-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(90deg, rgba(243,230,214,0) 0%, rgba(243,230,214,0) 30%, rgba(243,230,214,0.85) 55%, rgba(243,230,214,1) 100%); z-index: 1; }
.pricing-section .container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; }
.pricing-section .section-header { margin-bottom: 1.5rem; max-width: 65%; text-align: center; }
.pricing-section .section-header h2 { color: #111; }
.pricing-section .section-header p { color: #444; }
.pricing-section .section-tag { color: #111; border-color: rgba(0,0,0,0.2); background: rgba(0,0,0,0.05); }
.pricing-section .section-header h2,
.pricing-section .section-header p { white-space: nowrap; max-width: 100%; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; width: 100%; max-width: 65%; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; background: rgba(255,255,255,0.9); border: 1px solid rgba(0,0,0,0.08); border-radius: 12px; padding: 1.5rem 1rem; text-align: center; transition: var(--trans); position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.pricing-card:hover { transform: translateY(-3px); border-color: rgba(0,0,0,0.2); box-shadow: 0 12px 30px rgba(0,0,0,0.1); }
.pricing-section.virtual-plans { background: var(--bg); padding-top: 5rem; padding-bottom: 5rem; }
.pricing-section.virtual-plans::before { display: none; }
.pricing-section.virtual-plans .container { align-items: center; }
.pricing-section.virtual-plans .section-header { text-align: center; max-width: 100%; margin-bottom: 2rem; }
.pricing-section.virtual-plans .section-header h2, .pricing-section.virtual-plans .section-header p { color: var(--text); white-space: normal; }
.pricing-section.virtual-plans .section-tag { background: rgba(243, 230, 214, 0.1); border-color: rgba(243, 230, 214, 0.3); color: var(--gold); }
.pricing-section.virtual-plans .pricing-grid { max-width: 1100px; }
.pricing-card.featured { border-color: #111; background: rgba(255,255,255,0.95); z-index: 2; box-shadow: 0 10px 30px rgba(0,0,0,0.12); }
.pricing-card.featured:hover { transform: translateY(-3px); }
.pricing-badge { position: absolute; top: 0.8rem; right: -2.5rem; background: #111; color: var(--gold); font-size: 0.65rem; font-weight: 700; padding: 3px 40px; transform: rotate(45deg); letter-spacing: 1px; text-transform: uppercase; }
.pricing-icon { margin-bottom: 0.8rem; display: block; color: #111; }
.pricing-icon svg { stroke: #111 !important; color: #111 !important; fill: none; width: 30px; height: 30px; }
.pricing-title { color: #111; font-size: 1.1rem; margin-bottom: 0.5rem; }
.pricing-price { font-size: 1.8rem; font-weight: 800; color: #111; margin-bottom: 0.5rem; font-family: 'Raleway', sans-serif; }
.pricing-price .desde { font-size: 0.9rem; color: #666; font-weight: 500; margin-right: 4px; vertical-align: middle; }
.pricing-price small { font-size: 0.85rem; color: #666; font-weight: 500; }
.pricing-desc { color: #444; font-size: 0.8rem; margin-bottom: 1rem;  }
.pricing-features { flex-grow: 1; list-style: none; padding: 0; margin: 0 0 1.5rem 0; text-align: left; }
.pricing-features li { color: #333; font-size: 0.8rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); display: flex; align-items: center; gap: 0.4rem; }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li i { color: #111; }
.pricing-card .btn-primary, .pricing-card .btn-outline { width: 100%; display: block; padding: 10px 0; font-size: 0.85rem; margin-top: auto; }
.pricing-card:not(.featured) .btn-primary { background: transparent; border: 1px solid rgba(0,0,0,0.2); color: #111; }
.pricing-card:not(.featured) .btn-primary:hover { background: #111; border-color: #111; color: #fff; }
.pricing-card.featured .btn-primary { background: #111; color: #fff; border: 1px solid #111; }
.pricing-card.featured .btn-primary:hover { background: transparent; color: #111; }

@media(max-width: 1100px) {
    .pricing-section .section-header, .pricing-grid { max-width: 70%; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 768px) {
    .pricing-section { background-position: left top; padding-top: 250px; }
    .pricing-section::before { background: linear-gradient(180deg, rgba(243,230,214,0) 0%, rgba(243,230,214,0) 150px, rgba(243,230,214,0.9) 230px, rgba(243,230,214,1) 100%); }
    .pricing-section .container { align-items: center; }
    .pricing-section .section-header, .pricing-grid { max-width: 100%; text-align: center; }
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-section .section-header h2,
    .pricing-section .section-header p { white-space: normal; }
}

/* ---- MOBILE STICKY CTA ---- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 10px 15px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
    z-index: 9999;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.mobile-sticky-cta .btn-primary {
    width: 100%;
    padding: 12px 0;
    font-size: 1rem;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@media(max-width: 768px) {
    .mobile-sticky-cta {
        display: block;
    }
    /* Añadir padding al body para que no tape el footer */
    body {
        padding-bottom: 70px;
    }
}

/* ================================================================
   WHATSAPP FLOATING BUTTON
   ================================================================ */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 28px rgba(37,211,102,.55);
    cursor: pointer;
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
    text-decoration: none;
    animation: wa-pulse 2.8s ease-in-out infinite;
    position: relative;
}
.whatsapp-float-btn:hover {
    transform: scale(1.12) translateY(-3px);
    box-shadow: 0 12px 40px rgba(37,211,102,.7);
    animation: none;
}
.whatsapp-float-btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}
/* Badge contador (opcional) */
.wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ff3b30;
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0d0d0d;
}
/* Tooltip burbuja */
.wa-tooltip {
    background: #fff;
    color: #111;
    font-family: 'Raleway', sans-serif;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all .28s ease;
    pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip,
.whatsapp-float-btn:hover ~ .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 6px 28px rgba(37,211,102,.55); }
    50%       { box-shadow: 0 6px 40px rgba(37,211,102,.85), 0 0 0 12px rgba(37,211,102,.12); }
}
@media(max-width: 768px) {
    .whatsapp-float { bottom: 80px; right: 16px; }
    .whatsapp-float-btn { width: 52px; height: 52px; }
    .whatsapp-float-btn svg { width: 26px; height: 26px; }
}

/* ================================================================
   CONTACT CHANNELS — sección de íconos de comunicación
   ================================================================ */
.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
.channel-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 14px 18px;
    background: rgba(255,255,255,.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: var(--trans);
    text-decoration: none;
    color: var(--white);
}
.channel-item:hover {
    border-color: var(--gold);
    background: rgba(243, 230, 214,.06);
    transform: translateX(4px);
}
.channel-emoji {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.05);
    border-radius: 8px;
    flex-shrink: 0;
}
.channel-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.channel-label strong {
    font-size: .82rem;
    color: var(--gold);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.channel-label span {
    font-size: .9rem;
    color: var(--muted);
}
.channel-label span:hover {
    color: var(--white);
}

/* Íconos sociales circulares de color (estilo tnagroup.cl) */
.social-icons-row {
    display: flex;
    gap: 12px;
    margin-top: 1.6rem;
    flex-wrap: wrap;
}
.social-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
    flex-shrink: 0;
}
.social-circle:hover {
    transform: scale(1.14) translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.social-circle svg { width: 22px; height: 22px; fill: #fff; }
.sc-whatsapp  { background: #25D366; }
.sc-linkedin  { background: #0077B5; }
.sc-email     { background: #EA4335; }
.sc-phone     { background: #69727D; }

.sc-agenda { 
    background: #111; 
    width: auto; 
    padding: 0 20px; 
    border-radius: 25px; 
    gap: 8px; 
    color: #fff; 
    font-size: 0.95rem; 
    font-weight: 700; 
    font-family: 'Raleway', sans-serif;
}

/* Mapa embebido en sección contacto */
.contact-map {
    margin-top: 1.4rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}
.contact-map iframe {
    width: 100%;
    height: 200px;
    display: block;
    border: none;
}
@media(max-width: 680px) {
    .contact-channels { gap: .8rem; }
    .channel-item { padding: 12px 14px; }
    .contact-map iframe { height: 160px; }
    .social-icons-row { justify-content: center; }
}

/* ================================================================
   CONTACTO LIGHT MODE (COTIZADOR EN LÍNEA)
   ================================================================ */
.contact-section.contact-light { background: #ffffff !important; }
.contact-section.contact-light .contact-info h2 { color: #111111 !important; }
.contact-section.contact-light .contact-info > p { color: #666666 !important; }
.contact-section.contact-light .section-tag { background: #f4f4f4 !important; border-color: #e5e5e5 !important; color: #111111 !important; }

/* Tarjetas de contacto */
.contact-section.contact-light .channel-item { background: #f9f9f9 !important; border-color: #e5e5e5 !important; color: #111111 !important; }
.contact-section.contact-light .channel-item:hover { background: #f0f0f0 !important; border-color: #d0d0d0 !important; }
.contact-section.contact-light .channel-emoji { background: #eaeaea !important; }
.contact-section.contact-light .channel-label strong { color: #111111 !important; }
.contact-section.contact-light .channel-label span { color: #444444 !important; }
.contact-section.contact-light .channel-label span:hover { color: #111111 !important; }

/* Botón Agenda */
.contact-section.contact-light .sc-agenda { background: #111111 !important; color: #ffffff !important; }
.contact-section.contact-light .sc-agenda svg { fill: #ffffff !important; }

/* Formulario */
.contact-section.contact-light .contact-form-wrap { background: #ffffff !important; border: 1px solid #e5e5e5 !important; box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important; }
.contact-section.contact-light .form-group label { color: #444444 !important; }
.contact-section.contact-light .form-group input, 
.contact-section.contact-light .form-group select, 
.contact-section.contact-light .form-group textarea { 
    background: #f8f8f8 !important; 
    border-color: #dcdcdc !important; 
    color: #111111 !important; 
}
.contact-section.contact-light .form-group input:focus, 
.contact-section.contact-light .form-group select:focus, 
.contact-section.contact-light .form-group textarea:focus { 
    border-color: #a0a0a0 !important; 
    background: #ffffff !important; 
}
.contact-section.contact-light .contact-form-wrap .btn-primary { 
    background: #f3e6d6 !important; 
    border-color: #f3e6d6 !important; 
    color: #111111 !important; 
    font-weight: 700 !important;
}
.contact-section.contact-light .contact-form-wrap .btn-primary:hover {
    background: #e5d5c0 !important;
    border-color: #e5d5c0 !important;
}
.contact-section.contact-light .form-note { color: #777777 !important; }

/* ---- INSTAGRAM SECTION ---- */
.ig-section { background: var(--bg-lighter); padding: 48px 0; }
@media (max-width: 1024px) { .ig-section { padding: 40px 0; } }
@media (max-width: 768px) { .ig-section { padding: 32px 0; } }
.ig-profile-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; text-decoration: none; font-size: 1.1rem; transition: var(--trans); }
.ig-profile-link:hover { color: #f3e6d6; }
.ig-feed-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}
.ig-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ig-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #fff;
    gap: 10px;
    font-weight: 500;
}
.ig-card:hover img {
    transform: scale(1.05);
}
.ig-card:hover .ig-overlay {
    opacity: 1;
}
.btn-ig {
    display: inline-block;
    background: #f3e6d6;
    color: #000;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s;
}
.btn-ig:hover {
    background: #e3d3c0;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .ig-feed-carousel {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.2rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .ig-feed-carousel::-webkit-scrollbar {
        display: none;
    }
    .ig-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* Reducir padding inferior del contact section cuando precede a IG section */
.contact-section.contact-light {
    padding-bottom: 48px !important;
}

/* ---- COMPARE SECTION CUSTOMIZATIONS ---- */
.compare-header { margin-bottom: 2rem !important; }
.compare-header h2 { font-size: 2.1rem; max-width: 1200px; margin: 0 auto 0.5rem; color: #f5f5f5; }
.compare-header p { font-size: 1rem; max-width: 1200px; margin: 0 auto; color: #cccccc; }

.compare-table th { color: #f5f5f5; }
.compare-table td:first-child { color: #f5f5f5; }
.col-tna { color: #f3e6d6 !important; }
.col-other { color: #d67a7a !important; }
.yes { color: #4ade80 !important; font-weight: 700; }
.no { color: #d67a7a !important; font-weight: 600; }
.warn { color: #aaaaaa !important; font-weight: 600; }

.elegant-divider {
    width: 40px;
    height: 2px;
    background-color: #f3e6d6;
    border: none;
    margin: 0 auto 1.2rem auto;
}
.compare-badge h3 { color: #f5f5f5 !important; }
.compare-badge p { color: #cccccc !important; }
.btn-compare { background: #f3e6d6 !important; color: #111 !important; border-color: #f3e6d6 !important; font-weight: 700 !important; }
.btn-compare:hover { background: #e5d5c0 !important; border-color: #e5d5c0 !important; color: #111 !important; }

@media (max-width: 1024px) {
    .compare-section { padding: 40px 0 !important; }
    .compare-header h2 { font-size: 1.8rem; }
}
@media (max-width: 768px) {
    .compare-section { padding: 32px 0 !important; }
    .compare-header h2 { font-size: 1.5rem; }
}

/* ---- COMPARE BADGE WITH IMAGE ---- */
.compare-badge.has-image {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.compare-badge-img {
    width: 100%;
    height: 240px;
    position: relative;
}
/* Soft dark overlay if requested, but user said 'si fuera necesario'. I will add a very subtle one */
.compare-badge-img::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.15);
    pointer-events: none;
}
.compare-badge-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.compare-badge-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}
.compare-badge-content .elegant-divider {
    margin: 0 auto 1.5rem auto;
}

/* ---- BROKERS BANNER ---- */
.brokers-banner {
    background-color: var(--bg3);
    border-top: 1px solid rgba(243, 230, 214, 0.1);
    border-bottom: 1px solid rgba(243, 230, 214, 0.1);
    padding: 32px 0;
}
.brokers-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.brokers-banner-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(243, 230, 214, 0.7);
    display: block;
    margin-bottom: 0.5rem;
}
.brokers-banner-content h2 {
    font-size: 1.4rem;
    color: #f5f5f5;
    margin-bottom: 0.3rem;
}
.brokers-banner-content p {
    color: #cccccc;
    font-size: 0.95rem;
    margin: 0;
}
.btn-brokers {
    background: #f3e6d6 !important;
    color: #111 !important;
    border-color: #f3e6d6 !important;
    font-size: 0.95rem !important;
    padding: 0.7rem 1.4rem !important;
    white-space: nowrap;
    font-weight: 700 !important;
}
.btn-brokers:hover {
    background: #e5d5c0 !important;
    border-color: #e5d5c0 !important;
    color: #111 !important;
}
@media (max-width: 768px) {
    .brokers-banner {
        padding: 24px 0;
    }
    .brokers-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
    }
    .btn-brokers {
        width: 100%;
        text-align: center;
    }
}

/* ===================== TESTIMONIOS SLIDER ===================== */

.testimonials-swiper {
    padding-bottom: 4rem; /* Space for dots */
}

/* Ensure all slides stretch to the same height */
.testimonials-swiper .swiper-slide {
    display: flex;
    height: auto;
}

.testimony-card {
    background: var(--bg3);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    transition: var(--trans);
}

.testimony-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.testimony-text {
    font-family: 'Raleway', sans-serif;
    font-style: italic;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin-bottom: 1.2rem;
}

.testimony-author {
    margin-top: auto; /* Pushes author to the bottom */
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.testimony-author strong {
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
}

.testimony-author span {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 300;
}

/* Swiper Controls Customization */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: var(--gold);
}

.testimonials-swiper .swiper-pagination-bullet {
    background: var(--muted);
    opacity: 0.5;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
}

@media (max-width: 768px) {
    .testimony-card {
        padding: 1.5rem;
    }
}

