/* ==========================================================================
   La Scuola del Vino Italiano — Puglia · The Experience Edition
   ========================================================================== */

:root {
  --red: #d9232c;
  --dark: #161616;
  --green: #0e8a4a;
  --border: #e8e8e8;
  --muted: #c6c6c6;
  --footer-bg: #efede9;
  --white: #ffffff;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --container-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: var(--font);
}

h1, h2, h3 {
  font-weight: 600;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
  text-align: center;
}

.btn-solid {
  background: var(--dark);
  color: var(--white);
}

.btn-solid:hover {
  opacity: 0.88;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  opacity: 0.88;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--dark);
  color: var(--dark);
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-red {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  padding: 6px 16px;
  font-size: 18px;
  border-radius: 10px;
}

.btn-outline-red:hover {
  background: var(--red);
  color: var(--white);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-narrow {
  display: flex;
  width: 260px;
  margin: 0 auto;
  border-radius: 10px;
}

#dataForm .btn-block {
  width: 30%;
  margin: 80px auto 0;
}

/* Flag stripe (decorative, top of every page)
   ========================================================================== */

.flag-stripe {
  display: flex;
  height: 5px;
}

.flag-stripe-steps {
  gap: 8px;
}

.flag-stripe-steps span {
  border-radius: 3px;
}

.flag-stripe span {
  flex: 1;
}

.flag-stripe .g { background: var(--green); }
.flag-stripe .w { background: var(--footer-bg); }
.flag-stripe .r { background: var(--red); }

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
  max-width: var(--container-width);
  margin: 0 auto;
}

.brand-logo {
  height: 70px;
  width: auto;
}

.brand-logo-lg {
  height: 68px;
}

.header-inner-drop {
  max-width: none;
  margin: 0;
  padding-top: 32px;
  padding-left: 100px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark);
  position: relative;
  padding: 4px 0;
  text-align: center;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--red);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
}

.nav-backdrop {
  display: none;
}

/* Footer
   ========================================================================== */

.site-footer {
  background: var(--footer-bg);
  padding: 28px 0;
  margin-top: 48px;
}

.site-footer.footer-flush {
  margin-top: 0;
}

.site-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--dark);
  text-align: center;
}

/* Onboarding
   ========================================================================== */

.onboarding-hero {
  position: relative;
}

.onboarding-hero picture,
.onboarding-hero img {
  width: 100%;
  display: block;
}

.onboarding-overlay {
  position: absolute;
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.onboarding-overlay p {
  font-size: 24px;
  font-weight: 500;
}

.onboarding-overlay .onboarding-subtitle {
  font-size: 40px;
  font-weight: 600;
  line-height: normal;
}

.onboarding-overlay .btn {
  margin-top: 16px;
  width: 60%;
  height: 60px;
  padding: 10px 40px;
  font-size: 24px;
  font-weight: 600;
}

/* Cards
   ========================================================================== */

.card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}

.card-accent {
  display: flex;
  height: 12px;
}

.card-accent span { flex: 1; }

.card-body {
  padding: 48px 70px 30px;
}

.card h2 {
  font-size: 35px;
  text-align: center;
  margin-bottom: 55px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin: 0 -20px;
  padding: 24px 20px;
  border-bottom: 2px solid #E0DACC;
  font-size: 16px;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-weight: 400;
  color: var(--dark);
}

.info-row dd {
  margin: 0;
  font-weight: 400;
}

.info-row.strong dt,
.info-row.strong dd {
  font-weight: 600;
}

dl.info-list {
  margin: 0;
}

.agenda-row {
  display: flex;
  gap: 80px;
  margin: 0 -20px;
  padding: 32px 20px;
  border-bottom: 2px solid #E0DACC;
}

.agenda-row:last-child {
  border-bottom: none;
}

.agenda-time {
  color: var(--red);
  font-weight: 500;
  font-size: 18px;
  width: 50px;
  flex-shrink: 0;
}

.agenda-desc {
  font-size: 16px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin: 32px 0;
}

/* Page generic
   ========================================================================== */

.page-hero {
  padding: 40px 0 8px;
}

.page-hero h1 {
  font-size: 28px;
  text-align: left;
}

.page-hero p {
  font-size: 16px;
}

.page-content {
  padding-bottom: 40px;
}

.passport-hero {
  margin-left: -100px;
}

.passport-card {
  max-width: 1000px;
  margin: 0 auto;
}

