/* =========================================
   COMPONENT STYLES
   JDE Brickwork & Repointing
   ========================================= */


/* =========================================
   NAVIGATION
   ========================================= */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.site-nav.scrolled {
  background-color: var(--color-bg-soft);
  border-bottom-color: var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* --- Logo --- */
.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
  color: inherit;
}

.nav-logo__jde {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-gold);
  line-height: 1;
  letter-spacing: 0.02em;
}

.nav-logo__sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.6rem;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-white);
  line-height: 1;
}

/* --- Desktop nav links --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-white);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* --- Phone pill --- */
.nav-phone {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--color-white);
  background-color: var(--color-brick);
  padding: 10px 20px;
  border-radius: 100px;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.nav-phone:hover {
  background-color: var(--color-brick-light);
  color: var(--color-white);
}

/* --- Hamburger button --- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  z-index: 1100;
  position: relative;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-white);
  transition: transform 0.35s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate to X */
.nav-hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

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

/* --- Mobile overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.nav-overlay__links a {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.25s ease;
  letter-spacing: 0.02em;
}

.nav-overlay__links a:hover {
  color: var(--color-gold);
}

.nav-overlay__phone {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--color-white);
  background-color: var(--color-brick);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.nav-overlay__phone:hover {
  background-color: var(--color-brick-light);
  color: var(--color-white);
}

/* --- Responsive: show hamburger, hide desktop nav --- */
@media (max-width: 900px) {
  .nav-links,
  .nav-phone {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }
}


/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background-color: var(--color-bg-soft);
  border-top: 1px solid var(--color-gold);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem 4rem;
  padding-bottom: 64px;
}

/* --- Footer logo variant --- */
.nav-logo--footer {
  align-items: baseline;
  margin-bottom: 1.25rem;
}

/* --- Footer tagline --- */
.footer-tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* --- Social icons --- */
.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer-social-icon:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

/* --- Footer column headings --- */
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

/* --- Quick links list --- */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: none;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a::before {
  content: '—';
  font-size: 0.65rem;
  color: var(--color-brick);
  flex-shrink: 0;
}

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

/* --- Contact list --- */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer-contact-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

.footer-contact-list a,
.footer-contact-list span:not(.footer-contact-label) {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* --- Bottom bar --- */
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
  letter-spacing: 0.04em;
}

/* --- Footer responsive --- */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-col:first-child .nav-logo--footer {
    justify-content: center;
  }

  .footer-col:first-child .footer-socials {
    justify-content: center;
  }
}

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

  .footer-col {
    text-align: center;
  }

  .footer-col .nav-logo--footer {
    justify-content: center;
  }

  .footer-col .footer-socials {
    justify-content: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-contact-list li {
    align-items: center;
  }
}


/* =========================================
   HERO
   ========================================= */

/* --- Keyframes --- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroGrainFlicker {
  0%   { transform: translate(0,    0);    }
  14%  { transform: translate(-4%,  -8%);  }
  28%  { transform: translate(-10%, 4%);   }
  43%  { transform: translate(3%,   -10%); }
  57%  { transform: translate(-7%,  7%);   }
  71%  { transform: translate(5%,   -4%);  }
  85%  { transform: translate(-3%,  10%);  }
  100% { transform: translate(0,    0);    }
}

@keyframes heroScrollPulse {
  0%  { transform: translateY(-100%); opacity: 1; }
  75% { opacity: 1; }
  100%{ transform: translateY(220%);  opacity: 0; }
}

/* --- Hero section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Warm dark brick base */
  background-color: #221610;
  /* Layer 1: directional overlay; Layer 2: SVG brick bond pattern */
  background-image:
    linear-gradient(135deg, rgba(15,14,12,0.92) 0%, rgba(139,58,42,0.30) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='56'%3E%3Crect width='120' height='56' fill='%231a1210'/%3E%3Crect x='2' y='2' width='55' height='22' fill='%23281a12'/%3E%3Crect x='63' y='2' width='55' height='22' fill='%23261812'/%3E%3Crect x='-27' y='30' width='55' height='22' fill='%23291b13'/%3E%3Crect x='33' y='30' width='55' height='22' fill='%23271912'/%3E%3Crect x='93' y='30' width='55' height='22' fill='%23281a12'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 120px 56px;
}

