/* ==========================================================================
   Contact page — page-specific styles
   Uses the same design tokens defined in style.css
   (--marigold, --marigold-2, --ink, --paper, --paper-2, --charcoal,
   --charcoal-60, --line, --radius-lg, --shadow-soft, --shadow-strong,
   --font-display, --font-mono, --font-body, --gutter, --maxw,
   --fast, --slow, --ease, --ease-2, --white)

   NOTE: scroll-reveal (the [data-reveal] / [data-reveal-delay] system)
   is already handled globally by main.js + style.css — the same system
   already animating content on the home page. This file only styles
   the contact page's own components and adds hover/interaction polish.
   ========================================================================== */

/* ---------------------------------------------------------------------- */
/* CONTACT HERO                                                           */
/* ---------------------------------------------------------------------- */

.contact-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url("../images/contact/contact-hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 45, 0.62);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 720px;
  padding: 100px 0;
}

.contact-hero-content h1 {
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  margin: 15px 0 20px;
}

.contact-hero-content > p:last-child {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.contact-hero-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.contact-hero-content .eyebrow i {
  font-size: 15px;
}

/* Mobile */
@media (max-width: 768px) {
  .contact-hero {
    min-height: 440px;
    background-position: center;
    padding: 0;
  }

  .contact-hero-content {
    padding: 80px 0;
  }

  .contact-hero-content h1 {
    font-size: clamp(34px, 8vw, 42px);
  }

  .contact-hero-content > p:last-child {
    font-size: 16px;
    line-height: 1.7;
  }
}

/* ---------------------------------------------------------------------- */
/* CONTACT OPTIONS — WhatsApp / Phone / Email cards                       */
/* ---------------------------------------------------------------------- */

.contact-options-section {
  padding-top: 90px;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.contact-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 34px 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform var(--fast) var(--ease-2),
    box-shadow var(--fast) var(--ease-2),
    border-color var(--fast) var(--ease);
}

/* Subtle top accent bar that grows in on hover */
.contact-option-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--slow) var(--ease-2);
}

.contact-option-card:hover,
.contact-option-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: var(--marigold);
}

.contact-option-card:hover::before,
.contact-option-card:focus-visible::before {
  transform: scaleX(1);
}

.contact-option-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--paper-2);
  color: var(--marigold-2, var(--marigold));
  transition:
    background var(--fast) var(--ease),
    color var(--fast) var(--ease),
    transform var(--fast) var(--ease-2);
}

.contact-option-card:hover .contact-option-icon,
.contact-option-card:focus-visible .contact-option-icon {
  background: var(--marigold);
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
}

.contact-option-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal-60);
}

.contact-option-content h3 {
  font-size: 1.25rem;
  margin: 8px 0 10px;
}

.contact-option-content p {
  color: var(--charcoal-60);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.contact-option-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-option-action i {
  font-size: 0.78rem;
  color: var(--marigold-2, var(--marigold));
  transition: transform var(--fast) var(--ease);
}

.contact-option-card:hover .contact-option-action i,
.contact-option-card:focus-visible .contact-option-action i {
  transform: translateX(5px);
}

[data-theme="dark"] .contact-option-icon {
  background: rgba(255, 255, 255, 0.06);
}

/* ---------------------------------------------------------------------- */
/* CONTACT INFO — copy + direct details card                              */
/* ---------------------------------------------------------------------- */

.contact-info-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.contact-info-copy h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-top: 12px;
  margin-bottom: 20px;
}

.contact-info-copy p {
  color: var(--charcoal-60);
  margin-bottom: 16px;
  max-width: 480px;
}

.contact-direct-card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-strong);
}

[data-theme="dark"] .contact-direct-card {
  background: #172230;
}

.direct-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.direct-item:first-child {
  padding-top: 0;
}

.direct-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.direct-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--marigold);
  transition:
    background var(--fast) var(--ease),
    transform var(--fast) var(--ease);
}

.direct-item:hover .direct-icon {
  background: var(--marigold);
  color: #fff;
  transform: scale(1.06);
}

.direct-item > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.direct-item > div > span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.direct-item > div > a {
  color: #fff;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color var(--fast) var(--ease);
}

.direct-item > div > a:hover {
  color: var(--marigold);
}

/* ---------------------------------------------------------------------- */
/* CONTACT CTA                                                            */
/* ---------------------------------------------------------------------- */

.contact-cta {
  position: relative;
  background: var(--ink);
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
}

[data-theme="dark"] .contact-cta {
  background: #090f16;
}

.contact-cta::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 90%;
  background: radial-gradient(
    circle,
    rgba(224, 141, 60, 0.16) 0%,
    rgba(224, 141, 60, 0) 70%
  );
  pointer-events: none;
}

.contact-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.contact-cta-inner .eyebrow-light {
  justify-content: center;
  display: flex;
}

.contact-cta-inner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  margin-top: 14px;
}

.contact-cta-inner p {
  color: rgba(255, 255, 255, 0.65);
  margin-top: 14px;
}

.contact-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.contact-cta-actions .btn i {
  margin-right: 8px;
}

.contact-call-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.contact-call-btn:hover {
  background: var(--marigold);
  border-color: var(--marigold);
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* RESPONSIVE                                                             */
/* ---------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .contact-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info-copy {
    text-align: center;
  }

  .contact-info-copy p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 700px) {
  .contact-options-section {
    padding-top: 60px;
  }

  .contact-options-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-direct-card {
    padding: 30px 24px;
  }

  .contact-cta {
    padding: 60px 0;
  }
}

/* =========================================================
   CONTACT PAGE — LARGE DESKTOP RESPONSIVENESS
========================================================= */

@media (min-width: 1400px) {
  .contact-hero-content {
    max-width: 780px;
  }

  .contact-options-grid {
    gap: 32px;
  }

  .contact-info-layout {
    gap: 80px;
  }
}

@media (min-width: 1600px) {
  .contact-hero-content {
    max-width: 820px;
    padding: 120px 0;
  }

  .contact-options-grid {
    gap: 36px;
  }

  .contact-info-layout {
    gap: 90px;
  }

  .contact-option-card {
    padding: 40px 36px;
  }

  .contact-direct-card {
    padding: 46px 42px;
  }
}

@media (min-width: 1920px) {
  .contact-hero-content {
    max-width: 850px;
  }

  .contact-hero-content > p:last-child {
    max-width: 700px;
  }

  .contact-options-grid {
    gap: 40px;
  }

  .contact-info-layout {
    gap: 110px;
  }
}
