/*
 Theme Name:  SCUDO ESTATE Mockup — Child
 Theme URI:   https://scudoestate.com
 Description: v2.0.4 (FixedHeader) — Clean code: single gold divider under Services/Policy/Contact; keeps hero underline, mobile fixes, images, and Note placement.
 Author:      SCUDO ESTATE
 Author URI:  https://scudoestate.com
 Template:    scudo-estate-mockup-theme
 Version:     2.0.4
 Text Domain: scudo-estate-mockup-child
 License:     GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 Tags:        custom-colors, one-column, responsive-layout
*/

:root { --gold:#D4AF37; --deep:#003A34; }

/* ---------- HERO: animated underline + mobile centering ---------- */
.hero-title{ position:relative; }
.hero-title::after{
  content:""; display:block; height:4px; border-radius:3px;
  background: linear-gradient(90deg, rgba(212,175,55,0.15) 0%, var(--gold) 25%, var(--gold) 75%, rgba(212,175,55,0.15) 100%);
  margin:12px auto 0; width:0; animation: scudoDraw 900ms ease-out 300ms forwards;
}
@keyframes scudoDraw { from{width:0;opacity:.7} to{width:72%;opacity:1} }
@media (min-width:541px){ .hero-title::after{ max-width:560px } }

@media (max-width:540px){
  .hero{ overflow:visible; padding-top:56px; padding-bottom:36px }
  .hero .container{ padding:0 20px; display:flex; flex-direction:column; align-items:center }
  .hero-title{ text-align:center; font-size:clamp(30px,9vw,44px); line-height:1.15; letter-spacing:.04em; margin:0 auto 12px; padding:0 2px; overflow:visible }
}

/* ---------- Single gold divider component (About/Why only) ---------- */
.scudo-divider{ height:4px; width:120px; margin:12px auto 24px; border-radius:3px;
  background: linear-gradient(90deg, rgba(212,175,55,0.15) 0%, var(--gold) 40%, var(--gold) 60%, rgba(212,175,55,0.15) 100%);
  box-shadow: 0 6px 16px rgba(212,175,55,.25);
}
#about .divider, #why .divider { display:none !important; }

/* ---------- Layout retained ---------- */
#why .container{ padding-left:18px; padding-right:18px }
.usp-list{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.usp{ background:#fff; border-radius:16px; padding:16px; box-shadow:0 6px 16px rgba(0,0,0,.06) }
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px }
.card{ background:#fff; border-radius:16px; padding:18px; box-shadow:0 6px 16px rgba(0,0,0,.06) }
.service-img{ width:100%; height:220px; object-fit:cover; border-radius:12px; display:block }
.fee-banner{ margin-top:10px; font-size:.95rem; background:#F7F7F2; border-left:4px solid var(--gold); padding:10px 12px; border-radius:8px }

@media (max-width:900px){
  .cards{ grid-template-columns:repeat(2,1fr) }
  .usp-list{ grid-template-columns:repeat(2,1fr) }
}
@media (max-width:540px){
  .cards{ grid-template-columns:1fr; gap:16px }
  .usp-list{ grid-template-columns:1fr; gap:14px }
  .service-img{ height:180px }
}

/* Policy spacing */
#policy h3{ margin-top:24px }
#policy h3:first-of-type{ margin-top:0 }

/* Note box */
.note-box{ background:var(--deep); color:#fff; border:4px solid var(--gold); border-radius:20px; padding:30px 28px;
  box-shadow:0 14px 30px rgba(0,0,0,.12); max-width:980px; margin:18px auto 0; font-size:clamp(1rem,1vw + .7rem,1.1rem); line-height:1.6 }
.note-box .note-label{ color:var(--gold) }
