/* Home page only. Shared header, footer and base styles live in site.css. */
section[id]{scroll-margin-top:90px}
input:focus-visible,textarea:focus-visible{outline:2px solid #F3C26B;outline-offset:2px}

/* Contact form */
.topics{display:flex;flex-wrap:nowrap;gap:8px}
.topic{flex:1 1 auto;display:flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:1px solid #34465F;color:#E6EBF2;font-weight:600;font-size:14px;padding:12px 14px;border-radius:10px;cursor:pointer}
.topic input{margin:0;accent-color:#0E1A2B}
.topic:has(input:checked){background:#F3C26B;border-color:#F3C26B;color:#0E1A2B}
.field{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#C9D2DE}
.field input,.field textarea{font:inherit;font-size:16px;padding:14px;border-radius:10px;border:1px solid #34465F;background:#0E1A2B;color:#FFFFFF}
.field textarea{resize:vertical}
.field .input-validation-error{border-color:#E8927C}
.form-submit{font:inherit;font-size:16px;font-weight:700;background:#F3C26B;color:#0E1A2B;border:0;padding:16px;border-radius:10px;cursor:pointer}
.form-submit:hover{background:#F5CC82}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.form-status{margin:0;font-size:15px;color:#F3C26B}
.form-status:empty{display:none}

/* Property cards */
.prop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:20px}

/* Guides preview */
.home-guides{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}
.home-guide{text-decoration:none;color:#1A2230;background:#FAF7F2;border:1px solid #E8E1D4;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}
.home-guide:hover{color:#1A2230;transform:translateY(-3px);box-shadow:0 14px 32px rgba(14,26,43,0.09)}
.home-guide .card-art{height:180px}
.home-guide-body{padding:24px;display:flex;flex-direction:column;gap:8px}
.home-guide-title{font-size:19px;font-weight:600;line-height:1.35}

@media (max-width:960px){
  .prop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .hero{padding:56px 0 64px !important}
  .h1{font-size:36px !important}
  .h2{font-size:30px !important}
  section[data-pad]{padding-top:72px !important;padding-bottom:72px !important}
  .pad-card{padding:28px 22px !important}
  .trust-row{grid-template-columns:1fr !important;gap:12px !important}
  .photo-main{height:240px !important}
}
@media (max-width:600px){
  .topics{flex-wrap:wrap}
  .topic{flex:0 1 auto}
  .prop-grid{grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  .home-guide{transition:none}
  .home-guide:hover{transform:none}
}

/* reCAPTCHA: the floating badge is hidden and replaced by the notice under the form, as Google allows. */
.grecaptcha-badge{visibility:hidden}
.recaptcha-note{margin:0;font-size:12px;line-height:1.5;color:#8D9AAD}
.recaptcha-note a{color:#B8C2D1}
.form-submit:disabled{opacity:.7;cursor:wait}

/* Phones and small tablets */
.nowrap{white-space:nowrap}
@media (max-width:1024px){
  /* Bigger touch areas for text links without changing how they look */
  #property a[href="#contact"],#turnkey li a,#insights a[href$="blog"],#contact .wrap > div:first-child a{display:inline-block;padding:10px 0;margin:-10px 0}
}
@media (max-width:600px){
  .prop-grid{grid-auto-rows:auto}
  .prop-grid > div{padding:24px !important}
  .entry-card{padding:20px !important;gap:16px !important}
  .entry-card > span:first-child{width:48px !important;height:48px !important}
  .entry-card > span:nth-child(2) > span:first-child{font-size:19px !important}
  #call a[href^="tel:"]{font-size:16px !important}
}

/* Contact form result popup */
.form-dialog{max-width:420px;width:calc(100% - 32px);border:0;border-top:3px solid #F3C26B;border-radius:6px 6px 20px 20px;padding:36px 30px 28px;background:#FFFFFF;color:#1A2230;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,0.35)}
.form-dialog::backdrop{background:rgba(14,26,43,0.6)}
.form-dialog-icon{width:56px;height:56px;margin:0 auto 18px;border-radius:50%;background:#E6F4EC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E7D4F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/28px no-repeat}
.form-dialog.is-error{border-top-color:#C2410C}
.form-dialog.is-error .form-dialog-icon{background:#FDECE4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center/28px no-repeat}
.form-dialog h2{margin:0 0 10px;font-size:22px;line-height:1.3}
.form-dialog-text{margin:0 0 24px;font-size:16px;line-height:1.6;color:#5A6474}
.form-dialog-btn{font:inherit;font-size:16px;font-weight:700;background:#F3C26B;color:#0E1A2B;border:0;padding:14px 32px;border-radius:10px;cursor:pointer}
.form-dialog-btn:hover{background:#F5CC82}
.form-dialog-btn:focus-visible{outline:2px solid #0E1A2B;outline-offset:2px}
