﻿/* Manoj Car Towing Service - Production Landing Page Styles */

:root {
  color-scheme: dark;
  --color-bg: #07080c;
  --color-bg-soft: #10131a;
  --color-bg-panel: #151922;
  --color-bg-elevated: #1c212c;
  --color-text: #f6f7fb;
  --color-muted: #b8becb;
  --color-soft: #828b9c;
  --color-line: rgba(255, 255, 255, 0.1);
  --color-yellow: #ffc400;
  --color-yellow-deep: #e4a900;
  --color-red: #ef233c;
  --color-red-deep: #bd1024;
  --color-whatsapp: #25d366;
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.32);
  --shadow-glow: 0 18px 42px rgba(239, 35, 60, 0.22);
  --body-glow-start: rgba(255, 196, 0, 0.11);
  --body-glow-end: rgba(239, 35, 60, 0.12);
  --header-bg: rgba(7, 8, 12, 0.18);
  --header-solid: rgba(7, 8, 12, 0.92);
  --menu-bg: rgba(7, 8, 12, 0.98);
  --hero-title-color: #ffffff;
  --hero-copy-color: #e6e9f2;
  --hero-kicker-color: #ffc400;
  --hero-text-shadow: 0 5px 24px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.55);
  --hero-overlay:
    linear-gradient(90deg, rgba(3, 5, 10, 0.76), rgba(6, 8, 13, 0.42) 48%, rgba(6, 8, 13, 0.16)),
    linear-gradient(0deg, rgba(3, 5, 10, 0.58), rgba(3, 5, 10, 0.06) 52%, rgba(3, 5, 10, 0.08));
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --container: 1180px;
  --header-height: 76px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html[data-theme="light"] {
  color-scheme: light;
  --color-bg: #f8fafc;
  --color-bg-soft: #eef2f7;
  --color-bg-panel: #ffffff;
  --color-bg-elevated: #ffffff;
  --color-text: #111827;
  --color-muted: #4b5563;
  --color-soft: #6b7280;
  --color-line: rgba(15, 23, 42, 0.12);
  --color-yellow: #f5b700;
  --color-yellow-deep: #cc8f00;
  --color-red: #df1f34;
  --color-red-deep: #aa1224;
  --shadow-soft: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 18px 42px rgba(223, 31, 52, 0.18);
  --body-glow-start: rgba(245, 183, 0, 0.18);
  --body-glow-end: rgba(223, 31, 52, 0.1);
  --header-bg: rgba(248, 250, 252, 0.42);
  --header-solid: rgba(255, 255, 255, 0.92);
  --menu-bg: rgba(255, 255, 255, 0.98);
  --hero-title-color: #ffffff;
  --hero-copy-color: #f4f7fb;
  --hero-kicker-color: #ffd21f;
  --hero-text-shadow: 0 6px 28px rgba(0, 0, 0, 0.86), 0 2px 8px rgba(0, 0, 0, 0.76);
  --hero-overlay:
    linear-gradient(90deg, rgba(3, 7, 18, 0.74), rgba(3, 7, 18, 0.38) 48%, rgba(3, 7, 18, 0.12)),
    linear-gradient(0deg, rgba(3, 7, 18, 0.52), rgba(3, 7, 18, 0.04) 54%, rgba(255, 255, 255, 0.04));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, var(--body-glow-start), transparent 30rem),
    radial-gradient(circle at top right, var(--body-glow-end), transparent 28rem),
    var(--color-bg);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: color 220ms ease, background-color 220ms ease;
}

body,
.site-header,
.nav-menu,
.hero-overlay,
.hero-content h1,
.hero-text,
.hero .eyebrow,
.hero-actions .btn {
  transition:
    color 240ms ease,
    background 240ms ease,
    background-color 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    text-shadow 240ms ease,
    opacity 240ms ease;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: #111;
  background: var(--color-yellow);
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #111;
  background: var(--color-yellow);
  border-radius: var(--radius-sm);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section {
  padding: 74px 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--color-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--color-text);
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 8vw, 5.65rem);
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 880;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 830;
}

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

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
  touch-action: manipulation;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:focus-visible,
.nav-toggle:focus-visible,
.theme-toggle:focus-visible,
.slider-arrow:focus-visible,
.gallery-item:focus-visible,
.lightbox-close:focus-visible {
  outline: 3px solid rgba(255, 196, 0, 0.5);
  outline-offset: 3px;
}

