/* =====================================================
   VASUMNA.COM — "Grounded Trust" design system
   Fonts: Outfit (display) + DM Sans (body)
   ===================================================== */

:root {
  --bg: #FDFBF7;
  --surface: #FFFFFF;
  --surface-alt: #F3F0EA;
  --dark: #1A202C;
  --text: #1A202C;
  --text-2: #4A5568;
  --text-3: #718096;
  --primary: #128C7E;
  --primary-dark: #075E54;
  --accent: #E07A5F;
  --accent-dark: #C9634A;
  --trust-blue: #2B6CB0;
  --success: #16A34A;
  --warning: #D97706;
  --danger: #DC2626;
  --border: rgba(0, 0, 0, 0.08);
  --focus: rgba(18, 140, 126, 0.5);
  --font-display: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 4px 6px -1px rgba(0,0,0,.05), 0 2px 4px -1px rgba(0,0,0,.03);
  --shadow-md: 0 20px 25px -5px rgba(0,0,0,.1), 0 10px 10px -5px rgba(0,0,0,.04);
  --space-md: 2rem;
  --space-xl: 4rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(18,140,126,.2); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.4rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: 12px 24px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 8px 16px -6px rgba(18,140,126,.45); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); box-shadow: 0 8px 16px -6px rgba(224,122,95,.45); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; box-shadow: 0 8px 16px -6px rgba(37,211,102,.45); }
.btn-danger-outline { background: transparent; border-color: rgba(220,38,38,.4); color: var(--danger); }
.btn-danger-outline:hover { border-color: var(--danger); background: rgba(220,38,38,.06); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.02em; color: var(--text); }
.logo-dot { color: var(--primary); }
.main-nav { display: flex; gap: 26px; margin-left: 8px; }
.main-nav a { font-weight: 500; font-size: .95rem; color: var(--text-2); transition: color .2s ease; }
.main-nav a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.header-phone { font-weight: 600; font-size: .9rem; color: var(--text-2); transition: color .2s ease; }
.header-phone:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* user menu */
.user-menu { position: relative; }
.user-menu-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark); color: #fff; border: none; cursor: pointer;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  transition: background-color .25s ease;
}
.user-menu-btn:hover { background: #000; }
.user-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem;
}
.user-menu-btn .caret { font-size: .7rem; opacity: .7; }
.user-menu-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-md); min-width: 210px; overflow: hidden; z-index: 200;
}
.user-menu-dropdown.open { display: block; animation: dropIn .18s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.user-menu-dropdown a {
  display: block; padding: 13px 20px; font-weight: 500; font-size: .92rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background-color .2s ease, color .2s ease;
}
.user-menu-dropdown a:last-child { border-bottom: none; }
.user-menu-dropdown a:hover { background: var(--surface-alt); color: var(--primary); }
.user-menu-dropdown .logout-link { color: var(--danger); }
.user-menu-dropdown .logout-link:hover { color: var(--danger); background: rgba(220,38,38,.06); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .38;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,32,44,.2) 0%, rgba(26,32,44,.65) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 24px 100px; max-width: 860px; }
.hero-eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #7BDCB5; }
.hero .lead { font-size: 1.12rem; color: rgba(255,255,255,.85); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.search-box {
  background: var(--surface); border-radius: var(--radius); padding: 14px;
  box-shadow: var(--shadow-md);
}
.search-form { display: grid; grid-template-columns: 1fr 1.2fr 1.4fr auto; gap: 10px; }
.search-form select, .search-form input { min-width: 0; }

/* ---------- Forms ---------- */
input, select, textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(18,140,126,.14);
}
textarea { min-height: 110px; resize: vertical; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--text); }
.hint { font-weight: 400; color: var(--text-3); font-size: .82rem; }

.form-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; max-width: 860px; margin: 0 auto; box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-section-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin: 34px 0 18px; padding-bottom: 10px; border-bottom: 2px solid var(--surface-alt);
  color: var(--primary-dark);
}
.form-section-title:first-of-type { margin-top: 0; }

.radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; font-weight: 500; font-size: .9rem;
  background: var(--surface);
  transition: border-color .2s ease, background-color .2s ease;
}
.radio-pill:hover { border-color: var(--primary); }
.radio-pill input { width: auto; accent-color: var(--primary); }
.radio-pill:has(input:checked) { border-color: var(--primary); background: rgba(18,140,126,.08); }

.alert { border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 22px; font-size: .92rem; font-weight: 500; }
.alert-error { background: rgba(220,38,38,.07); border: 1px solid rgba(220,38,38,.25); color: #991B1B; }
.alert-success { background: rgba(22,163,74,.08); border: 1px solid rgba(22,163,74,.25); color: #14532D; }

/* ---------- Sections ---------- */
.section { padding: var(--space-xl) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.section-head p { color: var(--text-2); margin-top: 6px; }
.tag-eyebrow {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 10px;
}

/* localities */
.locality-strip { padding: 44px 24px 8px; }
.locality-strip h3 { font-size: 1.05rem; color: var(--text-2); font-weight: 600; margin-bottom: 16px; }
.locality-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.locality-pills a {
  border: 1.5px solid var(--border); background: var(--surface); border-radius: 999px;
  padding: 8px 18px; font-size: .88rem; font-weight: 500; color: var(--text-2);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}
.locality-pills a:hover { border-color: var(--primary); color: var(--primary); background: rgba(18,140,126,.05); transform: translateY(-2px); }

/* trust strip */
.trust-strip { background: var(--dark); color: #fff; padding: 48px 0; margin-top: var(--space-xl); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: #7BDCB5; line-height: 1.1; }
.trust-item .label { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 4px; }

/* ---------- Property cards ---------- */
.property-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.2rem;
}
.property-card {
  display: block; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.property-thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--surface-alt); }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.property-card:hover .property-thumb img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; padding: 5px 12px; border-radius: 999px;
}
.badge-rent { background: var(--trust-blue); }
.badge-sale { background: var(--accent); }
.badge-right { left: auto; right: 12px; }
.badge-pending { background: var(--warning); }
.badge-rejected { background: var(--danger); }
.badge-live { background: var(--success); }
.property-body { padding: 20px 22px 22px; }
.property-price { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--primary-dark); }
.property-title { font-weight: 600; margin-top: 6px; color: var(--text); line-height: 1.4; }
.property-loc { color: var(--text-3); font-size: .88rem; margin-top: 6px; }
.property-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.property-meta span {
  background: var(--surface-alt); border-radius: 999px; padding: 4px 12px;
  font-size: .78rem; font-weight: 600; color: var(--text-2);
}
.card-actions { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); display: flex; gap: 10px; }
.card-actions .btn { flex: 1; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff; border-radius: 20px;
  max-width: 1152px; margin: 0 auto; padding: 70px 56px;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; max-width: 560px; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 560px; margin-bottom: 28px; }
.cta-banner-img {
  position: absolute; top: 0; right: 0; bottom: 0; width: 42%;
  object-fit: cover; opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
}
.cta-banner-content { position: relative; z-index: 2; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.step-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 44px; height: 44px; border-radius: 12px; background: rgba(18,140,126,.1); color: var(--primary);
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.step-card h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--text-2); font-size: .93rem; }

/* ---------- Filters / listing page ---------- */
.filters-bar {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; margin-bottom: 26px; box-shadow: var(--shadow-sm);
}
.filters-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filters-form select, .filters-form input { width: auto; flex: 1; min-width: 140px; }
.result-count { color: var(--text-3); font-size: .9rem; margin-bottom: 24px; font-weight: 500; }

.empty-state {
  background: var(--surface); border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 60px 32px; text-align: center;
}
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-2); margin-bottom: 22px; }
.empty-icon { font-size: 2.6rem; opacity: .3; margin-bottom: 14px; }

