:root {
  --color-red: #ff643e;
  --color-red-hover: #db4e31;
  --color-red-soft: #fff0eb;
  --color-navy: #343a48;
  --color-navy-deep: #242a34;
  --color-text: #373737;
  --color-text-strong: #1f232b;
  --color-text-muted: #7a8592;
  --color-bg: #ffffff;
  --color-bg-soft: #f0f0f0;
  --color-bg-soft-2: #f7f8fb;
  --color-border: #d7dfe4;
  --color-border-2: #e8edf1;
  --color-cyan: #009bed;
  --color-cyan-hover: #0fa1d5;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-shadow-rgb: 18 24 31;
  --color-black-rgb: 0 0 0;
  --color-white-rgb: 255 255 255;
  --color-navy-rgb: 52 58 72;
  --color-red-rgb: 255 100 62;
  --color-facebook: #3b5a9b;
  --color-google: #c53c2c;
  --color-twitter: #00aced;
  --color-dribbble: #cb2027;
  --color-instagram: #ad856a;
  --color-github: #000000;
  --color-android: #98cb02;
  --color-apple: #86878b;
  --color-css: #1571b4;
  --grad-dark: linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.72), rgb(var(--color-navy-rgb) / 0.2));
  --grad-cyan: linear-gradient(135deg, var(--color-cyan), var(--color-cyan-hover));
  --container: 1160px;
  --radius: 6px;
  --radius-lg: 8px;
  --transition: 180ms ease;
  --transition-slow: 420ms ease;
  --nav-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--color-text-strong);
  font-family: Oswald, Impact, sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  color: var(--color-white);
  font-size: 84px;
}

h2 {
  font-size: 62px;
}

h3 {
  font-size: 24px;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-cyan);
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

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

blockquote {
  margin: 0 0 1.25rem;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 5px solid var(--color-navy);
  color: var(--color-text-muted);
  font-size: 15px;
  font-style: italic;
}

:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 3px;
}

.container {
  width: calc(100% - 40px);
  max-width: var(--container);
  margin-inline: auto;
}

.section {
  padding-block: 92px;
}

.section[id],
.site-header[id],
.footer[id] {
  scroll-margin-top: var(--nav-height);
}

.section-head {
  margin: 0 auto 46px;
  text-align: center;
}

.section-head p {
  margin: 0;
  color: var(--color-red);
  font-family: Oswald, Impact, sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  text-transform: uppercase;
}

.section-dark {
  color: var(--color-white);
}

.section-dark h2,
.section-dark h3,
.section-dark .section-head p {
  color: var(--color-white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: var(--color-navy);
}

.hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--color-white);
  text-align: center;
  background:
    var(--grad-dark),
    url("img/background/back-1.jpg") center top / cover no-repeat;
}

.hero-content {
  padding-block: 120px;
}

.hero p {
  margin: 0;
  color: var(--color-white);
  font-family: Oswald, Impact, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.25;
  text-transform: uppercase;
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}

.countdown-item {
  width: 104px;
  min-height: 104px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 10px;
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--color-red);
  box-shadow: 0 18px 40px rgb(var(--color-shadow-rgb) / 0.18);
}

.countdown-item span {
  display: block;
  font-family: Oswald, Impact, sans-serif;
  font-size: 46px;
  line-height: 1;
}

.countdown-item small {
  display: block;
  color: rgb(var(--color-white-rgb) / 0.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.countdown-item.item-day {
  background: var(--color-navy-deep);
}

.site-nav {
  min-height: var(--nav-height);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-navy);
  box-shadow: inset 0 -1px 0 rgb(var(--color-shadow-rgb) / 0.16);
}

.nav-inner {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  flex: 0 0 auto;
}

.logo img {
  width: 196px;
  height: 32px;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 14px 12px;
  color: var(--color-text-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--color-white);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  border: 1px solid rgb(var(--color-white-rgb) / 0.24);
  border-radius: var(--radius);
  color: var(--color-white);
  background: transparent;
}

/* Invitation */
.invitation {
  background:
    linear-gradient(180deg, rgb(var(--color-white-rgb) / 0.82), rgb(var(--color-white-rgb) / 0.9)),
    url("img/background/back-3.jpg") center top / cover no-repeat,
    var(--color-bg-soft);
  text-align: center;
}

.invitation-content {
  width: min(100%, 760px);
  margin: 0 auto;
}

.invitation-content p {
  margin-bottom: 26px;
  font-size: 16px;
}

.video-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
  box-shadow: 0 22px 60px rgb(var(--color-shadow-rgb) / 0.15);
}

