/* ============================================================
   Intellect Business Services Ltd — Main Stylesheet
   Palette: cream #F4F1EA | forest #1B4332 | sage #40916C | tan #D4A373
   ============================================================ */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2-variations");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --base: #F4F1EA;
  --base-deep: #E8E4D9;
  --primary: #1B4332;
  --primary-soft: #2D6A4F;
  --secondary: #40916C;
  --accent: #D4A373;
  --accent-soft: #E6C9A8;
  --text: #1A1A1A;
  --text-muted: #3D3D3D;
  --white: #FFFFFF;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1180px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 18px 40px rgba(27, 67, 50, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--base);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--secondary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s var(--ease);
}

a:hover,
a:focus-visible {
  color: var(--primary);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }

p { max-width: 65ch; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--primary);
  color: var(--base);
  padding: 0.75rem 1rem;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  width: min(220px, 52vw);
  height: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  width: 44px;
  height: 44px;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--secondary);
}

.site-nav .nav-cta {
  background: var(--primary);
  color: var(--base) !important;
  padding: 0.65rem 1.1rem;
  text-decoration: none;
  display: inline-block;
}

.site-nav .nav-cta:hover {
  background: var(--secondary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--secondary);
  color: var(--white);
  position: relative;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.35s var(--ease);
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--primary);
  color: var(--base);
}

.btn-outline-light {
  background: transparent;
  color: var(--base);
  border: 1.5px solid var(--base);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--base);
  color: var(--primary);
}

.btn-accent {
  background: var(--accent);
  color: var(--text);
}

.btn-accent:hover {
  background: var(--primary);
  color: var(--base);
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--secondary);
}

.btn-learn-more::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.btn-learn-more:hover::after {
  transform: translateX(4px);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* ---------- Hero (editorial asymmetric) ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: grid;
  align-items: end;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
  background: var(--primary);
  color: var(--base);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
}

.hero-brand {
  margin-bottom: 1.5rem;
}

.hero-brand img {
  width: min(320px, 70vw);
  filter: none;
}

.hero h1 {
  color: var(--base);
  max-width: 12ch;
  margin-bottom: 1rem;
}

.hero-lead {
  color: rgba(244, 241, 234, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 34ch;
}

.hero-visual-wrap {
  position: relative;
}

.hero-visual-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(244, 241, 234, 0.15);
}

.hero-meta {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(27, 67, 50, 0.15);
  padding-bottom: 1.25rem;
}

