/* Legacy Pillar LLC — navy / purple / gold */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0B1F3A;
  --navy-deep: #071526;
  --purple: #4B2A6A;
  --purple-mid: #5C3A7E;
  --gold: #C9A227;
  --gold-soft: #D4B84A;
  --ink: #152238;
  --muted: #5A6678;
  --cream: #F7F5F1;
  --white: #FFFFFF;
  --line: rgba(11, 31, 58, 0.12);
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(7, 21, 38, 0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--navy-deep);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 3px solid var(--gold);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.nav-brand:hover { text-decoration: none; }
.nav-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 3px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--gold-soft); }

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(7,21,38,0.88) 0%, rgba(75,42,106,0.72) 48%, rgba(11,31,58,0.55) 100%),
    url("images/home-exterior.jpg") center/cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 4rem;
  max-width: 38rem;
}
.hero-logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 8px;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.hero-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-soft);
  margin-bottom: 0.7rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 0.85rem;
}
.hero .tagline {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.6rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.45rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-gold:hover { background: var(--gold-soft); color: var(--navy-deep); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--purple-mid); color: var(--white); }

/* Sections */
section { padding: 4rem 0; }
section.alt { background: var(--cream); }
.section-label {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.55rem;
}
h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 40rem; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.about-note {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.98rem;
}
.about-note strong { color: var(--navy); }

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.3rem;
  box-shadow: 0 6px 18px rgba(7,21,38,0.05);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--purple), var(--navy));
  display: grid;
  place-items: center;
  margin-bottom: 0.95rem;
}
.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--gold-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.secondary-line {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border: 1px dashed rgba(201,162,39,0.45);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.7);
}
.secondary-line strong { color: var(--navy); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.9rem;
  margin-top: 1.75rem;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 22px rgba(7,21,38,0.1);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-grid figure:first-child {
  grid-row: 1 / span 2;
}
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(transparent, rgba(7,21,38,0.75));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Approach */
.approach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.75rem;
}
.approach-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 6px 18px rgba(7,21,38,0.05);
}
.approach-item h3 { color: var(--navy); font-size: 1.08rem; margin-bottom: 0.4rem; }
.approach-item p { color: var(--muted); font-size: 0.96rem; }

/* Contact */
.contact {
  text-align: center;
  background:
    linear-gradient(160deg, var(--navy-deep), var(--purple));
  color: var(--white);
}
.contact .section-label { color: var(--gold-soft); }
.contact h2 { color: var(--white); }
.contact .lead {
  color: rgba(255,255,255,0.88);
  margin: 0 auto 1.6rem;
}
.contact .btn-gold { min-width: 16rem; }
.email-line {
  margin-top: 0.9rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.7rem 0;
  font-size: 0.9rem;
  border-top: 3px solid var(--gold);
}
.site-footer strong { color: var(--white); }

@media (max-width: 900px) {
  .about-grid,
  .cards,
  .approach-list {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 180px 180px;
  }
  .gallery-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
  .nav-brand span { display: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.5rem, var(--max)); }
  section { padding: 3rem 0; }
  .hero { min-height: 460px; }
  .hero-inner { padding: 3.2rem 0 3rem; }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .gallery-grid figure { min-height: 200px; }
  .nav-links { gap: 0.25rem 0.75rem; font-size: 0.88rem; }
}

/* Hero actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: var(--gold-soft);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy-deep) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover {
  background: var(--gold-soft) !important;
  text-decoration: none !important;
  color: var(--navy-deep) !important;
}

/* Consultation form */
.consult {
  background: var(--cream);
}
.consult-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 0.5rem;
}
.consult-copy .lead { margin-bottom: 1rem; }
.consult-points {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.consult-points li {
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.96rem;
}
.consult-points strong { color: var(--navy); }

.consult-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem 1.4rem 1.35rem;
  box-shadow: var(--shadow);
}
.consult-card h3 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.consult-card .form-intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}
.field .req { color: var(--purple); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #FBFBFA;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(75, 42, 106, 0.55);
  box-shadow: 0 0 0 3px rgba(75, 42, 106, 0.12);
  background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }
.field .error {
  color: #9B1B1B;
  font-size: 0.82rem;
  display: none;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #C42828;
}
.field.has-error .error { display: block; }

.form-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.form-actions .btn-navy { min-width: 14rem; }
.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.thank-you {
  display: none;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(75,42,106,0.08), rgba(201,162,39,0.12));
  border: 1px solid rgba(201,162,39,0.35);
  color: var(--navy);
}
.thank-you.is-visible { display: block; }
.thank-you strong { display: block; margin-bottom: 0.25rem; }

@media (max-width: 900px) {
  .consult-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-links .nav-text { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}
