/* Theme-owned Contact page. */

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

.ic-contact {
  min-height: 100vh;
  padding-bottom: clamp(78px, 9vw, 128px);
  background:
    radial-gradient(ellipse at 17% 10%, rgba(53, 122, 56, 0.12), transparent 34%),
    radial-gradient(ellipse at 82% 28%, rgba(235, 186, 134, 0.08), transparent 31%),
    linear-gradient(145deg, #070807 0%, #0d100d 48%, #151713 100%);
  color: #fff;
  font-family: var(--ic-sans);
}

.ic-contact__hero {
  padding: clamp(58px, 8vw, 104px) 0 clamp(42px, 6vw, 74px);
}

.ic-contact__hero-inner {
  display: grid;
  justify-items: center;
  width: min(960px, calc(100vw - 40px));
  text-align: center;
}

.ic-contact__eyebrow,
.ic-contact__section-kicker {
  margin: 0;
  color: var(--ic-gold);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.ic-contact__hero h1 {
  margin: 10px 0 0;
  font-family: var(--ic-display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.ic-contact__hero h1::after {
  display: block;
  width: min(230px, 44vw);
  height: 1px;
  margin: 25px auto 0;
  background: linear-gradient(90deg, transparent, rgba(235, 186, 134, 0.74), transparent);
  content: "";
}

.ic-contact__hero p:last-child {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  text-wrap: balance;
}

.ic-contact__content {
  display: grid;
  gap: clamp(26px, 4vw, 44px);
  width: min(1240px, calc(100vw - 40px));
  margin-inline: auto;
}

.ic-contact__panel {
  min-width: 0;
  padding: clamp(25px, 4vw, 48px);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 10px;
  background: var(--ic-neumorphic-surface);
  color: var(--ic-charcoal);
  box-shadow: var(--ic-neumorphic-shadow-on-dark);
}

.ic-contact__panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(22px, 3vw, 31px);
  border-bottom: 1px solid rgba(44, 54, 45, 0.11);
}

.ic-contact__panel h2,
.ic-contact__panel h3 {
  margin: 0;
  color: var(--ic-charcoal);
  font-family: var(--ic-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.ic-contact__panel h2 {
  margin-top: 7px;
  font-size: clamp(31px, 3.8vw, 48px);
}

.ic-contact__panel h3 {
  margin-top: 6px;
  font-size: clamp(25px, 2.7vw, 34px);
}

.ic-contact__availability {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(53, 122, 56, 0.15);
  border-radius: 999px;
  background: rgba(53, 122, 56, 0.06);
  color: var(--ic-cloth-dark);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.ic-contact__availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ic-cloth);
  box-shadow: 0 0 10px rgba(53, 122, 56, 0.42);
}

.ic-contact__scope {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 17px;
  padding: 22px 24px;
  margin: clamp(23px, 3vw, 33px) 0 0;
  overflow: hidden;
  border: 1px solid rgba(184, 124, 70, 0.24);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(252, 236, 206, 0.18) 72%, rgba(244, 245, 241, 0.72));
  box-shadow:
    0 12px 26px rgba(44, 55, 45, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -1px 0 rgba(44, 55, 45, 0.04);
}

.ic-contact__scope > svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid rgba(53, 122, 56, 0.22);
  border-radius: 50%;
  background: rgba(53, 122, 56, 0.08);
  fill: none;
  stroke: var(--ic-cloth-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.64), 0 5px 13px rgba(53, 122, 56, 0.1);
}

.ic-contact__address > svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--ic-cloth-dark);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.ic-contact__scope strong {
  display: block;
  color: var(--ic-charcoal);
  font-size: 16px;
  line-height: 1.4;
}

.ic-contact__scope p,
.ic-contact__factory-line,
.ic-contact__request-note {
  color: #63665f;
  line-height: 1.65;
}

.ic-contact__scope p {
  max-width: 940px;
  margin: 8px 0 0;
  color: rgba(33, 29, 27, 0.67);
  font-size: 13px;
}

.ic-contact__methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
  border-top: 1px solid rgba(44, 54, 45, 0.1);
  border-bottom: 1px solid rgba(44, 54, 45, 0.1);
}

.ic-contact__methods > a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 19px 18px;
  border-right: 1px solid rgba(44, 54, 45, 0.1);
  color: var(--ic-charcoal);
  text-decoration: none;
  transition:
    background-color 220ms ease,
    color 220ms ease;
}

