/* ==========================================================================
   CRservice PHP — Sections v2 (premium redesign)
   ========================================================================== */

/* ──────────────────────────────────────────
   HERO SLIDER
   ────────────────────────────────────────── */
.hero {
  position: relative;
  /* Exactly one viewport — no overflow, no cutting */
  height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--gradient-hero);
  margin-top: var(--header-h);
}

/* Dot-grid pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

/* Decorative radial glow */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  right: 5%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(13,125,87,.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero__blob--1 {
  bottom: -10%;
  left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(7,63,44,.6) 0%, transparent 70%);
}
.hero__blob--2 {
  top: -15%;
  right: 25%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(20,162,113,.12) 0%, transparent 70%);
}

.hero__slider {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
  height: 100%;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
  height: 100%;
}

/* Hero background image — full cover with gradient overlay so glassmorphic
   cards + white text stay readable. Subtle Ken-Burns zoom for premium feel. */
.hero__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Layered overlay — left half is near-black (text legibility), right half
   keeps a green spotlight where the glassmorphic cards live. The horizontal
   linear ensures contrast no matter what the photo looks like underneath. */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    /* horizontal — heavy dark on left, easing into transparent at 70% */
    linear-gradient(90deg,
      rgba(4,22,15,.92) 0%,
      rgba(4,22,15,.78) 35%,
      rgba(4,22,15,.42) 60%,
      rgba(4,22,15,.55) 100%),
    /* vertical bottom — keeps slider dots/scroll-hint legible */
    linear-gradient(180deg,
      rgba(4,22,15,.20) 0%,
      transparent 50%,
      rgba(4,22,15,.55) 100%),
    /* radial spotlight behind the cards on the right */
    radial-gradient(circle at 78% 50%, rgba(20,162,113,.28) 0%, transparent 55%);
}

/* Soft additional vignette ONLY behind the headline area — boosts contrast
   without darkening the whole left strip uniformly. */
.hero__slide.has-image .hero__text-col {
  position: relative;
}
.hero__slide.has-image .hero__text-col::before {
  content: '';
  position: absolute;
  inset: -10% -25% -10% -10%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,0,0,.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Stronger text shadows when image is behind */
.hero__slide.has-image .hero__title {
  text-shadow:
    0 2px 28px rgba(0,0,0,.7),
    0 1px 6px rgba(0,0,0,.55),
    0 0 1px rgba(0,0,0,.3);
}
.hero__slide.has-image .hero__text {
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 14px rgba(0,0,0,.65), 0 1px 3px rgba(0,0,0,.4);
}
.hero__slide.has-image .hero__badge {
  background: rgba(4,22,15,.55);
  border-color: rgba(20,162,113,.5);
  backdrop-filter: blur(10px);
  color: #fff;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  /* Exact viewport fit — no overflow */
  height: calc(100svh - var(--header-h));
  padding-block: clamp(1.5rem, 4vh, 3rem);
  overflow: hidden;
}

.hero__text-col {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.35em 1em 0.35em 0.6em;
  background: rgba(13,125,87,.25);
  border: 1px solid rgba(20,162,113,.35);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);  /* reduced */
}

.hero__badge-dot {
  width: 7px; height: 7px;
  background: var(--color-primary-light);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(20,162,113,.25);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(20,162,113,.25); }
  50%       { box-shadow: 0 0 0 6px rgba(20,162,113,.1); }
}

.hero__eyebrow {
  display: none; /* replaced by hero__badge */
}

.hero__title {
  /* Reduced from --text-hero (5rem) so title fits in 2 lines in viewport */
  font-size: clamp(1.875rem, 3.8vw, 3.25rem);
  font-weight: var(--weight-extrabold);
  color: #fff;
  line-height: 1.12;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 40px rgba(0,0,0,.25);
}

/* Highlighted word in title */
.hero__title em {
  font-style: normal;
  color: var(--color-primary-light);
}

