/*
=========================================================
CONTACT
=========================================================
*/

/* =========================================================
   CONTACT HERO
   ========================================================= */

.contact-hero {
  position: relative;
  min-height: 445px;

  display: flex;
  align-items: center;
  background-image: url("/images/125cc-scooters/yamaha-tricity-125/yamaha-tricity5.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  overflow: hidden;
}

/* ---------------------------------------------------------
   OVERLAY
   --------------------------------------------------------- */

.contact-hero__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.91) 20%,
    rgba(255, 255, 255, 0.6) 42%,
    rgba(255, 255, 255, 0.12) 72%,
    rgba(255, 255, 255, 0) 100%
  );

  pointer-events: none;
}

/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.contact-hero__content {
  position: relative;
  z-index: 1;

  width: min(100% - 48px, 1320px);

  margin: 0 auto;

  padding: 58px 0 54px;
}

/* ---------------------------------------------------------
   EYEBROW
   --------------------------------------------------------- */

.contact-hero__eyebrow {
  display: block;

  margin-bottom: 14px;

  color: var(--color-primary, #ff6500);

  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;

  letter-spacing: 0.12em;
}

/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.contact-hero__title {
  max-width: 610px;

  margin: 0;

  color: #171717;

  font-size: clamp(58px, 5.4vw, 86px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.contact-hero__title span {
  display: block;

  color: var(--color-primary, #ff6500);
}

/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.contact-hero__description {
  max-width: 610px;

  margin-top: 20px;
}

.contact-hero__description p {
  max-width: 600px;

  margin: 0;

  color: #3f3f3f;

  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   TAGLINE
   --------------------------------------------------------- */

.contact-hero__description .contact-hero__tagline {
  margin-top: 13px;

  color: #202020;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {
  .contact-hero {
    min-height: 420px;

    background-position: 58% center;
  }

  .contact-hero__content {
    width: min(100% - 56px, 900px);

    padding: 52px 0 48px;
  }

  .contact-hero__title {
    max-width: 560px;

    font-size: clamp(52px, 7vw, 72px);
  }

  .contact-hero__description {
    max-width: 560px;
  }

  .contact-hero__description p {
    max-width: 540px;

    font-size: 17px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
  .contact-hero {
    min-height: auto;

    background-position: 63% center;
  }

  .contact-hero__overlay {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 38%, rgba(255, 255, 255, 0.7) 67%, rgba(255, 255, 255, 0.2) 100%);
  }

  .contact-hero__content {
    width: calc(100% - 40px);

    padding: 48px 0 44px;
  }

  .contact-hero__eyebrow {
    margin-bottom: 12px;

    font-size: 13px;
  }

  .contact-hero__title {
    max-width: 440px;

    font-size: clamp(48px, 13vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .contact-hero__description {
    max-width: 480px;

    margin-top: 18px;
  }

  .contact-hero__description p {
    max-width: 450px;

    font-size: 16px;
    line-height: 1.5;
  }

  .contact-hero__description .contact-hero__tagline {
    margin-top: 12px;

    font-size: 16px;
  }
}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {
  .contact-hero {
    background-position: 65% center;
  }

  .contact-hero__content {
    width: calc(100% - 32px);

    padding: 40px 0 38px;
  }

  .contact-hero__title {
    font-size: 47px;
  }

  .contact-hero__description {
    margin-top: 16px;
  }

  .contact-hero__description p {
    font-size: 15px;
  }

  .contact-hero__description .contact-hero__tagline {
    font-size: 15px;
  }
}

/* ======================================================
   BENEFITS
====================================================== */

.contact-benefits {
  background: #ffffff;

  border-bottom: 1px solid var(--color-border);
}

.contact-benefits-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  padding: 16px 0;
}

.contact-benefit {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 12px 25px;
}

.contact-benefit:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 10%;
  right: 0;

  width: 1px;
  height: 80%;

  background: var(--color-border);
}

.contact-benefit-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 107, 0, 0.1);

  color: var(--color-primary);

  font-size: 1.35rem;
}

.contact-benefit h3 {
  margin: 0 0 3px;

  font-size: 0.78rem;
  font-weight: 700;
}

.contact-benefit p {
  margin: 0;

  font-size: 0.72rem;

  line-height: 1.4;

  color: var(--color-text-light);
}

/* ======================================================
   CONTACT SECTION
====================================================== */

.contact-section {
  padding: 45px 0;
}

.contact-grid {
  display: grid;

  grid-template-columns: 1.25fr 0.9fr;

  gap: 16px;

  align-items: stretch;
}

/* ======================================================
   FORM CARD
====================================================== */

.contact-form-card {
  padding: 28px;

  border: 1px solid var(--color-border);

  border-radius: 10px;

  background: #ffffff;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.035);
}

.contact-form-header {
  margin-bottom: 23px;
}

.contact-form-header .eyebrow {
  margin-bottom: 7px;
}

.contact-form-header h2 {
  margin: 0 0 7px;

  font-size: clamp(2rem, 3vw, 2.65rem);

  line-height: 1.05;

  letter-spacing: -0.045em;
}

.contact-form-header p:last-child {
  margin: 0;

  font-size: 0.88rem;

  color: var(--color-text-light);
}

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 15px;
}

.form-field {
  display: flex;

  flex-direction: column;

  gap: 7px;
}

.form-field label {
  font-size: 0.78rem;

  font-weight: 600;

  color: var(--color-text);
}

.form-field label span {
  color: var(--color-primary);
}

.form-field input,
.form-field textarea {
  width: 100%;

  border: 1px solid #dedede;

  border-radius: 6px;

  background: #ffffff;

  color: var(--color-text);

  font-family: inherit;

  font-size: 0.84rem;

  outline: none;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;

  box-sizing: border-box;
}

.form-field input {
  min-height: 43px;

  padding: 10px 13px;
}

.form-field textarea {
  min-height: 110px;

  padding: 12px 13px;

  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a2a2a2;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);

  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.08);
}

