/* Property Auction Wala — style.css */
:root {
  --ivory: #F8F6F1;
  --beige: #EDE7DC;
  --sage: #A9B5A0;
  --forest: #35483D;
  --charcoal: #30332F;
  --gold: #B8A078;
  --gold-dark: #8f7a54;
  --line: rgba(48, 51, 47, .14);
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--forest); }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: min(1160px, 100% - 40px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }

.eyebrow { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; margin-bottom: 14px; }
.eyebrow.light { color: #d9c9a6; }
.lead { font-size: 1.08rem; color: rgba(48, 51, 47, .85); }
.note { font-size: .88rem; color: rgba(48, 51, 47, .7); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 1px solid transparent; border-radius: 2px;
  font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 10px 16px; font-size: .75rem; }
.btn-gold { background: var(--gold); color: #25281f; }
.btn-gold:hover { background: #c7b189; }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-wa { background: var(--forest); color: #fff; }
.btn-wa:hover { background: #2a3a31; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: background .35s var(--ease), box-shadow .35s var(--ease), backdrop-filter .35s; background: rgba(30, 38, 33, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.site-header.scrolled { background: rgba(248, 246, 241, .92); box-shadow: 0 1px 0 var(--line); border-bottom-color: transparent; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: #fff; letter-spacing: .02em; }
.brand em { font-style: italic; color: #d9c9a6; }
.site-header.scrolled .brand { color: var(--forest); }
.site-header.scrolled .brand em { color: var(--gold-dark); }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 28px; }
.main-nav a { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; font-weight: 500; position: relative; padding: 4px 0; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.main-nav ul a:hover::after { width: 100%; }
.site-header.scrolled .main-nav ul a { color: var(--charcoal); }
.main-nav .btn-wa { background: rgba(255,255,255,.95); color: var(--forest); }
.site-header.scrolled .main-nav .btn-wa { background: var(--forest); color: #fff; }

.menu-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .3s; }
.site-header.scrolled .menu-toggle span, .site-header.menu-open .menu-toggle span { background: var(--forest); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; background: #26332b; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-color: #26332b; background-image: var(--hero-img); background-size: cover; background-position: center 60%; background-repeat: no-repeat; transform: scale(1.04); animation: heroSettle 2.4s var(--ease) forwards; }
.hero-overlay { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(25, 33, 28, .62) 0%, rgba(25, 33, 28, .28) 55%, rgba(25, 33, 28, .08) 100%),
  linear-gradient(180deg, rgba(25, 33, 28, .45) 0%, rgba(25, 33, 28, 0) 28%, rgba(25, 33, 28, 0) 62%, rgba(25, 33, 28, .45) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(248, 246, 241, 0), var(--ivory)); pointer-events: none; }
.hero-content { position: relative; z-index: 1; padding: 130px 0 130px; max-width: 880px; margin-left: max(20px, calc((100% - 1160px) / 2)); margin-right: 20px; width: auto; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.8rem); color: #fff; font-weight: 600; letter-spacing: -.005em; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero-sub { font-size: 1.1rem; max-width: 600px; color: rgba(255, 255, 255, .94); margin-bottom: 34px; text-shadow: 0 1px 18px rgba(0, 0, 0, .3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-wa { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: rgba(255,255,255,.95); font-size: .9rem; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.5); }
.hero-wa:hover { border-bottom-color: var(--gold); color: #fff; }
@keyframes heroSettle { to { transform: scale(1); } }

/* Sections */
.section { padding: clamp(70px, 10vw, 120px) 0; }
.section-alt { background: var(--beige); }
.section-green { background: var(--forest); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); }

/* About */
.about-grid { display: grid; gap: 50px; align-items: center; }
.about-media { position: relative; }
.about-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.about-frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); z-index: 0; }
.feature-list { margin-top: 30px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.feature-list li:last-child { border-bottom: 0; }
.about-copy .btn { margin-top: 30px; }
.feature-list svg { width: 34px; height: 34px; flex: none; color: var(--gold-dark); margin-top: 2px; }
.feature-list h3 { font-size: 1.35rem; margin-bottom: 2px; }
.feature-list p { margin: 0; font-size: .95rem; color: rgba(48,51,47,.8); }

/* Why */
.why-grid { display: grid; gap: 20px; }
.why-item { background: var(--beige); padding: 34px 28px; border-top: 2px solid var(--sage); transition: transform .35s var(--ease), background .35s; }
.why-item:hover { transform: translateY(-4px); background: #e7e0d2; }
.why-item svg { width: 40px; height: 40px; color: var(--forest); margin-bottom: 16px; }
.why-item h3 { font-size: 1.45rem; }
.why-item p { margin: 0; font-size: .95rem; color: rgba(48,51,47,.82); }

/* Steps */
.steps { display: grid; gap: 30px; counter-reset: s; }
.steps li { border-top: 1px solid rgba(255, 255, 255, .28); padding-top: 22px; }
.step-no { font-family: var(--serif); font-size: 3rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 10px; }
.steps h3 { font-size: 1.5rem; }
.steps p { color: rgba(255, 255, 255, .8); margin: 0; }

/* Contact */
.contact-grid { display: grid; gap: 50px; align-items: start; }
.wa-numbers { display: grid; gap: 14px; margin-top: 26px; }
.wa-card { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); background: var(--ivory); color: var(--forest); transition: all .3s var(--ease); }
.wa-card:hover { border-color: var(--forest); background: var(--forest); color: #fff; transform: translateY(-2px); }
.wa-card span { display: flex; flex-direction: column; line-height: 1.3; }
.wa-card small { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.wa-card strong { font-size: 1.15rem; font-weight: 600; }
.contact-form { background: var(--beige); padding: 36px 30px; border-top: 2px solid var(--gold); }
.contact-form h3 { font-size: 1.7rem; }
.form-note { font-size: .85rem; color: rgba(48,51,47,.75); }
.contact-form label { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin: 16px 0 6px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid rgba(48,51,47,.25); background: var(--ivory); font: inherit; color: var(--charcoal); border-radius: 2px; transition: border-color .25s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(169, 181, 160, .45); }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: #9b3d2e; }
fieldset { border: 0; padding: 0; margin: 18px 0 22px; }
legend { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 0; margin-bottom: 8px; }
.contact-form label.radio { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 500; margin: 6px 0; }
.form-error { color: #9b3d2e; font-size: .9rem; margin-bottom: 14px; }
.form-error[hidden] { display: none; }

/* Footer */
.site-footer { background: #26332b; color: rgba(248, 246, 241, .8); padding: 70px 0 0; }
.site-footer h4 { color: #fff; font-size: 1.2rem; letter-spacing: .04em; }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer em { color: var(--gold); }
.footer-grid { display: grid; gap: 36px; padding-bottom: 50px; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a, .link-btn { color: rgba(248, 246, 241, .8); transition: color .25s; }
.footer-grid a:hover, .link-btn:hover { color: var(--gold); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: var(--forest); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(30, 40, 34, .55); transition: transform .3s var(--ease), background .3s; }
.wa-float:hover { transform: scale(1.07); background: #2a3a31; }

/* Dialogs */
dialog { border: 0; padding: 0; width: min(520px, calc(100% - 32px)); max-height: 90vh; overflow: auto; background: var(--ivory); color: var(--charcoal); border-top: 2px solid var(--gold); }
dialog::backdrop { background: rgba(30, 38, 33, .6); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .3s var(--ease); }
#wa-dialog { padding: 36px 28px 30px; }
.dlg-close { position: absolute; top: 8px; right: 10px; z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(248,246,241,.9); font-size: 1.8rem; line-height: 1; color: var(--forest); }
.dlg-sub { font-size: .92rem; color: rgba(48,51,47,.8); }
.d-body { padding: 28px; }
#privacy-dialog .d-body { padding-top: 40px; }

@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Tablet+ */
@media (min-width: 700px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; }
  .about-reverse { grid-template-columns: 1.1fr 1fr; }
  .about-reverse .about-media { order: 2; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 80px; }
}

/* Mobile nav */
@media (max-width: 899px) {
  .menu-toggle { display: flex; }
  .main-nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ivory); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease); max-height: calc(100vh - 72px); overflow: auto; }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; color: var(--charcoal); padding: 15px 0; border-bottom: 1px solid var(--line); }
  .main-nav .btn-wa, .site-header.scrolled .main-nav .btn-wa { background: var(--forest); color: #fff; margin-top: 18px; padding: 14px; }
  .site-header.menu-open { background: var(--ivory); }
  .site-header.menu-open .brand { color: var(--forest); }
  .site-header.menu-open .brand em { color: var(--gold-dark); }
  .about-frame { inset: 12px -10px -12px 12px; }
}
@media (max-width: 480px) {
  .hero-cta .btn { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
