/* ========================================
   Service Pages Styles
   Breadcrumbs, Hero, Content, CTA
   ======================================== */

/* ========================================
   SERVICE PAGE BACKGROUND
   ======================================== */

/* Service hero — transparent so fixed fon-bg shows through */
.service-hero {
  background: transparent;
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.breadcrumbs {
  padding: var(--space-3) 0;
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.breadcrumbs__item::after {
  content: '/';
  color: var(--color-gray-400);
  margin-left: var(--space-1);
}

.breadcrumbs__item:last-child::after {
  display: none;
}

.breadcrumbs__link {
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.breadcrumbs__link:hover {
  color: var(--color-primary);
}

.breadcrumbs__current {
  color: var(--color-gray-700);
}

/* ========================================
   SERVICE HERO
   ======================================== */

.service-hero {
  padding: var(--space-8) 0 var(--space-12);
  position: relative;
  z-index: 2;
}

.service-hero__inner {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}

.service-hero__content {
  max-width: 640px;
}

.service-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.service-hero__subtitle {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--color-gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.service-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.service-hero__price-label {
  font-size: var(--text-sm);
  color: var(--color-gray-700);
}

.service-hero__price-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-price);
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Service hero image — glass container */
.service-hero__image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(180, 180, 195, 0.45);
  position: relative;
}

/* Mobile — show full photo naturally */
.service-hero__image img {
  width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Centered image position modifier */
.service-hero__image--center img {
  object-position: center;
}

/* Top-left image position modifier */
.service-hero__image--top-left img {
  object-position: top left;
}

/* Contain — show full image without cropping */
.service-hero__image--contain img {
  object-fit: contain;
  object-position: top center;
}

/* Logo instead of photo */
.service-hero__image--logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  background: none;
  box-shadow: none;
  border: none;
  border-radius: 0;
}
.service-hero__image--logo img {
  max-width: 280px;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 768px) {
  .service-hero {
    padding: var(--space-12) 0 var(--space-16);
  }

  .service-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  /* Desktop — img absolute inside stretched container */
  .service-hero__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: top center;
  }

  /* Position modifiers — override default object-position */
  .service-hero__image--center img {
    object-position: center;
  }
  .service-hero__image--top-left img {
    object-position: top left;
  }

  /* Contain — full image, no cropping, same container size */
  .service-hero__image--contain img {
    object-fit: contain;
    object-position: top center;
  }

  /* Logo — override absolute positioning */
  .service-hero__image--logo img {
    position: static;
    width: 100%;
    max-width: 340px;
    height: auto;
    object-fit: contain;
  }
}

@media (min-width: 1024px) {
  .service-hero {
    padding: var(--space-20) 0 var(--space-16);
  }

  .service-hero__content {
    max-width: none;
  }
}


/* ========================================
   SERVICE CONTENT SECTION
   ======================================== */

.service-content {
  padding: var(--space-8) 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Glass wrapper for main text content */
.service-content__text {
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(180, 180, 195, 0.45);
  border-radius: 16px;
  padding: 20px;
}

.service-content__grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-content__grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-12);
  }
}

/* Full-width variant (no sidebar) */
.service-content__grid--full {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .service-content__grid--full {
    grid-template-columns: 1fr;
    max-width: 800px;
    margin: 0 auto;
  }
}

.service-content__text h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.service-content__text h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.service-content__text p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-4);
}

.service-content__text ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-4);
}

.service-content__text ul li {
  position: relative;
  padding-left: var(--space-6);
  margin-bottom: var(--space-2);
  font-size: var(--text-base);
  color: var(--color-gray-700);
  line-height: 1.6;
}

.service-content__text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: 700;
}

/* Sidebar info card */
.service-content__grid > aside {
  position: sticky;
  top: 160px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-self: start;
}

.service-sidebar__card {
  background: var(--glass-bg);
  border-radius: var(--glass-radius);
  border: 1px solid var(--glass-border);
  padding: var(--space-6);
}

.service-sidebar__title,
.service-sidebar__heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
}

.service-sidebar__item {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-gray-100);
  font-size: var(--text-sm);
}

.service-sidebar__item:last-child {
  border-bottom: none;
}

.service-sidebar__label {
  color: var(--color-gray-600);
}

.service-sidebar__value {
  font-weight: 600;
  color: var(--color-gray-900);
}

.service-sidebar__cta {
  margin-top: var(--space-4);
}

.service-sidebar__cta .btn {
  width: 100%;
}

/* ========================================
   SERVICE EXTRA TEXT BLOCK
   ======================================== */

.service-extra {
  padding: var(--space-6) 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.service-extra__inner {
  max-width: 800px;
  margin: 0 auto;
}

.service-extra__inner p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-4);
}

.service-extra__inner p:last-child {
  margin-bottom: 0;
}

/* ========================================
   SERVICE FEATURES GRID
   ======================================== */

.service-features {
  padding: var(--space-8) 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.service-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .service-features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-features__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Premium glass card style — matches main page glassmorphism */
.service-feature-card {
  position: relative;
  padding: 28px 22px 26px;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid rgba(180, 180, 195, 0.45);
  box-shadow: 0 6px 28px rgba(28,26,21,0.055), 0 1px 2px rgba(255,255,255,0.85) inset;
  transition: all 0.5s cubic-bezier(0.23,1,0.32,1);
  overflow: hidden;
  text-align: left;
}

/* Silver top stripe on hover */
.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(155,170,195,0.5), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Auto-shine glare */
.service-feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, transparent 0%, transparent 40%, rgba(230,235,245,0.25) 45%, rgba(248,250,255,0.45) 50%, rgba(230,235,245,0.25) 55%, transparent 60%, transparent 100%);
  background-size: 300% 300%;
  background-position: 100% 100%;
  pointer-events: none;
  animation: serviceShine 5s ease-in-out infinite;
}