/* Sponsors
   ========================================================================== */

.sponsors-heading {
  font-size: 24px;
  margin: 130px 0 24px;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.sponsor-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}

.sponsor-logo-bi {
  display: block;
  max-height: 90px;
  width: auto;
  margin-bottom: 16px;
}

.sponsor-logo-air {
  display: block;
  max-height: 60px;
  width: auto;
  margin: 0 auto 90px;
}

.sponsor-logo-bold {
  display: block;
  max-height: 90px;
  width: auto;
  margin: 0 auto 62px;
}

.sponsor-logo-piu {
  display: block;
  max-height: 90px;
  width: auto;
  margin: 0 auto 63px;
}

.sponsor-logo-acqua {
  display: block;
  max-height: 150px;
  width: auto;
  margin: 0 auto 50px;
}

.sponsor-logo-up {
  display: block;
  max-height: 160px;
  width: auto;
  margin: 0 auto;
}

.sponsor-card--up {
  padding-top: 45px;
}

.sponsor-logo-pavalco {
  display: block;
  max-height: 150px;
  width: auto;
  margin: 0 auto 31px;
}

.sponsor-logo-alcazaren {
  display: block;
  max-height: 150px;
  width: auto;
  margin: 0 auto 53px;
}

.sponsor-card--alcazaren {
  padding-top: 65px;
}

.sponsor-card--centered {
  display: flex;
  justify-content: center;
  padding-top: 60px;
}

.sponsor-card--air {
  padding-top: 80px;
  padding-bottom: 90px;
}

.sponsor-card--air .sponsor-contact {
  font-size: 16px;
}

.sponsor-card--air .sponsor-contact li {
  justify-content: center;
  font-weight: 600;
}

.sponsor-card--air .sponsor-icon__network {
  width: 20px;
  height: 20px;
}

.sponsor-card--bold {
  padding-top: 55px;
}

.sponsor-card--bold .sponsor-contact {
  gap: 24px;
  width: fit-content;
  margin: 0 auto;
}

.sponsor-card--bold .sponsor-icon {
  width: 20px;
  height: 20px;
}

.sponsor-card--bold .sponsor-contact li a {
  font-weight: 600;
  font-size: 16px;
}

.sponsor-desc-air {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 70px;
}

.sponsor-desc-bold {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 32px;
}

.sponsor-desc-piu {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 30px;
}

.sponsor-desc-acqua {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 45px;
}

.sponsor-desc-pavalco {
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 45px;
}

.sponsor-desc-alcazaren {
  font-size: 16px;
  line-height: 1.5;
  margin: 0 0 29px;
}

.sponsor-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.sponsor-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sponsor-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  object-fit: contain;
  color: var(--dark);
}

