@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700&display=swap");
:root {
  /* Prx Creations - Light Premium Theme */
  --background: #f8f8f6;
  --foreground: #3d3d3d;
  --card: rgba(255, 255, 255, 0.68);
  --card-strong: rgba(255, 255, 255, 0.82);
  --card-solid: #ffffff;
  --primary: #778643;
  --primary-dark: #4f663c;
  --primary-deep: #395d38;
  --primary-soft: #9aa85c;
  --primary-pale: #b8c476;
  --secondary: rgba(119, 134, 67, 0.08);
  --muted: rgba(0, 0, 0, 0.04);
  --muted-foreground: #6b6b6b;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(119, 134, 67, 0.22);
  --input: rgba(0, 0, 0, 0.05);
  --ring: rgba(119, 134, 67, 0.22);
  --destructive: #dc2626;
  --success: #2f7d46;
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(0, 0, 0, 0.06);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  --title-gradient: linear-gradient(135deg,
          #395d38 0%,
          #4f663c 40%,
          #778643 100%);
  --font-main: 'DM Sans', system-ui, sans-serif;
  --font-title: 'Playfair Display', serif;
  --radius-lg: 2.4rem;
  --radius-md: 1.6rem;
  --radius-sm: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-main);
  color: var(--foreground);
  background: radial-gradient(circle at top left, rgba(119, 134, 67, 0.14), transparent 34rem), radial-gradient(circle at bottom right, rgba(79, 102, 60, 0.12), transparent 42rem), linear-gradient(135deg, #f8f8f6 0%, #eeeeea 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.page {
  width: 100%;
  min-height: 100vh;
}

.form-page {
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1.4rem;
}

.form-shell {
  width: min(100%, 104rem);
  margin: 0 auto;
}

/* Header */
.form-header {
  position: relative;
  padding: 3.2rem 1.8rem 2.4rem;
  text-align: center;
}
.form-header .brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.6rem;
  padding: 0.8rem 1.4rem;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--primary-dark);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
}
.form-header h1 {
  max-width: 72rem;
  margin: 0 auto;
  font-family: var(--font-main);
  font-size: clamp(3.4rem, 8vw, 6.6rem);
  line-height: 1;
  background: var(--title-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(119, 134, 67, 0.12);
  font-weight: 800;
  padding-bottom: 1rem;
}
.form-header .form-subtitle {
  max-width: 66rem;
  margin: 1.8rem auto 0;
  color: var(--muted-foreground);
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  line-height: 1.7;
}

/* Aviso superior */
.notice-card {
  width: min(100%, 68rem);
  margin: 2.4rem auto 0;
  padding: 1.6rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
}
.notice-card .notice-title {
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
  font-size: 1.5rem;
  font-weight: 800;
}
.notice-card p {
  color: var(--muted-foreground);
  font-size: 1.4rem;
  line-height: 1.6;
}
.notice-card a {
  color: var(--primary-deep);
  font-weight: 800;
  text-decoration: none;
}
.notice-card a:hover {
  text-decoration: underline;
}

/* Contenedor principal */
.form-card {
  position: relative;
  padding: 1.4rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--glass-shadow);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Secciones */
.form-section {
  padding: 2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.035);
  transition: all 0.3s ease;
}
.form-section:hover {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(119, 134, 67, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}
.form-section .section-heading {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.form-section .section-heading .section-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary), var(--primary-soft));
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(119, 134, 67, 0.24);
}
.form-section .section-heading h2 {
  color: var(--primary-deep);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
}
.form-section .section-heading p {
  margin-top: 0.4rem;
  color: var(--muted-foreground);
  font-size: 1.35rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

/* Campos */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.field label {
  color: #4e4e4e;
  font-size: 1.35rem;
  font-weight: 800;
}
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.84);
  color: var(--foreground);
  font-size: 1.5rem;
  line-height: 1.5;
  outline: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}
.field input {
  min-height: 5.2rem;
  padding: 0 1.6rem;
}
.field textarea {
  min-height: 11rem;
  padding: 1.4rem 1.6rem;
  resize: vertical;
}
.field input::-moz-placeholder, .field textarea::-moz-placeholder {
  color: rgba(107, 107, 107, 0.72);
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(107, 107, 107, 0.72);
}
.field input:hover,
.field textarea:hover {
  border-color: rgba(119, 134, 67, 0.2);
  background: rgba(255, 255, 255, 0.94);
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(119, 134, 67, 0.14), 0 8px 24px rgba(0, 0, 0, 0.045);
  transform: translateY(-1px);
}

/* Botón */
.form-actions {
  display: flex;
  justify-content: center;
  padding: 1rem 0 0;
}

.btns {
  position: relative;
  overflow: hidden;
  min-width: 22rem;
  min-height: 5.6rem;
  padding: 0 2.4rem;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 15px rgba(119, 134, 67, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, filter 0.3s ease;
}
.btns span {
  position: relative;
  z-index: 2;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.btns:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 25px rgba(119, 134, 67, 0.35);
  filter: brightness(1.02);
}
.btns:active {
  transform: translateY(1px);
  box-shadow: 0 2px 12px rgba(119, 134, 67, 0.22);
}
.btns:focus {
  outline: none;
}
.btns:focus-visible {
  box-shadow: 0 0 0 4px rgba(119, 134, 67, 0.2), 0 4px 25px rgba(119, 134, 67, 0.35);
}

/* Ripple del botón */
button .circle {
  position: absolute;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.48);
  transform: translate(-50%, -50%) scale(0);
  animation: scale 0.5s ease-out;
}

