/* === Custom Properties === */
:root {
  --navy: #1e293b;
  --bg: #ffffff;
  --surface: #f1f5f9;
  --text: #334155;
  --accent: #d97706;
  --primary: var(--accent);
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 4px;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* === Utility === */
.container { width: 90%; max-width: var(--max-width); margin: 0 auto; }
.skip-link {
  position: absolute; top: -100%; left: 1rem; padding: 0.5rem 1rem;
  background: var(--accent); color: #fff; border-radius: var(--radius);
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 0.875rem 2rem; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  cursor: pointer; border: none;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--amber { background: var(--accent); color: #fff; }
.btn--amber:hover { background: #b45309; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #b45309; }

/* === Nav (navy frosted) === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height);
  background: rgba(30,41,59,0.95); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s;
}
.nav--hidden { transform: translateY(-100%); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; width: 90%; max-width: var(--max-width); margin: 0 auto;
}
.nav__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: #fff; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9375rem; }
.nav__links a:hover { color: #fff; }
.nav__cta { display: flex; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav__toggle span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; transition: 0.3s;
}

/* === Mobile Nav === */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--navy); border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 100; padding: 0.5rem 0 env(safe-area-inset-bottom);
}
.mobile-nav { display: flex; justify-content: space-around; }
.mobile-nav__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.6875rem;
  text-decoration: none;
}
.mobile-nav__item--active { color: var(--accent); }
.mobile-nav__item svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* === Footer (navy) === */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 3rem 0; margin-bottom: 60px;
  contain: layout style;
}
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer__logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.125rem; color: #fff; }
.footer__copy { font-size: 0.875rem; }

/* === Scroll Reveal === */
.reveal { }
.reveal--animate { animation: revealSlide 0.6s ease both; }
.reveal--animate.reveal--delay-1 { animation-delay: 0.1s; }
.reveal--animate.reveal--delay-2 { animation-delay: 0.2s; }
.reveal--animate.reveal--delay-3 { animation-delay: 0.3s; }
@keyframes revealSlide {
  from { opacity: 0.4; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal--animate { animation: none; }
}

/* === Hero (bg image + navy overlay) === */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: center;
  contain: layout style;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(30,41,59,0.7); z-index: 1;
}
.hero__content {
  position: relative; z-index: 2; color: #fff;
  width: 90%; max-width: var(--max-width); margin: 0 auto;
  text-align: center; padding: calc(var(--nav-height) + 4rem) 0 5rem;
}
.hero__title {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700; line-height: 1.2; margin-bottom: 1rem;
}
.hero__rule {
  border: none; border-top: 3px solid var(--accent);
  width: 80px; margin: 1.5rem auto;
}
.hero__subtitle { font-size: 1.125rem; opacity: 0.85; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* === Credentials Bar === */
.credentials-bar {
  background: var(--surface); padding: 2.5rem 0;
  contain: layout style;
}
.credentials-bar__inner {
  display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
  align-items: center; font-size: 0.9375rem; font-weight: 600;
}
.credentials-bar__item { display: flex; align-items: center; gap: 0.5rem; }
.credentials-bar__item svg { width: 24px; height: 24px; color: var(--accent); }

/* === Services Grid (2-col with hr) === */
.services-section { padding: 5rem 0; contain: layout style; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 0.75rem; }
.section-header p { font-family: var(--font-body); font-size: 1.0625rem; opacity: 0.7; max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem; }
.service-item { padding-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,0.08); }
.service-item__image {
  width: 100%; height: 200px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.25rem;
}
.service-item__icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.service-item__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.service-item__desc { font-family: var(--font-body); font-size: 0.9375rem; opacity: 0.7; line-height: 1.6; margin-bottom: 0.75rem; }
.service-item__link { font-family: var(--font-body); font-weight: 600; font-size: 0.875rem; }

/* === Approach (numbered steps) === */
.approach-section { padding: 5rem 0; background: var(--surface); contain: layout style; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.approach-step {}
.approach-step__image {
  width: 100%; height: 180px; object-fit: cover;
  border-radius: var(--radius); margin-bottom: 1.25rem;
}
.approach-step__number {
  font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700;
  color: var(--accent); opacity: 0.4; margin-bottom: 1rem;
}
.approach-step__title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.approach-step__desc { font-family: var(--font-body); font-size: 0.9375rem; opacity: 0.7; line-height: 1.6; }

/* === Testimonial (blockquote) === */
.testimonial-section { padding: 5rem 0; contain: layout style; }
.testimonial-section hr {
  border: none; border-top: 1px solid rgba(0,0,0,0.08);
  max-width: 200px; margin: 0 auto 2rem;
}
.testimonial-section hr:last-of-type { margin: 2rem auto 0; }
.testimonial-blockquote {
  max-width: 700px; margin: 0 auto; text-align: center;
}
.testimonial-blockquote q {
  font-family: var(--font-heading); font-size: 1.25rem; font-style: italic;
  line-height: 1.8; display: block; margin-bottom: 1.5rem;
}
.testimonial-blockquote cite {
  font-family: var(--font-body); font-style: normal; font-weight: 700;
}
.testimonial-blockquote .role {
  font-family: var(--font-body); font-size: 0.875rem; opacity: 0.6;
}
.testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
}
.testimonial-author__avatar {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--accent);
}
.testimonial-author__info {
  display: flex; flex-direction: column; text-align: left;
}

/* === CTA (navy bg) === */
.cta-section {
  background: var(--navy); color: #fff; padding: 5rem 0;
  text-align: center; contain: layout style;
}
.cta-section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.cta-section p { font-family: var(--font-body); font-size: 1.0625rem; opacity: 0.7; margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }

/* === Page Hero (navy) === */
.page-hero {
  background: var(--navy); color: #fff;
  padding: calc(var(--nav-height) + 3rem) 0 3rem;
  contain: layout style;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; }
.page-hero p { font-family: var(--font-body); font-size: 1.0625rem; opacity: 0.85; margin-top: 0.75rem; }

/* === Service Blocks (services page - no cards, hr separated) === */
.service-blocks { padding: 4rem 0; contain: layout style; }
.service-block {
  padding: 3rem 0; border-bottom: 1px solid rgba(0,0,0,0.08);
  display: grid; grid-template-columns: 64px 1fr; gap: 2rem;
  align-items: start;
}
.service-block__icon { width: 48px; height: 48px; }
.service-block__title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-block__desc { font-family: var(--font-body); font-size: 1rem; opacity: 0.8; margin-bottom: 1rem; line-height: 1.7; }
.service-block__list { font-family: var(--font-body); }
.service-block__list li {
  padding: 0.25rem 0; font-size: 0.9375rem;
  padding-left: 1.5rem; position: relative;
}
.service-block__list li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}

/* === Contact Form === */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.form-card { background: var(--bg); padding: 2.5rem; border-radius: var(--radius); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(0,0,0,0.12);
  border-radius: 2px; font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,119,6,0.1);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.info-card { padding: 2.5rem; background: var(--surface); border-radius: var(--radius); border-left: 4px solid var(--navy); }
.info-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.info-card__item { margin-bottom: 1.25rem; }
.info-card__item strong { display: block; font-family: var(--font-body); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.5; margin-bottom: 0.25rem; }
.info-card__item a { color: var(--accent); }

/* === Responsive === */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .nav__links--open { display: flex; flex-direction: column; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--navy); padding: 1rem 5%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .services-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 1rem; }
  .footer { margin-bottom: 72px; }
  .footer__inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (min-width: 769px) {
  .mobile-nav { display: none; }
}
