/* ============================================
   Impulsando con Hechos
   https://impulsandoconhechos.online/
   Paleta vino / guinda / gris / blanco
   ============================================ */

:root {
  --accent: #611232;
  --accent-soft: #EEEEEE;
  --accent-deep: #3A0B1F;
  --ink: #3A0B1F;
  --ink-soft: #7A5360;
  --paper: #EEEEEE;
  --white: #FFFFFF;
  --line: #D8D8D8;
  --sand: #EEEEEE;
  --success: #2D6A4F;
  --error: #9B2C2C;
  --gold: #F5C518;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Figtree", system-ui, sans-serif;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(58, 11, 31, 0.16);
  --header-h: 84px;
  --transition: 0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { color: var(--ink); }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  font-weight: 800;
}
.skip-link:focus { top: 1rem; }

.center { text-align: center; }
.light { color: var(--white); }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--accent-deep);
  border-bottom: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
}
.logo:hover { color: var(--white); }
.header .logo__name { color: var(--white); }
.header .logo__name--accent { color: var(--gold); }
.logo__mark { width: 48px; height: 48px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.logo__name--accent { color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--white);
  display: block;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  display: block;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--white);
  border-radius: 999px;
}
.nav__link:hover,
.nav__link.active { background: var(--white); color: var(--accent-deep); }
.nav__link--cta {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid rgba(255, 255, 255, 0.55);
  margin-left: 0.4rem;
}
.nav__link--cta:hover,
.nav__link--cta.active { background: var(--white); color: var(--accent-deep) !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn--accent {
  background: var(--accent);
  color: var(--white) !important;
  border-color: var(--accent);
}
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--gold {
  background: var(--gold);
  color: var(--accent-deep) !important;
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--white); border-color: var(--white); color: var(--accent-deep) !important; }
.btn--ghost {
  background: transparent;
  color: var(--ink) !important;
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white) !important; }
.btn--ghost-dark {
  margin-top: 1.2rem;
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--full { width: 100%; }

.hero {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(97, 18, 50, 0.14), transparent 42%),
    var(--white);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}
.eyebrow--accent { color: var(--accent-soft); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.hero__tagline {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
  margin-bottom: 1rem;
}

.hero__lead,
.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 640px;
}

.lead.center,
.eyebrow.center { margin-left: auto; margin-right: auto; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero__visual { position: relative; }
.hero__photo {
  min-height: 420px;
  border-radius: 28px;
  background: var(--photo) center / cover no-repeat, var(--ink);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
}
.hero__badge svg { width: 36px; height: 36px; }

.section { padding: 5rem 0; }
.section--warm { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.beliefs { margin-top: 1.4rem; }
.beliefs li {
  padding: 0.7rem 0 0.7rem 1.4rem;
  position: relative;
  font-weight: 600;
}
.beliefs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.photo-card__img {
  min-height: 320px;
  border-radius: var(--radius);
  background: var(--photo) center / cover no-repeat, var(--ink);
}
.photo-card figcaption {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.checks {
  display: grid;
  gap: 0.7rem;
  max-width: 720px;
  margin: 2rem auto 0;
}
.checks li {
  padding: 0.95rem 1.1rem 0.95rem 2.6rem;
  background: var(--paper);
  border-radius: 12px;
  position: relative;
  font-weight: 600;
}
.checks li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--accent-deep);
  font-weight: 800;
}

.motto {
  text-align: center;
  margin-top: 1.8rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-deep);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.2rem 0 2rem;
}
.reasons article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(238, 238, 238, 0.28);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.reasons h3 {
  font-family: var(--font-display);
  color: var(--accent-soft);
  margin-bottom: 0.45rem;
}
.reasons p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; }

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 0.9rem;
  margin-top: 2rem;
}
.gallery__item {
  min-height: 240px;
  border-radius: var(--radius);
  background: var(--photo) center / cover no-repeat, var(--ink);
}
.gallery__item:first-child { min-height: 280px; }

.palette {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.2rem;
}
.palette article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem;
  text-align: center;
}
.swatch {
  display: block;
  width: 100%;
  height: 72px;
  border-radius: 10px;
  margin-bottom: 0.9rem;
  border: 1px solid var(--line);
}
.swatch--light { background: var(--accent); }
.swatch--deep { background: var(--ink); }
.swatch--ink { background: var(--paper); }
.swatch--paper { background: var(--white); }
.palette h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}
.palette p { font-size: 0.9rem; color: var(--ink-soft); }

.registro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-form,
.form-success {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.05rem; }
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(97, 18, 50, 0.22);
}
.form-group input.error,
.form-group select.error { border-color: var(--error); }
.form-group--checkbox {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-start;
}
.form-group--checkbox input { width: auto; margin-top: 0.25rem; }
.form-group--checkbox label { flex: 1; font-weight: 400; }
.form-error {
  display: block;
  min-height: 0.95rem;
  color: var(--error);
  font-size: 0.78rem;
  margin-top: 0.2rem;
}
.form-note {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}
.form-success { text-align: center; padding: 3rem 2rem; }
.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.help {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 2.5rem 0;
}
.help__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  margin-top: 2rem;
}
.principles article {
  padding: 1.4rem 1.1rem;
  border-top: 4px solid var(--accent);
  background: var(--paper);
  border-radius: 0 0 12px 12px;
}
.principles h3 {
  font-family: var(--font-display);
  margin-bottom: 0.4rem;
}
.principles p { font-size: 0.92rem; color: var(--ink-soft); }

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 4.5rem 0;
}
.cta-band h2 { max-width: 760px; margin: 0 auto 1rem; }
.cta-band p { max-width: 640px; margin: 0 auto 1.6rem; color: rgba(255,255,255,0.82); }
.cta-band__motto {
  margin-top: 1.6rem !important;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-soft) !important;
}

.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 3rem 0 2rem;
}
.footer a { color: var(--accent-soft); }
.footer a:hover { color: var(--white); }
.footer .logo__name { color: var(--white); }
.footer .logo__name--accent { color: var(--gold); }
.footer__brand { margin-bottom: 1.4rem; }
.footer__brand p { margin-top: 0.7rem; }
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.footer__copy { font-size: 0.85rem; }
.footer__disclaimer {
  margin-top: 1.4rem;
  padding: 0.9rem 1rem;
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.78rem;
  border-radius: 10px;
}

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 900;
}

@media (max-width: 1024px) {
  .hero__grid,
  .split,
  .registro,
  .palette,
  .principles { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--accent-deep);
    border-bottom: none;
    padding: 0.8rem 1.2rem 1.2rem;
  }
  .nav.open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__link--cta { margin-left: 0; text-align: center; }
  .hero__grid,
  .split,
  .registro,
  .reasons,
  .gallery,
  .palette,
  .principles,
  .form-row { grid-template-columns: 1fr; }
  .help__inner { flex-direction: column; align-items: flex-start; }
  .logo__text { display: none; }
}
