:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #102a43;
  background: #f4f7fb;
  --header-height: 80px;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f4f7fb;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: relative;
  top: 0;
  z-index: 20;
  background: rgba(13, 27, 63, 0.96);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 0 1.5rem;
  height: auto;
  min-height: var(--header-height);
  flex-wrap: wrap;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
}

.logo {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.logo-img {
  display: block;
  max-height: 72px;
  width: auto;
}

main {
  padding-top: 0;
}

.tagline {
  margin: 0.35rem 0 0;
  color: #c7d2ff;
  font-size: 0.95rem;
}

.left-nav,
.right-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.left-nav {
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow-x: visible;
}

.right-nav {
  margin-left: 0;
  padding-right: 0;
}

.left-nav a,
.right-nav a {
  color: #d7e3ff;
  text-decoration: none;
}

.left-nav a:hover,
.right-nav a:hover {
  color: #ffffff;
}

.left-nav a,
.right-nav a {
  color: #d7e3ff;
  text-decoration: none;
}

.left-nav .dropdown,
.right-nav .dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: rgba(13, 27, 63, 0.98);
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  padding: 0.5rem 0;
  z-index: 20;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.55rem 1rem;
  color: #d7e3ff;
  white-space: nowrap;
}

.dropdown-content a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.left-nav .dropdown > a {
  display: inline-flex;
}

.left-nav a:hover,
.right-nav a:hover {
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, #ff8a00, #ff4d4d);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(255, 138, 40, 0.18);
}

.button-secondary {
  background: #ffffff;
  color: #0d1b3f;
  border: 1px solid #dfe7fb;
}

.whatsapp-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.whatsapp-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #102a43;
}

.whatsapp-form input,
.whatsapp-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  background: #ffffff;
  color: #102a43;
}

.whatsapp-form textarea {
  resize: vertical;
}

.label-group {
  display: grid;
  gap: 0.65rem;
  font-weight: 600;
  color: #102a43;
}

.condition-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.condition-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.whatsapp-form .button-primary {
  width: fit-content;
  padding: 1rem 1.8rem;
}

.form-note {
  margin: 0.75rem 0 0;
  color: #52687a;
  font-size: 0.98rem;
}

.hero {
  padding: 5rem 0;
  background: radial-gradient(circle at top left, #ffffff 0%, #e6f0ff 45%, #f4f7fb 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: #ff7a18;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  line-height: 1.02;
  color: #102a43;
}

.hero-copy p {
  color: #334e68;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.hero-locations {
  margin: 0.8rem 0 0 1rem;
  color: #334e68;
  font-size: 1.02rem;
  padding-left: 0;
}

.hero-locations li {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.panel-card {
  padding: 2rem;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(16, 42, 67, 0.08);
}

.panel-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.panel-card p {
  margin: 0;
  color: #52687a;
}

.panel-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel-stats div {
  padding: 1.4rem;
  background: #eef5ff;
  border-radius: 1.2rem;
  text-align: center;
}

.panel-stats strong {
  display: block;
  font-size: 2rem;
  color: #0d1b3f;
}

.panel-stats span {
  color: #486581;
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
  color: #102a43;
}

.section-intro {
  margin: 0 0 2.5rem;
  color: #486581;
  max-width: 720px;
}

.section-intro {
  /* keep intro aligned with other sections */
  margin: 0 0 2.5rem;
  color: #486581;
  max-width: 720px;
  text-align: left;
}

.section-intro .hero-locations {
  display: block;
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  text-align: left;
}

.price-table-wrap {
  display: grid;
  gap: 2rem;
  padding: 2rem;
  background: #ffffff;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(16, 42, 67, 0.08);
}

.price-zone {
  display: grid;
  gap: 0.75rem;
}

.price-zone h3 {
  margin: 0;
  color: #102a43;
  font-size: 1.3rem;
}

.price-zone p {
  margin: 0;
  color: #486581;
  line-height: 1.8;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}

.price-table th,
.price-table td {
  padding: 0.95rem 1rem;
  border: 1px solid #dbe4f0;
}

.price-table th {
  text-align: left;
  background: #f1f6ff;
  color: #102a43;
}

.price-table td {
  background: #ffffff;
  color: #334e68;
}

.price-label {
  font-weight: 700;
}

.price-table-divider {
  border: none;
  border-top: 1px solid #dbe4f0;
  margin: 0;
}

.price-table-notes {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 42, 67, 0.05);
  font-size: 0.85rem;
  color: #486581;
  line-height: 1.7;
}

.price-table-notes p {
  margin: 0 0 0.75rem;
}

.price-table-notes p:last-child {
  margin-bottom: 0;
}

.estimate-text {
  margin: 0.75rem 0 1rem;
  font-size: 0.8rem;
  color: #486581;
}

.vehicle-type-group .condition-options label {
  white-space: nowrap;
}

.submit-estimate {
  display: inline-block;
  margin-left: 0.75rem;
  padding: 0.35rem 0.6rem;
  background: #f1f6ff;
  color: #102a43;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  vertical-align: middle;
}

.feature-grid,
.service-grid,
.process-grid {
  display: grid;
  gap: 1.5rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.service-card,
.process-step,
.cta-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 16px 48px rgba(16, 42, 67, 0.08);
}

.feature-card h3,
.service-card h3,
.process-step h3 {
  margin: 0 0 0.85rem;
}

.feature-card p,
.service-card p,
.process-step p {
  margin: 0;
  color: #486581;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #ff8a00;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.blog-section {
  padding: 5rem 0;
  background: #f7f9ff;
}

.blog-section .section-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.blog-section .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 0.9rem;
}

