:root{
  --navy:#0b2359;
  --navy-2:#071a44;
  --red:#e21d2b;
  --red-2:#c8102e;
  --ink:#111827;
  --muted:#667085;
  --line:#e5e7eb;
  --soft:#f5f7fa;
  --white:#fff;
  --max:1240px;
  --shadow:0 20px 55px rgba(7,26,68,.10);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);background:#fff;font-family:Manrope,Arial,sans-serif;line-height:1.55}
body.modal-open,body.nav-open{overflow:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
main{overflow:hidden}
.th-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(11,35,89,.08)}
.th-header__inner{max-width:var(--max);height:76px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:44px}
.th-header__logo{width:150px;display:flex;align-items:center}
.th-header__logo img{width:145px;height:auto;object-fit:contain}
.th-nav{display:flex;align-items:center;gap:30px;flex:1;justify-content:center}
.th-nav a{font-family:Montserrat,sans-serif;text-transform:uppercase;font-size:12px;letter-spacing:.08em;font-weight:700;color:#4b5563;position:relative;padding:29px 0}
.th-nav a:after{content:"";position:absolute;left:0;right:0;bottom:20px;height:2px;background:var(--red);transform:scaleX(0);transition:.2s}
.th-nav a:hover,.th-nav a.is-active{color:var(--navy)}
.th-nav a:hover:after,.th-nav a.is-active:after{transform:scaleX(1)}
.th-header__actions{display:flex;align-items:center;gap:12px}
.th-header__cta{white-space:nowrap!important;padding:13px 21px!important;font-size:11px!important;text-transform:uppercase}
.th-btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 24px;border-radius:999px;font-family:Montserrat,sans-serif;font-weight:800;font-size:12px;letter-spacing:.02em;transition:.22s ease}
.th-btn--primary{background:var(--red);color:#fff;box-shadow:0 9px 24px rgba(226,29,43,.18)}
.th-btn--primary:hover{background:#c91425;transform:translateY(-2px)}
.th-btn--ghost-light{border:1px solid rgba(255,255,255,.48);color:#fff;background:rgba(255,255,255,.06)}
.th-btn--ghost-light:hover{background:#fff;color:var(--navy)}
.th-btn--ghost{background:#fff;border:1px solid var(--line);color:var(--navy)}
.th-btn--outline{background:#fff;border:1px solid rgba(11,35,89,.22);color:var(--navy)}
.th-btn--outline:hover{background:var(--navy);color:#fff}
.th-btn--full{width:100%}
.th-burger{display:none;border:0;background:transparent;padding:8px}.th-burger span{display:block;width:25px;height:2px;background:var(--navy);margin:5px}
.th-mobile-nav{display:none}
.th-hero{position:relative;min-height:650px;background:var(--navy);color:#fff}
.th-hero__track{position:absolute;inset:0}
.th-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .6s ease}
.th-slide.is-active{opacity:1;visibility:visible}
.th-slide__media{position:absolute;inset:0;background-size:cover;background-position:center}
.th-slide__veil{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,19,52,.90) 0%,rgba(7,26,68,.67) 44%,rgba(7,26,68,.14) 100%)}
.th-slide__content{position:relative;z-index:2;max-width:var(--max);margin:auto;padding:125px 28px 150px}
.th-eyebrow{font-family:Montserrat,sans-serif;font-size:12px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;color:#fff;margin:0 0 18px}
.th-eyebrow--dark{color:var(--red)}
.th-slide h1,.th-page-hero h1{font-family:Montserrat,sans-serif;font-size:clamp(40px,5vw,68px);line-height:1.03;letter-spacing:-.045em;max-width:780px;margin:0 0 24px;font-weight:600}
.th-slide h1 strong,.th-page-hero h1 strong{font-weight:800}
.th-slide__lead{max-width:630px;color:rgba(255,255,255,.83);font-size:18px;margin:0 0 30px}
.th-slide__ctas{display:flex;flex-wrap:wrap;gap:12px}
.th-hero__controls{position:absolute;right:32px;bottom:150px;display:flex;align-items:center;gap:13px;z-index:10}
.th-hero__arrow{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff;font-size:25px}
.th-hero__dots{display:flex;gap:7px}
.th-hero__dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.35)}
.th-hero__dots button.is-active{width:25px;border-radius:99px;background:#fff}
.th-quicksearch{position:absolute;z-index:12;left:50%;bottom:-42px;transform:translateX(-50%);width:min(calc(100% - 56px),1100px);display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr auto;gap:0;background:#fff;border-radius:16px;box-shadow:0 24px 60px rgba(7,26,68,.18);overflow:hidden;color:var(--ink)}
.th-quicksearch__title{padding:22px 20px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.th-quicksearch__title span{font-family:Montserrat;font-weight:800;color:var(--navy)}.th-quicksearch__title small{color:var(--muted);font-size:11px}
.th-quicksearch__field{padding:15px 17px;border-right:1px solid var(--line);display:flex;flex-direction:column}.th-quicksearch label{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#98a2b3;margin-bottom:4px}.th-quicksearch select{border:0;background:transparent;color:var(--navy);font-weight:700;outline:0}.th-quicksearch>.th-btn{border-radius:0;min-width:150px}
.th-stats{background:var(--navy);color:#fff}.th-stats__inner{max-width:var(--max);margin:auto;padding:58px 28px 54px;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.th-stat{text-align:center;padding:8px 28px;border-right:1px solid rgba(255,255,255,.14)}.th-stat:last-child{border:0}.th-stat__value{display:block;font-family:Montserrat;font-size:40px;font-weight:800;letter-spacing:-.04em}.th-stat__label{display:block;margin-top:7px;color:rgba(255,255,255,.65);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.th-section{padding:105px 28px;max-width:var(--max);margin:auto}.th-section--alt{max-width:none;background:var(--soft);padding-left:max(28px,calc((100vw - var(--max))/2 + 28px));padding-right:max(28px,calc((100vw - var(--max))/2 + 28px))}
.th-section--catalog{padding-top:112px}
.th-section__head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.th-section__head h2{font-family:Montserrat;color:var(--navy);font-size:clamp(30px,3.2vw,46px);line-height:1.08;letter-spacing:-.04em;margin:0}.th-section__head>div{max-width:760px}.th-section__micro{color:var(--muted);font-size:12px}.th-section__lead{color:var(--muted);max-width:650px}
.th-link{font-weight:800;color:var(--navy);font-size:13px;white-space:nowrap}.th-link span{color:var(--red)}
.th-property-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.th-property-card{background:#fff;border:1px solid #e9edf3;border-radius:16px;overflow:hidden;box-shadow:0 5px 20px rgba(7,26,68,.04);transition:.25s}.th-property-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}.th-property-card__img{height:235px;background-size:cover;background-position:center;position:relative}.th-property-card__id{position:absolute;top:12px;right:12px;background:rgba(7,26,68,.86);color:#fff;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;letter-spacing:.05em}.th-property-card__body{padding:18px}.th-property-card__price{font-family:Montserrat;color:var(--red);font-size:18px;font-weight:800}.th-property-card h3{font-size:15px;line-height:1.35;margin:8px 0 5px;color:var(--navy)}.th-property-card__loc{font-size:12px;color:var(--muted);margin:0}.th-property-card__meta{display:flex;gap:12px;list-style:none;padding:12px 0 0;margin:0;border-top:1px solid var(--line);margin-top:14px;color:#667085;font-size:11px}.th-property-card__meta li+li{border-left:1px solid var(--line);padding-left:12px}
.th-story{display:grid;grid-template-columns:1fr 1fr;min-height:520px;border-radius:22px;overflow:hidden;background:var(--soft)}.th-story__image{background-size:cover;background-position:center}.th-story__content{padding:70px;display:flex;flex-direction:column;justify-content:center}.th-story__content h2{font-family:Montserrat;color:var(--navy);font-size:clamp(32px,3vw,48px);line-height:1.06;margin:0 0 20px}.th-story__content p{color:var(--muted);max-width:520px}.th-story__points{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}.th-story__points div{border-top:2px solid var(--red);padding-top:12px}.th-story__points strong{display:block;color:var(--red);font-family:Montserrat}.th-story__points span{font-size:12px;font-weight:700;color:var(--navy)}
.th-comunas{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.th-comuna-tile{height:220px;border-radius:14px;overflow:hidden;position:relative;color:#fff;display:flex;align-items:end;padding:20px}.th-comuna-tile__image{position:absolute;inset:0;background-size:cover;background-position:center;transition:.45s}.th-comuna-tile__shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(5,19,52,.83) 100%)}.th-comuna-tile span{position:relative;z-index:2;font-family:Montserrat;font-size:18px;font-weight:800}.th-comuna-tile:hover .th-comuna-tile__image{transform:scale(1.06)}
.th-final-cta{padding:100px 28px;background:var(--navy);color:#fff;text-align:center}.th-final-cta--image{position:relative;background-size:cover;background-position:center}.th-final-cta__overlay{position:absolute;inset:0;background:rgba(5,19,52,.72)}.th-final-cta__inner{position:relative;z-index:2;max-width:800px;margin:auto}.th-final-cta h2{font-family:Montserrat;font-size:clamp(36px,4vw,58px);line-height:1.05;margin:0 0 15px;letter-spacing:-.04em}.th-final-cta p:not(.th-eyebrow){color:rgba(255,255,255,.75);margin:0 0 28px}
.th-page-hero{min-height:470px;padding:120px 28px 90px;background:var(--navy);color:#fff;position:relative;background-size:cover;background-position:center}.th-page-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,19,52,.90),rgba(7,26,68,.45))}.th-page-hero__inner{position:relative;z-index:2;max-width:var(--max);margin:auto}.th-page-hero h1{max-width:900px}.th-page-hero__lead{font-size:18px;max-width:680px;color:rgba(255,255,255,.78)}
.th-tasacion__grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:70px;align-items:start}.th-feature-card{border-top:2px solid var(--red);padding:22px 0}.th-feature-card__number,.th-card-kicker{font-family:Montserrat;color:var(--red);font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.12em}.th-feature-card h3{font-family:Montserrat;color:var(--navy);margin:9px 0 4px}.th-feature-card p{color:var(--muted);margin:0}.th-form--card{background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:20px;padding:34px}.th-form-row{margin-bottom:18px}.th-form-row--split{display:grid;grid-template-columns:1fr 1fr;gap:15px}.th-form label{display:block;font-size:11px;font-weight:800;color:var(--navy);margin-bottom:7px}.th-form input,.th-form select,.th-form textarea{width:100%;border:1px solid #d9dee7;border-radius:10px;background:#fff;padding:13px 14px;color:var(--ink);outline:none;transition:.18s}.th-form input:focus,.th-form select:focus,.th-form textarea:focus{border-color:var(--navy);box-shadow:0 0 0 4px rgba(11,35,89,.08)}.th-form-progress-track{height:4px;background:#edf0f4;border-radius:99px;margin-bottom:25px}.th-form-progress{width:50%;height:100%;background:var(--red);border-radius:99px;transition:.25s}.th-form-step__label{font-size:11px;color:var(--muted);font-weight:800;text-transform:uppercase;letter-spacing:.1em;margin-bottom:22px}.th-form-actions{display:flex;justify-content:flex-end;gap:10px}.th-check{display:flex!important;gap:10px;align-items:flex-start;margin:16px 0 20px!important;font-weight:500!important;color:#667085!important}.th-check input{width:18px!important;margin-top:2px}.th-check a{text-decoration:underline;color:var(--navy)}.th-honeypot{position:absolute!important;left:-10000px!important;opacity:0!important}.th-form-success,.th-form-errors{border-radius:14px;padding:20px}.th-form-success{background:#eef8f2;border:1px solid #b7e1c7}.th-form-success h3{margin-top:0;color:#166534}.th-form-errors{background:#fff3f3;border:1px solid #f0b7bd;color:#8c1521;margin-bottom:18px}.th-form-errors ul{margin:0;padding-left:18px}
.th-proceso__list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(5,1fr);gap:0;border-top:1px solid #dce1e8}.th-proceso__list li{padding:28px 22px 28px 0;border-right:1px solid #dce1e8;margin-right:22px}.th-proceso__list li:last-child{border:0}.th-proceso__list span{color:var(--red);font-family:Montserrat;font-weight:800}.th-proceso__list h3{color:var(--navy);font-family:Montserrat;font-size:16px;margin:15px 0 6px}.th-proceso__list p{color:var(--muted);font-size:13px;margin:0}
.th-faq__list{max-width:900px;margin:auto}.th-faq__item{border-top:1px solid var(--line)}.th-faq__item:last-child{border-bottom:1px solid var(--line)}.th-faq__q{width:100%;border:0;background:none;text-align:left;padding:22px 5px;color:var(--navy);font-family:Montserrat;font-weight:800;display:flex;justify-content:space-between}.th-faq__q:after{content:'+';font-size:20px;color:var(--red)}.th-faq__item.is-open .th-faq__q:after{content:'−'}.th-faq__a{max-height:0;overflow:hidden;transition:.3s}.th-faq__a p{padding:0 5px 22px;color:var(--muted)}
.th-catalog-hero{background:var(--navy);color:#fff;min-height:360px;padding:105px 28px 75px;position:relative;overflow:hidden}.th-catalog-head__inner{max-width:var(--max);margin:auto;position:relative;z-index:2}.th-catalog-head__inner h1{font-family:Montserrat;font-size:clamp(54px,8vw,96px);line-height:.95;margin:0 0 18px;letter-spacing:-.06em}.th-catalog-head__inner p:not(.th-eyebrow){max-width:580px;color:rgba(255,255,255,.75)}.th-catalog-head__count{display:inline-block;margin-top:14px;font-size:12px;color:#fff;border:1px solid rgba(255,255,255,.25);border-radius:99px;padding:8px 13px}.th-catalog-hero__globe{position:absolute;width:580px;height:580px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-130px;top:-190px}.th-catalog-hero__globe:before,.th-catalog-hero__globe:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%;inset:80px}.th-catalog-hero__globe:after{inset:180px}
.th-catalog{max-width:var(--max);margin:auto;padding:70px 28px;display:grid;grid-template-columns:250px 1fr;gap:38px}.th-filters{border:1px solid var(--line);border-radius:16px;padding:20px;height:max-content;position:sticky;top:95px}.th-filters__group{margin-bottom:16px}.th-filters label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;color:var(--muted);display:block;margin-bottom:6px}.th-filters select{width:100%;border:1px solid var(--line);border-radius:9px;padding:11px;background:#fff;color:var(--navy)}.th-filters__clear{display:block;text-align:center;color:var(--muted);font-size:12px;margin-top:12px}.th-filters-toggle{display:none}.th-view-toggle{display:flex;justify-content:flex-end;margin-bottom:18px}.th-view-toggle button{border:1px solid var(--line);background:#fff;padding:9px 15px;color:var(--muted)}.th-view-toggle button:first-child{border-radius:9px 0 0 9px}.th-view-toggle button:last-child{border-radius:0 9px 9px 0}.th-view-toggle button.is-active{background:var(--navy);color:#fff;border-color:var(--navy)}.th-property-grid--catalog{grid-template-columns:repeat(3,1fr)}.th-pagination{display:flex;justify-content:center;gap:7px;margin-top:35px}.th-pagination>*{width:38px;height:38px;border:1px solid var(--line);border-radius:9px;display:grid;place-items:center}.th-pagination .is-active{background:var(--navy);color:#fff;border-color:var(--navy)}.th-map{height:650px;border-radius:16px;overflow:hidden}.th-map-view[hidden]{display:none}
.th-invest__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.th-invest__card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:28px;min-height:230px;transition:.2s}.th-invest__card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.th-invest__card h3{font-family:Montserrat;color:var(--navy);font-size:18px}.th-invest__card p{color:var(--muted);font-size:13px}.th-calculator{max-width:1120px;margin:auto}.th-calculator__intro{max-width:720px;margin-bottom:35px}.th-calculator__intro h2{font-family:Montserrat;color:var(--navy);font-size:42px;line-height:1.05;margin:0 0 12px}.th-calculator__intro p:not(.th-eyebrow){color:var(--muted)}.th-plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.th-plan-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:28px;position:relative}.th-plan-card.is-featured{border:2px solid var(--red);box-shadow:var(--shadow)}.th-plan-card.is-selected{outline:3px solid rgba(226,29,43,.13)}.th-plan-card__badge{position:absolute;right:18px;top:18px;background:var(--red);color:#fff;font-size:9px;text-transform:uppercase;padding:6px 9px;border-radius:99px;font-weight:800}.th-plan-card__name{display:block;color:var(--navy);font-family:Montserrat;font-weight:800}.th-plan-card__price{display:block;font-family:Montserrat;color:var(--red);font-size:32px;margin:18px 0}.th-plan-card p{color:var(--muted);min-height:65px;font-size:13px}.th-plan-result{margin-top:18px;background:var(--navy);color:#fff;padding:18px 22px;border-radius:12px;display:flex;align-items:center;gap:20px}.th-plan-result strong{font-family:Montserrat}.th-plan-result span{opacity:.7}.th-plan-result a{margin-left:auto;color:#fff;text-decoration:underline}.th-staff-photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.th-staff-photo{height:360px;border-radius:16px;background-size:cover;background-position:center;display:flex;align-items:end;padding:20px;position:relative;overflow:hidden}.th-staff-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(5,19,52,.78))}.th-staff-photo span{position:relative;z-index:2;color:#fff;font-family:Montserrat;font-weight:800}.th-agent-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.th-agent-card{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden}.th-agent-card__photo{height:310px;background-size:cover;background-position:center}.th-agent-card__photo--initials{background:linear-gradient(135deg,var(--navy),#1e478e);display:grid;place-items:center;color:#fff;font-family:Montserrat;font-size:42px;font-weight:800}.th-agent-card__body{padding:18px}.th-agent-card__role{color:var(--red);font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.12em}.th-agent-card h3{font-family:Montserrat;color:var(--navy);font-size:17px;margin:7px 0 12px}.th-agent-card__actions{display:flex;gap:10px;flex-wrap:wrap}.th-agent-card__actions a{font-size:10px;font-weight:800;color:var(--navy);text-decoration:underline}.th-team-banner{display:grid;grid-template-columns:1.1fr .9fr;gap:45px;align-items:center}.th-team-banner__image{height:460px;border-radius:18px;background-size:cover;background-position:center}.th-team-banner h2{font-family:Montserrat;color:var(--navy);font-size:42px;line-height:1.05}.th-team-banner p{color:var(--muted)}
.th-contact__grid{display:grid;grid-template-columns:1.05fr .65fr;gap:50px;max-width:1050px;margin:auto}.th-contact__info{background:var(--navy);color:#fff;border-radius:18px;padding:38px;height:max-content}.th-contact__info h2{font-family:Montserrat;font-size:32px}.th-contact__info a{display:block;color:#fff;margin:13px 0}.th-contact__socials{border-top:1px solid rgba(255,255,255,.16);padding-top:18px;margin-top:25px;display:flex;gap:18px}.th-contact__form-wrap{min-width:0}.th-legal{max-width:900px}.th-legal h2{font-family:Montserrat;color:var(--navy);margin-top:36px}
.th-modal{position:fixed;inset:0;z-index:300;display:none}.th-modal.is-open{display:block}.th-modal__backdrop{position:absolute;inset:0;background:rgba(4,13,32,.68);backdrop-filter:blur(6px)}.th-modal__panel{position:relative;z-index:2;width:min(540px,calc(100% - 30px));max-height:90vh;overflow:auto;background:#fff;border-radius:22px;margin:5vh auto 0;padding:38px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.th-modal__close{position:absolute;right:16px;top:13px;border:0;background:#f3f4f6;width:35px;height:35px;border-radius:50%;font-size:22px;color:var(--navy)}.th-modal__intro h2{font-family:Montserrat;color:var(--navy);font-size:34px;line-height:1.08;margin:0 0 10px}.th-modal__intro p:last-child{color:var(--muted)}
.th-footer{background:#071a44;color:#fff;padding:65px 28px 0}.th-footer__inner{max-width:var(--max);margin:auto;display:grid;grid-template-columns:1.6fr repeat(3,1fr);gap:45px;padding-bottom:50px}.th-footer__logo{width:150px;background:#fff;padding:8px;border-radius:7px}.th-footer__brand p{max-width:300px;color:rgba(255,255,255,.58);font-size:12px}.th-footer__col h3{font-family:Montserrat;font-size:12px;text-transform:uppercase;letter-spacing:.1em}.th-footer__col a{display:block;color:rgba(255,255,255,.68);font-size:12px;margin:9px 0}.th-footer__col a:hover{color:#fff}.th-footer__bottom{border-top:1px solid rgba(255,255,255,.1);max-width:var(--max);margin:auto;padding:20px 0;display:flex;justify-content:space-between;gap:20px;color:rgba(255,255,255,.4);font-size:10px}.th-footer__bottom a{margin-left:15px}.th-whatsapp{position:fixed;right:22px;bottom:22px;z-index:150;background:#19a463;color:#fff;padding:12px 17px;border-radius:999px;box-shadow:0 12px 30px rgba(0,0,0,.18);font-size:11px;font-weight:800}
@media(max-width:1050px){
  .th-nav{gap:17px}.th-header__inner{gap:18px}.th-header__logo{width:120px}.th-header__logo img{width:120px}.th-property-grid{grid-template-columns:repeat(2,1fr)}.th-comunas{grid-template-columns:repeat(3,1fr)}.th-agent-grid{grid-template-columns:repeat(3,1fr)}.th-invest__grid{grid-template-columns:repeat(2,1fr)}.th-proceso__list{grid-template-columns:repeat(3,1fr);row-gap:25px}.th-quicksearch{grid-template-columns:1.2fr 1fr 1fr auto}.th-quicksearch__title{display:none}.th-plan-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  .th-header__inner{height:68px;padding:0 18px}.th-nav,.th-header__cta{display:none}.th-burger{display:block}.th-mobile-nav{display:flex;position:absolute;left:0;right:0;top:68px;background:#fff;border-top:1px solid var(--line);padding:12px 18px 20px;flex-direction:column;gap:3px;transform:translateY(-120%);transition:.25s;box-shadow:0 18px 30px rgba(0,0,0,.08)}.th-mobile-nav.is-open{transform:translateY(0)}.th-mobile-nav a{padding:14px 8px;font-weight:800;color:var(--navy)}.th-hero{min-height:680px}.th-slide__content{padding:105px 20px 180px}.th-slide h1,.th-page-hero h1{font-size:39px}.th-slide__lead{font-size:15px}.th-hero__controls{right:20px;bottom:120px}.th-quicksearch{bottom:-150px;width:calc(100% - 28px);grid-template-columns:1fr 1fr;overflow:visible;border-radius:15px}.th-quicksearch__field{border-bottom:1px solid var(--line)}.th-quicksearch>.th-btn{grid-column:1/-1;min-height:54px;border-radius:0 0 15px 15px}.th-stats{margin-top:150px}.th-stats__inner{grid-template-columns:1fr;padding:30px 20px}.th-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.14);padding:20px}.th-stat:last-child{border:0}.th-section{padding:72px 20px}.th-section--alt{padding-left:20px;padding-right:20px}.th-section__head{display:block}.th-section__head h2{font-size:33px}.th-section__head .th-link{display:inline-block;margin-top:15px}.th-property-grid,.th-property-grid--catalog{grid-template-columns:1fr}.th-story,.th-team-banner{grid-template-columns:1fr}.th-story__content{padding:40px 25px}.th-story__points{grid-template-columns:1fr}.th-comunas{grid-template-columns:1fr 1fr}.th-comuna-tile{height:180px}.th-final-cta{padding:75px 20px}.th-tasacion__grid,.th-contact__grid{grid-template-columns:1fr;gap:30px}.th-form-row--split{grid-template-columns:1fr}.th-proceso__list{grid-template-columns:1fr}.th-proceso__list li{border-right:0;border-bottom:1px solid var(--line);margin:0}.th-catalog{grid-template-columns:1fr;padding:45px 18px}.th-filters{position:static;display:none}.th-filters.is-open{display:block}.th-filters-toggle{display:flex;width:100%;justify-content:space-between;border:1px solid var(--line);background:#fff;border-radius:10px;padding:13px;margin-bottom:12px;color:var(--navy);font-weight:800}.th-view-toggle{justify-content:stretch}.th-view-toggle button{flex:1}.th-map{height:500px}.th-plan-grid,.th-staff-photo-grid{grid-template-columns:1fr}.th-agent-grid{grid-template-columns:1fr 1fr}.th-staff-photo{height:280px}.th-team-banner__image{height:320px}.th-footer__inner{grid-template-columns:1fr 1fr}.th-footer__bottom{display:block}.th-footer__bottom div{margin-top:10px}.th-modal__panel{padding:28px 22px;margin-top:3vh}.th-catalog-hero{padding:75px 20px 55px}.th-catalog-head__inner h1{font-size:58px}
}
@media(max-width:480px){.th-agent-grid{grid-template-columns:1fr}.th-comunas{grid-template-columns:1fr}.th-footer__inner{grid-template-columns:1fr}.th-slide__ctas .th-btn{width:100%}.th-modal__intro h2{font-size:29px}}

/* ================================================================
   TRUE HOME — VISUAL POLISH V3
   Capa visual: no toca el motor RE/MAX ni la integración de datos.
   ================================================================ */

:root{
  --navy:#0a2258;
  --navy-deep:#061638;
  --red:#ed1b2f;
  --soft:#f4f6fa;
  --glass:rgba(255,255,255,.10);
  --shadow-premium:0 28px 80px rgba(5,20,55,.14);
}

/* Header */
.th-header{box-shadow:0 8px 28px rgba(7,26,68,.04)}
.th-header__inner{height:82px}
.th-header__logo img{width:152px}
.th-nav a{font-size:12px;letter-spacing:.075em}
.th-header__cta{padding:15px 24px!important;box-shadow:0 12px 28px rgba(226,29,43,.18)}

/* Home hero: text a little higher and stronger image treatment */
.th-hero{min-height:690px}
.th-slide__content{padding-top:92px;padding-bottom:155px}
.th-slide__media{background-position:center center;transform:scale(1.015);transition:transform 1.2s ease}
.th-slide.is-active .th-slide__media{transform:scale(1)}
.th-slide__veil{background:linear-gradient(90deg,rgba(4,18,51,.93) 0%,rgba(6,26,68,.72) 44%,rgba(6,26,68,.22) 100%)}
.th-slide h1{max-width:820px;font-size:clamp(44px,5.25vw,72px);text-wrap:balance}
.th-slide__lead{max-width:650px;font-size:18px}
.th-hero__controls{right:38px;bottom:132px}
.th-hero__arrow{width:48px;height:48px;font-size:28px;backdrop-filter:blur(8px)}
.th-hero__dots{align-items:center}
.th-hero__dots button{transition:.25s;width:8px;height:8px}
.th-hero__dots button.is-active{width:30px}

/* Floating WhatsApp is intentionally disabled */
.th-whatsapp{display:none!important}

/* Sections */
.th-section{padding-top:110px;padding-bottom:110px}
.th-section--catalog{padding-top:125px}
.th-section__head{margin-bottom:44px}
.th-section__head h2{font-size:clamp(34px,3.35vw,50px)}
.th-story{box-shadow:var(--shadow-premium)}
.th-story__image{min-height:560px}
.th-story__content{padding:78px}

/* Stats */
.th-stats__inner{padding-top:62px;padding-bottom:58px}
.th-stat__value{font-size:44px}

/* Commune cards: always image-ready */
.th-comunas{gap:18px}
.th-comuna-tile{height:240px;border-radius:18px;box-shadow:0 14px 35px rgba(7,26,68,.10)}
.th-comuna-tile__image{filter:saturate(.92);}
.th-comuna-tile__shade{background:linear-gradient(180deg,rgba(6,22,56,.02) 18%,rgba(5,18,50,.88) 100%)}
.th-comuna-tile span{font-size:19px;letter-spacing:-.02em}

/* Every internal page hero gets a photographic layer */
.th-page-hero,
.th-catalog-hero{background-size:cover;background-position:center;isolation:isolate}
.th-page-hero__overlay{background:linear-gradient(90deg,rgba(4,18,51,.92) 0%,rgba(7,27,69,.66) 50%,rgba(7,27,69,.22) 100%)}
.th-page-hero{min-height:500px;padding-top:96px;padding-bottom:105px;display:flex;align-items:center}
.th-page-hero__inner{width:100%}
.th-page-hero h1{font-size:clamp(44px,5.3vw,72px);max-width:950px;text-wrap:balance}
.th-page-hero__lead{max-width:700px;font-size:18px}

/* Catalog */
.th-catalog-hero{min-height:430px;padding-top:100px;padding-bottom:78px;background-position:center 55%}
.th-catalog-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,18,51,.91),rgba(7,27,69,.60),rgba(7,27,69,.22));z-index:0}
.th-catalog-hero__globe{z-index:1;opacity:.72}
.th-catalog-head__inner{z-index:2}
.th-catalog-head__inner h1{font-size:clamp(62px,8vw,108px)}
.th-catalog-head__count{backdrop-filter:blur(10px);background:rgba(255,255,255,.06)}
.th-catalog{padding-top:78px}
.th-filters{box-shadow:0 14px 40px rgba(7,26,68,.06)}
.th-property-card{border-radius:18px}
.th-property-card__img{height:245px}

/* Valuation form */
.th-tasacion__grid{gap:85px}
.th-tasacion__form-wrap{position:relative}
.th-form--card{box-shadow:var(--shadow-premium);border-radius:24px;padding:38px}
.th-form-progress-track{height:5px;margin-bottom:30px}
.th-form-step__label{color:#7a869b}
.th-form input,.th-form select,.th-form textarea{min-height:50px;border-radius:12px}
.th-form textarea{min-height:130px}
.th-feature-card{padding:25px 0}
.th-feature-card h3{font-size:19px}

/* Legal/process */
.th-proceso__list li{padding-top:32px;padding-bottom:32px}
.th-faq__q{font-size:15px;padding:25px 5px}

/* Agent calculator — premium */
.th-calculator-section{background:linear-gradient(180deg,#f4f6fa 0%,#eef2f7 100%)}
.th-calculator__intro{max-width:780px}
.th-calculator__intro h2{font-size:clamp(38px,4vw,56px);letter-spacing:-.045em}
.th-income-calculator{display:grid;grid-template-columns:minmax(0,1fr) 320px;background:#fff;border:1px solid rgba(11,35,89,.10);border-radius:28px;overflow:hidden;box-shadow:var(--shadow-premium)}
.th-income-calculator__main{padding:36px 38px 32px}
.th-income-calculator__side{padding:38px;background:var(--navy);color:#fff;display:flex;flex-direction:column;justify-content:center}
.th-income-calculator__side h3{font-family:Montserrat;font-size:27px;line-height:1.08;margin:12px 0}
.th-income-calculator__side p{color:rgba(255,255,255,.68);font-size:13px;margin:0 0 25px}
.th-calc-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:28px;border-bottom:1px solid var(--line)}
.th-calc-label{display:block;color:#8994a8;font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:9px}
.th-calc-select{appearance:none;width:min(430px,100%);min-height:52px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;color:var(--navy);padding:0 44px 0 16px;font-weight:800;outline:none;background-image:linear-gradient(45deg,transparent 50%,#738099 50%),linear-gradient(135deg,#738099 50%,transparent 50%);background-position:calc(100% - 20px) 22px,calc(100% - 15px) 22px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}
.th-calc-plan-pill{border:1px solid rgba(11,35,89,.12);border-radius:999px;padding:9px 12px;font-size:10px;font-weight:800;color:var(--navy);white-space:nowrap}
.th-calc-slider-block{padding:32px 0 25px}
.th-calc-slider-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:25px}
.th-calc-slider-head strong{display:block;color:var(--navy);font-family:Montserrat;font-size:34px;letter-spacing:-.04em}
.th-calc-slider-head>span{font-size:11px;color:var(--muted)}
.th-calc-range{appearance:none;width:100%;height:7px;border-radius:99px;background:linear-gradient(90deg,var(--red) 0%,var(--red) 50%,#e5e9f0 50%,#e5e9f0 100%);outline:none}
.th-calc-range::-webkit-slider-thumb{appearance:none;width:25px;height:25px;border-radius:50%;background:#fff;border:7px solid var(--red);box-shadow:0 4px 14px rgba(226,29,43,.25);cursor:pointer}
.th-calc-range::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#fff;border:7px solid var(--red);box-shadow:0 4px 14px rgba(226,29,43,.25);cursor:pointer}
.th-calc-range-marks{display:flex;justify-content:space-between;margin-top:12px;color:#9aa4b6;font-size:10px;font-weight:700}
.th-calc-results{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.th-calc-result{min-height:116px;border:1px solid #e6eaf0;border-radius:16px;padding:20px;display:flex;flex-direction:column;justify-content:space-between;background:#fbfcfe}
.th-calc-result span{font-size:11px;color:var(--muted)}
.th-calc-result strong{font-family:Montserrat;color:var(--navy);font-size:21px;letter-spacing:-.025em}
.th-calc-result--featured{background:var(--navy);border-color:var(--navy)}
.th-calc-result--featured span,.th-calc-result--featured strong{color:#fff}
.th-calc-helper{margin:15px 0 0;color:#8b96a9;font-size:10px}
.th-plan-grid--compact{margin-top:22px}
.th-plan-grid--compact .th-plan-card{padding:24px;min-height:215px}
.th-plan-grid--compact .th-plan-card__price{font-size:27px;margin:12px 0}

/* Staff */
.th-staff-photo-grid{gap:18px}
.th-staff-photo{height:390px;border-radius:18px;box-shadow:0 15px 40px rgba(7,26,68,.10)}
.th-staff-photo span{font-size:14px}

/* Contact */
.th-contact__grid{max-width:1120px;align-items:start}
.th-contact__info{padding:42px;border-radius:22px;box-shadow:var(--shadow-premium)}
.th-contact__info h2{font-size:35px;margin:10px 0 22px}
.th-contact-location{display:flex;gap:13px;align-items:flex-start;margin:26px 0 10px;padding:18px 0;border-top:1px solid rgba(255,255,255,.15);border-bottom:1px solid rgba(255,255,255,.15)}
.th-contact-location__pin{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:rgba(255,255,255,.12);font-size:19px}
.th-contact-location strong,.th-contact-location span{display:block}
.th-contact-location strong{font-family:Montserrat;font-size:13px}
.th-contact-location span{font-size:11px;color:rgba(255,255,255,.65);margin-top:3px}
.th-contact-map-link{display:inline-flex!important;margin:14px 0!important;color:#fff!important;font-size:11px!important;font-weight:800!important;text-decoration:underline!important}
.th-contact__socials{gap:10px;flex-wrap:wrap}
.th-contact__socials a{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:8px 12px!important;margin:0!important}

/* Footer */
.th-footer{padding-top:72px}
.th-footer__logo{width:155px}

/* Modal */
.th-modal__panel{border-radius:26px;padding:42px}
.th-modal__close{width:38px;height:38px}

/* Better focus states */
:focus-visible{outline:3px solid rgba(237,27,47,.28);outline-offset:3px}

@media(max-width:1050px){
  .th-slide__content{padding-top:82px}
  .th-income-calculator{grid-template-columns:1fr}
  .th-income-calculator__side{border-top:1px solid rgba(255,255,255,.08)}
}

@media(max-width:780px){
  .th-header__inner{height:70px}
  .th-slide__content{padding-top:72px;padding-bottom:190px}
  .th-slide h1{font-size:42px}
  .th-hero{min-height:700px}
  .th-hero__controls{right:18px;bottom:135px}
  .th-page-hero{min-height:440px;padding-top:72px;padding-bottom:72px}
  .th-page-hero h1{font-size:43px}
  .th-catalog-hero{min-height:390px;padding-top:78px}
  .th-story__image{min-height:360px}
  .th-story__content{padding:45px 28px}
  .th-income-calculator__main{padding:26px 22px}
  .th-income-calculator__side{padding:30px 24px}
  .th-calc-topline{align-items:stretch;flex-direction:column}
  .th-calc-select{width:100%}
  .th-calc-slider-head{align-items:flex-start;flex-direction:column}
  .th-calc-results{grid-template-columns:1fr}
  .th-calc-result{min-height:105px}
  .th-plan-grid--compact{grid-template-columns:1fr}
}

@media(max-width:480px){
  .th-slide h1{font-size:36px}
  .th-slide__lead{font-size:15px}
  .th-hero__controls{bottom:145px}
  .th-comuna-tile{height:190px}
  .th-page-hero h1{font-size:38px}
  .th-modal__panel{padding:30px 20px}
}


/* V4 corrections */
.th-hero__controls{left:50%;right:auto!important;bottom:34px;transform:translateX(-50%);justify-content:center}
.th-hero__arrow{cursor:pointer;pointer-events:auto;position:relative;z-index:2}
.th-hero__dots{position:relative;z-index:2}
.th-tasacion__form-wrap,.th-form{position:relative;z-index:2}
.th-form button{position:relative;z-index:3;pointer-events:auto}
.th-agent-grid{gap:14px}
.th-agent-card{border-radius:14px;box-shadow:0 10px 28px rgba(7,26,68,.07)}
.th-agent-card__photo{height:260px}
.th-agent-card__body{padding:15px 16px 16px}
.th-agent-card__role{display:block;color:var(--red);font-size:9px;text-transform:uppercase;font-weight:800;letter-spacing:.11em;margin-bottom:6px}
.th-agent-card h3{font-size:16px;line-height:1.25;margin:0 0 7px}
.th-agent-card__phone{display:block;color:var(--muted);font-size:11px;font-weight:700;margin-bottom:10px}
.th-agent-card__phone:hover{text-decoration:underline;color:var(--navy)}
.th-agent-card__actions{display:flex;gap:7px;flex-wrap:wrap}
.th-agent-card__actions a{font-size:10px;font-weight:800;color:var(--navy);border:1px solid #dfe4ec;border-radius:999px;padding:6px 9px;text-decoration:none}
.th-agent-card__actions a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.th-calculator-section{padding-top:92px;padding-bottom:96px}
.th-calculator{max-width:1160px;margin:0 auto}
.th-calculator__intro{margin-bottom:28px}
.th-income-calculator{display:block;background:#fff;border:1px solid #e2e7ef;border-radius:24px;box-shadow:0 24px 60px rgba(7,26,68,.10);overflow:hidden}
.th-income-calculator__main{padding:32px 34px 30px}
.th-income-calculator__side{display:none}
.th-calc-topline{align-items:center;padding-bottom:24px}
.th-calc-select{width:100%;max-width:520px;min-height:50px;font-size:14px}
.th-calc-plan-pill{background:#f6f8fb}
.th-calc-slider-block{padding:28px 0 20px}
.th-calc-slider-head strong{font-size:31px}
.th-calc-range{height:6px}
.th-calc-results{gap:14px}
.th-calc-result{min-height:108px;padding:18px}
.th-calc-result strong{font-size:20px}
.th-plan-grid--compact{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:16px}
.th-plan-grid--compact .th-plan-card{padding:18px 16px;min-height:190px;border-radius:14px}
.th-plan-grid--compact .th-plan-card__name{font-size:13px;line-height:1.2}
.th-plan-grid--compact .th-plan-card__price{font-size:21px;margin:10px 0}
.th-plan-grid--compact .th-plan-card p{font-size:11px;line-height:1.45;min-height:55px}
.th-plan-grid--compact .th-btn{min-height:40px;padding:0 14px;font-size:10px;width:100%}
.th-plan-result{margin-top:14px}
@media(max-width:1050px){.th-plan-grid--compact{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.th-hero__controls{left:50%;right:auto!important;bottom:120px}.th-agent-card__photo{height:235px}.th-plan-grid--compact{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.th-hero__controls{bottom:135px}.th-plan-grid--compact{grid-template-columns:1fr}.th-agent-card__photo{height:250px}}

/* ================================================================
   TRUE HOME — AJUSTES FINALES
   Esta capa es deliberadamente pequeña: mantiene la tipografía,
   jerarquía y estructura visual de la versión anterior y corrige
   solamente calculadora, equipo, formularios y mapa.
   ================================================================ */

/* ---------------- CALCULADORA ---------------- */
.th-calc-sales-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:24px;
  align-items:center;
  padding:0 0 22px;
  border-bottom:1px solid var(--line);
}
.th-calc-sales-row>div{min-width:0}
.th-calc-sales-row p{margin:3px 0 0;color:var(--muted);font-size:12px}
.th-calc-sales-row input{
  width:100%;height:50px;border:1px solid #dfe4ec;border-radius:12px;
  padding:0 15px;color:var(--navy);background:#fff;outline:none;
  font-weight:800;
}
.th-calc-sales-row input:focus{border-color:var(--navy);box-shadow:0 0 0 4px rgba(11,35,89,.08)}
.th-plan-card.is-selected{border-color:var(--red)!important;box-shadow:0 14px 35px rgba(226,29,43,.12)!important;transform:translateY(-2px)}
.th-plan-result{display:flex;align-items:center;gap:18px;padding:13px 18px;border:1px solid #e2e7ef;background:#fff;border-radius:14px;box-shadow:0 8px 24px rgba(7,26,68,.06)}
.th-plan-result strong{font-family:Montserrat;color:var(--navy)}
.th-plan-result span{color:var(--muted);font-size:13px}
.th-plan-result a{margin-left:auto;color:var(--navy);font-weight:800;text-decoration:underline;font-size:12px}

/* ---------------- NOSOTROS / ESTRUCTURA ---------------- */
.th-team-structure{max-width:none;padding-top:92px;padding-bottom:100px;background:#fff}
.th-team-structure>.th-section__head,
.th-team-level{width:min(1160px,calc(100% - 56px));margin-left:auto;margin-right:auto}
.th-team-structure>.th-section__head{display:block;margin-bottom:42px}
.th-team-structure .th-section__head h2{max-width:760px}
.th-team-structure .th-section__subhead{max-width:700px;margin:12px 0 0;color:var(--muted);font-size:14px}
.th-team-level{position:relative}
.th-team-level__label{display:flex;align-items:baseline;gap:10px;margin:0 0 17px}
.th-team-level__label span{font-family:Montserrat;color:var(--red);font-size:10px;font-weight:800;letter-spacing:.12em}
.th-team-level__label strong{font-family:Montserrat;color:var(--navy);font-size:15px}
.th-team-level__label small{color:#8b96a9;font-size:11px}
.th-broker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:780px;margin:0 auto}
.th-person-card{display:flex;flex-direction:column;background:#fff;border:1px solid #e3e8f0;border-radius:18px;overflow:hidden;box-shadow:0 14px 35px rgba(7,26,68,.08);min-width:0}
.th-person-card--broker{border-top:3px solid var(--red)}
.th-person-card__photo{height:340px;background:#eef1f6;display:grid;place-items:center;overflow:hidden}
.th-person-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.th-person-card__photo--empty{background:linear-gradient(145deg,#f5f7fa,#e7ecf4)}
.th-person-card__placeholder{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:var(--navy);color:#fff;font:800 21px Montserrat}
.th-person-card__body{padding:19px 20px 21px}
.th-person-card__role{display:block;color:var(--red);font:800 9px Montserrat;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px}
.th-person-card__body h3{font:700 20px/1.2 Montserrat;color:var(--navy);margin:0 0 9px}
.th-person-card__phone{display:block;color:var(--muted);font-size:12px;font-weight:700;margin-bottom:13px}
.th-person-card__actions{display:flex;flex-wrap:wrap;gap:8px}
.th-person-card__actions a{font-size:10px;font-weight:800;color:var(--navy);border:1px solid #dce3ec;border-radius:999px;padding:7px 11px;background:#fff}
.th-person-card__actions a:hover{background:var(--navy);color:#fff;border-color:var(--navy)}
.th-team-connector{width:min(760px,100%);height:46px;margin:0 auto;position:relative;display:flex;justify-content:space-around}
.th-team-connector:before{content:"";position:absolute;left:25%;right:25%;top:0;height:1px;background:#dfe4ec}
.th-team-connector span{display:block;width:1px;height:46px;background:#dfe4ec}
.th-staff-manual-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.th-person-card--staff .th-person-card__photo{height:190px}
.th-person-card--blank{min-height:250px}
.th-person-card__plus{width:44px;height:44px;border:1px dashed #aeb8c9;border-radius:50%;display:grid;place-items:center;color:#7d899c;font-size:25px;font-weight:300}
.th-team-level--agents .th-agent-grid{margin-top:2px}
.th-team-level--agents .th-agent-card{min-width:0}
.th-agent-card__photo{height:280px!important;overflow:hidden;background:#eef1f6}
.th-agent-card__photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.th-agent-card__photo.is-missing{display:grid;place-items:center;background:linear-gradient(135deg,var(--navy),#214b91)}
.th-agent-card__photo.is-missing:after{content:'TH';color:#fff;font:800 28px Montserrat}
.th-team-banner{display:grid;grid-template-columns:1fr 1fr;gap:0;min-height:390px;border-radius:22px;overflow:hidden;background:#fff}
.th-team-banner__image{background-size:cover;background-position:center}
.th-team-banner>div:last-child{padding:60px;display:flex;flex-direction:column;justify-content:center}
.th-team-banner h2{font-family:Montserrat;color:var(--navy);font-size:40px;line-height:1.06;margin:0 0 16px}
.th-team-banner p:not(.th-eyebrow){color:var(--muted);max-width:500px}

/* ---------------- FORMULARIO POSTULACIÓN ---------------- */
.th-postulacion .th-section__head{display:block;max-width:1160px;margin-left:auto;margin-right:auto}
.th-postulacion .th-form--wide{max-width:1160px;margin:0 auto;background:#fff;border:1px solid #e1e6ee;border-radius:24px;padding:38px;box-shadow:0 20px 55px rgba(7,26,68,.08)}
.th-postulacion .th-form-row{margin-bottom:22px}
.th-postulacion .th-form-row--split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.th-postulacion .th-form label{display:block;margin-bottom:8px;color:var(--navy);font:700 12px Montserrat}
.th-postulacion .th-form input:not([type=radio]):not([type=checkbox]):not([type=file]),
.th-postulacion .th-form select,
.th-postulacion .th-form textarea{width:100%;border:1px solid #dbe2ec;background:#fff;color:var(--navy);border-radius:12px;padding:13px 15px;outline:none}
.th-postulacion .th-form input:not([type=radio]):not([type=checkbox]):not([type=file]),
.th-postulacion .th-form select{min-height:52px}
.th-postulacion .th-form textarea{min-height:130px;resize:vertical}
.th-postulacion .th-form input:focus,.th-postulacion .th-form select:focus,.th-postulacion .th-form textarea:focus{border-color:var(--navy);box-shadow:0 0 0 4px rgba(11,35,89,.07)}
.th-radio-group{display:flex;gap:10px;flex-wrap:wrap}
.th-radio-group label{display:inline-flex!important;align-items:center;gap:8px;padding:12px 16px;margin:0!important;border:1px solid #dbe2ec;border-radius:12px;background:#fff;cursor:pointer;font:700 12px Manrope!important}
.th-radio-group input[type=radio]{width:18px!important;height:18px!important;margin:0!important;accent-color:var(--red)}
.th-check{display:flex!important;align-items:flex-start;gap:10px;margin:4px 0 22px!important;color:var(--muted)!important;font:600 11px Manrope!important}
.th-check input{width:18px;height:18px;margin:0;accent-color:var(--red);flex:0 0 auto}
.th-check a{text-decoration:underline;color:var(--navy)}
.th-postulacion .th-form input[type=file]{width:100%;padding:10px 12px;border:1px dashed #cbd4e2;border-radius:12px;background:#f9fafc}
.th-postulacion .th-form .th-btn{min-height:52px}

/* ---------------- CONTACTO + MAPA ---------------- */
.th-contact{padding-top:72px!important}
.th-contact__grid{max-width:1160px!important;grid-template-columns:minmax(0,1.08fr) minmax(340px,.72fr)!important;gap:34px!important}
.th-contact__form-wrap .th-form--card{height:100%;padding:40px!important}
.th-contact__info{padding:42px!important;border-radius:26px!important;min-height:100%;box-shadow:0 24px 60px rgba(7,26,68,.16)}
.th-contact__info h2{font-size:38px!important;line-height:1.06;margin:10px 0 24px!important}
.th-contact-map-wrap{max-width:1160px;margin:58px auto 0}
.th-contact-map-head{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:18px}
.th-contact-map-head h2{font-family:Montserrat;color:var(--navy);font-size:clamp(30px,3vw,40px);line-height:1.05;margin:0}
.th-contact-map-head p:last-child{max-width:420px;margin:0;color:var(--muted);font-size:13px;text-align:right}
.th-contact-map{width:100%;height:430px;border:1px solid #dfe4ec;border-radius:24px;overflow:hidden;background:#edf0f4;box-shadow:0 20px 55px rgba(7,26,68,.10)}
.th-contact-map iframe{display:block;width:100%;height:100%;border:0}

@media(max-width:1050px){
  .th-staff-manual-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .th-contact__grid{grid-template-columns:1fr!important}
}
@media(max-width:780px){
  .th-calc-sales-row{grid-template-columns:1fr;gap:10px}
  .th-plan-result{flex-wrap:wrap}
  .th-plan-result a{margin-left:0;width:100%}
  .th-team-structure>.th-section__head,.th-team-level{width:calc(100% - 40px)}
  .th-broker-grid{grid-template-columns:1fr;max-width:430px}
  .th-person-card__photo{height:320px}
  .th-staff-manual-grid{grid-template-columns:1fr 1fr}
  .th-team-connector{display:none}
  .th-team-level{margin-bottom:42px}
  .th-team-banner{grid-template-columns:1fr}
  .th-team-banner__image{min-height:280px}
  .th-team-banner>div:last-child{padding:38px 28px}
  .th-postulacion .th-form--wide{padding:28px 22px}
  .th-postulacion .th-form-row--split{grid-template-columns:1fr}
  .th-contact-map-head{display:block}
  .th-contact-map-head p:last-child{text-align:left;margin-top:10px}
  .th-contact-map{height:340px}
}
@media(max-width:480px){
  .th-staff-manual-grid{grid-template-columns:1fr}
  .th-person-card__photo{height:300px}
  .th-contact__info{padding:30px!important}
  .th-contact-map{height:300px;border-radius:18px}
}
