/* Guildford & Godalming Construction — multi-page */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink: #1c1712;
  --gold: #c4a36a;
  --bronze: #9a7344;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --muted: #5a5248;
  --line: #e4ddd2;
  --shadow: 0 12px 32px rgba(28, 23, 18, 0.1);
  --radius: 12px;
  --nav-h: 88px;
  --max: 1140px;
  --ease: 0.28s ease;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--muted);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.eyebrow {
  display: inline-block;
  color: var(--bronze);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lead {
  font-size: 1.12rem;
  max-width: 62ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: var(--ease);
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--bronze);
  color: #fff;
  border-color: var(--bronze);
}

.btn-primary:hover {
  background: #7d5c34;
  border-color: #7d5c34;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}

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

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-full {
  width: 100%;
}

/* ===== NAV ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  min-height: var(--nav-h);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: var(--nav-h);
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.brand-logo {
  height: 68px;
  width: auto;
  max-width: min(280px, 42vw);
  display: block;
  object-fit: contain;
  object-position: left center;
  border-radius: 8px;
  background: #1c1712;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 28px;
  flex-wrap: wrap;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--bronze);
  transition: width var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--bronze);
}

.nav-cta {
  background: var(--bronze);
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 6px;
  font-weight: 600 !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #7d5c34;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: var(--ease);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO / CAROUSEL ===== */
.hero {
  position: relative;
  height: min(92vh, 820px);
  min-height: 520px;
  overflow: hidden;
  background: var(--ink);
}

.hero-carousel,
.hero-track {
  height: 100%;
  width: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(18, 14, 10, 0.72) 0%,
    rgba(18, 14, 10, 0.35) 55%,
    rgba(18, 14, 10, 0.45) 100%
  );
  z-index: 1;
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  box-sizing: border-box;
  width: min(100% - 40px, var(--max)) !important;
  max-width: none;
  height: 100%;
  margin-inline: auto !important;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 96px;
  padding-bottom: 56px;
  color: #fff;
  pointer-events: none;
}

.hero-copy > * {
  max-width: 680px;
  pointer-events: auto;
}

.hero-copy .eyebrow {
  color: var(--gold);
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 16px;
}

.hero-copy h1 span {
  color: var(--gold);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 48ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.carousel-nav {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.carousel-nav button {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(20, 16, 12, 0.35);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-nav .prev {
  left: 18px;
}
.carousel-nav .next {
  right: 18px;
}

.carousel-nav button:hover {
  background: var(--bronze);
  border-color: var(--bronze);
}

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
}

.carousel-dots button.active {
  width: 28px;
  background: var(--gold);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: grid;
  align-items: start;
  overflow: hidden;
  background: var(--ink);
}

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

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 14, 10, 0.25), rgba(18, 14, 10, 0.78));
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 110px 0 56px;
  max-width: 720px;
}

.page-hero-copy .eyebrow {
  color: var(--gold);
}

.page-hero-copy h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.5vw, 3.6rem);
  margin-bottom: 12px;
}

.page-hero-copy p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 56ch;
  font-size: 1.08rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 88px 0;
}

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

.section-ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.86);
}

.section-ink h2,
.section-ink h3 {
  color: #fff;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 12px;
}

.section-head p {
  margin-inline: auto;
  max-width: 62ch;
}

.section-head.left {
  text-align: left;
}

.section-head.left p {
  margin-inline: 0;
}

/* grids */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split.reverse .split-media {
  order: 2;
}

.split-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
}

.split-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.split-copy {
  align-self: start;
  padding-top: 4px;
}

.split-copy h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  margin-bottom: 16px;
}

.split-copy p + p {
  margin-top: 14px;
}

.split-copy .btn {
  margin-top: 24px;
}

.service-copy {
  padding-top: 4px;
  align-self: start;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}

.stat {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 8px;
}

.stat span {
  font-size: 0.92rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

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

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 16px rgba(28, 23, 18, 0.04);
  transition: transform var(--ease), box-shadow var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-img {
  height: 220px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-body h3 {
  font-size: 1.55rem;
}

.card-body p {
  font-size: 0.98rem;
}

.card-body .more {
  margin-top: auto;
  padding-top: 10px;
  color: var(--bronze);
  font-weight: 600;
  font-size: 0.9rem;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 160px;
  gap: 14px;
}

.mosaic figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic .a {
  grid-column: span 5;
  grid-row: span 2;
}
.mosaic .b {
  grid-column: span 4;
  grid-row: span 2;
}
.mosaic .c {
  grid-column: span 3;
  grid-row: span 2;
}
.mosaic .d {
  grid-column: span 4;
  grid-row: span 2;
}
.mosaic .e {
  grid-column: span 4;
  grid-row: span 2;
}
.mosaic .f {
  grid-column: span 4;
  grid-row: span 2;
}

.feature-list {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px var(--ink);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.process article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  height: 100%;
}

.process article::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--bronze);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.process h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.team-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 100%;
}

.team-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.team-card div {
  padding: 26px;
}

.team-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.faq {
  display: grid;
  gap: 14px;
  max-width: 860px;
  margin-inline: auto;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 600;
  list-style: none;
}

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

.faq details[open] summary {
  margin-bottom: 10px;
  color: var(--bronze);
}

.cta-band {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 28px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 16px;
  padding: 42px 40px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 8px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 50ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-panel {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  gap: 22px;
}

.contact-row h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.contact-row a {
  color: var(--bronze);
  font-weight: 500;
}

.contact-row a:hover {
  text-decoration: underline;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

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

.form-group {
  display: grid;
  gap: 8px;
}

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

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(154, 115, 68, 0.15);
}

.form-note {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  background: #f1e8d8;
  border-radius: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-note.show {
  display: block;
}

.form-note.success {
  background: #e8f2e6;
  border: 1px solid #b7d4b0;
  color: #1f3d1a;
}

.form-card button[type="submit"]:disabled {
  opacity: 0.75;
  cursor: wait;
}

.map-strip {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 280px;
}

.map-strip img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand .brand-logo {
  height: 78px;
  max-width: 300px;
  background: transparent;
}

.footer-grid h4 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.75;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ink);
  color: #fff;
}

