/* ============================================================
   DELTAA5 — Global Styles
   Dark, premium car-culture aesthetic (Carium-inspired)
   ============================================================ */

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

:root {
  --bg: #0a0a0a;
  --card: #111111;
  --card-2: #1a1a1a;
  --accent: #ff0000;
  --accent-dark: #cc0000;
  --border: #222222;
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --heading-font: "Barlow Condensed", sans-serif;
  --body-font: "Barlow", sans-serif;
  --container: 1200px;
  --section-pad: 100px;
}

/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  background: var(--card-2);
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.05;
}

.section-label {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: inline-block;
}

p {
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

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

section {
  padding: var(--section-pad) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn .arrow {
  transition: transform 0.25s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-outline:hover {
  background: var(--card-2);
  border-color: var(--accent);
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.9rem;
}

.btn-whatsapp {
  background: #25d366;
}

.btn-whatsapp:hover {
  background: #1eb658;
}

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
}

.logo .tri {
  color: var(--accent);
  margin-right: 4px;
}

/* Image logo (navbar + footer) */
.logo img {
  display: block;
  height: 42px;
  width: auto;
}

.footer-brand .logo img {
  height: 48px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links > a:not(.nav-cta) {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links > a:not(.nav-cta):hover,
.nav-links > a.active {
  color: var(--accent);
}

.nav-links > a.active::after,
.nav-links > a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

/* Services dropdown */
.nav-links .nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-links .dropdown-toggle {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-item:hover > .dropdown-toggle,
.nav-item:focus-within > .dropdown-toggle {
  color: var(--accent);
}

.dropdown-toggle .caret {
  font-size: 0.7em;
  transition: transform 0.25s ease;
}

.nav-item:hover .caret,
.nav-item:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 256px;
  margin-top: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 1200;
}

/* invisible bridge across the gap so the menu doesn't close on hover-out */
.dropdown-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu > a {
  font-family: var(--heading-font);
  text-transform: none;
  letter-spacing: 0.4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  padding: 11px 14px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu > a:hover,
.dropdown-menu > a.active {
  background: var(--card);
  color: var(--accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 90px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  /* Fallback image — the video's own first frame, so the image→video swap is seamless */
  background-image: url("video/hero-poster.jpg");
}

/* Background video (optional) — sits behind the dark overlay + text */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Dark gradient overlay — keeps the headline readable over image OR video */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.55) 45%,
    rgba(10, 10, 10, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero .trust-line {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero .trust-line::before {
  content: "";
  width: 42px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 0.98;
  margin-bottom: 24px;
}

.hero p.sub {
  font-size: 1.2rem;
  color: #d8d8d8;
  max-width: 560px;
  margin-bottom: 36px;
}

/* ============================================================
   Manifesto (BUILT BY PETROLHEADS)
   ============================================================ */
.manifesto {
  border-top: 1px solid var(--border);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}

.manifesto-grid h2 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
}

.manifesto-grid p {
  font-size: 1.1rem;
}

/* ---------- Stats bar ---------- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 70px;
  background: var(--card);
}

.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: var(--heading-font);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat .label {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ============================================================
   Cards & grids
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

/* Services preview grid (2-col) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card .card-img {
  height: 230px;
  overflow: hidden;
}

.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .card-img img {
  transform: scale(1.06);
}

.service-card .card-body {
  padding: 28px 30px 32px;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  letter-spacing: 1.5px;
}

.service-card .card-body p {
  font-size: 0.98rem;
}

.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 18px;
  font-size: 0.95rem;
}

/* ============================================================
   Process steps
   ============================================================ */
.process {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step {
  padding: 40px 30px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.step .step-num {
  font-family: var(--heading-font);
  font-size: 3.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 0.85;
}

.step h3 {
  font-size: 1.6rem;
  margin: 18px 0 12px;
}

.step .step-img {
  height: 200px;
  margin: -40px -30px 26px;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  border-bottom: 1px solid var(--border);
}

.step .step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.step:hover .step-img img {
  transform: scale(1.05);
}

/* ============================================================
   Testimonials marquee
   ============================================================ */
.testimonials {
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 26px;
  width: max-content;
  animation: scroll-x 34s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll-x {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.review {
  width: 420px;
  flex-shrink: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 34px 32px;
}

.review .stars {
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.review .quote {
  color: #e0e0e0;
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.review .reviewer {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  color: #fff;
}

.review .car {
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ---- Google reviews banner ---- */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Summary badge under the heading */
.g-summary {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-top: 26px;
  padding: 20px 30px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.g-summary .g-mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.g-summary-info {
  text-align: left;
}

.g-summary-title {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.g-rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.g-rating-big {
  font-family: var(--heading-font);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1;
}

.g-stars {
  color: #fbbc04; /* Google review gold */
  letter-spacing: 2px;
  font-size: 1.05rem;
}

.g-summary-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}

.g-summary-count:hover {
  color: #fff;
}

/* Individual Google-style review cards */
.g-review .g-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.g-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.2rem;
  overflow: hidden;
}

.g-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-review-who {
  flex: 1;
  min-width: 0;
}

.g-review-who .reviewer {
  /* override the uppercase testimonial name for a natural Google look */
  text-transform: none;
  letter-spacing: 0;
  font-size: 1rem;
}

.g-when {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.g-badge-mini {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  align-self: flex-start;
}

.stars.gold {
  color: #fbbc04;
}

/* ============================================================
   Inner page hero banner
   ============================================================ */
.page-hero {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding-top: 74px;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(
      to right,
      rgba(10, 10, 10, 0.92),
      rgba(10, 10, 10, 0.55)
    ),
    url("images/stock/hero-inner-bg.jpg");
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 560px;
  color: #d8d8d8;
}

.breadcrumb {
  font-family: var(--heading-font);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb .accent {
  color: var(--accent);
}

/* ============================================================
   About page
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-grid .story-img {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 480px;
}

.story-grid .story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-text h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 22px;
}

.story-text p + p {
  margin-top: 18px;
}

/* Why choose us feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 28px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.feature .icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 0, 0, 0.14);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 22px;
}

.feature h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature p {
  font-size: 0.95rem;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.team-card .team-img {
  height: 320px;
  overflow: hidden;
}

.team-card .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3);
  transition: filter 0.4s ease, transform 0.5s ease;
}

.team-card:hover .team-img img {
  filter: grayscale(0);
  transform: scale(1.05);
}

.team-card .team-body {
  padding: 24px 28px 30px;
}

.team-card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.team-card .role {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-family: var(--heading-font);
  font-weight: 600;
}

/* ============================================================
   Our Work page
   ============================================================ */
.work-section {
  border-bottom: 1px solid var(--border);
}

.work-section:last-of-type {
  border-bottom: none;
}

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.work-head .work-copy {
  max-width: 640px;
}

.work-head h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 16px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.work-tags span {
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  font-family: var(--heading-font);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.work-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover img {
  transform: scale(1.07);
}

.work-card .cap {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.92), transparent);
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* ============================================================
   Contact page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.contact-info {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 36px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 26px;
}

.info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.info-item:last-of-type {
  border-bottom: none;
}

.info-item .info-icon {
  color: var(--accent);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item h4 {
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}

.info-item p {
  font-size: 0.95rem;
}

.contact-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

/* Form */
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 38px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--body-font);
  font-size: 0.98rem;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.field select option {
  background: var(--card-2);
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 16px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid #25d366;
  color: #7fe6a5;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* Map */
.map-embed {
  margin-top: 60px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 380px;
  position: relative;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.85);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #060606;
  border-top: 1px solid var(--border);
  padding-top: 70px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 18px;
  display: inline-block;
}

.footer-brand p {
  max-width: 340px;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #fff;
}

.footer-col p,
.footer-col a {
  color: var(--muted);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 12px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-socials a:hover {
  border-color: var(--accent);
  background: var(--card);
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 26px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .manifesto-grid,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .story-grid .story-img {
    height: 360px;
    order: -1;
  }
  .work-cards,
  .work-cards.two {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: #0d0d0d;
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 0 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links .nav-cta {
    margin-top: 10px;
  }

  /* Services dropdown → expanded inline inside the slide-in menu */
  .nav-links .nav-item {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    margin-top: 12px;
    padding: 10px 0 0 14px;
    gap: 8px;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border);
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown-menu > a {
    padding: 4px 0;
  }

  .dropdown-toggle .caret {
    display: none;
  }

  .services-grid,
  .steps,
  .team-grid,
  .stats-bar,
  .features-grid,
  .work-cards,
  .work-cards.two,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .stat:last-child {
    border-bottom: none;
  }

  .work-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .review {
    width: 300px;
  }

  .hero {
    padding-bottom: 60px;
  }
}

/* ============================================================
   Blog + Admin
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}

.blog-card .blog-img {
  height: 200px;
  overflow: hidden;
  background: var(--card-2);
}

.blog-card .blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-card .blog-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.blog-card h3 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.95rem;
  flex: 1;
}

.blog-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 18px;
  font-size: 0.95rem;
}

.blog-empty {
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 60px 30px;
  text-align: center;
  color: var(--muted);
}

/* Single post */
.post-article {
  max-width: 780px;
  margin: 0 auto;
}

.post-article .post-cover {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 34px;
  max-height: 440px;
}

.post-article .post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog video embeds — fill the same frames as cover images */
.blog-card .blog-img iframe,
.blog-card .blog-img video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
  background: #000;
}

.post-article .post-cover.media-video {
  max-height: none;
  aspect-ratio: 16 / 9;
}

.post-article .post-cover iframe,
.post-article .post-cover video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  background: #000;
}

/* Video-thumbnail play badge on blog cards */
.blog-card .blog-img.media-thumb {
  position: relative;
}

.blog-card .blog-img.media-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .blog-img.media-thumb .play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.9);
}

.blog-card .blog-img.media-thumb .play-badge::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
}

/* Our Work — admin-managed photo/video gallery */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.work-item {
  position: relative;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}

.work-item-media {
  aspect-ratio: 4 / 3;
  background: #000;
}

.work-item-media img,
.work-item-media video,
.work-item-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
}

.work-item figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

@media (max-width: 992px) {
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }
}

/* Fully-clickable cards — the primary link stretches over the whole card */
.card-clickable {
  position: relative;
  cursor: pointer;
}

.card-clickable .card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Keep real controls (e.g. admin delete) above the stretched link */
.card-clickable .admin-del {
  position: relative;
  z-index: 2;
}

/* Drag & drop upload zone (blog editor) */
.dropzone {
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dropzone.dragover {
  border-color: var(--accent);
  background: rgba(255, 0, 0, 0.06);
}

.dz-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.dz-browse {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.dz-status {
  font-size: 0.82rem;
  margin-top: 8px;
}
.dz-status.busy { color: #ffcf6b; }
.dz-status.ok { color: #7cfc9a; }
.dz-status.err { color: #ff9a9a; }

.dz-preview:not(:empty) {
  margin-top: 14px;
}

.dz-preview img,
.dz-preview video {
  max-width: 100%;
  max-height: 220px;
  border-radius: 8px;
  display: inline-block;
}

.dz-note {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Small helper text under admin form inputs */
.field-hint {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.post-article h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 16px;
}

.post-article .post-body p {
  color: #d3d3d3;
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 30px;
}

/* Admin */
.admin-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 40px 38px;
}

.admin-card.narrow {
  max-width: 440px;
  margin: 0 auto;
}

.admin-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.mode-badge {
  display: inline-block;
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border);
  color: var(--muted);
}

.mode-badge.local {
  color: #ffcf6b;
  border-color: #6b5622;
  background: rgba(255, 191, 0, 0.08);
}

.mode-badge.live {
  color: #7fe6a5;
  border-color: #1f5b3a;
  background: rgba(37, 211, 102, 0.1);
}

.admin-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

.form-error {
  display: none;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid var(--accent);
  color: #ff9a9a;
  font-size: 0.9rem;
}

.form-error.show {
  display: block;
}

.admin-posts {
  margin-top: 40px;
}

.admin-post-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 12px;
}

.admin-post-row .meta {
  font-size: 0.82rem;
  color: var(--muted);
}

.btn-danger {
  background: transparent;
  border: 1px solid #6b2222;
  color: #ff9a9a;
  padding: 9px 18px;
  font-size: 0.85rem;
}

.btn-danger:hover {
  background: rgba(255, 0, 0, 0.12);
  border-color: var(--accent);
  transform: none;
}

@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .admin-card {
    padding: 30px 24px;
  }
}

/* Inline blog admin (on blog.html) */
.admin-toolbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.admin-toolbar .who {
  color: var(--muted);
  font-size: 0.9rem;
  margin-right: auto;
}

.link-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  font-family: var(--heading-font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  padding: 4px 0;
}

.link-btn:hover {
  color: var(--accent);
}

.blog-card {
  position: relative;
}

.admin-del {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background: rgba(10, 10, 10, 0.82);
  border: 1px solid #6b2222;
  color: #ff9a9a;
  border-radius: 8px;
  padding: 6px 11px;
  font-size: 0.75rem;
  font-family: var(--heading-font);
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.admin-del:hover {
  background: rgba(255, 0, 0, 0.22);
  border-color: var(--accent);
  color: #fff;
}
