/* ==========================================================================
   1. VARIABLES, REINICIO Y ESTILOS BASE
   ========================================================================== */
:root {
  --black: #1a1a1a;
  --white: #ffffff;
  --accent: #c11c3a;
  --gray: #f4f4f4;
  --font-main: 'Helvetica', 'Arial', sans-serif;
  --font-headings: 'Helvetica', 'Arial', sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: var(--font-main);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.page-content {
  flex: 1;
}

.container {
  max-width: 1000px;
  width: 100%;
  margin: auto;
  padding: 1rem 2rem;
  box-sizing: border-box;
}
/* ==========================================================================
   2. CABECERA Y NAVEGACIÓN
   ========================================================================== */
.header {
  background-color: var(--white);
  padding: 0.8rem 0;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #e0e0e0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

.logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 600;
}

.logo-img {
  max-height: 70px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

.btn-contact {
  background: var(--accent);
  color: var(--white);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}
.btn-contact:hover {
  background-color: #a81832;
  color: var(--white);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--black);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

/* ==========================================================================
   3. SECCIÓN Y FORMULARIO DE UNSUBSCRIBE
   ========================================================================== */
.unsubscribe-main {
  padding: 3rem 0;
  background-color: var(--gray);
  min-height: calc(100vh - 250px);
  display: flex;
  align-items: center;
}

.unsubscribe-card {
  background: var(--white);
  max-width: 650px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.unsubscribe-card h1 {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  color: var(--black);
  margin-top: 0;
  margin-bottom: 0.8rem;
  text-align: center;
}

.unsubscribe-card h2 {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.unsubscribe-card p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1.8rem;
  text-align: center;
}

.unsubscribe-form {
  width: 100%;
}


.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  box-sizing: border-box;
  background-color: #fff;
  color: #333;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.recaptcha-wrapper {
  margin: 15px 0;
  display: flex;
  justify-content: center;
}

.btn-submit {
  background-color: #d8838a; /* Color rosa/rojizo suave como en la captura */
  color: #ffffff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 2.2rem;
  border: none;
  border-radius: 50px; /* Bordes redondeados formato pastilla */
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease, opacity 0.3s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background-color: #c67178; /* Tono un poco más oscuro al pasar el ratón */
}

/* Estado deshabilitado (cuando falta completar campos) */
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .btn-submit {
    width: 100%; /* En móvil ocupa todo el ancho */
  }
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
.footer {
  background: var(--black);
  color: var(--white);
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
}

.footer p {
  margin-bottom: 0.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  margin: 0 4px;
}

.footer a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   5. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    gap: 1rem;
    align-items: center;
  }

  .nav-menu.show {
    display: flex;
  }

  .logo-img {
    max-height: 50px;
  }

  .unsubscribe-main {
    padding: 1.5rem 0;
  }

  .unsubscribe-card {
    padding: 1.5rem;
  }

  .unsubscribe-card h1 {
    font-size: 1.8rem;
  }

  .unsubscribe-card h2 {
    font-size: 1rem;
  }
}