.video-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.12), rgb(var(--color-navy-rgb) / 0.45));
}

.video-poster:hover img {
  opacity: 0.82;
  transform: scale(1.04);
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  z-index: 2;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-red);
  box-shadow: 0 16px 36px rgb(var(--color-shadow-rgb) / 0.22);
  transform: translate(-50%, -50%);
  transition: background var(--transition), transform var(--transition);
}

.video-poster:hover .play-button {
  background: var(--color-cyan);
  transform: translate(-50%, -50%) scale(1.06);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.social-link {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-navy);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
  color: var(--color-white);
  background: var(--color-red);
  transform: translateY(-2px);
}

.social-link.facebook {
  background: var(--color-facebook);
}

.social-link.google {
  background: var(--color-google);
}

.social-link.twitter {
  background: var(--color-twitter);
}

.social-link.dribbble {
  background: var(--color-dribbble);
}

.social-link.instagram {
  background: var(--color-instagram);
}

.social-link.github {
  background: var(--color-github);
}

/* Event */
.event {
  background:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.54), rgb(var(--color-navy-rgb) / 0.32)),
    url("img/background/back-2.jpg") center top / cover no-repeat,
    var(--color-navy);
}

.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 8px 0 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 135px;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent,
    rgb(var(--color-white-rgb) / 0.92) 12%,
    rgb(var(--color-white-rgb) / 0.58) 58%,
    rgb(var(--color-red-rgb) / 0.86) 100%
  );
  box-shadow: 0 0 28px rgb(var(--color-white-rgb) / 0.18);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  min-height: 92px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 31px;
  left: calc(50% + 27px);
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgb(var(--color-white-rgb) / 0.62), transparent);
}

.timeline-item.is-left::before {
  right: calc(50% + 27px);
  left: auto;
  background: linear-gradient(90deg, transparent, rgb(var(--color-white-rgb) / 0.62));
}

.timeline-body {
  max-width: 440px;
  padding: 22px 24px;
  border: 1px solid rgb(var(--color-white-rgb) / 0.18);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: linear-gradient(135deg, rgb(var(--color-navy-rgb) / 0.34), rgb(var(--color-navy-rgb) / 0.16));
  box-shadow: 0 18px 46px rgb(var(--color-shadow-rgb) / 0.18);
  backdrop-filter: blur(6px);
}

.timeline-body h3 {
  margin-bottom: 12px;
  color: var(--color-white);
}

.timeline-body p {
  margin-bottom: 0;
  color: rgb(var(--color-white-rgb) / 0.88);
}

.timeline-body a {
  color: var(--color-white);
}

.timeline-body a:hover {
  color: var(--color-red-soft);
}

.timeline-marker {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--color-white-rgb) / 0.72);
  border-radius: 50%;
  color: var(--color-white);
  background: radial-gradient(circle at 35% 30%, var(--color-red), var(--color-navy-deep));
  box-shadow:
    0 0 0 7px rgb(var(--color-white-rgb) / 0.08),
    0 16px 32px rgb(var(--color-shadow-rgb) / 0.24);
  transform: translateX(-50%);
}

.timeline-item.is-right .timeline-body {
  grid-column: 2;
  margin-left: 82px;
  text-align: left;
}

.timeline-item.is-left .timeline-body {
  grid-column: 1;
  justify-self: end;
  margin-right: 82px;
  text-align: right;
}

.timeline-finale {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  justify-self: center;
  margin-top: 42px;
  border: 1px solid rgb(var(--color-white-rgb) / 0.72);
  border-radius: 50%;
  color: var(--color-white);
  background: radial-gradient(circle at 50% 42%, rgb(var(--color-red-rgb) / 0.52), rgb(var(--color-navy-rgb) / 0.12) 68%);
  box-shadow:
    0 0 0 14px rgb(var(--color-white-rgb) / 0.07),
    0 22px 54px rgb(var(--color-shadow-rgb) / 0.24);
  font-size: 42px;
}