/* --- Animated grain overlay --- */
.hero__grain {
  position: absolute;
  /* Oversized so shifting never reveals edges */
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  animation: heroGrainFlicker 0.45s steps(1) infinite;
}

/* --- Main content --- */
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: 156px;  /* fixed nav (76px) + breathing room */
  padding-bottom: 100px;
  width: 100%;
}

/* --- Section label --- */
.hero__label {
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 0.2s;
}

/* --- H1 --- */
.hero__heading {
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.02;
  margin-bottom: 1.75rem;
  max-width: 740px;
}

.hero__line {
  display: block;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards;
}

.hero__line:nth-child(1) { animation-delay: 0.52s; }
.hero__line:nth-child(2) { animation-delay: 0.72s; }
.hero__line:nth-child(3) { animation-delay: 0.92s; }

.hero__line--gold {
  color: var(--color-gold);
}

/* --- Subheading --- */
.hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-muted);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2.25rem;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 1.18s;
}

/* --- Trust pills --- */
.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 1.42s;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-text);
  border: 1px solid rgba(201, 169, 110, 0.45);
  padding: 7px 14px;
  white-space: nowrap;
}

.hero__check {
  color: var(--color-gold);
  font-size: 0.8rem;
  font-weight: 700;
}

/* --- CTA row --- */
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 1.62s;
}

/* --- Reassurance line --- */
.hero__small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
  margin: 0;
  opacity: 0;
  animation: heroFadeUp 0.75s ease forwards 1.78s;
}

/* --- Decorative right-side vertical text --- */
.hero__vertical-text {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-variant: small-caps;
  text-transform: uppercase;
  letter-spacing: 7px;
  color: var(--color-gold);
  opacity: 0.4;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

/* --- Scroll indicator --- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

.hero__scroll-label {
  font-family: var(--font-body);
  font-size: 0.5rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0.6;
}

.hero__scroll-track {
  width: 1px;
  height: 46px;
  background-color: rgba(201, 169, 110, 0.18);
  position: relative;
  overflow: hidden;
}

.hero__scroll-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-gold);
  animation: heroScrollPulse 1.85s ease-in-out infinite;
}

/* --- Hero responsive --- */
@media (max-width: 900px) {
  .hero__vertical-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero__inner {
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn-primary,
  .hero__ctas .btn-outline {
    text-align: center;
  }

  .hero__pills {
    gap: 0.5rem;
  }

  .hero__pill {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
}

/* --- Reduced motion: skip animations, show content immediately --- */
@media (prefers-reduced-motion: reduce) {
  .hero__grain {
    animation: none;
  }

  .hero__scroll-bar {
    animation: none;
    opacity: 0.5;
  }

  .hero__label,
  .hero__line,
  .hero__sub,
  .hero__pills,
  .hero__ctas,
  .hero__small {
    opacity: 1;
    animation: none;
    transform: none;
  }
}


/* =========================================
   TRUST BAR
   ========================================= */

.trust-bar {
  background-color: var(--color-brick);
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

.trust-bar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
}

.trust-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1.4rem 1rem;
  text-align: center;
}

.trust-bar__divider {
  width: 1px;
  background-color: rgba(201, 169, 110, 0.4);
  align-self: stretch;
  flex-shrink: 0;
}

.trust-bar__highlight {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.trust-bar__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  color: rgba(245, 240, 232, 0.75);
  letter-spacing: 0.06em;
  line-height: 1.3;
}

/* --- Trust bar responsive --- */
@media (max-width: 768px) {
  .trust-bar__inner {
    flex-wrap: wrap;
    padding: 0;
  }

  .trust-bar__divider {
    display: none;
  }

  .trust-bar__item {
    flex: 0 0 50%;
    border-right: 1px solid rgba(201, 169, 110, 0.25);
    border-bottom: 1px solid rgba(201, 169, 110, 0.25);
    padding: 1.2rem 1rem;
  }

  /* Remove right border from every 2nd item */
  .trust-bar__item:nth-child(odd) {
    border-right: 1px solid rgba(201, 169, 110, 0.25);
  }

  .trust-bar__item:nth-child(even) {
    border-right: none;
  }

  /* Remove bottom border from last row */
  .trust-bar__item:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 400px) {
  .trust-bar__item {
    flex: 0 0 100%;
    border-right: none;
  }

  .trust-bar__item:last-child {
    border-bottom: none;
  }
}


/* =========================================
   SERVICES
   ========================================= */

.services {
  background-color: var(--color-bg);
}

/* --- Section header --- */
.services__header {
  max-width: 640px;
  margin-bottom: 4rem;
}

.services__header h2 {
  margin-bottom: 1.25rem;
  line-height: 1.1;
}

.services__intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* --- Service cards grid --- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

/* --- Individual card --- */
.service-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  cursor: default;
}

.service-card:hover {
  border-color: var(--color-gold);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 2px 8px rgba(201, 169, 110, 0.08);
  transform: translateY(-4px);
}

/* --- Card icon --- */
.service-card__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.15);
}

