/* ============================================================
   legal.css — About Us / Contact Us / Privacy Policy /
   Terms and Conditions.

   Loaded AFTER service.css (see $PAGE_CSS on each page), so it
   only adds what those pages need on top of the shared premium
   system: the hero + quote-form split, the stacked legal cards,
   the label/value contact rows, the photo media band and the
   photo trust banner. Everything else (sections, dividers,
   section headers, feature cards, CTA band, form-card retheme)
   is reused straight from service.css.
   ============================================================ */

/* ---------- Hero: page copy on the left, quote form on the right ---------- */
.lgl-hero {
  min-height: auto;
  padding: 70px 5% 80px;
}

.lgl-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 50px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* The enhancement layer in service.css only types h2 for the display
   face, so these H1s need their own rule to inherit Playfair. */
h1.lgl-hero-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 24px;
  text-wrap: balance;
}

.lgl-hero-title-line {
  width: 120px;
  height: 1px;
  margin-bottom: 28px;
  background: var(--lx-metal-line);
  box-shadow: 0 0 14px rgba(201, 174, 116, .35);
}

.lgl-hero-lead {
  background-image: var(--lx-edge), var(--lx-surface);
  background-size: 2px 100%, auto;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, left top;
  border: 1px solid var(--lx-hairline);
  box-shadow: var(--lx-shadow);
  padding: 30px 34px;
}

.lgl-hero-lead p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .78);
}

.lgl-hero-lead p:last-child { margin-bottom: 0; }

.lgl-hero-lead a {
  color: var(--lx-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 174, 116, .4);
  transition: color .3s var(--lx-ease), border-color .3s var(--lx-ease);
}

.lgl-hero-lead a:hover {
  color: var(--lx-gold-champagne);
  border-bottom-color: var(--lx-gold-champagne);
}

/* Effective-date chip under the Privacy Policy H1 */
.lgl-effective {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 9px 18px;
  border: 1px solid rgba(201, 174, 116, .28);
  background: linear-gradient(135deg, rgba(201, 174, 116, .12) 0%, rgba(201, 174, 116, .02) 100%);
}

.lgl-effective__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}

.lgl-effective__value {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .6px;
  color: var(--lx-gold-champagne);
}

/* ---------- Stats strip (About hero) ---------- */
.lgl-stats {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
  padding: 24px 10px;
  border-top: 1px solid var(--lx-hairline);
  border-bottom: 1px solid var(--lx-hairline);
}

.lgl-stat {
  flex: 1 1 120px;
  text-align: center;
}

.lgl-stat__number {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  background: var(--lx-metal);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--lx-gold-light);
}

.lgl-stat__label {
  display: block;
  margin-top: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
}

.lgl-stat-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(180deg, transparent, rgba(201, 174, 116, .35), transparent);
}

/* ---------- Stacked legal cards (Privacy / Terms body) ---------- */
.lgl-blocks {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.lgl-block {
  padding: 40px 44px;
  background-image: var(--lx-edge), var(--lx-surface);
  background-size: 2px 100%, auto;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, left top;
  border: 1px solid var(--lx-hairline);
  box-shadow: var(--lx-shadow);
  transition: border-color .45s var(--lx-ease), box-shadow .45s var(--lx-ease), transform .45s var(--lx-ease);
}

.lgl-block:hover {
  transform: translateY(-4px);
  border-color: var(--lx-hairline-strong);
  box-shadow: var(--lx-shadow-hover);
}

.lgl-block__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.lgl-block__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  border: 1px solid var(--lx-hairline);
  background: linear-gradient(145deg, rgba(201, 174, 116, .14) 0%, rgba(201, 174, 116, .02) 100%);
  color: var(--lx-gold-light);
  transition: color .45s var(--lx-ease), border-color .45s var(--lx-ease);
}

.lgl-block:hover .lgl-block__icon {
  color: var(--lx-gold-champagne);
  border-color: var(--lx-hairline-strong);
}

.lgl-block__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.lgl-block__body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .72);
}

.lgl-block__body p:last-child { margin-bottom: 0; }

.lgl-block__body a {
  color: var(--lx-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 174, 116, .4);
  transition: color .3s var(--lx-ease), border-color .3s var(--lx-ease);
}

.lgl-block__body a:hover {
  color: var(--lx-gold-champagne);
  border-bottom-color: var(--lx-gold-champagne);
}

/* Emphasised block (e.g. the legal-advice disclaimer) */
.lgl-block--highlight {
  background-image: var(--lx-edge), var(--lx-surface-hover);
  border-color: var(--lx-hairline-strong);
}

