.hm-contact-v3,
.hm-contact-v3 * {
  box-sizing: border-box;
}

.hm-contact-v3 {
  --hm-blue: var(--hm-brand-blue,#0055DA);
  --hm-coral: var(--hm-brand-coral,#FF577F);
  --hm-orange: var(--hm-brand-orange,#FF884B);
  --hm-yellow: var(--hm-brand-yellow,#FFC764);
  --hm-cyan: var(--hm-brand-cyan,#CDFFFC);
  --hm-ink: var(--hm-brand-ink,#07111F);
  --hm-text: var(--hm-brand-text,#263548);
  --hm-muted: var(--hm-brand-muted,#64748B);
  --hm-bg: var(--hm-brand-surface,#F7FAFF);
  --hm-surface: #FFFFFF;
  --hm-line: var(--hm-brand-line,#DFE8F3);
  direction: rtl;
  color: var(--hm-text);
  background: var(--hm-bg);
  overflow: hidden;
}

.hm-contact-v3 img {
  max-width: 100%;
  height: auto;
}

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

.hm-contact-v3__hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 78px;
  background:
    radial-gradient(circle at 8% 18%, rgba(0, 85, 218, .12), transparent 30%),
    radial-gradient(circle at 91% 18%, rgba(255, 87, 127, .09), transparent 26%),
    radial-gradient(circle at 86% 88%, rgba(255, 199, 100, .11), transparent 24%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
}

.hm-contact-v3__hero-grid {
  display: grid;
  grid-template-columns: minmax(330px, 430px) minmax(0, 1fr);
  grid-template-areas: "visual copy";
  gap: 68px;
  align-items: center;
  direction: ltr;
}

.hm-contact-v3__copy {
  grid-area: copy;
  direction: rtl;
  min-width: 0;
}

.hm-contact-v3__visual {
  grid-area: visual;
  min-width: 0;
}

.hm-contact-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 7px 13px;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 85, 218, .18);
  border-radius: 999px;
  color: var(--hm-blue);
  background: rgba(0, 85, 218, .055);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.6;
}

.hm-contact-v3__eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--hm-orange);
  box-shadow: 0 0 0 6px rgba(255, 136, 75, .12);
}

.hm-contact-v3__title,
.hm-contact-v3__section-title {
  margin: 0;
  color: var(--hm-ink);
  font-weight: 950;
  letter-spacing: -.7px;
}

.hm-contact-v3__title {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.22;
}

.hm-contact-v3__title span {
  color: var(--hm-blue);
}

.hm-contact-v3__section-title {
  font-size: clamp(29px, 3.6vw, 46px);
  line-height: 1.42;
}

.hm-contact-v3__rule {
  width: 108px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-blue), var(--hm-coral), var(--hm-orange), var(--hm-yellow));
}

.hm-contact-v3__lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--hm-muted);
  font-size: clamp(16.5px, 1.45vw, 19px);
  font-weight: 500;
  line-height: 2.1;
}

.hm-contact-v3__portrait-shell {
  position: relative;
  max-width: 410px;
  margin-left: auto;
  padding: 10px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(0, 85, 218, .14), rgba(255, 136, 75, .13));
  box-shadow: 0 28px 72px rgba(7, 17, 31, .13);
}

.hm-contact-v3__portrait-shell::before {
  content: "";
  position: absolute;
  inset: 30px -18px -20px 28px;
  z-index: 0;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(0, 85, 218, .28), rgba(205, 255, 252, .5));
}

.hm-contact-v3__portrait {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin: 0;
  border-radius: 28px;
  background: #EAF2FF;
}

.hm-contact-v3__portrait img {
  display: block;
  width: 100%;
  aspect-ratio: .75;
  object-fit: cover;
  object-position: center top;
}

.hm-contact-v3__quick-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 136, 75, .2);
  border-radius: 16px;
  color: var(--hm-ink);
  background: rgba(255, 199, 100, .22);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.7;
}

.hm-contact-v3__quick-note::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #fff;
  background: var(--hm-blue);
  font-size: 12px;
  font-weight: 950;
}

.hm-contact-v3__section {
  position: relative;
  padding: 84px 0;
}

.hm-contact-v3__section--white {
  background: #fff;
}

.hm-contact-v3__section--soft {
  background:
    radial-gradient(circle at 10% 16%, rgba(0, 85, 218, .055), transparent 28%),
    radial-gradient(circle at 90% 84%, rgba(255, 136, 75, .06), transparent 26%),
    var(--hm-bg);
}

