
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
  --vino: #6b1d1d;
  --vino-oscuro: #421313;
  --dorado: #facc15;
  --crema: #fbf8f3;
  --texto: #292322;
  --gris: #706764;
  --borde: #e9e0d9;
  --sombra: 0 18px 48px rgba(54, 23, 19, .10);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--texto);
  font-family: 'DM Sans', Arial, sans-serif;
  line-height: 1.7;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }

.container {
  width: min(1160px, calc(100% - 44px));
  margin-inline: auto;
}

/* NAVEGACIÓN */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #eee5df;
}

.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: var(--dorado);
  background: var(--vino);
  border-radius: 14px;
  font-size: 20px;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand strong {
  color: var(--vino-oscuro);
  font-size: 15px;
}

.brand small {
  margin-top: 3px;
  color: var(--gris);
  font-size: 11px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li { position: relative; }

.menu > li > a,
.nav-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 12px;
  color: #403736;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.menu > li > a:hover,
.nav-dropdown:hover,
.menu > li > a[aria-current="page"] {
  color: var(--vino);
  background: #f8efed;
}

.nav-dropdown i { font-size: 10px; }

.submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: white;
  border: 1px solid var(--borde);
  border-radius: 15px;
  box-shadow: var(--sombra);
}

.dropdown:hover .submenu,
.dropdown:focus-within .submenu,
.dropdown.open .submenu { display: block; }

.submenu a {
  display: block;
  padding: 9px 12px;
  color: #554b48;
  border-radius: 8px;
  font-size: 13px;
}

.submenu a:hover {
  color: var(--vino);
  background: #fbf1ef;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #f8efed;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--vino);
  transition: .2s;
}

/* CINTA SUPERIOR */

.announcement {
  overflow: hidden;
  color: #fff7df;
  background: var(--vino-oscuro);
  border-bottom: 3px solid var(--dorado);
}

.announcement-content {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 10px 0;
  animation: marquee 34s linear infinite;
}

.announcement-content span {
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
}

.announcement-content i {
  margin-right: 8px;
  color: var(--dorado);
}

.announcement:hover .announcement-content {
  animation-play-state: paused;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* PORTADA */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 535px;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(40,10,10,.93), rgba(66,19,19,.77) 55%, rgba(66,19,19,.4)),
    url("img/ayuda-uno-porciento.jpg") center/cover no-repeat,
    var(--vino-oscuro);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30,9,9,.2), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--dorado);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 17px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.hero h1 span { color: var(--dorado); }

.hero p {
  max-width: 590px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.85);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.8;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.button:hover { transform: translateY(-2px); }

.button-gold {
  color: var(--vino-oscuro);
  background: var(--dorado);
  box-shadow: 0 9px 24px rgba(250,204,21,.2);
}

.button-gold:hover { background: #ffdc4d; }

.scroll-down {
  position: absolute;
  bottom: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--dorado);
  border: 1px solid rgba(250,204,21,.6);
  border-radius: 50%;
  transform: translateX(-50%);
}

/* SECCIONES Y TARJETAS */

.section { padding: 88px 0; }
.section-light { background: var(--crema); }

.section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.eyebrow-dark { color: var(--vino); }

.section-heading h2,
.motivation-copy h2 {
  margin: 12px 0;
  color: var(--vino-oscuro);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(30px, 4vw, 43px);
  line-height: 1.2;
}

.section-heading h2 span,
.motivation-copy h2 span { color: var(--vino); }

.section-heading p {
  margin: 0;
  color: var(--gris);
  font-size: 15px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.info-card {
  padding: 29px 26px;
  background: white;
  border: 1px solid #eee5de;
  border-radius: 22px;
  box-shadow: 0 9px 30px rgba(54,23,19,.035);
  transition: transform .25s, box-shadow .25s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sombra);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  color: var(--vino);
  background: #f8e9e5;
  border-radius: 16px;
  font-size: 21px;
}

.info-card h3 {
  margin: 0 0 12px;
  color: var(--vino-oscuro);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
}

.info-card p {
  margin: 0;
  color: var(--gris);
  font-size: 14px;
  line-height: 1.85;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 9px;
  color: var(--gris);
  font-size: 13px;
}

