/* ==========================================================================
   The House of Minds — Contact Page Styles
   Full-section background images on Hero / Get In Touch / FAQ panels
   ========================================================================== */

/* ==========================================================================
   The House of Minds — Shared Base Styles
   Mobile-first. Breakpoints: 480 / 768 / 1024 / 1280
   ========================================================================== */

:root {
  --deep-forest: #1e2719;
  --dark-olive: #2f4637;
  --muted-sage: #a8b5a2;

  --warm-ivory: #f4e8dc;
  --soft-beige: #e8e1d6;
  --sand: #dccfbc;

  --soft-gold: #c5a76a;
  --warm-brown: #7d6654;

  --dark-charcoal: #2d2d2d;
  --muted-grey: #707070;
  --white: #ffffff;

  --font-heading: "Playfair Display", "Cormorant Garamond", serif;
  --font-subheading: "Lora", Georgia, serif;
  --font-body: "Inter", "Jost", system-ui, -apple-system, sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s ease;

  --container-max: 1240px;
  --section-pad: clamp(56px, 9vw, 120px);
  --gutter: clamp(20px, 5vw, 48px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-charcoal);
  background: var(--warm-ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
}
picture {
  display: contents;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin: 0;
  color: var(--deep-forest);
}
p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
svg {
  display: block;
}
input,
textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
  white-space: nowrap;
}
.btn-primary {
  background-color: var(--soft-gold);
  color: var(--deep-forest);
  border-color: var(--soft-gold);
}
.btn-primary:hover {
  background-color: var(--warm-ivory);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.btn-dark {
  background: rgba(220, 207, 188, 1);
  color: var(--deep-forest);
}
.btn-dark:hover {
  background-color: var(--dark-olive);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 44, 34, 0.15);
}
.btn-outline {
  background: transparent;
  color: var(--deep-forest);
  border: 1.5px solid var(--deep-forest);
}
.btn-outline:hover {
  background: var(--deep-forest);
  color: var(--warm-ivory);
}
.btn-nav-cta {
  background-color: var(--soft-gold);
  color: var(--deep-forest);
  font-size: 0.8rem;
  padding: 10px 20px;
  border: 1px solid var(--soft-gold);
}
.btn-nav-cta:hover {
  background-color: var(--warm-ivory);
  color: var(--deep-forest);
  border-color: var(--warm-ivory);
}

/* Reveal animation */
.reveal,
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.reveal.show,
.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Stacking Scroll System (pinned full-viewport panels)
   ========================================================================== */
.stack-stack {
  position: relative;
  isolation: isolate;
}
.stack-stack.gsap-stack-active {
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
}
.stack-stack.gsap-stack-active .stack-section {
  position: absolute;
  inset: 0;
}
.stack-section {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}
.stack-section.stack-end {
  min-height: 100svh;
  overflow: hidden;
}

.icon-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg {
  width: 19px;
  height: 19px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--soft-gold);
  margin-bottom: 16px;
}
.eyebrow svg {
  width: 16px;
  height: 10px;
}

/* ---- Shared full-bleed background panel treatment ---- */
.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.section-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 85vh;
}

/* ==========================================================================
   Hero — full background image
   ========================================================================== */
.contact-hero {
  display: flex;
  align-items: center;
  padding-top: 90px;
}
.contact-hero .section-bg {
  background-image: url("../assets/contact/hero-c.png");
}
.contact-hero .section-overlay {
}

.hero-copy {
  max-width: 620px;
  padding-top: 30px;
}
.hero-heading {
  font-size: clamp(2.3rem, 4.8vw, 3.6rem);
  line-height: 1.12;
  color: var(--warm-ivory);
  margin-bottom: 18px;
}
.hero-heading .accent {
  color: var(--soft-gold);
  font-style: italic;
}
.hero-desc {
  color: var(--muted-sage);
  font-size: 1rem;
  max-width: 460px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 34px);
}
.hero-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-info-item .icon-circle {
  background: rgba(197, 167, 106, 0.16);
  border: 1px solid rgba(197, 167, 106, 0.4);
  color: var(--soft-gold);
  backdrop-filter: blur(4px);
}
.hero-info-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--warm-ivory);
  margin-bottom: 2px;
}
.hero-info-item p {
  font-size: 0.8rem;
  color: var(--warm-ivory);
  line-height: 1.4;
}

/* ==========================================================================
   Get In Touch — full background image
   ========================================================================== */
.contact-form-section {
  display: flex;
  align-items: center;
  padding-top: 90px;
}
.contact-form-section .section-bg {
  background-image: url("../assets/contact/message.png");
}
.contact-form-section .section-overlay {
}

.form-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(30px, 5vw, 56px);
  align-items: start;
  padding-top: 5%;
}
.form-title {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  margin-bottom: 14px;
  color: var(--deep-forest);
}
.form-desc {
  color: balck;
  font-size: 0.98rem;
  margin-bottom: 30px;
  max-width: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(220, 207, 188, 1);
  border: 1px solid rgba(244, 232, 220, 0.25);
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 0.9rem;
  color: var(--deep-forest);
  backdrop-filter: blur(6px);
  transition: var(--transition-fast);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--deep-forest);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--soft-gold);
  background: rgba(244, 232, 220, 0.16);
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}
.contact-form .btn {
  align-self: flex-start;
  margin-top: 6px;
}
.form-status {
  font-size: 0.85rem;
  color: var(--sand);
  min-height: 1.2em;
}
.form-status.success {
  color: var(--soft-gold);
}

