/*
 * CONSOANA CONTA — Pagina Contact
 * Incarcat pe: is_page_template('page-contact.php') || is_page('contact')
 * Depinde de tokens + clase din global-styles.css (--cream, --navy, .cc-* etc.)
 */

.ct-main {
  background: var(--cream);
  color: var(--body);
}

.ct-section {
  background: var(--cream);
}

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 68px;
  padding-top: 84px;
  padding-bottom: 100px;
}

/* ---------- STÂNGA: INFO ---------- */
.ct-info {
  align-self: start;
}

.ct-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 46px;
  line-height: 1.1;
  color: var(--navy);
  margin: 18px 0 18px;
  letter-spacing: -0.01em;
}

.ct-lead {
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--body);
  max-width: 440px;
  margin: 0 0 40px;
}

.ct-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ct-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s ease, border-color .3s ease;
}

a.ct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -22px rgba(15, 31, 58, .35);
  border-color: var(--line-input);
}

.ct-card__icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-soft));
  box-shadow: 0 10px 22px -12px rgba(201, 168, 92, .8);
}

.ct-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ct-card__label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted-cool);
}

.ct-card__value {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-strong);
  line-height: 1.4;
}

.ct-card__value--mail {
  word-break: break-all;
}

.ct-card__sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--body-soft);
}

/* ---------- DREAPTA: FORMULAR ---------- */
.ct-form-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 42px;
  box-shadow: 0 40px 90px -50px rgba(15, 31, 58, .45);
}

.ct-form__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 26px;
}

.ct-field {
  margin-bottom: 18px;
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ct-label {
  display: block;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.ct-input {
  width: 100%;
  font-family: var(--sans);
  font-size: 15.5px;
  color: var(--ink-strong);
  background: var(--cream-alt);
  border: 1px solid var(--line-input);
  border-radius: 11px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.ct-input::placeholder {
  color: var(--muted-cool);
}

.ct-input:focus {
  border-color: var(--gold);
  background: var(--cream-card);
  box-shadow: 0 0 0 3px rgba(201, 168, 92, .15);
}

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

.ct-select-wrap {
  position: relative;
}

.ct-select {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 42px;
}

.ct-select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-soft);
  font-size: 12px;
  pointer-events: none;
}

.ct-submit {
  width: 100%;
  border-radius: 12px;
  margin-top: 8px;
}

.ct-submit:disabled {
  opacity: .6;
  cursor: progress;
  transform: none;
}

.ct-error {
  font-family: var(--sans);
  font-size: 13.5px;
  color: #c0392b;
  margin: 12px 0 0;
}

.ct-consent {
  font-family: var(--sans);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--body-soft);
  margin: 16px 0 0;
}
.ct-consent a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.ct-consent a:hover { color: var(--ink-strong); }

/* ---------- SUCCES ---------- */
.ct-success {
  text-align: center;
  padding: 26px 4px;
  animation: ctFadeIn .45s ease both;
}

.ct-success__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 30px;
  color: #fff;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-soft));
  box-shadow: 0 16px 34px -14px rgba(201, 168, 92, .8);
  margin-bottom: 20px;
}

.ct-success__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  color: var(--navy);
  margin: 0 0 12px;
}

.ct-success__text {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 360px;
  margin: 0 auto 24px;
}

@keyframes ctFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-top: 60px;
    padding-bottom: 72px;
  }
  .ct-title { font-size: 38px; }
  .ct-form-card { padding: 32px; }
}

@media (max-width: 520px) {
  .ct-row { grid-template-columns: 1fr; gap: 18px; }
  .ct-title { font-size: 32px; }
  .ct-form-card { padding: 26px 22px; }
}