.timeline-finale::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgb(var(--color-white-rgb) / 0.28);
  border-radius: 50%;
}

/* Blog */
.blog,
.blog-detail {
  background: var(--color-bg-soft);
  border-block: 1px solid var(--color-border);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: 42px;
}

.blog-posts {
  display: grid;
  gap: 34px;
  padding-right: 34px;
  border-right: 1px solid var(--color-border);
}

.post {
  display: grid;
  gap: 16px;
}

.post img,
.slider,
.gallery-item {
  box-shadow: 0 16px 42px rgb(var(--color-shadow-rgb) / 0.1);
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  color: var(--color-text);
  font-size: 12px;
  list-style: none;
  text-transform: uppercase;
}

.meta-list span,
.comment-meta span,
.recent-posts span {
  color: var(--color-text-muted);
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  margin-top: 6px;
}

.pagination a,
.pagination span {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  border-radius: var(--radius);
}

.pagination a:hover,
.pagination a.is-active {
  color: var(--color-text-strong);
  background: var(--color-bg);
}

.blog-sidebar {
  display: grid;
  align-content: start;
  gap: 34px;
}

.blog-sidebar section {
  display: grid;
  gap: 14px;
}

.search-form input,
.stacked-form input,
.stacked-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text);
  background: transparent;
  transition: border-color var(--transition), background var(--transition);
}

.search-form input:hover,
.stacked-form input:hover,
.stacked-form textarea:hover,
.search-form input:focus,
.stacked-form input:focus,
.stacked-form textarea:focus {
  border-color: var(--color-text-muted);
  background: var(--color-bg);
}

.stacked-form {
  display: grid;
  gap: 18px;
}

.stacked-form textarea {
  min-height: 190px;
  resize: vertical;
}

.button {
  width: fit-content;
  justify-self: end;
  min-height: 46px;
  padding: 12px 30px;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-white);
  background: var(--color-text-muted);
  font-weight: 700;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.button:hover {
  background: var(--color-navy);
  transform: translateY(-1px);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--color-cyan);
  font-weight: 700;
}

.link-list,
.archive-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list a {
  display: block;
  color: var(--color-text-strong);
  font-weight: 700;
}

.link-list a:hover {
  color: var(--color-cyan);
}

.archive-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-red);
}

.archive-list a:hover {
  color: var(--color-cyan);
}

.flickr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.flickr-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-article {
  display: grid;
  gap: 18px;
}

.slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-navy);
}

.slider-track {
  position: relative;
  aspect-ratio: 1250 / 834;
}

.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(var(--color-white-rgb) / 0.55);
  border-radius: 50%;
  color: var(--color-white);
  background: rgb(var(--color-navy-rgb) / 0.48);
  transition: background var(--transition), transform var(--transition);
}

.icon-button:hover {
  background: var(--color-red);
  transform: translateY(-1px);
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.slider-dots {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgb(var(--color-navy-rgb) / 0.48);
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgb(var(--color-white-rgb) / 0.48);
}

.slider-dots button[aria-current="true"] {
  background: var(--color-red);
}

.detail-share,
.footer-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 28px;
  margin-top: 54px;
  text-align: center;
}

.detail-share p,
.footer-share p {
  margin: 0;
  font-weight: 700;
}

.detail-share .social-list,
.footer-share .social-list {
  margin-top: 0;
}

.comments-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-top: 68px;
}

.comments-layout > section {
  display: grid;
  align-content: start;
  gap: 20px;
}

.comment {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.comment.is-reply {
  margin-top: 18px;
  margin-left: 28px;
  padding-left: 22px;
  border-left: 3px solid var(--color-border);
}

.comment-meta {
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
}

/* Parallax and Gallery */
.parallax {
  min-height: 400px;
  display: grid;
  place-items: center;
  color: var(--color-white);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

.parallax-gifts {
  background-image:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.26), rgb(var(--color-navy-rgb) / 0.42)),
    url("img/parallax/02.jpg");
}