.hero__text {
  font-size: var(--text-base);
  color: rgba(255,255,255,.72);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);  /* reduced from --space-2xl */
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Slider controls */
.hero__controls {
  position: absolute;
  bottom: calc(var(--space-xl) + 60px); /* above scroll hint */
  left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero__dots {
  display: flex;
  gap: var(--space-xs);
}

.hero__dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition-base), width var(--transition-base);
}
.hero__dot.is-active {
  background: #fff;
  width: 28px;
}

.hero__arrows {
  display: flex;
  gap: var(--space-xs);
}

.hero__arrow {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  backdrop-filter: blur(4px);
}
.hero__arrow:hover {
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.45);
  transform: scale(1.06);
}

/* ──────────────────────────────────────────
   HERO SCROLL HINT
   ────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 5;
  text-decoration: none;
  color: rgba(255,255,255,.4);
  transition: color var(--transition-base);
  animation: scrollHintFadeIn 0.7s 1.8s ease both;
}

.hero__scroll-hint:hover { color: rgba(255,255,255,.75); }

.hero__scroll-label {
  font-size: 0.6rem;
  font-weight: var(--weight-bold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* Mouse shape */
.hero__scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 11px;
  position: relative;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}
.hero__scroll-hint:hover .hero__scroll-mouse { border-color: rgba(255,255,255,.6); }

/* Wheel inside mouse */
.hero__scroll-mouse::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 6px;
  background: rgba(255,255,255,.6);
  border-radius: 2px;
  animation: scrollWheelMove 2.2s ease-in-out infinite;
}

/* Chevron arrows below mouse */
.hero__scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero__scroll-chevrons span {
  display: block;
  width: 8px; height: 8px;
  border-right: 1.5px solid rgba(255,255,255,.45);
  border-bottom: 1.5px solid rgba(255,255,255,.45);
  transform: rotate(45deg);
  animation: chevronFade 2.2s ease-in-out infinite;
}
.hero__scroll-chevrons span:nth-child(1) { animation-delay: 0s; }
.hero__scroll-chevrons span:nth-child(2) { animation-delay: 0.2s; }
.hero__scroll-chevrons span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollWheelMove {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  70%  { transform: translateX(-50%) translateY(14px); opacity: 0; }
  71%  { transform: translateX(-50%) translateY(0); opacity: 0; }
  100% { transform: translateX(-50%) translateY(0); opacity: 1; }
}

@keyframes chevronFade {
  0%, 100% { opacity: 0.25; }
  50%       { opacity: 0.85; }
}

@keyframes scrollHintFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ──────────────────────────────────────────
   STATS BAR
   ────────────────────────────────────────── */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-xl);
  position: relative;
  z-index: 1;
  /* subtle top green line */
  border-top: 3px solid var(--color-primary);
}

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

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-md) var(--space-lg);
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--color-border);
}

.stat__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────
   SERVICES SECTION
   ────────────────────────────────────────── */
.section-services {
  padding-block: var(--section-spacing);
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* Card number top-right */
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: var(--weight-extrabold);
  color: var(--color-primary-100);
  line-height: 1;
  letter-spacing: -0.04em;
  transition: color var(--transition-base);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green-md), var(--shadow-lg);
  border-top-color: var(--color-primary-light);
  color: var(--color-text);
}

.service-card:hover::before {
  color: var(--color-primary-50);
}

.service-card__icon {
  width: 54px; height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: #fff;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: var(--shadow-green-sm);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card:hover .service-card__icon {
  transform: scale(1.08) rotate(-3deg);
  box-shadow: var(--shadow-green-md);
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
  line-height: var(--leading-snug);
}

.service-card__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  flex-grow: 1;
  margin-bottom: var(--space-xl);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin-top: auto;
}
.service-card__link .icon svg { transition: transform var(--transition-fast); }
.service-card:hover .service-card__link .icon svg { transform: translateX(4px); }

/* ──────────────────────────────────────────
   ABOUT SECTION
   ────────────────────────────────────────── */
.section-about {
  padding-block: var(--section-spacing);
  background: var(--color-bg-alt);
  position: relative;
}

/* Diagonal accent shape top-right */
.section-about::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 280px; height: 280px;
  background: radial-gradient(circle at top right, var(--color-primary-50) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-grid__media {
  position: relative;
}

.about-visual {
  aspect-ratio: 5/6;
  border-radius: var(--radius-xl);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-green-lg), var(--shadow-xl);
}