.check-list i {
  margin-top: 7px;
  color: #9c5b34;
  font-size: 11px;
}

/* INSCRIPCIÓN */

.signup-section {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--vino-oscuro);
}

.signup-grid {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 470px);
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.signup-copy h2 {
  max-width: 520px;
  margin: 17px 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.2;
}

.signup-copy > p {
  max-width: 510px;
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.9;
}

.signup-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px;
  color: #fff2bd;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(250,204,21,.2);
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.7;
}

.signup-note i {
  margin-top: 3px;
  color: var(--dorado);
  font-size: 19px;
}

.signup-form {
  padding: 31px;
  color: var(--texto);
  background: white;
  border-radius: 23px;
  box-shadow: 0 25px 70px rgba(0,0,0,.22);
}

.form-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 23px;
}

.form-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--vino);
  background: #f8e9e5;
  border-radius: 14px;
  font-size: 20px;
}

.form-heading h3 {
  margin: 0;
  color: var(--vino-oscuro);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
}

.form-heading p {
  margin: 1px 0 0;
  color: var(--gris);
  font-size: 12px;
}

.signup-form label {
  display: block;
  margin: 14px 0 6px;
  color: #493d39;
  font-size: 12px;
  font-weight: 700;
}

.signup-form label span { color: #b92d2d; }

.signup-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--texto);
  background: #fcfaf8;
  border: 1px solid #e8ded7;
  border-radius: 10px;
  outline: none;
  font-size: 13px;
}

.signup-form input:focus {
  border-color: #a65b4d;
  box-shadow: 0 0 0 3px rgba(107,29,29,.09);
}