/* ---------- Property detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 3rem; align-items: start; }
.detail-gallery img#mainGalleryImage, .detail-gallery > img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.thumb-row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb-row img {
  width: 92px; height: 68px; object-fit: cover; border-radius: var(--radius-sm);
  cursor: pointer; border: 2px solid transparent; opacity: .75;
  transition: border-color .2s ease, opacity .2s ease;
}
.thumb-row img:hover { opacity: 1; }
.thumb-row img.active { border-color: var(--primary); opacity: 1; }

.detail-title { margin-top: 30px; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 14px; margin: 26px 0; }
.spec-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 14px; text-align: center;
}
.spec-item .val { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.spec-item .lbl { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-3); margin-top: 3px; }

.detail-section-title { margin-top: 30px; margin-bottom: 12px; font-size: 1.15rem; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 10px; }
.amenity-list span {
  background: rgba(18,140,126,.07); border: 1px solid rgba(18,140,126,.2); color: var(--primary-dark);
  border-radius: 999px; padding: 7px 16px; font-size: .86rem; font-weight: 500;
}
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table td { padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .93rem; }
.detail-table td:first-child { color: var(--text-3); width: 40%; }

.contact-card {
  position: sticky; top: 92px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.contact-card .price { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--primary-dark); }
.contact-card .owner-line { color: var(--text-2); font-size: .9rem; margin-top: 6px; }
.contact-card hr { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.contact-stack { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

/* ---------- Dashboard / stats ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin-bottom: 40px; }
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.stat-card .stat-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.stat-card .stat-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.stat-primary { color: var(--primary-dark); }
.stat-success { color: var(--success); }
.stat-warning { color: var(--warning); }
.stat-accent { color: var(--accent); }

.tabs { display: flex; gap: 4px; margin-bottom: 30px; border-bottom: 2px solid var(--border); flex-wrap: wrap; }
.tab {
  padding: 12px 20px; font-weight: 600; font-size: .9rem; color: var(--text-3);
  border-bottom: 3px solid transparent; margin-bottom: -2px;
  transition: color .2s ease, border-color .2s ease;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--primary-dark); border-bottom-color: var(--primary); }

/* ---------- Admin ---------- */
.admin-table {
  width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
}
.admin-table th {
  text-align: left; padding: 14px 16px; font-family: var(--font-display); font-size: .78rem;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3);
  background: var(--surface-alt); border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: .92rem; vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr { transition: background-color .15s ease; }
.admin-table tbody tr:hover { background: rgba(18,140,126,.03); }
.admin-actions a { font-weight: 600; font-size: .88rem; margin-right: 12px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); }

.status-pill {
  display: inline-block; font-size: .76rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
}
.status-Pending { background: rgba(217,119,6,.12); color: var(--warning); }
.status-Approved { background: rgba(22,163,74,.12); color: var(--success); }
.status-Rejected { background: rgba(220,38,38,.1); color: var(--danger); }

/* ---------- Auth pages ---------- */
.auth-wrap { max-width: 460px; margin: 0 auto; }
.auth-head { text-align: center; margin-bottom: 30px; }
.auth-head p { color: var(--text-2); }
.auth-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm);
}
.auth-card .field { margin-bottom: 18px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-2); font-size: .92rem; }
.auth-alt a { color: var(--primary); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); margin-top: var(--space-xl); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 24px 48px; }
.footer-logo { color: #fff; margin-bottom: 14px; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; }
.footer-col a { display: block; margin-bottom: 10px; font-size: .92rem; color: rgba(255,255,255,.65); transition: color .2s ease; }
.footer-col a:hover { color: #7BDCB5; }
.footer-col p { font-size: .92rem; margin-bottom: 8px; }
.footer-brand p { max-width: 300px; font-size: .92rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; font-size: .85rem; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 10px; }
.admin-link { color: rgba(255,255,255,.4); transition: color .2s ease; }
.admin-link:hover { color: #7BDCB5; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeUp .7s ease both; }
.fade-in-d1 { animation: fadeUp .7s .12s ease both; }
.fade-in-d2 { animation: fadeUp .7s .24s ease both; }
.fade-in-d3 { animation: fadeUp .7s .36s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    padding: 10px 0; margin: 0; z-index: 150;
  }
  .main-nav.open a { padding: 13px 24px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { margin-left: 0; }
  .header-phone { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .cta-banner { padding: 48px 32px; }
  .cta-banner-img { display: none; }
}

@media (max-width: 720px) {
  .search-form { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 26px 20px; }
  .hero-inner { padding: 64px 24px 72px; }
  .header-cta .btn-ghost { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
