:root {
  --bg: #f6f0e6;
  --bg-soft: #eee2d1;
  --paper: #fffaf3;
  --text: #1f1a15;
  --muted: #71675c;
  --brand: #cba56c;
  --brand-dark: #7a4e24;
  --dark: #17110c;
  --line: rgba(31, 26, 21, .12);
  --shadow: 0 20px 55px rgba(42, 32, 22, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.container {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 243, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  width: auto;
  height: 58px;
  max-width: 190px;
  padding: 8px 12px;
  border-radius: 16px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 24px rgba(31, 26, 21, .1);
}

.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.nav a:hover { color: var(--brand-dark); }

.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
  flex: 0 0 auto;
}

.contact-btn,
.mobile-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  background: #c69542;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(198, 149, 66, .22);
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.contact-btn:hover,
.mobile-call:hover {
  background: #b88735;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(198, 149, 66, .28);
}

.contact-btn svg,
.mobile-call svg,
.contact-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.contact-icon {
  width: 35px;
  height: 35px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(31, 26, 21, .14);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.contact-icon:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 28px rgba(31, 26, 21, .18);
  filter: brightness(1.04);
}

.contact-icon.telegram {
  background: #27a7e7;
}

.contact-icon.viber {
  background: #7360f2;
}
.viber svg{
    width:24px !important;
    height:24px !important;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--dark);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero-picture,
.hero-picture img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-picture img {
  object-fit: cover;
  object-position: center 38%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 12, 7, .88), rgba(19, 12, 7, .34)),
    linear-gradient(0deg, rgba(19, 12, 7, .22), rgba(19, 12, 7, .22));
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 110px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .13em;
}

h1, h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
}

h1 {
  margin: 0 0 22px;
  font-size: clamp(43px, 7vw, 84px);
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4.8vw, 56px);
}

h3 {
  margin: 0;
  line-height: 1.25;
}

.hero-text {
  max-width: 980px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #1e1409;
  box-shadow: 0 14px 30px rgba(203, 165, 108, .36);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,.54);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.section {
  padding: 86px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading.center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.lead {
  color: var(--muted);
  font-size: 18px;
}

.intro
 {
   background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.benefit,
.work-card,
.review-card,
.care-card,
.process-grid article,
.form {
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.service-card {
  overflow: hidden;
}

.service-card picture,
.service-card img {
  width: 100%;
  height: 230px;
}

.service-card img {
  object-fit: cover;
}

.service-card div {
  padding: 24px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.benefits,
.reviews,
.works {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.benefits-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefit {
  min-height: 150px;
  padding: 28px;
}

.benefit strong {
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  font-weight: 400;
}

.benefit span {
  color: var(--muted);
}

.section-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 26px;
}

.section-row .section-heading {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 12px;
}

.slider-btn {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--dark);
  box-shadow: 0 12px 26px rgba(31,26,21,.16);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

.slider-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 4px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(90,78,64,.48) rgba(90,78,64,.14);
}

.slider-track::-webkit-scrollbar {
  height: 8px;
}

.slider-track::-webkit-scrollbar-track {
  background: rgba(90,78,64,.14);
  border-radius: 999px;
}

.slider-track::-webkit-scrollbar-thumb {
  background: rgba(90,78,64,.48);
  border-radius: 999px;
}

.work-card {
  flex: 0 0 420px;
  overflow: hidden;
  scroll-snap-align: start;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 210px;
}

.before-after figure {
  position: relative;
  margin: 0;
}

.before-after figure + figure {
  border-left: 3px solid #fff;
}

.before-after img {
  width: 100%;
  height: 235px;
  object-fit: cover;
}

.before-after span {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(20,15,10,.75);
  font-size: 12px;
  font-weight: 900;
}
.section-divider{
    max-width: 980px;
    height:1px;

    margin:70px auto;

    background:#c69542;
    border-radius:999px;
}

.work-body {
  padding: 20px;
}

.work-body h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.work-body p {
  margin: 0;
  color: var(--muted);
}

.process {
  background: #fbf7f0;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-grid article {
  padding: 24px;
}

.process-grid span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--brand-dark);
  font-weight: 900;
}

.process-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.process-grid p {
  margin: 0;
  color: var(--muted);
}

.review-card {
  flex: 0 0 320px;
  padding: 24px;
  scroll-snap-align: start;
}

.stars {
  color: #f0a41a;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-card p {
  margin: 0 0 20px;
}

.review-card {
  display: flex;
  flex-direction: column;
}

.review-card footer {
  margin-top: auto;
  color: var(--muted);
  font-weight: 800;
}

.care-card {
  flex: 0 0 360px;
  overflow: hidden;
  scroll-snap-align: start;
}

.care-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.care-card div {
  padding: 22px;
}

.care-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.care-card p {
  margin: 0;
  color: var(--muted);
}

.contacts {
  padding: 86px 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(25, 17, 10, .94), rgba(91, 57, 25, .88)),
    url('../img/hero-restauro.jpg') center/cover no-repeat;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 470px;
  gap: 50px;
  align-items: center;
}