/* Dot pattern inside visual */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.08) 1px, transparent 0);
  background-size: 20px 20px;
}

/* Subtle inner glow */
.about-visual::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%);
}

.about-visual__pattern {
  position: absolute;
  inset: 0;
}

.about-visual__icon {
  width: 130px; height: 130px;
  color: rgba(255,255,255,.18);
  position: relative;
  z-index: 1;
}

.about-img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-green-lg), var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: calc(-1 * var(--space-lg));
  background: #fff;
  border: 2px solid var(--color-primary-100);
  box-shadow: var(--shadow-lg);
  padding: var(--space-lg) var(--space-xl);
  border-radius: var(--radius-lg);
  text-align: center;
}
.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--color-primary);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-badge span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-medium);
  display: block;
  margin-top: 2px;
}

.about-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-snug);
}

.about-text {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-xl);
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.about-highlights li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-normal);
}

.about-highlights li::before {
  content: '';
  display: block;
  width: 22px; height: 22px;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #073f2c, #0d7d57);
  background-repeat: no-repeat, no-repeat;
  background-position: center, 0 0;
  background-size: auto, cover;
}

/* ──────────────────────────────────────────
   VALUES SECTION
   ────────────────────────────────────────── */
.section-values {
  padding-block: var(--section-spacing);
  background: #fff;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.value-card {
  padding: var(--space-2xl);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Subtle corner accent */
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at bottom right, var(--color-primary-50) 0%, transparent 70%);
  transition: opacity var(--transition-base);
  opacity: 0;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-green-sm), var(--shadow-md);
  background: #fff;
}
.value-card:hover::after { opacity: 1; }

.value-card__icon {
  width: 50px; height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  color: #fff;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-green-sm);
  transition: transform var(--transition-base);
}
.value-card__icon svg { width: 24px; height: 24px; }
.value-card:hover .value-card__icon { transform: scale(1.1) rotate(-5deg); }

.value-card__title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-normal);
  /* Pack lines full (avoids some cards spreading into many short lines)
     while keeping the last line from being a lone orphan word */
  text-wrap: pretty;
}

/* ──────────────────────────────────────────
   TESTIMONIALS
   ────────────────────────────────────────── */
.section-testimonials {
  padding-block: var(--section-spacing);
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.section-testimonials::before {
  content: '\201C';
  position: absolute;
  top: -0.2em;
  left: 50%;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 20rem;
  color: var(--color-primary-50);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  position: relative;
  z-index: 1;
}

/* Testimonial card — mirrors .service-card design (top accent + lift hover)
   with a brand-tinted border that is visible at rest, not just on hover */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(13,125,87,.20);
  border-top: 3px solid var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(7,63,44,.06);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-green-md), var(--shadow-lg);
  border-color: rgba(13,125,87,.32);
  border-top-color: var(--color-primary-light);
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  margin-bottom: var(--space-lg);
}

.testimonial-card__quote {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  color: var(--color-primary);
  line-height: 0.8;
  margin-bottom: var(--space-md);
  display: block;
  opacity: .25;
}

.testimonial-card__text {
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-green-sm);
}

.testimonial-card__name {
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  line-height: 1.2;
}
.testimonial-card__role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* ──────────────────────────────────────────
   CTA SECTION
   ────────────────────────────────────────── */
.section-cta {
  padding-block: var(--section-spacing);
  background: #fff;
}

.cta-box {
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-green-lg);
}

/* Decorative circles */
.cta-box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -5%;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60%;
  right: 15%;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
  pointer-events: none;
}

/* Inner circle pattern */
.cta-box__deco {
  position: absolute;
  top: 20%;
  left: 55%;
  width: 160px; height: 160px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.07);
  pointer-events: none;
}

.cta-box__text { flex: 1; position: relative; z-index: 1; }

.cta-box__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-bottom: var(--space-sm);
}

.cta-box__title {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  color: #fff;
  margin-bottom: var(--space-md);
  line-height: var(--leading-snug);
}

.cta-box__subtitle {
  color: rgba(255,255,255,.7);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
}

