/*
Theme Name: LDW Gas & Plumbing - Astra Child
Theme URI: https://ldwgas.co.uk/
Description: Astra child theme for LDW Gas & Plumbing, Burnley. Local gas, plumbing, heating, bathrooms and emergency callout website.
Author: LDW Gas & Plumbing
Template: astra
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Text Domain: ldw-astra-child
*/

:root {
  --ldw-navy: #071528;
  --ldw-navy-2: #0e2442;
  --ldw-blue: #2f73da;
  --ldw-blue-2: #55a8ff;
  --ldw-orange: #f2a344;
  --ldw-light: #f5f8fc;
  --ldw-text: #172033;
  --ldw-muted: #5d6a7e;
  --ldw-border: #dfe7f3;
  --ldw-radius: 20px;
  --ldw-shadow: 0 18px 45px rgba(7,21,40,.14);
}

body {
  color: var(--ldw-text);
}

.ast-primary-header-bar {
  border-bottom: 1px solid rgba(47,115,218,.16);
  box-shadow: 0 4px 24px rgba(7,21,40,.06);
}

.site-title a,
.site-title a:focus,
.site-title a:hover {
  color: var(--ldw-navy);
  font-weight: 800;
  letter-spacing: -.03em;
}

.main-header-menu .menu-link {
  font-weight: 700;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link {
  color: var(--ldw-blue);
}

.ldw-page {
  background: #fff;
  overflow: hidden;
}

.ldw-container {
  width: min(1160px, calc(100% - 36px));
  margin-inline: auto;
}

.ldw-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: radial-gradient(circle at 80% 15%, rgba(47,115,218,.45), transparent 31%), linear-gradient(135deg, var(--ldw-navy) 0%, #102b50 52%, #071528 100%);
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 6vw, 72px);
}

.ldw-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 130px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.18));
  z-index: -1;
}

.ldw-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: center;
}

.ldw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #d7e6ff;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  margin-bottom: 18px;
}

.ldw-eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ldw-orange);
  box-shadow: 0 0 0 5px rgba(242,163,68,.16);
}

.ldw-hero h1 {
  color: #fff;
  margin: 0 0 18px;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: .95;
  letter-spacing: -.06em;
  max-width: 760px;
}

.ldw-hero h1 span {
  color: var(--ldw-orange);
}

.ldw-lead {
  font-size: clamp(18px, 2vw, 22px);
  color: #d8e7fb;
  line-height: 1.55;
  max-width: 730px;
  margin: 0 0 26px;
}

.ldw-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.ldw-btn,
.ldw-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.ldw-btn:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.ldw-btn-primary {
  color: #071528 !important;
  background: var(--ldw-orange);
  box-shadow: 0 13px 28px rgba(242,163,68,.28);
}

.ldw-btn-primary:hover {
  color: #071528 !important;
  background: #ffc06f;
}

.ldw-btn-secondary {
  color: #fff !important;
  background: var(--ldw-blue);
  box-shadow: 0 13px 28px rgba(47,115,218,.26);
}

.ldw-btn-secondary:hover {
  color: #fff !important;
  background: #4388f5;
}

.ldw-btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.38);
  background: rgba(255,255,255,.06);
}

.ldw-btn-ghost:hover {
  color: #071528 !important;
  background: #fff;
}

.ldw-hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
  backdrop-filter: blur(8px);
}

.ldw-hero-card img {
  width: 100%;
  border-radius: 20px;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ldw-proof-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.ldw-proof {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  padding: 15px;
}

.ldw-proof strong {
  display: block;
  color: #fff;
  font-size: 18px;
}

.ldw-proof span {
  color: #c4d6ef;
  font-size: 14px;
}

.ldw-section {
  padding: clamp(54px, 7vw, 88px) 0;
}

.ldw-section-alt {
  background: var(--ldw-light);
}

.ldw-section-head {
  max-width: 790px;
  margin: 0 auto 34px;
  text-align: center;
}

.ldw-kicker {
  color: var(--ldw-blue);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 13px;
  margin-bottom: 10px;
}

.ldw-section h2,
.ldw-content h1,
.ldw-content h2 {
  color: var(--ldw-navy);
  margin-top: 0;
  letter-spacing: -.045em;
  line-height: 1.08;
}

.ldw-section h2 {
  font-size: clamp(31px, 4.5vw, 54px);
}

.ldw-section-head p,
.ldw-copy-lg {
  color: var(--ldw-muted);
  font-size: 18px;
  line-height: 1.65;
}

.ldw-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ldw-service-card {
  background: #fff;
  border: 1px solid var(--ldw-border);
  border-radius: var(--ldw-radius);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(7,21,40,.06);
  min-height: 100%;
}

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

.ldw-service-card h3 {
  margin: 0 0 9px;
  color: var(--ldw-navy);
  font-size: 23px;
}

.ldw-service-card p {
  color: var(--ldw-muted);
  margin: 0 0 16px;
  line-height: 1.6;
}

.ldw-card-link {
  color: var(--ldw-blue);
  font-weight: 900;
  text-decoration: none !important;
}

.ldw-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47,115,218,.12), rgba(242,163,68,.16));
  margin-bottom: 16px;
  font-size: 24px;
}