.ic-contact__methods > a:first-child {
  padding-left: 0;
}

.ic-contact__methods > a:last-child {
  padding-right: 0;
  border-right: 0;
}

.ic-contact__methods > a:hover,
.ic-contact__methods > a:focus-visible {
  background: rgba(53, 122, 56, 0.055);
  outline: 0;
}

.ic-contact__method-icon {
  display: grid !important;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(53, 122, 56, 0.16);
  border-radius: 50%;
  background: var(--ic-neumorphic-surface-strong);
  box-shadow: var(--ic-neumorphic-shadow-soft);
  color: var(--ic-cloth-dark);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.ic-contact__method-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.ic-contact__method-icon--whatsapp svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
  stroke: none;
}

.ic-contact__methods > a:hover .ic-contact__method-icon,
.ic-contact__methods > a:focus-visible .ic-contact__method-icon {
  border-color: rgba(184, 124, 70, 0.42);
  color: var(--ic-cloth);
  transform: translateY(-1px);
}

.ic-contact__methods span,
.ic-contact__socials nav a > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.ic-contact__methods small,
.ic-contact__socials small {
  color: #77736c;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.ic-contact__methods strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.ic-contact__socials nav strong {
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
}

.ic-contact__external-icon {
  width: 16px !important;
  height: 16px !important;
  fill: none !important;
  color: var(--ic-gold-deep, #9c6f3c);
  stroke: currentColor !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8 !important;
  transition: transform 220ms ease;
}

.ic-contact__methods a:hover .ic-contact__external-icon,
.ic-contact__methods a:focus-visible .ic-contact__external-icon,
.ic-contact__map-link:hover .ic-contact__external-icon,
.ic-contact__map-link:focus-visible .ic-contact__external-icon,
.ic-contact__socials nav a:hover .ic-contact__external-icon,
.ic-contact__socials nav a:focus-visible .ic-contact__external-icon {
  transform: translate(2px, -2px);
}

.ic-contact__request-note {
  margin: 17px 0 0;
  font-size: 12px;
}

.ic-contact__thailand-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: stretch;
}

.ic-contact__location-copy {
  align-self: center;
}

.ic-contact__factory-line {
  max-width: 470px;
  margin: 16px 0 0;
  font-size: 14px;
}

.ic-contact__address {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  padding: 21px 0;
  margin-top: 24px;
  border-top: 1px solid rgba(44, 54, 45, 0.1);
  border-bottom: 1px solid rgba(44, 54, 45, 0.1);
}

