/* =========================================================
   SESTO
   Premium Automotive Styling Website
========================================================= */

:root {
  --bg: #050807;
  --bg-soft: #08100d;
  --bg-card: #0b1411;
  --bg-card-2: #0e1915;

  --green: #4adeaa;
  --green-dark: #1e9d77;

  --white: #ffffff;
  --text: #f5f7f6;
  --muted: #9ca8a3;
  --muted-light: #c3cbc7;

  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(74, 222, 170, 0.28);

  --max-width: 1180px;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow:
    0 25px 70px rgba(0, 0, 0, 0.55);

  --transition:
    250ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-height: 100vh;

  background:
    radial-gradient(
      circle at 15% 5%,
      rgba(74, 222, 170, 0.10),
      transparent 35%
    ),
    radial-gradient(
      circle at 90% 45%,
      rgba(45, 212, 191, 0.05),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #050807 0%,
      #07100d 50%,
      #050807 100%
    );

  color: var(--text);

  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  line-height: 1.75;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar-sesto {
  min-height: 78px;

  background:
    linear-gradient(
      to bottom,
      rgba(5, 8, 7, 0.97),
      rgba(5, 8, 7, 0.88)
    );

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  z-index: 1000;
}

.sesto-logo {
  display: flex;
  flex-direction: column;

  line-height: 1;

  text-decoration: none;

  padding: 0;
}

.logo-main {
  font-family: "Outfit", sans-serif;

  font-size: 1.45rem;
  font-weight: 800;

  letter-spacing: 0.20em;

  color: var(--white);
}

.logo-sub {
  margin-top: 6px;

  font-size: 0.48rem;
  font-weight: 600;

  letter-spacing: 0.22em;

  color: var(--muted);
}

.navbar-sesto .nav-link {
  position: relative;

  color: var(--muted-light) !important;

  font-size: 0.76rem;
  font-weight: 600;

  letter-spacing: 0.14em;
  text-transform: uppercase;

  padding: 0.6rem 0.75rem !important;

  transition:
    color var(--transition);
}

.navbar-sesto .nav-link::after {
  content: "";

  position: absolute;

  left: 0.75rem;
  right: 0.75rem;
  bottom: 3px;

  height: 1px;

  background: var(--green);

  transform: scaleX(0);
  transform-origin: center;

  transition:
    transform var(--transition);
}

.navbar-sesto .nav-link:hover,
.navbar-sesto .nav-link.active {
  color: var(--white) !important;
}

.navbar-sesto .nav-link:hover::after,
.navbar-sesto .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.55rem 0.7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.15rem rgba(74, 222, 170, 0.15);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  min-height: 48px;

  border-radius: 999px;

  padding: 0.75rem 1.5rem;

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.14em;

  text-transform: uppercase;

  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-accent-solid {
  color: #04100b !important;

  background:
    linear-gradient(
      135deg,
      #61e9b8,
      #35c99a
    );

  border: none;

  box-shadow:
    0 12px 30px rgba(74, 222, 170, 0.18);
}

.btn-accent-solid:hover {
  color: #04100b !important;

  box-shadow:
    0 18px 38px rgba(74, 222, 170, 0.28);
}

.nav-quote-btn {
  min-height: 40px;
  padding: 0.55rem 1.2rem;
}


/* =========================================================
   HERO
========================================================= */

.hero-section {
  position: relative;

  min-height: 760px;

  display: flex;
  align-items: center;

  overflow: hidden;

  padding:
    140px 0
    90px;
}

.hero-background {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at center top,
      rgba(74, 222, 170, 0.13),
      transparent 45%
    ),
    radial-gradient(
      ellipse at center bottom,
      rgba(20, 184, 166, 0.06),
      transparent 50%
    );

  pointer-events: none;
}

.hero-background::before {
  content: "";

  position: absolute;
  inset: 0;

  opacity: 0.16;

  background-image:
    linear-gradient(
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255,255,255,0.025) 1px,
      transparent 1px
    );

  background-size: 70px 70px;

  mask-image:
    linear-gradient(
      to bottom,
      black,
      transparent 90%
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      transparent 50%,
      var(--bg) 100%
    );

  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 920px;

  margin: 0 auto;

  text-align: center;
}