.parallax-party {
  background-image:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.18), rgb(var(--color-navy-rgb) / 0.42)),
    url("img/parallax/01.jpg");
}

.parallax-content {
  width: calc(100% - 40px);
  max-width: var(--container);
  padding-block: 60px;
}

.parallax h2,
.parallax p {
  color: var(--color-white);
  text-shadow: 0 1px 0 rgb(var(--color-shadow-rgb) / 0.72);
  text-transform: uppercase;
}

.parallax p {
  margin: 8px 0 0;
  font-family: Oswald, Impact, sans-serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1.25;
}

.social-networks {
  color: var(--color-white);
  background: var(--color-cyan);
  text-align: center;
}

.social-networks h2,
.social-networks .section-head p {
  color: var(--color-white);
}

.social-orbit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.social-orbit a {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  background: transparent;
  font-size: 40px;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.social-orbit a:nth-child(1),
.social-orbit a:nth-child(5) {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

.social-orbit a:hover {
  color: var(--color-cyan);
  background: var(--color-white);
  transform: translateY(-2px);
}

/* Expanded home modules */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.section-head-left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.section-head-left h2,
.section-head-left p {
  text-align: left;
}

.about-media {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 18px;
  align-items: end;
}

.about-media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 48px rgb(var(--color-shadow-rgb) / 0.14);
}

.about-media img:last-child {
  margin-bottom: -26px;
}

.event-services {
  background:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.72), rgb(var(--color-navy-rgb) / 0.66)),
    url("img/background/back-2.jpg") center / cover no-repeat,
    var(--color-navy);
}

.service-grid,
.package-grid,
.shop-grid,
.pricing-grid,
.team-grid,
.card-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.service-card,
.package-card,
.shop-card,
.pricing-card,
.team-card,
.content-card,
.product-card,
.article-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-white);
  box-shadow: 0 14px 34px rgb(var(--color-shadow-rgb) / 0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.package-card:hover,
.shop-card:hover,
.pricing-card:hover,
.team-card:hover,
.content-card:hover,
.product-card:hover,
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-red);
  box-shadow: 0 22px 48px rgb(var(--color-shadow-rgb) / 0.14);
}

.service-card {
  padding: 30px;
  text-align: center;
}

.section-dark .service-card {
  border-color: rgb(var(--color-white-rgb) / 0.16);
  color: var(--color-white);
  background: rgb(var(--color-white-rgb) / 0.08);
}

.service-card i {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-red);
  font-size: 26px;
}

.section-dark .service-card h3,
.section-dark .service-card p,
.section-dark .service-card a {
  color: var(--color-white);
}

.section-dark .service-card a:hover {
  color: var(--color-red-soft);
}

.stats-band {
  background: var(--color-navy-deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-grid article {
  min-height: 144px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  color: var(--color-white);
  border-left: 1px solid rgb(var(--color-white-rgb) / 0.08);
}

.stats-grid article:last-child {
  border-right: 1px solid rgb(var(--color-white-rgb) / 0.08);
}

.stats-grid strong {
  color: var(--color-red);
  font-family: Oswald, Impact, sans-serif;
  font-size: 52px;
  line-height: 1;
}

.stats-grid span,
.eyebrow {
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.package-card img,
.shop-card img,
.team-card img,
.product-card img,
.article-card img,
.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.package-card > div,
.shop-card > div,
.pricing-card,
.team-card,
.content-card,
.product-card,
.article-card {
  padding: 26px;
}

.team-card {
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
}

.team-card-media {
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.team-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(var(--color-black-rgb) / 0), rgb(var(--color-black-rgb) / 0.38));
  pointer-events: none;
}

.team-card-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98);
  transition: transform var(--transition-slow);
}

.team-card:hover .team-card-media img {
  transform: scale(1.045);
}

.role-badge {
  position: absolute;
  z-index: 1;
  left: 22px;
  bottom: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 3px solid rgb(var(--color-white-rgb) / 0.92);
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-red);
  box-shadow: 0 14px 30px rgb(var(--color-shadow-rgb) / 0.24);
  font-size: 18px;
}

