/* =========================================================
   Dubai Recovery — Towing & Roadside Assistance
   Stylesheet
   ========================================================= */

:root {
  --bg-dark: #121212;
  --bg-darker: #0a0a0a;
  --bg-card: #1c1c1c;
  --bg-card-alt: #212121;
  --border-color: #2c2c2c;
  --accent: #e63946;
  --accent-dark: #b3202b;
  --accent-orange: #ff7a45;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --text-white: #f5f5f5;
  --text-gray: #aaaaaa;
  --text-gray-dark: #888888;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --header-height: 78px;
  --bottom-bar-height: 62px;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  padding-top: var(--header-height);
  padding-bottom: var(--bottom-bar-height);
  overflow-x: hidden;
}

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

/* Safe default size for small inline icon SVGs (24x24 icon set). Any icon
   inside a more specific container (buttons, cards, hero images, logo, etc.)
   is sized by that container's own rule, which overrides this default. */
svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

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

section {
  padding: 70px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 45px;
}

.section-tag {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: var(--text-white);
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
}

.bg-alt {
  background-color: var(--bg-darker);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.5);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
}

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

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

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 17px 34px;
  font-size: 1.1rem;
}

.cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(18, 18, 18, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1600;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text .name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-white);
  letter-spacing: 0.3px;
}

.logo-text .name span {
  color: var(--accent);
}

.logo-text .tagline {
  font-size: 0.68rem;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-white);
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active {
  color: var(--accent);
  background-color: rgba(230, 57, 70, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}

.header-call-btn svg {
  width: 16px;
  height: 16px;
}

.header-call-btn.mobile-only-cta {
  display: none;
}

/* --- Dropdown (desktop) --- */
.has-dropdown {
  position: relative;
}

.dropdown-caret {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 260px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 500;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--text-white);
  font-weight: 500;
}

.dropdown-menu li a:hover {
  background-color: rgba(230, 57, 70, 0.12);
  color: var(--accent);
}

/* --- Mobile menu toggle --- */
.menu-toggle {
  display: none;
  background: transparent;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.nav-close {
  display: none;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background-color: var(--text-white);
  transition: transform 0.2s ease;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.mobile-overlay {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(230, 57, 70, 0.16), transparent 55%),
    radial-gradient(ellipse at 85% 80%, rgba(255, 122, 69, 0.1), transparent 50%),
    var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(230, 57, 70, 0.12);
  border: 1px solid rgba(230, 57, 70, 0.35);
  color: var(--accent-orange);
  padding: 7px 16px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #4ade80;
  box-shadow: 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 .highlight {
  color: var(--accent);
  background: linear-gradient(135deg, var(--accent), var(--accent-orange));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p.lead {
  color: var(--text-gray);
  font-size: 1.12rem;
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-phone-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.hero-phone-line svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.hero-phone-line a {
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.15rem;
}

.hero-phone-line-lg {
  flex-wrap: wrap;
  font-size: 1.05rem;
  padding: 14px 18px;
  background-color: rgba(230, 57, 70, 0.08);
  border: 1px solid rgba(230, 57, 70, 0.25);
  border-radius: var(--radius);
}

.hero-phone-line-lg strong {
  color: var(--text-white);
}

.hero-visual {
  position: relative;
}

.hero-visual svg,
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}

/* ---------- Trust Stats ---------- */
.stats-bar {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px 0;
}

.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--border-color);
}

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

.stat-item .stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.stat-item .stat-label {
  color: var(--text-gray);
  font-size: 0.88rem;
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(255, 122, 69, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
  margin-bottom: 16px;
}

.service-card .card-link {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.service-card:hover .card-link svg {
  transform: translateX(4px);
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.why-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.why-item .why-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

.why-item .why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.why-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-item p {
  color: var(--text-gray);
  font-size: 0.92rem;
}

/* ---------- How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-item {
  text-align: center;
  padding: 10px;
  position: relative;
}

.step-number {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

.step-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-item p {
  color: var(--text-gray);
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.stars {
  color: var(--accent-orange);
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p.quote {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
}

.author-loc {
  color: var(--text-gray-dark);
  font-size: 0.8rem;
}

/* ---------- Contact / Quote Form ---------- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 34px;
}

.contact-info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--text-gray);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.info-row .info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(230, 57, 70, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-row .info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.info-row .info-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-gray-dark);
  margin-bottom: 3px;
}

.info-row .info-value {
  font-weight: 700;
  font-size: 1rem;
}

.info-row .info-value a:hover {
  color: var(--accent);
}

.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 34px;
}

.form-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-card > p {
  color: var(--text-gray);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--bg-darker);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-gray-dark);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  display: none;
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

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

/* ---------- Page Hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(230, 57, 70, 0.14), transparent 55%),
    var(--bg-darker);
  border-bottom: 1px solid var(--border-color);
  padding: 60px 0 50px;
  text-align: center;
}

.breadcrumb {
  color: var(--text-gray-dark);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--text-gray);
}

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

.page-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.page-hero p {
  color: var(--text-gray);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Service Detail Page ---------- */
.service-hero-image {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  margin-bottom: 10px;
}

.service-hero-image svg,
.service-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-content h2 {
  font-size: 1.7rem;
  margin: 34px 0 14px;
}

.service-content h2:first-child {
  margin-top: 0;
}

.service-content p {
  color: var(--text-gray);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.service-content ul.checklist {
  margin: 18px 0;
}

.service-content ul.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-gray);
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.service-content ul.checklist li svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-cta-box {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.14), rgba(255, 122, 69, 0.06));
  border: 1px solid rgba(230, 57, 70, 0.3);
  border-radius: var(--radius);
  padding: 34px;
  text-align: center;
  margin-top: 40px;
}

.service-cta-box h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.service-cta-box p {
  color: var(--text-gray);
  margin-bottom: 24px;
}

.related-services {
  margin-top: 50px;
}

.related-services h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.related-grid a {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.related-grid a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- About Page ---------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-story-grid p {
  color: var(--text-gray);
  margin-bottom: 16px;
}

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

.mission-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
}

.mission-card .why-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
}

.mission-card .why-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.mission-card h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.mission-card p {
  color: var(--text-gray);
  font-size: 0.92rem;
}

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

.fleet-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.fleet-card .fleet-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
}

