/* ============================================================
   PhotocallStar - Formulario - Estilo moderno negro/dorado
   Reemplaza al antiguo style3.css (plantilla Codrops azul).
   Mantiene TODAS las clases: no toca HTML ni JS.
   ============================================================ */

:root{
  --pcs-dorado:#C9A84C;
  --pcs-dorado2:#E8C96A;
  --pcs-negro:#0A0A0A;
  --pcs-carbon:#141414;
  --pcs-grafito:#1E1E1E;
  --pcs-linea:#2E2E2E;
  --pcs-linea2:#3A3A3A;
  --pcs-crema:#F5F0E8;
  --pcs-gris:#8A8A8A;
}

*, *::after, *::before { box-sizing: border-box; }

html { font-size: 62.5%; }

body {
  font-size: 1.6rem;
  font-family: 'Montserrat','Open Sans',-apple-system,Segoe UI,Roboto,sans-serif;
  color: var(--pcs-crema);
  background-color: var(--pcs-negro);
  line-height: 1.5;
}

a { color: var(--pcs-dorado); text-decoration: none; }
a:hover { color: var(--pcs-dorado2); }

/* -------- Tarjeta del formulario -------- */
.cd-form {
  width: 92%;
  max-width: 640px;
  margin: 4.5em auto 3em;
  background: var(--pcs-carbon);
  border: 1px solid var(--pcs-linea);
  border-radius: 14px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.8);
  padding: 34px 32px;
}
.cd-form::after { clear: both; content: ""; display: table; }
.cd-form fieldset { margin: 0; border: none; }
.cd-form legend {
  padding-bottom: 14px;
  margin-bottom: 24px;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--pcs-crema);
  border-bottom: 1px solid var(--pcs-linea);
  width: 100%;
}
.cd-form div { position: relative; margin: 22px 0; }

.cd-form h4, .cd-form .cd-label {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--pcs-dorado);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.cd-form .cd-label { display: block; }

.cd-form input, .cd-form textarea, .cd-form select, .cd-form label {
  font-family: inherit;
  font-size: 1.55rem;
  color: var(--pcs-crema);
}
.cd-form input[type="text"],
.cd-form input[type="email"],
.cd-form input[type="tel"],
.cd-form input[type="number"],
.cd-form textarea,
.cd-form select {
  display: block;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 14px 15px;
  border: 1.5px solid var(--pcs-linea);
  background-color: var(--pcs-grafito);
  border-radius: 8px;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cd-form input[type="text"]::placeholder,
.cd-form input[type="email"]::placeholder,
.cd-form textarea::placeholder { color: var(--pcs-gris); }

.cd-form input[type="text"]:focus,
.cd-form input[type="email"]:focus,
.cd-form input[type="tel"]:focus,
.cd-form input[type="number"]:focus,
.cd-form textarea:focus,
.cd-form select:focus {
  outline: none;
  border-color: var(--pcs-dorado);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}

.cd-form .cd-select { position: relative; }
.cd-form .cd-select::after {
  content: '';
  position: absolute; z-index: 1; right: 16px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--pcs-dorado);
  border-bottom: 2px solid var(--pcs-dorado);
  transform: rotate(45deg);
  pointer-events: none;
}
.cd-form select { cursor: pointer; }
.cd-form select option { background: var(--pcs-carbon); color: var(--pcs-crema); }
.cd-form select::-ms-expand { display: none; }
.cd-form textarea { min-height: 120px; resize: vertical; overflow: auto; }

