/* ==========================================================================
   Lithos Projects: Homepage styles
   Design tokens per design_handoff_lithos_homepage/README.md
   ========================================================================== */

:root {
  --color-olive: #323D1D;      /* primary / CTA / dark sections */
  --color-ink: #252B27;        /* darkest, footer bg, body text on light */
  --color-sage: #6E7561;       /* eyebrows, secondary text, hover state */
  --color-cream: #F8F7F2;      /* alternate section bg */
  --color-hairline: #E8E5DE;   /* borders / dividers */
  --color-white: #FFFFFF;

  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Manrope', sans-serif;

  --section-pad-y: clamp(48px, 7vw, 96px);
  --section-pad-y-lg: clamp(56px, 8vw, 104px);
  --section-pad-y-xl: clamp(64px, 9vw, 120px);
  --section-pad-x: clamp(20px, 5vw, 64px);

  --radius: 3px;
  --radius-lg: 4px;
  --radius-logo: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-olive);
  text-decoration: none;
}

a:hover {
  color: var(--color-sage);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 30px;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--color-olive);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-sage);
  color: var(--color-white);
}

.btn-outline {
  border-color: var(--color-olive);
  color: var(--color-olive);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--color-sage);
  color: var(--color-sage);
}

.btn-small {
  padding: 11px 22px;
  font-size: 14px;
}

.btn-on-dark {
  background: var(--color-white);
  color: var(--color-olive);
  font-weight: 700;
  padding: 17px 34px;
}

.btn-on-dark:hover {
  background: var(--color-hairline);
  color: var(--color-olive);
}

/* ---- Eyebrow / labels ---- */
.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 700;
  margin: 0 0 12px;
}

.eyebrow-center {
  text-align: center;
}

/* ---- Headings ---- */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--color-ink);
  margin: 0;
}

.h1 {
  font-weight: 500;
  font-size: clamp(38px, 5.5vw, 64px);
  line-height: 1.08;
}

.h2 {
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  text-align: center;
  margin-bottom: 48px;
}

.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--color-sage);
  margin: 0 0 16px;
}

.pull-quote-lg {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--color-olive);
  line-height: 1.35;
  margin: 0 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--section-pad-x);
  gap: 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-img {
  height: 40px;
  width: 40px;
  border-radius: var(--radius-logo);
  object-fit: cover;
  flex-shrink: 0;
}

.wordmark {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--color-ink);
}

.wordmark-footer {
  color: var(--color-white);
  font-size: 17px;
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-cta {
  flex-shrink: 0;
  white-space: nowrap;
}

.header-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Mobile nav drawer ---- */
@media (max-width: 800px) {
  .wordmark br {
    display: none;
  }

  .wordmark {
    font-size: 16px;
    white-space: nowrap;
  }

  .main-nav {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px var(--section-pad-x);
    font-size: 18px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
  }

  .main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--color-hairline);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .header-cta {
    display: none;
  }

  .main-nav .header-cta-mobile {
    display: inline-block;
    margin-top: 20px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-toggle[aria-expanded="true"] .bar-1 {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .bar-2 {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: var(--section-pad-y) var(--section-pad-x);
  background: var(--color-cream);
}

.hero-body {
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-ink);
  max-width: 560px;
  margin: 24px 0 32px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.credential-line {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 600;
  margin: 0;
}

.hero-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
    order: 1;
    margin-top: 32px;
  }
}

/* ---- Placeholder image block ---- */
.placeholder-img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  background: repeating-linear-gradient(
    135deg,
    #EDEBE3,
    #EDEBE3 10px,
    #E3E0D6 10px,
    #E3E0D6 20px
  );
  border: 1px dashed var(--color-sage);
  color: var(--color-sage);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 16px;
}

/* ==========================================================================
   Simple centered text sections (The Gap / Insight)
   ========================================================================== */

.text-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
}

.text-section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.text-section-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0;
}

.section-cream {
  background: var(--color-cream);
}

.section-dark {
  background: var(--color-olive);
  color: var(--color-white);
}

.section-dark .pull-quote-lg {
  color: var(--color-white);
}

.section-dark .text-section-body {
  color: var(--color-white);
  opacity: 0.9;
}

/* ==========================================================================
   What We Manage: services grid
   ========================================================================== */

.services-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  background: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--color-hairline);
  border: 1px solid var(--color-hairline);
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 801px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--color-white);
  padding: 28px 22px;
}

.service-number {
  font-size: 12px;
  color: var(--color-sage);
  font-weight: 700;
  margin: 0 0 8px;
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--color-olive);
}

.service-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-ink);
  margin: 0;
}

