/* PRESTAMIORA — GLOBAL QA V10
   Compact heroes, restrained typography, contrast hardening.
   This file is loaded last on every page. */

/* ---------- COMPACT HERO SYSTEM ---------- */
.hero{padding-top:88px}
.hero-grid{min-height:570px}
.hero-content{padding:56px 48px 46px 0}
.hero h1{font-size:clamp(48px,5.15vw,76px);line-height:.91;letter-spacing:-.065em;max-width:650px}
.hero-description{font-size:15px;line-height:1.66;margin:24px 0 22px;max-width:590px}
.hero-foot{margin-top:30px}
.hero-art{min-height:570px}
.hero-photo{inset:54px 0 0 54px;border-radius:120px 0 0 0}
.hero-lime-blob{width:430px;height:430px;right:-105px;top:-115px}
.hero-bottom-line{height:58px}

.about-hero{padding-top:88px}
.about-hero-grid{min-height:550px}
.about-hero-copy{padding:62px 52px 52px 0}
.about-hero-copy h1{font-size:clamp(48px,5.25vw,76px);line-height:.91;letter-spacing:-.065em;max-width:670px}
.about-hero-copy>p{font-size:15px;line-height:1.66;margin:25px 0 24px;max-width:590px}
.about-hero-visual{min-height:550px}
.about-photo{top:54px;left:54px}
.about-hero-bottom{height:58px}

.contact-hero{padding-top:88px}
.contact-hero-grid{min-height:520px}
.contact-hero-copy{padding:58px 48px 48px 0}
.contact-hero h1{font-size:clamp(48px,5.35vw,74px);line-height:.91;letter-spacing:-.065em;margin:24px 0 22px}
.contact-hero-copy>p{font-size:14px;line-height:1.67;margin-bottom:24px;max-width:570px}
.contact-hero-art{min-height:520px}
.contact-photo{inset:52px 0 0 54px;border-radius:110px 0 0 0}
.contact-hero-bottom{height:56px}

.dir-hero{padding-top:88px}
.dir-hero-grid{min-height:540px}
.dir-hero-copy{padding:58px 52px 48px 0}
.dir-hero-copy h1{font-size:clamp(46px,5vw,72px);line-height:.92;letter-spacing:-.064em;max-width:660px}
.dir-hero-copy>p{font-size:14px;line-height:1.67;margin:24px 0 22px;max-width:590px}
.dir-search{height:56px}
.dir-hero-art{min-height:540px}
.dir-photo{left:54px;top:56px;border-radius:110px 0 0 0}
.dir-card-stack{bottom:30px}
.dir-hero-footer{height:56px}

.legal-page{padding-top:88px}
.legal-hero-inner{min-height:355px;padding:56px 0 48px;gap:55px;align-items:center}
.legal-kicker{margin-bottom:20px}
.legal-hero h1{font-size:clamp(44px,5vw,70px);line-height:.92;letter-spacing:-.064em;max-width:700px}
.legal-hero-copy p{font-size:13px;line-height:1.68;margin-bottom:20px}
.legal-meta div{padding:13px 14px}
.legal-hero:before{width:400px;height:400px;right:-190px;top:-205px}

.article-hero{padding:118px 0 46px}
.article-hero-grid{grid-template-columns:.96fr 1.04fr;gap:44px}
.article-hero-copy h1{font-size:clamp(46px,4.7vw,68px);line-height:.93;letter-spacing:-.062em;max-width:650px}
.article-lead{font-size:14px;line-height:1.66;margin:18px 0 18px;max-width:650px}
.breadcrumbs{margin-bottom:28px}
.article-cover{min-height:430px;border-radius:30px}
.article-cover>img{min-height:430px}
.article-cover-statcard{padding:16px 18px;max-width:225px}
.article-cover-statcard strong{font-size:35px}
.article-cover figcaption{padding:13px 15px}
.article-hero-actions{margin-top:17px}
.article-primary-btn,.article-ghost-btn{min-height:52px}
.article-hero-note>div{padding:11px 13px}
.article-meta{margin-top:12px}
.article-author-inline{margin-top:16px}