.lgl-block--highlight .lgl-block__title { color: var(--lx-gold-champagne); }

/* Closing acknowledgment block, centred and quieter */
.lgl-block--closing {
  text-align: center;
}

.lgl-block--closing .lgl-block__head {
  flex-direction: column;
  gap: 16px;
}

/* ---------- Bullet lists inside a legal card ---------- */
.lgl-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.lgl-bullets:last-child { margin-bottom: 0; }

.lgl-bullets li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .72);
}

.lgl-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--lx-gold-light);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(201, 174, 116, .5);
}

/* ---------- Sub-cards inside a legal card (icon + title + text) ---------- */
.lgl-subcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 26px 0 0;
}

.lgl-subcard {
  padding: 26px 28px;
  border: 1px solid var(--lx-hairline);
  background: linear-gradient(158deg, rgba(255, 255, 255, .035) 0%, rgba(0, 0, 0, .25) 100%);
  transition: border-color .45s var(--lx-ease), background .45s var(--lx-ease);
}

.lgl-subcard:hover {
  border-color: var(--lx-hairline-strong);
  background: var(--lx-surface-hover);
}

.lgl-subcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  font-size: 18px;
  color: var(--lx-gold-light);
  border: 1px solid var(--lx-hairline);
  background: linear-gradient(145deg, rgba(201, 174, 116, .12) 0%, rgba(201, 174, 116, .02) 100%);
}

.lgl-subcard__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--lx-gold-light);
}

.lgl-subcard__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .68);
}

/* ---------- Label / value contact rows ---------- */
.lgl-contact-rows {
  display: grid;
  gap: 0;
  margin: 26px 0;
  border: 1px solid var(--lx-hairline);
}

.lgl-contact-row {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 26px;
  border-bottom: 1px solid rgba(201, 174, 116, .12);
}

.lgl-contact-row:last-child { border-bottom: 0; }

.lgl-contact-row__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  align-self: center;
}

.lgl-contact-row__value {
  font-size: 16px;
  line-height: 1.7;
  color: #FFFFFF;
  word-break: break-word;
  align-self: center;
}

.lgl-contact-row__value a {
  color: var(--lx-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 174, 116, .4);
  transition: color .3s var(--lx-ease), border-color .3s var(--lx-ease);
}

.lgl-contact-row__value a:hover {
  color: var(--lx-gold-champagne);
  border-bottom-color: var(--lx-gold-champagne);
}

/* ---------- Compact tiles (About: services we offer) ---------- */
.lgl-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.lgl-tile {
  padding: 34px 28px;
  text-align: center;
  background-image: var(--lx-edge), var(--lx-surface);
  background-size: 2px 100%, auto;
  background-repeat: no-repeat, no-repeat;
  background-position: left top, left top;
  border: 1px solid var(--lx-hairline);
  box-shadow: var(--lx-shadow);
  transition: transform .45s var(--lx-ease), border-color .45s var(--lx-ease), box-shadow .45s var(--lx-ease);
}

.lgl-tile:hover {
  transform: translateY(-6px);
  border-color: var(--lx-hairline-strong);
  box-shadow: var(--lx-shadow-hover);
}

.lgl-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  font-size: 24px;
  color: var(--lx-gold-light);
  border: 1px solid var(--lx-hairline);
  background: linear-gradient(145deg, rgba(201, 174, 116, .14) 0%, rgba(201, 174, 116, .02) 100%);
  transition: color .45s var(--lx-ease), border-color .45s var(--lx-ease);
}

.lgl-tile:hover .lgl-tile__icon {
  color: var(--lx-gold-champagne);
  border-color: var(--lx-hairline-strong);
}

.lgl-tile__title {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .3px;
  color: #FFFFFF;
}

.lgl-tile__line {
  width: 54px;
  height: 1px;
  margin: 0 auto;
  background: var(--lx-metal-line);
  transition: width .45s var(--lx-ease);
}

.lgl-tile:hover .lgl-tile__line { width: 90px; }

