/* =============================================
   CONTACT PAGE
   ============================================= */

/* ——— Hero ——— */
.ct-hero {
  background: var(--bg-alt);
  background-image: var(--gradient-hero);
  border-bottom: 1px solid var(--line);
  padding: 100px clamp(20px, 4vw, 48px) 80px;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 60% at 80% 50%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 80% 50%, #000 10%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.ct-hero::after {
  content: "";
  position: absolute;
  top: 24px;
  right: clamp(20px, 4vw, 48px);
  width: 80px;
  height: 80px;
  border-top: 1px solid var(--accent-glow);
  border-right: 1px solid var(--accent-glow);
  pointer-events: none;
  opacity: 0.4;
}

.ct-hero__inner {
  max-width: 720px;
  position: relative;
}

.ct-hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.ct-hero__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}

.ct-hero__title::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 20px;
}

.ct-hero__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 56ch;
}

/* ——— Contact Cards Section ——— */
.ct-cards {
  border-bottom: 1px solid var(--line);
  padding: 96px clamp(20px, 4vw, 48px);
  background:
    radial-gradient(circle at 0% 0%, rgba(201, 162, 91, 0.05), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(201, 162, 91, 0.04), transparent 45%);
}

.ct-cards__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ct-cards__head {
  max-width: 640px;
  margin: 0 0 48px;
}

.ct-cards__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}

.ct-cards__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0;
  max-width: 56ch;
}

.ct-cards__label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ct-cards__label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* ——— Card Grid ——— */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.ct-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(201, 162, 91, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.ct-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.ct-card:hover::before {
  opacity: 1;
}

/* Accent stripe on the left — a barbershop pole-inspired detail */
.ct-card__stripe {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  background: var(--line);
  border-radius: 0 3px 3px 0;
  transition: background 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.ct-card:hover .ct-card__stripe {
  background: var(--accent);
  top: 0;
  bottom: 0;
}

.ct-card--featured {
  background: linear-gradient(180deg, var(--bg-raised) 0%, var(--bg-alt) 100%);
}

.ct-card--featured .ct-card__stripe {
  background: var(--accent);
  top: 0;
  bottom: 0;
}

.ct-card__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  z-index: 1;
}

.ct-card__num {
  font-family: "Archivo", sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  margin-bottom: 18px;
  transition: -webkit-text-stroke-color 0.3s ease;
}

.ct-card:hover .ct-card__num {
  -webkit-text-stroke-color: var(--accent);
}

.ct-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 22px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  position: relative;
  z-index: 1;
}

.ct-card__icon svg {
  width: 22px;
  height: 22px;
  color: var(--text);
  transition: color 0.3s ease;
}

.ct-card:hover .ct-card__icon {
  background: var(--accent);
  border-color: var(--accent);
}

.ct-card:hover .ct-card__icon svg {
  color: var(--bg);
}

.ct-card__type {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 10px;
  position: relative;
  z-index: 1;
}

.ct-card__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.15;
  color: var(--text);
  position: relative;
  z-index: 1;
}

.ct-card__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 0 auto;
  padding-bottom: 28px;
  max-width: 42ch;
  position: relative;
  z-index: 1;
}

.ct-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.25s ease, border-color 0.25s ease, gap 0.25s ease;
  position: relative;
  z-index: 1;
}

.ct-card__cta > span {
  transition: transform 0.25s ease;
}

.ct-card:hover .ct-card__cta {
  color: var(--accent);
  border-color: var(--accent-glow);
  gap: 12px;
}

.ct-card:hover .ct-card__cta > span {
  transform: translateX(3px);
}

.ct-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  padding-top: 4px;
  border-top: 1px solid var(--line);
  width: 100%;
  padding-top: 16px;
}

.ct-card__link:hover {
  color: var(--accent);
}

/* ——— Service Area ——— */
.ct-area {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 80px clamp(20px, 4vw, 48px);
}

.ct-area__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ct-area__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ct-area__eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.ct-area__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin: 0 0 16px;
}

.ct-area__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin: 0 0 48px;
  max-width: 56ch;
}

.ct-area__grid {
  background: var(--bg-raised);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.ct-area__tag {
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.ct-area__tag:hover {
  color: var(--accent);
}

.ct-area__tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.ct-area__tag:nth-child(4n) {
  border-right: none;
}

.ct-area__tag:nth-last-child(-n+4) {
  border-bottom: none;
}

.ct-area__tag:hover {
  background: var(--card-hover);
}

.ct-area__note {
  background: var(--bg-raised);
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 0.8125rem;
}

.ct-area__note strong {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.ct-area__note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.ct-area__note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Closing CTA ——— */
.ct-cta {
  background: var(--bg-alt);
  background-image: var(--gradient-hero);
  border-bottom: 1px solid var(--line);
  padding: 100px clamp(20px, 4vw, 48px);
  text-align: center;
  position: relative;
}

.ct-cta__inner {
  max-width: 600px;
  margin: 0 auto;
}

.ct-cta__title {
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--accent);
}

.ct-cta__desc {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 36px;
}

/* ——— Responsive ——— */
@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 8 cities → 2 cols (4 rows of 2) */
  .ct-area__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-area__tag:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .ct-area__tag:nth-last-child(-n+4) {
    border-bottom: 1px solid var(--line);
  }

  .ct-area__tag:nth-child(2n) {
    border-right: none;
  }

  .ct-area__tag:nth-last-child(-n+2) {
    border-bottom: none;
  }
}

@media (max-width: 480px) {
  .ct-hero {
    padding: 72px 20px 60px;
  }

  .ct-cards {
    padding: 56px 20px;
  }

  .ct-cards__head {
    margin-bottom: 32px;
  }

  .ct-card {
    padding: 28px 22px;
    border-radius: 14px;
  }

  .ct-card__num { font-size: 2rem; }
  .ct-card__title { font-size: 1.25rem; }
  .ct-card__desc { font-size: 0.9rem; }

  .ct-area__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ct-area__tag:nth-child(2n) {
    border-right: none;
  }

  .ct-area__tag:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .ct-area__note {
    flex-direction: column;
    gap: 8px;
  }

  .ct-cta {
    padding: 64px 20px;
  }
}