.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* White CTA variant inside dark CTA box */
.btn--white {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.btn--white:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-50);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ──────────────────────────────────────────
   GALLERY PREVIEW
   ────────────────────────────────────────── */
.section-gallery-preview {
  padding-block: var(--section-spacing);
  background: var(--color-bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-neutral-200);
  position: relative;
}

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

.gallery-preview__more { text-align: center; }

/* ──────────────────────────────────────────
   SERVICES ARCHIVE PAGE
   ────────────────────────────────────────── */
.services-archive {
  padding-block: var(--section-spacing);
}

/* ──────────────────────────────────────────
   SERVICE DETAIL PAGE
   ────────────────────────────────────────── */
.service-detail {
  padding-block: var(--section-spacing);
}

.service-detail__intro {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.service-detail__intro p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-loose);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-4xl);
}

.feature-card {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green-sm), var(--shadow-md);
}

.feature-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--gradient-primary);
  border-radius: 50%;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  color: #fff;
  margin-bottom: var(--space-md);
}

.feature-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.feature-card__text {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
}

/* ──────────────────────────────────────────
   CONTACT PAGE
   ────────────────────────────────────────── */
.contact-section {
  padding-block: var(--section-spacing);
  background: var(--color-bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
  align-items: start;
}

.contact-info__title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
}

.contact-info__text {
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  line-height: var(--leading-loose);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-detail__icon {
  width: 42px; height: 42px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: var(--shadow-green-sm);
}

.contact-detail__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-semibold);
}

.contact-detail__value {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  margin-top: 2px;
}
.contact-detail__value a { color: var(--color-text); }
.contact-detail__value a:hover { color: var(--color-primary); }

/* ── Contact form ── */
.contact-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  margin-bottom: var(--space-xl);
  font-size: var(--text-2xl);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.form-group label span { color: var(--color-error); margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75em 1em;
  border: 1.5px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(13,125,87,.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }

.form-group textarea { min-height: 140px; resize: vertical; }

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group--rodo {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}
.form-group--rodo input { width: auto; flex-shrink: 0; margin-top: 3px; accent-color: var(--color-primary); }
.form-group--rodo label { font-size: var(--text-xs); font-weight: var(--weight-regular); color: var(--color-text-muted); cursor: pointer; }

/* ──────────────────────────────────────────
   ABOUT PAGE
   ────────────────────────────────────────── */
.about-page {
  padding-block: var(--section-spacing);
}

/* ──────────────────────────────────────────
   GALLERY PAGE
   ────────────────────────────────────────── */
.gallery-page {
  padding-block: var(--section-spacing);
}

.gallery-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.gallery-empty {
  text-align: center;
  padding: var(--space-5xl) 0;
  color: var(--color-text-muted);
}

/* ──────────────────────────────────────────
   OPINIONS PAGE
   ────────────────────────────────────────── */
.opinions-page {
  padding-block: var(--section-spacing);
}

/* ──────────────────────────────────────────
   FAQ PAGE
   ────────────────────────────────────────── */
.faq-page {
  padding-block: var(--section-spacing);
}

.faq-list {
  max-width: 720px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1.5px solid var(--color-border-neutral);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.faq-item[open] {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-green-sm);
}

.faq-item__q {
  list-style: none;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  gap: var(--space-xl);
  transition: color var(--transition-fast), background var(--transition-fast);
}
.faq-item__q:hover { color: var(--color-primary); background: var(--color-primary-50); }
.faq-item[open] .faq-item__q { color: var(--color-primary); background: var(--color-primary-50); }
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { display: none; } /* icon handled by .faq-item__q-icon span */

.faq-item__q-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-primary-50);
  color: var(--color-primary);
  font-size: 1.2rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-base);
}
.faq-item[open] .faq-item__q-icon {
  background: var(--color-primary);
  color: #fff;
  transform: rotate(45deg);
}

.faq-item__a {
  padding: var(--space-lg) var(--space-xl);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  border-top: 1px solid var(--color-border);
}

/* ──────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────── */
.site-footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,.65);
  padding-block: var(--space-4xl) var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Subtle green tint top */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gradient-primary);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-border-dark);
}