.contact-form-footer {
  display: flex;

  align-items: center;

  gap: 14px;

  margin-top: 3px;
}

.contact-submit {
  min-width: 137px;

  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  padding: 11px 15px;

  border: 0;

  border-radius: 5px;

  background: var(--color-primary);

  color: #ffffff;

  font-family: inherit;

  font-size: 0.8rem;

  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.contact-submit span:last-child {
  margin-left: 15px;

  font-size: 1.1rem;

  line-height: 1;
}

.contact-submit:hover {
  transform: translateY(-2px);

  background: var(--color-primary-dark, #e85d00);
}

.contact-form-footer p {
  margin: 0;

  font-size: 0.7rem;

  color: var(--color-text-light);
}

.contact-form-message {
  min-height: 18px;

  margin: 0;

  font-size: 0.76rem;

  font-weight: 600;

  color: var(--color-primary);
}

/* ======================================================
   CONTACT DETAILS
====================================================== */

.contact-details {
  display: flex;

  flex-direction: column;

  gap: 10px;
}

.contact-info-card {
  position: relative;

  display: flex;

  align-items: flex-start;

  gap: 16px;

  min-height: 82px;

  padding: 19px 20px;

  border: 1px solid var(--color-border);

  border-radius: 9px;

  background: #ffffff;

  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.025);
}

.contact-info-icon {
  width: 35px;
  height: 35px;

  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: rgba(255, 107, 0, 0.08);

  color: var(--color-primary);

  font-size: 1.2rem;
}

.contact-info-content {
  min-width: 0;
}

.contact-info-content h3 {
  margin: 1px 0 5px;

  font-size: 0.82rem;

  font-weight: 700;
}

.contact-info-content p {
  margin: 0;

  font-size: 0.75rem;

  line-height: 1.55;

  color: var(--color-text-light);
}

.contact-info-content > a {
  display: inline-block;

  margin: 0 0 3px;

  color: var(--color-text);

  font-size: 0.78rem;

  font-weight: 600;

  text-decoration: none;
}

.contact-info-content > a:hover {
  color: var(--color-primary);
}

.contact-shop-card {
  min-height: 113px;

  padding-right: 180px;
}

.contact-shop-card .contact-info-content > a {
  margin-top: 5px;

  color: var(--color-primary);

  font-size: 0.68rem;

  font-weight: 700;
}

.contact-shop-card .contact-info-content > a span {
  margin-left: 5px;
}

.contact-shop-image {
  position: absolute;

  top: 10px;
  right: 10px;

  width: 145px;
  height: 93px;

  overflow: hidden;

  border-radius: 6px;
}

.contact-shop-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* ======================================================
   LOCATION
====================================================== */

.contact-location {
  display: grid;

  grid-template-columns: 1fr 1fr;

  min-height: 310px;

  background: #fff8f1;
}

.contact-location-map {
  min-height: 310px;
}

.contact-location-map iframe {
  display: block;

  width: 100%;
  height: 100%;

  min-height: 310px;

  border: 0;

  filter: saturate(0.8);
}

.contact-location-content {
  position: relative;

  display: flex;
  align-items: center;

  padding: 45px 7%;

  overflow: hidden;
}

.contact-location-inner {
  position: relative;

  z-index: 2;

  max-width: 470px;
}

.contact-location-inner .eyebrow {
  margin-bottom: 7px;
}

.contact-location-inner h2 {
  margin: 0 0 13px;

  font-size: clamp(2rem, 3vw, 2.75rem);

  line-height: 1.02;

  letter-spacing: -0.045em;
}

.contact-location-inner h2 span {
  color: var(--color-primary);
}

.contact-location-inner > p {
  max-width: 430px;

  margin: 0 0 18px;

  font-size: 0.84rem;

  line-height: 1.6;

  color: var(--color-text-light);
}

.contact-location-button {
  display: inline-flex;

  align-items: center;
  justify-content: space-between;

  min-width: 125px;

  padding: 11px 14px;

  border-radius: 5px;

  background: var(--color-primary);

  color: #ffffff;

  font-size: 0.76rem;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.contact-location-button span {
  margin-left: 14px;

  font-size: 1rem;
}

.contact-location-button:hover {
  transform: translateY(-2px);

  background: var(--color-primary-dark, #e85d00);
}

.contact-location-decoration {
  position: absolute;

  right: 7%;
  bottom: 38px;

  display: flex;

  flex-direction: column;

  font-family: "Inter", sans-serif;

  font-size: 1.15rem;

  line-height: 1.08;

  font-weight: 600;

  color: #171717;

  transform: rotate(-5deg);
}

.contact-location-decoration i {
  display: block;

  width: 60px;
  height: 3px;

  margin-top: 8px;
  margin-left: 3px;

  background: var(--color-primary);

  transform: rotate(-5deg);
}

/* ======================================================
   HELP
====================================================== */

.contact-help {
  padding: 48px 0 55px;

  background: #ffffff;
}

.contact-help-header {
  margin-bottom: 28px;

  text-align: center;
}

.contact-help-header .eyebrow {
  margin-bottom: 7px;
}

.contact-help-header h2 {
  margin: 0;

  font-size: clamp(2rem, 3.5vw, 2.8rem);

  line-height: 1;

  letter-spacing: -0.045em;
}

.contact-help-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border: 1px solid var(--color-border);

  border-radius: 9px;

  overflow: hidden;
}

.contact-help-card {
  position: relative;

  padding: 25px 22px;

  text-align: center;
}

.contact-help-card:not(:last-child)::after {
  content: "";

  position: absolute;

  top: 12%;
  right: 0;

  width: 1px;
  height: 76%;

  background: var(--color-border);
}

.contact-help-icon {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 10px;

  border-radius: 50%;

  background: rgba(255, 107, 0, 0.1);

  color: var(--color-primary);

  font-size: 1.3rem;
}

.contact-help-card h3 {
  margin: 0 0 6px;

  font-size: 0.78rem;

  font-weight: 700;
}

.contact-help-card p {
  max-width: 190px;

  margin: 0 auto;

  font-size: 0.72rem;

  line-height: 1.5;

  color: var(--color-text-light);
}

/* ======================================================
   TABLET
====================================================== */

@media (max-width: 1050px) {
  .contact-grid {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .contact-details {
    display: grid;

    grid-template-columns: 1fr 1fr;
  }

  .contact-shop-card {
    grid-column: span 2;
  }

  .contact-location-content {
    padding-left: 45px;
    padding-right: 45px;
  }

  .contact-location-decoration {
    right: 30px;
  }
}

/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 700px) {
  /* BENEFITS */

  .contact-benefits-grid {
    grid-template-columns: 1fr;

    padding: 8px 0;
  }

  .contact-benefit {
    justify-content: flex-start;

    padding: 13px 20px;
  }

  .contact-benefit:not(:last-child)::after {
    top: auto;
    right: 10%;

    bottom: 0;

    width: 80%;
    height: 1px;
  }

  /* CONTACT */

  .contact-section {
    padding: 30px 0;
  }

  .contact-form-card {
    padding: 22px 18px;
  }

  .contact-form-header h2 {
    font-size: 2rem;
  }

  .contact-form-footer {
    flex-direction: column;

    align-items: stretch;

    gap: 10px;
  }

  .contact-submit {
    width: 100%;
  }

  .contact-form-footer p {
    text-align: center;
  }

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

  .contact-shop-card {
    grid-column: auto;

    padding-right: 18px;
  }

  .contact-shop-image {
    position: relative;

    top: auto;
    right: auto;

    width: 100%;
    height: 170px;

    margin-top: 14px;
  }

  .contact-shop-card {
    flex-wrap: wrap;
  }

  /* LOCATION */

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

  .contact-location-map {
    min-height: 280px;
  }

  .contact-location-map iframe {
    min-height: 280px;
  }

  .contact-location-content {
    min-height: 360px;

    align-items: flex-start;

    padding: 45px 25px;
  }

  .contact-location-decoration {
    right: 25px;
    bottom: 30px;
  }

  /* HELP */

  .contact-help {
    padding: 40px 0 45px;
  }

  .contact-help-header {
    margin-bottom: 22px;
  }

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

  .contact-help-card {
    padding: 22px 13px;
  }

  .contact-help-card:nth-child(odd)::after {
    display: block;
  }

  .contact-help-card:nth-child(even)::after {
    display: none;
  }

  .contact-help-card:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-border);
  }
}

/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 450px) {
  .contact-hero {
    min-height: 500px;
  }

  .contact-hero .container {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .contact-hero-content {
    padding-bottom: 28px;
  }

  .contact-hero-content h1 {
    font-size: 3rem;
  }

  .contact-hero-content > p {
    font-size: 0.8rem;
  }

  .contact-benefit {
    padding-left: 12px;
    padding-right: 12px;
  }

  .contact-form-card {
    padding: 20px 15px;
  }

  .contact-location-content {
    min-height: 390px;
  }

  .contact-location-decoration {
    position: relative;

    right: auto;
    bottom: auto;

    margin-top: 30px;
  }

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

  .contact-help-card:not(:last-child)::after {
    top: auto;
    right: 10%;

    bottom: 0;

    width: 80%;
    height: 1px;
  }

  .contact-help-card:nth-child(even)::after {
    display: block;
  }

  .contact-help-card:last-child::after {
    display: none;
  }

  .contact-help-card:nth-child(-n + 2) {
    border-bottom: 0;
  }
}