.section-head p {
  color: var(--text-muted);
  max-width: 36ch;
  justify-self: end;
  text-align: right;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.accent-rule {
  width: 48px;
  height: 3px;
  background: var(--accent);
  margin: 1rem 0 1.5rem;
}

/* ---------- Intro ---------- */
.intro-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

.intro-block .display-line {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  color: var(--primary);
  line-height: 1.1;
}

.intro-block p + p {
  margin-top: 1rem;
}

/* ---------- Bento / asymmetric grids ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.bento-card {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.08);
  padding: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.bento-card:hover {
  box-shadow: var(--shadow);
}

.bento-card .card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
}

.bento-card h3 {
  margin-bottom: 0.65rem;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.bento-card.span-5 { grid-column: span 5; }
.bento-card.span-7 { grid-column: span 7; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-12 { grid-column: span 12; }

.bento-card.tall {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-card.dark {
  background: var(--primary);
  color: var(--base);
}

.bento-card.dark h3 { color: var(--base); }
.bento-card.dark p { color: rgba(244, 241, 234, 0.8); }

.bento-card.sage {
  background: var(--secondary);
  color: var(--white);
}

.bento-card.sage h3 { color: var(--white); }
.bento-card.sage p { color: rgba(255, 255, 255, 0.88); }

.bento-card.tan {
  background: var(--accent);
  color: var(--text);
}

.bento-card.tan h3 { color: var(--primary); }

.bento-card .card-media {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

/* ---------- Services preview ---------- */
.services-bento .service-card {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.services-bento .service-card:hover {
  box-shadow: var(--shadow);
}

.services-bento .service-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.services-bento .service-card .card-body {
  padding: 1.35rem 1.4rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.services-bento .service-card .card-body p {
  flex: 1;
  color: var(--text-muted);
}

/* ---------- Director preview ---------- */
.director-preview {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  background: var(--base-deep);
  padding: clamp(1.75rem, 4vw, 3rem);
  border-left: 4px solid var(--accent);
}

.director-preview blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  color: var(--primary);
  line-height: 1.35;
  font-weight: 500;
}

.director-preview .director-name {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text-muted);
}

/* ---------- Full director message ---------- */
.director-message {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 720px;
}

.director-message h2 {
  margin-bottom: 1.25rem;
}

.director-message p {
  margin-bottom: 1rem;
}

.director-message .director-name {
  margin-top: 1.75rem;
  font-weight: 700;
  color: var(--primary);
  border-top: 1px solid rgba(27, 67, 50, 0.12);
  padding-top: 1.25rem;
}

/* ---------- Company details ---------- */
.company-details {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  padding: 1.75rem;
}

.company-details li {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  font-size: 0.98rem;
}

.company-details li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.company-details strong,
.company-details li::before {
  /* structure via content in HTML */
}

.note-factual {
  background: rgba(212, 163, 115, 0.18);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  max-width: 70ch;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    linear-gradient(135deg, rgba(27, 67, 50, 0.04), transparent 50%),
    var(--base);
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.page-hero h1 {
  max-width: 14ch;
}

.page-hero p {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.4rem;
  color: var(--accent);
}

.breadcrumb a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--primary);
  color: var(--base);
  padding: clamp(3rem, 7vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.35), transparent 70%);
  right: -80px;
  top: -120px;
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--base);
  max-width: 16ch;
}

.cta-banner p {
  color: rgba(244, 241, 234, 0.85);
  margin: 1rem 0 1.75rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  padding: 1.75rem;
}

.contact-card h2 {
  margin-bottom: 1.25rem;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
}

.contact-list .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(27, 67, 50, 0.25);
  background: var(--base);
  color: var(--text);
  width: 100%;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.map-wrap {
  margin-top: 2.5rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  overflow: hidden;
  background: var(--base-deep);
}

.map-wrap img {
  width: 100%;
  aspect-ratio: 2/1;
  object-fit: cover;
}

.map-caption {
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.map-caption a {
  font-weight: 650;
}

/* ---------- Service detail ---------- */
.service-detail-hero {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(27, 67, 50, 0.12);
  margin-bottom: 2.5rem;
}

.service-detail-overview,
.service-detail-highlights,
.service-detail-cta {
  margin-bottom: 2.5rem;
}

.service-detail-highlights ul {
  margin-top: 1rem;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.65rem;
}

.service-detail-highlights li::marker {
  color: var(--accent);
}

.service-detail-cta {
  background: var(--primary);
  color: var(--base);
  padding: 2rem;
}

.service-detail-cta h2 {
  color: var(--base);
  margin-bottom: 1.25rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary);
  color: rgba(244, 241, 234, 0.85);
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.15);
}

.site-footer h3 {
  color: var(--base);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.site-footer a {
  color: var(--accent-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--base);
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--base);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  padding-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
  font-size: 0.88rem;
}

.footer-disclaimer {
  opacity: 0.75;
  font-size: 0.82rem;
}

/* ---------- Scroll animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .bento-card,
  .service-card {
    transition: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .intro-block,
  .director-preview,
  .contact-grid,
  .footer-grid,
  .section-head,
  .services-bento .service-card.span-12 > div {
    grid-template-columns: 1fr !important;
  }

  .section-head p {
    justify-self: start;
    text-align: left;
  }

  .bento-card.span-5,
  .bento-card.span-7,
  .bento-card.span-6,
  .bento-card.span-4,
  .bento-card.span-8 {
    grid-column: span 12;
  }

  .footer-grid {
    gap: 1.75rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--base);
    border-bottom: 1px solid rgba(27, 67, 50, 0.12);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease);
  }

  .site-nav.is-open {
    max-height: 360px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
  }

  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
  }

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-grid {
    gap: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .bento-card.span-5,
  .bento-card.span-7 {
    grid-column: span 6;
  }
  .bento-card.span-4 {
    grid-column: span 6;
  }
}
/* ---------- Offer rail (What we offer) ---------- */
.offer-rail {
  display: grid;
  gap: 1.25rem;
}