.team-card-body {
  min-height: 172px;
  display: flex;
  flex-direction: column;
  padding: 24px 26px 28px;
}

.team-card .eyebrow {
  display: block;
  margin-bottom: 9px;
  color: var(--color-red);
}

.team-card p {
  margin-bottom: 0;
}

.price {
  color: var(--color-red);
  font-family: Oswald, Impact, sans-serif;
  font-size: 34px;
  line-height: 1;
  margin-bottom: 18px;
}

.ticket-shop {
  background:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.76), rgb(var(--color-navy-rgb) / 0.68)),
    url("img/background/back-3.jpg") center / cover no-repeat,
    var(--color-navy);
}

/* Photo backgrounds need light section titles even without .section-dark. */
.ticket-shop .section-head h2,
.event-services .section-head h2 {
  color: var(--color-white);
}

.ticket-shop .section-head p,
.event-services .section-head p {
  color: rgb(var(--color-white-rgb) / 0.88);
}

.section-dark .shop-card {
  background: var(--color-white);
  color: var(--color-text);
}

.pricing-card {
  text-align: center;
}

.pricing-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--color-white);
  background: var(--color-red);
  font-size: 24px;
}

.pricing-card.is-featured {
  border-color: var(--color-red);
  box-shadow: 0 22px 48px rgb(var(--color-red-rgb) / 0.14);
}

.team-card h3,
.package-card h3,
.shop-card h3,
.content-card h3,
.product-card h3,
.article-card h3 {
  margin-bottom: 12px;
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.page-link-grid a {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px;
  color: var(--color-text-strong);
  text-align: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  font-weight: 800;
  text-transform: uppercase;
}

.page-link-grid a:hover {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.media-strip img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 42px rgb(var(--color-shadow-rgb) / 0.13);
}

/* Inner pages */
.page-hero {
  min-height: 330px;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-white);
  background:
    linear-gradient(180deg, rgb(var(--color-navy-rgb) / 0.68), rgb(var(--color-navy-rgb) / 0.54)),
    url("img/background/back-1.jpg") center / cover no-repeat;
}

.page-hero h1,
.page-hero p {
  color: var(--color-white);
}

.page-hero p {
  margin: 0;
  font-family: Oswald, Impact, sans-serif;
  font-size: 26px;
  text-transform: uppercase;
}

.page-main {
  padding-block: 92px;
}

.detail-grid,
.checkout-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 42px;
  align-items: start;
}

.cart-summary {
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--color-white);
  background: var(--color-navy-deep);
}

.cart-summary h3 {
  color: var(--color-white);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid rgb(var(--color-white-rgb) / 0.12);
}

.cart-line:last-child {
  color: var(--color-red);
  border-bottom: 0;
  font-weight: 800;
}

.gallery {
  background: var(--color-navy);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 2px;
  margin-bottom: 28px;
}

.filter-bar button {
  min-height: 44px;
  padding: 0 15px;
  border: 0;
  border-bottom: 1px solid transparent;
  color: rgb(var(--color-white-rgb) / 0.68);
  background: transparent;
  font-weight: 700;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition);
}

.filter-bar button:hover,
.filter-bar button.is-active {
  color: var(--color-red);
  border-color: var(--color-red);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  background: var(--color-red);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.gallery-item button {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--color-white);
  background: transparent;
  font-size: 40px;
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  opacity: 0.38;
  transform: scale(1.12);
}

.gallery-item:hover button,
.gallery-item:focus-within button {
  opacity: 1;
  transform: rotate(360deg);
}

