/* === PSM Ashland - Real Estate & Property === */
:root {
  --navy: #1e3a5f;
  --navy-dark: #142942;
  --navy-light: #2c5282;
  --gold: #c9955a;
  --gold-light: #dbb282;
  --gold-dark: #b07a3e;
  --cream: #fafaf9;
  --beige: #f5efe6;
  --beige-dark: #e8decb;
  --white: #ffffff;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --shadow: 0 4px 20px rgba(30,58,95,0.06);
  --shadow-lg: 0 12px 40px rgba(30,58,95,0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--gray-500);
  line-height: 1.7;
}

/* === Header - Glass === */
header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  background: rgba(250,250,249,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--beige);
}
.hd-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px; height: 70px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { text-decoration: none; font-weight: 800; font-size: 1.3rem; color: var(--navy); letter-spacing: -0.3px; }
.logo span { color: var(--gold); }

.hd-nav { display: flex; gap: 24px; }
.hd-nav a { text-decoration: none; font-size: 0.88rem; font-weight: 500; color: var(--gray-500); transition: color 0.2s; }
.hd-nav a:hover { color: var(--gold); }

.btn {
  display: inline-flex; align-items: center;
  padding: 11px 26px; border-radius: 6px;
  font-weight: 600; font-size: 0.88rem; text-decoration: none;
  transition: all 0.2s; border: none; cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-light); }
.btn-ghost { background: transparent; color: var(--gray-600); border: 1.5px solid var(--beige-dark); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 9px 20px; font-size: 0.82rem; }

/* === Hero - Classic === */
.hero {
  padding: 140px 32px 80px; text-align: center;
  background: var(--cream);
  position: relative;
}
.hero::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy), var(--gold));
}
.hero .inner { max-width: 780px; margin: 0 auto; }
.hero .h-deco {
  font-size: 2.5rem; color: var(--gold); line-height: 0.5; margin-bottom: 4px;
  letter-spacing: 12px;
}
.hero h1 {
  font-size: 3rem; font-weight: 700; color: var(--navy);
  line-height: 1.15; margin-bottom: 16px;
}
.hero h1 .hl { color: var(--gold); }
.hero .h-line {
  width: 60px; height: 3px; background: var(--gold);
  margin: 0 auto 18px; border-radius: 2px;
}
.hero p { font-size: 1rem; color: var(--gray-400); max-width: 540px; margin: 0 auto 28px; }

/* === Features === */
.feat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 20px; }
.feat-card {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: 10px; padding: 32px 24px; text-align: center;
  transition: box-shadow 0.2s;
}
.feat-card:hover { box-shadow: var(--shadow-lg); }
.feat-card .f-icon { font-size: 2rem; margin-bottom: 12px; }
.feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feat-card p { font-size: 0.88rem; color: var(--gray-400); line-height: 1.7; }

/* === Sections === */
section { padding: 80px 32px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-beige { background: var(--beige); }
.section-center { text-align: center; }

h2 {
  font-size: 2rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 6px;
}
h2 .hl { color: var(--gold); }
h2 + .h-line {
  width: 50px; height: 3px; background: var(--gold);
  border-radius: 2px; margin: 6px auto 14px;
}
h2:not(.section-center) + .h-line { margin: 6px 0 14px; }
.section-desc { color: var(--gray-400); font-size: 0.95rem; max-width: 520px; margin: 0 auto 36px; line-height: 1.7; }

/* === Property Gallery === */
.prop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prop-card {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: 10px; overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.prop-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prop-card .p-img {
  height: 180px; background: var(--beige-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gold); position: relative;
}
.prop-card .p-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: var(--white);
  padding: 3px 10px; border-radius: 4px;
  font-size: 0.7rem; font-weight: 600;
}
.prop-card .p-body { padding: 18px 20px 20px; }
.prop-card .p-title { font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.prop-card .p-loc { font-size: 0.8rem; color: var(--gray-400); margin-bottom: 8px; }
.prop-card .p-price { font-size: 1.1rem; font-weight: 800; color: var(--gold); }

/* === Agent Cards === */
.agent-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 700px; margin: 0 auto; }
.agent-card {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: 10px; padding: 28px;
  display: flex; align-items: center; gap: 20px;
  transition: box-shadow 0.2s;
}
.agent-card:hover { box-shadow: var(--shadow); }
.agent-card .a-av {
  width: 64px; height: 64px;
  background: var(--beige-dark); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; flex-shrink: 0;
}
.agent-card .a-info h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy); }
.agent-card .a-info .a-title { font-size: 0.8rem; color: var(--gold); font-weight: 600; margin-bottom: 4px; }
.agent-card .a-info .a-email { font-size: 0.8rem; color: var(--gray-400); }

