/* ============================================================
   LDL Gas Ltd — stylesheet
   Modern, professional, fully responsive. Brand blue #3CABE6.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --blue:        #3CABE6;
  --blue-dark:   #1E88C4;
  --blue-darker: #12608c;
  --blue-tint:   #eaf6fc;
  --amber:       #f5a623;
  --amber-dark:  #e08e05;
  --ink:         #1c2733;
  --slate:       #5a6b78;
  --line:        #e3eaef;
  --surface:     #f5f8fa;
  --white:       #ffffff;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow-sm:   0 2px 8px rgba(28,39,51,.06);
  --shadow:      0 12px 32px rgba(28,39,51,.10);
  --shadow-lg:   0 24px 60px rgba(28,39,51,.16);

  --container:   1140px;
  --font:        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                 Helvetica, Arial, sans-serif;

  --header-h:    76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--blue-dark); text-decoration: none; }
a:hover { color: var(--blue-darker); }

h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-dark);
  margin-bottom: .9rem;
}
.eyebrow.on-dark { color: #bfe6f8; }
.lead { font-size: 1.16rem; color: var(--slate); }
.text-center { text-align: center; }
.muted { color: var(--slate); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface); }
.section--blue-tint { background: var(--blue-tint); }
.section__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section__head.left { margin-left: 0; text-align: left; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(60,171,230,.35); }
.btn--primary:hover { background: var(--blue-dark); color: #fff; box-shadow: 0 12px 26px rgba(60,171,230,.45); }
.btn--amber { background: var(--amber); color: #3a2600; box-shadow: 0 8px 20px rgba(245,166,35,.35); }
.btn--amber:hover { background: var(--amber-dark); color: #3a2600; }
.btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--blue-dark); border-color: #fff; }
.btn--outline { background: #fff; color: var(--blue-dark); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand / logo lockup */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex: 0 0 auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 900; font-size: 1.35rem; letter-spacing: .02em; color: var(--ink); }
.brand__name span { color: var(--blue); }
.brand__tag { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--slate); margin-top: 3px; }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--ink);
  font-weight: 600;
  padding: .55rem .85rem;
  border-radius: 8px;
  position: relative;
}
.nav a:hover { background: var(--surface); color: var(--blue-dark); }
.nav a.active { color: var(--blue-dark); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 3px; border-radius: 3px; background: var(--blue);
}

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; color: var(--ink); }
.header-phone svg { width: 20px; height: 20px; color: var(--blue); }
.header-phone:hover { color: var(--blue-dark); }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(460px, 72vh, 680px);
  padding: 96px 0;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(105deg, rgba(10,28,42,.86) 0%, rgba(10,28,42,.55) 48%, rgba(10,28,42,.15) 100%),
    linear-gradient(0deg, rgba(10,28,42,.35), rgba(10,28,42,.1));
}
.hero__inner { max-width: 640px; }
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero p { font-size: 1.2rem; color: #eaf3f9; margin-bottom: 1.8rem; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Compact page hero (inner pages) */
.hero--page { min-height: clamp(340px, 48vh, 460px); padding: 72px 0; }

/* Breadcrumb-ish tag inside hero */
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 1.8rem; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; font-size: .95rem; color: #dff0fa; }
.hero__badge svg { width: 20px; height: 20px; color: var(--blue); }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust {
  background: var(--ink);
  color: #fff;
}
.trust__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px 46px;
  padding: 22px 0;
}
.trust__item { display: inline-flex; align-items: center; gap: .7rem; font-weight: 600; }
.trust__item svg { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.trust__item img { height: 46px; width: auto; background: #fff; padding: 4px 6px; border-radius: 8px; }
.trust__item strong { color: #fff; }
.trust__item small { display: block; font-weight: 500; color: #9db4c4; font-size: .78rem; }

/* ============================================================
   INTRO / SPLIT
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
.split__media { position: relative; }
.split__badge {
  position: absolute;
  right: -18px; bottom: -22px;
  background: var(--blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow);
  text-align: center;
  line-height: 1.05;
}
.split__badge b { display: block; font-size: 2rem; font-weight: 900; }
.split__badge span { font-size: .82rem; letter-spacing: .04em; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe6f4; }
.card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  margin-bottom: 20px;
}
.card__icon svg { width: 32px; height: 32px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--slate); margin-bottom: 1.2rem; }
.card__link {
  margin-top: auto;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.card__link svg { width: 1em; height: 1em; transition: transform .2s ease; }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature card (image top) */
.card--photo { padding: 0; overflow: hidden; }
.card--photo img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card--photo .card__body { padding: 28px 30px 34px; display: flex; flex-direction: column; flex: 1; }

/* ============================================================
   CHECK LIST (services / capabilities)
   ============================================================ */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px 28px;
}
.checklist li {
  position: relative;
  padding: 10px 10px 10px 40px;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231E88C4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* ============================================================
   FEATURE ROW (numbered / plain content blocks)
   ============================================================ */
.prose { max-width: 780px; }
.prose p { color: #33424e; }
.prose h3 { margin-top: 2rem; }

.stack { display: grid; gap: clamp(28px, 4vw, 48px); }

.feature {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}
.feature__num {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  font-size: 1.3rem;
}
.feature h3 { margin-bottom: .3rem; }
.feature p { color: var(--slate); margin: 0; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  position: relative;
  color: #fff;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(120deg, var(--blue-darker), var(--blue-dark) 60%, var(--blue));
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,.16), transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(245,166,35,.22), transparent 45%);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e5f4fb; font-size: 1.15rem; max-width: 40em; margin: 0 auto 1.8rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}
.info-list { list-style: none; margin: 0; padding: 0; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.info-list li:last-child { border-bottom: 0; }
.info-list .ico {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  display: grid; place-items: center;
}
.info-list .ico svg { width: 22px; height: 22px; }
.info-list dt { font-weight: 500; color: var(--slate); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }
.info-list a { font-weight: 700; font-size: 1.12rem; }
.info-list .val { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.info-list address { font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.5; }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 34px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: .4rem; font-size: .95rem; }
.field input, .field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(60,171,230,.15);
}
.field textarea { resize: vertical; min-height: 140px; }
.field .error-msg { color: #d64545; font-size: .85rem; margin-top: .35rem; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #d64545; background: #fdf3f3; }
.field.invalid .error-msg { display: block; }
.form__note { font-size: .88rem; color: var(--slate); margin: 0 0 1.2rem; }
.form__status {
  display: none;
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--blue-tint);
  color: var(--blue-darker);
  font-weight: 600;
}
.form__status.show { display: block; }

/* Map */
.map-wrap {
  margin-top: 26px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  line-height: 0;
}
.map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; filter: saturate(1.05); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #0e1b26;
  color: #b9c8d3;
  padding: 64px 0 28px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand__name { color: #fff; }
.footer-brand .brand__tag { color: #7d95a6; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #b9c8d3; }
.footer-links a:hover { color: var(--blue); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: .6rem; margin-bottom: .7rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue); flex: 0 0 auto; margin-top: 3px; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-badges { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
.footer-badges img { height: 58px; background: #fff; padding: 6px 8px; border-radius: 10px; }
.footer-badges span { font-size: .82rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: .85rem;
  color: #7d95a6;
}
.footer-bottom a { color: #9db4c4; }

/* Back to top */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  border: 0;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease;
  z-index: 40;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-dark); }
.to-top svg { width: 22px; height: 22px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__badge { right: 16px; bottom: -18px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-h: 66px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .header-phone span { display: none; } /* keep icon only, tighten */

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 10px 16px 18px;
    transform: translateY(-120%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  body.nav-open .nav { transform: none; }
  .nav a { padding: .9rem 1rem; border-radius: 10px; font-size: 1.05rem; }
  .nav a.active::after { display: none; }
  .nav a.active { background: var(--blue-tint); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 auto; justify-content: center; }
  .split__badge { position: static; margin-top: 18px; display: inline-block; }
  .info-card, .form { padding: 24px; }
}
