/* ======== PALETA OLMOS DENTAL ========
   Negro profundo:        #111827
   Dorado principal:      #d4af37
   Dorado suave hover:    #c79a22
   Verde oliva sutil:     #7a8450
   Blanco perla fondo:    #f5f5f4
   Gris texto secundario: #6b7280
====================================== */

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }
  
  body {
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #f5f5f4 0, #e5e7eb 45%, #d4d4d4 100%);
  }
  
  /* ======== CONTENEDOR PRINCIPAL ======== */
  
  .page {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px 40px;
    box-shadow:
      0 22px 60px rgba(15, 23, 42, 0.25),
      0 0 0 1px rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
  }
  
  /* ======== ENCABEZADO / MARCA ======== */
  
  .header-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  }
  
  .brand-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.55);
    padding: 6px;
    background: radial-gradient(circle at 30% 0, #fefce8, #f5f5f4);
  }
  
  .brand-text {
    display: flex;
    flex-direction: column;
  }
  
  .brand-name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111827;
  }
  
  .brand-tagline {
    font-size: 0.8rem;
    color: #6b7280;
  }
  
  /* ======== TITULOS Y SUBTITULO ======== */
  
  h1 {
    font-size: 1.8rem;
    margin: 0 0 8px;
    color: #111827;
  }
  
  .subtitle {
    color: #6b7280;
    margin-bottom: 24px;
    font-size: 0.95rem;
    border-left: 3px solid #d4af37;
    padding-left: 10px;
  }
  
  .section-title {
    margin: 24px 0 8px;
    font-weight: 600;
    color: #111827;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
  }
  
  .section-title::before {
    content: "";
    width: 16px;
    height: 2px;
    background: linear-gradient(to right, #d4af37, #7a8450);
    border-radius: 999px;
  }
  
  /* ======== FORMULARIOS ======== */
  
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  
  .field {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
  }
  
  .field label {
    font-size: 0.85rem;
    color: #374151;
    margin-bottom: 4px;
  }
  
  .field input,
  .field textarea,
  .field select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
    outline: none;
    background-color: #f9fafb;
    transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  }
  
  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    border-color: #d4af37;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35);
    background-color: #ffffff;
  }
  
  textarea {
    min-height: 70px;
    resize: vertical;
  }
  
  /* ======== DETALLES / ACORDEONES ======== */
  
  details {
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    margin-top: 8px;
    margin-bottom: 8px;
    background: #f9fafb;
    overflow: hidden;
    transition: background 0.12s ease, border-color 0.12s ease;
  }
  
  summary {
    cursor: pointer;
    padding: 10px 12px;
    font-weight: 500;
    color: #111827;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  summary::-webkit-details-marker {
    display: none;
  }
  
  summary::after {
    content: "▾";
    font-size: 0.75rem;
    color: #6b7280;
    transition: transform 0.12s ease;
  }
  
  details[open] summary::after {
    transform: rotate(180deg);
  }
  
  details[open] {
    background: #ffffff;
    border-color: rgba(212, 175, 55, 0.5);
  }
  
  details p {
    padding: 0 12px 12px;
    margin: 0;
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
  }
  
  /* ======== RADIO BUTTONS ======== */
  
  .radio-group {
    display: flex;
    gap: 20px;
    margin-top: 4px;
    font-size: 0.9rem;
    color: #374151;
  }
  
  .radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  
  /* Colorea los radios / checkbox con dorado en navegadores modernos */
  input[type="radio"],
  input[type="checkbox"] {
    accent-color: #d4af37;
  }
  
  /* ======== ACEPTACIÓN ======== */
  
  .acceptance {
    margin-top: 16px;
    font-size: 0.9rem;
    color: #111827;
    display: flex;
    gap: 8px;
    align-items: flex-start;
    padding: 12px 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px dashed rgba(212, 175, 55, 0.5);
  }
  
  .acceptance input {
    margin-top: 3px;
  }
  
  .firma-texto {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #6b7280;
  }
  
  /* ======== BOTÓN ======== */
  
  .btn-submit {
    display: inline-block;
    width: 100%;
    padding: 12px 16px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #d4af37, #7a8450);
    color: #111827;
    font-weight: 650;
    font-size: 0.95rem;
    cursor: pointer;
    margin-top: 18px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow:
      0 12px 30px rgba(15, 23, 42, 0.25),
      0 0 0 1px rgba(148, 163, 184, 0.3);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
  }
  
  .btn-submit:hover {
    filter: brightness(1.05);
    box-shadow:
      0 18px 40px rgba(15, 23, 42, 0.3),
      0 0 0 1px rgba(212, 175, 55, 0.6);
    transform: translateY(-1px);
  }
  
  .btn-submit:active {
    transform: translateY(0);
    box-shadow:
      0 10px 20px rgba(15, 23, 42, 0.25),
      0 0 0 1px rgba(212, 175, 55, 0.6);
  }
  
  /* ======== NOTA LEGAL ======== */
  
  .legal-note {
    margin-top: 16px;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    line-height: 1.4;
  }
  
  /* ======== RESPONSIVE ======== */
  
  @media (max-width: 640px) {
    .page {
      margin: 16px;
      padding: 20px 16px 28px;
      border-radius: 16px;
    }
  
    .grid-2 {
      grid-template-columns: 1fr;
    }
  
    h1 {
      font-size: 1.4rem;
    }
  
    .header-brand {
      flex-direction: row;
      align-items: center;
      gap: 10px;
    }
  
    .brand-tagline {
      max-width: 220px;
    }
  }
  