/* Compact homepage: existing image sources are retained. */
body:is(.home,.theme-inner) .home-section{padding-block:56px}
body:is(.home,.theme-inner) .home-compact-hero{padding-block:28px 40px}
.home-compact-hero .home-media-mask{border-radius:16px}
.home-compact-hero .home-hero-media{align-self:center}
body:is(.home,.theme-inner) .home-compact-hero h1{max-width:23ch;font-size:clamp(36px,3.2vw,46px)}
.home-compact-hero .home-hero-benefits{gap:10px;margin-block:22px}
.home-hero-benefits svg{color:#b58b32;flex-shrink:0}
.home-button-whatsapp{background:#0b2a5b;color:#fff!important;border:1px solid #0b2a5b;gap:10px;box-shadow:0 8px 20px #0b2a5b20}
.home-button-whatsapp:hover{background:#12417e;transform:translateY(-2px)}
.home-whatsapp-icon{color:#35d774;flex-shrink:0}
body:is(.home,.theme-inner) .home-compact-trust{padding-block:14px}
.home-trust-inline{display:flex;justify-content:space-between;gap:32px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-block:4px}
.home-trust-inline>span{display:flex;align-items:center;gap:6px;flex:0 0 auto;white-space:nowrap;font-size:14px;color:#0b2a5b}
.home-trust-star{color:#b58b32}
.home-trust-inline:focus-visible{outline:2px solid #b58b32;outline-offset:3px}
.home-trust-inline svg{width:20px;height:20px;color:#b58b32;flex-shrink:0}
.home-intent-grid,.home-office-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-intent-card{display:flex;flex-direction:column;min-height:340px;padding:28px;border:1px solid #dfe5ed;border-radius:12px;background:#fff;transition:transform .2s,border-color .2s,box-shadow .2s}
.home-intent-card:hover,.home-intent-card:focus-within{transform:translateY(-5px);border-color:#c9a24a;box-shadow:0 12px 24px #0b2a5b0d}
.home-intent-card h3{margin:18px 0 10px;font-size:22px}
.home-intent-card p{color:#5a6779;font-size:15px;line-height:1.6}
.home-intent-card ul{list-style:none;padding:0;margin:6px 0 24px}
.home-intent-card li{margin:10px 0}
.home-intent-card li a{display:flex;gap:10px;color:#0b2a5b;font-size:15px;text-decoration:none}
.home-intent-card a:hover{text-decoration:underline}
.home-intent-card li span,.home-intent-cta span{color:#ad802a}
.home-intent-cta{margin-top:auto;border-top:1px solid #e4e8ef;padding-top:18px;font-weight:600;color:#0b2a5b}
.home-founder-cta{margin-top:20px}.home-compact-office{background:#f5f7fb}
.home-office-three figure{margin:0;min-width:0}
.home-office-three img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.home-office-three figcaption{padding-top:12px;color:#5a6779;font-size:14px}
.home-stats-grid,.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#callback{scroll-margin-top:110px}
@media(max-width:1100px){.home-intent-grid{gap:16px}.home-intent-card{padding:22px}.home-trust-inline{justify-content:space-between}.home-hero .home-actions{align-items:stretch}.home-hero .home-actions .home-button{white-space:normal}}
@media(max-width:700px){body:is(.home,.theme-inner) .home-section{padding-block:40px}.home-intent-grid,.home-office-three{grid-template-columns:1fr}.home-intent-card{min-height:340px}.home-trust-inline{gap:24px;justify-content:flex-start}.home-office-three{gap:24px}.home-updates-heading{flex-wrap:wrap;gap:16px}.home-stats-grid,.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.home-stat strong{font-size:28px}.home-stat span{font-size:12px}.home-founder-cta{white-space:normal}.home-compact-hero .home-actions{flex-direction:column}.home-section-heading,.home-updates-heading{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.home-intent-card,.home-button-whatsapp{transition:none}.home-intent-card:hover,.home-intent-card:focus-within,.home-button-whatsapp:hover{transform:none}}



/* Second-round refinement: spacing and readability within the existing design. */
@media(min-width:901px) and (max-width:1250px){
  .home-header-inner{flex-wrap:nowrap;gap:20px}
  .home-navigation{order:0;flex-basis:auto;margin-left:auto}
  .home-header-cta{margin-left:0}
}

.home-intent-card .home-service-icon{margin-bottom:0}
.home-intent-card h3{margin-top:16px}

/* Keep the complete article title visible and align metadata after the copy. */
.home-post-card>a{display:flex;flex-direction:column}
.home-post-body{display:flex;flex-direction:column;flex:1}
.home-post-body h3{display:block;-webkit-line-clamp:unset;overflow:visible;min-height:0;margin-bottom:20px}
.home-post-meta{margin-top:auto;padding-top:20px}

/* White fields retain the established navy card and gold submit action. */
.home-callback-form input:not([type=checkbox]),
.home-callback-form select,
.home-callback-form textarea{background:#fff;color:#0b2a5b;border-color:#cbd7e5;font-size:16px;min-height:48px}
.home-callback-form select option{background:#fff;color:#0b2a5b}
.home-callback-form .home-form-grid>label:nth-child(n+3){grid-column:1/-1}
.home-callback-form .home-consent{font-size:14px;align-items:center}
.home-callback-form .home-consent input{width:18px;height:18px;flex:0 0 18px;margin:0;accent-color:#c9a24a}
.home-callback-form button[type=submit]{width:100%;white-space:normal}

@media(min-width:701px) and (max-width:800px){
  .home-post-grid{grid-template-columns:1fr;gap:20px}
  .home-post-card>a{display:grid;grid-template-columns:220px minmax(0,1fr)}
  .home-post-image{aspect-ratio:auto;height:100%;min-height:190px}
  .home-post-body{padding:24px;min-height:190px}
}
@media(max-width:700px){
  .home-trust-inline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px;overflow:visible}
  .home-trust-inline>span{justify-content:center;white-space:normal;text-align:center}
  .home-trust-inline>span:first-child,.home-trust-inline>span:last-child{grid-column:1/-1}
  .home-post-image{aspect-ratio:16/9}
  .home-post-body{padding:24px}
}
