/**
 * WebRise Blocks — Frontend Styles
 * Alle Block-Styles für das Frontend. Nutzt CSS-Variablen aus dem Theme.
 *
 * @package WebRise_Core
 */

/* ============================================================
   SHARED UTILITIES
   ============================================================ */

.wr-block {
  position: relative;
  overflow: hidden;
}

.wr-block__container {
  max-width: var(--wr-container, 1280px);
  margin: 0 auto;
  padding: 0 var(--wr-space-6, 24px);
}

.wr-block__container--narrow {
  max-width: 900px;
}

.wr-block__label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--wr-accent, #b3e31e);
  margin-bottom: 0.75rem;
}

.wr-block__title {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-weight: 700;
  color: var(--wr-color-heading, #111);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.wr-block__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  color: var(--wr-color-text-muted, #6e6e73);
  line-height: 1.65;
  max-width: 600px;
}

.wr-block__subtitle--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Section Spacing */
.wr-section-padding {
  padding: clamp(60px, 8vw, 120px) 0;
}

.wr-section-padding--sm {
  padding: clamp(40px, 5vw, 80px) 0;
}

.wr-section-padding--lg {
  padding: clamp(80px, 10vw, 160px) 0;
}

/* Backgrounds */
.wr-bg--white { background-color: var(--wr-color-bg, #fff); }
.wr-bg--alt { background-color: var(--wr-color-bg-alt, #f5f5f7); }
.wr-bg--dark { background-color: var(--wr-color-bg-dark, #1a1a1a); color: #fff; }
.wr-bg--accent { background-color: var(--wr-accent, #b3e31e); }
.wr-bg--gradient {
  background: linear-gradient(135deg, var(--wr-accent, #b3e31e) 0%, var(--wr-accent-dark, #8ab515) 100%);
}

.wr-bg--dark .wr-block__title,
.wr-bg--dark .wr-block__label { color: #fff; }
.wr-bg--dark .wr-block__subtitle { color: rgba(255,255,255,0.7); }

/* Parallax Background */
.wr-parallax-bg {
  position: absolute;
  inset: -20% 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.wr-block--parallax > *:not(.wr-parallax-bg) {
  position: relative;
  z-index: 1;
}

/* Decorative SVG Shapes */
.wr-deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.06;
}

.wr-deco--circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--wr-accent, #b3e31e);
}

.wr-deco--top-right {
  top: -100px;
  right: -100px;
}

.wr-deco--bottom-left {
  bottom: -100px;
  left: -100px;
}

/* Buttons */
.wr-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--wr-font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--wr-radius, 8px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.4;
}

.wr-btn--primary {
  background: var(--wr-accent, #b3e31e);
  color: #111;
}

.wr-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--wr-accent-rgb, 179, 227, 30), 0.35);
}

.wr-btn--primary:active {
  transform: translateY(0);
}

.wr-btn--outline {
  background: transparent;
  color: var(--wr-color-heading, #111);
  border: 2px solid var(--wr-color-border-dark, rgba(0,0,0,0.16));
}

.wr-btn--outline:hover {
  border-color: var(--wr-accent, #b3e31e);
  color: var(--wr-accent-dark, #8ab515);
  transform: translateY(-2px);
}

.wr-btn--white {
  background: #fff;
  color: #111;
}

.wr-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.wr-btn--pulse {
  animation: wr-pulse 2.5s ease-in-out infinite;
}

@keyframes wr-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--wr-accent-rgb, 179, 227, 30), 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(var(--wr-accent-rgb, 179, 227, 30), 0); }
}

/* Cards */
.wr-card {
  background: var(--wr-color-surface, #fff);
  border-radius: var(--wr-radius-lg, 16px);
  padding: 32px;
  border: 1px solid var(--wr-color-border, rgba(0,0,0,0.06));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wr-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.wr-card--glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
}

.wr-card--accent-border {
  border-left: 4px solid var(--wr-accent, #b3e31e);
}

/* Grid Layouts */
.wr-grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 1024px) {
  .wr-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .wr-grid--2,
  .wr-grid--3,
  .wr-grid--4 { grid-template-columns: 1fr; }
}

/* Icon Container */
.wr-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--wr-radius, 8px);
  background: rgba(var(--wr-accent-rgb, 179, 227, 30), 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: var(--wr-accent-dark, #8ab515);
}

/* Visual Placeholder (for images) */
.wr-visual {
  aspect-ratio: 16 / 9;
  border-radius: var(--wr-radius-lg, 16px);
  background: linear-gradient(135deg, rgba(var(--wr-accent-rgb, 179, 227, 30), 0.08), rgba(var(--wr-accent-rgb, 179, 227, 30), 0.03));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wr-visual svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  color: var(--wr-accent, #b3e31e);
}

/* Section Dividers */
.wr-divider-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.wr-divider-wave svg {
  width: 100%;
  height: auto;
}

/* ============================================================
   HERO BLOCK
   ============================================================ */

.wr-hero {
  min-height: clamp(500px, 80vh, 900px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.wr-hero--center {
  text-align: center;
}

.wr-hero--center .wr-hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.wr-hero--split .wr-block__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.wr-hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 1.25rem;
  color: var(--wr-color-heading, #111);
}

.wr-hero__title--gradient {
  background: linear-gradient(135deg, var(--wr-accent, #b3e31e), var(--wr-accent-dark, #8ab515));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wr-hero__subline {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  line-height: 1.65;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0 0 2rem;
  max-width: 540px;
}

.wr-hero--center .wr-hero__subline {
  margin-left: auto;
  margin-right: auto;
}

.wr-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.wr-hero--center .wr-hero__actions {
  justify-content: center;
}

.wr-hero__badges {
  display: flex;
  gap: 12px;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.wr-hero--center .wr-hero__badges {
  justify-content: center;
}

.wr-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(var(--wr-accent-rgb, 179, 227, 30), 0.1);
  border-radius: var(--wr-radius-full, 9999px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--wr-accent-dark, #8ab515);
}

.wr-hero__visual {
  position: relative;
}

/* Hero on dark background */
.wr-bg--dark .wr-hero__title { color: #fff; }
.wr-bg--dark .wr-hero__subline { color: rgba(255,255,255,0.7); }
.wr-bg--dark .wr-hero__badge {
  background: rgba(255,255,255,0.1);
  color: var(--wr-accent, #b3e31e);
}

/* Hero Decorative Elements */
.wr-hero__deco-dots {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  opacity: 0.04;
  z-index: 0;
  background-image: radial-gradient(circle, var(--wr-accent, #b3e31e) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
}

@media (max-width: 768px) {
  .wr-hero {
    min-height: clamp(400px, 70vh, 700px);
  }
  .wr-hero--split .wr-block__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .wr-hero__visual {
    order: -1;
  }
  .wr-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .wr-hero__actions .wr-btn {
    text-align: center;
    justify-content: center;
  }
}

/* ============================================================
   FEATURES BLOCK
   ============================================================ */

.wr-features__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-features__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-feature-card {
  padding: 32px;
  text-align: center;
}

.wr-feature-card .wr-icon-box {
  margin-left: auto;
  margin-right: auto;
}

.wr-feature-card__title {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--wr-color-heading, #111);
}

.wr-feature-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0;
}

/* Features left-aligned variant */
.wr-features--left .wr-feature-card {
  text-align: left;
}

.wr-features--left .wr-feature-card .wr-icon-box {
  margin-left: 0;
}

/* ============================================================
   CTA BLOCK
   ============================================================ */

.wr-cta-block {
  text-align: center;
  position: relative;
}

.wr-cta-block .wr-block__container {
  max-width: 800px;
}

.wr-cta-block__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
}

.wr-bg--dark .wr-cta-block__title { color: #fff; }
.wr-bg--accent .wr-cta-block__title { color: #111; }

.wr-cta-block__text {
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.wr-bg--dark .wr-cta-block__text { color: rgba(255,255,255,0.75); }
.wr-bg--accent .wr-cta-block__text { color: rgba(0,0,0,0.7); }

/* ============================================================
   ABOUT BLOCK
   ============================================================ */

.wr-about .wr-block__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.wr-about--reverse .wr-about__visual {
  order: -1;
}

.wr-about__title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
}

.wr-about__text {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0 0 1.5rem;
}

.wr-about__points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.wr-about__points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 1rem;
  color: var(--wr-color-text, #1a1a1a);
}

.wr-about__points li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(var(--wr-accent-rgb, 179, 227, 30), 0.15);
  color: var(--wr-accent-dark, #8ab515);
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .wr-about .wr-block__container {
    grid-template-columns: 1fr;
  }
  .wr-about--reverse .wr-about__visual {
    order: 0;
  }
}

/* ============================================================
   SERVICES BLOCK
   ============================================================ */

.wr-services__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-services__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-service-card {
  text-align: left;
}

.wr-service-card__title {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--wr-color-heading, #111);
}

.wr-service-card__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0 0 16px;
}

.wr-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--wr-accent-dark, #8ab515);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.wr-service-card__link:hover {
  gap: 10px;
}

.wr-service-card__link::after {
  content: '→';
}

/* ============================================================
   TESTIMONIALS BLOCK
   ============================================================ */

.wr-testimonials__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-testimonials__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-testimonial-card {
  text-align: left;
}

.wr-testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 18px;
}

.wr-testimonial-card__quote {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--wr-color-text, #1a1a1a);
  margin: 0 0 20px;
  font-style: italic;
}

.wr-testimonial-card__quote::before {
  content: '«';
  color: var(--wr-accent, #b3e31e);
  font-weight: 700;
}

.wr-testimonial-card__quote::after {
  content: '»';
  color: var(--wr-accent, #b3e31e);
  font-weight: 700;
}

.wr-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wr-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wr-accent, #b3e31e), var(--wr-accent-dark, #8ab515));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-weight: 700;
  font-size: 1rem;
}

.wr-testimonial-card__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--wr-color-heading, #111);
}

.wr-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--wr-color-text-muted, #6e6e73);
}

/* ============================================================
   STATS BLOCK
   ============================================================ */

.wr-stats {
  text-align: center;
}

.wr-stats__items {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 5vw, 64px);
  flex-wrap: wrap;
}

.wr-stat-item {
  flex: 0 0 auto;
  min-width: 120px;
}

.wr-stat-item__value {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--wr-accent, #b3e31e);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.wr-stat-item__label {
  font-size: 0.9375rem;
  color: var(--wr-color-text-muted, #6e6e73);
  margin-top: 4px;
}

.wr-bg--dark .wr-stat-item__label { color: rgba(255,255,255,0.6); }
.wr-bg--dark .wr-stat-item__value { color: var(--wr-accent, #b3e31e); }

/* CountUp Animation */
.wr-stat-item__value[data-count] {
  transition: none;
}

/* ============================================================
   CONTACT BLOCK
   ============================================================ */

.wr-contact .wr-block__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 64px);
}

.wr-contact__info-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 1.5rem;
}

.wr-contact__items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wr-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.wr-contact__item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--wr-radius, 8px);
  background: rgba(var(--wr-accent-rgb, 179, 227, 30), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: var(--wr-accent-dark, #8ab515);
}

.wr-contact__item-label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0 0 2px;
}

.wr-contact__item-value {
  font-size: 1rem;
  color: var(--wr-color-text, #1a1a1a);
  line-height: 1.5;
}

.wr-contact__item-value a {
  color: var(--wr-accent-dark, #8ab515);
  text-decoration: none;
}

.wr-contact__item-value a:hover {
  text-decoration: underline;
}

.wr-contact__map {
  border-radius: var(--wr-radius-lg, 16px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--wr-color-bg-alt, #f5f5f7);
}

.wr-contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .wr-contact .wr-block__container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ BLOCK
   ============================================================ */

.wr-faq__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-faq__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.wr-faq-item {
  border-bottom: 1px solid var(--wr-color-border, rgba(0,0,0,0.08));
}

.wr-faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--wr-color-heading, #111);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  transition: color 0.2s ease;
}

.wr-faq-item__question:hover {
  color: var(--wr-accent-dark, #8ab515);
}

.wr-faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wr-color-bg-alt, #f5f5f7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
  font-size: 14px;
}

.wr-faq-item--open .wr-faq-item__icon {
  transform: rotate(45deg);
  background: var(--wr-accent, #b3e31e);
}

.wr-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 0;
}

.wr-faq-item--open .wr-faq-item__answer {
  max-height: 500px;
  padding: 0 0 20px;
}

.wr-faq-item__answer p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0;
}

/* ============================================================
   TEAM BLOCK
   ============================================================ */

.wr-team__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-team__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-team-card {
  text-align: center;
  padding: 40px 24px;
}

.wr-team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(var(--wr-accent-rgb, 179, 227, 30), 0.15), rgba(var(--wr-accent-rgb, 179, 227, 30), 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--wr-accent-dark, #8ab515);
  overflow: hidden;
}

.wr-team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wr-team-card__name {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wr-color-heading, #111);
  margin: 0 0 4px;
}

.wr-team-card__role {
  font-size: 0.875rem;
  color: var(--wr-accent-dark, #8ab515);
  font-weight: 500;
  margin: 0 0 8px;
}

.wr-team-card__bio {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0;
}

/* ============================================================
   GALLERY BLOCK
   ============================================================ */

.wr-gallery__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-gallery__grid {
  display: grid;
  gap: 16px;
}

.wr-gallery__grid--masonry {
  columns: 3;
  column-gap: 16px;
}

.wr-gallery__grid--masonry .wr-gallery__item {
  break-inside: avoid;
  margin-bottom: 16px;
}

.wr-gallery__item {
  border-radius: var(--wr-radius-lg, 16px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.wr-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.wr-gallery__item:hover img {
  transform: scale(1.05);
}

.wr-gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.wr-gallery__item:hover .wr-gallery__item-overlay {
  opacity: 1;
}

.wr-gallery__item-caption {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .wr-gallery__grid--masonry {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .wr-gallery__grid--masonry {
    columns: 1;
  }
}

/* ============================================================
   PRICING BLOCK
   ============================================================ */

.wr-pricing__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-pricing__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-pricing-card {
  text-align: center;
  padding: 40px 32px;
  position: relative;
}

.wr-pricing-card--featured {
  border: 2px solid var(--wr-accent, #b3e31e);
  transform: scale(1.02);
}

.wr-pricing-card--featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--wr-accent, #b3e31e);
  color: #111;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: var(--wr-radius-full, 9999px);
}

.wr-pricing-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wr-color-heading, #111);
  margin: 0 0 8px;
}

.wr-pricing-card__price {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wr-color-heading, #111);
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.wr-pricing-card__price-suffix {
  font-size: 1rem;
  font-weight: 400;
  color: var(--wr-color-text-muted, #6e6e73);
}

.wr-pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.wr-pricing-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9375rem;
  color: var(--wr-color-text, #1a1a1a);
}

.wr-pricing-card__features li::before {
  content: '✓';
  color: var(--wr-accent, #b3e31e);
  font-weight: 700;
}

/* ============================================================
   TIMELINE BLOCK
   ============================================================ */

.wr-timeline__header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.wr-timeline__header .wr-block__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.wr-timeline__list {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 40px;
}

.wr-timeline__list::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--wr-color-border, rgba(0,0,0,0.08));
}

.wr-timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.wr-timeline-item:last-child {
  padding-bottom: 0;
}

.wr-timeline-item__dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wr-accent, #b3e31e);
  border: 3px solid var(--wr-color-bg, #fff);
  box-shadow: 0 0 0 2px var(--wr-accent, #b3e31e);
}

.wr-timeline-item__year {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--wr-accent-dark, #8ab515);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 4px;
}

.wr-timeline-item__title {
  font-family: var(--wr-font-heading, 'Inter', sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--wr-color-heading, #111);
  margin: 0 0 6px;
}

.wr-timeline-item__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--wr-color-text-muted, #6e6e73);
  margin: 0;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes wr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes wr-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wr-float { animation: wr-float 6s ease-in-out infinite; }
.wr-gradient-anim { background-size: 200% 200%; animation: wr-gradient-shift 8s ease infinite; }

/* CountUp — initial state (before JS triggers) */
.wr-countup[data-count] {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wr-countup--visible {
  opacity: 1 !important;
}

/* ============================================================
   CONTACT BLOCK
   ============================================================ */

.wr-contact .wr-block__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--wr-space-12, 48px);
  align-items: start;
}

.wr-contact__info-title {
  margin-bottom: var(--wr-space-8, 32px);
}

.wr-contact__items {
  display: flex;
  flex-direction: column;
  gap: var(--wr-space-5, 20px);
}

.wr-contact__item {
  display: flex;
  gap: var(--wr-space-4, 16px);
  align-items: flex-start;
}

.wr-contact__item-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wr-color-bg-alt, #f5f5f7);
  border-radius: var(--wr-radius, 8px);
}

.wr-contact__item-label {
  font-size: 0.8125rem;
  color: var(--wr-color-text-muted, #6e6e73);
  margin-bottom: 2px;
}

.wr-contact__item-value {
  font-weight: 500;
}

.wr-contact__item-value a {
  color: inherit;
  text-decoration: none;
}

.wr-contact__item-value a:hover {
  color: var(--wr-color-accent, #b3e31e);
}

.wr-contact__map {
  border-radius: var(--wr-radius, 8px);
  overflow: hidden;
  min-height: 300px;
  background: var(--wr-color-bg-alt, #f5f5f7);
}

.wr-contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

@media (max-width: 768px) {
  .wr-contact .wr-block__container {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FAQ BLOCK
   ============================================================ */

.wr-faq__header {
  text-align: center;
  margin-bottom: var(--wr-space-12, 48px);
}

.wr-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.wr-faq-item {
  background: var(--wr-color-bg, #fff);
  border: 1px solid var(--wr-color-border, #e5e5e7);
  border-radius: var(--wr-radius, 8px);
  overflow: hidden;
  margin-bottom: var(--wr-space-2, 8px);
}

.wr-faq-item__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--wr-space-5, 20px) var(--wr-space-6, 24px);
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--wr-color-heading, #111);
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s ease;
}

.wr-faq-item__question:hover {
  background: var(--wr-color-bg-alt, #f5f5f7);
}

.wr-faq-item__icon {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--wr-color-accent, #b3e31e);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: var(--wr-space-4, 16px);
}

.wr-faq-item[data-open="true"] .wr-faq-item__icon {
  transform: rotate(45deg);
}

.wr-faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 var(--wr-space-6, 24px);
}

.wr-faq-item[data-open="true"] .wr-faq-item__answer {
  max-height: 500px;
  padding: 0 var(--wr-space-6, 24px) var(--wr-space-5, 20px);
}

.wr-faq-item__answer p {
  color: var(--wr-color-text-muted, #6e6e73);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   SERVICES BLOCK
   ============================================================ */

.wr-services__header {
  text-align: center;
  margin-bottom: var(--wr-space-12, 48px);
}

.wr-service-card {
  text-align: center;
  padding: var(--wr-space-8, 32px) var(--wr-space-6, 24px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wr-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.wr-icon-box {
  font-size: 2.5rem;
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--wr-space-5, 20px);
  background: var(--wr-color-bg-alt, #f5f5f7);
  border-radius: var(--wr-radius, 8px);
}

.wr-service-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--wr-space-3, 12px);
}

.wr-service-card__text {
  color: var(--wr-color-text-muted, #6e6e73);
  line-height: 1.6;
  margin-bottom: var(--wr-space-4, 16px);
}

.wr-service-card__link {
  color: var(--wr-color-accent, #b3e31e);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.wr-service-card__link:hover {
  text-decoration: underline;
}

/* ============================================================
   TEAM BLOCK
   ============================================================ */

.wr-team__header {
  text-align: center;
  margin-bottom: var(--wr-space-12, 48px);
}

.wr-team-card {
  text-align: center;
  padding: var(--wr-space-8, 32px) var(--wr-space-6, 24px);
}

.wr-team-card__photo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wr-color-accent, #b3e31e), var(--wr-color-accent-dark, #8ab515));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--wr-space-5, 20px);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wr-color-heading, #111);
  text-transform: uppercase;
}

.wr-team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--wr-space-1, 4px);
}

.wr-team-card__role {
  font-size: 0.875rem;
  color: var(--wr-color-accent, #b3e31e);
  font-weight: 600;
  margin-bottom: var(--wr-space-3, 12px);
}

.wr-team-card__bio {
  color: var(--wr-color-text-muted, #6e6e73);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* ============================================================
   STATS BLOCK (additional)
   ============================================================ */

.wr-stats .wr-block__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--wr-space-8, 32px);
  text-align: center;
}

.wr-stat {
  padding: var(--wr-space-6, 24px);
}

.wr-stat__value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--wr-color-accent, #b3e31e);
  line-height: 1.2;
  margin-bottom: var(--wr-space-2, 8px);
}

.wr-stat__label {
  font-size: 0.9375rem;
  color: var(--wr-color-text-muted, #6e6e73);
}
