:root{
  --primary:#0050a5;
  --primary-dark:#002c5c;
  --accent:#ff7a18;
  --bg:#f4f7fb;
  --text:#1f2933;
  --muted:#6b7280;
  --border:#d1d5db;
}

/* Reset */
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:System-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

/* HEADER */
.header{
  background:linear-gradient(90deg,#003c7d,#000814);
  color:#ffffff;
  padding:16px 0;
}
.header-inner{
  max-width:960px;
  margin:0 auto;
  padding:12px 16px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:16px;
}

/* LOGO — RESTAURADO AL TAMAÑO ORIGINAL */
.logo{
  height:90px !important;      /* tamaño grande como antes */
  max-height:90px !important;
  width:auto !important;
  object-fit:contain;
}

.title-block h1{
  margin:0;
  font-size:1.8rem;
}
.title-block p{
  margin:4px 0 0;
  font-size:1rem;
  opacity:0.9;
}

/* CONTENEDOR PRINCIPAL (CENTRAR TARJETA) */
.main{
  max-width:960px;
  margin:24px auto;
  padding:0 16px 40px;
}

.card{
  background:#fff;
  border-radius:14px;
  padding:22px;
  margin-bottom:20px;
  box-shadow:0 8px 20px rgba(15,23,42,0.08);
}

h2{
  margin:0 0 12px;
  font-size:1.2rem;
}

/* FORM */
label{
  display:block;
  font-size:0.9rem;
  color:var(--muted);
  margin-top:12px;
}

input[type=text],
textarea{
  width:100%;
  border-radius:10px;
  border:1px solid #cdcdcd;
  padding:10px 12px;
  font-size:0.95rem;
  margin-top:4px;
}
textarea{
  min-height:100px;
  resize:vertical;
}

/* ESTRELLAS IZQUIERDA + DORADAS */
.rating{
  display:flex;
  justify-content:flex-start;
  gap:8px;
  margin-top:8px;
}

.star{
  font-size:38px;
  cursor:pointer;
  user-select:none;
  color:#0b2562;
  transition:color 0.15s ease;
}
.star.active,
.star:hover{
  color:#FFD700;
}

/* BOTÓN */
.btn-primary{
  margin-top:16px;
  background:linear-gradient(135deg,#0A66C2,#124EA8);
  color:#ffffff;
  border:none;
  border-radius:14px;
  padding:12px 24px;
  font-size:1rem;
  font-weight:600;
  cursor:pointer;
  transition:0.20s ease-in-out;
  box-shadow:0 4px 10px rgba(10,102,194,0.25);
}
.btn-primary:hover{
  background:linear-gradient(135deg,#0C72DD,#155AC8);
  transform:translateY(-1px);
  box-shadow:0 6px 14px rgba(10,102,194,0.35);
}

/* FOOTER */
.footer{
  padding:20px;
  text-align:center;
  font-size:0.9rem;
  color:var(--muted);
}

/* ------------------------- */
/* RESPONSIVE — TABLET/MÓVIL */
/* ------------------------- */

@media (max-width:768px){

  .header-inner{
    flex-direction:column;
    justify-content:center;
    text-align:center;
  }

  .logo{
    height:80px !important;
    max-height:80px !important;
    margin-bottom:8px;
  }

  .title-block h1{
    font-size:1.6rem;
  }

  .main{
    margin:16px 8px;
  }

  .card{
    padding:18px;
  }
}

/* MÓVIL — 600px */
@media (max-width:600px){

  .logo{
    height:72px !important;
    max-height:72px !important;
  }

  input[type=text],
  textarea{
    font-size:1rem;
  }

  .rating .star{
    font-size:40px;
  }

  .btn-primary{
    width:100%;
    padding:14px;
    font-size:1.05rem;
  }
}
