@import url("./commun/slider.css");
@import url("./commun/backToUp.css");
@import url("./commun/reset.css");
@import url("./commun/base.css");

/* =====================================
   CONTACT — SECTION HERO
===================================== */

.contact-hero {
  position: relative;

  width: 100vw;
  max-width: 100vw;
  height: 70vh;
  max-height: 100vh;
  min-height: 500px;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: hidden;
  isolation: isolate;

  display: flex;
  align-items: center;

  background: #11110f;
}

.contact-hero__background {
  position: absolute;
  inset: -20% 0;

  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.contact-hero__image {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  max-width: none;

  object-fit: cover;

  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.contact-hero__overlay {
  position: absolute;
  inset: 0;

  z-index: -1;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.84) 0%,
    rgba(0, 0, 0, 0.7) 35%,
    rgba(0, 0, 0, 0.46) 65%,
    rgba(0, 0, 0, 0.28) 100%
  );
}

.contact-hero__inner {
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 1400px;

  margin: 0 auto;
  padding: 100px 60px;
}

.contact-hero__content {
  max-width: 850px;
  color: #fff;
}

.contact-hero__badge {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-bottom: 28px;

  color: rgba(255, 255, 255, 0.85);

  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.contact-hero__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;
  flex-shrink: 0;

  border-radius: 50%;

  background: #fff;
  color: #3018ab;

  font-size: 15px;
}

.contact-hero__title {
  margin: 0 0 10px;

  color: #fff;

  font-size: clamp(52px, 6vw, 92px);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -0.055em;

  text-wrap: balance;
}

.contact-hero__subtitle {
  max-width: 760px;

  margin: 0 0 30px;

  color: #7d69e3;

  font-size: clamp(25px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.contact-hero__description {
  max-width: 720px;
  margin-bottom: 35px;
}

.contact-hero__description p {
  margin: 0 0 18px;

  color: rgba(255, 255, 255, 0.96);

  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
}

.contact-hero__description p:last-child {
  margin-bottom: 0;
}

.contact-hero__actions {
  display: flex;
  align-items: center;
}

.contact-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;

  min-width: 310px;
  min-height: 58px;

  padding: 8px 10px 8px 24px;

  border: none;
  border-radius: 5px;

  background: #fff;
  color: #3018ab;

  font-size: 14px;
  font-weight: 650;
  text-decoration: none;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.contact-hero__button:hover {
  transform: translateY(-3px);

  background: #f5f2ff;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.contact-hero__button-arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  flex-shrink: 0;

  border-radius: 50%;

  background: #f0edff;
  color: #3018ab;

  font-size: 20px;

  transition: transform 0.3s ease;
}

.contact-hero__button:hover .contact-hero__button-arrow {
  transform: translate(2px, -2px);
}

.contact-hero__button:focus-visible {
  outline: 3px solid #7d69e3;
  outline-offset: 5px;
}

.contact-section {
  position: relative;
  padding: 0 0 110px;
}

.contact-section .container.grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  align-items: start;
  gap: 32px;
  margin-top: -55px;
}

.contact-section .card {
  min-width: 0;
  max-height: 650px;
  padding: 42px;
  border: 1px solid rgba(30, 32, 48, 0.05);
  border-radius: 22px;
  background: var(--contact-white);
  box-shadow: 0 18px 55px rgba(23, 24, 44, 0.07);
}

.contact-section .card h2 {
  margin: 0 0 32px;
  color: var(--contact-text);
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.8px;
}

.contact-section .form {
  display: flex;
  flex-direction: column;
  gap: 23px;
}

.contact-section .grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-section .field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 9px;
}

.contact-section .field label {
  color: #292a35;
  font-size: 16px;
  font-weight: 400;
}

.contact-section .field input,
.contact-section .field select,
.contact-section .field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 53px;
  padding: 14px 16px;
  border: 1px solid var(--contact-border);
  border-radius: 10px;
  outline: none;
  background: #fafafd;
  color: var(--contact-text);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.contact-section .field textarea {
  min-height: 155px;
  resize: vertical;
  line-height: 1.7;
}

.contact-section .field select {
  cursor: pointer;
}