.site-footer__col--brand .footer-logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-extrabold);
  letter-spacing: -0.04em;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--space-lg);
}

/* Footer logo as image (uploaded via CMS) */
.site-footer__col--brand .footer-logo--img { padding: 0; }
.footer-logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* default: white silhouette; override .no-invert if logo is colored */
}
.footer-logo--no-invert .footer-logo-img { filter: none; }

.site-footer__tagline {
  font-size: var(--text-sm);
  line-height: var(--leading-loose);
  color: rgba(255,255,255,.45);
  margin-bottom: var(--space-xl);
}

.site-footer__social {
  display: flex;
  gap: var(--space-sm);
}

.site-footer__social a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.site-footer__social a:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  margin-bottom: var(--space-lg);
}

.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.site-footer__list a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: var(--leading-loose);
}
.site-footer__list a:hover { color: var(--color-primary-light); }

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  color: rgba(255,255,255,.55);
  line-height: var(--leading-normal);
}
.site-footer__contact li .icon { color: var(--color-primary-light); flex-shrink: 0; margin-top: 1px; }
.site-footer__contact li a { color: rgba(255,255,255,.55); }
.site-footer__contact li a:hover { color: var(--color-primary-light); }

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.site-footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
}

.site-footer__legal {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
  text-decoration: none;
  transition: color 150ms ease;
}
.site-footer__legal:hover {
  color: rgba(255,255,255,.8);
}

.site-footer__bottom-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.site-footer__credit {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.45);
}
.ridentt-link {
  color: var(--color-accent, #d79800);
  font-weight: 600;
  text-decoration: none;
  transition: color 150ms ease;
}
.ridentt-link:hover {
  text-decoration: underline;
}

/* Inline link to privacy policy inside RODO consent labels */
.policy-link {
  color: var(--color-primary, #0d7d57);
  text-decoration: underline;
}
.policy-link:hover {
  color: var(--color-primary-dark, #073f2c);
}

/* ──────────────────────────────────────────
   HERO VISUAL COLUMN — floating cards
   ────────────────────────────────────────── */
.hero__visual-col {
  position: relative;
  height: 460px;
  flex-shrink: 0;
}

/* Glow ring */
.hvc__ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,125,87,.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Rotating orbit ring */
.hvc__ring::after {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.1);
  animation: spinSlow 40s linear infinite;
}

/* Base card style — glassmorphism */
.hvc {
  position: absolute;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-xl);
  color: #fff;
}

/* ── Status pill — top left ── */
.hvc--status {
  top: 8%;
  left: 2%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.5em 1em;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.04em;
  animation: floatCard 8s 0s ease-in-out infinite;
}

.hvc__dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(74,222,128,.25);
  animation: pulseDot 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hvc__status-text {
  white-space: nowrap;
}

/* ── Hours pill — top right ── */
.hvc--hours {
  top: 10%;
  right: 0%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.45em 0.9em;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  animation: floatCard 7s 1s ease-in-out infinite;
}
.hvc--hours .icon { color: rgba(255,255,255,.6); }
.hvc--hours span { white-space: nowrap; color: rgba(255,255,255,.85); }

/* ── Main card — center ── */
.hvc--main {
  width: 270px;
  top: 50%; left: 50%;
  transform: translate(-52%, -52%);
  padding: var(--space-xl);
  z-index: 2;
  animation: floatMain 7s ease-in-out infinite;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}

.hvc__icon-wrap {
  width: 48px; height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  box-shadow: var(--shadow-green-sm);
}
.hvc__icon-wrap svg { width: 28px; height: 28px; }

.hvc__main-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
  margin-bottom: 4px;
}

.hvc__main-sub {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.65);
  margin-bottom: var(--space-md);
}

/* Progress bar inside main card */
.hvc__bar {
  height: 4px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: var(--space-md);
}

.hvc__bar-fill {
  height: 100%;
  width: 0%;
  background: var(--gradient-btn);
  border-radius: var(--radius-pill);
  animation: barFill 2.5s 1s ease forwards;
}

@keyframes barFill {
  to { width: 87%; }
}