@media (max-width: 800px) {
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    background: none;
    border: none;
    gap: 16px;
    margin: 0 calc(var(--section-pad-x) * -1);
    padding: 0 var(--section-pad-x) 8px;
  }

  .service-card {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border: 1px solid var(--color-hairline);
    border-radius: var(--radius-lg);
  }
}

/* ==========================================================================
   Network / trades
   ========================================================================== */

.network-section {
  background: var(--color-cream);
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  text-align: center;
}

.network-section .text-section-inner {
  text-align: center;
}

.network-section .pull-quote-lg {
  text-align: center;
}

.network-section .text-section-body {
  margin: 0 auto 16px;
  max-width: 720px;
}

.network-line {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  color: var(--color-olive);
  margin: 20px 0 0;
}

/* ==========================================================================
   Comparison
   ========================================================================== */

.comparison-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
}

.compare-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}

.compare-card {
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
}

.compare-card-featured {
  background: var(--color-olive);
  border-color: var(--color-olive);
  box-shadow: 0 16px 32px -20px rgba(37, 43, 39, 0.45);
  transform: translateY(-6px);
}

.compare-card-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--color-ink);
  margin: 0 0 14px;
}

.compare-card-featured .compare-card-title {
  color: var(--color-white);
}

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

.compare-card-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--color-hairline);
}

.compare-card-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.compare-card-featured .compare-card-list li {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.compare-label {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-sage);
}

.compare-card-featured .compare-label {
  color: rgba(255, 255, 255, 0.75);
}

.compare-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-ink);
}

.compare-card-featured .compare-value {
  color: var(--color-white);
}

@media (max-width: 700px) {
  .compare-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 14px;
  }

  .compare-card-featured {
    transform: none;
    order: -1;
  }
}

/* ==========================================================================
   Proof / case studies
   ========================================================================== */

.proof-section {
  background: var(--color-cream);
  padding: var(--section-pad-y-lg) var(--section-pad-x);
}

.proof-grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto 24px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-hairline);
}

.case-media {
  aspect-ratio: 16 / 10;
}

.case-compare {
  position: relative;
  overflow: hidden;
}

.case-compare-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.case-compare-after {
  position: relative;
}

.case-compare-before-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.case-compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--color-white);
  box-shadow: 0 0 0 1px rgba(37, 43, 39, 0.2);
  transform: translateX(-1px);
  pointer-events: none;
}

.case-compare-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 43, 39, 0.8);
  color: var(--color-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius);
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.case-compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.case-compare-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: ew-resize;
}

.case-compare-slider::-moz-range-thumb {
  width: 2px;
  height: 100%;
  background: transparent;
  border: none;
  cursor: ew-resize;
}

.case-compare-slider::-moz-range-track {
  background: transparent;
}

.case-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 700;
  margin: 0 0 20px;
}

.case-hero-number {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1.05;
  color: var(--color-olive);
  margin: 0;
}

.case-hero-caption {
  font-size: 13px;
  color: var(--color-sage);
  margin: 8px 0 24px;
}

.case-divider {
  border: none;
  border-top: 1px solid var(--color-hairline);
  margin: 0 0 24px;
}

.case-substats {
  display: flex;
  gap: 32px;
  margin: 0 0 24px;
  flex-wrap: wrap;
}

.case-substat-number {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-ink);
  margin: 0;
}

.case-substat-caption {
  font-size: 12.5px;
  color: var(--color-sage);
  margin: 4px 0 0;
}

.case-explainer {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-ink);
  margin: 0 0 24px;
}

.case-managed-label {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-sage);
  font-weight: 700;
  margin: 0 0 6px;
}

.case-managed-list {
  font-size: 13.5px;
  color: var(--color-ink);
  line-height: 1.6;
  margin: 0;
}

.proof-disclaimer {
  font-size: 12.5px;
  color: var(--color-sage);
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .proof-grid {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: none;
    margin: 0 calc(var(--section-pad-x) * -1) 24px;
    padding: 0 var(--section-pad-x) 8px;
  }

  .case-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }
}

/* ==========================================================================
   Gallery / before-after carousel
   ========================================================================== */

.gallery-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  background: var(--color-white);
}

.gallery-intro {
  text-align: center;
  font-size: 15.5px;
  color: var(--color-sage);
  margin: -32px 0 40px;
}

.carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.carousel-track {
  position: relative;
}

.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

.carousel-caption {
  font-size: 13.5px;
  color: var(--color-sage);
  text-align: center;
  margin: 16px 0 0;
}

.carousel-nav {
  position: absolute;
  top: calc(50% - 20px);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-olive);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.carousel-nav:hover {
  background: var(--color-white);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 0;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 1px;
  background: var(--color-hairline);
  cursor: pointer;
}

.carousel-dot.is-active {
  background: var(--color-olive);
}

