/* ============================================================
   O-NAS.CSS — Dom Opieki Jantar
   Style specyficzne dla podstrony o-nas.html.
   Importuj PO global.css.
   ------------------------------------------------------------
   Zawiera:
   • .about-hero
   • .mission (cytat założycielski)
   • .stats (liczby w 4 polach)
   • .values (4 kafelki wartości)
   • .krdo-block (ciemna sekcja KRDO)
   • .team (specjaliści — role, bez nazwisk)
   • .process (proces przyjęcia, 4 kroki)
   • .cta-banner (zachęta do wizyty)
============================================================ */


/* ============================================================
   IMAGE STRIP (szerokie pasmo ze zdjęciem między sekcjami)
============================================================ */
.image-strip {
  width: 100%;
  height: 320px;
  overflow: hidden;
  position: relative;
}

.image-strip__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  transition: transform 1.2s ease;
}

.image-strip:hover .image-strip__photo {
  transform: scale(1.03);
}

.image-strip__caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 20px 24px;
  background: linear-gradient(180deg, transparent, rgba(20, 24, 19, 0.7));
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

@media (min-width: 768px) {
  .image-strip { height: 420px; }
  .image-strip__caption { padding: 28px 40px; font-size: 13px; }
}

@media (min-width: 992px) {
  .image-strip { height: 520px; }
}


/* ============================================================
   HERO PODSTRONY
============================================================ */
.about-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.about-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  max-width: none;
  animation: heroZoom 18s ease-out forwards;
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg,
      rgba(20, 24, 19, 0.85) 0%,
      rgba(20, 24, 19, 0.55) 45%,
      rgba(20, 24, 19, 0.20) 75%,
      rgba(20, 24, 19, 0.05) 100%
    ),
    linear-gradient(180deg,
      rgba(20, 24, 19, 0.05) 0%,
      rgba(20, 24, 19, 0.30) 100%
    );
}

.about-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  opacity: 0.45;
  z-index: 2;
}

.about-hero .container {
  position: relative;
  z-index: 3;
}

.about-hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block: 72px 64px;
  max-width: 640px;
}

.about-hero__heading {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.05;
}

.about-hero__heading-em {
  font-style: italic;
  color: var(--sage-light);
  font-weight: 400;
}

.about-hero__lead {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
}

.about-hero__lead strong {
  color: var(--white);
  font-weight: 600;
}

@media (min-width: 768px) {
  .about-hero__lead { font-size: 17px; }
}

@media (min-width: 992px) {
  .about-hero {
    min-height: 60vh;
  }

  .about-hero__content {
    padding-block: 96px 80px;
  }
}


/* ============================================================
   STORY (sekcja "O nas" — tekst + zdjęcie)
============================================================ */
.story {
  padding-block: 64px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.story__text {
  display: flex;
  flex-direction: column;
}

.story__heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.story__heading-em {
  font-style: italic;
  color: var(--sage-dark);
  font-weight: 400;
}

.story__desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 18px;
}

.story__desc strong {
  color: var(--text-dark);
  font-weight: 600;
}

.story__photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}

.story__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}

.story__photo-wrap:hover .story__photo {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .story { padding-block: 80px; }
  .story__heading { margin-bottom: 28px; }
  .story__desc { font-size: 17px; }
}

@media (min-width: 992px) {
  .story { padding-block: 110px; }

  .story__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 64px;
  }

  .story__photo-wrap {
    aspect-ratio: 5 / 6;
  }
}


/* ============================================================
   MISJA / DUŻY CYTAT
============================================================ */
.mission {
  background: var(--off-white);
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}

.mission__inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.mission__quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 160px;
  line-height: 0.6;
  color: var(--sage-light);
  display: block;
  margin-bottom: 16px;
  opacity: 0.7;
}

.mission__quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 300;
  font-style: italic;
  line-height: 1.35;
  color: var(--text-dark);
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}

.mission__quote-em {
  font-style: italic;
  color: var(--sage-dark);
}

.mission__author {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
}

.mission__author::before,
.mission__author::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gray-line);
}

@media (min-width: 992px) {
  .mission {
    padding-block: 120px;
  }
}


/* ============================================================
   LICZBY (STATS)
============================================================ */
.stats {
  padding-block: 64px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  text-align: center;
}

.stats__item {
  padding: 16px 8px;
}

.stats__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  color: var(--sage-dark);
  margin-bottom: 8px;
  display: block;
}

.stats__label {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 600;
}

