/* Lamçe Petrol — modern static rebuild
   Brand: green #147830, blue #0ca2e0, dark #262b2e */
:root {
  --green: #147830;
  --green-dark: #0f5c25;
  --blue: #0ca2e0;
  --blue-dark: #0a86bb;
  --ink: #262b2e;
  --muted: #676b6d;
  --line: #e6e8ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f7;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(38,43,46,.08);
  --shadow-lg: 0 18px 48px rgba(38,43,46,.14);
  --wrap: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
p { margin: 0 0 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: .6rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--blue); color: #fff; font-weight: 600;
  padding: .8rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); color:#fff; }
.btn--green { background: var(--green); }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: var(--blue); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--ink); letter-spacing: .02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand__name { font-size: 1.25rem; font-weight: 800; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--green); }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block; padding: .55rem .9rem; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.nav__links a:hover { background: var(--bg-soft); text-decoration: none; color: var(--green); }
.nav__links a.active { color: var(--green); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* Hero slider */
.hero { position: relative; color: #fff; text-align: left; overflow: hidden; background: var(--ink); }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease; will-change: opacity;
  transform: scale(1.04); animation: heroZoom 8s ease forwards paused;
}
.hero__slide.is-active { opacity: 1; animation-play-state: running; }
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,45,25,.82) 0%, rgba(15,92,37,.55) 45%, rgba(12,162,224,.28) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; padding: 120px 0; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero p { font-size: 1.2rem; opacity: .97; margin-bottom: 1.8rem; text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .btn--ghost { color:#fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.16); color:#fff; }
.hero__dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 26px; display: flex; gap: 10px; justify-content: center; }
.hero__dots button {
  width: 11px; height: 11px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.45); transition: background .2s, transform .2s;
}
.hero__dots button:hover { background: rgba(255,255,255,.75); }
.hero__dots button.is-active { background: #fff; transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; transform: none; transition: opacity .3s; }
}

/* Page banner (inner pages) */
.page-banner { background: var(--bg-soft); border-bottom: 1px solid var(--line); text-align: center; padding: 60px 0 48px; }
.page-banner h1 { margin-bottom: .4rem; }
.breadcrumb { color: var(--muted); font-size: .9rem; }
.breadcrumb a { color: var(--muted); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; text-decoration: none; }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 20px 22px 24px; }
.card__body h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.card__body p { color: var(--muted); font-size: .95rem; margin: 0; }

/* About split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { margin-bottom: .2rem; }
.lead { font-size: 1.12rem; color: var(--ink); }

/* Services blocks */
.svc { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; padding: 48px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc__aside { position: sticky; top: 100px; }
.svc__aside .tag { display:inline-block; background: var(--green); color:#fff; font-weight:700; font-size:.75rem; letter-spacing:.1em; text-transform:uppercase; padding:.35rem .8rem; border-radius:999px; }
.svc__aside h2 { margin-top: .8rem; }
.svc h3 { color: var(--green); margin-top: 1.6rem; font-size: 1.2rem; }
.svc h3:first-child { margin-top: 0; }
.svc ul { padding-left: 1.1rem; color: var(--muted); }
.svc ul li { margin-bottom: .35rem; }
.spec-list { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0 0 1rem; }
.spec-list li { background: var(--bg-soft); border-radius: 8px; padding: .7rem 1rem; color: var(--ink); font-size: .95rem; }
.spec-list li b { color: var(--green); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a { display:block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background:#fff; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .35s ease; }
.gallery a:hover img { transform: scale(1.07); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ic {
  flex: 0 0 44px; height: 44px; border-radius: 12px; background: var(--bg-soft);
  display: grid; place-items: center; color: var(--green); font-size: 1.2rem;
}
.info-list h4 { margin: 0 0 2px; font-size: 1rem; }
.info-list p { margin: 0; color: var(--muted); }
.info-list a { color: var(--muted); }
.map { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Footer */
.site-footer { background: var(--ink); color: #c7ccce; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #c7ccce; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-brand { display:flex; align-items:center; gap:.7rem; margin-bottom: 1rem; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand b { color:#fff; font-size: 1.1rem; }
.footer-brand small { display:block; color: var(--blue); letter-spacing:.2em; font-size:.6rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: #9aa0a2; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.social { display:flex; gap: 10px; }
.social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color:#fff; font-weight:700; font-size:.85rem; }
.social a:hover { background: var(--green); }

/* Responsive */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .svc__aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav__links.open { display: flex; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 54px 0; }
  .hero__inner { padding: 70px 0; }
}
@media (max-width: 480px) {
  .cards, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Hero slide backgrounds (moved out of inline styles for a stricter CSP) */
.hero__slide--a { background-image: url("../img/station_6101.jpg"); }
.hero__slide--b { background-image: url("../img/station_6180.jpg"); }
.hero__slide--c { background-image: url("../img/station_6222.jpg"); }

/* Small utilities */
.center { text-align: center; }
.measure { max-width: 560px; margin: 0 auto 1.6rem; }
.timeline-img { max-width: 820px; margin: 0 auto; }
.footer-bottom--center { border: 0; margin: 0; padding: 0; justify-content: center; }