.btn-primary {
  color: #111;
  background: linear-gradient(135deg, var(--color-yellow), #ffde59);
  box-shadow: 0 16px 34px rgba(255, 196, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 18px 42px rgba(255, 196, 0, 0.34);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: rgba(255, 196, 0, 0.65);
  background: rgba(255, 196, 0, 0.08);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--color-yellow);
  font-weight: 850;
}

.text-link::after {
  width: 28px;
  height: 2px;
  margin-left: 10px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translateX(5px);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid transparent;
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: var(--header-solid);
  border-color: var(--color-line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 28px, var(--container));
  min-height: var(--header-height);
  margin-inline: auto;
  gap: 16px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand {
  order: 1;
}

.brand img,
.footer-brand img {
  width: 174px;
  height: auto;
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  order: 3;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-left: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
}

html[data-theme="light"] .nav-toggle {
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.14);
}

.nav-toggle span {
  position: absolute;
  width: 21px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.theme-toggle {
  position: relative;
  order: 2;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  margin-left: auto;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.theme-toggle i {
  position: absolute;
  font-size: 1.05rem;
  line-height: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.theme-toggle .fa-sun {
  color: var(--color-yellow);
  opacity: 0;
  transform: rotate(-70deg) scale(0.65);
}

.theme-toggle .fa-moon {
  color: #dce6ff;
  opacity: 1;
  transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.13);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .theme-toggle .fa-sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html[data-theme="light"] .theme-toggle .fa-moon {
  opacity: 0;
  transform: rotate(70deg) scale(0.65);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: #111;
  background: var(--color-yellow);
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(255, 196, 0, 0.24);
  transform: translateY(-2px);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-7px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(7px);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: rotate(-45deg);
}

.nav-menu {
  position: fixed;
  inset: var(--header-height) 0 auto;
  z-index: 1001;
  order: 4;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 18px 16px 24px;
  background: var(--menu-bg);
  border-bottom: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-menu a {
  padding: 13px 12px;
  color: var(--color-muted);
  border-radius: var(--radius-sm);
  font-weight: 780;
  transition: color 160ms ease, background 160ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-call {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: clamp(620px, 86svh, 820px);
  overflow: hidden;
  overflow: clip;
  background:
    radial-gradient(circle at 18% 22%, rgba(239, 35, 60, 0.16), transparent 32rem),
    #08090d;
  isolation: isolate;
}

.hero-slider,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  transform: translateZ(0);
  transition: opacity 720ms ease, visibility 720ms ease;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: var(--slide-position, center center);
  filter: saturate(1.08) contrast(1.04) brightness(1.08);
  transform: scale(1);
}

.hero-slide.is-active img {
  animation: none;
}

.hero-overlay {
  z-index: 1;
  background: var(--hero-overlay);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: clamp(620px, 86svh, 820px);
  padding-top: calc(var(--header-height) + 52px);
  padding-bottom: 104px;
}

.hero-content h1 {
  max-width: 960px;
  color: var(--hero-title-color);
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
  text-shadow: var(--hero-text-shadow);
}

.hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  color: var(--hero-kicker-color);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.hero-text {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--hero-copy-color);
  font-size: clamp(1rem, 2vw, 1.24rem);
  text-shadow: var(--hero-text-shadow);
}

.hero-actions,
.emergency-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions .btn {
  width: 100%;
}

.hero-actions strong {
  margin-left: 6px;
}

.hero-actions .btn-primary {
  color: #0b0f19;
  background: linear-gradient(135deg, #ffd21f, #fff06a);
  box-shadow: 0 18px 42px rgba(255, 196, 0, 0.34), 0 8px 24px rgba(0, 0, 0, 0.22);
}

.hero-actions .btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, #f02b42, #b80f22);
  box-shadow: 0 18px 42px rgba(239, 35, 60, 0.34), 0 8px 24px rgba(0, 0, 0, 0.22);
}

html[data-theme="light"] .hero-actions .btn-primary {
  color: #111827;
  background: linear-gradient(135deg, #ffd21f, #fff176);
  border-color: rgba(255, 255, 255, 0.56);
  box-shadow: 0 18px 44px rgba(245, 183, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.3);
}

html[data-theme="light"] .hero-actions .btn-secondary {
  color: #ffffff;
  background: linear-gradient(135deg, #ef233c, #a60f21);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 44px rgba(223, 31, 52, 0.36), 0 10px 28px rgba(0, 0, 0, 0.3);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 760;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

html[data-theme="light"] .hero-badges li {
  color: #ffffff;
  background: rgba(3, 7, 18, 0.42);
  border-color: rgba(255, 255, 255, 0.24);
}

.slider-controls {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.slider-arrow {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  transition: background 160ms ease, transform 160ms ease;
}

.slider-arrow:hover {
  background: rgba(255, 196, 0, 0.18);
  transform: translateY(-2px);
}

.slider-arrow::before {
  display: block;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  content: "";
}

[data-slide-prev]::before {
  transform: rotate(-45deg) translate(1px, 1px);
}

[data-slide-next]::before {
  transform: rotate(135deg) translate(1px, 1px);
}

.slider-dots {
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  border-radius: 999px;
  transition: width 180ms ease, background 180ms ease;
}

.slider-dots button.is-active {
  width: 28px;
  background: var(--color-yellow);
}

/* Emergency strip */
.emergency-strip {
  position: relative;
  z-index: 4;
  padding: 28px 0;
  background: linear-gradient(135deg, var(--color-red-deep), var(--color-red) 45%, #ffb703);
}

.emergency-grid {
  display: grid;
  gap: 18px;
}

.emergency-strip .section-kicker,
.emergency-strip h2,
.emergency-strip p {
  color: #fff;
}

.emergency-strip h2 {
  margin-bottom: 0;
  font-size: clamp(1.55rem, 5vw, 2.65rem);
}

.emergency-strip .btn-outline {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

/* About */
.about {
  background: linear-gradient(180deg, var(--color-bg), var(--color-bg-soft));
}

.about-grid,
.why-grid,
.contact-grid,
.faq-grid {
  display: grid;
  gap: 34px;
}

.about-media,
.why-media,
.contact-media {
  position: relative;
}

.about-media::before,
.why-media::before,
.contact-media::before {
  position: absolute;
  inset: 14% -2% -4% 10%;
  z-index: 0;
  background: linear-gradient(135deg, rgba(255, 196, 0, 0.18), rgba(239, 35, 60, 0.16));
  border-radius: var(--radius-lg);
  content: "";
}

.about-media img,
.why-media img,
.contact-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.about-content,
.why-content,
.contact-card {
  align-self: center;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.about-points div,
.stat-card,
.service-card,
.testimonial-card,
.faq-item,
.contact-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.about-points div {
  padding: 18px;
}

.about-points strong {
  display: block;
  color: var(--color-yellow);
  font-size: 1.7rem;
  line-height: 1;
}

.about-points span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.93rem;
}

/* Services */
.services {
  background:
    linear-gradient(180deg, var(--color-bg-soft), var(--color-bg)),
    var(--color-bg);
}

.service-grid {
  display: grid;
  gap: 16px;
}

.service-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 196, 0, 0.38);
  background: linear-gradient(180deg, rgba(255, 196, 0, 0.1), rgba(255, 255, 255, 0.04));
}

.service-card img {
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  object-fit: contain;
}

.service-card p,
.testimonial-card p,
.faq-item p {
  margin-bottom: 0;
}

/* Why choose us */
.why {
  background:
    linear-gradient(90deg, rgba(239, 35, 60, 0.08), transparent 42%),
    var(--color-bg-soft);
}

.why-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.why-list div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.why-list span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  color: #111;
  background: var(--color-yellow);
  border-radius: 999px;
  font-weight: 900;
}

.why-list strong {
  line-height: 1.25;
}

/* Stats */
.stats {
  padding: 46px 0;
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 22px 16px;
  text-align: center;
}

.stat-card strong {
  display: block;
  color: var(--color-yellow);
  font-size: clamp(2rem, 8vw, 3.7rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--color-muted);
  font-weight: 750;
}

/* Gallery */
.gallery {
  background: var(--color-bg);
}

.gallery-grid {
  display: grid;
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
}

.gallery-item::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #111;
  background: rgba(255, 196, 0, 0.84);
  font-weight: 900;
  opacity: 0;
  content: "View";
  transition: opacity 180ms ease;
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: min(100%, 1040px);
  max-height: 84svh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

.lightbox-close::before,
.lightbox-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
}

.lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Testimonials */
.testimonials {
  background:
    linear-gradient(180deg, var(--color-bg), var(--color-bg-soft));
}

.testimonial-grid {
  display: grid;
  gap: 16px;
}

.testimonial-card {
  padding: 24px;
}

.testimonial-card p {
  color: var(--color-text);
  font-size: 1.04rem;
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
  color: var(--color-yellow);
}

.testimonial-card span {
  color: var(--color-soft);
  font-size: 0.94rem;
}

/* FAQ */
.faq {
  background: var(--color-bg-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 18px 52px 18px 18px;
  color: var(--color-text);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  position: absolute;
  top: 50%;
  right: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #111;
  background: var(--color-yellow);
  border-radius: 999px;
  content: "+";
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 18px 18px;
}

/* Contact */
.contact {
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.08), transparent 38%),
    var(--color-bg);
}

.contact-card {
  padding: 26px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.contact-list strong {
  color: var(--color-text);
}

.contact-list a {
  color: var(--color-yellow);
  font-weight: 800;
}

.map-section {
  background: var(--color-bg-soft);
}

.map-wrap {
  min-height: 320px;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  filter: grayscale(0.2) contrast(1.05);
}

/* Footer */
.site-footer {
  background: var(--color-bg);
}

.footer-grid {
  display: grid;
  gap: 28px;
  padding: 54px 0 36px;
}

.site-footer p {
  max-width: 360px;
  margin-top: 18px;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.site-footer a {
  color: var(--color-muted);
  transition: color 160ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--color-yellow);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-social a {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.footer-social a::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-yellow), var(--color-red));
  opacity: 0;
  content: "";
  transition: opacity 180ms ease;
}

.footer-social i {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  line-height: 1;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: #111;
  border-color: transparent;
  background: var(--color-yellow);
  box-shadow: 0 14px 34px rgba(255, 196, 0, 0.24);
  transform: translateY(-3px);
}

.footer-social a:hover::before,
.footer-social a:focus-visible::before {
  opacity: 1;
}

.footer-social a.is-placeholder {
  opacity: 0.68;
}

.footer-social a.is-placeholder:hover,
.footer-social a.is-placeholder:focus-visible {
  opacity: 1;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

/* Floating actions */
.floating-call,
.floating-whatsapp {
  position: fixed;
  right: 16px;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation: floatingPulse 2.4s ease-in-out infinite;
  will-change: transform;
}

.floating-call::before,
.floating-whatsapp::before {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0.32;
  content: "";
  animation: floatingRing 2.4s ease-in-out infinite;
}

.floating-call i,
.floating-whatsapp i {
  font-size: 1.42rem;
  line-height: 1;
}

.floating-call {
  bottom: 92px;
  background: linear-gradient(135deg, var(--color-red), var(--color-red-deep));
  box-shadow: 0 14px 34px rgba(239, 35, 60, 0.34);
}

.floating-call::before {
  background: var(--color-red);
}

.floating-whatsapp {
  bottom: 22px;
  background: linear-gradient(135deg, #31e67b, var(--color-whatsapp));
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.34);
}

.floating-whatsapp::before {
  background: var(--color-whatsapp);
}

.floating-call:hover,
.floating-whatsapp:hover,
.floating-call:focus-visible,
.floating-whatsapp:focus-visible {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.04);
}

.floating-call:hover,
.floating-call:focus-visible {
  box-shadow: 0 18px 46px rgba(239, 35, 60, 0.5);
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  box-shadow: 0 18px 46px rgba(37, 211, 102, 0.5);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes heroImageDrift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.025) translate3d(-0.3%, -0.15%, 0);
  }
}

@keyframes floatingPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-2px) scale(1.03);
  }
}