/* --- Card title --- */
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

/* --- Card description --- */
.service-card__desc {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
}

/* --- Card link --- */
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.25s ease, gap 0.25s ease;
  margin-top: auto;
  align-self: flex-start;
}

.service-card__link:hover {
  color: var(--color-gold-light);
  gap: 0.6rem;
}

/* --- Section CTA --- */
.services__cta {
  text-align: center;
}

/* --- Services responsive --- */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services__header {
    margin-bottom: 2.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }
}


/* =========================================
   ABOUT
   ========================================= */

.about {
  background-color: var(--color-bg-soft);
}

/* --- Two-column grid --- */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

/* --- Left: text column --- */
.about__text h2 {
  margin-top: 0.75rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.about__copy p {
  font-size: 0.975rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.85;
  margin: 0;
}

/* --- Stats --- */
.about__stats {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 2.5rem;
}

.about__stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  padding-right: 2.5rem;
}

.about__stat + .about__stat {
  padding-right: 0;
  padding-left: 2.5rem;
  border-left: 1px solid var(--color-border);
}

.about__stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-gold);
  line-height: 1;
  display: block;
}

.about__stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.5;
  display: block;
}

/* --- Right: visual column --- */
.about__visual {
  display: flex;
  align-items: stretch;
}

/* =========================================
   CREDENTIAL CARD
   ========================================= */

.credential-card {
  position: relative;
  width: 100%;
  background-color: var(--color-surface);
  /* Outer gold border */
  border: 1px solid var(--color-gold);
  overflow: hidden;
}

/* Inner inset frame via pseudo-element */
.credential-card::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  pointer-events: none;
  z-index: 1;
}

/* Corner accent marks */
.credential-card::after {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  border-top: 1px solid var(--color-gold);
  border-right: 1px solid var(--color-gold);
  pointer-events: none;
  z-index: 1;
}

/* --- Watermark decorative text --- */
.credential-card__watermark {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 900;
  font-size: 1.9rem;
  color: var(--color-gold);
  opacity: 0.065;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  white-space: nowrap;
}

/* --- Card body --- */
.credential-card__body {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}

.credential-card__eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin: 0 0 0.75rem;
}

.credential-card__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

/* --- Credentials list --- */
.credential-card__list {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.credential-card__list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.4;
  border-bottom: 1px solid var(--color-border);
}

.credential-card__list li:last-child {
  border-bottom: none;
}

.credential-card__dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--color-gold);
}

/* --- About responsive --- */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about__visual {
    max-width: 520px;
  }
}

@media (max-width: 560px) {
  .about__stat-number {
    font-size: 2.75rem;
  }

  .credential-card__body {
    padding: 1.75rem;
  }

  .credential-card__watermark {
    font-size: 1.4rem;
  }
}


/* =========================================
   WHY REPOINTING MATTERS
   ========================================= */

.why-repoint {
  background-color: var(--color-bg-soft);
}

/* --- Section header --- */
.why-repoint__header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.why-repoint__header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.why-repoint__intro {
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* --- Problem cards grid (2×2) --- */
.why-repoint__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* --- Individual problem card --- */
.problem-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  padding: 2rem 1.75rem;
}

