﻿:root {
  --bg: #061a24;
  --bg-soft: #0d2430;
  --panel: rgba(11, 29, 39, 0.82);
  --panel-strong: rgba(8, 24, 34, 0.95);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f7f7;
  --muted: #bdd1d4;
  --green: #12e06e;
  --green-soft: #67e98a;
  --coral: #ff625d;
  --red: #ff625d;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Urbanist", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 98, 93, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(18, 224, 110, 0.14), transparent 24%),
    linear-gradient(180deg, #04141d 0%, #061a24 40%, #071c28 100%);
  background-attachment: fixed;
}

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

.page-shell {
  width: 100%;
  margin: 0;
  padding: 24px 0 48px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 1000;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px 20px;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(6, 26, 36, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.brand {
  display: block;
  width: 188px;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 0.98rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 999px;
}

.site-nav a.active {
  background: linear-gradient(90deg, rgba(255, 98, 93, 0.3), rgba(18, 224, 110, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.015);
}

.site-nav a,
.header-cta,
.button,
.faq-question {
  transition: 0.28s ease;
}

.site-nav a:hover,
.header-cta:hover,
.button:hover,
.faq-question:hover {
  transform: translateY(-1px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0.08);
  color: var(--white);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.button-secondary {
  background: transparent;
}

.header-cta:hover,
.button:hover {
  background: linear-gradient(90deg, var(--coral), var(--green));
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(18, 224, 110, 0.14);
}

.button-gradient {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: 0 12px 30px rgba(18, 224, 110, 0.18);
}

.button-gradient::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 98, 93, 1), rgba(18, 224, 110, 1));
  z-index: -1;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  min-height: 48vh;
  position: relative;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(rgba(6, 26, 36, 0.72), rgba(6, 26, 36, 0.78)),
    radial-gradient(circle at 50% 78%, rgba(255, 98, 93, 0.26), transparent 22%),
    radial-gradient(circle at 50% 100%, rgba(18, 224, 110, 0.24), transparent 28%),
    url("https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&w=1600&q=80");
  background-size: cover, auto, auto, cover;
  background-position: center;
  box-shadow: var(--shadow);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(4, 20, 29, 0.92));
  pointer-events: none;
}

.hero-copy {
  align-self: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
  line-height: 1;
  max-width: 12.5ch;
  margin-bottom: 14px;
  font-weight: 400;
  text-transform: uppercase;
  display: grid;
  gap: 4px;
}

h1 span {
  display: block;
}

h2 {
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin-bottom: 0;
  font-weight: 400;
}

h3,
.hero-event strong,
.ticket-price,
.stats-band strong,
.agenda-day h3 {
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-weight: 400;
}

.hero-lead,
.about-copy p,
.about-panel p,
.agenda-location,
.agenda-note,
.speaker-card p,
.speaker-card span,
.ticket-card p,
.faq-answer p,
.footer-grid p,
.tickets-support p,
.footer-copy {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.68;
}

.hero-lead {
  text-align: justify;
  max-width: 62ch;
}

.motto {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0 6px;
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.motto span {
  padding: 0;
  border: 0;
  background: transparent;
}

.motto-red {
  color: var(--red);
}

.motto-green {
  color: var(--green);
}

.motto-white {
  color: var(--white);
}

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.hero-points li,
.ticket-badge {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.hero-points li {
  padding: 0;
  border: 0;
  background: transparent;
}

.hero-point-link {
  display: block;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.hero-point-link:hover {
  background: linear-gradient(90deg, rgba(255, 98, 93, 0.95), rgba(18, 224, 110, 0.95));
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(18, 224, 110, 0.18);
  transform: translateY(-1px);
}

.hero-visual {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.7;
}

.glow-green {
  width: 230px;
  height: 230px;
  top: 30px;
  right: 10px;
  background: rgba(18, 224, 110, 0.42);
}

.glow-coral {
  width: 240px;
  height: 240px;
  bottom: 10px;
  left: 20px;
  background: rgba(255, 98, 93, 0.34);
}

.hero-card {
  position: relative;
  width: min(100%, 260px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 98, 93, 0.18), transparent 34%),
    linear-gradient(315deg, rgba(18, 224, 110, 0.16), transparent 38%),
    rgba(8, 26, 37, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
  justify-self: center;
}

.site-nav.open {
  z-index: 1001;
}

.hero-year {
  font-size: clamp(3.1rem, 6.2vw, 4.4rem);
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.14);
}

.hero-event {
  display: grid;
  gap: 4px;
  margin: 12px 0 16px;
}

.hero-event span {
  color: var(--green);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-event strong {
  font-size: clamp(1.2rem, 1.8vw, 1.7rem);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hero-details div,
.about-panel,
.speaker-card,
.ticket-card,
.faq-item,
.stats-band article,
.agenda-day,
.location-card,
.pillar-chip {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.hero-details div {
  padding: 14px;
}

.hero-details span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.hero-details strong {
  font-size: 1.15rem;
}

.stats-band,
.speaker-grid,
.ticket-grid,
.footer-grid,
.event-pillars-grid,
.location-grid,
.hotel-grid {
  display: grid;
  gap: 18px;
}

.stats-band {
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 54px;
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.stats-band article {
  padding: 24px;
}

.stats-band strong {
  display: block;
  font-size: 2.1rem;
  color: var(--green);
  margin-bottom: 10px;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 40px 0 48px;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-cta {
  margin-top: 24px;
}

.about-grid,
.agenda-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.about-panel,
.pillar-chip,
.speaker-card,
.ticket-card,
.faq-item,
.agenda-day,
.location-card {
  padding: 24px;
}

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

.pillar-chip h3 {
  margin-bottom: 12px;
}

.pillar-chip p {
  margin-bottom: 0;
}

.pillar-chip-green {
  background: linear-gradient(180deg, rgba(18, 224, 110, 0.16), rgba(255, 255, 255, 0.03));
}

.pillar-chip-green h3 {
  color: var(--green);
}

.pillar-chip-red {
  background: linear-gradient(180deg, rgba(255, 98, 93, 0.16), rgba(255, 255, 255, 0.03));
}

.pillar-chip-red h3 {
  color: var(--red);
}

.pillar-chip-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.pillar-chip-white h3 {
  color: var(--white);
}

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

.speaker-card,
.ticket-card {
  display: grid;
  gap: 10px;
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.speaker-photo {
  width: 100%;
  margin-bottom: 6px;
  transition: transform 0.35s ease;
}

.speaker-photo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
}

.speaker-card-mystery {
  gap: 14px;
}

.speaker-blur {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.speaker-blur span {
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  filter: blur(4px);
}

.speaker-card:hover {
  transform: translateY(-8px);
  border-color: rgba(18, 224, 110, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 98, 93, 0.08), transparent 40%),
    linear-gradient(0deg, rgba(18, 224, 110, 0.08), transparent 40%),
    var(--panel);
}

.speaker-card:hover .speaker-photo {
  transform: translateY(-2px);
}

.speaker-card:hover .speaker-blur {
  border-color: rgba(18, 224, 110, 0.22);
  background: rgba(255, 255, 255, 0.07);
}

.section-highlight {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 36px;
  background:
    linear-gradient(90deg, rgba(255, 98, 93, 0.12), transparent 24%),
    linear-gradient(270deg, rgba(18, 224, 110, 0.12), transparent 24%),
    rgba(10, 28, 39, 0.72);
}

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

.featured {
  background:
    linear-gradient(145deg, rgba(255, 98, 93, 0.14), transparent 45%),
    linear-gradient(325deg, rgba(18, 224, 110, 0.14), transparent 45%),
    rgba(8, 26, 37, 0.92);
}

.ticket-price {
  font-size: 2rem;
  margin: 18px 0;
  color: var(--white);
}

.ticket-price sup {
  font-size: 0.9rem;
  vertical-align: top;
  margin-left: 2px;
}

.ticket-features {
  padding-left: 0;
  list-style: none;
  margin: 0;
}

.ticket-card .button {
  align-self: end;
  margin-top: auto;
}

.ticket-note {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-note strong {
  color: var(--white);
  font-weight: 800;
}

.ticket-payment-image {
  width: 100%;
  max-width: 160px;
  height: auto;
  margin-top: 10px;
  border-radius: 12px;
}

.ticket-features li {
  position: relative;
  padding: 0 0 0 30px;
  line-height: 1.82;
  color: var(--muted);
}

.ticket-features li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}

.ticket-features li.yes::before {
  content: "✓";
  color: var(--green);
}

.ticket-features li.no::before {
  content: "✕";
  color: var(--red);
}

.ticket-features-spacious li {
  padding-left: 34px;
  padding-right: 18px;
}

.ticket-features-spacious li strong {
  color: var(--white);
  font-weight: 800;
}

.ticket-card-normal {
  border-color: rgba(18, 224, 110, 0.32);
}

.ticket-card-double {
  border-color: rgba(255, 98, 93, 0.32);
  background: linear-gradient(145deg, rgba(255, 98, 93, 0.12), rgba(255, 255, 255, 0.03));
}

.ticket-card-vip {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
}

.ticket-card-normal .ticket-price,
.ticket-card-normal h3 {
  color: var(--green);
}

.ticket-card-double .ticket-price,
.ticket-card-double h3 {
  color: var(--red);
}

.ticket-card-vip .ticket-price,
.ticket-card-vip h3 {
  color: var(--white);
}

.tickets-support a,
.footer-grid a,
.footer-contact-list a {
  color: inherit;
}

.agenda-poster {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255, 98, 93, 0.16), transparent 28%),
    linear-gradient(270deg, rgba(18, 224, 110, 0.16), transparent 28%),
    var(--panel-strong);
  width: 100%;
}

.agenda-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.agenda-topline strong {
  padding-left: 16px;
  border-left: 2px solid rgba(255, 255, 255, 0.22);
  text-transform: uppercase;
}

.agenda-location {
  margin-bottom: 20px;
}

.agenda-columns {
  display: grid;
  gap: 16px;
}

.agenda-columns-single {
  grid-template-columns: 1fr;
}

.agenda-day h3 {
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.agenda-day ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.agenda-day li span {
  color: var(--green-soft);
  font-weight: 700;
}

.agenda-note {
  margin-top: 18px;
  font-size: 0.95rem;
}

.location-grid {
  grid-template-columns: 1fr;
  align-items: start;
  gap: 22px;
}

.hotel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}

.location-card {
  display: grid;
  gap: 10px;
  padding: 28px 30px;
}

.venue-card {
  width: 100%;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  align-items: stretch;
  gap: 24px;
}

.venue-card-content {
  display: grid;
  gap: 10px;
  align-content: start;
}

.venue-card-content .button {
  justify-self: start;
}

.venue-card-media {
  min-width: 0;
  min-height: 100%;
  display: flex;
}

.venue-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.hotel-card {
  align-content: start;
  grid-template-rows: auto auto auto 1fr auto;
}

.hotel-card p,
.hotel-card h3,
.hotel-card li {
  text-align: left;
}

.location-card p,
.location-card h3 {
  padding-right: 10px;
}

.location-card .ticket-features {
  margin-top: 4px;
}

.location-card .button {
  margin-top: 6px;
}

.map-section {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.map-frame {
  position: relative;
  z-index: 1;
}

.venue-map {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.leaflet-container {
  font-family: "Urbanist", sans-serif;
  background: #0b1d27;
  z-index: 1;
}

.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
  z-index: 10;
}

.map-marker {
  position: relative;
  width: 26px;
  height: 26px;
  transform: rotate(-45deg);
  border-radius: 50% 50% 50% 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
}

.map-marker::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
}

.map-marker--event {
  width: 34px;
  height: 34px;
  background: var(--green);
}

.map-marker--event::after {
  inset: 9px;
  background: rgba(255, 255, 255, 0.96);
}

.map-marker--melia {
  background: var(--red);
}

.map-marker--afonso {
  background: #4da3ff;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: rgba(6, 26, 36, 0.96);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.leaflet-popup-content {
  margin: 14px 16px;
  font-family: "Urbanist", sans-serif;
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 4px;
}

.leaflet-popup-content a {
  color: var(--green-soft);
}

.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.map-link-event {
  color: var(--green) !important;
}

.map-link-melia {
  color: var(--red) !important;
}

.map-link-afonso {
  color: #4da3ff !important;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.15rem;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: "Urbanist", sans-serif;
  font-weight: 700;
}

.faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--green);
}

.faq-item.active .faq-question::after {
  content: "–";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.active .faq-answer {
  max-height: 1200px;
  margin-top: 16px;
}

.faq-item-contact .faq-question::after {
  content: "→";
  color: var(--red);
}

.faq-item-contact.active .faq-question::after {
  content: "–";
}

.site-footer {
  display: grid;
  gap: 24px;
  margin-top: 36px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(6, 24, 34, 0.94);
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.site-footer-rich {
  text-align: center;
  justify-items: center;
  gap: 16px;
}

.footer-logo {
  width: min(220px, 60vw);
  height: auto;
}

.footer-lead {
  font-family: "Rounded Elegance", "Trebuchet MS", sans-serif;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  color: var(--white);
  margin: 0;
}

.footer-copy {
  max-width: 760px;
  margin: 0;
}

.footer-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}

.footer-ticket-button {
  min-width: 220px;
}

.footer-grid {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 10px;
  width: 100%;
}

.footer-company {
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-links-stack {
  display: grid;
  gap: 8px;
  justify-items: center;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.footer-legal-links a:first-child,
.footer-legal-links a:last-child {
  color: var(--green);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(2, 10, 16, 0.72);
  backdrop-filter: blur(12px);
  z-index: 3000;
}

.modal-overlay.open {
  display: grid;
}

.ticket-modal {
  position: relative;
  width: min(100%, 640px);
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(255, 98, 93, 0.12), transparent 36%),
    linear-gradient(325deg, rgba(18, 224, 110, 0.12), transparent 36%),
    rgba(7, 24, 34, 0.98);
  box-shadow: var(--shadow);
}

.ticket-modal h2 {
  display: grid;
  gap: 4px;
  width: 100%;
  max-width: 14ch;
  line-height: 1.08;
}

.ticket-modal-heading {
  margin: 0 0 10px;
  text-align: left;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.ticket-modal h2 span {
  display: block;
}

.ticket-modal h2 span:nth-child(2) {
  padding-left: 22px;
}

.ticket-modal h2 span:nth-child(3) {
  padding-left: 44px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

.modal-ticket-name {
  margin: 10px 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.ticket-form {
  display: grid;
  gap: 16px;
}

.ticket-form label {
  display: grid;
  gap: 8px;
}

.ticket-form label span {
  font-weight: 600;
}

.phone-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 10px;
}

.ticket-form input[type="text"],
.ticket-form input[type="email"],
.ticket-form input[type="tel"],
.ticket-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
}

.ticket-form select {
  appearance: none;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.06);
  font-weight: 700;
  cursor: pointer;
}

.ticket-form select option {
  color: #061a24;
  background: #ffffff;
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.consent-row input {
  margin-top: 4px;
}

.consent-row span {
  text-align: left;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.consent-row a {
  color: var(--green);
  font-weight: 700;
}

.consent-note {
  margin: -6px 0 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

@supports (-webkit-touch-callout: none) {
  body {
    min-height: -webkit-fill-available;
  }
}

@media (max-width: 1080px) {
  .speaker-grid,
  .event-pillars-grid,
  .ticket-grid-three,
  .hotel-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    display: grid;
    grid-column: 1 / -1;
    justify-items: stretch;
    gap: 10px;
    padding-top: 12px;
  }

  .site-nav.open a {
    width: 100%;
    text-align: center;
  }

  .hero,
  .about-grid,
  .agenda-layout,
  .stats-band,
  .event-pillars-grid,
  .ticket-grid-three,
  .speaker-grid,
  .hotel-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px 20px;
    min-height: auto;
    gap: 24px;
  }

  .hero-copy,
  .hero-lead {
    max-width: none;
  }

  .venue-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .hero-card {
    width: min(100%, 320px);
  }

  .ticket-card,
  .speaker-card,
  .agenda-day,
  .location-card,
  .faq-item,
  .about-panel {
    padding: 22px;
  }

  .map-links {
    flex-direction: column;
    align-items: stretch;
  }

  .map-links a {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: 100%;
    padding: 18px 0 32px;
  }

  .site-header,
  .hero-card,
  .section-highlight,
  .site-footer {
    border-radius: 24px;
  }

  h1 {
    max-width: none;
  }

  .brand {
    width: 132px;
  }

  .site-header {
    top: 8px;
    padding: 12px 14px;
  }

  .hero {
    padding: 18px 14px 20px;
    border-radius: 28px;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual {
    order: 2;
    min-height: 240px;
  }

  h1 {
    font-size: clamp(1.85rem, 8.2vw, 2.45rem);
    line-height: 1.02;
    gap: 6px;
  }

  h2 {
    font-size: clamp(1.7rem, 7vw, 2.3rem);
  }

  .hero-lead,
  .about-copy p,
  .about-panel p,
  .agenda-location,
  .agenda-note,
  .speaker-card p,
  .speaker-card span,
  .ticket-card p,
  .faq-answer p,
  .footer-grid p,
  .tickets-support p,
  .footer-copy {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .motto {
    gap: 10px;
    font-size: 0.92rem;
  }

  .hero-points li,
  .hero-point-link,
  .ticket-badge {
    width: 100%;
    text-align: center;
  }

  .stats-band article,
  .site-footer,
  .section-highlight,
  .hero-card {
    padding: 20px;
  }

  .ticket-note {
    font-size: 0.75rem;
  }

  .speaker-blur span {
    font-size: 0.9rem;
  }

  .venue-map {
    min-height: 320px;
  }

  .faq-question {
    font-size: 1rem;
    gap: 12px;
  }

  .hero-actions,
  .footer-contact-list,
  .modal-actions {
    flex-direction: column;
  }

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

  .consent-note {
    margin-left: 0;
  }

  .header-cta,
  .button,
  .footer-ticket-button {
    width: 100%;
  }

  .ticket-modal {
    padding: 24px;
  }

  .location-card {
    padding: 24px 22px;
  }
}