.contacts-info p {
  max-width: 660px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-list a,
.contact-list span {
  font-weight: 900;
  color: #fff;
}

.form {
  padding: 28px;
  color: var(--text);
}

.form label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form input,
.form textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  outline: 0;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--brand);
}

.checkbox {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
}

.checkbox input {
  width: auto;
  margin-top: 4px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 28px 0;
  background: var(--dark);
  color: rgba(255,255,255,.72);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  filter: none;
}

@media (max-width: 1100px) {
  .service-grid,
  .benefits-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 32px, 1220px);
  }

  .site-logo {
    height: 48px;
    max-width: 155px;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 13px;
  }

  .hero {
    min-height: 610px;
  }

  .hero-content {
    padding: 86px 0;
  }

  h1 {
    font-size: clamp(39px, 12vw, 58px);
  }

  .section {
    padding: 62px 0;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .benefits-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .review-card,
  .care-card {
    flex-basis: 84vw;
  }

  .before-after img {
    height: 190px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-actions .btn {
    width: 100%;
  }

  .service-card picture,
  .service-card img {
    height: 200px;
  }

  .before-after {
    grid-template-columns: 1fr;
  }

  .before-after figure + figure {
    border-left: 0;
    border-top: 3px solid #fff;
  }

  .before-after img {
    height: 210px;
  }

  .form {
    padding: 22px;
  }
}

.lightbox-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.lightbox-card:hover {
  transform: translateY(-4px);
}

.lightbox-card:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 10, 6, .84);
  backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  justify-items: center;
  gap: 12px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: #1b130a;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.28);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 32px;
  line-height: 1;
  z-index: 3;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  line-height: 1;
  z-index: 2;
}

.lightbox-prev {
  left: -26px;
}

.lightbox-next {
  right: -26px;
}

.lightbox-caption,
.lightbox-counter {
  color: #fff;
  text-align: center;
}

.lightbox-caption {
  font-weight: 800;
}

.lightbox-counter {
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .lightbox { padding: 16px; }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }

  .lightbox-nav {
    top: auto;
    bottom: 54px;
    transform: none;
  }

  .lightbox-prev { left: 22px; }
  .lightbox-next { right: 22px; }

  .lightbox-image {
    max-height: calc(100vh - 190px);
  }
}


.faq-section {
  background: linear-gradient(180deg, #fbf7f0, var(--bg));
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  font-size: 20px;
  font-weight: 800;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: var(--brand-dark);
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item div {
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 820px) {
  .faq-item summary {
    padding: 20px 22px;
    font-size: 18px;
  }

  .faq-item div {
    padding: 0 22px 22px;
  }
}


.seo-section {
  background: linear-gradient(180deg, #fbf7f0, var(--bg));
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: 34px;
  align-items: start;
}

.seo-main,
.seo-aside,
.faq-item {
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
}

.seo-main {
  padding: 34px;
}

.seo-main h2 {
  margin-bottom: 22px;
}

.seo-main p {
  color: var(--muted);
  margin: 0 0 16px;
}

.seo-main p:last-child {
  margin-bottom: 0;
}

.seo-aside {
  padding: 28px;
}

.seo-aside h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.seo-aside ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.seo-aside li + li {
  margin-top: 10px;
}

.faq-section {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 16px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 58px 24px 28px;
  font-size: 20px;
  font-weight: 800;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-dark);
  font-size: 30px;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item div {
  padding: 0 28px 24px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .seo-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .seo-main,
  .seo-aside {
    padding: 24px;
  }

  .faq-item summary {
    padding: 20px 54px 20px 22px;
    font-size: 18px;
  }

  .faq-item div {
    padding: 0 22px 22px;
  }
}


/* Header phone / hero CTA adjustments */
.btn-hero-main {
  min-height: 62px;
  padding: 18px 34px;
  font-size: 18px;
}

@media (max-width: 820px) {
  .contact-btn span,
  .mobile-call span {
    display: none;
  }

  .contact-btn,
  .mobile-call {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border-radius: 50%;
  }

  .header-contacts {
    gap: 6px;
    margin-left: auto;
  }

  .nav-toggle {
    margin-left: 8px;
  }

  .btn-hero-main {
    width: 100%;
    min-height: 64px;
    font-size: 18px;
  }
}


/* ==========================================================
   CURRENT SERVICE PAGES FIX
   Fixes live pages like:
   /restavraciya-vikon/
   /restavraciya-parketu/
   Uses classes: .content-grid, .card, .side-card,
   .gallery-grid, .related-grid, .related-card
   ========================================================== */

.service-page .section.soft,
.service-page .section.alt,
.service-page #content.section {
  padding: 84px 0;
}

.service-page .section.soft,
.service-page #content.section {
  background: linear-gradient(180deg, #fbf7f0, var(--bg, #f6f0e6));
}

.service-page .section.alt {
  background: #fbf7f0;
}

/* Main archive service content */
.service-page .content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  gap: 24px;
  align-items: stretch;
}

.service-page .content-grid > .card,
.service-page .content-grid > .side-card {
  min-width: 0;
}

.service-page .card,
.service-page .side-card {
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius, 22px);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow, 0 20px 55px rgba(42, 32, 22, .14));
}