/* Section sub-heading under a section title */
.section-subtitle {
  max-width: 900px;
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Highlighted value inside a feature card (Contact info) ---------- */
.lgl-infovalue {
  display: block;
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .4px;
  line-height: 1.5;
  color: var(--lx-gold-light);
  text-decoration: none;
  /* `anywhere` only breaks a token that genuinely cannot fit, so short
     values keep their natural line breaks. */
  overflow-wrap: anywhere;
  transition: color .3s var(--lx-ease);
}

a.lgl-infovalue:hover { color: var(--lx-gold-champagne); }

/* A bare domain is one long token — set smaller so it fits the card on one
   line instead of splitting mid-word. */
.lgl-infovalue--url {
  font-size: 15px;
  letter-spacing: .2px;
}

/* Inline links inside a CTA band: the browser default blue is unreadable on
   the dark ground, so match the gold used everywhere else. */
.cta-text-premium a {
  color: var(--lx-gold-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 174, 116, .4);
  transition: color .3s var(--lx-ease), border-color .3s var(--lx-ease);
}

.cta-text-premium a:hover {
  color: var(--lx-gold-champagne);
  border-bottom-color: var(--lx-gold-champagne);
}

/* ---------- Icon above a single note card (Contact service areas) ---------- */
.lgl-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  font-size: 22px;
  color: var(--lx-gold-light);
  border: 1px solid var(--lx-hairline);
  background: linear-gradient(145deg, rgba(201, 174, 116, .14) 0%, rgba(201, 174, 116, .02) 100%);
}

/* ---------- Photo + content media band ---------- */
.lgl-media-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 50px;
  align-items: center;
}

/* Without this the column resolves against the nested card grid's max-content
   width and the whole band overflows the viewport on phones. */
.lgl-media-figure,
.lgl-media-content { min-width: 0; }

.lgl-media-layout--flip .lgl-media-figure { order: 2; }

.lgl-media-figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--lx-hairline);
  box-shadow: var(--lx-shadow);
}

.lgl-media-figure img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  transition: transform 1.1s var(--lx-ease);
}

.lgl-media-figure:hover img { transform: scale(1.04); }

.lgl-media-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
}

.lgl-media-content .features-premium-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 0;
}

/* ---------- Full-width photo banner with CTA ---------- */
.lgl-banner-section {
  padding: 0;
}

.lgl-banner {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--lx-hairline);
  border-bottom: 1px solid var(--lx-hairline);
}

.lgl-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.lgl-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0, 0, 0, .94) 0%, rgba(0, 0, 0, .82) 45%, rgba(0, 0, 0, .55) 100%);
}

.lgl-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.lgl-banner__icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--lx-gold-light);
  border: 1px solid var(--lx-hairline-strong);
  background: linear-gradient(145deg, rgba(201, 174, 116, .16) 0%, rgba(201, 174, 116, .02) 100%);
  box-shadow: var(--lx-glow);
}

.lgl-banner__content {
  flex: 1 1 300px;
}

.lgl-banner__title {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #FFFFFF;
}

.lgl-banner__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .78);
}

/* ---------- Media / responsive ---------- */
@media (max-width: 1100px) {
  .lgl-hero-layout { gap: 38px; }
  .lgl-media-layout { gap: 38px; }
}

@media (max-width: 992px) {
  .lgl-hero { padding: 60px 5% 70px; }
  .lgl-hero-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .lgl-media-layout { grid-template-columns: minmax(0, 1fr); }
  .lgl-media-layout--flip .lgl-media-figure { order: 0; }
  .lgl-media-figure img { max-height: 420px; }
  .lgl-block { padding: 34px 32px; }
  .lgl-banner { min-height: 340px; }
}

@media (max-width: 768px) {
  .lgl-hero { padding: 46px 5% 56px; }
  .lgl-hero-lead { padding: 24px 22px; }
  .lgl-hero-lead p { font-size: 15px; }
  .lgl-stats { gap: 4px; padding: 20px 0; }
  .lgl-stat { flex: 1 1 90px; }
  .lgl-stat-divider { display: none; }
  .lgl-block { padding: 28px 24px; }
  .lgl-block__head { gap: 14px; margin-bottom: 18px; }
  .lgl-block__icon { width: 44px; height: 44px; font-size: 18px; }
  .lgl-block__body p { font-size: 15px; }
  .lgl-contact-row { grid-template-columns: 1fr; gap: 6px; padding: 16px 20px; }
  .lgl-contact-row__value { font-size: 15px; }
  .lgl-subcards { grid-template-columns: 1fr; gap: 16px; }
  .lgl-tiles { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
  .lgl-tile { padding: 28px 20px; }
  .lgl-banner__inner { padding: 44px 25px; gap: 24px; }
  .lgl-banner__icon { width: 62px; height: 62px; font-size: 24px; }
  .section-subtitle { font-size: 15px; }
}

@media (max-width: 480px) {
  h1.lgl-hero-title { font-size: 1.75rem; }
  .lgl-tiles { grid-template-columns: 1fr; }
  .lgl-effective { flex-direction: column; align-items: flex-start; gap: 5px; }
}
