:root {
  --ink: #18212f;
  --muted: #637083;
  --brand: #f3b21b;
  --brand-dark: #d99200;
  --soft: #f6f3ee;
  --surface: #ffffff;
  --deep: #101826;
  --line: rgba(24, 33, 47, .1);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(243, 178, 27, .4);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 16px;
}

body {
  color: var(--ink);
  margin: 0;
  background: var(--surface);
}

.navbar {
  box-shadow: 0 6px 30px rgba(18, 31, 52, .06);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: .25rem 0;
}

.brand-mark img {
  width: 172px;
  height: auto;
  display: block;
}

.mobile-menu-header,
.mobile-menu-footer,
.mobile-nav-icon {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(12, 18, 29, .98) 0%, rgba(22, 34, 52, .94) 48%, rgba(67, 50, 17, .9) 100%),
    radial-gradient(circle at 82% 14%, rgba(243, 178, 27, .34), transparent 34%);
  color: #fff;
  padding: 7rem 0 6rem;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 20%, transparent 88%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: .65;
  pointer-events: none;
}

.hero-glow-one {
  width: 280px;
  height: 280px;
  background: rgba(243, 178, 27, .35);
  top: 10%;
  right: 8%;
}

.hero-glow-two {
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, .09);
  bottom: 8%;
  left: 8%;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(3rem, 6.5vw, 6.25rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .9;
  max-width: 850px;
  text-wrap: balance;
}

.hero-lead {
  color: rgba(255,255,255,.82);
  font-size: 1.25rem;
  max-width: 680px;
  margin: 1.4rem 0 2rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: .6rem .9rem;
  backdrop-filter: blur(10px);
}

.eyebrow {
  color: var(--brand);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .8rem;
  margin-bottom: .8rem;
}

.eyebrow.dark {
  color: var(--brand-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 2.2rem;
  max-width: 620px;
}

.hero-proof div {
  border-left: 1px solid rgba(255,255,255,.18);
  padding-left: 1rem;
}

.hero-proof strong {
  display: block;
  color: #fff;
  font-size: 1.55rem;
  line-height: 1;
}

.hero-proof span {
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(243, 178, 27, .22), transparent 28%),
    linear-gradient(to top, rgba(8, 12, 20, .72), rgba(8, 12, 20, .08) 58%, rgba(8, 12, 20, .24));
  pointer-events: none;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -80px 90px rgba(0,0,0,.22);
  pointer-events: none;
}

.hero-photo-main {
  width: 74%;
  height: 440px;
  left: 7%;
  top: 34px;
  border-radius: 34px;
  background:
    linear-gradient(to top, rgba(8, 12, 20, .72), rgba(8, 12, 20, .12) 55%),
    url("../images/workshop-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #5e6875 0%, #273343 38%, #0f1624 70%, #d99b11 100%);
}

.hero-photo-top,
.hero-photo-bottom {
  width: 38%;
  height: 178px;
  right: 0;
  border-radius: 26px;
}

.hero-photo-top {
  top: 0;
  background:
    linear-gradient(to top, rgba(8, 12, 20, .74), rgba(8, 12, 20, .1) 55%),
    url("../images/diagnostics.png") center / cover no-repeat,
    linear-gradient(135deg, #323f50, #111927);
}

.hero-photo-bottom {
  bottom: 34px;
  background:
    linear-gradient(to top, rgba(8, 12, 20, .74), rgba(8, 12, 20, .1) 55%),
    url("../images/spare-parts.png") center / cover no-repeat,
    linear-gradient(135deg, #202a38, #5b6470);
}

.photo-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  background: var(--brand);
  color: #111927;
  border-radius: 999px;
  padding: .55rem .85rem;
  font-weight: 900;
  font-size: .85rem;
}

.photo-badge.dark {
  background: rgba(16,24,38,.86);
  color: #fff;
  border: 1px solid rgba(255,255,255,.16);
}

.hero-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  padding: 2rem;
  backdrop-filter: blur(12px);
}

.hero-card-badge {
  display: inline-flex;
  align-items: center;
  background: var(--brand);
  color: #111927;
  border-radius: 999px;
  padding: .52rem .9rem;
  font-weight: 900;
  font-size: .86rem;
  margin-bottom: 1rem;
}

.hero-card span {
  display: block;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-card li {
  margin-bottom: .8rem;
}

.floating-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(360px, 72%);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.intro-panel {
  padding: 5rem 0 2rem;
}

.intro-panel h2 {
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .96;
}

.intro-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
  margin: 1.2rem 0 1.8rem;
}

.workshop-story-photo {
  min-height: 420px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(16,24,38,.82), transparent 55%),
    url("../images/workshop-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #818996 0%, #1b2637 42%, #0d1420 72%, #f3b21b 100%);
  box-shadow: 0 24px 80px rgba(18, 31, 52, .16);
}

.workshop-story-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 72%, rgba(243,178,27,.28), transparent 22%),
    linear-gradient(to top, rgba(8, 12, 20, .42), rgba(8, 12, 20, .05) 62%);
}