/* ── Rating card — bottom right ── */
.hvc--rating {
  width: 170px;
  bottom: 8%;
  right: -2%;
  padding: var(--space-lg);
  text-align: center;
  animation: floatCard 6s 2s ease-in-out infinite;
  z-index: 3;
}

.hvc__stars {
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 2px;
  margin-bottom: 6px;
}

.hvc__rating-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--weight-extrabold);
  line-height: 1;
  margin-bottom: 4px;
}
.hvc__rating-num span {
  font-size: 0.9rem;
  font-weight: var(--weight-regular);
  opacity: .55;
}

.hvc__rating-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.6);
}

/* ── Count card — bottom left ── */
.hvc--count {
  bottom: 12%;
  left: 4%;
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  animation: floatCard 9s 0.5s ease-in-out infinite;
  z-index: 3;
}

.hvc__count-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--weight-extrabold);
  line-height: 1;
  margin-bottom: 2px;
}

.hvc__count-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Float keyframes ── */
@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}

@keyframes floatMain {
  0%, 100% { transform: translate(-52%, -52%) translateY(0px); }
  50%       { transform: translate(-52%, -52%) translateY(-14px); }
}

@keyframes spinSlow {
  to { transform: rotate(360deg); }
}

/* About visual float */
.about-visual {
  animation: floatAbout 9s ease-in-out infinite;
}
@keyframes floatAbout {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-btn);
  z-index: calc(var(--z-header) + 10);
  transition: width 80ms linear;
  pointer-events: none;
}

/* ════════════════════════════════════════════
   ABOUT PAGE — main image + badge row
════════════════════════════════════════════ */
.about-page__image-wrap {
  margin: 0 0 var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8;
  background: var(--color-bg-alt);
}
.about-page__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* About page — badge row redesigned: gradient bg, vertical divider,
   gradient-fill numerals, enhanced highlights with bigger green ticks */
.about-page__badge-row {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: var(--space-3xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(13,125,87,.04) 0%, rgba(13,125,87,0) 50%),
    #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(13,125,87,.18);
  box-shadow:
    0 2px 6px rgba(7,63,44,.05),
    0 12px 32px -10px rgba(7,63,44,.10);
  position: relative;
  overflow: hidden;
}

/* Decorative top-right accent — subtle radial glow */
.about-page__badge-row::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,125,87,.08) 0%, transparent 65%);
  pointer-events: none;
}

.about-page__badge {
  text-align: center;
  position: relative;
  padding: var(--space-lg) var(--space-md);
  /* Vertical divider on the right edge — subtle gradient line */
  border-right: 1px solid transparent;
  border-image: linear-gradient(to bottom, transparent, rgba(13,125,87,.25) 30%, rgba(13,125,87,.25) 70%, transparent) 1;
}

.about-page__badge-num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.75rem);
  font-weight: var(--weight-extrabold);
  /* Gradient fill — primary dark → primary-light */
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: var(--space-xs);
}

.about-page__badge-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
}

/* Highlights inside the badge-row — bigger, breathing-room, animated check */
.about-page__badge-row .about-highlights {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.about-page__badge-row .about-highlights li {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  color: var(--color-text);
  line-height: var(--leading-snug);
  align-items: center;
  gap: var(--space-md);
}
.about-page__badge-row .about-highlights li::before {
  width: 28px; height: 28px;
  margin-top: 0;
  box-shadow: 0 2px 8px rgba(13,125,87,.25);
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  background-repeat: no-repeat, no-repeat;
  background-position: center, 0 0;
  background-size: auto, cover;
}
.about-page__para {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}
@media (max-width: 768px) {
  .about-page__badge-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }
  .about-page__badge {
    border-right: none;
    border-bottom: 1px solid transparent;
    border-image: linear-gradient(to right, transparent, rgba(13,125,87,.25) 30%, rgba(13,125,87,.25) 70%, transparent) 1;
    padding-bottom: var(--space-lg);
  }
  .about-page__badge-row .about-highlights li {
    text-align: left;
  }
  .about-page__image-wrap { aspect-ratio: 4 / 3; }
}

