:root {
  --rwd-green-dark: #061f18;
  --rwd-green-deep: #082c22;
  --rwd-green: #123f31;
  --rwd-green-mid: #3f7a66;
  --rwd-sage: #9dbcae;
  --rwd-sage-light: #dce9e3;
  --rwd-white: #ffffff;
  --rwd-gold: #c7ad6d;
  --rwd-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

.rwd-contact-page,
.rwd-contact-page * {
  box-sizing: border-box;
}

.rwd-contact-page {
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  background: var(--rwd-green-dark);
  color: var(--rwd-white);
  width: 100vw;
  max-width: none;
  overflow-x: hidden;
}

.rwd-contact-page a {
  text-decoration: none !important;
}

.rwd-container {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.rwd-section {
  position: relative;
  padding: 110px 0;
}

.rwd-section-light {
  background: #ffffff;
  color: var(--rwd-green-dark);
}

.rwd-section-dark {
  background:
    radial-gradient(circle at 12% 16%, rgba(157, 188, 174, 0.12), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(199, 173, 109, 0.08), transparent 32%),
    linear-gradient(180deg, #041511, var(--rwd-green-dark));
  color: var(--rwd-white);
}

.rwd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rwd-sage);
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.24em;
  font-weight: 900;
  margin-bottom: 18px;
}

.rwd-section-light .rwd-eyebrow {
  color: var(--rwd-green-mid);
}

.rwd-eyebrow::before {
  content: "";
  width: 46px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.rwd-section-title {
  font-size: clamp(38px, 4.7vw, 82px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 950;
}

.rwd-section-title span {
  color: var(--rwd-sage);
}

.rwd-section-light .rwd-section-title span {
  color: var(--rwd-green-mid);
}

.rwd-text {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
}

.rwd-text-dark {
  color: rgba(8, 37, 29, 0.76);
}

.rwd-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.rwd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 16px 25px;
  font-size: 15px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.02em;
  transition: 0.35s ease;
  cursor: pointer;
}

.rwd-btn-primary {
  color: var(--rwd-green-dark) !important;
  background: linear-gradient(135deg, var(--rwd-sage), #e5f2ec);
}

.rwd-btn-primary:hover {
  transform: translateY(-4px);
}

.rwd-btn-secondary {
  color: var(--rwd-white) !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.rwd-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.rwd-btn-dark {
  color: var(--rwd-white) !important;
  background: var(--rwd-green-dark);
}

.rwd-btn-dark:hover {
  transform: translateY(-4px);
  background: var(--rwd-green);
}

.rwd-line-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--rwd-sage);
  background: rgba(157, 188, 174, 0.12);
  border: 1px solid rgba(157, 188, 174, 0.25);
}

.rwd-section-light .rwd-line-icon {
  color: var(--rwd-green-dark);
  background: #ffffff;
  border-color: rgba(8, 37, 29, 0.12);
}

.rwd-line-icon svg {
  width: 25px;
  height: 25px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* REVEALS */

.rwd-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}

.rwd-reveal.rwd-visible {
  opacity: 1;
  transform: translateY(0);
}

.rwd-hero-animate {
  opacity: 0;
  transform: translateY(34px);
}

.rwd-contact-page.rwd-hero-live .rwd-hero-animate {
  animation: rwdStackIn 0.85s cubic-bezier(.2,.8,.2,1) forwards;
}

.rwd-contact-page.rwd-hero-live .rwd-delay-1 { animation-delay: 0.08s; }
.rwd-contact-page.rwd-hero-live .rwd-delay-2 { animation-delay: 0.22s; }
.rwd-contact-page.rwd-hero-live .rwd-delay-3 { animation-delay: 0.38s; }
.rwd-contact-page.rwd-hero-live .rwd-delay-4 { animation-delay: 0.56s; }

@keyframes rwdStackIn {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.98);
    filter: blur(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* HERO */

.rwd-contact-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 78px 0 86px;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(157, 188, 174, 0.14), transparent 34%),
    radial-gradient(circle at 18% 74%, rgba(63, 122, 102, 0.12), transparent 35%),
    linear-gradient(135deg, #03130f 0%, #0b2c23 58%, #04120f 100%);
}

.rwd-contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  z-index: -3;
}

.rwd-contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 20%, rgba(157, 188, 174, 0.1), transparent 32%),
    linear-gradient(90deg, rgba(3, 19, 15, 0.96) 0%, rgba(3, 19, 15, 0.82) 52%, rgba(3, 19, 15, 0.68) 100%);
  opacity: 1;
  z-index: -4;
}