.hero-eyebrow {
  display: flex;

  align-items: center;
  justify-content: center;

  gap: 16px;

  margin-bottom: 24px;

  color: var(--muted);

  font-size: 0.7rem;
  font-weight: 700;

  letter-spacing: 0.28em;

  text-transform: uppercase;
}

.hero-eyebrow span {
  width: 45px;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(74, 222, 170, 0.8)
    );
}

.hero-eyebrow span:last-child {
  background:
    linear-gradient(
      90deg,
      rgba(74, 222, 170, 0.8),
      transparent
    );
}

.hero-content h1 {
  margin-bottom: 26px;

  font-size:
    clamp(
      3.3rem,
      8vw,
      6.5rem
    );

  font-weight: 800;

  line-height: 0.95;

  letter-spacing: -0.045em;
}

.hero-content h1 span {
  color: var(--green);

  text-shadow:
    0 0 45px rgba(74, 222, 170, 0.18);
}

.hero-description {
  max-width: 780px;

  margin: 0 auto 34px;

  color: var(--muted-light);

  font-size: 1.02rem;
}

.hero-buttons {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 14px;
}

.hero-buttons .btn-outline-light {
  border-color: rgba(255,255,255,0.22);

  background: rgba(255,255,255,0.025);

  color: var(--white);
}

.hero-buttons .btn-outline-light:hover {
  background: rgba(255,255,255,0.08);

  border-color: rgba(255,255,255,0.4);
}

.hero-trust {
  display: flex;

  justify-content: center;

  flex-wrap: wrap;

  gap: 25px;

  margin-top: 35px;

  color: var(--muted);

  font-size: 0.72rem;

  letter-spacing: 0.08em;
}

.hero-trust div {
  display: flex;

  align-items: center;

  gap: 8px;
}

.hero-trust i {
  color: var(--green);

  font-size: 0.9rem;
}


/* =========================================================
   SERVICE CAROUSEL
========================================================= */

.services-carousel {
  position: relative;

  padding:
    34px 0
    38px;

  background:
    rgba(4, 8, 6, 0.95);

  border-top:
    1px solid rgba(255,255,255,0.06);

  border-bottom:
    1px solid rgba(255,255,255,0.08);
}

.section-mini-heading {
  margin-bottom: 22px;

  text-align: center;

  color: var(--muted);

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.25em;

  text-transform: uppercase;
}

.services-scroll {
  display: flex;

  gap: 14px;

  overflow-x: auto;

  padding: 5px 4px 12px;

  scroll-snap-type: x mandatory;

  scrollbar-width: thin;
  scrollbar-color:
    rgba(74,222,170,0.45)
    transparent;
}

.services-scroll::-webkit-scrollbar {
  height: 5px;
}

.services-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.services-scroll::-webkit-scrollbar-thumb {
  background: rgba(74,222,170,0.4);

  border-radius: 99px;
}

.service-tile {
  flex: 0 0 160px;

  scroll-snap-align: start;

  text-decoration: none;

  color: var(--white);

  transition:
    transform var(--transition);
}

.service-tile:hover {
  transform: translateY(-5px);
}

.service-tile-image {
  width: 160px;
  height: 105px;

  overflow: hidden;

  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.1);

  background: #0a0f0d;

  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);
}

.service-tile-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile:hover img {
  transform: scale(1.08);
}

.service-tile > span {
  display: block;

  margin-top: 10px;

  text-align: center;

  color: var(--muted-light);

  font-size: 0.65rem;
  font-weight: 700;

  letter-spacing: 0.1em;

  text-transform: uppercase;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
  position: relative;
}

.service-detail {
  position: relative;

  padding:
    115px 0;

  scroll-margin-top: 80px;
}

.service-detail + .service-detail {
  border-top:
    1px solid rgba(255,255,255,0.045);
}

.service-detail-alt {
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.018),
      transparent 50%
    );
}

.service-image-wrapper {
  position: relative;

  width: 100%;

  aspect-ratio: 4 / 3;

  overflow: hidden;

  border-radius: var(--radius-lg);

  background: #080d0b;

  border:
    1px solid rgba(255,255,255,0.11);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.5);

  isolation: isolate;
}