/* Footer */
.footer {
  padding-bottom: 0;
  background: var(--color-bg-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
}

.contact-layout > section,
.contact-info {
  display: grid;
  align-content: start;
  gap: 20px;
}

.contact-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

address {
  font-style: normal;
}

.contact-info p {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.contact-info i {
  color: var(--color-text-muted);
}

.map {
  width: 100%;
  height: 230px;
  border: 1px solid var(--color-border);
}

.copyright {
  margin-top: 80px;
  padding-block: 46px;
  background: var(--color-bg);
}

.copyright-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.copyright img {
  width: 195px;
  height: 30px;
}

.copyright p {
  margin: 0;
  text-align: right;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 16px;
  z-index: 30;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--radius);
  color: var(--color-white);
  background: rgb(var(--color-navy-rgb) / 0.74);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), transform var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-cyan);
  transform: translateY(-2px);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 24px;
  background: rgb(var(--color-shadow-rgb) / 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox-top,
.lightbox-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lightbox-title {
  margin: 0;
  color: var(--color-white);
  font-weight: 700;
}

.lightbox-stage {
  min-height: 0;
  display: grid;
  place-items: center;
}

.lightbox-stage img {
  max-height: 76vh;
  border-radius: var(--radius);
  box-shadow: 0 20px 80px rgb(var(--color-black-rgb) / 0.42);
}

@media (max-width: 991px) {
  :root {
    --nav-height: 76px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding-block: 90px;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-menu {
    flex: 1 0 100%;
    display: grid;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0 0 12px;
  }

  .nav-menu a {
    padding: 14px;
  }

  .js .nav-inner {
    flex-wrap: nowrap;
  }

  .js .nav-toggle {
    display: grid;
  }

  .js .nav-menu {
    position: absolute;
    top: var(--nav-height);
    right: 20px;
    left: 20px;
    flex: initial;
    width: auto;
    padding: 10px;
    border: 1px solid rgb(var(--color-white-rgb) / 0.12);
    border-radius: var(--radius-lg);
    background: var(--color-navy-deep);
    box-shadow: 0 18px 40px rgb(var(--color-shadow-rgb) / 0.24);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }

  .js .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .timeline::before {
    left: 27px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-left: 72px;
  }

  .timeline-item::before,
  .timeline-item.is-left::before {
    top: 31px;
    right: auto;
    left: 54px;
    width: 18px;
    background: linear-gradient(90deg, rgb(var(--color-white-rgb) / 0.62), transparent);
  }

  .timeline-marker {
    left: 27px;
  }

  .timeline-item.is-left .timeline-body,
  .timeline-item.is-right .timeline-body {
    grid-column: 1;
    justify-self: stretch;
    max-width: none;
    margin: 0;
    text-align: left;
  }

  .parallax {
    background-attachment: scroll;
  }

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

  .about-grid,
  .detail-grid,
  .checkout-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .package-grid,
  .shop-grid,
  .pricing-grid,
  .team-grid,
  .card-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .media-strip,
  .page-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 42px;
  }

  .hero p,
  .parallax p {
    font-size: 30px;
  }

  .section {
    padding-block: 68px;
  }

  .blog-layout,
  .comments-layout,
  .contact-layout,
  .contact-columns,
  .about-media {
    grid-template-columns: 1fr;
  }

  .about-media img:last-child {
    margin-bottom: 0;
  }

  .blog-posts {
    padding-right: 0;
    border-right: 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .copyright-inner {
    flex-direction: column;
    text-align: center;
  }

  .copyright p {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 28px);
  }

  .nav-inner {
    width: 100%;
    max-width: none;
    padding-inline: 14px;
  }

  .hero {
    min-height: 560px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 22px;
  }

  .section-head p {
    font-size: 20px;
  }

  .countdown-item {
    width: 74px;
    min-height: 78px;
  }

  .countdown-item span {
    font-size: 30px;
  }

  .countdown-item small {
    font-size: 9px;
  }

  .slider-controls {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .slider-dots {
    padding: 7px 9px;
  }

  .social-orbit {
    gap: 14px;
  }

  .social-orbit a {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }

  .social-orbit a:nth-child(1),
  .social-orbit a:nth-child(5) {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

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

  .service-grid,
  .package-grid,
  .shop-grid,
  .pricing-grid,
  .team-grid,
  .card-grid,
  .media-grid,
  .stats-grid,
  .media-strip,
  .page-link-grid {
    grid-template-columns: 1fr;
  }

  .filter-bar button {
    flex: 1 1 46%;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-stage img {
    max-height: 70vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 1ms;
    animation-duration: 1ms;
  }
}