.sponsor-icon__network {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.sponsor-brands {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sponsor-card--piu {
  padding-top: 90px;
  padding-bottom: 45px;
}

.sponsor-card--piu .sponsor-contact {
  width: fit-content;
  margin: 0 auto;
  gap: 18px;
  font-size: 16px;
  font-weight: 600;
}

.sponsor-card--piu .sponsor-icon {
  width: 20px;
  height: 20px;
}

.sponsor-card--acqua {
  padding-top: 50px;
}

.sponsor-card--acqua .sponsor-contact {
  width: fit-content;
  margin: 0 auto;
  font-size: 16px;
  font-weight: 600;
}

.sponsor-card--acqua .sponsor-icon__network {
  width: 20px;
  height: 20px;
}

.sponsor-card--pavalco {
  padding-top: 50px;
  padding-bottom: 40px;
}

.sponsor-card--pavalco .sponsor-contact {
  width: fit-content;
  margin: 0 auto;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
}

.sponsor-card--pavalco .sponsor-icon {
  width: 20px;
  height: 20px;
}

.sponsor-brands img {
  max-height: 32px;
  width: auto;
}

.sponsor-brands img.sponsor-brand-fantini {
  max-height: 15px;
}

.sponsor-brands img.sponsor-brand-aperol {
  max-height: 20px;
}

.sponsor-brands img.sponsor-brand-frangelico {
  max-height: 32px;
}

/* Registro (wizard)
   ========================================================================== */

.wizard-wrap {
  max-width: none;
  margin: 0;
  padding: 40px 100px 24px 100px;
}

.wizard-content {
  padding: 0 100px;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
}

.wizard-step h1 {
  font-size: 38px;
}

.wizard-step > p {
  color: var(--dark);
  font-size: 16px;
}

.wizard-content > p {
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-field {
  margin-bottom: 24px;
}

.form-grid .form-field {
  margin-bottom: 0;
}

.form-field label {
  display: block;
  font-size: 16px;
  margin-bottom: 10px;
}

.form-field input {
  width: 95%;
  padding: 16px;
  border: 1px solid var(--muted);
  font-family: var(--font);
  font-size: 16px;
  color: var(--dark);
  text-align: center;
}

.form-field input::placeholder {
  color: var(--muted);
}

.form-field input:focus {
  outline: none;
  border-color: var(--dark);
}

.confirm-box {
  border: 1px solid var(--muted);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.confirm-box input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--dark);
}

.confirm-box label {
  font-size: 16px;
}

.wizard-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Ticket
   ========================================================================== */

.ticket {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0;
}

.ticket-body {
  padding: 24px;
}

.ticket-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.ticket-code {
  font-size: 22px;
  font-weight: 600;
}

.ticket-title {
  text-align: right;
}

.ticket-title img {
  height: 26px;
  margin-left: auto;
}

.ticket-title span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

.ticket hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}

.ticket-info {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ticket-info div {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.ticket-info strong {
  display: block;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dark);
  margin-top: 4px;
  font-weight: 600;
}

.ticket-qr {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ticket-qr canvas {
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.ticket-access-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 4px;
}

.ticket-access-code {
  font-size: 22px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

.ticket-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.wizard-note {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--dark);
  margin-top: 24px;
}

/* Descubre — tabs
   ========================================================================== */

.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  border: 1px solid var(--muted);
  border-radius: 39px;
  background: none;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
}

.tab-btn.active {
  border-color: var(--dark);
  color: var(--dark);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.article-block {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.article-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-block h2 {
  font-size: 24px;
  margin-bottom: 20px;
}

.article-block img {
  border-radius: 10px;
  width: 100%;
  height: 260px;
  object-fit: cover;
  margin-bottom: 20px;
}

.article-block p {
  font-size: 16px;
  color: var(--dark);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.discover-article {
  max-width: 1000px;
  margin: 0 auto;
}

.discover-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

.discover-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 24px;
}

.discover-image--bottom {
  object-position: bottom;
}

.discover-image--grapes {
  object-position: 75% center;
}

.discover-section-title {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 32px;
}

.discover-lead {
  font-size: 16px;
  margin-bottom: 32px;
}

.discover-block {
  margin-bottom: 56px;
}

.discover-block p {
  font-size: 16px;
}

.discover-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 35px;
}

.discover-list {
  margin: 0 0 1em;
  padding-left: 22px;
  font-size: 16px;
}

.discover-list li {
  margin-bottom: 30px;
  line-height: 1.6;
}

.discover-list--nested {
  padding-left: 40px;
}

.discover-block .discover-indent {
  margin-left: 200px;
  max-width: 800px;
  font-size: 18px;
}

.discover-divider {
  border: none;
  border-top: 1px solid var(--border);
  width: 100%;
  margin: 48px auto;
}

/* Wine Experience
   ========================================================================== */

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

.stat-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 4px;
}

.wine-top-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.wine-top-row .card.ranking-card {
  flex: 1.1;
}

.wine-top-row .stat-grid {
  flex: 1;
  margin: 0;
  align-self: flex-start;
}

.stat-label {
  font-size: 16px;
}

.passport-steps {
  display: flex;
  flex-direction: column;
}

.passport-step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.passport-step:last-child {
  border-bottom: none;
}

.step-circle {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  border: 1px solid var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--muted);
  flex-shrink: 0;
}

.passport-step-body {
  flex: 1;
}

.passport-step-body p {
  margin: 0;
  font-size: 16px;
}

.passport-step-body span {
  font-size: 14px;
  color: var(--muted);
}

.reto-link {
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: none;
  padding: 5px 14px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}

.challenge-card {
  margin-top: 24px;
}

.challenge-card h3 {
  font-size: 24px;
  text-align: center;
}

.challenge-meta {
  font-size: 14px;
  margin-bottom: 12px;
}

.challenge-question {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
}

.challenge-question.regular {
  font-weight: 400;
}

.option-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--dark);
  background: none;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: var(--font);
}

.option-btn.correct {
  border-color: var(--green);
  background: rgba(14, 138, 74, 0.08);
}