.service-page .content-grid .card,
.service-page .content-grid .side-card {
  padding: 28px;
}

.service-page .content-grid .card h3,
.service-page .content-grid .side-card h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.25;
}

.service-page .content-grid .card p {
  margin: 0 0 14px;
  color: var(--muted, #71675c);
  font-size: 17px;
  line-height: 1.75;
}

.service-page .content-grid .card p:last-child {
  margin-bottom: 0;
}

.service-page .content-grid ul,
.service-page .side-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted, #71675c);
}

.service-page .content-grid li,
.service-page .side-card li {
  margin: 0 0 10px;
  line-height: 1.6;
}

.service-page .content-grid li:last-child,
.service-page .side-card li:last-child {
  margin-bottom: 0;
}

/* Make the first text card wider when there are several cards */
.service-page .content-grid > .card:first-child {
  grid-column: span 1;
}

/* Gallery */
.service-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-page .gallery-grid picture,
.service-page .gallery-grid img {
  width: 100%;
  height: 230px;
}

.service-page .gallery-grid img {
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow, 0 20px 55px rgba(42, 32, 22, .14));
}

/* Related services */
.service-page .related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-page .related-card {
  display: flex;
  align-items: center;
  min-height: 86px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: var(--radius, 22px);
  background: rgba(255,255,255,.82);
  color: var(--brand-dark, #7a4e24);
  font-weight: 900;
  line-height: 1.35;
  box-shadow: var(--shadow, 0 20px 55px rgba(42, 32, 22, .14));
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-page .related-card:hover {
  transform: translateY(-3px);
}

/* Hero safety for service pages */
.service-page .hero {
  min-height: 620px;
}

.service-page .hero-content {
  max-width: 850px;
}

.service-page .hero .btn-primary {
  min-height: 58px;
  padding: 16px 30px;
  font-size: 17px;
}

/* Headings */
.service-page .section-heading.center {
  max-width: 880px;
}

.service-page .section-heading .eyebrow:empty {
  display: none;
}

/* Contacts on service pages */
.service-page .contacts .form textarea {
  min-height: 110px;
}

/* Mobile */
@media (max-width: 1100px) {
  .service-page .content-grid {
    grid-template-columns: 1fr;
  }

  .service-page .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-page .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-page .section.soft,
  .service-page .section.alt,
  .service-page #content.section {
    padding: 62px 0;
  }

  .service-page .hero {
    min-height: 590px;
  }

  .service-page .content-grid .card,
  .service-page .content-grid .side-card {
    padding: 22px;
  }

  .service-page .gallery-grid,
  .service-page .related-grid {
    grid-template-columns: 1fr;
  }

  .service-page .gallery-grid picture,
  .service-page .gallery-grid img {
    height: 250px;
  }

  .service-page .related-card {
    min-height: 74px;
  }

  .service-page .hero .btn-primary {
    width: 100%;
  }
}
.service-description{
    grid-column:1 / -1;

    margin-top:20px;

    background:#fff;
    border-radius:20px;

    padding:32px;

    box-shadow:0 8px 24px rgba(0,0,0,.06);
}

/* ==========================================================
   Modern works slider + before/after lightbox migration
   ========================================================== */
.works .slider-section {
  overflow: visible;
}

.works-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px 0 24px;
}