.hm-contact-v3__section--dark {
  color: #fff;
  background:
    radial-gradient(circle at 10% 18%, rgba(0, 85, 218, .28), transparent 30%),
    radial-gradient(circle at 89% 75%, rgba(255, 136, 75, .15), transparent 28%),
    linear-gradient(135deg, #07111F 0%, #0D2036 56%, #07111F 100%);
}

.hm-contact-v3__head {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.hm-contact-v3__intro {
  margin: 0;
  color: var(--hm-muted);
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
}

.hm-contact-v3__section--dark .hm-contact-v3__eyebrow {
  color: var(--hm-cyan);
  border-color: rgba(205, 255, 252, .18);
  background: rgba(205, 255, 252, .07);
}

.hm-contact-v3__section--dark .hm-contact-v3__section-title {
  color: #fff;
}

.hm-contact-v3__section--dark .hm-contact-v3__intro {
  color: #C9D6E3;
}

.hm-contact-v3__guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hm-contact-v3__guide-card {
  min-height: 180px;
  padding: 24px 20px;
  border: 1px solid #DFE8F3;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(7, 17, 31, .07);
}

.hm-contact-v3__guide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border-radius: 16px;
  color: #fff;
  background: var(--hm-blue);
  font-weight: 950;
  direction: ltr;
}

.hm-contact-v3__guide-card:nth-child(2) .hm-contact-v3__guide-num {
  color: var(--hm-ink);
  background: var(--hm-yellow);
}

.hm-contact-v3__guide-card:nth-child(3) .hm-contact-v3__guide-num {
  background: var(--hm-coral);
}

.hm-contact-v3__guide-card:nth-child(4) .hm-contact-v3__guide-num {
  color: var(--hm-ink);
  background: var(--hm-cyan);
}

.hm-contact-v3__guide-card p {
  margin: 0;
  color: var(--hm-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.95;
}

.hm-contact-v3__note {
  margin-top: 16px;
  padding: 20px 22px;
  border-right: 4px solid var(--hm-blue);
  border-radius: 20px;
  color: var(--hm-text);
  background: linear-gradient(135deg, rgba(0, 85, 218, .055), rgba(205, 255, 252, .35));
  font-size: 15px;
  line-height: 2;
}

.hm-contact-v3__note strong {
  color: var(--hm-ink);
  font-weight: 950;
}

.hm-contact-v3__bottom-note {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 136, 75, .2);
  border-radius: 18px;
  color: var(--hm-text);
  background: rgba(255, 199, 100, .18);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.95;
}

.hm-contact-v3__bottom-note strong {
  color: var(--hm-orange);
}

.hm-contact-v3__channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hm-contact-v3__channel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 144px;
  padding: 22px;
  border: 1px solid rgba(205, 255, 252, .14);
  border-radius: 24px;
  color: #fff !important;
  background: rgba(255, 255, 255, .055);
  text-decoration: none !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .18);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.hm-contact-v3__channel:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 255, 252, .3);
  background: rgba(255, 255, 255, .085);
}

.hm-contact-v3__channel-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 18px;
  background: rgba(205, 255, 252, .08);
  border: 1px solid rgba(205, 255, 252, .14);
}

.hm-contact-v3__channel-icon svg {
  width: 28px;
  height: 28px;
  display: block;
  fill: var(--hm-cyan);
}

.hm-contact-v3__channel--whatsapp .hm-contact-v3__channel-icon svg {
  fill: #7DFFB0;
}

.hm-contact-v3__channel--linkedin .hm-contact-v3__channel-icon svg {
  fill: #8FC7FF;
}

.hm-contact-v3__channel strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.6;
}

.hm-contact-v3__channel span {
  display: block;
  color: #BCD0E1;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.hm-contact-v3__channel::after {
  content: "↗";
  position: absolute;
  left: 18px;
  top: 18px;
  color: rgba(255, 255, 255, .34);
  font-size: 22px;
  font-weight: 900;
}

.hm-contact-v3__privacy {
  margin-top: 22px;
  color: #9FB2C5;
  font-size: 13px;
  line-height: 1.9;
}

.hm-contact-v3 a:focus-visible {
  outline: 3px solid rgba(255, 87, 127, .32);
  outline-offset: 4px;
}

@media (max-width: 1040px) {
  .hm-contact-v3__hero-grid {
    grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
    gap: 44px;
  }

  .hm-contact-v3__guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hm-contact-v3__hero,
  .hm-contact-v3__section {
    padding: 66px 0;
  }

  .hm-contact-v3__hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
  }

  .hm-contact-v3__copy,
  .hm-contact-v3__head {
    text-align: center;
  }

  .hm-contact-v3__copy .hm-contact-v3__eyebrow,
  .hm-contact-v3__copy .hm-contact-v3__lead,
  .hm-contact-v3__copy .hm-contact-v3__rule,
  .hm-contact-v3__head .hm-contact-v3__eyebrow,
  .hm-contact-v3__head .hm-contact-v3__intro,
  .hm-contact-v3__head .hm-contact-v3__rule {
    margin-inline: auto;
  }

  .hm-contact-v3__portrait-shell {
    margin-inline: auto;
  }

  .hm-contact-v3__head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

@media (max-width: 620px) {
  .hm-contact-v3__container {
    width: min(100% - 28px, 1220px);
  }

  .hm-contact-v3__hero,
  .hm-contact-v3__section {
    padding: 54px 0;
  }

  .hm-contact-v3__title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hm-contact-v3__section-title {
    font-size: clamp(27px, 8vw, 36px);
  }

  .hm-contact-v3__lead,
  .hm-contact-v3__intro {
    font-size: 15px;
    line-height: 2;
  }

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

  .hm-contact-v3__guide-card {
    min-height: auto;
  }

  .hm-contact-v3__channel {
    min-height: 118px;
    padding: 18px;
  }

  .hm-contact-v3__channel-icon {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-contact-v3__channel {
    transition: none;
  }
}
