/* ==========================================================================
   VMEDO CONTACT US PAGE STYLES
   ========================================================================== */

:root {
  --red: #e30613;
  --red-dark: #b60310;
  --red-soft: #fdebec;
  --ink: #111827;
  --muted: #667085;
  --line: #e6e8ec;
  --surface: #ffffff;
  --soft: #f8f9fb;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
  --pill: 999px;
  --shadow: 0 18px 50px rgba(17, 24, 39, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

.contact-page {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

.contact-page a {
  color: inherit;
  text-decoration: none;
}

.contact-page button,
.contact-page input,
.contact-page textarea,
.contact-page select {
  font: inherit;
}

.contact-container {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

/* Hero */
.contact-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 45px;
  background:
    radial-gradient(700px 500px at 82% 35%, rgba(253, 235, 236, .95), transparent 70%),
    linear-gradient(180deg, #fff 0%, #fff 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-glow-one {
  width: 440px;
  height: 440px;
  right: -130px;
  top: -130px;
  background: rgba(253, 235, 236, .65);
}

.hero-glow-two {
  width: 230px;
  height: 230px;
  left: 37%;
  bottom: -180px;
  background: rgba(253, 235, 236, .55);
}

.contact-hero .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: 72px;
  align-items: center;
}

.contact-hero .eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
}

.contact-hero .hero-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(40px, 4.5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 800;
}

.contact-hero .hero-copy h1 span {
  color: var(--red);
}

.contact-hero .hero-lead {
  max-width: 610px;
  margin: 26px 0 24px;
  color: #5f6876;
  font-size: 17px;
  line-height: 1.75;
}

.hero-points {
  display: grid;
  gap: 11px;
  color: #3d4653;
  font-size: 14px;
  font-weight: 600;
}

.hero-points span {
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
}

/* Form Card */
.contact-card-wrap {
  position: relative;
}

.contact-card {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(230, 232, 236, .9);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 24, 39, .11);
}

.card-heading {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.heading-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 14px;
  font-size: 22px;
  font-weight: 700;
}

.card-kicker {
  margin: 1px 0 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.card-heading h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -.035em;
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field {
  min-width: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: #303743;
  font-size: 12.5px;
  font-weight: 700;
}

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

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dfe3e8;
  border-radius: 11px;
  outline: 0;
  color: var(--ink);
  background: #fff;
  padding: 12px 13px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input,
.field select {
  height: 47px;
}

.field textarea {
  min-height: 105px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #9aa2ad;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, .08);
}

.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--red);
}

.error-message {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: var(--red);
  font-size: 10.5px;
}

.submit-btn {
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 21px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--red);
  box-shadow: 0 12px 25px rgba(227, 6, 19, .22);
  cursor: pointer;
  font-weight: 700;
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
  box-shadow: 0 15px 30px rgba(227, 6, 19, .28);
}

.submit-btn .arrow {
  font-size: 20px;
}

.form-note {
  margin: 10px 0 0;
  color: #8a929e;
  text-align: center;
  font-size: 10.5px;
}

.form-success {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  color: #147a50;
  background: #edf9f3;
  border: 1px solid #cdeede;
  border-radius: 9px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.form-success.show {
  display: block;
}

/* Contact options */
.contact-options {
  padding: 38px 0;
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-options .section-heading {
  max-width: 680px;
  margin: 0 auto 24px;
  text-align: center;
}

.contact-options .section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -.03em;
  font-weight: 800;
}

.contact-options .section-heading>p:last-child {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.info-card {
  min-height: 94px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(17, 24, 39, .03);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(17, 24, 39, .07);
}

.info-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
  font-size: 17px;
  font-weight: 700;
}

.info-label {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}

.info-card h3 {
  margin: 2px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
}

.info-card p {
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.info-arrow {
  color: var(--red);
  font-size: 16px;
  transition: transform .2s ease;
}

.info-card:hover .info-arrow {
  transform: translateX(3px);
}

/* Contact Location Section */
.contact-location-section {
  padding: 45px 0;
  background: var(--surface);
}

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.location-map-wrap {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 18px rgba(17, 24, 39, .035);
}

.location-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

.location-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(17, 24, 39, .04);
}

.location-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.location-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: var(--red-soft);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.location-card-head h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink);
}

.location-address {
  font-style: normal;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.btn-get-directions {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--red);
  color: #fff !important;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(227, 6, 19, .18);
  transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease;
  width: 100%;
  gap: 10px;
}

.btn-get-directions:hover {
  transform: translateY(-2px);
  background: var(--red-dark);
  box-shadow: 0 12px 24px rgba(227, 6, 19, .26);
}

/* Bottom CTA */
.bottom-cta {
  padding: 0 0 80px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 42px 48px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .18), transparent 30%),
    var(--red);
  color: #fff;
}

.cta-inner .eyebrow {
  color: #ffd7da;
}

.cta-inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 800;
}

.cta-inner p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  color: var(--red);
  background: #fff;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .15);
}

.cta-btn span {
  font-size: 19px;
}

/* Responsive */
@media (max-width: 1050px) {
  .contact-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-hero .hero-copy {
    max-width: 780px;
  }

  .contact-card {
    max-width: 760px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .location-map-wrap,
  .location-map-wrap iframe {
    min-height: 300px;
  }
}

@media (max-width: 800px) {
  .contact-container {
    width: min(100% - 32px, 680px);
  }

  .contact-hero {
    padding: 32px 0 35px;
  }

  .contact-hero .hero-copy h1 {
    font-size: clamp(38px, 9vw, 52px);
  }

  .contact-card {
    padding: 22px;
  }

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

  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 34px 28px;
  }
}

@media (max-width: 560px) {
  .contact-container {
    width: min(100% - 28px, 520px);
  }

  .contact-hero .hero-copy h1 {
    font-size: 37px;
  }

  .contact-hero .hero-lead {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-card {
    padding: 18px;
    border-radius: 20px;
  }

  .card-heading h2 {
    font-size: 21px;
  }

  .contact-location-section,
  .contact-options {
    padding: 36px 0;
  }

  .location-map-wrap,
  .location-map-wrap iframe {
    min-height: 240px;
  }

  .location-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .btn-get-directions {
    width: 100%;
    justify-content: center;
  }

  .info-card {
    grid-template-columns: 38px 1fr auto;
    padding: 14px 16px;
    min-height: auto;
  }

  .info-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .bottom-cta {
    padding-bottom: 58px;
  }

  .cta-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}