.problem-card__icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.problem-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.problem-card__body {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin: 0;
}

/* --- Info box --- */
.why-repoint__infobox {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-brick);
  padding: 1.4rem 2rem;
}

.why-repoint__infobox p {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.7;
  margin: 0;
}

.why-repoint__infobox a {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.why-repoint__infobox a:hover {
  color: var(--color-gold-light);
}

/* --- Why repoint responsive --- */
@media (max-width: 640px) {
  .why-repoint__grid {
    grid-template-columns: 1fr;
  }

  .why-repoint__infobox {
    padding: 1.25rem 1.5rem;
  }
}


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

.faq {
  background-color: var(--color-bg);
}

/* --- Layout: two-col on wide screens --- */
.faq__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

.faq__header h2 {
  margin-top: 0.75rem;
  position: sticky;
  top: 100px;
}

/* --- FAQ list --- */
.faq__list {
  border-top: 1px solid var(--color-border);
}

/* --- Individual FAQ item --- */
.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question-wrap {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* --- Question button --- */
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.4rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 400;
  color: var(--color-white);
  line-height: 1.5;
  transition: color 0.25s ease;
}

.faq__question:hover {
  color: var(--color-gold);
}

.faq__question[aria-expanded="true"] {
  color: var(--color-gold);
}

/* --- Plus/times icon --- */
.faq__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1px solid var(--color-gold);
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1;
  color: var(--color-gold);
  transition: transform 0.35s ease, background-color 0.25s ease;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
  background-color: var(--color-gold);
  color: var(--color-bg);
}

/* --- Answer panel: grid-template-rows trick for smooth height --- */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s ease;
  overflow: hidden;
}

.faq__answer.is-open {
  grid-template-rows: 1fr;
}

.faq__answer-inner {
  overflow: hidden;
  padding-bottom: 0;
  transition: padding-bottom 0.38s ease;
}

.faq__answer.is-open .faq__answer-inner {
  padding-bottom: 1.5rem;
}

.faq__answer-inner p {
  font-size: 0.925rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

.faq__answer-inner a {
  color: var(--color-gold);
  font-weight: 400;
  transition: color 0.25s ease;
}

.faq__answer-inner a:hover {
  color: var(--color-gold-light);
}

/* --- FAQ responsive --- */
@media (max-width: 820px) {
  .faq__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq__header h2 {
    position: static;
  }
}


/* =========================================
   TESTIMONIALS
   ========================================= */

.testimonials {
  background-color: var(--color-bg-soft);
  overflow: hidden;
}

/* --- Section header --- */
.testimonials__header {
  margin-bottom: 3rem;
}

.testimonials__header h2 {
  margin-top: 0.75rem;
  max-width: 580px;
}

/* --- Carousel wrapper: provides space for absolute arrows --- */
.testimonials__carousel-wrap {
  position: relative;
  padding: 0 3.5rem;
  margin-bottom: 2.5rem;
}

/* --- Scrollable track --- */
.testimonials__track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0 1.5rem;
}

.testimonials__track::-webkit-scrollbar {
  display: none;
}

/* --- Arrow buttons --- */
.testimonials__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% - 0.75rem));
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-gold);
  background: var(--color-surface);
  color: var(--color-gold);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
}

.testimonials__arrow:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

.testimonials__arrow--prev { left: 0; }
.testimonials__arrow--next { right: 0; }

/* --- Individual testimonial card --- */
.testimonial-card {
  flex: 0 0 clamp(280px, 44%, 460px);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 2px solid var(--color-gold);
  padding: 2rem 2rem 1.75rem;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Large decorative quote mark watermark */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  font-family: var(--font-heading);
  font-size: 9rem;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.055;
  pointer-events: none;
  user-select: none;
}

/* --- Stars --- */
.testimonial-card__stars {
  font-size: 0.9rem;
  color: var(--color-gold);
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}

/* --- Quote text --- */
.testimonial-card__quote {
  flex: 1;
  margin: 0 0 1.5rem;
}

.testimonial-card__quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.75;
  margin: 0;
}

