/* ============================================
   Услуги — Кристина Козлова
   Service pages stylesheet
   Links with /css/blog.css for shared header/footer/buttons
   ============================================ */

/* Override container max-width to match main site */
:root {
  --maxw: 960px;
}

/* ============================================
   SERVICE HERO
   ============================================ */
.service-hero {
  padding: clamp(40px, 8vw, 100px) 0 0;
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 90% 10%, rgba(200,154,138,.15), transparent 70%);
  pointer-events: none;
}
.service-hero__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-blush-deep);
  margin: 0 0 20px;
}
.service-hero h1 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
  max-width: 20ch;
  color: var(--c-ink);
}
.service-hero__lead {
  font-size: 18px;
  color: var(--c-ink-soft);
  max-width: 52ch;
  margin: 0 0 36px;
  line-height: 1.65;
}
.service-hero__actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.uslugi-section {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--c-paper);
}
.uslugi-section--cream {
  background: var(--c-cream);
}
.uslugi-section h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.1;
  margin: 0 0 28px;
  color: var(--c-ink);
  letter-spacing: -0.005em;
}
.uslugi-section p {
  color: var(--c-ink-soft);
  max-width: 68ch;
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
}
.uslugi-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 60ch;
  margin: 0;
  padding: 0;
  list-style: none;
}
.uslugi-list li {
  padding-left: 22px;
  position: relative;
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.6;
}
.uslugi-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-blush-deep);
}

/* ============================================
   PRICE LIST
   ============================================ */
.price-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--c-rule);
  max-width: 560px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.price-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-rule);
}
.price-list li span {
  color: var(--c-ink-soft);
  font-size: 15px;
}
.price-list li b {
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  color: var(--c-ink);
}

/* ============================================
   SEO TEXT BLOCK
   ============================================ */
.uslugi-seo {
  padding: clamp(40px, 6vw, 80px) 0;
  background: var(--c-paper);
  border-top: 1px solid var(--c-rule);
}
.uslugi-seo__text {
  max-width: 66ch;
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.8;
}
.uslugi-seo__text p { margin: 0 0 20px; }
.uslugi-seo__text p:last-child { margin-bottom: 0; }
.uslugi-seo__text a {
  color: var(--c-blush-deep);
  text-decoration: underline;
}

/* ============================================
   CONTACT / CTA SECTION
   ============================================ */
.uslugi-cta {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--c-ink);
  color: var(--c-paper);
  position: relative;
  overflow: hidden;
}
.uslugi-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(200,154,138,.18), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(184,153,104,.10), transparent 70%);
  pointer-events: none;
}
.uslugi-cta__inner {
  position: relative;
}
.uslugi-cta .eyebrow { color: var(--c-blush); }
.uslugi-cta h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  margin: 0 0 16px;
  color: var(--c-paper);
}
.uslugi-cta p {
  color: var(--c-cream-2);
  margin: 0 0 36px;
  max-width: 48ch;
  font-size: 17px;
}
.uslugi-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border: 1px solid rgba(244,237,228,.18);
  border-radius: 999px;
  font-family: var(--ff-display);
  font-size: 22px;
  color: var(--c-paper);
  transition: all .3s var(--ease);
  text-decoration: none;
}
.cta-btn:hover {
  background: var(--c-paper);
  color: var(--c-ink);
  border-color: var(--c-paper);
}
.cta-btn__arrow {
  transition: transform .35s var(--ease);
  color: var(--c-blush);
  font-style: normal;
}
.cta-btn:hover .cta-btn__arrow {
  transform: translateX(8px);
  color: var(--c-blush-deep);
}

/* ============================================
   RELATED SERVICES
   ============================================ */
.uslugi-related {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--c-cream);
}
.uslugi-related h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  margin: 0 0 clamp(28px, 4vw, 48px);
  color: var(--c-ink);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--c-paper);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -16px rgba(28,22,20,.18);
}
.related-card__title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--c-ink);
  line-height: 1.2;
}
.related-card__desc {
  font-size: 14px;
  color: var(--c-mute);
  flex: 1;
  line-height: 1.55;
}
.related-card__link {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-blush-deep);
  margin-top: 4px;
}

/* ============================================
   SOCIAL NAV (footer reuse)
   ============================================ */
.social-nav {
  display: flex;
  gap: 14px;
  align-items: center;
}
.social-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  opacity: .7;
  transition: opacity .2s;
}
.social-nav a:hover { opacity: 1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 720px) {
  .related-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-hero__actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PHOTO PLACEHOLDERS & GALLERY GRID
   ============================================ */
.photo-placeholder {
  background: #e9e9e9;
  border: 2px dashed #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
  font-size: 14px;
  text-align: center;
  padding: 16px;
  border-radius: 4px;
  line-height: 1.4;
}
.gallery-cat-heading {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  margin: 28px 0 12px;
}
.gallery-cat-heading:first-of-type {
  margin-top: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-hero__banner {
  margin-top: 36px;
  border-radius: 8px;
  overflow: hidden;
}
.service-hero__banner img,
.service-hero__banner video {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ============================================
   PRICE TABLE
   ============================================ */
.price-table {
  width: 100%;
  max-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}
.price-table th {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid var(--c-rule);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-mute);
}
.price-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--c-rule);
  color: var(--c-ink-soft);
  vertical-align: top;
  line-height: 1.5;
}
.price-table td:last-child {
  white-space: nowrap;
  font-weight: 500;
  color: var(--c-ink);
  text-align: right;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process-steps {
  display: flex;
  flex-direction: column;
  max-width: 620px;
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 16px;
  padding-bottom: 28px;
  position: relative;
}
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-cream);
  border: 1px solid var(--c-rule);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-blush-deep);
  flex-shrink: 0;
  margin-top: 2px;
}
.process-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 4px;
  width: 1px;
  background: var(--c-rule);
}
.process-steps li > div { padding-top: 8px; }
.process-steps li strong {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--c-ink);
  margin-bottom: 4px;
}
.process-steps li p {
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  max-width: 640px;
  display: flex;
  flex-direction: column;
}
.faq-list details { border-bottom: 1px solid var(--c-rule); }
.faq-list details:first-child { border-top: 1px solid var(--c-rule); }
.faq-list summary {
  padding: 18px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  color: var(--c-blush-deep);
  flex-shrink: 0;
  transition: transform .25s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer {
  padding: 0 0 18px;
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.7;
  max-width: 58ch;
}

/* ============================================
   COMPARISON COLUMNS
   ============================================ */
.compare-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 640px;
}
.compare-col {
  background: var(--c-cream);
  border-radius: 4px;
  padding: 22px 24px;
}
.compare-col h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 12px;
  color: var(--c-ink);
}
.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.compare-col li {
  font-size: 14px;
  color: var(--c-ink-soft);
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
}
.compare-col li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-blush-deep);
}
@media (max-width: 540px) {
  .compare-cols { grid-template-columns: 1fr; }
}

