.hero-section {
  padding-top: 52px;
  padding-bottom: 58px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 52px;
  align-items: stretch;
}

.hero-image-wrap {
  min-width: 0;
}

.hero-image-link {
  display: block;
}

.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 680px;
  object-fit: cover;
  border-radius: var(--radio);
  border: 1px solid rgba(120, 98, 82, 0.12);
  box-shadow: var(--sombra);
  background: rgba(255,255,255,0.35);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 a {
  font-size: clamp(40px, 4.8vw, 62px);
  margin-bottom: 20px;
}

.hero-copy p {
  font-size: 19px;
  max-width: 30em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 26px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  color: var(--rojo);
  font-size: 30px;
  font-family: Georgia, "Times New Roman", serif;
}

.hero-stats span {
  color: var(--cafe-texto-suave);
  font-size: 14px;
}

.search-section {
  padding-top: 20px;
  padding-bottom: 64px;
}

.search-copy {
  margin-bottom: 18px;
}

.search-copy h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

/* registro */

.register-section {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, #c91010 0%, #b80f0f 100%);
  color: var(--blanco);
  padding-top: 76px;
  padding-bottom: 76px;
}

.register-section .eyebrow {
  color: rgba(255, 244, 236, 0.78);
  letter-spacing: 0.16em;
}

.register-form-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: start;
}

.register-copy h2 {
  color: #fffaf6;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.06;
  margin-bottom: 12px;
}

.register-copy p {
  color: rgba(255, 245, 238, 0.88);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
}

.register-form {
  width: 100%;
}

.register-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.register-field {
  display: grid;
  gap: 8px;
}

.register-field-full {
  grid-column: 1 / -1;
}

.register-field label {
  color: rgba(255, 244, 236, 0.9);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.register-field input,
.register-field select,
.register-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 214, 214, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.10);
  color: var(--blanco);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.register-field input,
.register-field select {
  min-height: 50px;
  padding: 0 16px;
}

.register-field textarea {
  min-height: 130px;
  padding: 14px 16px;
  resize: vertical;
}

.register-field input::placeholder,
.register-field textarea::placeholder {
  color: rgba(255, 244, 236, 0.58);
}

.register-field select option {
  color: var(--negro);
}

.register-field input:focus,
.register-field select:focus,
.register-field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.38);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.register-actions {
  margin-top: 18px;
}

.register-actions .btn-primary {
  min-height: 56px;
  padding: 0 28px;
  color: #a30f0f;
  background: #fff8f3;
  border: 1px solid rgba(120, 20, 20, 0.18);
  box-shadow: 0 14px 28px rgba(120, 10, 10, 0.16);
}

.register-actions .btn-primary:hover {
  background: #fffdf9;
  color: #8f0f0f;
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .register-form-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .register-form-grid {
    grid-template-columns: 1fr;
  }

  .register-copy p {
    font-size: 17px;
  }

  .register-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }
}


/* frases */

.quote-slider-section {
  padding-top: 0;
  padding-bottom: 0;
}

.quote-slider-section-red {
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 32%),
    linear-gradient(180deg, #c91010 0%, #b80f0f 100%);
}

.quote-slider-red {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 18px;
  min-height: 280px;
  padding: 42px 0;
}

.quote-slider-track {
  position: relative;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
  padding: 0 10px;
}

.quote-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote-slide blockquote {
  margin: 0;
}

.quote-slide p {
  margin: 0;
  max-width: 100%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--blanco);
  text-wrap: balance;
}

.quote-slide footer {
  margin-top: 18px;
  color: rgba(255, 244, 236, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
}

.quote-slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--blanco);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.quote-slider-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
  box-shadow: 0 10px 22px rgba(88, 8, 8, 0.18);
  transform: translateY(-1px);
}

@media (max-width: 780px) {
  .quote-slider-red {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 12px;
    min-height: 260px;
    padding: 36px 0;
  }

  .quote-slider-track {
    min-height: 190px;
    overflow: visible;
  }

  .quote-slide {
    padding: 0 4px;
  }

  .quote-slide p {
    font-size: clamp(26px, 8.2vw, 38px);
    line-height: 1.18;
  }

  .quote-slide footer {
    margin-top: 14px;
    font-size: 11px;
  }

  .quote-slider-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .quote-slider-red {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
    min-height: 300px;
    padding: 34px 0;
  }

  .quote-slider-track {
    min-height: 220px;
  }

  .quote-slide p {
    font-size: clamp(24px, 8.8vw, 34px);
    line-height: 1.2;
  }

  .quote-slide footer {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  .quote-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}