/* =============================================================
   EZ ONE Section & Component Styles
   All values reference var(--ez-*) tokens. No hardcoded values.
   Figma client overrides come through client-tokens.css only.
   ============================================================= */

/* ── Global: Buttons ─────────────────────────────────────────── */
.ez-btn {
  padding: var(--ez-btn-py) var(--ez-btn-px);
  font-family: var(--ez-font-body);
  font-size: var(--ez-btn-font-size);
  font-weight: var(--ez-btn-font-weight);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--ez-btn-radius);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color var(--ez-transition-fast),
    color var(--ez-transition-fast),
    border-color var(--ez-transition-fast);
}

.ez-btn--primary {
  background-color: var(--ez-color-primary);
  color: var(--ez-color-white);
  border-color: var(--ez-color-primary);
}
.ez-btn--primary:hover {
  background-color: var(--ez-color-secondary);
  border-color: var(--ez-color-secondary);
  color: var(--ez-color-white);
}

.ez-btn--secondary {
  background-color: transparent;
  color: var(--ez-color-white);
  border-color: var(--ez-color-white);
}
.ez-btn--secondary:hover {
  background-color: var(--ez-color-white);
  color: var(--ez-color-secondary);
}

.ez-btn--outline {
  background-color: transparent;
  color: var(--ez-color-primary);
  border-color: var(--ez-color-primary);
}
.ez-btn--outline:hover {
  background-color: var(--ez-color-primary);
  color: var(--ez-color-white);
}

.ez-btn--dark {
  background-color: var(--ez-color-dark);
  color: var(--ez-color-white);
  border-color: var(--ez-color-dark);
}
.ez-btn--dark:hover {
  background-color: var(--ez-color-secondary);
  color: var(--ez-color-white);
}

.ez-btn--full { width: 100%; justify-content: center; }

/* Section color variants */
.ez-section--alt  { background-color: var(--ez-color-surface); }
.ez-section--dark {
  background-color: var(--ez-color-dark);
  color: var(--ez-color-white);
}
.ez-section--dark h1,
.ez-section--dark h2,
.ez-section--dark h3 { color: var(--ez-color-white); }

/* ── Hero ────────────────────────────────────────────────────── */
.ez-hero {
  position: relative;
  min-height: var(--ez-hero-min-h-mobile);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
@media (min-width: 768px) { .ez-hero { min-height: var(--ez-hero-min-h); } }

.ez-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ez-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ez-hero__video-pause {
  position: absolute;
  bottom: var(--ez-space-sm);
  right: var(--ez-space-sm);
  z-index: var(--ez-z-raised);
  background: rgba(0,0,0,.55);
  color: var(--ez-color-white);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--ez-radius-sm);
  padding: var(--ez-space-2) var(--ez-space-4);
  font-size: var(--ez-font-size-sm);
  cursor: pointer;
  transition: background-color var(--ez-transition-fast);
}
.ez-hero__video-pause:hover { background: rgba(0,0,0,.75); }

.ez-hero__inner {
  position: relative;
  z-index: var(--ez-z-raised);
  width: 100%;
  padding-block: var(--ez-space-12);
}
.ez-hero__content { max-width: 720px; }

.ez-hero__headline {
  color: var(--ez-color-white);
  margin-bottom: var(--ez-space-4);
}

.ez-hero__subheadline {
  color: rgba(255,255,255,.9);
  font-size: var(--ez-font-size-lg);
  line-height: var(--ez-line-height-relaxed);
  margin-bottom: var(--ez-space-8);
}

.ez-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ez-space-4);
}