/* === About === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.about-text p { color: var(--gray-500); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.8; }
.about-text .h-line { margin: 6px 0 14px; }
.about-info { background: var(--navy); color: var(--white); border-radius: 10px; padding: 28px; }
.about-info h4 { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.ai-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 0.85rem; }
.ai-row:last-child { border: none; }
.ai-row .k { color: rgba(255,255,255,0.4); }
.ai-row .v { color: var(--white); font-weight: 600; }

/* === Testimonials === */
.testi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.testi-card {
  background: var(--white); border: 1px solid var(--beige);
  border-radius: 10px; padding: 28px;
}
.testi-card .t-icon { font-size: 1.4rem; color: var(--gold); margin-bottom: 8px; }
.testi-card .t-text { font-size: 0.88rem; color: var(--gray-500); line-height: 1.7; margin-bottom: 14px; font-style: italic; }
.testi-card .t-auth { font-weight: 700; color: var(--navy); font-size: 0.85rem; }
.testi-card .t-role { font-size: 0.78rem; color: var(--gray-400); }

/* === Values === */
.val-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.val-item { text-align: center; }
.val-item .v-icon { font-size: 1.6rem; margin-bottom: 8px; }
.val-item h4 { font-size: 0.88rem; color: var(--navy); margin-bottom: 4px; }
.val-item p { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; }

/* === CTA === */
.cta-gold {
  background: var(--navy); color: var(--white); text-align: center;
}
.cta-gold h2 { color: var(--white); }
.cta-gold h2 .hl { color: var(--gold); }
.cta-gold p { color: rgba(255,255,255,0.5); margin-bottom: 24px; max-width: 460px; margin-left: auto; margin-right: auto; }
.cta-gold .btn-primary { background: var(--gold); color: var(--navy); }
.cta-gold .btn-primary:hover { background: var(--gold-light); }

/* === Footer === */
footer { padding: 50px 32px 24px; background: var(--navy-dark); color: var(--white); }
.ft-inner { max-width: 1140px; margin: 0 auto; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.ft-col h4 { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; }
.ft-col p { color: rgba(255,255,255,0.35); font-size: 0.82rem; line-height: 1.7; }
.ft-col ul { list-style: none; }
.ft-col ul li { margin-bottom: 7px; }
.ft-col ul li a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 0.82rem; }
.ft-col ul li a:hover { color: var(--gold); }
.ft-bot { padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.04); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.ft-bot a { color: rgba(255,255,255,0.3); text-decoration: none; }
.ft-bot a:hover { color: var(--gold); }

/* === Sub-pages === */
.pagehd {
  padding: 120px 32px 40px; text-align: center;
  background: var(--navy); color: var(--white);
}
.pagehd h1 { color: var(--white); font-size: 2.2rem; }
.pagehd p { color: rgba(255,255,255,0.5); max-width: 480px; margin: 8px auto 0; }

.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.cf input, .cf textarea {
  width: 100%; padding: 14px 18px; background: var(--white);
  border: 1.5px solid var(--beige-dark); border-radius: 8px;
  color: var(--gray-600); font-size: 0.92rem; margin-bottom: 14px; font-family: inherit;
  transition: border-color 0.2s;
}
.cf input:focus, .cf textarea:focus { outline: none; border-color: var(--gold); }
.cf textarea { min-height: 120px; resize: vertical; }
.ci-card { background: var(--navy); color: var(--white); border-radius: 10px; padding: 28px; }
.ci-card h4 { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.ci-item { display: flex; gap: 12px; margin-bottom: 14px; }
.ci-item .ci-ico { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-item .ci-l { color: rgba(255,255,255,0.4); font-size: 0.78rem; }
.ci-item .ci-v { color: var(--white); font-size: 0.85rem; }

.privacy { max-width: 780px; margin: 0 auto; padding: 40px 20px; }
.privacy h3 { color: var(--navy); font-size: 1.15rem; margin: 28px 0 10px; }
.privacy p { color: var(--gray-500); line-height: 1.8; margin-bottom: 10px; font-size: 0.9rem; }

@media (max-width: 900px) {
  .hd-nav { display: none; }
  .hero { padding-top: 100px; }
  .hero h1 { font-size: 2rem; }
  .feat-row { grid-template-columns: 1fr; }
  .prop-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .agent-row { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .testi-row { grid-template-columns: 1fr; }
  .val-row { grid-template-columns: repeat(2,1fr); }
  .ft-grid { grid-template-columns: 1fr; }
  .cf-grid { grid-template-columns: 1fr; }
}