/* --- Author footer --- */
.testimonial-card__footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.testimonial-card__name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  font-variant: small-caps;
  letter-spacing: 2px;
  color: var(--color-white);
  text-transform: uppercase;
}

.testimonial-card__location {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
}

/* --- MyBuilder badge --- */
.testimonials__footer {
  display: flex;
  justify-content: center;
}

.mybuilder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.7rem 1.5rem;
}

.mybuilder-badge__stars {
  font-size: 0.8rem;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.mybuilder-badge__text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}

.mybuilder-badge__text strong {
  color: var(--color-text);
  font-weight: 700;
}

/* --- Testimonials responsive --- */
@media (max-width: 760px) {
  .testimonials__carousel-wrap {
    padding: 0 2.5rem;
  }

  .testimonials__arrow {
    width: 34px;
    height: 34px;
  }

  .testimonial-card {
    flex: 0 0 clamp(260px, 80vw, 340px);
  }
}

@media (max-width: 480px) {
  .testimonials__carousel-wrap {
    padding: 0 2rem;
  }

  .testimonials__arrow {
    width: 30px;
    height: 30px;
  }
}


/* =========================================
   GALLERY
   ========================================= */

.gallery {
  background-color: var(--color-bg);
}

/* --- Section header --- */
.gallery__header {
  max-width: 680px;
  margin-bottom: 3rem;
}

.gallery__header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.1rem;
}

.gallery__intro {
  font-size: 0.975rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* --- CSS column masonry grid --- */
.gallery__grid {
  column-count: 3;
  column-gap: 1rem;
  margin-bottom: 3rem;
}

/* --- Individual gallery item --- */
.gallery-item {
  break-inside: avoid;
  display: block;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  cursor: pointer;
}

/* Varied aspect ratios for masonry feel */
.gallery-item__media--1 { aspect-ratio: 4/3;  }
.gallery-item__media--2 { aspect-ratio: 2/3;  }
.gallery-item__media--3 { aspect-ratio: 1/1;  }
.gallery-item__media--4 { aspect-ratio: 3/2;  }
.gallery-item__media--5 { aspect-ratio: 4/3;  }
.gallery-item__media--6 { aspect-ratio: 3/4;  }

/* --- Placeholder media (replace with <img> when photos arrive) --- */
.gallery-item__media {
  display: block;
  width: 100%;
  background-color: #1c1410;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='56'%3E%3Crect width='120' height='56' fill='%231a1210'/%3E%3Crect x='2' y='2' width='55' height='22' fill='%23211610'/%3E%3Crect x='63' y='2' width='55' height='22' fill='%231f1410'/%3E%3Crect x='-27' y='30' width='55' height='22' fill='%23221710'/%3E%3Crect x='33' y='30' width='55' height='22' fill='%23201510'/%3E%3Crect x='93' y='30' width='55' height='22' fill='%23211610'/%3E%3C/svg%3E");
  background-size: 120px 56px;
  transition: transform 0.45s ease;
}

.gallery-item:hover .gallery-item__media {
  transform: scale(1.04);
}

/* --- Overlay (always present, darkens on hover) --- */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,14,12,0.82) 0%, rgba(15,14,12,0.1) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem 1.1rem;
  transition: background 0.35s ease;
}

.gallery-item:hover .gallery-item__overlay {
  background: rgba(15,14,12,0.65);
  justify-content: center;
  align-items: center;
}

/* --- Job type label (bottom of overlay) --- */
.gallery-item__label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.9);
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item__label {
  opacity: 0;
}

/* --- "View Project" appears on hover --- */
.gallery-item__view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold);
  opacity: 0;
  transition: opacity 0.35s ease;
  white-space: nowrap;
  pointer-events: none;
}

.gallery-item:hover .gallery-item__view {
  opacity: 1;
}

/* --- Gallery CTA --- */
.gallery__cta {
  text-align: center;
}

/* --- Gallery responsive --- */
@media (max-width: 900px) {
  .gallery__grid {
    column-count: 2;
  }
}

@media (max-width: 520px) {
  .gallery__grid {
    column-count: 1;
  }

  .gallery__header {
    margin-bottom: 2rem;
  }
}