.story-photo-overlay {
  position: absolute;
  inset-inline: 1.4rem;
  bottom: 1.4rem;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 24px;
  color: #fff;
  padding: 1.2rem;
  backdrop-filter: blur(14px);
}

.story-photo-overlay span {
  color: var(--brand);
  display: block;
  font-weight: 900;
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
}

.story-photo-overlay strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.section-pad {
  padding: 5rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-heading h2,
.cta-strip h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -.04em;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

.section-heading.light h2,
.section-heading.light p {
  color: #fff;
}

.section-heading.light p:last-child {
  color: rgba(255,255,255,.68);
}

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

.service-card,
.metric-card,
.content-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(24, 33, 47, .08);
  border-radius: 24px;
  padding: 1.6rem;
  box-shadow: 0 18px 50px rgba(18, 31, 52, .06);
}

.image-service-card {
  padding: 0;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}

.image-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 70px rgba(18, 31, 52, .12);
}

.service-image {
  position: relative;
  min-height: 185px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(to top, rgba(16,24,38,.75), transparent 55%),
    linear-gradient(135deg, #6e7784, #202b3a);
}

.service-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(243, 178, 27, .22), transparent 26%),
    linear-gradient(to top, rgba(8, 12, 20, .7), rgba(8, 12, 20, .06) 62%);
  z-index: 1;
  pointer-events: none;
  transition: opacity .22s ease;
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transform: scale(1.03);
  transition: transform .35s ease;
  z-index: 0;
}

.image-service-card:hover .service-image::after {
  transform: scale(1.08);
}

.service-collision .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/workshop-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #8a929d, #1d2939 52%, #101826);
}

.service-paint .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/body-paint.png") center / cover no-repeat,
    linear-gradient(135deg, #323f50, #b46f13 52%, #101826);
}

.service-mechanical .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/diagnostics.png") center / cover no-repeat,
    linear-gradient(135deg, #131c2b, #465466 58%, #0e1623);
}

.service-brakes .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/spare-parts.png") center / cover no-repeat,
    linear-gradient(135deg, #4d5766, #151f2d 54%, #d4920c);
}

.service-parts .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/spare-parts.png") center / cover no-repeat,
    linear-gradient(135deg, #252f3e, #747e8c 55%, #111927);
}