.signup-form input::placeholder { color: #aaa09b; }

.input-prefix {
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #fcfaf8;
  border: 1px solid #e8ded7;
  border-radius: 10px;
}

.input-prefix:focus-within {
  border-color: #a65b4d;
  box-shadow: 0 0 0 3px rgba(107,29,29,.09);
}

.input-prefix > span {
  padding-left: 13px;
  color: var(--gris);
}

.input-prefix input {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.button-whatsapp {
  width: 100%;
  margin-top: 22px;
  color: white;
  background: #187b4c;
}

.button-whatsapp:hover { background: #11673e; }
.button-whatsapp i { font-size: 19px; }

.form-footnote {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 13px 0 0;
  color: #8a7e78;
  font-size: 10px;
}

/* SECCIÓN MOTIVACIONAL */

.motivation-section { background: white; }

.motivation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 90px);
}

.photo-gallery {
  position: relative;
  min-height: 420px;
}

.photo-gallery figure {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: #eee3da;
  border-radius: 22px;
  box-shadow: var(--sombra);
}

.photo-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.photo-gallery figure:hover img { transform: scale(1.04); }

.photo-main {
  top: 0;
  left: 0;
  width: 76%;
  height: 320px;
}

.photo-small {
  right: 0;
  bottom: 20px;
  width: 49%;
  height: 200px;
  border: 7px solid white;
}

.photo-caption {
  position: absolute;
  left: 15px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 290px;
  padding: 13px 16px;
  color: var(--vino-oscuro);
  background: var(--dorado);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(74,44,15,.12);
  font-size: 12px;
  font-weight: 700;
}

.photo-caption i { font-size: 18px; }

.motivation-copy p {
  color: var(--gris);
  font-size: 14px;
  line-height: 1.9;
}

.motivation-copy .highlight-text {
  padding-left: 16px;
  color: var(--vino);
  border-left: 3px solid var(--dorado);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 8px;
  color: var(--vino);
  font-size: 13px;
  font-weight: 700;
}

/* CIERRE Y PIE DE PÁGINA */

.closing-banner {
  padding: 34px 0;
  color: white;
  background: linear-gradient(110deg, var(--vino), #7d2c25);
}

.closing-content {
  display: flex;
  align-items: center;
  gap: 22px;
}

.closing-icon {
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--dorado);
  border: 1px solid rgba(250,204,21,.55);
  border-radius: 16px;
  font-size: 23px;
}

.closing-content > div { flex: 1; }

.closing-content h2 {
  margin: 0 0 3px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(21px, 3vw, 28px);
}

.closing-content p {
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}

.button-light {
  flex-shrink: 0;
  color: var(--vino-oscuro);
  background: white;
}

.site-footer {
  color: rgba(255,255,255,.76);
  background: #25100f;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding-block: 35px;
}

.brand-footer strong { color: white; }
.brand-footer small { color: #c5b6b1; }
.brand-footer .brand-icon {
  color: var(--vino-oscuro);
  background: var(--dorado);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
}

.social-links { display: flex; gap: 9px; }

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  transition: .2s;
}

.social-links a:hover {
  color: var(--vino-oscuro);
  background: var(--dorado);
  border-color: var(--dorado);
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-block: 15px;
  font-size: 10px;
}

.footer-bottom p { margin: 0; }
.footer-bottom strong { color: var(--dorado); }

/* BOTONES FLOTANTES */

.whatsapp-float {
  position: fixed;
  z-index: 900;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  color: white;
  background: #1da85b;
  border: 3px solid white;
  border-radius: 50px;
  box-shadow: 0 8px 26px rgba(0,0,0,.2);
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s;
}

.whatsapp-float i { font-size: 22px; }
.whatsapp-float:hover { transform: translateY(-3px); }

.back-to-top {
  position: fixed;
  z-index: 850;
  right: 29px;
  bottom: 88px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--vino);
  background: white;
  border: 1px solid var(--borde);
  border-radius: 50%;
  box-shadow: 0 5px 18px rgba(0,0,0,.12);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* TABLET Y MENÚ MÓVIL */

@media (max-width: 980px) {
  .navbar { min-height: 74px; }
  .hamburger { display: block; flex-shrink: 0; }

  .menu {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
    width: min(350px, 88vw);
    padding: 22px;
    overflow-y: auto;
    background: white;
    box-shadow: -15px 20px 35px rgba(0,0,0,.13);
    transform: translateX(105%);
    transition: transform .25s ease;
  }

  .menu.active { transform: translateX(0); }

  .menu > li > a,
  .nav-dropdown {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 13px 14px;
    text-align: left;
  }

  .submenu {
    position: static;
    min-width: 0;
    margin: 2px 0 8px;
    padding: 4px 8px 4px 13px;
    border: 0;
    border-left: 2px solid #ecd5ce;
    border-radius: 0;
    box-shadow: none;
  }

  .dropdown:hover .submenu { display: none; }
  .dropdown.open .submenu,
  .dropdown:focus-within .submenu { display: block; }

  .hamburger[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }

  .hamburger[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .info-grid { gap: 14px; }
  .info-card { padding: 24px 20px; }
  .signup-grid { gap: 35px; }
  .motivation-grid { gap: 38px; }
}

/* CELULARES */

@media (max-width: 720px) {
  .container { width: calc(100% - 34px); }

  .announcement-content { gap: 30px; }
  .announcement-content span { font-size: 11px; }

  .hero { min-height: 480px; background-position: 58% center; }
  .hero-content { padding-block: 65px; }
  .hero h1 { font-size: clamp(44px, 12vw, 64px); }
  .hero p { font-size: 15px; }

  .section { padding: 64px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2,
  .motivation-copy h2 { font-size: 32px; }

  .info-grid,
  .signup-grid,
  .motivation-grid { grid-template-columns: 1fr; }

  .info-card { padding: 24px; }
  .signup-copy h2 { font-size: 35px; }
  .signup-form { padding: 24px 20px; }

  .photo-gallery {
    min-height: 340px;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }

  .photo-main { height: 265px; }
  .photo-small { height: 165px; }

  .closing-content {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
  }

  .closing-content > div { flex-basis: calc(100% - 75px); }
  .closing-content .button { margin-left: 69px; }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 30px;
  }

  .footer-social {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .whatsapp-float span { display: none; }
  .back-to-top { right: 21px; bottom: 75px; }
}

@media (max-width: 390px) {
  .brand strong { font-size: 13px; }
  .brand-icon { width: 40px; height: 40px; }
  .hero h1 { font-size: 42px; }
  .signup-form { padding: 21px 16px; }
  .photo-gallery { min-height: 305px; }
  .photo-main { height: 230px; }
  .photo-small { height: 145px; }
  .photo-caption { left: 5px; font-size: 10px; }
}
