:root {
  --black: #000000;
  --white: #ffffff;
  --navy-900: #05070d;
  --navy-800: #0b1220;
  --navy-700: #131c33;
  --blue: #1d4ed8;
  --blue-light: #3b82f6;
  --gold: #c9a227;
  --gold-light: #e8cf7a;
  --gray-900: #1d1d1f;
  --gray-600: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --radius-pill: 999px;
  --radius-lg: 20px;
  --max-width: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--black);
}

/* Kicker / eyebrow labels */
.kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}
.kicker.center { text-align: center; }
.kicker.light { color: var(--gold-light); }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; }

.brand-logo {
  height: 56px;
  width: auto;
  border-radius: 10px;
  display: block;
}

.nav-links { display: flex; gap: 28px; }

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }

/* Buttons */
.btn {
  display: inline-block;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-small {
  padding: 8px 20px;
  font-size: 13px;
  background: var(--blue);
  color: var(--white);
}
.btn-small:hover { background: var(--blue-light); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.06); }

.btn-outline-dark {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn-large { padding: 16px 38px; font-size: 16px; }

/* Dark closing section */
.dark-marble {
  position: relative;
  background-color: var(--navy-900);
  background-image:
    radial-gradient(ellipse 70% 60% at 88% -10%, rgba(201, 162, 39, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 120% 70% at 10% 110%, var(--navy-700) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--black) 85%);
  color: var(--white);
  overflow: hidden;
}

.dark-marble::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.4) 100%);
  pointer-events: none;
}

.dark-marble h1, .dark-marble h2 { color: var(--white); }

/* Hero banner (edge-to-edge marble/logo image) */
.hero-banner {
  width: 100%;
  padding: 0;
  line-height: 0;
}

.hero-banner-img {
  display: block;
  width: 100%;
  height: clamp(260px, 42vw, 520px);
  object-fit: cover;
  object-position: center;
}

.hero-info {
  padding: 40px 24px 48px;
  text-align: center;
}

.hero-info h1 {
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 20px;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 28px;
}

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

/* Office photo strip */
.office-strip { padding: 0; width: 100%; }

.office-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.office-strip-grid img {
  display: block;
  width: 100%;
  height: clamp(220px, 30vw, 420px);
  object-fit: cover;
}

/* Sections */
section { padding: 72px 24px; }

section h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  margin-bottom: 12px;
}

h2.center { text-align: center; }

.section-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.section-sub.light { color: rgba(255, 255, 255, 0.65); }

/* Placeholder image spaces */
.placeholder-space {
  background:
    repeating-linear-gradient(45deg, var(--gray-300) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, var(--gray-300) 0 1px, transparent 1px 14px),
    var(--gray-100);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 14px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* About */
.about-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
}

.photo-caption {
  margin-top: 16px;
  font-size: 14px;
  color: var(--gray-600);
  text-align: center;
}
.photo-caption strong { color: var(--gray-900); }

.about-content p {
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 24px;
  text-align: justify;
  text-justify: inter-word;
}
.about-content p:last-child { margin-bottom: 0; }

/* Services: areas + subservice lists */
.services { background: var(--gray-100); }

.areas-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.area-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-300);
  padding: 4px 24px;
}

.area-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  font-size: 22px;
  padding: 22px 0;
  -webkit-tap-highlight-color: transparent;
}
.area-title::-webkit-details-marker { display: none; }
.area-title::marker { content: ""; }

.area-title::after {
  content: "+";
  flex-shrink: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.area-block[open] > .area-title { border-bottom: 1px solid var(--gray-300); }
.area-block[open] > .area-title::after { transform: rotate(45deg); }

.subservice-list {
  list-style: none;
  margin-top: 4px;
  padding-bottom: 12px;
}

.subservice-list li { border-top: 1px solid var(--gray-300); }

.subservice-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-900);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.subservice-list a::before {
  content: "\2022";
  color: var(--blue);
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.subservice-list a:hover {
  color: var(--blue);
  padding-left: 8px;
}

@media (max-width: 860px) {
  .areas-list { grid-template-columns: 1fr; }
}

/* Subservice detail pages */
.detail-hero { background: var(--gray-100); padding: 64px 24px 48px; }

.detail-hero-inner { max-width: 760px; margin: 0 auto; }

.detail-hero h1 { font-size: clamp(28px, 4vw, 38px); margin-top: 8px; }

.detail-content { padding: 64px 24px 100px; }

.detail-content-inner { max-width: 760px; margin: 0 auto; }

.detail-content-inner p {
  color: var(--gray-600);
  font-size: 17px;
  margin-bottom: 22px;
  text-align: justify;
  text-justify: inter-word;
}

.detail-content-inner ul {
  margin: 0 0 22px;
  padding-left: 20px;
  color: var(--gray-600);
  font-size: 17px;
  text-align: justify;
  text-justify: inter-word;
}

.detail-content-inner ul li { margin-bottom: 14px; }
.detail-content-inner ul li strong { color: var(--gray-900); }

.detail-back { margin-top: 16px; }

/* CTA strip */
.cta-strip { background: var(--white); padding-top: 40px; padding-bottom: 40px; }
.cta-strip h2 { max-width: 760px; margin-left: auto; margin-right: auto; }
.cta-strip .section-sub { margin-bottom: 0; }

/* Location */
.location { background: var(--gray-100); }

.location-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.location-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.location-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.location-content h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.location-content p {
  color: var(--gray-600);
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}
.location-content p:last-child { margin-bottom: 0; }

.address-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin: 0 0 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.address-icon { font-size: 20px; line-height: 1; margin-top: 2px; }

.address-highlight p {
  color: var(--gray-900);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

/* Contact */
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.contact-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
}

.contact-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-value {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

/* Footer */
.footer {
  padding: 40px 24px;
  text-align: center;
  background: var(--black);
  color: var(--gray-400);
  font-size: 13px;
}

.footer-logo {
  height: 40px;
  width: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto 16px;
}

/* Responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { aspect-ratio: 16 / 10; }
  .office-strip-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
  .service-row { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
