/* ==========================================================
   ÉPICA Weddings — Contacto
   Tema: fondo navy oscuro, coherente con el resto del sitio
   ========================================================== */

/* ----------------------------------------------------------
   LAYOUT: foto (izq 44%) | formulario (dcha 56%)
   ---------------------------------------------------------- */
.ct-wrap {

  display: grid;
  grid-template-columns: 44fr 56fr;
  padding-top: 200px;
  min-height: calc(100vh - 78px);
  background: var(--dark);
}

/* ----------------------------------------------------------
   COLUMNA IZQUIERDA: foto a sangre completa
   ---------------------------------------------------------- */
.ct-photo {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center top;
  background-image: url('../images/contact/contacto.jpg'); */
}

/* ----------------------------------------------------------
   COLUMNA DERECHA: formulario, empieza desde arriba
   Fondo dark para coherencia con el resto del sitio
   ---------------------------------------------------------- */
.ct-col {
  padding: 76px 48px 48px 56px;
  background: var(--dark);
}

/* ----------------------------------------------------------
   CAMPOS — línea inferior cream/translúcida sobre fondo dark
   ---------------------------------------------------------- */
.ct-field {
  margin-top: 16px;
}
.ct-field:first-child { margin-top: 0; }

.ct-field input,
.ct-field textarea {
  display: block;
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(240, 235, 227, 0.28);
  padding: 5px 0 4px;
  background: transparent;
  outline: none;
  font-family: var(--ff-display);
  font-size: 13.5px;
  font-weight: 300;
  color: var(--cream);
  border-radius: 0;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}

.ct-field input::placeholder,
.ct-field textarea::placeholder {
  font-family: var(--ff-display);
  font-size: 13.5px;
  font-weight: 300;
  color: rgba(240, 235, 227, 0.5);
}

.ct-field input:focus,
.ct-field textarea:focus {
  border-bottom-color: rgba(240, 235, 227, 0.75);
}

.ct-field textarea {
  resize: vertical;
  min-height: 44px;
  line-height: 1.55;
}

/* Spinners ↑↓ para invitados y presupuesto */
.ct-spin {
  -webkit-appearance: auto !important;
  appearance: auto !important;
  -moz-appearance: number-input !important;
}
.ct-spin::-webkit-inner-spin-button,
.ct-spin::-webkit-outer-spin-button {
  -webkit-appearance: auto !important;
  opacity: 0.6 !important;
  cursor: pointer;
  filter: invert(1); /* invierte los spinners para que sean visibles sobre fondo dark */
}

/* ----------------------------------------------------------
   NOTA DE PRESUPUESTO
   ---------------------------------------------------------- */
.ct-fnote {
  margin-top: 5px;
  font-family: var(--ff-ui);
  font-size: 9px;
  color: rgba(240, 235, 227, 0.38);
  font-style: italic;
  letter-spacing: .03em;
}

/* ----------------------------------------------------------
   BOTÓN ENVIAR — cream sobre dark, alineado a la derecha
   ---------------------------------------------------------- */
.ct-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.ct-btn {
  font-family: var(--ff-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--dark);
  border: none;
  padding: 11px 36px;
  cursor: pointer;
  transition: opacity .2s;
}
.ct-btn:hover    { opacity: .85; }
.ct-btn:disabled { opacity: .4; cursor: default; }

/* ----------------------------------------------------------
   TEXTO DE PRIVACIDAD
   ---------------------------------------------------------- */
.ct-privacy {
  margin-top: 12px;
  font-family: var(--ff-ui);
  font-size: 9px;
  line-height: 1.65;
  color: rgba(240, 235, 227, 0.35);
  max-width: 360px;
}

.ct-msg {
  margin-top: 10px;
  font-family: var(--ff-ui);
  font-size: 11px;
  letter-spacing: .04em;
}

/* Campo con error */
.ct-err {
  border-bottom-color: #eb5757 !important;
}

/* ----------------------------------------------------------
   BLOQUE DE DIRECCIÓN — borde cream izquierdo
   ---------------------------------------------------------- */
.ct-address {
  margin-top: 40px;
  padding-left: 16px;
  border-left: 3px solid var(--cream);
  font-style: normal;
}

.ct-address-co {
  font-family: var(--ff-ui);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 8px;
}

.ct-address p,
.ct-address a {
  font-family: var(--ff-ui);
  font-size: 11px;
  line-height: 1.9;
  color: var(--cream-dim);
  text-decoration: none;
}

/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 820px) {
  .ct-wrap {
    grid-template-columns: 1fr;
  }
  .ct-photo {
    height: 260px;
  }
  .ct-col {
    padding: 28px 24px 36px;
  }
}

@media (max-width: 480px) {
  .ct-col { padding: 24px 20px 32px; }
}


