/* ===========================================================
   Tutela Realty, Brand System
   Navy / Gold / Cream, sampled from the client's logo mark
=========================================================== */

:root {
  --navy: #0f1b2e;
  --navy-light: #1c2d47;
  --navy-soft: #2b3d58;
  --gold: #b8935e;
  --gold-light: #d4b483;
  --gold-dark: #8e6b36;
  --cream: #f4f0ea;
  --cream-dark: #ece5d9;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #5c5c5c;
  --border-soft: rgba(15, 27, 46, 0.1);
  --shadow: 0 20px 50px rgba(15, 27, 46, 0.08);
  --shadow-soft: 0 8px 24px rgba(15, 27, 46, 0.06);
  --max-width: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 14px;
}

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3, .section--navy .serif { color: var(--white); }
.section--navy p { color: rgba(244, 240, 234, 0.78); }

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: 38px; margin-bottom: 16px; }
.section-head p { color: var(--text-muted); font-size: 17px; }
.section--navy .section-head p { color: rgba(244, 240, 234, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); }
.btn--outline {
  border-color: rgba(244, 240, 234, 0.5);
  color: inherit;
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 240, 234, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img { height: 52px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
}
.nav__links a { position: relative; padding-bottom: 4px; }
.nav__links a.active, .nav__links a:hover { color: var(--gold-dark); }
.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: 0.5px; }
.nav__toggle { display: none; }

@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 55%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 120px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(184,147,94,0.18), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: 56px;
  color: var(--white);
  margin-bottom: 22px;
}
.hero p.lead {
  font-size: 19px;
  color: rgba(244, 240, 234, 0.82);
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 90px 0 70px;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); font-size: 44px; margin-bottom: 14px; }
.page-hero p { color: rgba(244, 240, 234, 0.8); max-width: 620px; font-size: 17px; }

/* ---------- Stats ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  margin-top: -64px;
  position: relative;
  z-index: 2;
}
.stat-tile {
  background: var(--white);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.stat-tile .num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 6px;
}
.stat-tile .label {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}
@media (max-width: 900px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); margin-top: 0; }
}

/* ---------- Cards / Grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 44px 38px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar-card .num-mark {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.pillar-card h3 { font-size: 26px; margin-bottom: 14px; }
.pillar-card p { color: var(--text-muted); margin-bottom: 20px; }
.pillar-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text-dark);
  font-size: 15px;
  border-top: 1px solid var(--border-soft);
}
.pillar-card ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 8px;
  height: 1px;
  background: var(--gold);
}
.pillar-card .link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--navy);
}

.asset-chip {
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 22px 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.3px;
}

.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
  border-bottom: 1px solid var(--border-soft);
}
.service-block:last-child { border-bottom: none; }
.service-block h3 { font-size: 30px; margin-bottom: 16px; }
.service-block .num-mark {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.service-block p.intro { color: var(--text-muted); font-size: 16px; }
.service-list { display: grid; gap: 18px; }
.service-list li {
  background: var(--cream);
  padding: 20px 24px;
  border-left: 3px solid var(--gold);
}
.service-list li h4 { font-size: 16px; color: var(--navy); margin-bottom: 6px; }
.service-list li p { font-size: 14px; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) {
  .service-block { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- About teaser / bio ---------- */
.bio-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.bio-photo {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 110px;
}
.bio-photo img { width: 100%; }
.bio-photo .frame-line {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244,240,234,0.55);
  pointer-events: none;
}
.credential-list { display: grid; gap: 14px; margin-top: 28px; }
.credential-list li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
}
.credential-list li .mark { color: var(--gold-dark); font-weight: 700; }
@media (max-width: 900px) {
  .bio-layout { grid-template-columns: 1fr; }
  .bio-photo { max-width: 320px; }
}

.affiliation-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}
.affiliation-row .aff {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.affiliation-row .aff strong { display: block; color: var(--navy); font-size: 15px; letter-spacing: 0.3px; text-transform: none; margin-bottom: 3px; }

/* ---------- Portfolio / track record ---------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 48px;
}
.case-card .tag {
  display: inline-block;
  background: var(--cream);
  color: var(--gold-dark);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.case-card h3 { font-size: 28px; margin-bottom: 16px; }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 28px; }
.case-stats div { text-align: left; }
.case-stats .num { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--navy); font-weight: 700; }
.case-stats .label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); font-size: 34px; margin-bottom: 16px; }
.cta-band p { color: rgba(244,240,234,0.78); max-width: 560px; margin: 0 auto 32px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-info-card {
  background: var(--navy);
  color: var(--white);
  padding: 48px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 24px; }
.contact-info-card .item { margin-bottom: 24px; }
.contact-info-card .item .k { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 4px; }
.contact-info-card .item .v { font-size: 17px; }
.contact-info-card .item a { color: var(--white); }

.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  background: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text-dark);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(244,240,234,0.7);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(244,240,234,0.12);
}
.footer-grid img { height: 46px; margin-bottom: 16px; }
.footer-grid p { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
.footer-col li { margin-bottom: 10px; font-size: 14px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