.works-filter {
  border: 1px solid rgba(31, 26, 21, .08);
  border-radius: 999px;
  padding: 12px 22px;
  background: rgba(255,255,255,.82);
  color: var(--dark);
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(31,26,21,.08);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.works-filter:hover,
.works-filter.is-active {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(203, 165, 108, .28);
}

.slider-btn {
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 18px 36px rgba(203, 165, 108, .30);
}

.slider-track {
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  padding: 4px 4px 18px;
}

.slider-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.works-track {
  gap: 26px;
}

.work-card {
  position: relative;
  flex: 0 0 min(560px, calc(100vw - 40px));
  border-radius: 24px;
  background: rgba(255,255,255,.88);
  overflow: hidden;
  cursor: pointer;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(203, 165, 108, .55);
  box-shadow: 0 28px 70px rgba(42, 32, 22, .18);
}

.work-card[hidden] {
  display: none;
}

.before-after {
  min-height: 320px;
}

.before-after figure + figure {
  border-left: 2px solid rgba(255,255,255,.95);
}

.before-after img {
  height: 330px;
  transition: transform .35s ease, filter .35s ease;
}

.work-card:hover .before-after img {
  transform: scale(1.035);
  filter: saturate(1.04) contrast(1.03);
}

.before-after span {
  top: 16px;
  left: 16px;
  padding: 7px 13px;
  background: rgba(20,15,10,.78);
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}

.work-zoom {
  position: absolute;
  right: 16px;
  top: 286px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31,26,21,.22);
  transition: transform .2s ease, background .2s ease;
}

.work-zoom:hover {
  transform: scale(1.08);
  background: #b88735;
}

.work-body {
  padding: 22px 24px 26px;
}

.work-body h3 {
  font-size: 22px;
}

