/* ============================================================
   UDOGODNIENIA.CSS — Dom Opieki Jantar
============================================================ */

/* HERO (wspólny pattern) */
.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%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px; z-index: 2; opacity: 0.45;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}
.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; }
}


/* UDOGODNIENIA — 6 dużych kafelków z obrazkami */
.amenities-section { padding-block: 80px; background: var(--white); }
.amenities-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 24px;
}
.amenity-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--sage-light);
}

/* Wariant z dużą ikoną (bez obrazka) */
.amenity-card--icon-only { padding: 36px 28px 32px; }

.amenity-card__img-wrap {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.amenity-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.amenity-card:hover .amenity-card__img { transform: scale(1.04); }

.amenity-card__num-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--white);
  padding: 6px 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-dark);
  border: 1px solid var(--sage-light);
  letter-spacing: 0.04em;
}

/* Wariant inline — numer wbudowany w treść karty, nie absolute */
.amenity-card__num-tag--inline {
  position: static;
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Manrope', sans-serif;
  color: var(--sage);
  font-weight: 600;
}

.amenity-card__body { padding: 28px 24px; }
.amenity-card__icon-wrap {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-bg);
  color: var(--sage-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.amenity-card__icon-wrap--large {
  width: 56px; height: 56px;
  margin-bottom: 22px;
}
.amenity-card__icon { width: 22px; height: 22px; stroke-width: 1.8; }
.amenity-card__icon--large { width: 28px; height: 28px; stroke-width: 1.6; }
.amenity-card__title {
  font-size: 24px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.amenity-card__title-em { font-style: italic; color: var(--sage-dark); }
.amenity-card__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
@media (min-width: 768px) {
  .amenities-section__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 992px) {
  .amenities-section { padding-block: 110px; }
  .amenities-section__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}


/* DZIEŃ U NAS — porządek dnia */
.daily-routine {
  padding-block: 80px;
  background: var(--sage-bg);
}
.daily-routine__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.routine-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.routine-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--sage-light);
  align-items: start;
}
.routine-item:last-child { border-bottom: none; }
.routine-item__time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--sage-dark);
  line-height: 1;
}
.routine-item__title {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.routine-item__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.55;
}
@media (min-width: 992px) {
  .daily-routine { padding-block: 110px; }
}


/* GOŚCIE */
.visitors {
  padding-block: 80px;
  background: var(--white);
}
.visitors__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}
.visitors__photo-wrap {
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid var(--gray-line);
}
.visitors__photo {
  width: 100%; height: 100%;
  object-fit: cover;
}
.visitors__text h3 {
  font-size: 30px;
  margin-bottom: 16px;
  line-height: 1.2;
}
.visitors__text h3 em { font-style: italic; color: var(--sage-dark); }
.visitors__text p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.visitors__hours {
  background: var(--off-white);
  padding: 24px;
  border-left: 3px solid var(--sage);
  margin-top: 20px;
}
.visitors__hours-title {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 700;
  margin-bottom: 10px;
}
.visitors__hours-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.6;
}
@media (min-width: 992px) {
  .visitors { padding-block: 110px; }
  .visitors__grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}


/* CTA BANNER — wspólny */
.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; 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; 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; align-items: center; }
}
