/* ==========================================================
   PETRO Z - SHARED THEME
   Clean & light. Red is the primary brand accent.
   Loaded LAST on every page so it owns the shared chrome
   (navbar, footer, buttons, base typography).
========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@300;400;500;600;700;800&display=swap');

/* ---------- Design tokens ---------- */
:root {
  /* Brand red */
  --red: #e01b24;
  --red-600: #c1121a;
  --red-700: #990e15;
  --red-050: #fdecec;

  /* Aliases (used across page stylesheets) */
  --accent: #e01b24;
  --accent-600: #c1121a;
  --accent-050: #fdecec;

  /* Neutrals */
  --ink: #1b1d22;
  --charcoal: #141518;
  --slate: #565d68;
  --slate-400: #8b929c;
  --line: #e9e9ee;
  --bg: #ffffff;
  --bg-soft: #f6f6f8;
  --white: #ffffff;

  /* Layout */
  --container: 1200px;
  --nav-h: 78px;

  /* Radii */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(20,20,25,.04), 0 4px 14px rgba(20,20,25,.05);
  --shadow: 0 10px 30px rgba(20,20,25,.08);
  --shadow-lg: 0 22px 55px rgba(20,20,25,.14);

  /* Motion */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .25s var(--ease);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Kumbh Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; }

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

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}

/* ==========================================================
   NAVBAR  (clean white header, dark links, red accents)
========================================================== */
header { position: relative; z-index: 1000; }

.navbar__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-h);
  width: 100%;
  padding: 0 clamp(20px, 4vw, 48px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(20, 20, 25, .05);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.navbar-logo img {
  height: 46px;
  width: auto;
  margin: 0;
  object-fit: contain;
}

/* Menu */
.navbar__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  gap: 2px;
}

.navbar__item {
  height: var(--nav-h);
  position: relative;
}

.navbar__links {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 16px;
  color: #2b2e35;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .01em;
  transition: color var(--t);
}
.navbar__links:hover { color: var(--red); }

/* Animated red underline for top-level links */
.navbar__item > .navbar__links::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 20px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.navbar__item:hover > .navbar__links::before { transform: scaleX(1); }

/* CTA */
.navbar__btn.desktop { display: flex; }
.navbar__btn.mobile { display: none; }

/* Shared button base */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  padding: 11px 24px;
  border: none;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t), box-shadow var(--t);
}
.button:hover {
  background: var(--red-600);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(224, 27, 36, .3);
}

/* ---------- Dropdowns ---------- */
.navbar__item.dropdown > .navbar__links::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 9px;
  margin-top: -3px;
  border-right: 2px solid var(--slate-400);
  border-bottom: 2px solid var(--slate-400);
  transform: rotate(45deg);
  transition: transform var(--t), border-color var(--t);
}
.navbar__item.dropdown:hover > .navbar__links::after,
.navbar__item.dropdown.active > .navbar__links::after {
  transform: rotate(-135deg);
  margin-top: 2px;
  border-color: var(--red);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 212px;
  flex-direction: column;
  list-style: none;
  padding: 8px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.navbar__item.dropdown:hover > .dropdown-menu { display: flex; }

.dropdown-menu li { list-style: none; }
.dropdown-menu li a {
  display: block;
  padding: 11px 14px;
  border-radius: 9px;
  color: #2b2e35;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t), color var(--t);
}
.dropdown-menu li a:hover { background: var(--red-050); color: var(--red); }

/* Sub-dropdown */
.dropdown-sub { position: relative; }
.dropdown-sub-menu {
  display: none;
  position: absolute;
  top: -8px;
  left: 100%;
  min-width: 212px;
  flex-direction: column;
  list-style: none;
  padding: 8px;
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.dropdown-sub:hover > .dropdown-sub-menu { display: flex; }

.dropdown-sub > a::after {
  content: "";
  width: 7px;
  height: 7px;
  float: right;
  margin-top: 5px;
  margin-left: 10px;
  border-right: 2px solid var(--slate-400);
  border-top: 2px solid var(--slate-400);
  transform: rotate(45deg);
}
.dropdown-sub-menu li a:hover { background: var(--red-050); color: var(--red); }

/* Hamburger */
.navbar__toggle { display: none; }

/* ---------- Mobile nav ---------- */
@media screen and (max-width: 968px) {
  .navbar__toggle {
    display: block;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #22242a;
    font-size: 1.4rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2000;
  }

  .navbar__menu {
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    top: var(--nav-h);
    left: -100%;
    width: 100%;
    height: calc(100dvh - var(--nav-h));
    padding: 10px 0 40px;
    gap: 0;
    background: #fff;
    opacity: 0;
    overflow-y: auto;
    transition: left .38s var(--ease), opacity .38s var(--ease);
  }
  .navbar__menu.active { left: 0; opacity: 1; }

  .navbar__item { width: 100%; height: auto; }

  .navbar__links {
    width: 100%;
    justify-content: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }
  .navbar__item > .navbar__links::before { display: none; }

  .navbar__btn.desktop { display: none; }
  .navbar__btn.mobile {
    display: flex;
    justify-content: center;
    margin: 22px auto;
    width: 70%;
  }

  /* Accordion dropdowns */
  .navbar__item.dropdown .dropdown-menu,
  .dropdown-sub-menu {
    position: static;
    display: flex;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: var(--bg-soft);
    max-height: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .navbar__item.dropdown.active .dropdown-menu { max-height: 620px; }
  .dropdown-sub.active .dropdown-sub-menu { max-height: 360px; }

  .dropdown-menu li a,
  .dropdown-sub-menu li a {
    text-align: center;
    border-radius: 0;
  }
}

/* ==========================================================
   FOOTER  (charcoal, red accents)
========================================================== */
.site-footer {
  background: var(--charcoal);
  color: #c3c7cf;
  padding: 72px 24px 26px;
  font-family: inherit;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  max-width: var(--container);
  margin: 0 auto;
}

.footer-col h3 {
  position: relative;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 20px;
  padding-bottom: 12px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 6px;
  background: var(--red);
}

.footer-about p {
  font-size: .95rem;
  line-height: 1.75;
  color: #9aa0aa;
  max-width: 330px;
  margin: 0;
}
.footer-logo {
  width: 150px;
  margin-bottom: 22px;
  transition: transform var(--t);
}
.footer-logo:hover { transform: scale(1.05); }

.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a {
  color: #a6abb4;
  font-size: .95rem;
  text-decoration: none;
  transition: color var(--t), padding-left var(--t);
}
.footer-links ul li a:hover { color: #fff; padding-left: 6px; }

.footer-contact h3 { color: #fff; }
.footer-contact p {
  font-size: .93rem;
  line-height: 1.7;
  margin: 0 0 12px;
  color: #a6abb4;
}
.footer-contact i { color: var(--red); margin-right: 8px; }

.footer-social a {
  color: #a6abb4;
  font-size: 1.25rem;
  margin-right: 15px;
  transition: color var(--t), transform var(--t);
  display: inline-block;
}
.footer-social a:hover { color: #fff; transform: translateY(-3px); }

.footer-bottom {
  max-width: var(--container);
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
  font-size: .88rem;
  color: #7c828c;
}

@media (max-width: 1000px) {
  .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-col h3::after { left: 50%; transform: translateX(-50%); }
  .footer-about p, .footer-contact p { margin-inline: auto; max-width: 360px; }
  .footer-logo { margin-inline: auto; }
}

/* ==========================================================
   SHARED: section kickers + scroll reveal (used site-wide)
========================================================== */
.kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.kicker-light {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 7px 16px;
  border-radius: var(--pill);
  letter-spacing: .16em;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