/* =========================================
   AREAS WE COVER
   ========================================= */

.areas {
  background-color: var(--color-bg-soft);
}

/* --- Section header --- */
.areas__header {
  max-width: 660px;
  margin-bottom: 3rem;
}

.areas__header h2 {
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.areas__intro {
  font-size: 0.975rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* --- Two-column layout --- */
.areas__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2rem;
}

/* --- Location pill list (2-col inner grid) --- */
.areas__locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  list-style: none;
}

.area-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--color-text);
  transition: border-color 0.25s ease, color 0.25s ease;
  cursor: default;
}

.area-pill:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.area-pill__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-gold);
  flex-shrink: 0;
}

/* --- Map placeholder card --- */
.map-card {
  background-color: var(--color-surface);
  border: 1px dashed rgba(201, 169, 110, 0.5);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
  min-height: 340px;
}

.map-card__pin {
  color: var(--color-gold);
  opacity: 0.75;
  margin-bottom: 0.5rem;
}

.map-card__region {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

.map-card__base {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-gold);
  margin: 0;
}

.map-card__counties {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.map-card__counties li {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  font-variant: small-caps;
  text-transform: uppercase;
}

/* --- Footer note --- */
.areas__note {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--color-text-muted);
  margin: 0;
}

.areas__note a {
  color: var(--color-gold);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.areas__note a:hover {
  color: var(--color-gold-light);
}

/* --- Areas responsive --- */
@media (max-width: 860px) {
  .areas__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .areas__map-col {
    max-width: 460px;
  }

  .map-card {
    min-height: 260px;
    padding: 2rem;
  }
}

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


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

.cta-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-brick) 0%, #5e2318 100%);
}

/* Subtle grain overlay */
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}

/* Large "JDE" decorative watermark */
.cta-banner__watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(10rem, 28vw, 22rem);
  color: var(--color-white);
  opacity: 0.05;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
}

/* --- Content layer --- */
.cta-banner__inner {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.cta-banner__heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.cta-banner__sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.82);
  max-width: 560px;
  line-height: 1.8;
  margin: 0 0 2.25rem;
}

/* --- Buttons: override globals for brick-red bg --- */
.cta-banner__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cta-banner .btn-primary {
  background-color: var(--color-white);
  color: var(--color-brick);
  border-color: var(--color-white);
}

.cta-banner .btn-primary:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.cta-banner .btn-outline {
  color: var(--color-white);
  border-color: rgba(245, 240, 232, 0.6);
}

.cta-banner .btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-brick);
}

/* --- Small reassurance text --- */
.cta-banner__note {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.1em;
  margin: 0;
}

/* --- CTA banner responsive --- */
@media (max-width: 560px) {
  .cta-banner__inner {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .cta-banner__buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }

  .cta-banner .btn-primary,
  .cta-banner .btn-outline {
    text-align: center;
  }
}


/* =========================================
   CONTACT PAGE — SHORT HERO
   ========================================= */

.hero--short {
  min-height: 50vh;
  align-items: center;
}

.hero__inner--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
}

/* Suppress staggered animations — contact hero is simple */
.hero--short .hero__heading,
.hero--short .hero__sub {
  opacity: 1;
  animation: none;
  transform: none;
}

.hero__heading--sm {
  font-size: clamp(2.75rem, 6vw, 5rem);
  max-width: none;
}


/* =========================================
   CONTACT SECTION LAYOUT
   ========================================= */

.contact-section {
  background-color: var(--color-bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}

/* =========================================
   CONTACT DETAILS CARD
   ========================================= */

.contact-details {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 100px;
}

.contact-details__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-details__item--phone {
  padding-top: 0;
}

.contact-details__icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-details__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-details__label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

.contact-details__phone {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--color-gold);
  text-decoration: none;
  line-height: 1.1;
  transition: color 0.25s ease;
}

.contact-details__phone:hover {
  color: var(--color-gold-light);
}

.contact-details__item span:not(.contact-details__label):not(.contact-details__placeholder) {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.5;
}