.contact-section .field input::placeholder,
.contact-section .field textarea::placeholder {
  color: #a1a3af;
}

.contact-section .field input:focus,
.contact-section .field select:focus,
.contact-section .field textarea:focus {
  border-color: var(--contact-primary);
  background: var(--contact-white);
  box-shadow: 0 0 0 4px rgba(91, 75, 219, 0.1);
}

.contact-section .button.button--secondary {
  display: inline-flex;
  /* width: fit-content; */
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 5px;
  padding: 15px 25px;
  border: 1px solid var(--contact-primary);
  border-radius: 10px;
  background: var(--contact-primary);
  color: var(--contact-white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.contact-section .button.button--secondary:hover {
  transform: translateY(-2px);
  border-color: var(--contact-primary-dark);
  background: var(--contact-primary-dark);
  box-shadow: 0 9px 22px rgba(91, 75, 219, 0.22);
}

.contact-section .button.button--secondary:focus-visible {
  outline: 3px solid rgba(91, 75, 219, 0.35);
  outline-offset: 4px;
}

.contact-section .info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 12px;
}

.contact-section .info > h2 {
  margin: 0 0 8px;
  color: var(--contact-text);
  font-size: 27px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.8px;
}

.contact-section .info-card {
  position: relative;
  overflow: hidden;
  padding: 23px 24px;
  border: 1px solid #e9e9f0;
  border-radius: 16px;
  background: var(--contact-white);
  box-shadow: 0 8px 24px rgba(23, 24, 44, 0.035);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-section .info-card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--contact-primary);
  content: "";
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.25s ease;
}

.contact-section .info-card:hover {
  transform: translateY(-3px);
  border-color: rgba(91, 75, 219, 0.25);
  box-shadow: 0 12px 28px rgba(23, 24, 44, 0.07);
}

.contact-section .info-card:hover::before {
  transform: scaleY(1);
}

.contact-section .info-card h3 {
  margin: 0 0 9px;
  color: var(--contact-primary);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.contact-section .info-card p {
  overflow-wrap: anywhere;
  margin: 0 0 8px;
  color: var(--contact-text);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.6;
}

.contact-section .info-card span {
  display: block;
  color: var(--contact-muted);
  font-size: 13px;
  line-height: 1.6;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

#question {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  line-height: 1.6;
}
#question h5 {
  font-size: 17px;
}
#question h3 {
  font-size: 18px;
}

#question span {
  font-size: 16px;
}

.contact-main .contact-map {
  box-sizing: border-box;
  width: 100%;
  height: 650px;
  min-width: 0;
  margin: 0;
  padding: 30px;
  overflow: hidden;
  border: 1px solid #e9e9f0;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(23, 24, 44, 0.06);
}

.contact-map__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-map__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--contact-primary);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.contact-map__header h2 {
  margin: 0 0 10px;
  color: var(--contact-text);
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.8px;
}

.contact-map__header p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.7;
}

.contact-map__link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid var(--contact-primary);
  border-radius: 10px;
  background: var(--contact-primary);
  color: var(--contact-white);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.contact-map__link:hover {
  transform: translateY(-2px);
  border-color: var(--contact-primary-dark);
  background: var(--contact-primary-dark);
}

.contact-map__link:focus-visible {
  outline: 3px solid rgba(91, 75, 219, 0.3);
  outline-offset: 3px;
}

.contact-map__frame {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 420px;
  overflow: hidden;
  border: 1px solid var(--contact-border);
  border-radius: 15px;
  background: #f0f1f6;
}

#isopos-map {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: inherit;
  z-index: 1;
}

.contact-map__address {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.contact-map__address-icon {
  display: flex;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f0edff;
  color: var(--contact-primary);
  font-size: 28px;
}

.contact-map__address strong {
  display: block;
  margin-bottom: 5px;
  color: var(--contact-text);
  font-size: 15px;
  font-weight: 700;
}

.contact-map__address p {
  margin: 0;
  color: var(--contact-muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

#isopos-map {
  display: block;
  width: 100%;
  height: 420px;
  min-height: 420px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  z-index: 1;
}

.info-detail {
  display: flex;
  gap: 10px;
  align-items: center;
}
