/* ============================================================
   OPIEKA.CSS — Dom Opieki Jantar
   Style specyficzne dla podstrony opieka.html
============================================================ */

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

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

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

.page-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%
    );
}

.page-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;
}

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

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

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

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

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

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

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

@media (min-width: 992px) {
  .page-hero { min-height: 60vh; }
  .page-hero__content { padding-block: 96px 80px; }
}


/* ============================================================
   IMAGE STRIP (szerokie pasmo zdjęciowe 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; }
}


/* ============================================================
   FILARY OPIEKI (4 duże bloki z ikoną)
============================================================ */
.care-pillars {
  padding-block: 80px;
  background: var(--white);
}

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

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

.care-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--sage);
  transform: scaleX(0.15);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

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

.care-pillar:hover::before {
  transform: scaleX(1);
}

.care-pillar__num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

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

.care-pillar__icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.care-pillar__title {
  font-size: 26px;
  margin-bottom: 14px;
  line-height: 1.15;
}

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

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

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

@media (min-width: 992px) {
  .care-pillars { padding-block: 110px; }
  .care-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}


/* ============================================================
   WLICZONE W CENĘ (dwie kolumny: TAK / NIE)
============================================================ */
.included {
  padding-block: 80px;
  background: var(--sage-bg);
  position: relative;
}

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

.included-list {
  background: var(--white);
  padding: 32px 28px;
  border: 1px solid var(--gray-line);
}

.included-list--yes {
  border-top: 3px solid var(--sage);
}

.included-list--no {
  border-top: 3px solid var(--amber);
  background: var(--off-white);
}

.included-list__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage-dark);
  margin-bottom: 8px;
}

.included-list--no .included-list__label {
  color: var(--amber-dark);
}

.included-list__heading {
  font-size: 26px;
  margin-bottom: 24px;
  line-height: 1.2;
}

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

.included-list--no .included-list__heading-em {
  color: var(--amber-dark);
}

.included-list__items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.included-list__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-line);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.5;
}

.included-list__item:last-child {
  border-bottom: none;
}

.included-list__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke-width: 2.5;
}

.included-list--yes .included-list__icon {
  color: var(--sage-dark);
}

.included-list--no .included-list__icon {
  color: var(--amber);
}

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

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


/* ============================================================
   PROCES — plan opieki
============================================================ */
.plan-process {
  padding-block: 80px;
  background: var(--white);
}

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

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

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

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

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

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

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

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

@media (min-width: 992px) {
  .plan-process { padding-block: 110px; }
  .plan-process__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .plan-step__num { font-size: 72px; }
}


/* ============================================================
   CTA BANNER
============================================================ */
.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;
  }
}
