:root {
  --paper: #f7f5f5;
  --night: #071821;
  --night-soft: #0d2630;
  --teal: #087f85;
  --copper: #a9511e;
  --mist: #d8eceb;
  --focus: #35d2c7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: #111;
  font-family: Tahoma, Arial, sans-serif;
}

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

button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  scroll-margin-top: 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 10000;
  display: flex;
  min-height: 44px;
  padding: 12px 18px;
  align-items: center;
  border-radius: 10px;
  background: #fff;
  color: var(--night);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

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

.hero {
  position: relative;
  height: 580px;
  overflow: hidden;
  background: #101922;
  color: #fff;
}

.slides,
.slide,
.shade {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.045);
  transition: opacity 1.5s ease, transform 7s linear;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.bg-hero-1 { background-image: url("assets/hero-1.jpg"); }
.bg-hero-2 { background-image: url("assets/hero-2.jpg"); }
.bg-hero-3 { background-image: url("assets/hero-3.jpg"); }
.bg-hero-4 { background-image: url("assets/hero-4.jpg"); }
.bg-hero-5 { background-image: url("assets/hero-5.jpg"); }
.bg-hero-6 { background-image: url("assets/hero-6.jpg"); }
.bg-hero-ford { background-image: url("assets/hero-ford.jpg"); }

.shade {
  background: rgba(0, 8, 17, .65);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1450px;
  margin: auto;
  padding: 48px 30px 70px;
  text-align: center;
}

h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4vw, 3.75rem);
  line-height: 1.4;
}

.hero-content p {
  max-width: 1320px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 1.65vw, 1.44rem);
  font-weight: 700;
  line-height: 1.9;
  text-wrap: balance;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 54px;
  margin-top: 50px;
  padding: 14px 28px;
  border-radius: 40px;
  background: rgba(67, 75, 82, .94);
  box-shadow: 0 0 16px rgba(155, 187, 230, .54);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  transition: background .2s ease, transform .2s ease;
}

.call-button:active {
  transform: scale(.97);
}

