:root {
  --ink: #112f4b;
  --navy: #0c2945;
  --navy-2: #163b5c;
  --blue: #dff6fb;
  --blue-mid: #9fd8e5;
  --blue-bright: #6fc5d8;
  --ice: #f2fafc;
  --pink: #e5007d;
  --pink-soft: #fce4ec;
  --yellow: #d8c9ff;
  --paper: #fffefa;
  --muted: #63788b;
  --line: #d9e6eb;
  --shadow: 0 24px 55px rgba(12, 41, 69, .12);
}

/* Contact page only — shared header and footer remain controlled by home.css. */
.contact-page {
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: 'DM Sans', sans-serif;
}

.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page strong,
.contact-envelope__card {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 600;
}

.contact-eyebrow {
  color: var(--pink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* Hero */
.contact-hero {
  min-height: 590px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  background: var(--blue);
}

.contact-hero__copy {
  position: relative;
  z-index: 2;
  padding: clamp(72px, 8vw, 122px) clamp(34px, 7vw, 120px);
}

.contact-hero__copy::after {
  content: "";
  width: 210px;
  height: 210px;
  position: absolute;
  left: -125px;
  bottom: -115px;
  border: 1px solid rgba(17, 47, 75, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255, 255, 255, .18), 0 0 0 96px rgba(255, 255, 255, .1);
}

.contact-hero h1 {
  max-width: 780px;
  margin: 19px 0 24px;
  color: var(--navy);
  font-size: clamp(58px, 6.2vw, 100px);
  font-weight: 700;
  line-height: .86;
  letter-spacing: -.055em;
}

.contact-hero h1 em {
  color: var(--pink);
  font-weight: inherit;
}

.contact-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: #405e73;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}

.contact-hero__links {
  max-width: 670px;
  margin-top: 42px;
  padding-top: 27px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  border-top: 1px solid rgba(17, 47, 75, .14);
}

.contact-hero__links a {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
}

.contact-icon {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: rgba(255, 255, 255, .7);
  border: 1px solid rgba(12, 41, 69, .1);
  transition: color .2s, background .2s, transform .2s;
}

.contact-icon svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-hero__links a:hover .contact-icon {
  color: white;
  background: var(--pink);
  transform: translateY(-2px);
}

.contact-hero__links small,
.contact-hero__links strong {
  display: block;
}

.contact-hero__links small {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-hero__links strong {
  overflow: hidden;
  color: var(--navy);
  font-size: clamp(15px, 1.25vw, 19px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-hero__art {
  min-height: 590px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, var(--navy), var(--navy-2));
}

.contact-hero__art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .11;
  background-image: radial-gradient(circle, white 1px, transparent 1px);
  background-size: 25px 25px;
}

.contact-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-orbit--one { width: 510px; height: 510px; }
.contact-orbit--two { width: 375px; height: 375px; border-style: dashed; }

.contact-envelope {
  width: min(410px, 67%);
  aspect-ratio: 1.48;
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%) rotate(-4deg);
  background: var(--blue-mid);
  box-shadow: 28px 33px 0 rgba(229, 0, 125, .38), 0 35px 60px rgba(0, 0, 0, .22);
}

.contact-envelope::before,
.contact-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
}

.contact-envelope::before {
  z-index: 2;
  background: #bceaf3;
  clip-path: polygon(0 100%, 50% 43%, 100% 100%);
}

.contact-envelope::after {
  z-index: 3;
  background: #a6dde9;
  clip-path: polygon(0 0, 50% 64%, 100% 0);
}

.contact-envelope__flap {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: var(--blue);
  clip-path: polygon(0 0, 50% 56%, 100% 0);
  transform-origin: top;
}

.contact-envelope__card {
  width: 70%;
  height: 74%;
  position: absolute;
  left: 15%;
  top: -21%;
  z-index: 1;
  padding-top: 28px;
  color: var(--pink);
  background: var(--paper);
  border-top: 8px solid var(--yellow);
  text-align: center;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 700;
  letter-spacing: -.04em;
}

.contact-hero__note {
  position: absolute;
  right: 8%;
  bottom: 9%;
  z-index: 4;
  padding: 13px 17px;
  color: var(--navy);
  background: white;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-sprinkle {
  width: 11px;
  height: 48px;
  position: absolute;
  z-index: 3;
  background: var(--yellow);
  border-radius: 10px;
}

.contact-sprinkle--one { left: 11%; top: 18%; transform: rotate(42deg); }
.contact-sprinkle--two { right: 12%; top: 24%; height: 32px; background: var(--pink); transform: rotate(-34deg); }
.contact-sprinkle--three { left: 17%; bottom: 13%; height: 26px; background: var(--blue-bright); transform: rotate(73deg); }

/* Main form */
.contact-main {
  max-width: 1500px;
  margin: auto;
  padding: clamp(78px, 9vw, 135px) clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(55px, 8vw, 135px);
  align-items: start;
}

.contact-main__intro {
  position: sticky;
  top: 32px;
}

.contact-main__intro h2,
.contact-support__heading h2,
.contact-trade h2 {
  margin: 10px 0 20px;
  color: var(--navy);
  font-size: clamp(42px, 4.3vw, 67px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

.contact-main__intro > p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-detail-list {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.contact-detail {
  padding: 21px 0;
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.contact-detail > span {
  padding-top: 4px;
  color: var(--pink);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.contact-detail h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

.contact-detail p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* Map */
.contact-map {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 80px) clamp(78px, 9vw, 135px);
}

.contact-map__heading h2 {
  margin: 10px 0 25px;
  color: var(--navy);
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: clamp(42px, 4.3vw, 67px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.045em;
}

.contact-map__frame {
  width: 100%;
  min-height: 390px;
  display: block;
  border: 0;
  box-shadow: var(--shadow);
}

.contact-form {
  position: relative;
  padding: clamp(28px, 4vw, 55px);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form::before {
  content: "";
  width: 78px;
  height: 7px;
  position: absolute;
  left: -1px;
  top: -1px;
  background: var(--pink);
}

.contact-form::after {
  content: "";
  width: 64px;
  height: 64px;
  position: absolute;
  right: -22px;
  top: -22px;
  z-index: -1;
  background: var(--yellow);
}

.contact-notice {
  margin: 0 0 18px;
  padding: 12px 15px;
  color: #276b4c;
  background: #eefaf2;
  border: 1px solid #bfe8cc;
  border-radius: 10px;
  font-size: 13px;
}

.contact-form__heading {
  margin-bottom: 31px;
  padding-bottom: 21px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.contact-form__heading span {
  color: var(--navy);
  font: 700 27px 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

.contact-form__heading p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 20px;
}

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  margin-bottom: 9px;
  display: block;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-field label span {
  color: var(--muted);
  font-weight: 600;
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0 16px;
  color: var(--ink);
  background: var(--ice);
  border: 1px solid transparent;
  border-bottom-color: var(--blue-mid);
  border-radius: 0;
  outline: none;
  font: inherit;
  font-size: 13px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}

.form-field input,
.form-field select { height: 53px; }

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 19px) 23px, calc(100% - 14px) 23px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.form-field textarea {
  min-height: 150px;
  padding-top: 16px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: #8b9aa7; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  background-color: white;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(111, 197, 216, .16);
}

.contact-consent {
  margin: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
  cursor: pointer;
}

.contact-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  flex: 0 0 auto;
  accent-color: var(--pink);
}

.contact-submit {
  min-width: 185px;
  min-height: 53px;
  padding: 0 23px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  color: white;
  background: var(--navy);
  border: 0;
  box-shadow: 7px 7px 0 var(--pink);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .2s, box-shadow .2s, transform .2s;
}

.contact-submit span {
  color: var(--yellow);
  font-size: 19px;
}

.contact-submit:hover {
  background: var(--navy-2);
  box-shadow: 4px 4px 0 var(--pink);
  transform: translate(3px, 3px);
}

/* FAQ and wholesale sections */
.contact-support {
  padding: clamp(70px, 8vw, 110px) clamp(22px, 5vw, 80px);
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(45px, 8vw, 130px);
  background: var(--ice);
}

.contact-support__heading {
  max-width: 480px;
  justify-self: end;
}

.contact-support__heading h2 { margin-bottom: 0; }

.contact-faqs {
  max-width: 790px;
}

.contact-faqs details {
  border-top: 1px solid #cbdde4;
}

.contact-faqs details:last-child {
  border-bottom: 1px solid #cbdde4;
}

.contact-faqs summary {
  min-height: 81px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  font: 700 clamp(20px, 2vw, 27px) 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

.contact-faqs summary::-webkit-details-marker { display: none; }

.contact-faqs summary span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 19px;
  font-weight: 400;
  transition: color .2s, background .2s, transform .2s;
}

.contact-faqs details[open] summary span {
  color: var(--navy);
  background: var(--yellow);
  transform: rotate(45deg);
}

.contact-faqs details p {
  max-width: 650px;
  margin: -5px 58px 25px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.contact-trade {
  position: relative;
  padding: clamp(60px, 7vw, 95px) clamp(25px, 7vw, 115px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 55px;
  overflow: hidden;
  color: white;
  background: var(--navy);
}

.contact-trade::before {
  content: "";
  width: 370px;
  height: 370px;
  position: absolute;
  right: 11%;
  top: -270px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, .025), 0 0 0 100px rgba(255, 255, 255, .02);
}

.contact-trade > div,
.contact-trade > a {
  position: relative;
  z-index: 1;
}

.contact-trade .contact-eyebrow { color: var(--yellow); }

.contact-trade h2 {
  max-width: 780px;
  margin-bottom: 0;
  color: white;
}

.contact-trade > a {
  min-width: 215px;
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  color: var(--navy);
  background: white;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color .2s, background .2s, transform .2s;
}

.contact-trade > a span {
  color: var(--pink);
  font-size: 19px;
}

.contact-trade > a:hover {
  color: white;
  background: var(--pink);
  transform: translateY(-3px);
}

.contact-trade > a:hover span { color: white; }

/* Responsive */
@media (max-width: 1100px) {
  .contact-hero { grid-template-columns: 1fr .86fr; }
  .contact-hero__copy { padding-inline: 5vw; }
  .contact-hero__links { grid-template-columns: 1fr; gap: 17px; }
  .contact-hero__art { min-width: 0; }
  .contact-envelope { width: 72%; }
  .contact-main { grid-template-columns: .75fr 1.25fr; gap: 55px; }
  .contact-support { grid-template-columns: .7fr 1.3fr; gap: 55px; }
}

@media (max-width: 800px) {
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero__copy { padding: 67px 25px 62px; }
  .contact-hero h1 { font-size: clamp(55px, 15vw, 82px); }
  .contact-hero__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-hero__art { min-height: 470px; }
  .contact-orbit--one { width: 420px; height: 420px; }
  .contact-orbit--two { width: 310px; height: 310px; }
  .contact-envelope { width: min(390px, 66%); }

  .contact-main {
    padding-block: 75px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-main__intro { position: static; }
  .contact-main__intro > p { max-width: 650px; }
  .contact-detail-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .contact-detail { padding-right: 16px; display: block; }
  .contact-detail + .contact-detail { padding-left: 16px; border-left: 1px solid var(--line); }
  .contact-detail > span { display: block; margin-bottom: 10px; }
  .contact-form::after { display: none; }

  .contact-support { grid-template-columns: 1fr; gap: 32px; }
  .contact-support__heading { max-width: none; justify-self: start; }
  .contact-faqs { max-width: none; }

  .contact-trade { align-items: flex-start; flex-direction: column; gap: 32px; }
}

@media (max-width: 560px) {
  .contact-hero__links { grid-template-columns: 1fr; }
  .contact-hero__art { min-height: 395px; }
  .contact-orbit--one { width: 340px; height: 340px; }
  .contact-orbit--two { width: 250px; height: 250px; }
  .contact-envelope { width: 69%; }
  .contact-hero__note { right: 18px; bottom: 22px; }

  .contact-detail-list { display: block; }
  .contact-detail { padding: 19px 0; display: grid; }
  .contact-detail + .contact-detail { padding-left: 0; border-left: 0; }
  .contact-detail > span { margin-bottom: 0; }

  .contact-form { padding: 30px 20px; }
  .contact-form__heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .contact-form__grid { grid-template-columns: 1fr; }
  .form-field--full { grid-column: auto; }
  .contact-submit { width: 100%; }

  .contact-support { padding-block: 67px; }
  .contact-faqs summary { min-height: 73px; }
  .contact-faqs details p { margin-right: 0; }
  .contact-trade > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page *,
  .contact-page *::before,
  .contact-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
/* Contact display type: refined rather than heavy. */
.contact-page h1,
.contact-page h2,
.contact-page h3,
.contact-page strong,
.contact-envelope__card {
  font-weight: 600;
}
