@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --navy: #0b2145;
  --navy-deep: #071730;
  --gold: #c9822a;
  --gold-light: #e0ab6c;
  --cream: #F7F6F2;
  --text-navy: #0b1d33;
  --text-body: #4a5568;
  --text-on-navy: #d7dbe6;
  --text-muted-on-navy: #aab3c8;
  --border-light: #e5e0d5;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  line-height: 1;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 2px solid var(--gold-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav.nav-right { justify-content: flex-end; }

.main-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-navy);
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--gold); }

.main-nav a.active {
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-solid-navy {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-solid-navy:hover { background: var(--navy-deep); }

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--text-navy);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.btn-solid-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-solid-gold:hover { background: #b6721f; }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-outline-gold-on-navy {
  background: transparent;
  border-color: var(--gold);
  color: #fff;
}
.btn-outline-gold-on-navy:hover { background: var(--gold); }

.btn-block { display: block; width: 100%; }

/* Section eyebrow / divider heading */
.eyebrow-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 18px;
}
.eyebrow-divider .line {
  height: 1px;
  width: 60px;
  background: var(--gold-light);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--text-navy);
  margin: 0;
  font-weight: 700;
}

/* ---------- HERO (home) ---------- */
.hero {
  background-color: #fff;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding: 100px 0 120px;
}

.hero .container {
  display: block;
}

.hero-copy {
  max-width: 520px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.hero-divider {
  margin: 22px 0;
}
/* The artwork carries its own rules and centre motif, so no flex lines here.
   It ships with transparent padding (38px sides, 112 top / 185 bottom of a
   2172x724 canvas); the negative bottom margin absorbs the uneven bottom gap. */
.hero-divider img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin-left: -5px;
  margin-bottom: -10px;
}

.hero p.lede {
  font-size: 1.05rem;
  color: var(--text-body);
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Story / valuation navy section ---------- */
.story-section {
  background: var(--navy);
  color: var(--text-on-navy);
  padding: 80px 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}

/* Shared by .story-col and .wwd-col: each column stays a true 50%, but its
   content block shrinks to fit and is centered, so short content splits its
   slack evenly on both sides instead of trailing off to the right. */
.col-inner {
  width: fit-content;
  margin-inline: auto;
}

.story-grid .divider-col { background: rgba(255,255,255,0.15); }

.story-grid h2 {
  color: #fff;
  font-size: 1.7rem;
  text-transform: uppercase;
  line-height: 1.3;
  margin-bottom: 24px;
}

.story-grid p { margin: 0 0 18px; color: var(--text-on-navy); }

.valuation-list { margin-top: 24px; }

.valuation-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.valuation-item svg { flex-shrink: 0; }

.valuation-item span {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.where-band {
  margin-top: 56px;
  padding-top: 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.where-band h3 {
  color: #fff;
  font-size: 1.3rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.where-band h3::before,
.where-band h3::after {
  content: '';
  width: 80px;
  height: 1px;
  background: var(--gold-light);
}

.where-location {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  color: var(--gold-light);
  font-size: 1.05rem;
  text-align: center;
}

/* ---------- Page hero band (Services / generic) ---------- */
/* Grain is an inline SVG (feTurbulence) so it costs no request and no asset. */
.page-hero {
  background-color: var(--cream);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='1 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23grain)' opacity='0.14'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  background-repeat: repeat;
  padding: 72px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  text-transform: uppercase;
}

.page-hero p {
  max-width: 640px;
  margin: 20px auto 0;
  font-size: 1rem;
}

.page-hero.navy {
  background: var(--navy);
}
.page-hero.navy h1 { color: #fff; }
.page-hero.navy p { color: var(--text-on-navy); }

/* ---------- Section heading with lines either side ---------- */
.section-title {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
}
.section-title .line { height: 1px; width: 90px; background: var(--gold-light); }
.section-title h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  white-space: nowrap;
}
.section-title.on-navy h2 { color: #fff; }

/* ---------- What We Appraise grid ---------- */
.appraise-section { padding: 80px 0; }

.appraise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.appraise-card {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid var(--border-light);
}
.appraise-card:first-child { border-left: none; }

.appraise-card svg { margin-bottom: 18px; }

.appraise-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.appraise-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  margin: 0;
}

/* ---------- What We Do ---------- */
.what-we-do { background: var(--cream); padding: 80px 0; }

.what-we-do > .container > p.intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.wwd-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
}
.wwd-grid .divider-col { background: var(--border-light); }

.wwd-col h3 {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.wwd-col .icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid #6e8b3d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wwd-col ul {
  margin-left: 68px;
}

.wwd-col ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  color: var(--text-body);
}
.wwd-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6e8b3d;
}

/* ---------- Good Life Standard ---------- */
.standard-section {
  background: var(--navy);
  padding: 72px 0;
}

.standard-section .section-sub {
  text-align: center;
  color: var(--text-on-navy);
  max-width: 640px;
  margin: -24px auto 48px;
}

.standard-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.standard-card {
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.15);
  padding: 0 10px;
}
.standard-card:first-child { border-left: none; }