.motion-toggle {
  position: absolute;
  top: 18px;
  left: max(18px, env(safe-area-inset-left));
  z-index: 3;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.motion-toggle:focus-visible {
  display: inline-flex;
  width: auto;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  align-items: center;
  overflow: visible;
  clip-path: none;
  border-radius: 9px;
  background: #fff;
  color: var(--night);
  font: 700 14px Tahoma, Arial, sans-serif;
}

.intro {
  padding: 10px 26px 34px;
  background: #f6f6f6;
  text-align: center;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.contact-icons a {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}

.phone { background: #087e20; }
.whatsapp { background: #2e8d00; }

.contact-icons svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.intro p {
  max-width: 1160px;
  margin: 20px auto 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 2;
}

.features {
  padding: 100px 24px 120px;
  background: #fbfaf9;
  color: #173f5f;
  text-align: center;
}

.features h2 {
  margin: 0;
  color: var(--copper);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.feature-hint {
  margin: 12px 0 54px;
  color: #657782;
  font-size: 13px;
}

.feature-grid {
  display: grid;
  grid-template-areas: "workforce experience" "speed price";
  grid-template-columns: 1fr 1fr;
  max-width: 1040px;
  margin: auto;
  column-gap: 160px;
  row-gap: 46px;
}

.feature-item {
  display: flex;
  min-height: 185px;
  padding: 12px 20px;
  appearance: none;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  border: 0;
  background: transparent;
  color: var(--teal);
  cursor: pointer;
  font-family: inherit;
}

.feature-experience { grid-area: experience; }
.feature-price { grid-area: price; }
.feature-workforce { grid-area: workforce; }
.feature-speed { grid-area: speed; }

.icon-wrap {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 63, 95, .11), 0 0 0 1px rgba(8, 127, 133, .13);
  color: var(--teal);
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease, background .25s ease;
}

.feature-item svg {
  width: 43px;
  height: 43px;
  fill: currentColor;
}

.feature-name {
  margin-top: 28px;
  color: #176b89;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  font-weight: 700;
  transition: color .25s ease;
}

.feature-note {
  max-width: 290px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #596d7a;
  font-size: 13px;
  line-height: 1.8;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, margin .3s ease;
}

.feature-item:focus-visible .icon-wrap {
  transform: translateY(-7px) scale(1.05);
  box-shadow: 0 18px 34px rgba(23, 63, 95, .17), 0 0 0 6px rgba(8, 127, 133, .08);
}

.feature-item[aria-expanded="true"] .icon-wrap {
  background: var(--copper);
  box-shadow: 0 18px 38px rgba(169, 81, 30, .31), 0 0 0 7px rgba(169, 81, 30, .08);
  color: #fff;
  transform: translateY(-5px) rotate(-4deg);
}

.feature-item[aria-expanded="true"] .feature-name {
  color: #173f5f;
}

.feature-item[aria-expanded="true"] .feature-note {
  max-height: 80px;
  margin-top: 12px;
  opacity: 1;
}

.closing {
  display: grid;
  min-height: 500px;
  padding: 20px 0;
  place-items: center;
  background: linear-gradient(90deg, rgba(5, 19, 27, .91) 0%, rgba(7, 24, 33, .72) 52%, rgba(7, 24, 33, .21) 100%), url("assets/footer-original.jpg") center / cover;
  color: #fff;
}

.closing-content {
  width: min(1160px, calc(100% - 48px));
  text-align: right;
}

.closing-content > span {
  color: #50ded4;
  font-size: 15px;
}

.closing h2 {
  max-width: 570px;
  margin: 14px 0 10px;
  font-size: 42px;
  line-height: 1.45;
}

.closing p {
  color: #c8d7d8;
  font-size: 17px;
}

.closing-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.closing .call-button {
  margin: 0;
  background: #d8853f;
  box-shadow: none;
  color: #10252c;
  font-weight: 700;
}

.number {
  display: inline-flex;
  min-height: 44px;
  margin: 0;
  padding-bottom: 5px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .62);
  font-size: 18px;
}

footer {
  padding: 30px 20px;
  color: #5d5d5d;
  font-size: 13px;
  text-align: center;
}

footer span {
  margin: 0 12px;
}

footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.floating-call-button {
  position: fixed !important;
  right: auto !important;
  bottom: calc(22px + env(safe-area-inset-bottom)) !important;
  left: max(22px, env(safe-area-inset-left)) !important;
  top: auto !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 58px !important;
  min-width: 58px !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #087e20 !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25) !important;
  color: #fff !important;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-call-button svg {
  display: block !important;
  width: 29px !important;
  max-width: 29px !important;
  height: 29px !important;
  max-height: 29px !important;
  fill: #fff !important;
}

.floating-call-button:active {
  transform: scale(.94);
}

@media (hover: hover) {
  .call-button:hover { background: #354650; }
  .contact-icons a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
  .feature-item:hover .icon-wrap { transform: translateY(-7px) scale(1.05); box-shadow: 0 18px 34px rgba(23, 63, 95, .17), 0 0 0 6px rgba(8, 127, 133, .08); }
  .closing .call-button:hover { background: #efaa6f; }
  .floating-call-button:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 12px 24px rgba(0, 0, 0, .29), 0 0 0 7px rgba(8, 126, 32, .11) !important; }
}

@media (max-width: 900px) {
  .feature-grid { column-gap: 70px; }
  .closing-content { width: min(100% - 48px, 760px); }
}

@media (max-width: 650px) {
  .hero { height: 620px; }
  .hero-content { padding: 72px 22px 56px; }
  .hero-content h1 { margin-bottom: 24px; font-size: clamp(2.15rem, 11vw, 2.45rem); }
  .hero-content p { font-size: clamp(1rem, 5.2vw, 1.18rem); line-height: 1.85; }
  .call-button { margin-top: 32px; }
  .intro p { font-size: 15px; }
  .features { padding: 72px 18px 92px; }
  .features h2 { font-size: 28px; }
  .feature-hint { margin-bottom: 38px; }
  .feature-grid { grid-template-areas: "experience" "price" "workforce" "speed"; grid-template-columns: 1fr; gap: 18px; }
  .feature-item { min-height: 150px; }
  .icon-wrap { width: 68px; height: 68px; }
  .feature-item svg { width: 39px; height: 39px; }
  .feature-name { margin-top: 22px; font-size: 16px; }
  .closing { min-height: 470px; padding: 20px; background-position: 58% center; }
  .closing-content { width: 100%; padding-bottom: 28px; align-self: end; }
  .closing h2 { max-width: 360px; font-size: 30px; }
  .closing p { max-width: 310px; }
  .closing-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .slide { background-position: center; }
  .floating-call-button { bottom: calc(16px + env(safe-area-inset-bottom)) !important; left: max(16px, env(safe-area-inset-left)) !important; width: 56px !important; min-width: 56px !important; height: 56px !important; min-height: 56px !important; }
}

@media (max-width: 360px) {
  .hero { height: 640px; }
  .hero-content { padding: 64px 18px 50px; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content p { font-size: 1rem; }
  .intro { padding-inline: 18px; }
  .closing h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .skip-link,
  .slide,
  .call-button,
  .contact-icons a,
  .icon-wrap,
  .feature-name,
  .feature-note,
  .floating-call-button { transition: none; }
  .slide { transform: none !important; }
}