.ic-contact__address address {
  display: grid;
  gap: 4px;
  color: #595c56;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

.ic-contact__address strong {
  margin-bottom: 2px;
  color: var(--ic-charcoal);
  font-size: 14px;
}

.ic-contact__map-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 21px;
  border: 1px solid rgba(53, 122, 56, 0.22);
  border-radius: 7px;
  background: var(--ic-neumorphic-surface-strong);
  color: var(--ic-cloth-dark);
  box-shadow: var(--ic-neumorphic-shadow-soft);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.ic-contact__map {
  position: relative;
  min-height: clamp(360px, 37vw, 470px);
  overflow: hidden;
  border: 1px solid rgba(46, 57, 47, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 45%, rgba(235, 186, 134, 0.11), transparent 24%),
    linear-gradient(145deg, #182019, #0d110e);
  box-shadow: var(--ic-neumorphic-shadow-soft);
}

.ic-contact__map::before,
.ic-contact__map::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(35deg, transparent 48%, rgba(255, 255, 255, 0.04) 49%, rgba(255, 255, 255, 0.04) 50%, transparent 51%),
    linear-gradient(145deg, transparent 42%, rgba(255, 255, 255, 0.035) 43%, rgba(255, 255, 255, 0.035) 44%, transparent 45%);
  background-size: 74px 74px, 92px 92px;
  content: "";
  pointer-events: none;
}

.ic-contact__map::after {
  background: linear-gradient(90deg, transparent, rgba(235, 186, 134, 0.08), transparent);
}

.ic-contact__map-consent {
  position: relative;
  z-index: 1;
  display: grid;
  height: 100%;
  min-height: inherit;
  place-items: center;
  align-content: center;
  padding: 28px;
  text-align: center;
}

.ic-contact__map-consent[hidden] {
  display: none;
}

.ic-contact__map-consent > svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  fill: none;
  stroke: var(--ic-gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.35;
  filter: drop-shadow(0 0 15px rgba(235, 186, 134, 0.24));
}

.ic-contact__map-consent strong {
  color: #fff;
  font-family: var(--ic-display);
  font-size: clamp(23px, 2.6vw, 32px);
  font-weight: 500;
}

.ic-contact__map-consent > span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.ic-contact__map-consent button {
  min-height: 44px;
  padding: 10px 17px;
  margin-top: 22px;
  border: 1px solid rgba(235, 186, 134, 0.32);
  border-radius: 7px;
  background: linear-gradient(110deg, #357a38, #1f5126);
  color: #fff;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.ic-contact__map-consent small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.43);
  font-size: 10px;
}

.ic-contact__map iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ic-contact__socials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
  padding-top: clamp(27px, 4vw, 42px);
  margin-top: clamp(29px, 4vw, 46px);
  border-top: 1px solid rgba(44, 54, 45, 0.11);
}

.ic-contact__socials nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(44, 54, 45, 0.1);
  border-bottom: 1px solid rgba(44, 54, 45, 0.1);
}

.ic-contact__socials nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 16px 14px;
  border-right: 1px solid rgba(44, 54, 45, 0.1);
  color: var(--ic-charcoal);
  text-decoration: none;
  transition: background-color 220ms ease;
}

.ic-contact__socials nav a:last-child {
  border-right: 0;
}

.ic-contact__socials nav a:hover,
.ic-contact__socials nav a:focus-visible {
  background: rgba(53, 122, 56, 0.055);
  outline: 0;
}

.ic-contact__social-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(156, 111, 60, 0.22);
  border-radius: 50%;
  background: var(--ic-neumorphic-surface-strong);
  color: var(--ic-cloth-dark);
  box-shadow: var(--ic-neumorphic-shadow-soft);
}

.ic-contact__social-mark svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ic-contact__social-mark .ic-contact__social-icon--stroke {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

@media (max-width: 980px) {
  .ic-contact__thailand-layout,
  .ic-contact__socials {
    grid-template-columns: 1fr;
  }

  .ic-contact__location-copy {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  .ic-contact__methods,
  .ic-contact__socials nav {
    grid-template-columns: 1fr;
  }

  .ic-contact__methods > a,
  .ic-contact__methods > a:first-child,
  .ic-contact__methods > a:last-child,
  .ic-contact__socials nav a {
    padding: 15px 6px;
    border-right: 0;
    border-bottom: 1px solid rgba(44, 54, 45, 0.08);
  }

  .ic-contact__methods > a:last-child,
  .ic-contact__socials nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .ic-contact__hero {
    padding-top: 46px;
  }

  .ic-contact__hero-inner,
  .ic-contact__content {
    width: calc(100vw - 24px);
  }

  .ic-contact__panel {
    padding: 21px 15px;
    border-radius: 8px;
  }

  .ic-contact__panel-heading {
    display: grid;
    gap: 15px;
  }

  .ic-contact__availability {
    justify-self: start;
  }

  .ic-contact__scope {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 15px;
  }

  .ic-contact__scope > svg {
    width: 36px;
    height: 36px;
    padding: 8px;
  }

  .ic-contact__address > svg {
    width: 25px;
    height: 25px;
  }

  .ic-contact__map {
    min-height: 340px;
  }

  .ic-contact__socials {
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ic-contact :is(a, button) {
    transition-duration: 0.01ms !important;
  }
}