.standard-card svg { margin-bottom: 16px; }

.standard-card h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.standard-card p {
  color: var(--text-on-navy);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Where We Appraise (map) ---------- */
.map-section { padding: 64px 0; }

.map-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  text-align: center;
}

.map-copy h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.map-copy .loc {
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 6px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  padding: 56px 0 28px;
  text-align: center;
}

.footer-logo { margin-bottom: 24px; }

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-navy);
}
.footer-links a:hover { color: var(--gold); }

.footer-links .sep { color: var(--gold-light); }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-size: 0.75rem;
  color: #8a93a6;
}

/* ---------- Contact page ---------- */
.contact-section {
  background: var(--navy);
  padding: 72px 0 88px;
}

.contact-header { text-align: center; margin-bottom: 40px; }

.contact-header h1 {
  color: #fff;
  font-size: 2.6rem;
  text-transform: uppercase;
}

.contact-header .underline {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 24px;
}

/* Supporting copy, not a display line: sans keeps it from competing with the
   Playfair h1 directly above it, which shares the serif family. */
.contact-header .tagline {
  font-family: var(--font-sans);
  color: var(--gold-light);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.contact-header p.desc {
  color: var(--text-on-navy);
  max-width: 620px;
  margin: 0 auto;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.form-group { margin-bottom: 24px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.form-group label .req { color: var(--gold); margin-left: 2px; }

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 3px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8a93b0;
}

.form-group textarea { min-height: 130px; resize: vertical; }

.contact-method-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.contact-method-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 14px;
}

.method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  border-radius: 3px;
  border: 1px solid var(--gold);
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.method-btn.active {
  background: var(--gold);
  border-color: var(--gold);
}

.contact-method-hint {
  font-size: 0.85rem;
  color: var(--text-on-navy);
  margin: 0 0 16px;
}

.form-status {
  margin-top: 18px;
  text-align: center;
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-status.visible { display: block; }

/* ---------- Placeholder page ---------- */
.placeholder-section {
  padding: 100px 0;
  text-align: center;
}
.placeholder-section h1 {
  font-size: 2.6rem;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.placeholder-section p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    background-image: linear-gradient(rgba(255,255,255,0.82), rgba(255,255,255,0.96)), var(--hero-bg);
    background-position: center 30%;
    padding: 56px 0 60px;
  }
  .hero-copy { max-width: 100%; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .divider-col { display: none; }
  .appraise-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .appraise-card { border-left: none; }
  .wwd-grid { grid-template-columns: 1fr; }
  .wwd-grid .divider-col { display: none; }
  /* Single column now: let content go flush-left instead of centering. */
  .col-inner { width: auto; }
  .standard-grid { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .standard-card { border-left: none; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header .container { flex-wrap: wrap; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 3;
    gap: 0;
    padding-top: 16px;
  }
  .site-header.nav-open .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
  }
  .hero h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .contact-header h1 { font-size: 2rem; }
  .contact-method-toggle { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .appraise-grid { grid-template-columns: 1fr; }
  .standard-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