.contact-details__placeholder {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.contact-details__response {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--color-text-muted);
  line-height: 1.6;
  font-style: italic;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  margin: 0;
}

.contact-details__coverage {
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
}

.contact-details__coverage p {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

.contact-details__coverage a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.25s ease;
}

.contact-details__coverage a:hover {
  color: var(--color-gold-light);
}


/* =========================================
   QUOTE FORM
   ========================================= */

.quote-form-wrap h2 {
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.quote-form-wrap__intro {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.quote-form-wrap__intro a {
  color: var(--color-gold);
  font-weight: 400;
  transition: color 0.25s ease;
}

.quote-form-wrap__intro a:hover {
  color: var(--color-gold-light);
}

/* --- Two-column field rows --- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- Individual field --- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

/* --- Labels --- */
.form-field label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

.form-required {
  color: var(--color-gold);
  margin-left: 0.15em;
}

/* --- Inputs & textarea --- */
.quote-form input,
.quote-form textarea {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.7;
}

.quote-form input:focus,
.quote-form textarea:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.12);
}

.quote-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* --- Select wrapper for custom chevron --- */
.form-select-wrap {
  position: relative;
}

.form-select-wrap::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a847a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.quote-form select {
  width: 100%;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-form select option {
  background-color: var(--color-surface);
  color: var(--color-text);
}

/* --- Submit row --- */
.form-submit {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-privacy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* --- Contact page responsive --- */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-details {
    position: static;
  }
}

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

  .contact-details {
    padding: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero__inner--center {
    padding-top: 100px;
  }
}


/* =========================================
   STICKY CALL BUTTON (mobile only)
   ========================================= */

.sticky-call {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 980;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-brick);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45), 0 0 0 0 rgba(139, 58, 42, 0.4);
  opacity: 0;
  transform: scale(0.75);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.25s ease;
}

.sticky-call.is-visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.sticky-call:hover {
  background-color: var(--color-brick-light);
  color: var(--color-white);
}

/* Desktop: hidden entirely */
@media (min-width: 769px) {
  .sticky-call {
    display: none;
  }
}


/* =========================================
   COOKIE NOTICE BAR
   ========================================= */

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background-color: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.85rem 2rem;
  flex-wrap: wrap;
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.4;
}

.cookie-bar__accept {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: none;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  padding: 7px 18px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.cookie-bar__accept:hover {
  background-color: var(--color-gold);
  color: var(--color-bg);
}

@media (max-width: 480px) {
  .cookie-bar {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
}


/* =========================================
   404 PAGE
   ========================================= */

.hero--404 {
  min-height: 100vh;
  align-items: center;
}

.hero--404 .hero__inner--center {
  gap: 0;
}

/* Suppress animations — no JS-driven fade needed */
.hero--404 .hero__heading,
.hero--404 .hero__sub {
  opacity: 1;
  animation: none;
  transform: none;
}

.error-code {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(5rem, 20vw, 12rem);
  font-weight: 900;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero--404 .hero__heading--sm {
  margin-bottom: 1rem;
}

.hero--404 .hero__sub {
  margin-bottom: 2.5rem;
}

/* Responsive layout review notes:
   375px (iPhone SE):
   - Hero h1 uses 12vw on mobile = ~45px. "Brickwork &" fits in ~311px content width. ✓
   - Trust bar 2-col wraps, cells ~187px wide. ✓
   - Service cards 1 col. ✓
   - Testimonial cards 80vw = ~300px, track 311px — slight next-card peek. ✓
   - FAQ collapses to 1 col. ✓
   - Contact form rows collapse to 1 col. ✓

   768px (iPad portrait):
   - Nav at ≤900px breakpoint → hamburger shown, desktop links hidden. ✓
   - Services 2 col (1024px breakpoint not triggered). ✓
   - FAQ/About/Testimonials all at 1 col by their respective breakpoints. ✓

   1280px (desktop):
   - Services 4 col (~285px per card). ✓
   - FAQ 280px + 1fr with sticky heading. ✓
   - About/Areas 2-col grids. ✓

   Known items for client review when photos added:
   - Gallery column heights may need adjustment with real images.
   - Testimonial card heights will equalise with real text lengths.
*/
