* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --arena: #E6D7B8;
  --azul: #0D1B2A; /* azul de la paleta (imagen) */
}

.site-header h1,
.site-header .lead {
  color: var(--azul);
}

body {
  background-color: #FFFFFF;
  color: #333333;
  line-height: 1.6;
}

.site-header {
  position: relative;
  /* same gradient intensity, switched to arena tones */
  background: linear-gradient(135deg, rgba(230,215,184,0.85), rgba(210,190,160,0.7)),
              url('images/oficina.jpg') center/cover no-repeat;
  color: #FFFFFF;
  text-align: center;
  min-height: 80vh;
  max-height: 80vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px 0.5cm;
}

/* Ajuste: subir el texto del header para que quede 2cm por debajo del borde superior (referencia del logo) */
.site-header .container {
  padding-top: 2cm; /* 2 centímetros antes del logo */
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #C8B28C 0%, #B09870 50%, #A08860 100%);
  color: #0D1B2A;
  padding: 14px 35px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(13, 27, 42, 0.4);
  border: 2px solid #B8A080;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2F44 100%);
  color: #E6D7B8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(13, 27, 42, 0.55);
  border-color: #E6D7B8;
}

.site-header .logo {
  position: absolute;
  top: 0px;
  right: 60px;
  width: 180px;
  height: auto;
  z-index: 10;
}

.site-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--azul);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.site-header .lead {
  font-size: 1.8rem;   /* Cambia este valor (1.2rem -> 2.2rem) */
  font-weight: 600;    /* Cambia este valor (400 -> 700) */
  margin-bottom: 20px;
  color: var(--azul);      /* Cambia este valor (var(--azul) -> #000000) */
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.nav {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.benefits-hero {
  background: #E6D7B8;
  padding: 24px 20px 24px;
  border-bottom: 1px solid rgba(0, 32, 63, 0.08);
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits-hero .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.benefits-hero h2 {
  margin: 0 auto;
  max-width: 760px;
  font-size: 1.5rem;
  color: #00203F;
  line-height: 1.2;
}

.btn-primary {
  display: inline-block;
  background-color: var(--arena);
  color: #0D1B2A;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.3);
  border: 2px solid var(--arena);
  margin: 0 auto;
}

.btn-primary:hover {
  background: #00203F;
  color: #E6D7B8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 32, 63, 0.45);
  border-color: transparent;
}

.btn-primary-light {
  display: inline-block;
  background-color: #0D1B2A;
  color: #FFFFFF;
  padding: 14px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary-light:hover {
  background: #00203F;
  color: #E6D7B8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  margin-top: 20px;
}

.benefit-card {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 15px;
  background: #E6D7B8;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: block;
}

.benefit-card h3 {
  font-size: 1.25rem;
  color: #00203F;
}

#como-funciona .container {
  text-align: center;
}

.steps {
  display: inline-block;
  text-align: left;
  margin: 20px auto;
  padding-left: 30px;
}

.steps li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

#como-funciona .btn-primary {
  margin-top: 20px;
}

  form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #00203F;
}

form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid #cccccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

form input:focus, form textarea:focus {
  border-color: #00203F;
  outline: none;
}

form button {
  background: #FFFFFF;
  color: #00203F;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #00203F;
  color: #E6D7B8;
}

.encuesta {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.encuesta h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #00203F;
}
.encuesta label {
  font-weight: bold;
  margin-top: 1rem;
  display: block;
  color: #333;
}
.encuesta div {
  margin-bottom: 1rem;
}
.encuesta button {  
  display: inline-block;
  background: linear-gradient(135deg, #C8B28C 0%, #B09870 50%, #A08860 100%);
  color: #0D1B2A;
  padding: 14px 35px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(13, 27, 42, 0.4);
  border: 2px solid #B8A080;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.encuesta button:hover {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2F44 100%);
  color: #E6D7B8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(13, 27, 42, 0.55);
  border-color: #E6D7B8;
}

.site-footer {
  background: #0D1B2A;
  color: #E6D7B8;
  padding: 50px 20px 25px;
  margin-top: 60px;
  border-top: 2px solid #E6D7B8;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-footer {
  width: clamp(80px, 12vw, 120px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.footer-left p {
  color: #E6D7B8;
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  margin: 0;
}

.footer-center {
  display: flex;
  gap: clamp(15px, 3vw, 30px);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-center a {
  color: #D4C5A0;
  text-decoration: none;
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.footer-center a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E6D7B8;
  transition: width 0.3s ease;
}

.footer-center a:hover {
  color: #E6D7B8;
}

.footer-center a:hover::after {
  width: 100%;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-right h4 {
  color: #E6D7B8;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  margin: 0;
  font-weight: 600;
}

.socials {
  display: flex;
  gap: clamp(8px, 1.5vw, 12px);
  flex-wrap: wrap;
  justify-content: center;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(32px, 4.5vw, 38px);
  height: clamp(32px, 4.5vw, 38px);
  background: linear-gradient(135deg, #C8B28C 0%, #B09870 50%, #A08860 100%);
  color: #0D1B2A;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid #B8A080;
}

.socials a:hover {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2F44 100%);
  transform: translateY(-3px) scale(1.05);
  border-color: #E6D7B8;
}

/* Inline SVG icons inherit the anchor color via currentColor */
.socials a svg {
  width: clamp(16px, 2.5vw, 20px);
  height: clamp(16px, 2.5vw, 20px);
  display: block;
  fill: currentColor; /* ensure paths use currentColor */
  transition: fill 0.3s ease, transform 0.3s ease;
}

/* Change icon color on hover */
.socials a:hover {
  color: #B8A080; /* hover color requested */
}

.contact-mail {
  color: #D4C5A0;
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  margin: 0;
  text-align: center;
}

.contact-mail a {
  color: #E6D7B8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-mail a:hover {
  color: #0D1B2A;
  text-decoration: underline;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding-top: 25px;
  margin-top: 25px;
  border-top: 1px solid rgba(54, 87, 138, 0.671);
}

.footer-bottom p {
  color: #B8A98A;
  font-size: clamp(0.65rem, 0.8vw, 0.8rem);
  margin: 0;
}

@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .footer-left {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    align-items: center;
    width: 100%;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding: 35px 15px 20px;
  }

  .footer-inner {
    gap: 20px;
  }

  .footer-left {
    gap: 12px;
  }

  .logo-footer {
    width: 80px;
  }

  .footer-left p {
    font-size: 0.8rem;
  }

  .footer-center {
    gap: 12px;
    justify-content: center;
  }

  .footer-center a {
    font-size: 0.75rem;
    white-space: normal;
  }

  .socials {
    gap: 10px;
  }

  .socials a {
    width: 36px;
    height: 36px;
  }

  .socials a img {
    width: 18px;
    height: 18px;
  }

  .contact-mail {
    font-size: 0.75rem;
  }

  .footer-bottom p {
    font-size: 0.65rem;
  }
}

@media (max-width: 380px) {
  .site-footer {
    padding: 25px 10px 15px;
  }

  .footer-center {
    gap: 8px;
  }

  .footer-center a {
    font-size: 0.65rem;
  }

  .socials a {
    width: 30px;
    height: 30px;
  }

  .socials a img {
    width: 14px;
    height: 14px;
  }

  .contact-mail {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    min-height: auto;
    padding: 30px 20px 40px;
  }

  .site-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 1cm; /* reducir en móvil para mantener proporciones */
  }

  .site-header .logo {
    position: static;
    display: block;
    width: 140px;
    margin: 0 auto 20px;
  }

  .site-header h1 {
    font-size: 1.8rem;
  }

  .site-header .lead {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .benefits-hero {
    padding: 18px 16px 18px;
  }

  .benefits-hero h2 {
    font-size: 1.3rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 16px;
  }

  .benefit-card {
    padding: 18px;
  }

  .btn-primary,
  .btn-primary-light,
  .form button,
  .encuesta button {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    color: #E6D7B8;
  }

  .footer-center {
    flex-wrap: wrap;
    justify-content: center;
  }

  .socials {
    justify-content: center;
  }
}
/* === MEJORAS PARA LA ENCUESTA === */
.encuesta {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.encuesta h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #00203F;
}

.encuesta-instrucciones {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.encuesta fieldset {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.encuesta legend {
  font-weight: 600;
  color: #00203F;
  padding: 0 10px;
  font-size: 1rem;
}

.encuesta .radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 5px;
}

.encuesta .radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
  padding: 5px 0;
}

.encuesta .radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.encuesta .radio-group label:hover {
  background: #f0ede8;
  border-radius: 4px;
  padding-left: 5px;
}

#respuestas-contador {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background: #e8e4dc;
  border-radius: 6px;
  font-weight: 500;
}

#respuestas-contador span {
  color: #0D1B2A;
  font-weight: 700;
}

/* Botón de la encuesta más visible */
.encuesta .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #C8B28C 0%, #B09870 50%, #A08860 100%);
  color: #0D1B2A;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(13, 27, 42, 0.4);
  border: 2px solid #B8A080;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

.encuesta .btn-primary:hover {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2F44 100%);
  color: #E6D7B8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(13, 27, 42, 0.55);
  border-color: #E6D7B8;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .encuesta {
    padding: 1.2rem;
    margin: 1rem;
  }
  
  .encuesta fieldset {
    padding: 1rem;
  }
  
  .encuesta .radio-group label {
    font-size: 0.95rem;
  }
  
  .encuesta .btn-primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
}
/* === ANIMACIÓN PARA EL BOTÓN === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === MEJORAS PARA LA ENCUESTA === */
.encuesta {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2rem;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.encuesta h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #00203F;
}

.encuesta-instrucciones {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.encuesta fieldset {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
}

.encuesta legend {
  font-weight: 600;
  color: #00203F;
  padding: 0 10px;
  font-size: 1rem;
}

.encuesta .radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 5px;
}

.encuesta .radio-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  margin: 0;
  cursor: pointer;
  padding: 5px 0;
}