/* ── Page Banner ─────────────────────────────────────────────── */
.ez-banner {
  position: relative;
  min-height: var(--ez-banner-min-h-mobile);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
@media (min-width: 768px) { .ez-banner { min-height: var(--ez-banner-min-h); } }

.ez-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ez-banner__inner {
  position: relative;
  z-index: var(--ez-z-raised);
  width: 100%;
  padding-block: var(--ez-space-10);
}

.ez-banner__title { color: var(--ez-color-white); margin-bottom: var(--ez-space-3); }

.ez-banner__description {
  color: rgba(255,255,255,.9);
  font-size: var(--ez-font-size-md);
  max-width: 600px;
  margin-bottom: var(--ez-space-6);
}

/* ── Services ────────────────────────────────────────────────── */
.ez-services { background-color: var(--ez-color-surface); }

.ez-services__header { text-align: center; margin-bottom: var(--ez-space-10); }

.ez-service-card {
  background: var(--ez-card-bg);
  border-radius: var(--ez-card-radius);
  padding: var(--ez-card-py) var(--ez-card-px);
  box-shadow: var(--ez-card-shadow);
  transition: transform var(--ez-transition-normal), box-shadow var(--ez-transition-normal);
}
.ez-service-card:hover { transform: translateY(-3px); box-shadow: var(--ez-shadow-lg); }

.ez-service-card__icon {
  font-size: var(--ez-font-size-2xl);
  color: var(--ez-color-primary);
  margin-bottom: var(--ez-space-4);
}
.ez-service-card__name {
  font-size: var(--ez-font-size-lg);
  font-weight: var(--ez-font-weight-bold);
  margin-bottom: var(--ez-space-3);
}
.ez-service-card__description {
  color: var(--ez-color-muted);
  font-size: var(--ez-font-size-sm);
  line-height: var(--ez-line-height-relaxed);
}

/* ── Gallery ─────────────────────────────────────────────────── */
.ez-gallery__header { text-align: center; margin-bottom: var(--ez-space-10); }

.ez-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ez-space-3);
}
@media (min-width: 768px)  { .ez-gallery__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .ez-gallery__grid { grid-template-columns: repeat(4, 1fr); } }

.ez-gallery__item { aspect-ratio: 1; overflow: hidden; border-radius: var(--ez-radius-md); }
.ez-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--ez-transition-slow); }
.ez-gallery__item:hover img { transform: scale(1.06); }

/* ── Reviews ─────────────────────────────────────────────────── */
.ez-reviews { background-color: var(--ez-color-surface); }
.ez-reviews__header { text-align: center; margin-bottom: var(--ez-space-10); }

.ez-review-card {
  background: var(--ez-card-bg);
  border-radius: var(--ez-card-radius);
  padding: var(--ez-card-py) var(--ez-card-px);
  box-shadow: var(--ez-card-shadow);
  display: flex;
  flex-direction: column;
}
.ez-review-card__stars {
  color: var(--ez-color-accent);
  font-size: var(--ez-font-size-md);
  letter-spacing: 1px;
  margin-bottom: var(--ez-space-3);
}
.ez-review-card__text {
  color: var(--ez-color-text);
  font-size: var(--ez-font-size-sm);
  line-height: var(--ez-line-height-relaxed);
  font-style: italic;
  flex: 1;
  margin-bottom: var(--ez-space-4);
}
.ez-review-card__author {
  font-weight: var(--ez-font-weight-semibold);
  font-size: var(--ez-font-size-sm);
}
.ez-review-card__date {
  color: var(--ez-color-muted);
  font-size: var(--ez-font-size-xs);
  margin-top: var(--ez-space-1);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.ez-faq__header { text-align: center; margin-bottom: var(--ez-space-10); }
.ez-faq__list { max-width: 780px; margin-inline: auto; }
.ez-faq__item { border-bottom: 1px solid var(--ez-color-border); }

.ez-faq__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ez-space-6);
  padding: var(--ez-space-6) 0;
  font-family: var(--ez-font-heading);
  font-size: var(--ez-font-size-md);
  font-weight: var(--ez-font-weight-semibold);
  color: var(--ez-color-text);
  text-align: left;
  cursor: pointer;
}
.ez-faq__question::after {
  content: '+';
  font-size: var(--ez-font-size-xl);
  font-weight: var(--ez-font-weight-normal);
  color: var(--ez-color-primary);
  flex-shrink: 0;
  transition: transform var(--ez-transition-fast);
}
.ez-faq__item.is-open .ez-faq__question::after { transform: rotate(45deg); }
.ez-faq__answer {
  padding-bottom: var(--ez-space-6);
  color: var(--ez-color-muted);
  font-size: var(--ez-font-size-sm);
  line-height: var(--ez-line-height-relaxed);
}