@keyframes scale {
  to {
    transform: translate(-50%, -50%) scale(3);
    opacity: 0;
  }
}
/* Mensaje de estado */
.state-message {
  display: none;
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(47, 125, 70, 0.22);
  border-radius: 1.2rem;
  background: rgba(232, 246, 235, 0.92);
  color: var(--success);
  font-size: 1.45rem;
  font-weight: 800;
  text-align: center;
}

/* Toasts */
#toasts {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.8rem;
}

.toast {
  max-width: min(34rem, 100vw - 2.8rem);
  padding: 1.2rem 1.6rem;
  border: 1px solid var(--border);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  font-size: 1.4rem;
  font-weight: 700;
}

.toast.info {
  color: var(--primary-dark);
}

.toast.success {
  color: var(--success);
}

.toast.error {
  color: var(--destructive);
}

/* Footer */
.form-footer {
  display: flex;
  justify-content: center;
  padding: 2.8rem 0 1rem;
}
.form-footer img {
  width: 15rem;
  max-width: 100%;
  opacity: 0.88;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.08));
}

/* Responsive */
@media (min-width: 760px) {
  .form-page {
    padding: 4rem 2rem;
  }
  .form-card {
    padding: 2.4rem;
  }
  .form-section {
    padding: 2.8rem;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .field-full {
    grid-column: 1/-1;
  }
  .form-section .section-heading {
    gap: 1.6rem;
  }
  .form-section .section-heading h2 {
    font-size: 2.2rem;
  }
  .form-section .section-heading p {
    font-size: 1.45rem;
  }
}
@media (min-width: 1100px) {
  .form-page {
    padding-block: 5rem;
  }
  .form-card {
    padding: 3rem;
  }
}
/* Modal */
.success-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: grid;
  place-items: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  isolation: isolate;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.success-modal.is-open .success-modal__dialog {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.success-modal__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at top, rgba(119, 134, 67, 0.18), transparent 34rem), rgba(248, 248, 246, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.success-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 48rem);
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  padding: 3rem 2.2rem 2.4rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 2.4rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1.6rem) scale(0.96);
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.success-modal__close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 3.8rem;
  height: 3.8rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: #4e4e4e;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.success-modal__close:hover {
  background: #ffffff;
  color: #395d38;
  transform: rotate(90deg);
}

.success-modal__icon {
  display: grid;
  place-items: center;
  width: 7.2rem;
  height: 7.2rem;
  margin: 0 auto 1.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #395d38 0%, #4f663c 45%, #778643 100%);
  box-shadow: 0 14px 34px rgba(119, 134, 67, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.success-modal__icon span {
  color: #ffffff;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1;
}

.success-modal__eyebrow {
  margin-bottom: 0.8rem;
  color: #778643;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.success-modal h2 {
  max-width: 38rem;
  margin: 0 auto;
  color: #395d38;
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1.08;
  font-weight: 800;
}

.success-modal__text {
  max-width: 38rem;
  margin: 1.4rem auto 0;
  color: #6b6b6b;
  font-size: 1.5rem;
  line-height: 1.7;
}

.success-modal__order {
  width: 100%;
  margin: 2.2rem auto 1.2rem;
  padding: 1.6rem;
  border: 1px solid rgba(119, 134, 67, 0.2);
  border-radius: 1.6rem;
  background: linear-gradient(135deg, rgba(119, 134, 67, 0.08), rgba(255, 255, 255, 0.76));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.success-modal__order span {
  display: block;
  margin-bottom: 0.6rem;
  color: #6b6b6b;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.success-modal__order strong {
  display: block;
  color: #395d38;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  word-break: break-word;
}

.success-modal__note {
  max-width: 38rem;
  margin: 0 auto;
  color: #6b6b6b;
  font-size: 1.35rem;
  line-height: 1.6;
}

.success-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.2rem;
}

.modal-btn {
  min-height: 5.2rem;
  padding: 0 1.8rem;
  border-radius: 999px;
  border: none;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.modal-btn--primary {
  background: #778643;
  color: #ffffff;
  box-shadow: 0 2px 15px rgba(119, 134, 67, 0.25);
}

.modal-btn--primary:hover {
  background: #4f663c;
  box-shadow: 0 4px 25px rgba(119, 134, 67, 0.35);
  transform: translateY(-2px);
}

.modal-btn--secondary {
  border: 1px solid rgba(119, 134, 67, 0.24);
  background: rgba(255, 255, 255, 0.72);
  color: #395d38;
}

.modal-btn--secondary:hover {
  background: #ffffff;
  border-color: rgba(119, 134, 67, 0.4);
  transform: translateY(-2px);
}

body.modal-open {
  overflow: hidden;
}

@media (min-width: 560px) {
  .success-modal__dialog {
    padding: 3.6rem 3rem 3rem;
  }
  .success-modal__actions {
    grid-template-columns: 1fr 1.2fr;
  }
}
/* Fix input date en mobile */
.form-grid,
.field,
.field input,
.field textarea {
  min-width: 0;
}

.field input,
.field textarea {
  max-width: 100%;
  box-sizing: border-box;
}

input[type=date] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  display: block;
  box-sizing: border-box;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}

.form.form-is-locked {
  position: relative;
}

.field input.is-locked,
.field textarea.is-locked,
.field select.is-locked {
  cursor: not-allowed;
  opacity: 0.78;
  background: rgba(248, 248, 246, 0.78);
  border-color: rgba(119, 134, 67, 0.18);
}

.field input.is-locked:focus,
.field textarea.is-locked:focus {
  transform: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  border-color: rgba(119, 134, 67, 0.18);
}

.form-is-locked .btns {
  cursor: not-allowed;
  opacity: 0.7;
  filter: grayscale(0.1);
}/*# sourceMappingURL=styles.css.map */