.rwd-contact-hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
}

.rwd-contact-hero-copy {
  max-width: 840px;
}

.rwd-hero-title {
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  font-weight: 950;
  text-transform: uppercase;
  margin: 0;
  max-width: 880px;
}

.rwd-hero-title span {
  display: block;
}

.rwd-hero-title .rwd-soft {
  color: var(--rwd-sage);
}

.rwd-subheading {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  margin: 24px 0 0;
  max-width: 700px;
}

/* HERO QUICK CARD */

.rwd-contact-card {
  position: relative;
  min-height: 440px;
  border-radius: 38px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(157, 188, 174, 0.18), transparent 34%),
    linear-gradient(145deg, #082c22, #041511);
  color: var(--rwd-white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rwd-contact-card::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 3;
}

.rwd-contact-card::after {
  content: "CONTACT";
  position: absolute;
  right: -20px;
  bottom: -10px;
  color: rgba(255,255,255,0.035);
  font-size: clamp(74px, 9vw, 132px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  font-weight: 950;
  pointer-events: none;
}

.rwd-contact-card-inner {
  position: relative;
  z-index: 2;
  padding: 44px;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rwd-contact-card h2 {
  font-size: clamp(34px, 3.7vw, 58px);
  line-height: 0.96;
  letter-spacing: -0.06em;
  margin: 0 0 18px;
}

.rwd-contact-card p {
  color: rgba(255,255,255,0.74);
  line-height: 1.8;
  margin: 0;
}

.rwd-contact-mini-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.rwd-contact-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--rwd-white) !important;
  transition: 0.3s ease;
  width: 100%;
  overflow: hidden;
}

.rwd-contact-mini:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.11);
}

.rwd-contact-mini .rwd-line-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  flex: 0 0 46px;
}

.rwd-contact-mini .rwd-line-icon svg {
  width: 23px;
  height: 23px;
}

.rwd-contact-mini-text {
  min-width: 0;
  width: 100%;
}

.rwd-contact-mini strong {
  display: block;
  color: var(--rwd-sage);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.rwd-contact-mini span span {
  display: block;
  color: rgba(255,255,255,0.86);
  font-weight: 850;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* CONTACT OPTIONS */

.rwd-contact-options-section {
  overflow: hidden;
}

.rwd-contact-options-section::before {
  content: "CONTACT";
  position: absolute;
  left: -3vw;
  top: 38px;
  font-size: clamp(72px, 13vw, 210px);
  line-height: 0.78;
  letter-spacing: -0.08em;
  font-weight: 950;
  color: transparent;
  -webkit-text-stroke: 1px rgba(8, 37, 29, 0.08);
  pointer-events: none;
  white-space: nowrap;
}

.rwd-contact-intro {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.96fr 0.58fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.rwd-contact-intro p {
  margin: 0;
}

.rwd-contact-options-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.rwd-contact-option {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid rgba(8,37,29,0.09);
  overflow: hidden;
  transition: 0.35s ease;
  color: var(--rwd-green-dark) !important;
}

.rwd-contact-option::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -96px;
  top: -96px;
  border-radius: 50%;
  background: rgba(157,188,174,0.16);
  transition: 0.35s ease;
}

.rwd-contact-option:hover {
  transform: translateY(-6px);
  border-color: rgba(63,122,102,0.28);
}

.rwd-contact-option:hover::before {
  transform: scale(1.16);
}

.rwd-contact-option > * {
  position: relative;
  z-index: 2;
}

.rwd-contact-option .rwd-line-icon {
  margin-bottom: 22px;
}

.rwd-contact-option .rwd-line-icon svg {
  width: 27px;
  height: 27px;
}

.rwd-contact-option h3 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--rwd-green-dark);
}

.rwd-contact-option p {
  margin: 0;
  color: rgba(8,37,29,0.68);
  line-height: 1.7;
  font-size: 15px;
}

.rwd-contact-option small {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--rwd-green-dark);
  color: var(--rwd-white);
  font-size: 12.5px;
  font-weight: 950;
}

