/* ============================================================
   DelMuro Designs — Landing Page Styles
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:    #184B29;
  --green-mid:     #1E5E35;
  --green-accent:  #2A7A47;
  --slate:         #627E8B;
  --slate-light:   #7A94A0;
  --charcoal:      #3A3D3B;   /* deck's primary dark — text & dark sections */
  --near-black:    #111412;   /* deck's deepest dark — hero, footer */
  --off-white:     #FAFBF9;   /* deck's main light bg */
  --off-white-alt: #EAEDF0;   /* alternate light section */
  --white:         #FFFFFF;
  --gray-light:    #D2CCCC;
  --gray-mid:      #7A7D7B;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --blue:      #1A72B8;
  --blue-dark: #155A92;

  --container: 1200px;
  --section-pad: 110px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section__headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 64px;
  text-align: center;
}

.section__eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 28px;
  text-align: center;
}

/* === SCROLL ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--sm  { padding: 10px 22px; font-size: 0.78rem; }
.btn--lg  { padding: 20px 44px; font-size: 0.95rem; }

.btn--primary {
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}
.btn--primary:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(24,75,41,0.45);
}

.btn--outline {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.btn--outline:hover {
  background: var(--slate-light);
  color: var(--white);
  border-color: var(--slate-light);
}

/* Nav CTA uses slate so it pops on the dark bar */
.nav .btn--sm {
  background: var(--slate);
  color: var(--white);
  border-color: var(--slate);
}
.nav .btn--sm:hover {
  background: var(--slate-light);
  border-color: var(--slate-light);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn--blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26,114,184,0.45);
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.3s ease;
}
.nav.scrolled { background: rgba(255,255,255,1); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.nav__logo img {
  height: 38px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__links a {
  color: var(--near-black);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav__links a:hover { color: var(--green-dark); }


/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.hero {
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  position: relative;
  overflow-x: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at -5% 60%, rgba(255,255,255,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 105% 10%, rgba(255,255,255,0.06) 0%, transparent 45%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__headline--green { color: var(--green-dark); }

.hero__headline {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 900;
  color: var(--near-black);
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 30px;
}

.hero__subhead {
  font-size: 1.155rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.65;
  max-width: 520px;
}

.hero__support {
  font-size: 1.155rem;
  color: var(--charcoal);
  font-weight: 500;
  margin-bottom: 52px;
  line-height: 1.65;
  max-width: 500px;
}

.hero__ctas {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

/* Collage */
.hero__collage {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  overflow: hidden;
}

.collage__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.collage__slide.active { opacity: 1; }

.collage__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.collage__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 48px 28px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  border-radius: 0 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.collage__tag {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate-light);
}

.collage__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.collage__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1C3D2E 0%, #2A6049 100%);
  border: 2px dashed rgba(98,126,139,0.3);
  border-radius: 14px;
}
.collage__placeholder--2 { background: linear-gradient(145deg, #2A3D1C 0%, #4A6029 100%); }
.collage__placeholder--3 { background: linear-gradient(145deg, #3D1C2A 0%, #6A2940 100%); }
.collage__placeholder--4 { background: linear-gradient(145deg, #1C2A3D 0%, #294060 100%); }
.collage__placeholder--5 { background: linear-gradient(145deg, #3D2E1C 0%, #6A5229 100%); }

.collage__inner {
  text-align: center;
}

.collage__tag {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.7;
  margin-bottom: 12px;
}

.collage__label {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: -0.01em;
}

.collage__dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.dot.active {
  background: var(--slate);
  transform: scale(1.2);
}
.dot:hover { background: rgba(255,255,255,0.5); }


/* ============================================================
   SECTION 2 — TRUST BAR
   ============================================================ */
.trust {
  background: var(--green-dark);
  padding: 72px 0;
}

.trust__headline {
  font-family: var(--font-head);
  font-size: 1.56rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}

.trust__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

.trust__logo {
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust__logo img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: var(--white);
  border-radius: 10px;
  padding: 12px 20px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.trust__logo img:hover { opacity: 1; }

.trust__divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.15);
}

.trust__proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 44px 60px 0;
  width: 125%;
  margin-left: -12.5%;
}

.proof__item {
  display: flex;
  align-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.proof__dot { display: none; }


/* ============================================================
   SECTION 3 — THE PROBLEM
   ============================================================ */
.problem {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.problem__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.problem__boxes {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.problem__image {
  position: sticky;
  top: 100px;
}

.problem__img {
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

.problem__col {
  padding: 40px 44px;
  border-radius: 16px;
}

.problem__col h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

.problem__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem__col ul li {
  padding-left: 28px;
  position: relative;
  font-size: 1.2rem;
  line-height: 1.5;
}

.problem__col--bad {
  background: var(--charcoal);
  color: var(--white);
}
.problem__col--bad h3 { color: var(--white); }
.problem__col--bad ul li::before {
  content: '✕';
  position: absolute; left: 0;
  color: var(--white);
  font-weight: 700;
}

.problem__col--good {
  background: var(--green-dark);
  color: var(--white);
}
.problem__col--good h3 { color: var(--white); }
.problem__col--good ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--white);
  font-weight: 700;
}

.problem__divider {
  background: #2E3130;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.problem__divider span {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.headline--green { color: var(--green-dark) !important; }


/* ============================================================
   SECTION 4 — BIG IDEA (BENTO GRID)
   ============================================================ */
.big-idea {
  background: var(--slate);
  padding: var(--section-pad) 0;
}

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto auto;
  grid-template-areas:
    "headline  headline  img1"
    "pillars   connector img1"
    "img2      img3      close";
  gap: 16px;
}

.bento__cell {
  border-radius: 16px;
  overflow: hidden;
}

.bento__cell--headline {
  grid-area: headline;
  background: var(--near-black);
  padding: 52px 56px;
  display: flex;
  align-items: center;
}
.bento__cell--headline h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.bento__cell--img1 {
  grid-area: img1;
  min-height: 460px;
}
.bento__cell--img2 { grid-area: img2; min-height: 260px; }
.bento__cell--img3 { grid-area: img3; min-height: 260px; }

.bento__placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background: rgba(0,0,0,0.2);
  border: 2px dashed rgba(255,255,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.bento__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}

.bento__cell--pillars {
  grid-area: pillars;
  background: var(--green-dark);
  padding: 40px 36px;
}

.bento__label {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.23rem, 1.91vw, 1.7rem);
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.bento__tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento__tags span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.bento__tags span::before {
  content: '•';
  color: var(--slate-light);
  flex-shrink: 0;
}

.bento__tags--green span {
  color: var(--near-black);
}
.bento__tags--green span::before {
  color: var(--green-accent);
}

.bento__cell--connector {
  grid-area: connector;
  background: var(--off-white);
  padding: 40px 36px;
}

.bento__connector-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.23rem, 1.91vw, 1.7rem);
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 20px;
}

.bento__cell--close {
  grid-area: close;
  background: var(--near-black);
  padding: 40px 36px;
  display: flex;
  align-items: center;
}

.bento__close {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--white);
  line-height: 1.4;
}

.big-idea__cta {
  text-align: center;
  margin-top: 48px;
}

/* Bento responsive */
@media (max-width: 900px) {
  .bento {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "headline  headline"
      "pillars   img1"
      "connector img1"
      "img2      img3"
      "close     close";
  }
  .bento__cell--img1 { min-height: 360px; }
}

@media (max-width: 600px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-areas:
      "headline"
      "img1"
      "pillars"
      "connector"
      "img2"
      "img3"
      "close";
  }
}


/* ============================================================
   SECTION 4b — ENGINEERED FOR VISIBILITY
   ============================================================ */
.visibility {
  background: var(--near-black);
  color: var(--white);
  padding: var(--section-pad) 0;
}

.visibility__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 72px;
}

.visibility__headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 28px;
}

.visibility__subhead {
  font-size: 1.1rem;
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 24px;
  font-weight: 500;
}

.visibility__body {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 16px;
}

.visibility__list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.visibility__list li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.visibility__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--slate);
}

.visibility__closing {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  line-height: 1.5;
}

/* WHY THIS MATTERS callout */
.visibility__callout {
  background: var(--green-dark);
  border-radius: 16px;
  padding: 52px 48px;
  position: sticky;
  top: 100px;
}

.visibility__callout-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}

.visibility__callout-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.visibility__callout-items p {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}
.visibility__callout-items p strong {
  color: var(--white);
  font-weight: 900;
  display: block;
}

/* Video area */
.visibility__video-wrap {
  text-align: center;
  margin-bottom: 64px;
}

.visibility__video-intro {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.visibility__video-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  margin: 24px 0 20px;
}
.visibility__video-placeholder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.visibility__play {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  padding-left: 4px;
}

.visibility__video-placeholder p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.visibility__video-caption {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.02em;
  width: 100%;
  margin-top: 80px;
  margin-bottom: 40px;
}

/* Bullet bar */
.visibility__bullets {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 80px;
}

.visibility__bullet {
  background: var(--slate);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 24px 20px;
  text-align: center;
  transition: background 0.2s;
}
.visibility__bullet:hover { background: var(--green-dark); }

.visibility__bullet span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.025rem;
  color: var(--white);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .visibility__bullets { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .visibility__top { grid-template-columns: 1fr; }
  .visibility__callout { position: static; }
  .visibility__bullets { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SECTION 4c — TESTIMONIAL
   ============================================================ */
.testimonial {
  background: var(--green-dark);
  padding: 100px 0;
}

.testimonial__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: center;
}

.testimonial__logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.15);
  padding-right: 80px;
}

.testimonial__logo {
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.testimonial__quote-col {
  background: var(--white);
  border-radius: 16px;
  padding: 48px 52px;
}

.testimonial__quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 0.5;
  color: var(--green-dark);
  margin-bottom: 24px;
  display: block;
}

.testimonial__text {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--near-black);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial__cite {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-mid);
  font-style: normal;
  display: block;
}

@media (max-width: 768px) {
  .testimonial__inner { grid-template-columns: 1fr; gap: 40px; }
  .testimonial__logo-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding-right: 0; padding-bottom: 40px; }
  .testimonial__logo { max-width: 180px; }
}