/* ════════════════════════════════════════════
   SERVICE DETAIL — main image + helper classes
════════════════════════════════════════════ */
.service-detail__image-wrap {
  margin: 0 0 var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 8;
  background: var(--color-bg-alt);
}
.service-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-detail__cta-wrap   { margin-top: var(--space-4xl); }
.service-detail__others     { margin-top: var(--space-4xl); }
.service-detail__others-title {
  text-align: center;
  margin-bottom: var(--space-2xl);
  font-size: var(--text-2xl);
}
.page-hero__crumb-link { color: rgba(255,255,255,.5); text-decoration: none; }
.page-hero__crumb-link:hover { color: rgba(255,255,255,.85); }

/* ════════════════════════════════════════════
   TESTIMONIAL — avatar image + source link
════════════════════════════════════════════ */
.testimonial-card__avatar--img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-bg);
  box-shadow: var(--shadow-sm);
  /* Override text-avatar properties (gradient bg + flex centering) */
  display: block;
  padding: 0;
}
.testimonial-card__author-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.testimonial-card__source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--weight-medium);
  transition: color 150ms ease;
}
.testimonial-card__source:hover { color: var(--color-primary-dark); text-decoration: underline; }
.testimonial-card__source .icon { width: 12px; height: 12px; }

/* ════════════════════════════════════════════
   OPINIONS PAGE — empty state + cta
════════════════════════════════════════════ */
.opinions-page__empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: var(--space-5xl) 0;
}
.opinions-page__cta {
  text-align: center;
  margin-top: var(--space-3xl);
}
.opinions-page__cta p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
}

/* ════════════════════════════════════════════
   GALLERY — clickable items + count + premium grid
════════════════════════════════════════════ */
.gallery-full-grid .gallery-item {
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  background: var(--color-neutral-200);
  position: relative;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.gallery-full-grid .gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-green-sm), var(--shadow-md);
}

/* Magnifier badge that fades in on hover — affordance that the image enlarges */
.gallery-full-grid .gallery-item::after {
  content: '';
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px; height: 36px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center/18px no-repeat,
    rgba(7,63,44,.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.85);
  transition: opacity var(--transition-base), transform var(--transition-base);
  pointer-events: none;
  z-index: 2;
}
.gallery-full-grid .gallery-item:hover::after,
.gallery-full-grid .gallery-item:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.gallery-full-grid .gallery-item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Count above the grid */
.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xl);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}
.gallery-meta strong {
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

/* ════════════════════════════════════════════
   LIGHTBOX — minimalist black overlay
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,12,10,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Stage holds the image — sized to viewport with comfortable padding */
.lightbox__stage {
  position: relative;
  width: min(94vw, 1400px);
  height: min(86vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform: scale(.96);
  transition: opacity .35s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.lightbox.is-open .lightbox__img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

/* Loading spinner while a heavy image loads */
.lightbox__loader {
  position: absolute;
  width: 42px; height: 42px;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: rgba(255,255,255,.85);
  border-radius: 50%;
  animation: lightboxSpin .9s linear infinite;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.lightbox.is-loading .lightbox__loader { opacity: 1; }

@keyframes lightboxSpin { to { transform: rotate(360deg); } }

/* Top bar — counter + close */
.lightbox__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(.75rem, 2vh, 1.25rem) clamp(1rem, 3vw, 2rem);
  z-index: 2;
  pointer-events: none;
}
.lightbox__counter,
.lightbox__close,
.lightbox__nav {
  pointer-events: auto;
}

.lightbox__counter {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  backdrop-filter: blur(6px);
}

.lightbox__close,
.lightbox__nav {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  backdrop-filter: blur(6px);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.3);
  transform: scale(1.06);
}
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.lightbox__close svg,
.lightbox__nav svg { width: 22px; height: 22px; }

/* Side nav buttons */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: clamp(.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(.5rem, 2vw, 2rem); }
.lightbox__nav[hidden] { display: none; }

/* Caption strip at bottom (filename / index) */
.lightbox__caption {
  position: absolute;
  bottom: clamp(.75rem, 2vh, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-pill);
  padding: 5px 14px;
  backdrop-filter: blur(6px);
  letter-spacing: .04em;
  white-space: nowrap;
  max-width: 70vw;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 2;
}

/* Body lock when lightbox is open — set by JS */
body.lightbox-open {
  overflow: hidden;
}

/* ════════════════════════════════════════════
   404 ERROR PAGE
════════════════════════════════════════════ */
.error-page {
  padding-block: clamp(4rem, 12vh, 8rem);
  min-height: calc(100vh - var(--header-h) - 320px);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
}
.error-page__content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.05em;
  margin-bottom: var(--space-md);
  user-select: none;
}
.error-page__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: var(--space-md);
}
.error-page__text {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-2xl);
}
.error-page__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .error-page__actions { flex-direction: column; }
  .error-page__actions .btn { width: 100%; justify-content: center; }
}

