/* ========================================================================
   Wattworks — Main Stylesheet
   Translated from v0template (Tailwind/Next.js) to vanilla CSS
   ======================================================================== */

/* --- Reset & Base ------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:          #0f2a4a;
  --navy-deep:     #071a33;
  --gold:          #c5a040;
  --gold-light:    #dcc781;
  --surface:       #f3f4f6;
  --surface-raised:#ffffff;
  --foreground:    #1a1d2e;
  --muted:         #6b7280;
  --border:        #dde0e7;

  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, textarea, select { font: inherit; }

/* --- Typography --------------------------------------------------------- */
.font-serif { font-family: var(--font-serif); }
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

/* --- Layout Utilities --------------------------------------------------- */
.max-w-7xl { max-width: 80rem; margin-left: auto; margin-right: auto; }
.max-w-5xl { max-width: 64rem; margin-left: auto; margin-right: auto; }
.max-w-4xl { max-width: 56rem; margin-left: auto; margin-right: auto; }
.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl  { max-width: 36rem; margin-left: auto; margin-right: auto; }

.section-padding {
  padding: 5rem 1.5rem;
}

/* --- Parallax ----------------------------------------------------------- */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@supports (-webkit-touch-callout: none) {
  .parallax { background-attachment: scroll; }
}

/* --- Navbar ------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}
.navbar.scrolled {
  background: rgba(7, 26, 51, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  padding: 0.75rem 0;
}
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar-logo-icon {
  width: 2rem; height: 2rem;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 0.875rem;
}
.navbar-logo-text {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.025em;
  line-height: 1;
}
.navbar-logo-text .accent { color: var(--gold); }

.navbar-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.navbar-links a:hover,
.navbar-links a.active { color: #fff; }
.navbar-links a.active { color: var(--gold); }
.navbar-links a:hover::after,
.navbar-links a.active::after { width: 100%; }

.navbar-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.navbar-cta:hover { background: var(--gold-light); }

.navbar-toggle {
  display: block;
  color: #fff;
  padding: 0.25rem;
}
.navbar-toggle svg { width: 22px; height: 22px; }

.mobile-menu {
  display: none;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.8);
  padding: 0.5rem 0;
  transition: color 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--gold); }
.mobile-menu-cta {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s;
}
.mobile-menu-cta:hover { background: var(--gold-light); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 26, 51, 0.70),
    rgba(7, 26, 51, 0.50),
    rgba(7, 26, 51, 0.80)
  );
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
.hero-eyebrow {
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 1.5rem;
}
.hero h1 .accent { color: var(--gold); }
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-8px); }
}

/* --- Buttons ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-primary:hover { background: var(--gold-light); }
.btn-primary:hover .icon-arrow { transform: translateX(4px); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 500;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-outline-white:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.05);
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}
.btn-outline-navy:hover .icon-arrow { transform: translateX(4px); }

.icon-arrow { transition: transform 0.2s; }

/* --- Stats -------------------------------------------------------------- */
.stats {
  background: var(--navy);
  padding: 3.5rem 1.5rem;
}
.stats-grid {
  max-width: 80rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.stat-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- Section Headers ---------------------------------------------------- */
.section-eyebrow {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 0.75rem;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.section-heading.text-navy { color: var(--navy); }
.section-heading.text-white { color: #fff; }
.section-sub {
  color: var(--muted);
  line-height: 1.7;
}

/* --- Services Preview --------------------------------------------------- */
.services-preview { background: var(--surface); }
.services-header {
  max-width: 42rem;
  margin-bottom: 3.5rem;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card {
  display: block;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.service-card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.service-card-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  background: rgba(15, 42, 74, 0.08);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
.service-card-icon svg {
  width: 22px; height: 22px;
  color: var(--navy);
  transition: color 0.3s;
}
.service-card:hover .service-card-icon {
  background: var(--gold);
}
.service-card:hover .service-card-icon svg {
  color: var(--navy-deep);
}
.service-card-body { flex: 1; min-width: 0; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 500;
  transition: gap 0.2s;
}
.service-card:hover .service-card-link { gap: 0.625rem; }
.service-card-link svg { width: 14px; height: 14px; }

.services-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* --- Parallax Banner ---------------------------------------------------- */
.parallax-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 520px;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 51, 0.75);
}
.parallax-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.parallax-content .section-heading {
  color: #fff;
  margin-bottom: 1.25rem;
}
.parallax-content .parallax-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-wrap: pretty;
}

/* --- Testimonials ------------------------------------------------------- */
.testimonials { background: var(--surface-raised); }
.testimonials-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.testimonial-card .quote-icon {
  color: var(--gold);
  flex-shrink: 0;
}
.testimonial-card .quote-icon svg { width: 28px; height: 28px; }
.testimonial-text {
  color: rgba(26, 29, 46, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testimonial-meta {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.875rem;
}
.testimonial-title {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.125rem;
}

/* --- Contact ------------------------------------------------------------ */
.contact { background: var(--surface); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-copy .section-heading { margin-bottom: 1.25rem; }
.contact-copy .section-sub { margin-bottom: 2rem; }
.contact-offices { display: flex; flex-direction: column; gap: 1rem; }
.office {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.office-dot {
  width: 0.5rem; height: 0.5rem;
  margin-top: 0.375rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold);
}
.office-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}
.office-address {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.5;
}

.contact-form-wrapper {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-group:last-child { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-label .required { color: var(--gold); }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--foreground);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(107,114,128,0.5);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197,160,64,0.15);
}
.form-textarea { resize: none; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.btn-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 2px;
  transition: background 0.2s;
  margin-top: 1.25rem;
}
.btn-submit:hover { background: var(--navy-deep); }
.btn-submit:hover .icon-arrow { transform: translateX(4px); }
.btn-submit svg { width: 15px; height: 15px; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
  gap: 1rem;
}
.form-success svg { width: 48px; height: 48px; color: var(--gold); }
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.form-success p {
  color: var(--muted);
  font-size: 0.875rem;
  max-width: 20rem;
}

/* --- Footer ------------------------------------------------------------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-social a {
  padding: 0.5rem;
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  display: flex;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--navy-deep);
}
.footer-social a svg { width: 16px; height: 16px; }

.footer-col h3 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
}
.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--gold);
  width: 14px; height: 14px;
  margin-top: 3px;
}
.footer-contact-item a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 2rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer-legal a { transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* --- About: Page Hero --------------------------------------------------- */
.page-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 26, 51, 0.78);
}
.page-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  max-width: 56rem;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  text-wrap: balance;
  margin-bottom: 1rem;
}
.page-hero .page-hero-sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.125rem;
  max-width: 36rem;
  margin: 0 auto;
  text-wrap: pretty;
  line-height: 1.7;
}