.service-image-wrapper::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      135deg,
      rgba(74,222,170,0.08),
      transparent 40%,
      rgba(0,0,0,0.18)
    );

  pointer-events: none;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition:
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-detail:hover .service-image-wrapper img {
  transform: scale(1.035);
}

.contain-image img {
  object-fit: contain;

  background:
    #080d0b;
}

.service-number {
  margin-bottom: 14px;

  color: var(--green);

  font-family: "Outfit", sans-serif;

  font-size: 0.85rem;
  font-weight: 700;

  letter-spacing: 0.2em;
}

.service-detail h2 {
  margin-bottom: 24px;

  font-size:
    clamp(
      2.2rem,
      4vw,
      3.7rem
    );

  font-weight: 700;

  line-height: 1;

  letter-spacing: -0.025em;
}

.service-detail h2::after {
  content: "";

  display: block;

  width: 50px;
  height: 2px;

  margin-top: 18px;

  background: var(--green);
}

.service-detail p {
  max-width: 560px;

  margin-bottom: 17px;

  color: var(--muted-light);

  font-size: 0.98rem;
}

.service-detail p:last-child {
  margin-bottom: 0;
}

.service-detail a {
  color: var(--green);

  text-decoration:
    underline;

  text-decoration-color:
    rgba(74,222,170,0.4);

  text-underline-offset: 3px;
}

.service-detail a:hover {
  color: #7ff3c8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
  position: relative;

  padding:
    120px 0;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(74,222,170,0.08),
      transparent 40%
    ),
    #060a08;

  border-top:
    1px solid rgba(255,255,255,0.06);
}

.contact-heading {
  max-width: 720px;

  margin:
    0 auto 60px;

  text-align: center;
}

.section-kicker {
  margin-bottom: 15px;

  color: var(--green);

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.25em;

  text-transform: uppercase;
}

.contact-heading h2 {
  margin-bottom: 18px;

  font-size:
    clamp(
      2.3rem,
      5vw,
      4rem
    );

  line-height: 1;

  letter-spacing: -0.03em;
}

.contact-heading h2 span {
  color: var(--green);
}

.contact-heading p {
  margin: 0;

  color: var(--muted);

  font-size: 0.98rem;
}


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info-card {
  height: 100%;

  padding: 32px;

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      rgba(12,24,19,0.95),
      rgba(7,14,11,0.98)
    );

  border:
    1px solid var(--border);

  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;

  align-items: flex-start;

  gap: 17px;

  padding: 23px 0;

  border-bottom:
    1px solid rgba(255,255,255,0.07);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;

  border-bottom: none;
}

.contact-icon {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 12px;

  color: var(--green);

  background:
    rgba(74,222,170,0.08);

  border:
    1px solid rgba(74,222,170,0.16);

  font-size: 1rem;
}