.ldw-split {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

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

.ldw-image-stack {
  position: relative;
  min-height: 430px;
}

.ldw-image-stack img,
.ldw-image-card img,
.ldw-gallery img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ldw-image-stack .main-img {
  border-radius: 28px;
  aspect-ratio: 4 / 3;
  box-shadow: var(--ldw-shadow);
}

.ldw-image-stack .small-img {
  position: absolute;
  width: 46%;
  right: -10px;
  bottom: -18px;
  border: 8px solid #fff;
  border-radius: 24px;
  aspect-ratio: 1;
  box-shadow: var(--ldw-shadow);
}

.ldw-tick-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 11px;
}

.ldw-tick-list li {
  position: relative;
  padding-left: 33px;
  color: #25334a;
  font-weight: 700;
}

.ldw-tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #071528;
  background: var(--ldw-orange);
  font-weight: 900;
  font-size: 14px;
}

.ldw-notice {
  background: linear-gradient(135deg, var(--ldw-navy), var(--ldw-navy-2));
  color: #e8f1ff;
  border-radius: 24px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--ldw-shadow);
}

.ldw-notice h2,
.ldw-notice h3 {
  color: #fff;
}

.ldw-notice strong {
  color: #fff;
}

.ldw-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ldw-gallery img {
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  box-shadow: 0 12px 28px rgba(7,21,40,.08);
}

.ldw-area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.ldw-area-grid span {
  background: #fff;
  border: 1px solid var(--ldw-border);
  border-radius: 999px;
  text-align: center;
  padding: 10px 12px;
  font-weight: 800;
  color: #24324a;
}

.ldw-cta {
  background: linear-gradient(135deg, #071528 0%, #12315c 100%);
  color: #eaf2ff;
  border-radius: 32px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--ldw-shadow);
  position: relative;
  overflow: hidden;
}

.ldw-cta h2 {
  color: #fff;
  font-size: clamp(30px, 4vw, 50px);
  margin-bottom: 12px;
}

.ldw-cta p {
  max-width: 720px;
  color: #d8e7fb;
  font-size: 18px;
}

.ldw-contact-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 22px;
}

.ldw-contact-card,
.ldw-content-card {
  background: #fff;
  border: 1px solid var(--ldw-border);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 38px);
  box-shadow: 0 12px 34px rgba(7,21,40,.06);
}

.ldw-contact-card a {
  font-weight: 900;
}

.ldw-content {
  padding: clamp(46px, 6vw, 78px) 0;
}

.ldw-content p,
.ldw-content li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ldw-muted);
}

.ldw-content-card h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.ldw-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ldw-sticky-contact {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 99998;
  display: none;
  width: min(520px, calc(100% - 24px));
  background: rgba(7,21,40,.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 18px;
  box-shadow: 0 16px 50px rgba(0,0,0,.28);
  padding: 8px;
  gap: 8px;
}

.ldw-sticky-contact a {
  flex: 1;
  text-align: center;
  border-radius: 12px;
  padding: 11px 8px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
  color: #fff;
  background: rgba(255,255,255,.1);
}

.ldw-sticky-contact a:nth-child(2) {
  background: var(--ldw-orange);
  color: #071528;
}

@media (max-width: 1024px) {
  .ldw-hero-grid,
  .ldw-split,
  .ldw-split.reverse,
  .ldw-contact-grid {
    grid-template-columns: 1fr;
  }
  .ldw-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ldw-proof-strip,
  .ldw-gallery,
  .ldw-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ldw-image-stack {
    min-height: auto;
  }
  .ldw-image-stack .small-img {
    position: static;
    width: 100%;
    margin-top: 14px;
    border-width: 0;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .ldw-container {
    width: min(100% - 26px, 1160px);
  }
  .ldw-hero {
    padding-top: 42px;
  }
  .ldw-hero-grid {
    gap: 24px;
  }
  .ldw-button-row .ldw-btn {
    width: 100%;
  }
  .ldw-proof-strip,
  .ldw-service-grid,
  .ldw-gallery,
  .ldw-area-grid,
  .ldw-two-col {
    grid-template-columns: 1fr;
  }
  .ldw-service-card {
    padding: 22px;
  }
  .ldw-sticky-contact {
    display: flex;
  }
  body {
    padding-bottom: 74px;
  }
}