/* ---------- CONTRAST HARDENING ---------- */
/* Main dark sections */
.how h1,.how h2,.how h3,.how h4,.how strong,.how b,
.final-cta h1,.final-cta h2,.final-cta h3,.final-cta h4,.final-cta strong,.final-cta b,
.role-dark h1,.role-dark h2,.role-dark h3,.role-dark h4,.role-dark strong,.role-dark b,
.contact-route h1,.contact-route h2,.contact-route h3,.contact-route h4,.contact-route strong,.contact-route b,
.directory-method h1,.directory-method h2,.directory-method h3,.directory-method h4,.directory-method strong,.directory-method b,
.article-related h1,.article-related h2,.article-related h3,.article-related h4,.article-related strong,.article-related b,
.intent-router h1,.intent-router h2,.intent-router h3,.intent-router h4,.intent-router strong,.intent-router b,
.conversion-check h1,.conversion-check h2,.conversion-check h3,.conversion-check h4,.conversion-check strong,.conversion-check b,
.conversion-sticky-inner strong,.conversion-sticky-inner b{color:#fff!important}

.how p,.how li,.how small,
.final-cta p,.final-cta li,.final-cta small,
.role-dark p,.role-dark li,.role-dark small,
.contact-route p,.contact-route li,.contact-route small,
.directory-method p,.directory-method li,.directory-method small,
.article-related p,.article-related li,.article-related small{color:#b8cbc3!important}

/* Dark cards that previously inherited global dark heading colors */
.card-b h1,.card-b h2,.card-b h3,.card-b h4,.card-b b,.card-b strong{color:#fff!important}
.clarity-card-c h1,.clarity-card-c h2,.clarity-card-c h3,.clarity-card-c h4,.clarity-card-c b,.clarity-card-c strong{color:#fff!important}
.do-card.no h1,.do-card.no h2,.do-card.no h3,.do-card.no h4,.do-card.no b,.do-card.no strong{color:#fff!important}
.mosaic-main h1,.mosaic-main h2,.mosaic-main h3,.mosaic-main h4,.mosaic-main b,.mosaic-main strong{color:#fff!important}
.mosaic-dark h1,.mosaic-dark h2,.mosaic-dark h3,.mosaic-dark h4,.mosaic-dark b,.mosaic-dark strong{color:#fff!important}
.directory-card.card-accent h1,.directory-card.card-accent h2,.directory-card.card-accent h3,.directory-card.card-accent h4,.directory-card.card-accent b,.directory-card.card-accent strong{color:#fff!important}
.compare-grid>div:nth-child(3) h1,.compare-grid>div:nth-child(3) h2,.compare-grid>div:nth-child(3) h3,.compare-grid>div:nth-child(3) h4,.compare-grid>div:nth-child(3) b,.compare-grid>div:nth-child(3) strong{color:#fff!important}
.conversion-banner-dark h1,.conversion-banner-dark h2,.conversion-banner-dark h3,.conversion-banner-dark h4,.conversion-banner-dark b,.conversion-banner-dark strong{color:#fff!important}
.toc-cta h1,.toc-cta h2,.toc-cta h3,.toc-cta h4,.toc-cta b,.toc-cta strong{color:#fff!important}

/* Photo overlays */
.clarity-card-photo h1,.clarity-card-photo h2,.clarity-card-photo h3,.clarity-card-photo h4,.clarity-card-photo b,.clarity-card-photo strong,
.contact-visual-copy h1,.contact-visual-copy h2,.contact-visual-copy h3,.contact-visual-copy h4,.contact-visual-copy b,.contact-visual-copy strong,
.photo-feature-overlay h1,.photo-feature-overlay h2,.photo-feature-overlay h3,.photo-feature-overlay h4,.photo-feature-overlay b,.photo-feature-overlay strong{color:#fff!important}
.clarity-card-photo p,.contact-visual-copy p,.photo-feature-overlay p{color:#d3e0db!important}

/* Legal and footer dark surfaces */
.legal-hero h1,.legal-hero h2,.legal-hero h3,.legal-hero h4,.legal-hero strong,.legal-hero b{color:#fff!important}
.legal-callout,.legal-callout p{color:#c9d8d2!important}
.legal-callout a,.legal-callout strong{color:var(--lime)!important}
.footer h1,.footer h2,.footer h3,.footer h4,.footer b,.footer strong{color:#fff!important}
.footer p,.footer a,.footer span{color:#b6c8c1}
.footer a:hover{color:var(--lime)}
.footer-watermark,.footer-watermark span{color:rgba(255,255,255,.055)!important}

/* Text sitting over photos in hero art */
.hero-photo-counter,.hero-photo-counter b,.hero-photo-counter span{color:#fff!important}
.dir-orbit{color:#fff!important}
.about-float b,.about-float span,.contact-badge b,.contact-badge span{color:var(--ink)!important}

/* ---------- RESPONSIVE HERO COMPACTION ---------- */
@media(max-width:900px){
 .hero-grid,.about-hero-grid,.contact-hero-grid,.dir-hero-grid{grid-template-columns:1fr;min-height:auto}
 .hero-content,.about-hero-copy,.contact-hero-copy,.dir-hero-copy{padding:46px 0 34px}
 .hero h1,.about-hero-copy h1,.contact-hero h1,.dir-hero-copy h1{font-size:clamp(44px,8.2vw,62px);max-width:760px}
 .hero-art,.about-hero-visual,.contact-hero-art,.dir-hero-art{min-height:410px;border-radius:24px;border-left:0}
 .hero-photo,.about-photo,.contact-photo,.dir-photo{top:38px;left:42px}
 .hero-bottom-line,.about-hero-bottom,.contact-hero-bottom,.dir-hero-footer{height:52px}
 .legal-hero-inner{min-height:auto;padding:46px 0 40px;gap:28px}
 .legal-hero h1{font-size:clamp(43px,8vw,60px)}
 .article-hero{padding:104px 0 38px}
 .article-hero-grid{grid-template-columns:1fr;gap:24px}
 .article-cover{min-height:340px}
 .article-cover>img{min-height:340px}
}

@media(max-width:620px){
 .hero,.about-hero,.contact-hero,.dir-hero{padding-top:70px}
 .hero-content,.about-hero-copy,.contact-hero-copy,.dir-hero-copy{padding:32px 0 26px}
 .hero h1,.about-hero-copy h1,.contact-hero h1,.dir-hero-copy h1{font-size:40px;line-height:.94;letter-spacing:-.055em}
 .hero-description,.about-hero-copy>p,.contact-hero-copy>p,.dir-hero-copy>p{font-size:13px;line-height:1.62;margin:18px 0 18px}
 .hero-art,.about-hero-visual,.contact-hero-art,.dir-hero-art{min-height:315px;border-radius:20px}
 .hero-photo,.about-photo,.contact-photo,.dir-photo{top:28px;left:24px;border-radius:70px 0 0 0}
 .hero-lime-blob{width:260px;height:260px;right:-105px;top:-80px}
 .hero-bottom-line,.about-hero-bottom,.contact-hero-bottom,.dir-hero-footer{height:48px}
 .legal-page{padding-top:70px}
 .legal-hero-inner{padding:34px 0 30px;gap:22px}
 .legal-hero h1{font-size:40px;line-height:.95}
 .legal-hero-copy p{font-size:11.5px;line-height:1.6;margin-bottom:15px}
 .legal-meta div{padding:11px 12px}
 .article-hero{padding:88px 0 28px}
 .breadcrumbs{margin-bottom:18px}
 .article-hero-copy h1{font-size:38px!important;line-height:.96;letter-spacing:-.055em}
 .article-primary-btn,.article-ghost-btn{min-height:50px}
 .mobile-hero-cover{height:170px!important;margin:12px 0 10px!important}
 .article-hero-note{gap:7px!important}
 .article-hero-note>div{padding:9px 11px!important}
 .article-lead{font-size:12.5px!important;line-height:1.58!important;margin:13px 0!important}
 .article-meta{gap:5px}
 .article-meta span{padding:7px 9px}
}
.mobile-hero-cover b{color:#fff!important}.mobile-hero-cover small{color:#d9e5df!important}

/* =========================================================
   V11 — ARTICLE HERO: REMOVE DEAD SPACE + TOP ALIGN VISUAL
   ========================================================= */
.article-hero{
  padding:94px 0 30px;
}
.article-hero .breadcrumbs{
  margin-bottom:14px;
}
.article-hero-grid{
  grid-template-columns:.96fr 1.04fr;
  gap:36px;
  align-items:start;
}
.article-hero-copy .eyebrow{
  margin-bottom:14px;
}
.article-hero-copy h1{
  font-size:clamp(44px,4.35vw,62px);
  line-height:.94;
  max-width:620px;
}
.article-hero-actions{
  margin-top:15px;
}
.article-hero-note{
  margin-top:10px;
}
.article-lead{
  margin:15px 0 14px;
}
.article-meta{
  margin-top:8px;
}
.article-author-inline{
  margin-top:12px;
}
.article-cover{
  margin:0;
  height:410px;
  min-height:0;
  border-radius:28px;
}
.article-cover>img{
  height:100%;
  min-height:0;
  object-fit:cover;
  object-position:center 48%;
}
.article-cover-badge{
  top:16px;
  left:16px;
}
.article-cover-statcard{
  top:16px;
  right:16px;
}
.article-cover figcaption{
  left:16px;
  right:16px;
  bottom:16px;
}

@media(max-width:900px){
  .article-hero{
    padding:88px 0 26px;
  }
  .article-hero .breadcrumbs{
    margin-bottom:12px;
  }
  .article-hero-grid{
    gap:18px;
  }
  .article-hero-copy .eyebrow{
    margin-bottom:12px;
  }
  .article-cover{
    height:310px;
    min-height:0;
  }
  .article-cover>img{
    min-height:0;
  }
}

@media(max-width:620px){
  .article-hero{
    padding:78px 0 22px;
  }
  .article-hero .breadcrumbs{
    margin-bottom:10px;
  }
  .article-hero-copy .eyebrow{
    margin-bottom:11px;
  }
  .article-hero-copy h1{
    font-size:36px!important;
    line-height:.96;
  }
  .article-hero-actions{
    margin-top:14px;
  }
  .mobile-hero-cover{
    height:158px!important;
    margin:8px 0 9px!important;
  }
  .article-hero-note{
    margin-top:8px!important;
  }
  .article-lead{
    margin:11px 0!important;
  }
}

/* PrestamiOra multilingual footer */
.footer-language-switch{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:24px 0 18px;border-top:1px solid rgba(255,255,255,.12);margin-top:22px}.footer-language-switch>span{font:800 8px/1 Manrope,sans-serif;letter-spacing:.16em;color:#81958d;margin-right:6px}.footer-language-switch a{display:inline-flex;align-items:center;min-height:34px;padding:0 13px;border:1px solid rgba(255,255,255,.18);border-radius:999px;color:#d8e2de!important;font:700 9px/1 Manrope,sans-serif}.footer-language-switch a.active,.footer-language-switch a:hover{background:var(--lime);border-color:var(--lime);color:var(--ink)!important}@media(max-width:620px){.footer-language-switch{padding-top:20px}.footer-language-switch>span{width:100%;margin-bottom:2px}}

/* V15 ES CONTACTO — compact conversion layout */
.contact-page .contact-hero-grid{min-height:490px}
.contact-page .contact-hero-art{min-height:490px}
.contact-page .contact-hero-copy{padding-top:46px;padding-bottom:42px}
.contact-page .contact-hero h1{font-size:clamp(46px,5vw,70px);margin:20px 0 18px}
.contact-page .contact-photo{inset:42px 0 0 48px}
@media(max-width:900px){.contact-page .contact-hero-grid{min-height:auto}.contact-page .contact-hero-art{min-height:390px}.contact-page .contact-hero-copy{padding:38px 0 30px}}
@media(max-width:620px){.contact-page .contact-hero-copy{padding:26px 0 22px}.contact-page .contact-hero h1{font-size:38px;line-height:.95;margin:17px 0 15px}.contact-page .contact-hero-art{min-height:285px}.contact-page .contact-photo{inset:24px 0 0 22px;border-radius:68px 0 0}.contact-page .contact-hero-note{padding-top:16px}}