.rwd-social-inline {
  position: relative;
  z-index: 2;
  margin-top: 20px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 8%, rgba(157,188,174,0.14), transparent 32%),
    #ffffff;
  border: 1px solid rgba(8,37,29,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.rwd-social-inline-title {
  color: var(--rwd-green-dark);
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: 22px;
}

.rwd-social-inline-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rwd-social-inline-links a {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--rwd-green-dark);
  color: #ffffff !important;
  border: 1px solid rgba(8,37,29,0.12);
  transition: 0.3s ease;
}

.rwd-social-inline-links a:hover {
  transform: translateY(-4px);
  background: var(--rwd-green);
}

.rwd-social-inline-links svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* VISIT SECTION */

.rwd-visit-section {
  overflow: hidden;
}

.rwd-visit-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(3,19,15,0.94), rgba(3,19,15,0.84)),
    url("https://redwoodpt.co.uk/wp-content/uploads/2026/08/ChatGPT-Image-Aug-22-2026-01_44_22-AM.png");
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.58;
  pointer-events: none;
}

.rwd-visit-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 32px;
  align-items: stretch;
}

.rwd-visit-copy {
  padding: 54px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 88% 10%, rgba(157,188,174,0.18), transparent 34%),
    linear-gradient(145deg, rgba(8,44,34,0.94), rgba(4,21,17,0.96));
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--rwd-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.rwd-visit-copy p {
  margin-top: 22px;
}

.rwd-address-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: 26px;
  background: rgba(255,255,255,0.075);
  border: 1px solid rgba(255,255,255,0.12);
}

.rwd-address-box strong {
  display: block;
  color: var(--rwd-sage);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rwd-address-box span {
  display: block;
  color: rgba(255,255,255,0.84);
  line-height: 1.65;
  font-weight: 850;
}

.rwd-map-card {
  min-height: 560px;
  border-radius: 42px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255,255,255,0.12);
  position: relative;
}

.rwd-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border: 0;
  filter: grayscale(18%) contrast(1.02);
}

.rwd-map-label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--rwd-green-dark);
  font-weight: 950;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .rwd-contact-hero-grid,
  .rwd-contact-intro,
  .rwd-visit-grid {
    grid-template-columns: 1fr;
  }

  .rwd-contact-hero {
    min-height: auto;
  }

  .rwd-contact-card,
  .rwd-contact-card-inner {
    min-height: auto;
  }

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

@media (max-width: 980px) {
  .rwd-section {
    padding: 78px 0;
  }

  .rwd-contact-hero {
    padding-top: 62px;
    padding-bottom: 70px;
  }
}

@media (max-width: 680px) {
  .rwd-container {
    width: min(100% - 26px, 1180px);
  }

  .rwd-section {
    padding: 64px 0;
  }

  .rwd-contact-hero {
    padding-top: 44px;
    padding-bottom: 58px;
  }

  .rwd-eyebrow {
    font-size: 11px;
    letter-spacing: 0.17em;
  }

  .rwd-hero-title {
    font-size: clamp(36px, 10vw, 52px) !important;
    line-height: 0.96 !important;
    letter-spacing: -0.052em !important;
    max-width: 100%;
  }

  .rwd-subheading {
    font-size: 15.5px;
    line-height: 1.65;
  }

  .rwd-section-title {
    font-size: clamp(32px, 10vw, 48px);
  }

  .rwd-btn {
    width: 100%;
  }

  .rwd-contact-card,
  .rwd-visit-copy,
  .rwd-map-card {
    border-radius: 28px;
  }

  .rwd-contact-card-inner,
  .rwd-visit-copy {
    padding: 28px;
  }

  .rwd-contact-card::before {
    inset: 14px;
    border-radius: 20px;
  }

  .rwd-contact-mini {
    padding: 14px;
    gap: 12px;
  }

  .rwd-contact-mini .rwd-line-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    flex-basis: 42px;
  }

  .rwd-contact-options-grid {
    grid-template-columns: 1fr;
  }

  .rwd-contact-option {
    min-height: auto;
  }

  .rwd-social-inline {
    align-items: flex-start;
  }

  .rwd-map-card,
  .rwd-map-card iframe {
    min-height: 420px;
  }

  .rwd-map-label {
    left: 18px;
    right: 18px;
    bottom: 18px;
  }
}