/* ── CTA ─────────────────────────────────────────────────────── */
.ez-cta { background-color: var(--ez-color-primary); text-align: center; }
.ez-cta--dark    { background-color: var(--ez-color-dark); }
.ez-cta--surface { background-color: var(--ez-color-surface); }
.ez-cta--surface .ez-cta__headline,
.ez-cta--surface .ez-cta__subheadline { color: var(--ez-color-text); }

.ez-cta__inner { max-width: 720px; margin-inline: auto; }
.ez-cta__headline { color: var(--ez-color-white); margin-bottom: var(--ez-space-4); }
.ez-cta__subheadline {
  color: rgba(255,255,255,.85);
  font-size: var(--ez-font-size-md);
  line-height: var(--ez-line-height-relaxed);
  margin-bottom: var(--ez-space-8);
}

/* ── Events ──────────────────────────────────────────────────── */
.ez-events__header { text-align: center; margin-bottom: var(--ez-space-10); }

.ez-event-card {
  background: var(--ez-card-bg);
  border-radius: var(--ez-card-radius);
  overflow: hidden;
  box-shadow: var(--ez-card-shadow);
  display: flex;
  flex-direction: column;
}
.ez-event-card__image { aspect-ratio: 16/9; overflow: hidden; }
.ez-event-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ez-event-card__body { padding: var(--ez-card-px); flex: 1; display: flex; flex-direction: column; }
.ez-event-card__date {
  font-size: var(--ez-font-size-xs);
  font-weight: var(--ez-font-weight-semibold);
  color: var(--ez-color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--ez-space-2);
}
.ez-event-card__name {
  font-size: var(--ez-font-size-lg);
  font-weight: var(--ez-font-weight-bold);
  margin-bottom: var(--ez-space-3);
}
.ez-event-card__description {
  color: var(--ez-color-muted);
  font-size: var(--ez-font-size-sm);
  line-height: var(--ez-line-height-relaxed);
  flex: 1;
  margin-bottom: var(--ez-space-4);
}

/* ── Contact ─────────────────────────────────────────────────── */
.ez-contact__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--ez-space-10);
}
@media (min-width: 768px) { .ez-contact__inner { grid-template-columns: 1fr 1fr; } }

.ez-contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--ez-space-4);
  margin-bottom: var(--ez-space-6);
}
.ez-contact__detail-icon {
  flex-shrink: 0;
  font-size: var(--ez-font-size-xl);
  color: var(--ez-color-primary);
}
.ez-contact__detail-label {
  font-size: var(--ez-font-size-xs);
  font-weight: var(--ez-font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ez-color-muted);
  margin-bottom: var(--ez-space-1);
}
.ez-contact__detail-value { font-size: var(--ez-font-size-md); font-weight: var(--ez-font-weight-medium); }
.ez-contact__map { border-radius: var(--ez-radius-md); overflow: hidden; aspect-ratio: 4/3; }
.ez-contact__map iframe { width: 100%; height: 100%; border: none; }