.blog-meta span {
  background: #eef3ff;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
}

.blog-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #102a43;
}

.blog-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.blog-card-image,
.blog-post-image {
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
  object-fit: cover;
}

.blog-post-section {
  background: #f7f9ff;
}

.blog-post-header {
  max-width: 780px;
  margin-bottom: 2rem;
}

.blog-post-header .blog-meta {
  margin-bottom: 1rem;
}

.blog-post-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  line-height: 1.05;
}

.blog-lead {
  margin: 0;
  color: #334e68;
  font-size: 1.1rem;
  line-height: 1.8;
}

.blog-post-content {
  max-width: 840px;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.blog-post-content h2 {
  margin: 0;
  color: #102a43;
}

.blog-post-content p {
  margin: 0;
  color: #475569;
  line-height: 1.9;
}

.blog-form-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(16, 42, 67, 0.08);
}

.blog-form-card h3 {
  margin: 0 0 1rem;
}

.blog-form-card form {
  display: grid;
  gap: 1rem;
}

.blog-form-card label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  color: #102a43;
}

.blog-form-card input,
.blog-form-card textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #dbe4f0;
  border-radius: 0.95rem;
  background: #f8fafc;
  color: #102a43;
}

.blog-form-card input:focus,
.blog-form-card textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.08);
}

.cta-section {
  padding: 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, #0d1b3f, #183c7a);
  color: #ffffff;
}

.cta-card h2 {
  margin: 0 0 0.75rem;
  color: #ffffff;
}

.cta-card p {
  margin: 0;
  color: #d2e1ff;
}

.site-footer {
  padding: 4rem 0;
  background: #0d1b3f;
  color: #d8e3ff;
}

.site-footer a {
  color: #92c6ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.footer-grid {
  display: contents;
}

.footer-column h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.05rem;
}

.footer-column p,
.footer-column li {
  margin: 0 0 0.85rem;
  color: #c9d6f0;
  line-height: 1.8;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.footer-copy p {
  margin: 0;
  color: #8c9ed8;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .header-inner,
  .hero-content,
  .panel-stats,
  .feature-grid,
  .service-grid,
  .process-grid,
  .cta-card,
  .footer-inner {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .header-inner,
  .cta-card,
  .footer-inner {
    align-items: stretch;
  }
  /* on smaller screens keep header layout normal (no absolute centering) */
  .brand {
    position: static;
    transform: none;
    justify-content: center;
    margin: 0 auto;
  }
  :root {
    --header-height: 64px;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .feature-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MOBILE RESPONSIVE HAMBURGER MENU ===== */

.menu-toggle {
  display: none;
  position: absolute;
  top: 50%;
  right: 1.5rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 30;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  margin: 6px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

@media (max-width: 1024px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    min-height: 70px;
    flex-wrap: nowrap;
  }

  .left-nav,
  .right-nav {
    display: none;
  }

  .left-nav.active,
  .right-nav.active {
    display: flex;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 27, 63, 0.98);
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-height: auto;
    overflow: visible;
    z-index: 25;
  }

  .left-nav.active {
    top: auto;
  }

  .left-nav a,
  .right-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: block;
    font-size: 0.95rem;
  }

  .left-nav a:hover,
  .right-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .dropdown {
    width: 100%;
  }

  .dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 1rem 1.5rem;
  }

  .dropdown-toggle {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
  }

  .dropdown-toggle.active {
    transform: rotate(180deg);
  }

  .dropdown-content {
    display: none !important;
    position: static;
    background: rgba(0, 0, 0, 0.2);
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
  }

  .dropdown-content.active {
    display: flex !important;
  }

  .dropdown-content a {
    padding: 0.75rem 1.5rem 0.75rem 3rem;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  }

  .logo-img {
    max-height: 50px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    gap: 1rem;
  }

  .container {
    width: calc(100% - 1rem);
  }

  .hero-content {
    padding: 2rem 1rem;
  }

  .hero h1 {
    font-size: 1.8rem !important;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .button {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 2rem 1rem !important;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  .header-inner {
    min-height: 60px;
    padding: 0.5rem 1rem;
  }

  .logo-img {
    max-height: 40px;
  }

  .hero h1 {
    font-size: 1.5rem !important;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section {
    padding: 1.5rem 0.75rem !important;
  }

  .button {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    width: 100%;
  }

  .dropdown-content a {
    padding: 0.6rem 1.25rem 0.6rem 2.5rem;
    font-size: 0.85rem;
  }

  .feature-grid,
  .service-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }
}