/* ──────────────────────────────────────────
   REPAIR / SHIP-TO-SERVICE PAGE (zglos-naprawe.php)
   ────────────────────────────────────────── */
.repair-section {
  padding-block: var(--section-spacing);
}

/* How-it-works steps */
.repair-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin: 0 0 var(--space-3xl);
  padding: 0;
}
.repair-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-green-sm);
}
.repair-step__num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: var(--weight-bold);
  font-family: var(--font-heading);
}
.repair-step__title { font-size: var(--text-lg); margin-bottom: var(--space-2xs, 4px); }
.repair-step__text  { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }

/* Step-1 form card (mirrors contact card) */
.repair-form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-lg);
  max-width: 820px;
  margin: 0 auto;
}
.repair-form-card__title { font-size: var(--text-2xl); margin-bottom: var(--space-xs); }
.repair-form-card__desc  { color: var(--color-text-muted); margin-bottom: var(--space-xl); font-size: var(--text-sm); }

/* Device radio chips */
.device-options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.device-option {
  position: relative;
  margin: 0 !important;
}
.device-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  width: 100% !important;
}
.device-option span {
  display: block;
  padding: 0.6em 1.1em;
  border: 1.5px solid var(--color-border-neutral);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
  transition: all var(--transition-fast);
}
.device-option input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}
.device-option input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(13,125,87,.2);
}

/* Accessories checkboxes */
.acc-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs) var(--space-md);
  margin-bottom: var(--space-sm);
}
.acc-option {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: var(--weight-regular) !important;
  color: var(--color-text);
  margin: 0 !important;
  cursor: pointer;
}
.acc-option input { width: auto !important; accent-color: var(--color-primary); flex-shrink: 0; }
.acc-other { margin-top: var(--space-xs); }

/* ── Step 2 — success + shipping ── */
.repair-success { max-width: 920px; margin: 0 auto; }

.ref-box {
  text-align: center;
  background: var(--color-primary-dark, #073f2c);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-green-md);
}
.ref-box__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: var(--text-xs);
  opacity: .8;
  margin-bottom: var(--space-xs);
}
.ref-box__code {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: var(--weight-extrabold, 800);
  letter-spacing: .04em;
}
.ref-box__hint { font-size: var(--text-sm); opacity: .85; margin: var(--space-sm) auto 0; max-width: 46ch; }

.ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.ship-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md, var(--shadow-lg));
}
.ship-card__title {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xl);
  margin-bottom: var(--space-lg);
  color: var(--color-primary-dark, #073f2c);
}
.ship-data { margin: 0; }
.ship-data dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--color-text-muted);
  margin-top: var(--space-md);
}
.ship-data dt:first-child { margin-top: 0; }
.ship-data dd { margin: 2px 0 0; font-size: var(--text-base); color: var(--color-text); }

.packing-list {
  margin: 0;
  padding-left: 1.25em;
  display: grid;
  gap: var(--space-sm);
}
.packing-list li { font-size: var(--text-sm); color: var(--color-text); line-height: 1.6; }
.ship-card__note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(215,152,0,.1);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .repair-steps { grid-template-columns: 1fr; }
  .ship-grid    { grid-template-columns: 1fr; }
  .repair-form-card { padding: var(--space-xl) var(--space-lg); }
  .acc-options  { grid-template-columns: 1fr; }
}