.fleet-card .fleet-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
}

.coverage-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.coverage-list li {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.coverage-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent);
  flex-shrink: 0;
}

/* ---------- Contact Page Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 40px;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: grayscale(0.3) invert(0.92) contrast(0.9);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-about .logo {
  margin-bottom: 16px;
}

.footer-about p {
  color: var(--text-gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.footer-socials a svg {
  width: 17px;
  height: 17px;
  stroke: var(--text-white);
}

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

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-white);
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.footer-contact li svg {
  width: 17px;
  height: 17px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 22px 0;
  text-align: center;
  color: var(--text-gray-dark);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-gray);
}

/* ---------- Fixed Bottom Contact Bar ---------- */
.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--bottom-bar-height);
  display: flex;
  z-index: 2000;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.4);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

body.nav-open .bottom-bar {
  display: none;
}

.bottom-bar a {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.3px;
  color: #fff;
  transition: filter 0.15s ease;
}

.bottom-bar a:active {
  filter: brightness(0.9);
}

.bottom-bar a svg {
  width: 20px;
  height: 20px;
}

.bottom-bar .bar-whatsapp {
  background-color: var(--whatsapp);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.bottom-bar .bar-call {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 420px;
    margin: 0 auto;
  }

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

  .why-grid,
  .testimonials-grid,
  .mission-grid,
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .coverage-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    align-items: stretch;
    padding: 90px 22px 30px;
    transition: right 0.3s ease;
    z-index: 1500;
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-list > li > a {
    padding: 14px 10px;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
  }

  .header-call-btn.mobile-only-cta {
    display: flex;
    margin-top: 20px;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 22px;
    right: 22px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: transparent;
  }

  .nav-close svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-white);
  }

  /* Dropdown becomes accordion on mobile */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.accordion-open .dropdown-menu {
    max-height: 600px;
  }

  .has-dropdown.accordion-open .dropdown-caret {
    transform: rotate(180deg);
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
  }

  .mobile-overlay.show {
    opacity: 1;
    visibility: visible;
  }

  .header-actions .header-call-btn:not(.mobile-only-cta) {
    display: none;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .services-grid,
  .why-grid,
  .testimonials-grid,
  .mission-grid,
  .fleet-grid,
  .stats-grid,
  .related-grid,
  .coverage-list {
    grid-template-columns: 1fr;
  }

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

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

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-direction: column;
  }

  .cta-group .btn {
    width: 100%;
  }

  .page-hero h1 {
    font-size: 1.9rem;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .logo-text .name {
    font-size: 1.05rem;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }
}