/* ── Promo: Featured ─────────────────────────────────────────── */
.ez-promo-featured {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.ez-promo-featured__overlay { position: absolute; inset: 0; z-index: 1; }
.ez-promo-featured__inner {
  position: relative;
  z-index: var(--ez-z-raised);
  width: 100%;
  padding-block: var(--ez-space-16);
}
.ez-promo-featured__badge {
  display: inline-flex;
  align-items: center;
  background: var(--ez-color-accent);
  color: var(--ez-color-dark);
  font-weight: var(--ez-font-weight-bold);
  font-size: var(--ez-font-size-lg);
  padding: var(--ez-space-2) var(--ez-space-sm);
  border-radius: var(--ez-radius-sm);
  margin-bottom: var(--ez-space-4);
}
.ez-promo-featured__headline { color: var(--ez-color-white); margin-bottom: var(--ez-space-4); }
.ez-promo-featured__description {
  color: rgba(255,255,255,.9);
  font-size: var(--ez-font-size-md);
  line-height: var(--ez-line-height-relaxed);
  max-width: 640px;
  margin-bottom: var(--ez-space-6);
}
.ez-promo-featured__code-block {
  display: inline-flex;
  align-items: center;
  gap: var(--ez-space-3);
  background: rgba(255,255,255,.12);
  border: 2px dashed rgba(255,255,255,.5);
  border-radius: var(--ez-radius-sm);
  padding: var(--ez-space-3) var(--ez-space-sm);
  margin-bottom: var(--ez-space-6);
}
.ez-promo-featured__code-label { color: rgba(255,255,255,.7); font-size: var(--ez-font-size-sm); }
.ez-promo-featured__code {
  color: var(--ez-color-white);
  font-family: monospace;
  font-size: var(--ez-font-size-lg);
  font-weight: var(--ez-font-weight-bold);
  letter-spacing: 0.1em;
}
.ez-promo-featured__validity { color: rgba(255,255,255,.75); font-size: var(--ez-font-size-sm); margin-top: var(--ez-space-4); }
.ez-promo-featured__terms    { color: rgba(255,255,255,.5);  font-size: var(--ez-font-size-xs);  margin-top: var(--ez-space-3); }

/* ── Promo: Grid ─────────────────────────────────────────────── */
.ez-promo-grid { background-color: var(--ez-color-surface); }
.ez-promo-grid__header { text-align: center; margin-bottom: var(--ez-space-10); }

.ez-promo-card {
  background: var(--ez-card-bg);
  border-radius: var(--ez-card-radius);
  overflow: hidden;
  box-shadow: var(--ez-card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--ez-transition-normal), box-shadow var(--ez-transition-normal);
}
.ez-promo-card:hover { transform: translateY(-2px); box-shadow: var(--ez-shadow-lg); }
.ez-promo-card__image { aspect-ratio: 3/2; overflow: hidden; }
.ez-promo-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ez-promo-card__body { padding: var(--ez-card-px); flex: 1; display: flex; flex-direction: column; }
.ez-promo-card__badge {
  display: inline-block;
  background: var(--ez-color-accent);
  color: var(--ez-color-dark);
  font-size: var(--ez-font-size-xs);
  font-weight: var(--ez-font-weight-bold);
  padding: 2px var(--ez-space-2);
  border-radius: var(--ez-radius-sm);
  margin-bottom: var(--ez-space-3);
}
.ez-promo-card__headline { font-size: var(--ez-font-size-md); font-weight: var(--ez-font-weight-bold); margin-bottom: var(--ez-space-2); }
.ez-promo-card__description { color: var(--ez-color-muted); font-size: var(--ez-font-size-sm); line-height: var(--ez-line-height-relaxed); flex: 1; margin-bottom: var(--ez-space-4); }
.ez-promo-card__schedule { color: var(--ez-color-primary); font-size: var(--ez-font-size-xs); font-weight: var(--ez-font-weight-semibold); margin-bottom: var(--ez-space-4); }

/* ── Sticky CTA (mobile only) ────────────────────────────────── */
.ez-sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: var(--ez-z-fixed);
  height: var(--ez-sticky-cta-h);
  background-color: var(--ez-sticky-cta-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--ez-space-3);
  padding-inline: var(--ez-space-sm);
  box-shadow: 0 -2px 12px rgba(0,0,0,.2);
}
.ez-sticky-cta__btn {
  flex: 1;
  max-width: 140px;
  font-size: var(--ez-font-size-sm);
  padding-inline: var(--ez-space-3);
  border-radius: var(--ez-radius-pill);
}
@media (min-width: 768px) { .ez-sticky-cta { display: none; } }

/* ── Social Links ────────────────────────────────────────────── */
.ez-social-links { display: flex; gap: var(--ez-space-4); flex-wrap: wrap; }
.ez-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--ez-radius-full);
  background: rgba(255,255,255,.1);
  color: var(--ez-color-white);
  text-decoration: none;
  font-size: var(--ez-font-size-sm);
  transition: background-color var(--ez-transition-fast);
}
.ez-social-link:hover { background: rgba(255,255,255,.25); color: var(--ez-color-white); }