.offer-item {
  display: grid;
  grid-template-columns: minmax(140px, 0.85fr) minmax(0, 1.4fr);
  gap: 0;
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  overflow: hidden;
  min-height: 220px;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.offer-item:hover {
  box-shadow: var(--shadow);
}

.offer-item:nth-child(even) {
  grid-template-columns: minmax(0, 1.4fr) minmax(140px, 0.85fr);
}

.offer-item:nth-child(even) .offer-media {
  order: 2;
}

.offer-item:nth-child(even) .offer-copy {
  order: 1;
}

.offer-media {
  position: relative;
  min-height: 220px;
  background: var(--primary);
}

.offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.offer-copy {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.offer-index {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.offer-copy h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 18ch;
}

.offer-copy p {
  color: var(--text-muted);
  max-width: 48ch;
}

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.25rem;
}

.offer-tags span {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid rgba(27, 67, 50, 0.2);
  padding: 0.28rem 0.55rem;
}

.services-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.services-page-grid .service-panel {
  background: var(--white);
  border: 1px solid rgba(27, 67, 50, 0.1);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition: box-shadow 0.4s var(--ease);
}

.services-page-grid .service-panel:hover {
  box-shadow: var(--shadow);
}

.services-page-grid .service-panel:first-child,
.services-page-grid .service-panel:nth-child(6) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(200px, 0.9fr) minmax(0, 1.3fr);
  grid-template-rows: auto;
}

.services-page-grid .service-panel img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.services-page-grid .service-panel:first-child img,
.services-page-grid .service-panel:nth-child(6) img {
  aspect-ratio: auto;
  height: 100%;
  min-height: 240px;
}

.services-page-grid .service-panel .card-body {
  padding: clamp(1.25rem, 2.5vw, 1.85rem);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.services-page-grid .service-panel .card-body p {
  color: var(--text-muted);
  flex: 1;
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--base-deep);
  border-top: 1px solid rgba(27, 67, 50, 0.1);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.newsletter-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.newsletter h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 0.65rem;
}

.newsletter p {
  color: var(--text-muted);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: stretch;
}

.newsletter-form label {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  font-weight: 650;
}

.newsletter-form input[type="email"] {
  font: inherit;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(27, 67, 50, 0.25);
  background: var(--white);
  color: var(--text);
  width: 100%;
}

.newsletter-form input[type="email"]:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

.newsletter-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.newsletter-status {
  grid-column: 1 / -1;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--secondary);
  display: none;
}

.newsletter-status.is-visible {
  display: block;
}

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 72ch;
}

.legal-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.legal-content h3 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.legal-content ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.legal-content li + li {
  margin-top: 0.35rem;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* ---------- Footer expand ---------- */
.footer-grid {
  grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 0.75rem;
}

.footer-legal-links a {
  font-size: 0.88rem;
}

.content-stack p + p {
  margin-top: 1rem;
}

.content-stack h3 {
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.approach-list {
  list-style: none;
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.approach-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.approach-list .step {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent);
  font-weight: 600;
  line-height: 1;
}

@media (max-width: 960px) {
  .offer-item,
  .offer-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .offer-item:nth-child(even) .offer-media,
  .offer-item:nth-child(even) .offer-copy {
    order: initial;
  }

  .offer-media {
    min-height: 180px;
    aspect-ratio: 16/9;
  }

  .services-page-grid {
    grid-template-columns: 1fr;
  }

  .services-page-grid .service-panel:first-child,
  .services-page-grid .service-panel:nth-child(6) {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

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

  .newsletter-form {
    grid-template-columns: 1fr;
  }
}
