/* Global Theme */
:root {
  --color-bg: #ffffff;
  --color-text: #111111;
  --color-muted: #4b5563;
  --color-gold: #b0892f;
  --color-gold-contrast: #ffffff;
  --max-width: 1120px;
  --radius: 8px;
  --shadow-1: 0 6px 24px rgba(0, 0, 0, 0.12);
  --topbar-bg: #2a4a4a; /* deep teal-blue as per screenshot */
}
/* Top contact bar */
.topbar {
  background: var(--topbar-bg);
  color: #ffffff;
  font-size: 0.9375rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}
.topbar a {
  color: #ffffff;
}
.topbar .left,
.topbar .right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar .item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.topbar .divider {
  opacity: 0.5;
}
.topbar .icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* Reset and base */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Lato", "Open Sans", system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  line-height: 1.25;
  margin: 0 0 0.5rem 0;
}
h1 {
  font-size: 3rem;
  letter-spacing: 0.5px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.375rem;
}

p {
  margin: 0 0 1rem 0;
  color: var(--color-muted);
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header / Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid rgba(176, 137, 47, 0.25);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
}
.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0.6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  padding: 10px 12px;
  border-radius: 6px;
}
.nav-links a:not(.btn) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.nav-links a:not(.btn)::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  margin-top: 6px;
  visibility: hidden;
}
.nav-links a:not(.btn)[aria-current="page"]::after {
  visibility: visible;
  background: var(--color-gold);
}
.nav-links a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.nav-toggle {
  display: none;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #ffffff;
    border-bottom: 1px solid rgba(176, 137, 47, 0.2);
    padding: 12px 20px;
    flex-direction: column;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    border: 1px solid rgba(200, 164, 77, 0.35);
    background: transparent;
    color: var(--color-text);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease,
    color 200ms ease;
}
.btn-gold {
  background: var(--color-gold);
  color: var(--color-gold-contrast);
  box-shadow: var(--shadow-1);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(200, 164, 77, 0.35);
}
.btn-outline {
  border-color: var(--color-gold);
  color: var(--color-text);
}
.btn-outline:hover {
  background: rgba(200, 164, 77, 0.08);
}

/* Hero */
.hero {
  position: relative;
  padding: 0;
}
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
}
.hero-banner.hero--half {
  height: 30vh;
  min-height: 240px;
}
.hero-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 900px;
}
.hero-overlay_about {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 300px;
}
.hero-overlay h1 {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-overlay p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: #f3f4f6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.hero-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Sections */
section {
  padding: 56px 0;
}
.section-title {
  color: var(--color-gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 0.875rem;
}
.section-header {
  margin-bottom: 24px;
}

/* Cards/Grid */
.grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: #ffffff;
  border: 1px solid rgba(176, 137, 47, 0.18);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform 120ms ease, border-color 200ms ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(200, 164, 77, 0.35);
}
.card h3 {
  color: var(--color-text);
}
.card p {
  color: var(--color-muted);
}

/* Services cards */
.services {
  background: #f7f7f8;
}
.services .section-title {
  color: var(--color-gold);
}
.service-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 120ms ease, box-shadow 200ms ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.service-card h3 {
  margin: 0 0 6px 0;
  color: var(--color-text);
}
.service-card p {
  margin: 0;
  color: var(--color-muted);
}
.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(176, 137, 47, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

/* Split layout for About */
.split {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-text);
  background: #f3f4f6;
  border: 1px solid rgba(176, 137, 47, 0.25);
  border-radius: 999px;
}
.feature-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 600px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feature-card {
  background: #ffffff;
  border: 1px solid rgba(176, 137, 47, 0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.feature-card .icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(176, 137, 47, 0.1);
}
.media-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.media-frame img {
  display: block;
  width: 100%;
  height: auto;
}
.play-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-gold);
  color: var(--color-gold-contrast);
  box-shadow: var(--shadow-1);
}

