:root {
  --color-navy: #2B5672;
  --color-navy-dark: #1E3D52;
  --color-gold: #C8A97A;
  --color-gold-dark: #A68855;
  --color-cream: #F7F4F0;
  --color-sand: #EDE9E3;
  --color-dark: #1E2832;
  --color-muted: #6B7280;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-dark);
}

/* ─── Buttons ─── */

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-navy);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--color-navy);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

.btn-primary:hover {
  background-color: var(--color-navy-dark);
  border-color: var(--color-navy-dark);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 32px;
  background-color: transparent;
  color: var(--color-navy);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--color-navy);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.btn-secondary:hover {
  background-color: var(--color-navy);
  color: #ffffff;
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-ghost {
  display: inline-block;
  padding: 13px 32px;
  background-color: transparent;
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid #ffffff;
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.btn-ghost:hover {
  background-color: #ffffff;
  color: var(--color-navy);
}

.btn-ghost:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.btn-gold {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-gold);
  color: var(--color-dark);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 2px solid var(--color-gold);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  line-height: 1;
}

.btn-gold:hover {
  background-color: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
}

/* ─── Lists ─── */

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: 700;
}

.cross-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cross-list li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.cross-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #E03939;
  font-weight: 700;
}

/* ─── Star rating ─── */

.star-rating {
  display: flex;
  gap: 2px;
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* ─── Form inputs ─── */

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #D1CEC9;
  background-color: #ffffff;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--color-dark);
  border-radius: 2px;
  transition: border-color 0.2s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus {
  border-color: var(--color-navy);
}

.form-input::placeholder {
  color: #AEAAA4;
}

.form-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}

/* ─── FAQ ─── */

.faq-item {
  border-bottom: 1px solid var(--color-sand);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.75rem;
  color: var(--color-navy);
  flex-shrink: 0;
  line-height: 1;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-content {
  padding: 0 2rem 20px 0;
  color: var(--color-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ─── Section helpers ─── */

.section-label {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-label-light {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.75rem;
}

/* ─── Nav ─── */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(237, 233, 227, 0.8);
  transition: box-shadow 0.2s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 16px rgba(27, 61, 82, 0.08);
}

.nav-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--color-navy);
}

.nav-cta {
  display: none;
}

.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.nav-hamburger span {
  display: block;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  background-color: #ffffff;
  border-top: 1px solid var(--color-sand);
  padding: 1.5rem;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-dark);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-sand);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-cta {
    display: inline-block;
  }

  .nav-hamburger {
    display: none;
  }
}

/* ─── Portfolio card hover ─── */

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.portfolio-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.04);
}

.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 61, 82, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-card-overlay {
  opacity: 1;
}

/* ─── Process step ─── */

.process-step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--color-gold);
  flex-shrink: 0;
  margin-bottom: 1rem;
}

/* ─── Testimonial card ─── */

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--color-sand);
  border-radius: 2px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--color-goldLight);
  font-family: Georgia, serif;
  pointer-events: none;
}

/* ─── Service card ─── */

.service-card {
  background: #ffffff;
  border: 1px solid var(--color-sand);
  border-radius: 2px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(43, 86, 114, 0.1);
  border-color: var(--color-gold);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--color-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--color-navy);
  font-size: 1.4rem;
}