@keyframes floatingRing {
  0% {
    opacity: 0.34;
    transform: scale(0.88);
  }

  70% {
    opacity: 0;
    transform: scale(1.24);
  }

  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

/* Tablet */
@media (min-width: 560px) {
  .container {
    width: min(100% - 44px, var(--container));
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-slide img {
    object-position: var(--slide-mobile-position, var(--slide-position, center center));
  }

  .service-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Desktop */
@media (min-width: 900px) {
  :root {
    --header-height: 88px;
  }

  .section {
    padding: 104px 0;
  }

  .brand img {
    width: 202px;
  }

  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .theme-toggle {
    order: 3;
    margin-left: 0;
  }

  .nav-menu a {
    padding: 10px 11px;
    font-size: 0.94rem;
  }

  .nav-call {
    order: 4;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    min-height: 48px;
    padding: 8px 14px;
    color: #111;
    background: var(--color-yellow);
    border-radius: var(--radius-sm);
    font-weight: 900;
    line-height: 1.1;
    transition: transform 180ms ease, box-shadow 180ms ease;
  }

  .nav-call span {
    font-size: 0.68rem;
    text-transform: uppercase;
  }

  .nav-call strong {
    font-size: 0.98rem;
  }

  .nav-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(255, 196, 0, 0.24);
  }

  .hero {
    min-height: clamp(680px, 82svh, 820px);
  }

  .hero-content {
    min-height: clamp(680px, 82svh, 820px);
    padding-top: calc(var(--header-height) + 58px);
    padding-bottom: 118px;
  }

  .hero-slide img {
    object-position: var(--slide-position, center center);
  }

  .hero-overlay {
    background: var(--hero-overlay);
  }

  .slider-controls {
    inset: 0;
    justify-content: center;
    pointer-events: none;
  }

  .slider-dots,
  .slider-arrow {
    pointer-events: auto;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    display: inline-grid;
    width: 52px;
    height: 52px;
    background: rgba(0, 0, 0, 0.34);
    transform: translateY(-50%);
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.04);
  }

  [data-slide-prev] {
    left: 34px;
  }

  [data-slide-next] {
    right: 34px;
  }

  .slider-dots {
    position: absolute;
    bottom: 36px;
  }

  .emergency-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
  }

  .about-content,
  .contact-card {
    order: 1;
  }

  .about-media,
  .contact-media {
    order: 2;
  }

  .why-content {
    order: 2;
  }

  .why-media {
    order: 1;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    align-items: start;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 0.9fr;
  }
}