/* About collage */
.about-collage {
  display: grid;
  gap: 16px;
}

/* Team page director split */
.team-split {
  display: grid;
  gap: 16px;
}
@media (min-width: 900px) {
  .team-split {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }
}
.team-photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  height: 100%;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Resume/Experience list */
.resume-list {
  display: grid;
  gap: 12px;
}
.resume-item {
  position: relative;
  padding-left: 16px;
}
.resume-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--color-gold);
}
.resume-title {
  color: var(--color-text);
  font-weight: 700;
}
.resume-org {
  color: var(--color-muted);
}
.resume-meta {
  color: var(--color-muted);
  font-size: 0.9375rem;
}
@media (min-width: 900px) {
  /* Ensure photo column visually matches text column height */
  .team-split > .card:first-of-type,
  .team-photo {
    min-height: 520px;
  }
}
@media (min-width: 900px) {
  .about-collage {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}
.about-collage .img-a {
  border-radius: 28px;
  overflow: hidden;
}
.about-collage .img-b {
  border-radius: 28px;
  overflow: hidden;
}
.about-collage .img-c {
  border-radius: 28px;
  overflow: hidden;
  grid-column: 1 / -1;
}
.about-collage img {
  width: 100%;
  height: auto;
  display: block;
}

.checklist {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.check .dot {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(176, 137, 47, 0.12);
  display: grid;
  place-items: center;
  color: var(--color-gold);
  flex: 0 0 auto;
}

/* About process layout */
.process {
  background: #fff;
}
.process .grid {
  gap: 24px;
}
.process h2 {
  font-size: 2.25rem;
}
.steps {
  display: grid;
  gap: 20px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(176, 137, 47, 0.45) 0,
    rgba(176, 137, 47, 0.45) 8px,
    transparent 8px,
    transparent 16px
  );
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}
.step .bullet {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #b0892f;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.process .step h2 {
  font-size: 1rem;
  line-height: 1.3;
}
.muted {
  color: var(--color-muted);
}

/* Stats band (removed) */

/* Accordion */
.accordion-item {
  border-bottom: 1px solid rgba(176, 137, 47, 0.2);
}
.accordion-button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--color-text);
  border: none;
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.accordion-button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}
.accordion-item.open .accordion-panel {
  max-height: 600px;
}
.accordion-icon {
  color: var(--color-gold);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(176, 137, 47, 0.25);
  background: #fafafa;
  padding: 28px 0;
  color: var(--color-muted);
}
.footer a {
  color: var(--color-text);
}

/* Newsletter CTA + New Footer */
.cta-news {
  position: relative;
  background: #ffffff;
  margin: 56px 0;
}
.cta-news .bg {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      90deg,
      rgba(176, 137, 47, 0.08) 0,
      rgba(176, 137, 47, 0.08) 1px,
      transparent 1px,
      transparent 24px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(176, 137, 47, 0.06) 0,
      rgba(176, 137, 47, 0.06) 1px,
      transparent 1px,
      transparent 24px
    );
  opacity: 1;
}
.cta-news .overlay {
  position: relative;
  z-index: 1;
  padding: 48px 0;
}
.cta-wrap {
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .cta-wrap {
    grid-template-columns: 1fr 1fr;
  }
}
.cta-left small {
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: capitalize;
}
.cta-left h2 {
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1.2;
  margin: 8px 0 0 0;
}

.cta-form-inline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: #ffffff;
  border: 1px solid rgba(176, 137, 47, 0.35);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  align-items: center;
}
.cta-form-inline input[type="email"] {
  background: transparent;
  border: none;
  color: var(--color-text);
  padding: 12px 14px 12px 18px;
  outline: none;
}
.cta-form-inline input::placeholder {
  color: var(--color-muted);
  opacity: 0.9;
}
.cta-form-inline .btn {
  border-radius: 999px;
  padding: 12px 18px;
}

