:root {
  --bg-base: #EDE8E0;
  --bg-elevated: #F5F1EC;
  --bg-dark: #2C2420;
  --text-primary: #2C2420;
  --text-muted: #7A6A5F;
  --accent: #C4A882;
  --text-on-dark: #EDE8E0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 88px; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.font-display { font-family: 'Cormorant Garamond', serif; }
.font-body { font-family: 'DM Sans', sans-serif; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.label-style {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.heading-hero {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.heading-section {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
}

.heading-card {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2.25rem;
  border: 1px solid var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.pill-cta:hover {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  transform: translateY(-1px);
}
.pill-cta-outline {
  border-color: var(--text-muted);
  color: var(--text-muted);
}
.pill-cta-outline:hover {
  background-color: var(--text-muted);
  color: var(--text-on-dark);
}
.pill-cta-light {
  border-color: var(--text-on-dark);
  color: var(--text-on-dark);
}
.pill-cta-light:hover {
  background-color: var(--bg-base);
  color: var(--text-primary);
}

.text-cta {
  display: inline-block;
  position: relative;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  padding-bottom: 2px;
}
.text-cta::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 300ms ease;
}
.text-cta:hover::after { transform: scaleX(1); }

/* ===== Sticky header bar ===== */
.site-bar {
  background: rgba(237, 232, 224, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(196,168,130,0.18);
}
.site-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.site-bar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  letter-spacing: 0.16em;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 500;
}
.site-bar-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-bar-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.site-bar-link:hover { color: var(--text-primary); }
.site-bar-cta {
  display: inline-flex;
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-primary);
  transition: background-color 200ms ease, color 200ms ease;
}
.site-bar-cta:hover {
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
}
@media (max-width: 640px) {
  .site-bar-link { display: none; }
}

/* ===== Hero section ===== */
.service-hero {
  padding: 4rem 0 5rem;
  position: relative;
}
.service-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 900px) {
  .service-hero { padding: 6rem 0 7rem; }
  .service-hero-inner { grid-template-columns: 1.05fr 1fr; gap: 5rem; }
}
.service-hero-text > .label-style { margin-bottom: 1rem; }
.service-hero-text > .heading-hero { margin-bottom: 1.5rem; }
.service-hero-text > .hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.service-hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(44,36,32,0.12), 0 4px 16px rgba(44,36,32,0.06);
}
.service-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
}
.service-hero-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(196,168,130,0.12) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}
.service-hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(196,168,130,0.22);
  border-radius: 22px;
}
.service-hero-placeholder .placeholder-numeral {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.service-hero-placeholder .placeholder-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Description section ===== */
.service-description {
  padding: 5rem 0;
  background-color: var(--bg-elevated);
}
.description-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 900px) {
  .description-grid { grid-template-columns: 1.5fr 1fr; gap: 5rem; }
}
.description-text > .heading-section { margin-bottom: 1.75rem; }
.description-text p {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.description-text p:last-child { margin-bottom: 0; }

.description-info {
  padding: 2rem;
  background: var(--bg-base);
  border-radius: 22px;
  border: 1px solid rgba(196,168,130,0.18);
  align-self: start;
}
.description-info h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}
.description-info ul {
  list-style: none;
  padding: 0;
}
.description-info li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-primary);
}
.description-info li:last-child { margin-bottom: 0; }
.description-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 0.55rem;
  height: 1px;
  background: var(--accent);
}

/* ===== Variants section ===== */
.service-variants {
  padding: 6rem 0;
}
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-header > .label-style { margin-bottom: 1rem; display: block; }
.variants-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .variants-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .variants-grid.three-col { grid-template-columns: repeat(3, 1fr); }
}
.variant-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(196,168,130,0.18);
  border-radius: 20px;
  padding: 2rem 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.variant-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(44,36,32,0.08);
  border-color: rgba(196,168,130,0.32);
}
.variant-card .variant-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}
.variant-card .heading-card {
  flex: 1;
  font-size: 1.2rem;
}
.variant-card .variant-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--accent);
  white-space: nowrap;
}
.variant-card .variant-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Compact list for many short variants (e.g. elektroepiliacija by time) */
.variants-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.variants-table .variant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(196,168,130,0.14);
  border-radius: 14px;
  font-size: 0.95rem;
}
.variants-table .variant-row .variant-time { font-weight: 500; }
.variants-table .variant-row .variant-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--accent);
  white-space: nowrap;
}
.variants-table .variant-row.highlight {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  border-color: var(--bg-dark);
}
.variants-table .variant-row.highlight .variant-price { color: var(--accent); }

/* ===== Gallery section ===== */
.service-gallery {
  padding: 5rem 0 6rem;
  background-color: var(--bg-elevated);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}
.gallery-item {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: var(--bg-base);
  border: 1px dashed rgba(196,168,130,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(196,168,130,0.05) 100%);
  pointer-events: none;
}
.gallery-item svg {
  width: 32px;
  height: 32px;
  stroke: rgba(196,168,130,0.6);
}
.gallery-item-photo {
  background: var(--bg-base);
  border: 1px solid rgba(196,168,130,0.18);
  padding: 0;
}
.gallery-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
  transition: transform 500ms ease;
}
.gallery-item-photo:hover img { transform: scale(1.04); }
.gallery-item-photo::after { display: none; }
.gallery-item .gallery-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== Final CTA section ===== */
.service-cta {
  padding: 6rem 1.5rem;
  background-color: var(--bg-dark);
  color: var(--text-on-dark);
  text-align: center;
}
.service-cta .label-style { color: var(--accent); margin-bottom: 1rem; display: block; }
.service-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--text-on-dark);
}
.service-cta p {
  font-size: 1.05rem;
  color: rgba(237,232,224,0.78);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Related services ===== */
.related-services {
  padding: 5rem 0 6rem;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .related-grid { grid-template-columns: repeat(3, 1fr); }
}
.related-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1px solid rgba(196,168,130,0.18);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(44,36,32,0.10);
  border-color: rgba(196,168,130,0.35);
}
.related-card-image {
  aspect-ratio: 5 / 4;
  overflow: hidden;
}
.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.02) saturate(0.95);
  transition: transform 400ms ease;
}
.related-card:hover .related-card-image img {
  transform: scale(1.04);
}
.related-card-placeholder {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, var(--bg-base) 0%, rgba(196,168,130,0.10) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.related-card-placeholder::before {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(196,168,130,0.22);
  border-radius: 14px;
}
.related-card-placeholder .placeholder-numeral {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.related-card-body {
  padding: 1.5rem 1.65rem 1.85rem;
}
.related-card-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}
.related-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  margin-bottom: 0.4rem;
}
.related-card-arrow {
  display: inline-block;
  margin-left: 0.4rem;
  transition: transform 200ms ease;
}
.related-card:hover .related-card-arrow {
  transform: translateX(3px);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-elevated);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(196,168,130,0.18);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.site-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.site-footer a:hover { color: var(--text-primary); }