/* ============================================================
   SECTION 5 — 5 RELATIONSHIPS
   ============================================================ */
.relationships {
  background: var(--off-white);
  padding: var(--section-pad) 0;
}

.relationships__subhead {
  font-size: 1.1rem;
  color: var(--charcoal);
  line-height: 1.75;
  max-width: 820px;
  margin: -36px auto 56px;
  text-align: center;
}

.relationships__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.rel__card {
  border-radius: 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.rel__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
}

/* Card colors — used as fallback when no image */
.rel__card { background: var(--green-dark); }
.rel__card:nth-child(2),
.rel__card:nth-child(4) { background: var(--slate); }

/* Background image */
.rel__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark gradient overlay */
.rel__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 100%);
}

/* Text content sits above image and overlay */
.rel__card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  z-index: 2;
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.rel__card .rel__number { color: var(--white) !important; }
.rel__card h3 { color: var(--white) !important; }
.rel__card p { color: var(--white) !important; }

.rel__number {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 20px;
}

.rel__card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 14px;
}

.rel__card p {
  font-size: 0.88rem;
  line-height: 1.65;
}


.relationships__cta {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   SECTION 6 — CASE STUDIES
   ============================================================ */
.cases {
  background: var(--near-black);
  padding: var(--section-pad) 0;
}
.cases .section__headline { color: var(--white); }

.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 90px;
  padding-bottom: 90px;
  border-bottom: 3px solid var(--white);
}
.case:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.case--reverse .case__visual { order: 2; }
.case--reverse .case__content { order: 1; }
.case--feature { grid-template-columns: 1fr 2fr; align-items: start; row-gap: 16px; }
.case--feature .case__header { grid-column: 1 / -1; }
.case--feature .case__img { aspect-ratio: unset; height: 100%; min-height: 420px; }