@media (min-width: 768px) {
  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
  }
}

@media (min-width: 992px) {
  .stats { padding-block: 80px; }
}


/* ============================================================
   WARTOŚCI
============================================================ */
.values {
  padding-block: 80px;
  background: var(--off-white);
}

.values__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--sage);
  transform: scaleY(0.2);
  transform-origin: top;
  transition: transform var(--transition-slow);
}

.value-card:hover {
  border-color: var(--sage-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.value-card:hover::before {
  transform: scaleY(1);
}

.value-card__icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card__icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card__title {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.value-card__title-em {
  font-style: italic;
  color: var(--sage-dark);
}

.value-card__desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .values__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (min-width: 992px) {
  .values { padding-block: 110px; }
  .values__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ============================================================
   BLOK KRDO (ciemny akcent)
============================================================ */
.krdo-block {
  background: var(--charcoal);
  color: var(--white);
  padding-block: 80px;
  position: relative;
  overflow: hidden;
}

.krdo-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  transform: translateX(-50%);
  opacity: 0.4;
}

.krdo-block__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.krdo-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(201, 147, 61, 0.15);
  border: 1px solid var(--amber);
  border-radius: 2px;
  color: var(--amber-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: max-content;
}

.krdo-block__badge-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.krdo-block__heading {
  font-size: clamp(30px, 4.5vw, 44px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

.krdo-block__heading-em {
  font-style: italic;
  color: var(--sage-light);
  font-weight: 400;
}

.krdo-block__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  margin-bottom: 24px;
}

.krdo-block__lead strong {
  color: var(--white);
  font-weight: 600;
}

.krdo-block__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.krdo-block__point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}

.krdo-block__point-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--sage-light);
  stroke-width: 2.5;
}

.krdo-block__number-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.krdo-block__number-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--amber);
}

.krdo-block__number-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 12px;
  display: block;
  font-weight: 700;
}

.krdo-block__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 8px;
  display: block;
  line-height: 1;
}

.krdo-block__number-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (min-width: 992px) {
  .krdo-block { padding-block: 110px; }

  .krdo-block__inner {
    grid-template-columns: 1.6fr 1fr;
    gap: 64px;
  }
}


/* ============================================================
   ZESPÓŁ (specjaliści — role bez nazwisk)
============================================================ */
.team {
  padding-block: 80px;
  background: var(--white);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}

.team-role {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--off-white);
  border: 1px solid var(--gray-line);
  border-top: 3px solid var(--sage);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.team-role:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.team-role__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--sage-light);
}

.team-role__icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.team-role__number {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.team-role__title {
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.2;
}

.team-role__title-em {
  font-style: italic;
  color: var(--sage-dark);
}

.team-role__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (min-width: 576px) {
  .team__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .team { padding-block: 110px; }
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}


/* ============================================================
   PROCES PRZYJĘCIA
============================================================ */
.process {
  padding-block: 80px;
  background: var(--sage-bg);
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
  margin-top: 28px;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  background: var(--white);
  border: 1px solid var(--sage-light);
  position: relative;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.process-step__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px;
  font-weight: 300;
  line-height: 0.8;
  color: var(--sage);
  margin-bottom: 12px;
}

.process-step__title {
  font-size: 22px;
  margin-bottom: 12px;
}

.process-step__title-em {
  font-style: italic;
  color: var(--sage-dark);
}

.process-step__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .process__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (min-width: 992px) {
  .process { padding-block: 110px; }

  .process__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .process-step__num {
    font-size: 72px;
  }
}


/* ============================================================
   CTA BANNER (zaproszenie do wizyty)
============================================================ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--sage-deep);
  color: var(--white);
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-banner__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  max-width: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-block: 72px;
}

.cta-banner__heading {
  font-size: clamp(30px, 4.5vw, 48px);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.cta-banner__heading-em {
  font-style: italic;
  color: var(--sage-light);
  font-weight: 400;
}

.cta-banner__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 480px;
}

.cta-banner__phone-block {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 28px 24px;
  text-align: center;
}

.cta-banner__phone-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  font-weight: 700;
  display: block;
  margin-bottom: 14px;
}

.cta-banner__phone-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 38px);
  color: var(--white);
  font-weight: 400;
  display: block;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.cta-banner__phone-number:hover {
  color: var(--sage-light);
}

.cta-banner__phone-label--bottom {
  margin-top: 8px;
}

.cta-banner__btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (min-width: 992px) {
  .cta-banner__inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
    padding-block: 96px;
  }
}