@keyframes serviceShine {
  0%, 100% { background-position: 100% 100%; }
  40%, 60% { background-position: 0% 0%; }
}

.service-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(28,26,21,0.09), 0 1px 3px rgba(255,255,255,1) inset;
  border-color: rgba(160, 160, 180, 0.6);
}

.service-feature-card:hover::before { opacity: 1; }

.service-feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(220,226,238,0.6), rgba(200,210,225,0.25));
  border: 1px solid rgba(180, 180, 195, 0.42);
  box-shadow: 0 2px 8px rgba(28,26,21,0.04);
  transition: box-shadow 0.5s ease;
}

.service-feature-card:hover .service-feature-card__icon {
  box-shadow: 0 0 20px rgba(196,180,154,0.2), 0 2px 8px rgba(28,26,21,0.05);
}

.service-feature-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: #4a5c78;
  stroke-width: 1.8;
  fill: none;
}

.service-feature-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #1a2234;
  margin-bottom: 8px;
  line-height: 1.35;
}

.service-feature-card__text {
  font-size: 14.5px;
  font-weight: 400;
  color: #6b7a8d;
  line-height: 1.6;
}

/* ========================================
   SERVICE CTA SECTION
   ======================================== */

.service-cta {
  padding: var(--space-12) 0;
  text-align: center;
  position: relative;
  z-index: 2;
  background: transparent;
}

.service-cta__card {
  background: linear-gradient(135deg, #2c2620, #3d3428);
  border-radius: 24px;
  border: none;
  padding: var(--space-10) var(--space-6);
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(28,26,21,0.12);
}

.service-cta__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 400;
  color: var(--color-gray-50);
  margin-bottom: var(--space-3);
}

.service-cta__text {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 300;
  color: rgba(250,248,244,0.65);
  margin-bottom: var(--space-6);
  line-height: 1.6;
}

.service-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

/* Dark CTA button overrides */
.service-cta .btn-primary {
  background: var(--color-gray-50);
  color: var(--color-gray-900);
  border: none;
}
.service-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(250,248,244,0.25);
}
.service-cta .btn-secondary,
.service-cta a.btn-secondary {
  background: transparent;
  color: var(--color-gray-50);
  border: 1.5px solid rgba(250,248,244,0.3);
}
.service-cta .btn-secondary:hover,
.service-cta a.btn-secondary:hover {
  border-color: rgba(250,248,244,0.6);
  background: rgba(250,248,244,0.08);
  color: var(--color-gray-50);
}

/* ========================================
   RELATED SERVICES
   ======================================== */

/* Navigational title (replaced from h2.section-title for semantics) */
.related-services__title {
  text-align: center;
  margin-bottom: var(--space-6);
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-gray-900);
}

.related-services {
  padding: var(--space-8) 0 var(--space-12);
  position: relative;
  z-index: 2;
  background: transparent;
}

.related-services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}

@media (min-width: 768px) {
  .related-services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.related-card {
  background: var(--glass-bg);
  border-radius: var(--glass-radius);
  border: 1px solid var(--glass-border);
  padding: var(--space-4);
  text-align: center;
  transition: var(--transition-base);
  display: block;
  color: inherit;
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  color: inherit;
}

.related-card__title {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-1);
}

.related-card__price {
  font-size: var(--text-xs);
  color: var(--color-primary);
  font-weight: 600;
}

/* ========================================
   SERVICE FAQ
   ======================================== */

.service-faq {
  padding: var(--space-8) 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Glass wrapper for FAQ items */
.service-faq__list .faq-item {
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  border: 1px solid rgba(180, 180, 195, 0.45);
  border-radius: 16px;
  margin-bottom: var(--space-3);
}

.service-faq__list {
  margin-top: var(--space-6);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Question button */
.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Golos Text', sans-serif;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-gray-900);
  text-align: left;
  line-height: 1.4;
  transition: color 0.25s ease;
}

.faq-item__question:hover {
  color: var(--color-primary);
}

/* Plus/minus icon */
.faq-item__question::after {
  content: '+';
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-gray-500);
  border-radius: 50%;
  background: rgba(180, 170, 155, 0.12);
  transition: transform 0.3s ease, background 0.25s ease;
}

.faq-item.active .faq-item__question::after {
  content: '\2212';
  transform: rotate(180deg);
  background: rgba(180, 170, 155, 0.22);
}

/* Answer panel */
.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
}

.faq-item__answer p {
  padding: 0 var(--space-6) var(--space-5);
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-gray-700);
}

/* Separator between items */
.service-faq__list .faq-item + .faq-item {
  margin-top: 0;
}

/* Heading reuse from gallery (base styles for pages without service-gallery.css) */
.service-faq .service-gallery__heading {
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--color-gray-900);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) {
  .service-faq .service-gallery__heading { font-size: var(--text-4xl); }
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .faq-item__question {
    padding: var(--space-4) var(--space-4);
    font-size: var(--text-sm);
  }
  .faq-item__answer p {
    padding: 0 var(--space-4) var(--space-4);
    font-size: var(--text-xs);
  }
}