.trust-strip div {
  padding: 26px 18px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  color: var(--gold);
  font-weight: 600;
}

/* service detail blocks */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.service-block:last-child {
  border-bottom: 0;
}

.service-block:nth-child(even) .service-media {
  order: 2;
}

.service-media {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

.service-copy {
  align-self: start;
  padding-top: 0;
  margin-top: 0;
}

.service-copy h3 {
  font-size: 2rem;
  margin: 0 0 12px;
}

.service-copy > .eyebrow {
  margin-bottom: 8px;
  margin-top: 0;
}

.service-copy p {
  margin: 0;
}

.service-copy p + p {
  margin-top: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .card-grid,
  .card-grid.cols-4,
  .process,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

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

  .split,
  .split.reverse,
  .contact-layout,
  .service-block,
  .cta-band,
  .promise-strip {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-media {
    order: 0;
  }

  /* Text always starts above the image when stacked */
  .service-block .service-copy {
    order: 1;
  }

  .service-block .service-media,
  .service-block:nth-child(even) .service-media {
    order: 2;
  }

  .split-copy,
  .promise-strip > div:first-child {
    order: 1;
  }

  .split-media,
  .promise-strip .split-media {
    order: 2;
  }

  .mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 200px;
  }

  .mosaic .a,
  .mosaic .b,
  .mosaic .c,
  .mosaic .d,
  .mosaic .e,
  .mosaic .f {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 72px;
  }

  .nav-bar {
    grid-template-columns: 1fr auto;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 32px;
    gap: 4px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: var(--ease);
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--nav-h));
    overflow-y: auto;
  }

  .nav-links a {
    padding: 12px 4px;
    font-size: 1.05rem;
  }

  .nav-links .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 12px;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .brand-logo {
    height: 54px;
    max-width: 200px;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-copy {
    padding-top: 88px;
    text-align: center;
    align-items: center;
  }

  .hero-copy > * {
    max-width: 36rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .carousel-nav .prev {
    left: 10px;
  }
  .carousel-nav .next {
    right: 10px;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip div:nth-child(2) {
    border-right: 0;
  }

  .page-hero {
    min-height: 300px;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  .nav-links {
    gap: 8px 16px;
  }

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

  .nav-cta {
    padding: 10px 16px !important;
  }

  .brand-logo {
    height: 58px;
    max-width: 220px;
  }
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.from-left {
  transform: translateX(-40px);
}

.reveal.from-right {
  transform: translateX(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

.hero-quote {
  display: block;
  margin: 0 0 20px;
  max-width: 38ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gold);
  border-left: 3px solid var(--gold);
  padding-left: 18px;
  background: rgba(18, 14, 10, 0.28);
  padding-top: 12px;
  padding-bottom: 12px;
  padding-right: 14px;
  border-radius: 0 8px 8px 0;
}

.hero-slide.active .hero-copy {
  animation: heroIn 0.65s ease both;
}

.hero-slide.active .hero-quote {
  animation: quoteIn 0.7s ease 0.08s both;
}

@keyframes heroIn {
  from {
    transform: translateY(14px);
  }
  to {
    transform: none;
  }
}

@keyframes quoteIn {
  from {
    opacity: 0.35;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.content-block {
  max-width: 72ch;
  margin-top: 18px;
}

.content-block p + p {
  margin-top: 14px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
}

.why-card h3 {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

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

.promise-strip ul {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.promise-strip li {
  padding-left: 28px;
  position: relative;
}

.promise-strip li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bronze);
  font-weight: 700;
}

@media (max-width: 1024px) {
  .why-grid,
  .promise-strip {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-copy,
  .hero-slide.active .hero-copy {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

@media (max-width: 640px) {
  .container,
  .container-wide {
    width: min(100% - 28px, var(--max));
  }

  .section {
    padding: 56px 0;
  }

  .section-head h2,
  .split-copy h2 {
    font-size: clamp(1.7rem, 7vw, 2.2rem);
  }

  .card-grid,
  .card-grid.cols-2,
  .card-grid.cols-4,
  .process,
  .stats,
  .team-grid,
  .trust-strip,
  .footer-grid,
  .form-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .mosaic {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .split-media,
  .split-media img,
  .service-media,
  .service-media img {
    min-height: 240px;
  }

  .cta-band,
  .form-card,
  .contact-panel {
    padding: 24px 18px;
  }

  .cta-band {
    text-align: center;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-card .btn,
  .split-copy .btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-copy {
    padding-top: 76px;
    padding-bottom: 72px;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .hero-quote {
    font-size: clamp(1rem, 4.2vw, 1.25rem);
    padding-left: 14px;
  }

  .page-hero-copy {
    padding: 88px 0 40px;
  }

  .page-hero-copy h1 {
    font-size: clamp(1.85rem, 7vw, 2.6rem);
  }

  .carousel-nav button {
    width: 40px;
    height: 40px;
  }

  .carousel-dots {
    bottom: 14px;
  }

  .pill-row {
    gap: 6px;
  }

  .map-strip {
    min-height: 200px;
  }
}

/* Laptop / small desktop polish */
@media (min-width: 981px) and (max-width: 1280px) {
  .hero-copy {
    padding-top: 88px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 3.6vw, 3.4rem);
  }

  .service-block,
  .split,
  .promise-strip {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-slide,
  .card,
  .card-img img {
    transition: none;
  }
}