.work-body p {
  font-size: 16px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(31,26,21,.14);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.slider-dot.is-active {
  width: 28px;
  background: var(--brand);
}

.lightbox-dialog {
  width: min(1120px, 100%);
}

.lightbox-image {
  max-height: calc(100vh - 145px);
  border: 1px solid rgba(203, 165, 108, .48);
}

.lightbox-caption {
  max-width: 900px;
  padding: 0 14px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .works-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .works-filters::-webkit-scrollbar {
    display: none;
  }

  .works-filter {
    flex: 0 0 auto;
    padding: 10px 16px;
  }

  .work-card {
    flex-basis: 86vw;
  }

  .before-after {
    min-height: 260px;
  }

  .before-after img {
    height: 270px;
  }

  .work-zoom {
    top: 226px;
  }
}

@media (max-width: 520px) {
  .work-card {
    flex-basis: 88vw;
  }

  .before-after {
    grid-template-columns: 1fr 1fr;
    min-height: 220px;
  }

  .before-after figure + figure {
    border-top: 0;
    border-left: 2px solid rgba(255,255,255,.95);
  }

  .before-after img {
    height: 230px;
  }

  .work-zoom {
    top: 186px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

/* Small cleanup: header logo class used in index.html */
.site-logo-h {
  width: auto;
  height: 58px;
  max-width: 190px;
  padding: 8px 12px;
}

@media (max-width: 820px) {
  .site-logo-h {
    height: 48px;
    max-width: 155px;
  }
}

/* Fix 7: desktop click + carousel arrows */
.works-carousel {
  position: relative;
  overflow: visible;
}

.works-carousel-btn {
  position: absolute;
  top: 165px;
  z-index: 10;
}

.works-carousel-prev {
  left: -24px;
}

.works-carousel-next {
  right: -24px;
}

.work-card .before-after img {
  cursor: zoom-in;
}

.work-zoom {
  display: none !important;
}

@media (max-width: 820px) {
  .works-carousel-btn {
    top: 135px;
  }

  .works-carousel-prev {
    left: -10px;
  }

  .works-carousel-next {
    right: -10px;
  }
}

@media (max-width: 520px) {
  .works-carousel-btn {
    top: 115px;
  }
}

/* Fix 9: paged works carousel, no half-visible cards */
.works-carousel {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.works-carousel .works-track {
  overflow: visible !important;
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
  scrollbar-width: none;
  transition: transform .35s ease;
  will-change: transform;
  width: max-content;
  padding: 0 0 18px;
}

.works-carousel .work-card {
  flex: 0 0 calc((min(1220px, 100vw - 40px) - 26px) / 2);
  max-width: calc((min(1220px, 100vw - 40px) - 26px) / 2);
}

.works-carousel-btn {
  position: absolute;
  top: 165px;
  z-index: 20;
}

.works-carousel-prev {
  left: 0;
}

.works-carousel-next {
  right: 0;
}

.works-dots {
  margin-top: 12px;
}

@media (max-width: 820px) {
  .works-carousel .work-card {
    flex-basis: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
  }

  .works-carousel-btn {
    top: 135px;
  }
}

@media (max-width: 520px) {
  .works-carousel-btn {
    top: 115px;
  }
}


/* Fix 10: separate reviews slider logic and cleaner works viewport */
.slider-controls.is-hidden {
  display: none;
}

.slider-dots[hidden] {
  display: none !important;
}

.works-carousel {
  background: transparent;
  border-radius: 24px;
  padding-bottom: 20px;
  margin-bottom: -8px;
}

.works-carousel .works-track {
  padding-bottom: 0;
  align-items: stretch;
}

.works-carousel .work-card {
  box-shadow: 0 18px 45px rgba(42, 32, 22, .12);
}

.works-carousel .work-card:hover {
  transform: none;
}

.works-dots {
  margin-top: 2px;
}

.reviews .slider-dots:empty,
.reviews .slider-dots[hidden] {
  display: none !important;
}

.reviews .slider-controls.is-hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .works-carousel {
    padding-bottom: 16px;
  }
}


/* ==========================================================
   Fix 12: compact mobile header
   ========================================================== */
@media (max-width: 640px) {
  .site-header {
    overflow: visible;
  }

  .header-inner {
    min-height: 60px !important;
    gap: 6px !important;
    padding: 0 !important;
    flex-wrap: nowrap !important;
  }

  .logo {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-logo,
  .site-logo-h {
    width: auto !important;
    height: 42px !important;
    max-width: 118px !important;
    padding: 5px 7px !important;
    border-radius: 12px !important;
  }

  .nav-toggle {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    margin-left: 0 !important;
    font-size: 17px !important;
  }

  .header-contacts {
    flex: 0 0 auto !important;
    gap: 4px !important;
    margin-left: 0 !important;
  }

  .contact-btn,
  .mobile-call,
  .contact-icon {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    gap: 0 !important;
  }

  .contact-btn span,
  .mobile-call span {
    display: none !important;
  }

  .contact-btn svg,
  .mobile-call svg,
  .contact-icon svg {
    width: 15px !important;
    height: 15px !important;
  }

  .nav {
    top: 60px !important;
  }
}

@media (max-width: 360px) {
  .site-logo,
  .site-logo-h {
    max-width: 104px !important;
    height: 40px !important;
    padding: 4px 6px !important;
  }

  .header-inner {
    gap: 5px !important;
  }

  .contact-btn,
  .mobile-call,
  .contact-icon,
  .nav-toggle {
    flex-basis: 30px !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
  }

  .contact-btn svg,
  .mobile-call svg,
  .contact-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
}


/* ==========================================================
   Fix 13: mobile lightbox swipe, no overlapping nav buttons
   ========================================================== */
@media (max-width: 820px) {
  .lightbox-dialog {
    width: 100% !important;
    max-height: calc(100vh - 32px) !important;
    gap: 10px !important;
  }

  .lightbox-image {
    max-height: calc(100vh - 210px) !important;
    touch-action: pan-y !important;
    cursor: grab !important;
  }

  .lightbox-image:active {
    cursor: grabbing !important;
  }

  .lightbox-nav {
    display: none !important;
  }

  .lightbox-caption {
    max-width: 100% !important;
    padding: 0 8px !important;
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .lightbox-counter {
    font-size: 13px !important;
  }
}



/* ==========================================================
   Header socials FIX v13
   No floating block over content. Social icons stay inside header.
   Desktop: compact 2x2 grid near phone.
   Mobile: only phone + menu + compact socials row, no overlap.
   ========================================================== */

.site-header{
  overflow:visible;
}

.header-inner{
  min-height:78px;
}

.header-contacts{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  margin-left:12px !important;
  padding-bottom:0 !important;
  position:static !important;
}

.header-social-stack{
  display:none !important;
}

.header-socials{
  display:grid;
  grid-template-columns:repeat(2, 35px);
  grid-auto-rows:35px;
  gap:7px;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
}

.header-socials .contact-icon{
  width:35px;
  height:35px;
  flex:0 0 35px;
  opacity:1 !important;
  visibility:visible !important;
  position:static !important;
  top:auto !important;
  right:auto !important;
}

.header-socials .contact-icon svg{
  width:20px !important;
  height:20px !important;
  color:#fff !important;
  fill:currentColor !important;
}

.header-socials .contact-icon.telegram{
  background:#27a7e7 !important;
}

.header-socials .contact-icon.viber{
  background:#7360f2 !important;
}

.header-socials .contact-icon.facebook{
  background:#1877f2 !important;
}

.header-socials .contact-icon.instagram{
  background:radial-gradient(circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%) !important;
}

/* Reduce header pressure on medium screens */
@media (max-width:1100px){
  .nav{
    gap:14px;
  }

  .header-inner{
    gap:16px;
  }

  .contact-btn{
    padding-left:14px;
    padding-right:14px;
    font-size:15px;
  }
}

/* Mobile */
@media (max-width:820px){
  .header-inner{
    min-height:72px;
  }

  .header-contacts{
    margin-left:auto !important;
    gap:8px !important;
  }

  .contact-btn{
    width:44px !important;
    height:44px !important;
    min-height:44px !important;
    padding:0 !important;
    border-radius:50% !important;
  }

  .contact-btn span{
    display:none !important;
  }

  .header-socials{
    grid-template-columns:repeat(2, 31px);
    grid-auto-rows:31px;
    gap:5px;
  }

  .header-socials .contact-icon{
    width:31px;
    height:31px;
    flex-basis:31px;
  }

  .header-socials .contact-icon svg{
    width:17px !important;
    height:17px !important;
  }

  .nav-toggle{
    margin-left:6px !important;
  }
}

@media (max-width:520px){
  .site-logo-h,
  .site-logo{
    max-width:140px;
  }

  .header-socials{
    grid-template-columns:repeat(2, 29px);
    grid-auto-rows:29px;
    gap:4px;
  }

  .header-socials .contact-icon{
    width:29px;
    height:29px;
  }

  .header-socials .contact-icon svg{
    width:16px !important;
    height:16px !important;
  }

  .header-contacts{
    gap:6px !important;
  }
}


/* ==========================================================
   Header socials adaptive layout v14
   If there is enough width — icons are in one row.
   If not — fallback to compact 2x2 grid.
   ========================================================== */

.header-socials{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:7px !important;
}

.header-socials .contact-icon{
  width:35px !important;
  height:35px !important;
  flex:0 0 35px !important;
}

/* Not enough space: switch to 2x2 grid */
@media (max-width:1180px){
  .header-socials{
    display:grid !important;
    grid-template-columns:repeat(2, 35px) !important;
    grid-auto-rows:35px !important;
    gap:7px !important;
  }
}

/* Mobile compact 2x2 */
@media (max-width:820px){
  .header-socials{
    display:grid !important;
    grid-template-columns:repeat(2, 31px) !important;
    grid-auto-rows:31px !important;
    gap:5px !important;
  }

  .header-socials .contact-icon{
    width:31px !important;
    height:31px !important;
    flex-basis:31px !important;
  }
}
/* Mobile header fix */
@media (max-width: 640px) {

  .header-inner{
    gap: 4px !important;
  }

  .logo{
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-logo-h{
    max-width: 105px !important;
    height: 38px !important;
    padding: 0 !important;
  }

  .header-contacts{
    margin-left: auto !important;
    gap: 3px !important;
  }

  .header-socials{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:3px !important;
  }

  .header-socials .contact-icon,
  .contact-btn,
  .nav-toggle{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    min-height:30px !important;
    flex:0 0 30px !important;
  }

  .contact-btn svg,
  .contact-icon svg{
    width:14px !important;
    height:14px !important;
  }
}
.contact-icon.viber svg {
    width: 26px;
    height: 26px;
  }
/* Restauro service page structure v1.1.8 */
.service-page-section,
.other-services-section,
.service-seo-section {
  background: #f7f0e6;
  padding: 44px 0;
}
.service-page-container {
  width: min(760px, calc(100% - 32px));
  margin: 0 auto;
}
.service-page-container > h2 {
  text-align: center;
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  margin: 0 0 24px;
  color: #1f1711;
}
.service-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.service-info-card {
  background: rgba(255,255,255,.92);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 14px 32px rgba(39, 27, 16, .10);
  min-height: 150px;
}
.service-info-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: #20160f;
}
.service-info-card p,
.service-info-card li {
  font-size: 14px;
  line-height: 1.65;
  color: #5f5147;
}
.service-info-card ul {
  margin: 0;
  padding-left: 18px;
}
.service-thumb-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  cursor: zoom-in;
}
.service-thumb-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 9px;
  box-shadow: 0 10px 22px rgba(39, 27, 16, .16);
}
.other-services-section {
  background: #fbf7ef;
  padding: 34px 0;
}
.other-services-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.other-services-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 18px;
  border-radius: 8px;
  background: #fff;
  color: #8a5a23;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 27, 16, .10);
}
.other-services-list a:hover {
  transform: translateY(-1px);
}
.service-seo-section {
  background: #f2eadf;
}
.service-seo-content {
  text-align: left;
}
.service-seo-content h2 {
  text-align: left;
  margin-bottom: 14px;
}
.service-seo-content p,
.service-seo-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #54463d;
}
.works-section {
  background: #fbf7ef;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 720px) {
  .service-info-grid,
  .works-grid {
    grid-template-columns: 1fr;
  }
  .service-thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-thumb-row img:first-child {
    grid-column: span 2;
  }
}

/* ==========================================================
   Restauro WP 1.2.0 — stable service pages
   These rules are intentionally placed last to keep service pages
   visually consistent with the static production layout.
   ========================================================== */
body.single-restauro_service {
  background: #f7f0e6;
}
body.single-restauro_service .site-header {
  z-index: 1000;
}
body.single-restauro_service .service-main {
  background: #f7f0e6;
}
body.single-restauro_service .service-hero {
  position: relative !important;
  min-height: 620px;
  display: grid !important;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
body.single-restauro_service .service-hero .hero-picture,
body.single-restauro_service .service-hero .hero-picture img,
body.single-restauro_service .service-hero .hero-overlay {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
body.single-restauro_service .service-hero .hero-picture img {
  object-fit: cover;
  object-position: center 42%;
}
body.single-restauro_service .service-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 12, 7, .88), rgba(19, 12, 7, .34)),
    linear-gradient(0deg, rgba(19, 12, 7, .22), rgba(19, 12, 7, .22));
}
body.single-restauro_service .service-hero .hero-content {
  position: relative !important;
  z-index: 2;
  max-width: 860px;
  padding: 110px 0;
}
body.single-restauro_service .service-hero h1 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -.035em;
  font-size: clamp(43px, 7vw, 84px);
}
body.single-restauro_service .service-hero .hero-text {
  max-width: 980px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 19px;
  line-height: 1.65;
}
body.single-restauro_service .service-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
body.single-restauro_service .service-hero .btn-hero-main {
  min-height: 62px;
  padding: 18px 34px;
  font-size: 18px;
}
body.single-restauro_service .service-page-section,
body.single-restauro_service .other-services-section,
body.single-restauro_service .service-seo-section {
  background: #f7f0e6;
  padding: 58px 0;
}
body.single-restauro_service .service-page-container {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
}
body.single-restauro_service .service-page-container > h2,
body.single-restauro_service .other-services-section h2,
body.single-restauro_service .service-seo-content h2 {
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.18;
  margin: 0 0 28px;
  color: #1f1711;
}
body.single-restauro_service .service-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
body.single-restauro_service .service-info-card {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 14px 34px rgba(39, 27, 16, .10);
  min-height: 158px;
}
body.single-restauro_service .service-info-card h3 {
  margin: 0 0 10px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  color: #20160f;
}
body.single-restauro_service .service-info-card p,
body.single-restauro_service .service-info-card li {
  font-size: 14px;
  line-height: 1.65;
  color: #5f5147;
}
body.single-restauro_service .service-info-card p {
  margin: 0;
}
body.single-restauro_service .service-info-card ul {
  margin: 0;
  padding-left: 18px;
}
body.single-restauro_service .service-thumb-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  cursor: zoom-in;
}
body.single-restauro_service .service-thumb-row img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 22px rgba(39, 27, 16, .16);
}
body.single-restauro_service .other-services-section {
  background: #fbf7ef;
  padding: 42px 0;
}
body.single-restauro_service .other-services-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
body.single-restauro_service .other-services-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 8px;
  background: #fff;
  color: #8a5a23;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(39, 27, 16, .10);
}
body.single-restauro_service .service-seo-section {
  background: #f2eadf;
}
body.single-restauro_service .service-seo-content {
  text-align: left;
}
body.single-restauro_service .service-seo-content h2 {
  text-align: left;
  margin-bottom: 16px;
}
body.single-restauro_service .service-seo-content p,
body.single-restauro_service .service-seo-content li {
  font-size: 16px;
  line-height: 1.75;
  color: #54463d;
}
body.single-restauro_service .works-section {
  background: #fbf7ef;
}
body.single-restauro_service .works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 820px) {
  body.single-restauro_service .service-hero {
    min-height: 590px;
  }
  body.single-restauro_service .service-hero .hero-content {
    padding: 90px 0;
  }
  body.single-restauro_service .service-info-grid,
  body.single-restauro_service .works-grid {
    grid-template-columns: 1fr;
  }
  body.single-restauro_service .service-thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.single-restauro_service .service-hero .btn-hero-main {
    width: 100%;
  }
}