.service-cars .service-image {
  background:
    linear-gradient(to top, rgba(16,24,38,.72), transparent 60%),
    url("../images/workshop-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #76808d, #111927 48%, #2f3c4e);
}

.image-service-card .service-icon {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  margin: 0;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}

.service-body {
  padding: 1.45rem;
}

.service-body a {
  color: var(--brand-dark);
  font-weight: 900;
  text-decoration: none;
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 18px;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

.service-card p,
.metric-card p,
.content-card p {
  color: var(--muted);
}

.metric-card strong {
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  font-weight: 900;
}

.metric-card span {
  display: block;
  font-weight: 800;
  margin: .8rem 0 .4rem;
}

.repair-showcase {
  background: var(--deep);
  padding: 5rem 0;
  color: #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 240px;
  gap: 1rem;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 220px;
  background:
    linear-gradient(to top, rgba(6, 10, 17, .86), transparent 62%),
    url("../images/workshop-hero.png") center / cover no-repeat,
    linear-gradient(135deg, #6f7884, #1b2635);
}

.showcase-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(243,178,27,.24), transparent 26%),
    linear-gradient(to top, rgba(6, 10, 17, .78), rgba(6, 10, 17, .1) 62%, rgba(6, 10, 17, .18));
  pointer-events: none;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -90px 90px rgba(0,0,0,.24);
  pointer-events: none;
}

.showcase-card > * {
  position: relative;
  z-index: 2;
}

.showcase-large {
  grid-row: span 2;
}

.showcase-paint {
  background:
    linear-gradient(to top, rgba(6, 10, 17, .82), transparent 62%),
    url("../images/body-paint.png") center / cover no-repeat,
    linear-gradient(135deg, #885f22, #172231);
}

.showcase-mechanic {
  background:
    linear-gradient(to top, rgba(6, 10, 17, .82), transparent 62%),
    url("../images/diagnostics.png") center / cover no-repeat,
    linear-gradient(135deg, #2a3647, #808895);
}

.showcase-parts {
  grid-column: span 2;
  background:
    linear-gradient(to top, rgba(6, 10, 17, .82), transparent 62%),
    url("../images/spare-parts.png") center / cover no-repeat,
    linear-gradient(135deg, #101826, #616b79 52%, #d29211);
}

.showcase-card span {
  color: var(--brand);
  font-weight: 900;
  margin-bottom: .4rem;
}

.showcase-card h3 {
  font-weight: 900;
  letter-spacing: -.03em;
}

.showcase-card p {
  color: rgba(255,255,255,.72);
  margin: 0;
}

.page-hero {
  background: var(--soft);
  padding: 4.5rem 0;
}

.page-hero h1 {
  font-weight: 900;
  letter-spacing: -.05em;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.cta-strip {
  margin: 5rem auto;
  width: min(1120px, calc(100% - 2rem));
  border-radius: 28px;
  padding: 2rem;
  background: var(--brand);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1050;
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 45px rgba(37, 211, 102, .38), 0 10px 25px rgba(16, 24, 38, .18);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: inherit;
  border: 1px solid rgba(37, 211, 102, .34);
  animation: whatsappPulse 1.8s ease-out infinite;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1fc15c;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 22px 55px rgba(37, 211, 102, .45), 0 14px 30px rgba(16, 24, 38, .22);
}

.whatsapp-icon,
.whatsapp-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

.whatsapp-icon svg {
  fill: currentColor;
}

@keyframes whatsappPulse {
  0% {
    transform: scale(.9);
    opacity: .78;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.site-footer {
  background: #101826;
  color: rgba(255,255,255,.72);
  padding: 3rem 0 1.5rem;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.footer-logo {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

.site-footer h3 {
  font-size: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,.72);
  display: block;
  text-decoration: none;
  margin-bottom: .45rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: .9rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-photo-main {
    width: 84%;
    left: 0;
  }

  .hero-photo-top,
  .hero-photo-bottom {
    width: 46%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .showcase-large,
  .showcase-parts {
    grid-row: auto;
    grid-column: auto;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 58px;
    height: 58px;
  }

  .whatsapp-icon,
  .whatsapp-icon svg {
    width: 31px;
    height: 31px;
  }
}

@media (max-width: 991.98px) {
  body:has(.navbar-collapse.show) {
    overflow: hidden;
  }

  .navbar {
    z-index: 1100;
  }

  .navbar > .container {
    min-height: 72px;
  }

  .navbar-toggler {
    border: 1px solid rgba(24, 33, 47, .12);
    border-radius: 14px;
    padding: .55rem .7rem;
  }

  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: min(378px, calc(100vw - 64px));
    height: 100vh;
    height: 100dvh;
    display: block !important;
    transform: translateX(-105%);
    visibility: hidden;
    background: #171717;
    color: #d8dce3;
    padding: 1rem 1rem 0;
    z-index: 1200;
    box-shadow: 30px 0 80px rgba(0,0,0,.42);
    transition: transform .28s ease, visibility .28s ease;
  }

  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    transform: translateX(0);
    visibility: visible;
  }

  .navbar-collapse.collapsing {
    height: 100vh !important;
    height: 100dvh !important;
    overflow: visible;
  }

  .navbar-collapse::after {
    content: "";
    position: fixed;
    top: 0;
    left: 100%;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0,0,0,.72);
    backdrop-filter: blur(8px);
    pointer-events: none;
  }

  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 0 1rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .mobile-menu-header img {
    width: 205px;
    max-width: calc(100% - 54px);
    height: auto;
  }

  .mobile-menu-close {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255,255,255,.72);
    font-size: 2rem;
    line-height: 1;
  }

  .mobile-menu-close:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
  }

  .navbar-nav {
    align-items: stretch !important;
    gap: .45rem !important;
    padding-top: 1.25rem;
  }

  .navbar-nav .nav-link {
    display: flex;
    align-items: center;
    gap: .9rem;
    color: #d7dce5 !important;
    border-radius: 9px;
    padding: .85rem 1rem;
    font-size: 1.08rem;
  }

  .navbar-nav .nav-item:first-child .nav-link {
    color: var(--brand) !important;
    background: rgba(243,178,27,.12);
  }

  .mobile-nav-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    color: rgba(255,255,255,.68);
    font-size: 1.05rem;
  }

  .navbar-nav .nav-item:first-child .mobile-nav-icon {
    color: var(--brand);
  }

  .navbar-nav .btn {
    display: none;
  }

  .mobile-menu-footer {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.45rem 1.55rem 1.8rem;
    border-top: 1px solid rgba(255,255,255,.08);
    background: #171717;
  }

  .mobile-menu-footer a {
    display: block;
    color: #d7dce5;
    text-decoration: none;
    letter-spacing: .04em;
    margin-bottom: .7rem;
    overflow-wrap: anywhere;
  }

  .whatsapp-float {
    z-index: 1300;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