/* -------- RADIOS/CHECKBOX COMO CHIPS -------- */
.cd-form .cd-form-list { margin-top: 10px; }
.cd-form .cd-form-list::after { clear: both; content: ""; display: table; }
.cd-form .cd-form-list li {
  display: inline-block;
  position: relative;
  float: left;
  margin: 0 10px 10px 0;
  user-select: none;
}
.cd-form input[type=radio],
.cd-form input[type=checkbox] {
  position: absolute;
  left: 0; top: 0;
  width: 1px; height: 1px;
  margin: 0; padding: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.cd-form input[type="radio"] + label,
.cd-form input[type="checkbox"] + label {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 11px 20px;
  border: 1.5px solid var(--pcs-linea);
  border-radius: 30px;
  background: var(--pcs-grafito);
  color: var(--pcs-crema);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.cd-form input[type="radio"] + label:hover,
.cd-form input[type="checkbox"] + label:hover { border-color: var(--pcs-linea2); }

.cd-form input[type="radio"] + label::before,
.cd-form input[type="radio"] + label::after,
.cd-form input[type="checkbox"] + label::before,
.cd-form input[type="checkbox"] + label::after {
  content: none !important;
  display: none !important;
}
.cd-form input[type="radio"]:checked + label,
.cd-form input[type="checkbox"]:checked + label {
  border-color: var(--pcs-dorado);
  background: rgba(201,168,76,0.12);
  color: var(--pcs-dorado2);
  font-weight: 600;
}
.cd-form input[type="radio"]:focus + label,
.cd-form input[type="checkbox"]:focus + label {
  box-shadow: 0 0 0 3px rgba(201,168,76,0.18);
}

/* -------- Botones -------- */
.cd-form input[type="button"] {
  -webkit-appearance: none; appearance: none;
  border: 1px solid var(--pcs-linea);
  background: var(--pcs-grafito);
  color: var(--pcs-crema);
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1.5rem;
  cursor: pointer;
  width: 100%;
  transition: border-color .15s ease, transform .12s ease;
}
.cd-form input[type="button"]:hover { border-color: var(--pcs-dorado); transform: translateY(-1px); }
.cd-form input[type="button"]:active { transform: scale(0.98); }

.cd-form input[type="submit"] {
  -webkit-appearance: none; appearance: none;
  border: none;
  background: var(--pcs-dorado);
  border-radius: 8px;
  padding: 16px 38px;
  color: var(--pcs-negro);
  font-weight: 700;
  font-family: inherit;
  font-size: 1.55rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  float: right;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(201,168,76,0.5);
  transition: background .15s ease, transform .12s ease;
}
.cd-form input[type="submit"]:hover { background: var(--pcs-dorado2); transform: translateY(-2px); }
.cd-form input[type="submit"]:focus { outline: none; }
.cd-form input[type="submit"]:active { transform: scale(0.97); }

/* -------- Errores -------- */
.cd-form [required] { background: none; }
.cd-form .error-message p {
  background: #C0392B;
  color: #fff;
  font-size: 1.4rem;
  text-align: center;
  border-radius: 8px;
  padding: 14px;
}
.cd-form .error { border-color: #C0392B !important; }

/* -------- Iconos de campo (quitados) -------- */
.cd-form .icon input,
.cd-form .icon select,
.cd-form .icon textarea { padding-left: 15px !important; }
.cd-form .user,
.cd-form .company,
.cd-form .email,
.cd-form .budget,
.cd-form .message { background: var(--pcs-grafito) !important; }

/* -------- Floating labels desactivadas -------- */
.js .floating-labels div { margin: 22px 0; }
.js .floating-labels .cd-label {
  position: static;
  top: auto; left: auto;
  font-size: 1.35rem;
  cursor: default;
  transition: none;
}
.js .floating-labels .icon .cd-label { left: auto; }
.js .floating-labels .cd-label.float {
  font-size: 1.35rem;
  top: auto; left: 0 !important;
}

/* -------- Texto informativo -------- */
.cd-form p font,
.cd-form font { font-size: 1.35rem !important; color: rgba(245,240,232,0.6); line-height: 1.7; }
.cd-form p[align="justify"] {
  background: var(--pcs-grafito);
  border-left: 3px solid var(--pcs-dorado);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 12px 0;
}

/* Responsive */
@media only screen and (min-width: 600px) {
  .cd-form div { margin: 26px 0; }
  .cd-form legend + div { margin-top: 18px; }
  .cd-form h4, .cd-form .cd-label { font-size: 1.4rem; }
}
@media only screen and (max-width: 560px) {
  .cd-form { padding: 24px 20px; margin-top: 3.5em; }
  .cd-form input[type="submit"] { width: 100%; float: none; margin-top: 10px; }
}