.contact-side-card {
  background: rgba(220, 207, 188, 1);
  border: 1px solid rgba(244, 232, 220, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: clamp(26px, 3vw, 34px);
}
.contact-side-card h3 {
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--deep-forest);
}
.side-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.side-item:last-of-type {
  margin-bottom: 0;
}
.side-item .icon-circle {
  background: rgba(30, 39, 25, 0.16);
  border: 1px solid rgba(30, 39, 25, 0.4);
  color: var(--deep-forest);
}
.side-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--deep-forest);
}
.side-item p {
  font-size: 0.85rem;
  color: var(--deep-forest);
  line-height: 1.5;
}
.side-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.side-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(30, 39, 25, 0.5);
  border: 1px solid rgba(30, 39, 25, 0.25);
  color: var(--warm-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.side-social a:hover {
  background: var(--soft-gold);
  border-color: var(--soft-gold);
  color: var(--deep-forest);
}
.side-social svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 900px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Locations Section
   ========================================================================== */
.locations-section {
  background: linear-gradient(
    rgba(30, 39, 25, 0.88),
    rgba(30, 39, 25, 0.93)
  );
  display: flex;
  align-items: center;
  padding-top: 90px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.locations-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/team/darkbg.png") center center / cover no-repeat;
  transform: scale(1.05);
}
.locations-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 39, 25, 0.65);
}
.locations-section > * {
  position: relative;
  z-index: 2;
}
.locations-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto clamp(36px, 5vw, 54px);
}
.locations-head .eyebrow {
  justify-content: center;
}
.locations-head h2 {
  color: var(--warm-ivory);
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
}
/* .locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
} */
.location-card {
  background: rgba(244, 232, 220, 0.04);
  border: 1px solid rgba(244, 232, 220, 0.12);
  border-radius: 16px;
  padding: clamp(26px, 3vw, 32px);
  transition: var(--transition-smooth);
  text-align: center;
  align-items: center;
}
.location-card:hover {
  background: rgba(244, 232, 220, 0.07);
  transform: translateY(-4px);
  border-color: rgba(197, 167, 106, 0.35);
}
.location-card .icon-circle {
  background: rgba(197, 167, 106, 0.14);
  border: 1px solid rgba(197, 167, 106, 0.35);
  color: var(--soft-gold);
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
 
}
.location-card h3 {
  color: var(--warm-ivory);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.location-card p {
  color: var(--muted-sage);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.location-card .hours {
  color: var(--soft-gold);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .locations-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ Section — full background image
   ========================================================================== */
.faq-section {
  display: flex;
  align-items: center;
  padding-top: 90px;
}
.faq-section .section-bg {
  background-image: url("../assets/contact/faq.png");
}
.faq-section .section-overlay {
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
.faq-copy-intro h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  margin-bottom: 14px;
  line-height: 1.16;
  color: var(--deep-forest);
}
.faq-copy-intro .faq-intro-desc {
  color: var(--deep-forest);
  margin-bottom: 26px;
  max-width: 380px;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}
.faq-item {
  background: rgba(234, 176, 119, 0.15);
  border: 1px solid rgba(39, 33, 26, 0.15);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--deep-forest);
}
.faq-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(244, 232, 220, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--deep-forest);
  transition: var(--transition-smooth);
}
.faq-item.open .faq-icon {
  background: var(--soft-gold);
  color: var(--deep-forest);
  transform: rotate(45deg);
}
.faq-answer-wrapper {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-item.open .faq-answer-wrapper {
  max-height: 240px;
}
.faq-answer-content {
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: var(--deep-forest);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Mobile: release fixed-height panels back to natural flow
   ========================================================================== */
@media (max-width: 1024px) {
  .contact-hero,
  .contact-form-section,
  .locations-section,
  .faq-section {
    padding-top: clamp(110px, 16vw, 140px);
    padding-bottom: clamp(56px, 9vw, 100px);
    min-height: 0;
  }

  .hero-copy,
  .form-main,
  .contact-side-card,
  .locations-head,
  .location-card,
  .faq-copy-intro,
  .faq-question,
  .faq-answer-content {
    text-align: center;
  }

  .hero-copy,
  .form-main,
  .contact-side-card,
  .faq-copy-intro {
    margin-inline: auto;
  }

  .hero-info-row {
    justify-content: center;
  }

  .hero-info-item {
    align-items: center;
    text-align: center;
  }

  .hero-info-item > div,
  .side-item > div,
  .location-card {
    text-align: center;
  }

  .contact-side-card .side-item {
    flex-direction: column;
    align-items: center;
  }

  .side-social {
    justify-content: center;
  }

  .form-main .btn {
    align-self: center;
  }

  .form-desc {
    margin-inline: auto;
  }
}
@media (max-width: 1024px) {
  .hero-info-row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    margin-top: 10px;
  }

  .hero-info-item {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  .hero-info-item > div {
    text-align: left;
  }

  .hero-copy {
    padding-top: 0;
  }
  .contact-hero .section-inner {
    justify-content: flex-start;
  }
}