/* --- About: Mission ----------------------------------------------------- */
.mission { background: var(--surface); }
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}
.mission-text p {
  color: var(--muted);
  line-height: 1.7;
  text-wrap: pretty;
  margin-bottom: 1rem;
}
.mission-text p:last-child { margin-bottom: 0; }
.mission-image {
  position: relative;
}
.mission-image img {
  width: 100%;
  border-radius: 2px;
  object-fit: cover;
}
.mission-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 1.5rem;
  border-radius: 2px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.mission-badge-value {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.mission-badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* --- About: Values ------------------------------------------------------ */
.values { background: var(--navy); }
.values-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.value-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  padding: 1.75rem;
  transition: background 0.2s;
}
.value-card:hover { background: rgba(255,255,255,0.08); }
.value-icon {
  width: 3rem; height: 3rem;
  background: rgba(197,160,64,0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.value-icon svg { width: 22px; height: 22px; color: var(--gold); }
.value-card h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.value-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --- About: Team -------------------------------------------------------- */
.team { background: var(--surface); }
.team-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 3.5rem;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.team-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.team-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.team-card-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.team-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.team-card:hover .team-card-image img { transform: scale(1.05); }
.team-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,26,51,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.team-card:hover .team-card-image::after { opacity: 1; }
.team-card-body { padding: 1.25rem; }
.team-card-role {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}
.team-card-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.team-card-bio {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.7;
}

/* --- About: Timeline ---------------------------------------------------- */
.timeline { background: var(--surface-raised); }
.timeline-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.timeline-track {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}
.timeline-line {
  position: absolute;
  left: 4rem;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}
.timeline-items { display: flex; flex-direction: column; gap: 2.5rem; }
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.timeline-year {
  flex-shrink: 0;
  width: 3.5rem;
  display: flex;
}
.timeline-year span {
  display: inline-block;
  background: var(--navy);
  color: var(--gold);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}
.timeline-dot {
  position: absolute;
  left: 4rem;
  top: 0.5rem;
  width: 0.75rem; height: 0.75rem;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 2px solid var(--surface-raised);
}
.timeline-text {
  flex: 1;
  padding-left: 1.5rem;
  color: rgba(26, 29, 46, 0.8);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* --- Services: Detail --------------------------------------------------- */
.services-detail { background: var(--surface); }
.services-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.service-detail-card {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2rem;
}
.service-detail-aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.service-detail-icon {
  width: 3.5rem; height: 3.5rem;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail-icon svg { width: 26px; height: 26px; color: var(--gold); }
.service-detail-tagline {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}
.service-detail-body { flex: 1; min-width: 0; }
.service-detail-body h2 {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.service-detail-body > p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-wrap: pretty;
}
.offerings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.625rem;
}
.offering-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: rgba(26, 29, 46, 0.8);
}
.offering-item svg {
  width: 15px; height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* --- Blog / Posts ------------------------------------------------------- */
.posts-list { background: var(--surface); }
.post-item { margin-bottom: 1.5rem; }
.post-item h3 a {
  color: var(--navy);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  transition: color 0.2s;
}
.post-item h3 a:hover { color: var(--gold); }
.post-item time {
  color: var(--muted);
  font-size: 0.75rem;
}

.single-post { background: var(--surface-raised); }
.single-post .prose {
  max-width: 48rem;
  margin: 0 auto;
}
.single-post .prose h1,
.single-post .prose h2,
.single-post .prose h3 {
  font-family: var(--font-serif);
  color: var(--navy);
}
.single-post .prose p {
  color: var(--foreground);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.single-post .prose a { color: var(--gold); }
.single-post .prose a:hover { text-decoration: underline; }

/* ========================================================================
   Responsive
   ======================================================================== */

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; }
  .form-row { grid-template-columns: 1fr 1fr; }
  .values-grid  { grid-template-columns: repeat(2, 1fr); }
  .team-grid    { grid-template-columns: repeat(2, 1fr); }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .section-padding { padding: 7rem 3rem; }
  .contact-form-wrapper { padding: 2.5rem; }

  .navbar-links { display: flex; }
  .navbar-cta   { display: inline-flex; }
  .navbar-toggle { display: none; }

  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: row; }

  .stats-grid { gap: 3rem; }
}

@media (min-width: 1024px) {
  .section-padding { padding: 7rem 6rem; }
  .navbar-inner { padding: 0 3rem; }

  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  .mission-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid    { grid-template-columns: repeat(4, 1fr); }
  .team-grid      { grid-template-columns: repeat(4, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; }

  .service-detail-card { flex-direction: row; padding: 2.5rem; }
  .service-detail-card.reverse { flex-direction: row-reverse; }
  .service-detail-aside { width: 15rem; }

  .timeline-line { left: 50%; }
  .timeline-item { gap: 1.5rem; }
  .timeline-year { width: calc(50% - 1.5rem); justify-content: flex-end; }
  .timeline-item.even { flex-direction: row-reverse; }
  .timeline-item.even .timeline-year { justify-content: flex-start; }
  .timeline-item.even .timeline-year span { margin-left: auto; }
  .timeline-dot { left: 50%; }
  .timeline-text { padding-left: 0; width: calc(50% - 1.5rem); }
}