.case__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.case__label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.case__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.2;
}

.case__cols {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.case__full-img {
  grid-column: 1 / -1;
  margin-top: 16px;
}
.case__full-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  object-fit: cover;
}

.case__block h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.case__block p {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.65;
}


/* ============================================================
   SECTION 7 — PROCESS
   ============================================================ */
.process {
  background: var(--white);
  color: var(--charcoal);
  padding: var(--section-pad) 0;
}
.process .section__headline { color: var(--near-black); }

.process__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 64px;
  background: var(--green-dark);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--green-dark);
}

.step {
  flex: 1;
  padding: 48px 32px;
  border-right: 1px solid rgba(255,255,255,0.15);
  position: relative;
  transition: background 0.25s ease;
}
.step:last-child { border-right: none; }
.step:hover,
.step.active { background: var(--gray-light); }

.step__num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3rem;
  color: var(--white);
  opacity: 1;
  line-height: 1;
  margin-bottom: 20px;
  transition: color 0.25s ease;
}

.step h3 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.step p {
  font-size: 0.86rem;
  color: var(--white);
  line-height: 1.6;
  transition: color 0.25s ease;
}

.step:hover .step__num,
.step:hover h3,
.step:hover p,
.step.active .step__num,
.step.active h3,
.step.active p { color: var(--near-black); }