/* ==========================================================================
   Founder
   ========================================================================== */

.founder-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
}

.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.founder-media {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.founder-body p {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0 0 16px;
}

.founder-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  margin: 8px 0 0;
}

.founder-title {
  font-size: 14px;
  color: var(--color-olive);
  font-weight: 600;
  margin: 2px 0 0;
}

.founder-credential {
  font-size: 13px;
  color: var(--color-sage);
  margin: 10px 0 0;
}

@media (max-width: 800px) {
  .founder-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Transparency band
   ========================================================================== */

.transparency-band {
  background: var(--color-hairline);
  padding: clamp(40px, 6vw, 72px) var(--section-pad-x);
}

.transparency-band p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-ink);
  text-align: center;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
  background: var(--color-olive);
  color: var(--color-white);
  padding: var(--section-pad-y-xl) var(--section-pad-x);
  text-align: center;
}

.cta-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.3;
  max-width: 720px;
  margin: 0 auto 16px;
}

.cta-subline {
  font-size: 14.5px;
  color: var(--color-white);
  opacity: 0.85;
  margin: 0 0 32px;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  background: var(--color-cream);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  margin: 0;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.5;
  color: var(--color-olive);
  margin: 0 0 16px;
}

.testimonial-attribution {
  font-size: 13px;
  color: var(--color-sage);
  font-style: normal;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  background: var(--color-white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-top: 1px solid var(--color-hairline);
  padding: 6px 0;
}

.faq-list .faq-item:last-child {
  border-bottom: 1px solid var(--color-hairline);
}

.faq-item summary {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-ink);
  padding: 16px 28px 16px 0;
  cursor: pointer;
  position: relative;
  list-style: none;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-olive);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-ink);
  margin: 0 0 20px;
  max-width: 700px;
}

/* ==========================================================================
   Enquiry form
   ========================================================================== */

.enquiry-section {
  padding: var(--section-pad-y-lg) var(--section-pad-x);
  background: var(--color-cream);
}

.enquiry-direct-contact {
  text-align: center;
  font-size: 14.5px;
  color: var(--color-ink);
  margin: 0 0 40px;
}

.enquiry-direct-contact a {
  font-weight: 600;
}

.enquiry-form {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.enquiry-form[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.enquiry-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink);
}

.enquiry-form input[type="text"],
.enquiry-form input[type="email"],
.enquiry-form input[type="tel"],
.enquiry-form input[type="file"],
.enquiry-form select,
.enquiry-form textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-ink);
  background: var(--color-white);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius);
  padding: 12px 14px;
  width: 100%;
}

.enquiry-form textarea {
  resize: vertical;
  min-height: 100px;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--color-olive);
}

.enquiry-submit {
  width: 100%;
}

.privacy-note {
  font-size: 12.5px;
  color: var(--color-sage);
  margin: 12px 0 0;
  text-align: center;
}

.form-confirmation {
  font-size: 14.5px;
  color: var(--color-olive);
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--color-olive);
  border-radius: var(--radius);
  padding: 16px;
  max-width: 700px;
  margin: 20px auto 0;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: var(--color-white);
  padding: 48px var(--section-pad-x) 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto 24px;
}

.footer-logo {
  height: 40px;
  width: 40px;
  border-radius: var(--radius-logo);
  object-fit: cover;
}

.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-nav a {
  color: var(--color-hairline);
}

.footer-nav a.footer-policy-link {
  color: var(--color-sage);
  font-size: 13px;
  padding-left: 24px;
  border-left: 1px solid #3A4239;
}

.footer-contact {
  max-width: 1200px;
  margin: 0 auto 16px;
  font-size: 14px;
}

.footer-contact a {
  color: var(--color-white);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--color-hairline);
}

.footer-contact-sep {
  color: var(--color-sage);
  margin: 0 8px;
}

.footer-legal {
  max-width: 1200px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--color-sage);
  line-height: 1.6;
  border-top: 1px solid #3A4239;
  padding-top: 20px;
}

.footer-legal a {
  color: var(--color-hairline);
  text-decoration: underline;
}

.footer-legal a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   Legal pages (Terms, Privacy)
   ========================================================================== */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.legal-back {
  margin: 0 0 32px;
  font-size: 14px;
  font-weight: 600;
}

.legal-h1 {
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.1;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 13px;
  color: var(--color-sage);
  margin: 0 0 48px;
}

.legal-content h2 {
  font-weight: 600;
  font-size: 22px;
  margin: 48px 0 16px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--color-ink);
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-ink);
  margin-bottom: 6px;
}

.legal-content li::marker {
  color: var(--color-olive);
}

.legal-entity {
  background: var(--color-cream);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}

.legal-placeholder {
  color: var(--color-sage);
  font-style: italic;
}