.contact-label {
  margin-bottom: 5px;

  color: var(--muted);

  font-size: 0.62rem;
  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.contact-value {
  display: block;

  color: var(--text);

  font-size: 0.9rem;

  line-height: 1.6;
}

.contact-link {
  text-decoration: none;
}

.contact-link:hover {
  color: var(--green);
}

.email-break {
  overflow-wrap: anywhere;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-card {
  padding: 35px;

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      145deg,
      #0d1713,
      #08100d
    );

  border:
    1px solid rgba(74,222,170,0.18);

  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: 8px;

  font-size: 1.5rem;
}

.form-intro {
  margin-bottom: 28px;

  color: var(--muted);

  font-size: 0.84rem;
}

.contact-form-card label {
  display: block;

  margin-bottom: 8px;

  color: var(--muted-light);

  font-size: 0.72rem;
  font-weight: 600;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  min-height: 50px;

  color: var(--white);

  background:
    rgba(0,0,0,0.25);

  border:
    1px solid rgba(255,255,255,0.10);

  border-radius: 10px;

  padding:
    0.75rem
    0.95rem;

  box-shadow: none;
}

.contact-form-card textarea.form-control {
  min-height: 140px;

  resize: vertical;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  color: var(--white);

  background:
    rgba(0,0,0,0.32);

  border-color:
    rgba(74,222,170,0.6);

  box-shadow:
    0 0 0 3px rgba(74,222,170,0.08);
}

.contact-form-card .form-control::placeholder {
  color: #69756f;
}

.contact-form-card .form-select {
  color: var(--muted-light);
}

.contact-form-card .form-select option {
  color: #111;
}

.form-submit-btn {
  min-width: 180px;
}

.loader--hidden {
  display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
  padding:
    55px 0 25px;

  background:
    #030504;

  border-top:
    1px solid rgba(255,255,255,0.08);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr;

  gap: 50px;

  padding-bottom: 45px;
}

.footer-logo {
  margin-bottom: 10px;

  color: var(--white);

  font-family: "Outfit", sans-serif;

  font-size: 1.7rem;
  font-weight: 800;

  letter-spacing: 0.2em;
}

.footer-grid p {
  margin: 0;

  color: var(--muted);

  font-size: 0.72rem;

  text-transform: uppercase;

  letter-spacing: 0.13em;
}

.footer-grid h4 {
  margin-bottom: 18px;

  color: var(--muted);

  font-size: 0.68rem;
  font-weight: 700;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.footer-grid a {
  display: block;

  width: fit-content;

  margin-bottom: 10px;

  color: var(--muted-light);

  font-size: 0.8rem;

  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding-top: 22px;

  border-top:
    1px solid rgba(255,255,255,0.07);

  color: #68736e;

  font-size: 0.68rem;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

  .navbar-sesto {
    min-height: 70px;
  }

  .navbar-collapse {
    margin-top: 14px;

    padding: 14px;

    border:
      1px solid rgba(255,255,255,0.08);

    border-radius: 14px;

    background:
      rgba(5,8,7,0.98);

    backdrop-filter: blur(18px);
  }

  .navbar-sesto .nav-link {
    padding: 0.75rem !important;
  }

  .navbar-sesto .nav-link::after {
    display: none;
  }

  .hero-section {
    min-height: 700px;

    padding-top: 130px;
  }

  .service-detail {
    padding:
      85px 0;
  }

  .service-image-wrapper {
    max-width: 720px;

    margin-inline: auto;
  }

  .contact-info-card {
    height: auto;
  }

  .footer-grid {
    grid-template-columns:
      1fr 1fr;
  }
}


@media (max-width: 767.98px) {

  html {
    scroll-padding-top: 72px;
  }

  .hero-section {
    min-height: auto;

    padding:
      125px 0
      75px;
  }

  .hero-eyebrow {
    gap: 10px;

    font-size: 0.58rem;

    letter-spacing: 0.17em;
  }

  .hero-eyebrow span {
    width: 25px;
  }

  .hero-content h1 {
    font-size:
      clamp(
        3rem,
        15vw,
        4.5rem
      );
  }

  .hero-description {
    font-size: 0.9rem;

    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: stretch;

    max-width: 340px;

    margin-inline: auto;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;

    align-items: center;

    gap: 12px;

    font-size: 0.65rem;
  }

  .services-carousel {
    padding:
      28px 0;
  }

  .service-tile {
    flex-basis: 140px;
  }

  .service-tile-image {
    width: 140px;
    height: 95px;
  }

  .service-detail {
    padding:
      70px 0;
  }

  .service-image-wrapper {
    aspect-ratio: 4 / 3;

    border-radius: 18px;
  }

  .service-detail h2 {
    font-size: 2.25rem;
  }

  .service-detail p {
    font-size: 0.9rem;
  }

  .contact-section {
    padding:
      80px 0;
  }

  .contact-heading {
    margin-bottom: 40px;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 25px;
  }

  .footer-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;

    align-items: flex-start;
  }
}


@media (max-width: 480px) {

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .logo-main {
    font-size: 1.2rem;
  }

  .logo-sub {
    display: none;
  }

  .hero-section {
    padding-top: 115px;
  }

  .hero-content h1 {
    font-size: 3.1rem;
  }

  .hero-description {
    font-size: 0.86rem;
  }

  .hero-trust {
    display: none;
  }

  .service-detail {
    padding:
      60px 0;
  }

  .service-detail h2 {
    font-size: 2rem;
  }

  .service-image-wrapper {
    aspect-ratio: 1 / 0.78;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

  .contact-info-card {
    padding: 22px 18px;
  }

  .contact-item {
    gap: 13px;
  }

  .contact-icon {
    flex-basis: 40px;

    width: 40px;
    height: 40px;
  }

  .contact-value {
    font-size: 0.82rem;
  }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}