.step__connector { display: none; }

.process__close {
  text-align: center;
  width: 100%;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--charcoal);
  line-height: 1.2;
  letter-spacing: -0.02em;
}


/* ============================================================
   SECTION 8 — DIFFERENTIATORS
   ============================================================ */
.diff {
  background: var(--near-black);
  padding: 0 0 var(--section-pad);
}

.diff .section__headline {
  color: var(--white);
  padding-top: var(--section-pad);
  margin-bottom: 48px;
}

.diff__hero {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  position: relative;
  margin-bottom: 4px;
}
.diff__hero img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.diff__hero-placeholder {
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  border: 2px dashed rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.diff__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 100%;
  overflow: hidden;
  margin-top: var(--section-pad);
}

.diff__item {
  background: var(--charcoal);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  cursor: default;
  transition: background 0.25s ease;
}
.diff__item:hover { background: var(--green-dark); }
.diff__item:hover .diff__icon { color: rgba(255,255,255,0.4); }
.diff__item:hover p { color: var(--white); }

.diff__icon {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--slate);
  line-height: 1;
  transition: color 0.25s ease;
}

.diff__item p {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  transition: color 0.25s ease;
}

@media (max-width: 900px) {
  .diff__grid { grid-template-columns: repeat(3, 1fr); }
  .diff__hero { aspect-ratio: 16/9; }
}


/* ============================================================
   SECTION 9 — FINAL CTA
   ============================================================ */
.cta-final {
  background: var(--near-black);
  padding: 130px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(24,75,41,0.6) 0%, transparent 60%);
  pointer-events: none;
}

.cta-final .container { position: relative; z-index: 1; }

.cta-final__headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 28px;
  line-height: 1.15;
}

.cta-final__body {
  font-size: 1.05rem;
  color: var(--white);
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.75;
}

.cta-final__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--near-black);
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer__inner { text-align: center; }