/* ============================================
   WEDDING TIMELINE
   ============================================ */
.timeline-block {
  display: flex;
  flex-direction: column;
  max-width: 440px;
  border-left: 2px solid var(--c-rule);
  padding-left: 24px;
  margin-left: 4px;
}
.timeline-item {
  position: relative;
  padding-bottom: 16px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-blush-deep);
}
.timeline-item time {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-blush-deep);
  display: block;
  margin-bottom: 2px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   TESTIMONIAL / BEFORE-AFTER PLACEHOLDERS
   ============================================ */
.testimonial-placeholder {
  background: var(--c-cream);
  border-radius: 4px;
  padding: 20px 24px;
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.6;
  font-style: italic;
}
.testimonial-placeholder span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--c-mute);
  font-style: normal;
}
.testimonials-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.before-after-placeholder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 480px;
}
.before-after-placeholder p {
  grid-column: 1/-1;
  font-size: 14px;
  color: var(--c-mute);
  margin: 4px 0 0;
  line-height: 1.5;
}
.before-after-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sample-list-placeholder {
  background: var(--c-cream);
  border-radius: 4px;
  padding: 20px 24px;
  max-width: 480px;
}
.sample-list-placeholder h4 {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-mute);
  margin: 0 0 12px;
}
.sample-list-placeholder ul {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sample-list-placeholder li {
  font-size: 14px;
  color: var(--c-ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.sample-list-placeholder li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--c-blush-deep);
}
.sample-list-placeholder span {
  display: block;
  font-size: 13px;
  color: var(--c-mute);
}

/* ============================================
   COLOR PALETTE GRID
   ============================================ */
.palette-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 640px;
}
.palette-card { border-radius: 4px; overflow: hidden; }
.palette-card__swatch { height: 72px; }
.palette-card__label { padding: 10px 12px; background: var(--c-cream); }
.palette-card__label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 3px;
}
.palette-card__label span {
  font-size: 12px;
  color: var(--c-ink-soft);
  line-height: 1.4;
}
@media (max-width: 560px) {
  .palette-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   DELIVERABLES CHECKLIST
   ============================================ */
.deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 52ch;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.deliverables-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.55;
}
.deliverables-list li::before {
  content: '✓';
  color: var(--c-blush-deep);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   INFO CALLOUT (zone/hours/policy blocks)
   ============================================ */
.info-callout {
  background: var(--c-cream);
  border-left: 3px solid var(--c-blush);
  padding: 16px 20px;
  border-radius: 0 4px 4px 0;
  max-width: 520px;
  font-size: 15px;
  color: var(--c-ink-soft);
  line-height: 1.65;
}
.info-callout p { margin: 0 0 8px; }
.info-callout p:last-child { margin-bottom: 0; }

/* ============================================
   HOMEPAGE SEO BLOCK
   ============================================ */
.hp-seo {
  padding: clamp(36px, 5vw, 56px) 0;
  background: #f8f8f8;
}
.hp-seo h2 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--c-ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
.hp-seo p {
  font-size: 14px;
  color: var(--c-mute);
  line-height: 1.78;
  max-width: 72ch;
  margin: 0 0 10px;
}
.hp-seo p:last-child { margin-bottom: 0; }

/* ============================================
   RUSH CONTACT (экстренный)
   ============================================ */
.rush-contact-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 440px;
}
.rush-contact-top .cta-btn-rush {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--c-ink);
  color: var(--c-paper);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.rush-contact-top .cta-btn-rush:hover { background: var(--c-blush-deep); }
.rush-note {
  font-size: 13px;
  color: var(--c-mute);
  line-height: 1.5;
  margin: 4px 0 0;
}

/* ============================================
   GENTLE TONE (похороны)
   ============================================ */
.gentle-lead {
  font-size: 17px;
  color: var(--c-ink-soft);
  max-width: 52ch;
  line-height: 1.75;
  border-left: 3px solid var(--c-blush);
  padding-left: 18px;
  margin: 0 0 28px;
}
.wa-quiet-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--c-rule);
  border-radius: 999px;
  font-size: 15px;
  color: var(--c-ink);
  text-decoration: none;
  transition: background .2s;
  margin-bottom: 8px;
}
.wa-quiet-btn:hover { background: var(--c-cream); }

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