.site-footer {
  position: relative;
  background: var(--topbar-bg);
  color: #e5e7eb;
}
.site-footer .bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/banner.svg") center/cover no-repeat;
  opacity: 0.25;
}
.site-footer .overlay {
  position: relative;
  z-index: 1;
  padding: 48px 0;
}
.site-footer h4 {
  color: #dbeafe;
  margin-bottom: 8px;
}
.site-footer a {
  color: #e5e7eb;
}
.site-footer .links {
  display: grid;
  gap: 8px;
}
.site-footer .grid {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 900px) {
  .site-footer .grid {
    grid-template-columns: 1.2fr 1fr 1fr;
  }
}
.site-footer .bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  margin-top: 24px;
  color: #cbd5e1;
}
/* Footer text color adjustments */
.site-footer p,
.site-footer .bottom p {
  color: #ffffff;
}
/* Align Company column to the right on desktop */
@media (min-width: 900px) {
  .site-footer .grid > div:nth-child(2) {
    text-align: center;
  }
  .site-footer .grid > div:nth-child(3) {
    text-align: right;
  }
}

/* Forms */
form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
/* Make the consultation form full-width within its section */
form[data-consult] {
  max-width: 100%;
  width: 100%;
}
label {
  font-weight: 600;
  color: var(--color-text);
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(176, 137, 47, 0.25);
  background: #ffffff;
  color: var(--color-text);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}
.hint {
  color: var(--color-muted);
  font-size: 0.875rem;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 1px, 1px);
  border: 0;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.mt-2 {
  margin-top: 8px;
}
.mt-3 {
  margin-top: 12px;
}
.mt-4 {
  margin-top: 16px;
}
.mt-6 {
  margin-top: 24px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-2 {
  margin-bottom: 8px;
}
.mb-4 {
  margin-bottom: 16px;
}
.mb-6 {
  margin-bottom: 24px;
}

/* ADA: high-contrast focus visible for interactive */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Testimonial Carousel */
.testimonials {
  position: relative;
  background: #0f172a;
  color: #e5e7eb;
}
.testimonials .bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/banner.svg") center/cover no-repeat;
  opacity: 0.25;
}
.testimonials .overlay {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}
.testimonials h2 {
  color: #dbeafe;
  font-weight: 700;
}
.carousel {
  position: relative;
  max-width: 900px;
}
.slides {
  position: relative;
  overflow: hidden;
}
.slide {
  display: none;
}
.slide.active {
  display: block;
}
.carousel p {
  font-size: 1.0625rem;
}
.testimonials p,
.testimonials blockquote,
.testimonials figcaption {
  color: #ffffff;
}
.carousel blockquote {
  padding: 32px 0;
}
.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.chevron {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.dots {
  display: inline-flex;
  gap: 8px;
  margin-left: 8px;
}
.dot {
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.35);
}
.dot.active {
  background: #ffffff;
}

/* Timeline */
.timeline {
  position: relative;
  background: #f7f7f8;
}
.timeline .container {
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(176, 137, 47, 0.35);
  transform: translateX(-50%);
}
.timeline-list {
  display: grid;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .timeline-item {
    grid-template-columns: 1fr 1fr;
  }
  .timeline-item:nth-child(odd) .timeline-card {
    grid-column: 1 / 2;
    justify-self: end;
  }
  .timeline-item:nth-child(odd) .timeline-meta {
    grid-column: 2 / 3;
  }
  .timeline-item:nth-child(even) .timeline-card {
    grid-column: 2 / 3;
    justify-self: start;
  }
  .timeline-item:nth-child(even) .timeline-meta {
    grid-column: 1 / 2;
    justify-self: end;
  }
}
.timeline-meta {
  color: var(--color-muted);
  font-size: 0.875rem;
}
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: var(--color-gold);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(176, 137, 47, 0.15);
}
.timeline-card {
  background: #ffffff;
  border: 1px solid rgba(176, 137, 47, 0.18);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 16px 18px;
  max-width: 440px;
}