.option-btn.incorrect {
  border-color: var(--red);
  background: rgba(217, 35, 44, 0.08);
}

.text-answer {
  width: 100%;
  border: 1px solid var(--muted);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 12px;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.match-btn {
  border: 1px solid var(--dark);
  background: none;
  padding: 10px;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
}

.match-btn.selected {
  background: var(--dark);
  color: var(--white);
}

.match-btn.matched {
  border-color: var(--green);
  color: var(--green);
  background: rgba(14, 138, 74, 0.08);
}

.challenge-feedback {
  font-size: 14px;
  margin-top: 8px;
  min-height: 20px;
}

.passport-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 60px;
  max-width: 560px;
  margin: 0 auto;
}

.passport-badge {
  width: 130px;
  text-align: center;
}

.passport-badge img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.passport-badge p {
  margin: 8px 0 0;
  font-size: 16px;
}

ol.ranking-list {
  list-style: decimal;
  margin: 0;
  padding-left: 24px;
}

.ranking-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 500;
}

.ranking-row:last-child {
  border-bottom: none;
}

.ranking-row span:last-child {
  color: var(--red);
  font-weight: 600;
}

/* Después
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
}

.content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #D6CDBB;
}

.content-row:last-child {
  border-bottom: none;
}

.content-row--spaced {
  margin-top: 24px;
}

.content-row p {
  margin: 0;
  font-size: 18px;
}

.rating-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.rating-row:last-of-type {
  border-bottom: none;
}

.rating-row p {
  margin: 0 0 10px;
  font-size: 18px;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.star-btn {
  display: inline-block;
  background: none;
  border: none;
  font-size: 72px;
  color: var(--border);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.star-btn:hover {
  color: var(--red);
  text-shadow: 0 0 16px var(--red);
}

.star-btn.suppress-hover:hover {
  color: var(--border);
  text-shadow: none;
}

.star-btn.filled {
  color: var(--red);
  text-shadow: 0 0 16px var(--red);
  animation: star-glow 0.35s ease;
}

@keyframes star-glow {
  0% {
    text-shadow: 0 0 0 rgba(217, 35, 44, 0);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 24px var(--red);
    transform: scale(1.3);
  }
  100% {
    text-shadow: 0 0 16px var(--red);
    transform: scale(1);
  }
}

.star-btn.unfilling {
  animation: star-glow-out 0.35s ease;
}

@keyframes star-glow-out {
  0% {
    text-shadow: 0 0 16px var(--red);
    transform: scale(1);
  }
  50% {
    text-shadow: 0 0 24px var(--red);
    transform: scale(1.3);
  }
  100% {
    text-shadow: 0 0 0 rgba(217, 35, 44, 0);
    transform: scale(1);
  }
}

.certificate-body {
  text-align: center;
}

.certificate-body h2 {
  margin-bottom: 24px;
}

.certificate-body .btn:hover {
  transform: scale(1.06);
}

.certificate-body p {
  font-size: 22px;
  margin-top: -4px;
  margin-bottom: 32px;
}

/* Experience edition
   ========================================================================== */

.ee-intro strong {
  display: block;
  font-size: 16px;
  margin-bottom: 12px;
}

.ee-intro p {
  font-size: 16px;
}

.ee-reveal {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  display: none;
}

.ee-reveal.shown {
  display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 640px) {
  .sponsor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .discover-image {
    height: 420px;
  }
}

@media (min-width: 860px) {
  .cards-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sponsor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .articles-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .article-block {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .discover-title {
    font-size: 36px;
  }

  .discover-image {
    height: 600px;
  }

  .wine-top-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .discover-subtitle {
    font-size: 26px;
  }

  .discover-section-title {
    font-size: 30px;
  }

  .match-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 780px) {
  .main-nav {
    position: fixed;
    top: 75px;
    right: 0;
    width: 280px;
    max-width: 80vw;
    height: calc(100vh - 75px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 28px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.06);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 20px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    top: 75px;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 20, 33, 0.4);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 780px) {
  .page-hero h1 {
    font-size: 32px;
  }

  .onboarding-overlay {
    left: auto;
    right: 6%;
    bottom: auto;
    top: 27%;
    transform: none;
    max-width: 40%;
    min-width: 654px;
  }

  .onboarding-overlay p:first-child {
    font-size: 40px;
    font-weight: 600;
  }
}