.footer__logo {
  margin-bottom: 10px;
}
.footer__logo img {
  height: 44px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.footer__tagline {
  color: rgba(255,255,255,0.3);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.footer__copy {
  color: rgba(255,255,255,0.2);
  font-size: 0.8rem;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .relationships__grid { grid-template-columns: repeat(3, 1fr); }
  .process__steps { flex-direction: column; border-radius: 12px; }
  .step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .step:last-child { border-bottom: none; }

  /* Hero: tighten gap, square collage, reduce padding so nothing clips on short viewports */
  .hero { padding: 110px 0 64px; }
  .hero__inner { gap: 48px; }
  .hero__collage { aspect-ratio: 1/1; }
}

@media (max-width: 860px) {
  .hero { padding: 100px 0 56px; }
  .hero__inner { gap: 32px; }
  .hero__collage { aspect-ratio: 1/1; }
  .hero__headline { font-size: clamp(1.65rem, 4.2vw, 2.8rem); }
  .hero__subhead { font-size: 0.95rem; }
  .hero__support { font-size: 0.95rem; margin-bottom: 36px; }
}

/* Stack hero only at genuinely small screens */
@media (max-width: 620px) {
  .hero { padding: 90px 0 48px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 16px; }
  .hero__visual { order: -1; }
  .hero__collage { aspect-ratio: 16/9; }
  .hero__headline { font-size: clamp(1.7rem, 7.5vw, 2.8rem); }
  .hero__subhead { font-size: 0.95rem; max-width: 100%; }
  .hero__support { margin-bottom: 28px; max-width: 100%; font-size: 0.95rem; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { width: 100%; text-align: center; white-space: normal; line-height: 1.4; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px; }
  .container { padding: 0 20px; }

  .trust__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust__logo { padding: 16px; }
  .trust__logo img { height: 64px; max-width: 140px; }
  .trust__divider { display: none; }
  .trust__proof { width: 100%; margin-left: 0; padding: 32px 0 0; gap: 16px 32px; }
  .trust__headline { font-size: 1.1rem; margin-bottom: 32px; }

  .problem__layout { grid-template-columns: 1fr; }
  .problem__image { display: none; }
  .problem__col { padding: 48px 36px; }

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

  .case { grid-template-columns: 1fr; gap: 36px; }
  .case--reverse .case__visual { order: -1; }
  .case--reverse .case__content { order: 0; }

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

  .nav__links a:not(.btn) { display: none; }
}

@media (max-width: 480px) {
  .relationships__grid { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr; }
  .trust__logos { grid-template-columns: 1fr; }
  .trust__logo { padding: 8px 24px; }
  .cta-final__buttons { flex-direction: column; align-items: center; }
  .cta-final__buttons .btn { width: 100%; text-align: center; max-width: 360px; }
}


/* ============================================================
   BOOKING MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 18, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 24px;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--off-white);
  border-radius: 12px;
  padding: 48px 40px 40px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray-mid);
  padding: 4px;
}

.modal__close:hover { color: var(--charcoal); }

.modal__title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.modal__sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-mid);
  margin-bottom: 28px;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.modal__form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__form-group label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.01em;
}

.modal__form input,
.modal__form select,
.modal__form textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-light);
  border-radius: 6px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

.modal__form input:focus,
.modal__form select:focus,
.modal__form textarea:focus {
  border-color: var(--green-accent);
}

.modal__form input::placeholder,
.modal__form textarea::placeholder {
  color: var(--gray-mid);
}

.modal__form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A7D7B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.modal__form textarea {
  resize: vertical;
  min-height: 90px;
}

.modal__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.modal__checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
}

.modal__checkbox input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  padding: 0;
  border: 1.5px solid var(--gray-light);
  border-radius: 3px;
  accent-color: var(--green-accent);
  cursor: pointer;
}

.modal__form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.modal__success {
  text-align: center;
  padding: 24px 0 8px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--green-dark);
}

@media (max-width: 520px) {
  .modal { padding: 40px 24px 32px; }
  .modal__title { font-size: 1.15rem; }
  .modal__form-row { grid-template-columns: 1fr; }
}
