/* =============================================
   ADAMAS GOLD — CONTACTS PAGE
   Inherits variables and base from styles.css
   ============================================= */

/* ── HERO ─────────────────────────────────── */

.ct-hero {
  position: relative;
  padding-top: 80px;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg);
}

.ct-hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 50% -5%, rgba(242, 233, 210, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.ct-hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

.ct-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 48px 48px 56px;
}

.ct-title-group {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 18px;
}

.ct-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.04;
  color: var(--text-primary);
}

.ct-hero-divider {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ct-hero-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(242, 233, 210, 0.25));
}

.ct-hero-line:last-child {
  background: linear-gradient(to left, transparent, rgba(242, 233, 210, 0.25));
}

.ct-hero-diamond {
  font-size: 14px;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0;
}

.ct-hero-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-sec);
  max-width: 420px;
}

/* ── CONTACTS SECTION ─────────────────────── */

.ct-section {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ct-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 72px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 64px;
  align-items: start;
}

/* ── COL TITLE ────────────────────────────── */

.ct-col-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 36px;
}

/* ── INFO COLUMN ──────────────────────────── */

.ct-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
}

.ct-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  animation: cardIn 0.4s ease both;
}

.ct-info-item:nth-child(1) { animation-delay: 0.05s; }
.ct-info-item:nth-child(2) { animation-delay: 0.10s; }
.ct-info-item:nth-child(3) { animation-delay: 0.15s; }
.ct-info-item:nth-child(4) { animation-delay: 0.20s; }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ct-info-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-top: 1px;
}

.ct-info-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ct-info-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ct-info-value {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.5;
}

.ct-info-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.ct-info-link:hover { color: var(--gold); }
.ct-info-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.ct-info-link:active { color: var(--gold-light); }

/* ── SOCIAL BLOCK ─────────────────────────── */

.ct-social-block {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.ct-social-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.ct-social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ct-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sec);
  text-decoration: none;
  transition: color 0.2s;
  width: fit-content;
}

.ct-social-link:hover { color: var(--gold); }
.ct-social-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.ct-social-link:active { color: var(--gold-light); }

.ct-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.ct-social-link:hover .ct-social-icon { opacity: 1; }

/* ── VERTICAL DIVIDER ─────────────────────── */

.ct-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(to bottom, transparent 0%, var(--border) 10%, var(--border) 90%, transparent 100%);
}

/* ── FORM COLUMN ──────────────────────────── */

.ct-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ct-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-form-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
}

.ct-form-input,
.ct-form-textarea {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.ct-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.ct-form-input::placeholder,
.ct-form-textarea::placeholder {
  color: var(--text-muted);
}

.ct-form-input:hover,
.ct-form-textarea:hover {
  border-color: rgba(242, 233, 210, 0.15);
}

.ct-form-input:focus,
.ct-form-textarea:focus {
  border-color: var(--gold);
  background: rgba(242, 233, 210, 0.03);
}

.ct-form-input:focus-visible,
.ct-form-textarea:focus-visible {
  outline: none;
}

.ct-form-input.error,
.ct-form-textarea.error {
  border-color: rgba(200, 80, 60, 0.6);
}

/* ── SUBMIT BUTTON ────────────────────────── */

.ct-form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ct-form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  background: transparent;
  border: 1px solid var(--gold);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.ct-form-submit:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.ct-form-submit:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.ct-form-submit:active {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--bg);
  transform: translateY(0);
}

.ct-form-submit:disabled {
  cursor: wait;
  opacity: 0.6;
  transform: none;
}

.ct-form-error {
  margin: -10px 0 0;
  color: #c0705a;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
}

.ct-form-error[hidden] { display: none; }

/* ── SUCCESS STATE ────────────────────────── */

.ct-form-success {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 0;
  animation: cardIn 0.4s ease both;
}

.ct-form-success[hidden] { display: none; }

.ct-success-checkmark {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242, 233, 210, 0.2);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.ct-success-checkmark svg {
  width: 18px;
  height: 18px;
}

.ct-success-copy {
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.ct-success-title,
.ct-success-text {
  font-family: var(--font-body);
  margin: 0;
  white-space: nowrap;
}

.ct-success-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-main);
}

.ct-success-text {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-sec);
}

/* ── MAP SECTION ──────────────────────────── */

.ct-map-section {
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.ct-map-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: var(--bg-header);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  backdrop-filter: blur(12px);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-sec);
  white-space: nowrap;
  pointer-events: none;
}

.ct-map-wrap {
  width: 100%;
  height: 440px;
  overflow: hidden;
  display: block;
  background: var(--bg-card);
  background-image:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(242, 233, 210, 0.02) 0%, transparent 100%);
}

.ct-map-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* ── RESPONSIVE ───────────────────────────── */

@media (max-width: 1024px) {
  .ct-inner {
    grid-template-columns: 1fr;
    gap: 56px 0;
    padding: 56px 40px 64px;
  }

  .ct-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
    background: linear-gradient(to right, transparent 0%, var(--border) 10%, var(--border) 90%, transparent 100%);
  }
}

@media (max-width: 767px) {
  .ct-hero-inner {
    padding: 36px 20px 44px;
  }

  .ct-title-group {
    display: flex;
    width: 100%;
    align-items: stretch;
  }

  .ct-hero-title {
    font-size: clamp(30px, 8vw, 42px);
    text-align: center;
  }

  .ct-hero-subtitle {
    text-align: center;
    max-width: 100%;
    font-size: 14px;
  }

  .ct-inner {
    padding: 44px 20px 52px;
  }

  .ct-col-title {
    font-size: 22px;
    margin-bottom: 28px;
  }

  .ct-map-wrap {
    height: 320px;
  }

  .ct-map-label {
    font-size: 10.5px;
    padding: 7px 13px;
  }

  .ct-form-submit {
    width: 100%;
    justify-content: center;
  }
}