.encuesta .radio-group input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

.encuesta .radio-group label:hover {
  background: #f0ede8;
  border-radius: 4px;
  padding-left: 5px;
}

#respuestas-contador {
  text-align: center;
  margin-top: 20px;
  padding: 10px;
  background: #e8e4dc;
  border-radius: 6px;
  font-weight: 500;
}

#respuestas-contador span {
  color: #0D1B2A;
  font-weight: 700;
}

/* Botón de la encuesta */
#boton-encuesta-container {
  text-align: center;
  margin-top: 30px;
}

#boton-encuesta-container .btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #C8B28C 0%, #B09870 50%, #A08860 100%);
  color: #0D1B2A;
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 25px rgba(13, 27, 42, 0.4);
  border: 2px solid #B8A080;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
}

#boton-encuesta-container .btn-primary:hover {
  background: linear-gradient(135deg, #0D1B2A 0%, #1A2F44 100%);
  color: #E6D7B8;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(13, 27, 42, 0.55);
  border-color: #E6D7B8;
}

#boton-encuesta-container .btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive */
@media (max-width: 768px) {
  .encuesta {
    padding: 1.2rem;
    margin: 1rem;
  }
  
  .encuesta fieldset {
    padding: 1rem;
  }
  
  .encuesta .radio-group label {
    font-size: 0.95rem;
  }
  
  #boton-encuesta-container .btn-primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
  }
}