/* Restauro WP 2.0 fixes */
.site-footer {
  background: #2b2119;
  color: #f8f1e8;
  padding: 34px 0 18px;
}
.site-footer a { color: inherit; text-decoration: none; }
.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}
.footer-logo img { width: 96px; height: auto; display: block; }
.footer-info { line-height: 1.55; }
.footer-contacts { text-align: right; line-height: 1.7; }
.footer-copy { margin-top: 18px; opacity: .75; font-size: 14px; }

.service-grid,
.services-grid,
.restauro-services-grid,
.other-services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}
.service-card,
.restauro-service-card,
.other-service-card { min-width: 0; }
.service-card img,
.restauro-service-card img,
.other-service-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (max-width: 1100px) {
  .service-grid,
  .services-grid,
  .restauro-services-grid,
  .other-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  .service-grid,
  .services-grid,
  .restauro-services-grid,
  .other-services-grid {
    grid-template-columns: 1fr !important;
  }
  .service-card img,
  .restauro-service-card img,
  .other-service-card img { height: 220px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo img { margin: 0 auto; }
  .footer-contacts { text-align: center; }
}

/* Restauro WP 2.0.1 — production footer + wider service body */
.site-footer {
  padding: 28px 0 !important;
  background: var(--dark, #24170f) !important;
  color: rgba(255,255,255,.72) !important;
}
.site-footer .footer-prod {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
}
.site-footer .footer-logo img {
  width: auto !important;
  height: 52px !important;
  max-width: 180px !important;
  display: block !important;
}
.site-footer .footer-copy {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  opacity: .82 !important;
  text-align: right !important;
}
.footer-inner,
.footer-info,
.footer-contacts {
  all: unset;
}
body.single-restauro_service .service-page-container,
body.single-restauro_service .service-seo-content,
body.single-restauro_service .other-services-section .service-page-container {
  width: min(1220px, calc(100% - 40px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.single-restauro_service .service-seo-content {
  max-width: 1220px !important;
}
body.single-restauro_service .service-info-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
body.single-restauro_service .service-info-card {
  min-height: 150px !important;
}
@media (max-width: 820px) {
  .site-footer .footer-prod {
    flex-direction: column !important;
    text-align: center !important;
  }
  .site-footer .footer-copy {
    text-align: center !important;
  }
  body.single-restauro_service .service-page-container,
  body.single-restauro_service .service-seo-content,
  body.single-restauro_service .other-services-section .service-page-container {
    width: min(100% - 32px, 1220px) !important;
  }
  body.single-restauro_service .service-info-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Restauro WP 3.0.0 — homepage is a normal editable WordPress page */
body.home .wp-block-image img,
body.page .wp-block-image img {
  max-width: 100%;
  height: auto;
}
body.home .service-grid,
body.home .services-grid,
body.home .restauro-services-grid,
body.page .service-grid,
body.page .services-grid,
body.page .restauro-services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
body.home .service-card,
body.page .service-card {
  min-width: 0 !important;
}
body.home .service-card img,
body.page .service-card img {
  width: 100% !important;
  height: 260px !important;
  object-fit: cover !important;
  display: block !important;
}
@media (max-width: 1100px) {
  body.home .service-grid,
  body.home .services-grid,
  body.home .restauro-services-grid,
  body.page .service-grid,
  body.page .services-grid,
  body.page .restauro-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 680px) {
  body.home .service-grid,
  body.home .services-grid,
  body.home .restauro-services-grid,
  body.page .service-grid,
  body.page .services-grid,
  body.page .restauro-services-grid {
    grid-template-columns: 1fr !important;
  }
  body.home .service-card img,
  body.page .service-card img {
    height: 220px !important;
  }
}