/* Wide desktop */
@media (min-width: 1180px) {
  .nav-menu a {
    padding-inline: 14px;
  }

  .hero-text {
    margin-bottom: 32px;
  }

  .service-card,
  .testimonial-card {
    padding: 30px;
  }

  .contact-card {
    padding: 36px;
  }
}

/* Compact phones */
@media (max-width: 380px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand img {
    width: 150px;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 92px;
  }

  .btn {
    width: 100%;
    padding-inline: 16px;
  }

  .about-points,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .floating-call,
  .floating-whatsapp {
    right: 12px;
    width: 52px;
    height: 52px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .floating-call i,
  .floating-whatsapp i {
    font-size: 1.25rem;
  }
}

@media (max-width: 559px) {
  :root {
    --hero-overlay:
      linear-gradient(90deg, rgba(3, 5, 10, 0.68), rgba(6, 8, 13, 0.36) 56%, rgba(6, 8, 13, 0.12)),
      linear-gradient(0deg, rgba(3, 5, 10, 0.62), rgba(3, 5, 10, 0.08) 56%, rgba(3, 5, 10, 0.08));
  }

  html[data-theme="light"] {
    --hero-overlay:
      linear-gradient(90deg, rgba(3, 7, 18, 0.7), rgba(3, 7, 18, 0.36) 58%, rgba(3, 7, 18, 0.12)),
      linear-gradient(0deg, rgba(3, 7, 18, 0.58), rgba(3, 7, 18, 0.06) 58%, rgba(255, 255, 255, 0.04));
  }

  .hero,
  .hero-content {
    min-height: clamp(590px, 84svh, 720px);
  }

  .hero-content {
    align-items: flex-end;
    padding-top: calc(var(--header-height) + 42px);
    padding-bottom: 90px;
  }

  .hero-slide img {
    object-position: var(--slide-mobile-position, center center);
  }

  .hero-copy-panel {
    max-width: min(100%, 410px);
  }

  .hero-copy-panel h1 {
    max-width: 14ch;
    margin-bottom: 14px;
    font-size: clamp(2.05rem, 10vw, 3.05rem);
  }

  .hero-text {
    max-width: 30ch;
    margin-bottom: 20px;
  }

  .hero-actions {
    max-width: 340px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges li {
    padding: 7px 10px;
    font-size: 0.78rem;
  }
}

@media (max-width: 899px) and (orientation: landscape) {
  .hero,
  .hero-content {
    min-height: clamp(520px, 100svh, 640px);
  }

  .hero-content {
    align-items: center;
    padding-top: calc(var(--header-height) + 30px);
    padding-bottom: 82px;
  }

  .hero-copy-panel h1 {
    max-width: 16ch;
    font-size: clamp(2rem, 7vw, 3.2rem);
  }
}

@media (min-aspect-ratio: 21 / 9) {
  .hero,
  .hero-content {
    min-height: 660px;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}







