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

@font-face {
  font-family: "Banamex Display";
  src: url("../fonts/BanamexDisplay-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Banamex Display";
  src: url("../fonts/BanamexDisplay-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --color-text: #052a36;
  --color-muted: #475569;
  --color-accent: #f40035;
  --color-primary: #052a36;
  --color-secondary: #f40035;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --max-width: 1000px;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
}

body {
  font-family: "Banamex Display", "Helvetica Neue", Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

a:hover,
a:focus-visible {
  color: var(--color-secondary);
}

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

.container {
  width: min(100% - 2 * var(--space-3), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: relative;
  min-height: 100vh;
  padding: var(--space-5) 0;
  background: url("../img/CopadeArte_2.jpg") center / cover no-repeat;
  color: #fff;
}

.site-header .container {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 2 * var(--space-5));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  z-index: 1;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin-top: 48px;
  padding-left: 24px;
}


.hero-text {
  position: relative;
  padding-left: 24px;
}

.hero-shape {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(944px, 127vw);
  height: auto;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .site-header {
    background: url("../img/CopadeArte_m.jpg") center / cover no-repeat;
  }

  .hero-text {
    padding: 16px 20px 20px;
  }

  .hero-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f82744;
    border-radius: 28px;
    z-index: 0;
  }

  .hero-note {
    margin-top: 0;
    padding-top: 24px;
  }

  .lead {
    margin-bottom: 46px;
  }

  .hero-actions {
    margin-top: 12px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .hero-shape {
    content: url("../img/red_square_m.svg");
    top: calc(50% - 42px);
    width: min(968px, 127vw);
    height: 70vh;
    display: none;
  }
}

.hero-text h1,
.hero-text .lead,
.hero-text .hero-note {
  position: relative;
  z-index: 1;
}

.site-header__brand {
  position: absolute;
  top: 0;
  left: max(var(--space-3), calc((100% - var(--max-width)) / 2));
  z-index: 2;
}

@media (max-width: 767px) {
  .site-header__brand {
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
  }
}

.site-header__brand-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: #fff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: var(--shadow);
}

.site-header__brand-logo {
  display: block;
  max-height: 36px;
  width: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #fff;
  margin-bottom: var(--space-2);
}

h1 {
  font-weight: 700;
  font-size: clamp(3rem, 5vw, 4.375rem);
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.lead {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  margin-bottom: var(--space-3);
  max-width: 560px;
}

.hero-note {
  font-size: 12px;
  font-style: italic;
  color: #fff;
  margin-top: -32px;
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #041f29;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.section {
  padding: var(--space-5) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.invitation-content {
  position: relative;
  max-width: 760px;
}

@media (min-width: 800px) {
  .invitation-content {
    margin-top: 6px;
  }
}

.invitation-shape {
  position: absolute;
  left: 0;
  top: 50%;
  width: min(840px, 135vw);
  height: auto;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .invitation-content {
    margin-left: auto;
    margin-right: auto;
  }

  .invitation-shape {
    content: url("../img/blue_square_m.svg");
    width: 100vw;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .invitation-text {
    min-height: 70vw;
    width: 100%;
    margin-left: 0;
    padding-top: 58px;
  }

  .invitation-highlight {
    padding-left: -36px;
  }
  /* Mobile: center text/shape vertically */

  .invitation-content .invitation-secondary {
    margin-top: calc(var(--space-5) + var(--space-4));
  }

  .button,
  .download-button {
    border-radius: 20px !important;
    text-align: center;
    justify-content: center;
  }

  #invitacion .download-button {
    width: 280px;
    justify-content: center;
  }
}

.invitation-text {
  position: relative;
  z-index: 1;
  padding-left: 36px;
  min-height: clamp(260px, 30vw, 420px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 800px) {
  .invitation-text {
    min-height: clamp(300px, 30vw, 460px);
  }

  .invitation-shape {
    top: 50%;
    transform: translateY(-50%);
  }
}

.invitation-highlight {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 24px 28px;
  transform: translateY(-30px);
}

.invitation-secondary {
  margin-top: var(--space-2);
  color: var(--color-secondary);
  opacity: 1;
  padding-left: 20px;
}

.section .invitation-secondary {
  color: var(--color-secondary);
}

h2 {
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.section p {
  color: var(--color-muted);
  font-size: 1.5rem;
  margin-bottom: var(--space-2);
  max-width: 720px;
}

.section .invitation-highlight {
  color: #fff;
}

#faq h2 {
  font-size: 2rem;
  color: var(--color-primary);
}

#faq details {
  background: #fff;
  padding: var(--space-2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
}

#faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--color-primary);
}

#faq p,
#faq ul,
#faq li {
  font-size: 1.2rem;
  color: var(--color-primary);
}

#faq p {
  margin-top: var(--space-1);
}

#faq ul {
  margin-top: var(--space-1);
  padding-left: var(--space-3);
}

#faq li {
  margin-bottom: 6px;
}

.download-list {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.2rem;
}

#invitacion .download-list {
  padding-left: 24px;
}

@media (min-width: 768px) {
  .download-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.download-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--color-secondary);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.download-button:hover,
.download-button:focus-visible {
  background: #cc002c;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
}

.site-footer {
  padding: var(--space-3) 0;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
}
