/* =========================
   BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: 'Montserrat', sans-serif;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: #ffffff;
  color: #000;
}
a {
  font-family: 'Podkova', serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Podkova', serif;
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
/* =========================
   HEADER
========================= */

.header {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  padding: 24px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.header__logo img {
  height: auto;
  width: 100%;
}

/* RIGHT SIDE */

.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

/* TOP BUTTONS */

.header__actions {
  display: flex;
  gap: 16px;
}

.header-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 22px;
  background: #6f7c59;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;

  transition: background 0.25s ease;
}

.header-btn:hover {
  background: #5e6b4b;
}

.header-btn--outline {
  background: #8a9b6e;
}

/* MENU */

.header__nav {
  margin-top: 6px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list li {
  list-style: none;
}

.nav-list a {
  font-family: 'Podkova', serif;
  font-weight: 500;
  text-decoration: none;
  color: #1f2d1f;
  font-size: 32px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
/* ===== MENU ARROW FOR PARENT ITEM (FILLED, LIKE MOCKUP) ===== */

.nav-list li.menu-item-has-children > a {
  position: relative;
  padding-right: 44px;
}

.nav-list li.menu-item-has-children > a::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 22px;
  height: 13px;
  transform: translateY(-50%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg width='22' height='13' viewBox='0 0 22 13' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L11 11L21 1Z' fill='%236F7C59'/%3E%3C/svg%3E");
}


/* ACTIVE (ГОЛОВНА) */

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
  background: #6f7c59;
  color: #ffffff;
}

/* HOVER */

.nav-list a:hover {
  background: rgba(111, 124, 89, 0.15);
}

/* =========================
   HEADER ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .header__inner {
    flex-direction: column;
    gap: 20px;
  }

  .header__right {
    align-items: center;
  }

  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================
   CONTAINER
========================= */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* CONTENT */

.hero__content {
  padding-left: 24px;
}
.hero__text h1{
	font-family: 'Podkova', serif;
	color: #6F7C59;
	font-weight: 400;
}
.hero__text p{
	font-size:20px;
	margin:0;
}
.contacts-page h2 {
    font-family: 'Podkova', serif;
    text-align: center;
    color: #6F7C59;
    margin: 40px auto;
	padding: 20px;
	font-weight: 400;
	}
/* TITLE */

.hero__content h1 {
  font-family: 'Podkova', serif;
  font-size: 42px;
  line-height: 1.1;
  margin: 0 0 18px;
  color: #6F7C59;
}

/* TEXT */

.hero__content p {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.55;
  margin-bottom: 22px;
  color: #2f3b2f;
  max-width: 420px;
}

/* BUTTON */

.hero__content .btn,
.hero__content a.wp-block-button__link {
  display: inline-block;
  padding: 10px 26px;
  background: #6f7c59;
  color: #ffffff;
  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
}


/* =========================
   BUTTONS (GLOBAL)
========================= */

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 1);
  color: #6f7c59;
  text-decoration: none;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: #5e6b4b;
  transform: translateY(-1px);
}

.hero__content .btn {
  margin-top: 24px;
}
.btn,
.header-btn,
.reviews-filter {
  font-family: 'Podkova', serif;
  font-weight: 600;
}
/* =========================
   ONLINE CONSULT BLOCK
========================= */
.online-consult {
  margin: 40px 0;
}

.online-consult__inner {
  max-width: 1290px;
  margin: 0 auto;
  background: #6f7c59;
  border-radius: 60px;
  padding: 56px 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}

/* IMAGE */

.online-consult__image img {
  display: block;
  max-width: 312px;
  height: auto;
}

/* CONTENT */

.online-consult__title {
  margin: 0 0 16px;
  font-size: 40px;
  line-height: 1.1;
  color: #ffffff;
  font-weight: 700;
}

.online-consult__text {
  max-width: 520px;
  margin-bottom: 24px;

  font-size: 16px;
  line-height: 1.6;
  color: #e8e8e8;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .online-consult__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .online-consult__image img {
    margin: 0 auto;
  }

  .online-consult__text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 640px) {
  .online-consult__inner {
    padding: 40px 24px;
    border-radius: 40px;
  }

  .online-consult__title {
    font-size: 32px;
  }
}

/* =========================
   SERVICES (AS IN FIGMA)
========================= */
.section-title {
  font-family: 'Podkova', serif;
}

.service-card__title {
  font-family: 'Podkova', serif;
}

.review-card__author {
  font-family: 'Podkova', serif;
}
.services {
  padding: 100px 0;
  background: #f7f8f3;
}

.services .section-title {
  text-align: center;
  font-size: 40px;
  margin-bottom: 16px;
  color: #2f3b2f;
}

.services__description {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #4b5a4b;
}

/* GRID */

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

/* CARD */

.service-card {
  display: block;
  text-decoration: none;
  color: inherit;

  background: #ffffff;
  border: 4px solid #6f7c59;
  border-radius: 45px;

  padding: 32px 24px 28px;
  text-align: center;

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

/* ICON (FIXED SIZE, NO BLOW-UP) */

.service-card__icon {
  max-width: 100%;
  height: auto;
  margin: 0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon img {
  max-width: 100%;
  max-height: auto;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* TITLE INSIDE FRAME */

.service-card__title {
  margin: 0;
  font-size: 24px;
  line-height: 1.3;
  color: #2f3b2f;
}

/* =========================
   SERVICES ADAPTIVE
========================= */

@media (max-width: 1200px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services .section-title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .services {
    padding: 72px 0;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 28px 20px;
  }

  .service-card__icon {
    max-width: 100%;
	height: auto;
  }

  .service-card__icon img {
    max-width: 100%;
	height: auto;
  }

  .service-card__title {
    font-size: 17px;
  }
}

/* =========================
   HERO ADAPTIVE
========================= */

/* =========================
   SPECIALISTS (FIXED GRID)
========================= */

.specialists {
  padding: 50px 0;
  background: #ffffff;
}

.specialists .section-title {
  text-align: left;
  font-size: 46px;
  margin: 32px auto;
  color:#515C3F;
  margin-bottom:15px;
  font-weight: 500
}

/* GRID */
.specialists__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.specialist-card__content {
	margin:15px;
}
/* CARD */
.specialist-card {
  display: block;
}

/* PHOTO */
.specialist-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 40px;
  overflow: hidden;
}

.specialist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY (NAME ON IMAGE) */
.specialist-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  padding: 24px 20px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0)
  );
}

.specialist-card__overlay h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #ffffff;
}

.specialist-card__overlay p {
  margin-top: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
/* =========================
   SPECIALISTS TEXT + BUTTON
========================= */

.specialists .section-description {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
}

.specialists__more {
  margin-top: 48px;
  text-align: center;
}

/* =========================
   SPECIALISTS ADAPTIVE
========================= */

@media (max-width: 1200px) {
  .specialists__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .specialists__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   OWNERS INFO — FINAL
========================= */

.owners-info {
  padding: 40px 0;
  background: #ffffff;
}

/* TITLE */

.owners-info .section-title {
  text-align: center;
  font-family: 'Podkova', serif;
  font-size: 36px;
  font-weight: 600;
  color: #515C3F;
  margin-bottom: 12px;
}

/* DESCRIPTION */

.owners-info .section-description {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #000;
}

/* SUBTITLE */

.owners-info__subtitle {
  text-align: center;
  font-family: 'Podkova', serif;
  font-size: 24px;
  font-weight: 600;
  color: #2f3b2f;
  margin-bottom: 24px;
}

/* CONTENT GRID */

.owners-info__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;

  max-width: 1000px;
  margin: 0 auto 32px;
}

/* LISTS */

.owners-info__column ul {
  margin: 0;
  padding-left: 18px;
}

.owners-info__column li {
  margin-bottom: 10px;

  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.45;
  color: #2f3b2f;
}

/* BUTTON */

.owners-info__more {
  text-align: center;
}

.owners-info__more .btn {
  display: inline-block;
  padding: 12px 28px;

  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;

  background: #6f7c59;
  color: #ffffff;
  border-radius: 24px;
  text-decoration: none;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 768px) {
  .owners-info {
    padding: 64px 0;
  }

  .owners-info .section-title {
    font-size: 28px;
  }

  .owners-info__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}



/* =========================
   REVIEWS — FINAL STYLE
========================= */

.reviews {
  padding: 100px 0;
  background: #ffffff;
}

.reviews .section-title {
  text-align: center;
  font-size: 36px;
  color: #2f3b2f;
  margin-bottom: 32px;
}
/* =========================
   REVIEWS — FIGMA STYLE
========================= */

.reviews {
  padding: 80px 0;
  background: #ffffff;
}

/* TITLE */

.reviews .section-title {
  text-align: center;
  font-family: 'Podkova', serif;
  font-size: 36px;
  font-weight: 600;
  color: #515C3F;
  margin-bottom: 32px;
}

/* TABS */

.reviews__tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.reviews__tab {
  padding: 10px 22px;
  border-radius: 999px;

  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;

  background: #ffffff;
  color: #2f3b2f;
  border: 2px solid #6f7c59;
  cursor: pointer;
}

.reviews__tab.is-active {
  background: #6f7c59;
  color: #ffffff;
}

/* GRID */

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;

  max-width: 1400px;
  margin: 0 auto;
}

/* CARD */

.review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 16px;

  border: 1px solid #e3e3e3;
  box-shadow:
    0px 1px 2px rgba(0, 0, 0, 0.3),
    0px 2px 6px 2px rgba(0, 0, 0, 0.15);

  display: flex;
  align-items: center;
  justify-content: center;

  height: 260px;
}

/* IMAGE */

.review-card img {
  width: 280px;
  height: 230px;
  object-fit: contain;
  display: block;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1200px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews {
    padding: 64px 0;
  }

  .reviews .section-title {
    font-size: 28px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FILTER BUTTONS
========================= */

.reviews__filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.reviews-filter {
  background: #ffffff;
  border: 2px solid #6f7c59;
  color: #2f3b2f;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 14px;
  cursor: pointer;

  transition: background 0.2s ease, color 0.2s ease;
}

.reviews-filter:hover {
  background: rgba(111, 124, 89, 0.12);
}

.reviews-filter.is-active {
  background: #6f7c59;
  color: #ffffff;
}

/* =========================
   GRID
========================= */

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

/* =========================
   REVIEW CARD (GOOGLE STYLE)
========================= */

.review-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);

  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* stars */
.review-card__rating {
  color: #f5b301;
  font-size: 18px;
  line-height: 1;
}

/* text */
.review-card__content {
  font-size: 14px;
  line-height: 1.6;
  color: #2f3b2f;
}

/* author */
.review-card__author {
  margin-top: auto;
  font-size: 14px;
  font-weight: 600;
  color: #2f3b2f;
}
/* =========================
   GALLERY — FINAL
========================= */

.gallery {
  padding: 80px 0;
  background: #ffffff;
}

/* TITLE */

.gallery .section-title {
  text-align: center;
  font-family: 'Podkova', serif;
  font-size: 36px;
  font-weight: 600;
  color: #2f3b2f;
  margin-bottom: 48px;
}

/* GRID */

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;

  max-width: 1400px;
  margin: 0 auto 40px;
}

/* ITEM */

.gallery__item {
  width: 100%;
  aspect-ratio: 1 / 1; /* 324x324 */
  border-radius: 24px;
  overflow: hidden;
  background: #f2f2f2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BUTTON */

.gallery__more {
  text-align: center;
}

.gallery__more .btn {
  display: inline-block;
  padding: 12px 28px;

  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;

  background: #6f7c59;
  color: #ffffff;
  border-radius: 24px;
  text-decoration: none;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .gallery {
    padding: 64px 0;
  }

  .gallery .section-title {
    font-size: 28px;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   PRE-FOOTER CTA
========================= */

.pre-footer-cta {
  padding: 80px 0 40px;
  text-align: center;
}

.pre-footer-cta__title {
  font-family: 'Podkova', serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: #515c3f;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: #d9d9d9;
  padding: 48px 0 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

/* BRAND */

.footer__brand img {
  max-width: 120px;
  margin-bottom: 12px;
}

.footer__slogan {
  font-family: 'Podkova', serif;
  font-size: 20px;
}

/* ACTIONS */

.footer__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* COLUMNS */

.footer__column h4 {
  font-family: 'Podkova', serif;
  font-size: 24px;
  margin-bottom: 12px;
}

.footer__column p,
.footer__column a,
.footer__column li {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  margin-bottom: 6px;
}

.footer__column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* SOCIALS */

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__socials img {
  width: 26px;
  height: 26px;
}

/* BOTTOM */

.footer__bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.2);

  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;

  font-size: 13px;
}

.footer__links {
  display: flex;
  gap: 16px;
}

.footer__links a {
  color: #000;
  text-decoration: none;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .pre-footer-cta__title {
    font-size: 28px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BUTTON
========================= */

.reviews__more {
  margin-top: 48px;
  text-align: center;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1200px) {
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .reviews .section-title {
    font-size: 28px;
  }
}


/* =========================
   POSLUGY PAGE
========================= */

.hero--poslugy {
  background-image: url("assets/slide-services.png");
}

/* SECTION */

.poslugy {
  padding: 40px 0;
  background: #ffffff;
}

.poslugy .section-title {
  text-align: left;
  font-size: 64px;
  margin-top:15px;
  margin-bottom: 26px;
  color: #6F7C59;
  font-weight: 500
}

/* LIST */

.poslugy__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* ITEM */

.posluga {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;

  align-items: center; /* ВАЖНО: центрируем иконку по вертикали */

  padding: 48px 0;
  border-bottom: 1px solid #6F7C59;
}
.posluga:last-child {
  border-bottom: none;
}

.posluga__icon {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #6f7c59;
  display: flex;
  align-items: center;
  justify-content: center;
}

.posluga__icon img {
  /* width: 120px;
  height: 120px;*/
  object-fit: contain;
}

.posluga__title {
  font-size: 24px;
  margin-bottom: 12px;
  color: #2f3b2f;
}

.posluga__text {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5a4b;
}

/* ACTIONS */

.poslugy__actions {
  margin-top: 80px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .posluga {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .posluga__icon {
    margin: 0 auto;
  }

  .poslugy__actions {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .poslugy {
    padding: 32px 0;
  }

  .poslugy .section-title {
    font-size: 28px;
  }

  .posluga__title {
    font-size: 20px;
  }
}
/* =========================
   POSLUGY INTRO — FIX
========================= */

.poslugy__intro {
  max-width: 1440px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.65;
  color: #000;
}

/* абзацы */

.poslugy__intro p {
  margin: 0;
  font-family: 'Montserrat',sans-serif;
}

/* если вдруг несколько абзацев */

.poslugy__intro p + p {
  margin-top: 12px;
}

/* адаптив */

@media (max-width: 768px) {
  .poslugy__intro {
    margin-bottom: 48px;
    font-size: 14px;
  }
}
/* =========================
   POSLUGA TEXT — FIGMA STYLE
========================= */

.posluga__text {
  font-size: 20px;
  line-height: 1.65;
  color: #000;
}

/* верхний абзац */

.posluga__text p:first-child {
  margin-bottom: 16px;
}

/* подзаголовок "Як проходить процедура..." */

.posluga__text strong {
  display: block;
  margin: 0px 0 0px;
  font-weight: 600;
  color: #6F7C59
}

/* список */

.posluga__text ol {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  row-gap: 12px;
}

/* пункт */

.posluga__text ol li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}

/* номер в кружке */

.posluga__text ol li::before {
  counter-increment: step;
  content: counter(step);

  position: absolute;
  left: 0;
  top: 0;

  width: 20px;
  height: 20px;
  border-radius: 50%;

  background: #6F7C59;
  color: #ffffff;

  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

/* нижний текст (Тривалість / Підходить) */

.posluga__text p:last-child {
  margin-top: 12px;
  font-size: 20px;
  color: #4b5a4b;
  font-weight:bold;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 768px) {
  .posluga__text ol {
    grid-template-columns: 1fr;
  }
}
/* =========================
   POSLUGY BOTTOM BLOCK
========================= */

.poslugy__bottom-title {
  max-width: 1020px;
  margin: 72px auto 32px;

  font-family: 'Podkova', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;

  text-align: center;
  color: #6F7C59;
}

/* adaptive */

@media (max-width: 768px) {
  .poslugy__bottom-title {
    font-size: 28px;
    margin: 56px auto 24px;
  }
}

/* =========================
   POSLUGY BUTTONS — FIX
========================= */

.poslugy__actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 40px;
}

.poslugy__actions .btn--primary {
  background: #6F7C59;
  color: #ffffff !important;

  padding: 12px 28px;
  border-radius: 999px;

  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;

  transition: background 0.2s ease;
}

.poslugy__actions .btn--primary:hover {
  background: #5e6b4b;
}
/* =========================
   SPECIALISTS PAGE
========================= */

.specialists {
  padding: 40px 0;
}

.specialists__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 56px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #6F7C59;
  background: transparent;
  color: #6F7C59;
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: #6F7C59;
  color: #ffffff;
}

.specialists__list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.specialist-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
}

.specialist-card__photo img {
  width: 100%;
  border-radius: 20px;
}

.specialist-card__name {
  font-size: 20px;
  margin-bottom: 8px;
}

.specialist-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.specialist-card__tags span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #6F7C59;
  color: #6F7C59;
}

.specialist-card__text {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
/* =========================
   HOME — SPECIALISTS BUTTON
========================= */

.specialists__more {
  margin-top: 48px;
  text-align: center;
}

/* =========================
   PRIMARY BUTTON (FIGMA)
========================= */

.btn--primary {
  background: #6F7C59;
  color: #ffffff !important;
  border-radius: 999px;
}

.btn--primary:hover {
  background: #5e6b4b;
  color: #ffffff;
}
/* ===== specialists intro ===== */

.specialists__intro {
  max-width: 820px;
  margin: auto 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #2f3b2f;
  text-align: left;
}

.specialists__intro p {
  margin: 0;
  text-align: left;
}


.specialists__intro p {
  margin: 0;
}
/* ===== specialists bottom text ===== */

.specialists__bottom {
  margin-top: 64px;
  text-align: center;
}

.specialists__bottom p {
  max-width: 720px;
  margin: 0 auto;

  font-family: 'Podkova', serif;
  font-size: 22px;
  line-height: 1.4;
  color: #6F7C59;
}
/* ===== specialists bottom text ===== */

.specialists__bottom {
  margin-top: 64px;
  text-align: center;
}

.specialists__bottom p {
  max-width: 720px;
  margin: 0 auto;

  font-family: 'Podkova', serif;
  font-size: 22px;
  line-height: 1.4;
  color: #6F7C59;
}

/* =========================
   FILTERS (ORDERED)
========================= */

.specialists__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 32px 0 56px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #6F7C59;
  background: transparent;
  color: #6F7C59;
  font-size: 13px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: #6F7C59;
  color: #ffffff;
}
/* =========================
   SPECIALISTS — FIXED & RESPONSIVE
========================= */

/* intro text — LEFT, как в макете */
.specialists__intro {
  max-width: 1440px;
  margin: 0 0 40px;
  text-align: left;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #2f3b2f;
}

.specialists__intro p {
  font-size:20px;
  margin: 0;
  text-align: left;
}

/* filters — как кнопки */
.specialists__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 56px;
}

.filter-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid #6F7C59;
  background: transparent;
  color: #6F7C59;
  font-size: 18px;
  cursor: pointer;
}

.filter-btn.is-active {
  background: #6F7C59;
  color: #ffffff;
}

/* list */
.specialists__list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* card */
.specialist-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding-bottom: 10px;
}

.specialist-card:last-child {
  border-bottom: none;
}

.specialist-card__photo img {
  width: 100%;
  border-radius: 24px;
}

/* content */
.specialist-card__name {
  font-family: 'Podkova', serif;
  font-size: 22px;
  margin-bottom: 8px;
  color: #2f3b2f;
}

.specialist-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.specialist-card__tags span {
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #6F7C59;
  color: #6F7C59;
}

.specialist-card__text {
  font-size: 18px;
  line-height: 1.6;
  color: #2f3b2f;
  margin-bottom: 20px;
}

/* bottom text */
.specialists__bottom {
  margin-top: 64px;
  text-align: center;
}

.specialists__bottom p {
  max-width: 720px;
  margin: 0 auto;

  font-family: 'Podkova', serif;
  font-size: 22px;
  line-height: 1.4;
  color: #6F7C59;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .specialist-card {
    grid-template-columns: 200px 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .specialist-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .specialist-card__photo {
    max-width: 320px;
  }
}
/* =========================
   CLIENTS PAGE
========================= */

.clients-page {
  padding: 40px 0;
}

.clients-title {
  font-family: 'Podkova', serif;
  font-size: 40px;
  text-align: left;
  margin-bottom: 28px;
  color: #515C3F;
}

.clients-description {
  max-width: 1440px;
  font-size: 20px;
  line-height: 1.6;
  color: #2f3b2f;
}

/* GRID */

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.client-item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

.client-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.client-item:hover img {
  transform: scale(1.05);
}

/* =========================
   LIGHTBOX
========================= */

.clients-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.clients-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.clients-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
/* =========================
   CLIENTS LIGHTBOX — ARROWS
========================= */

.clients-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.clients-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 16px;
}

.clients-lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.clients-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 64px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0 16px;
  opacity: 0.8;
}

.clients-lightbox-arrow:hover {
  opacity: 1;
}

.clients-lightbox-prev {
  left: 24px;
}

.clients-lightbox-next {
  right: 24px;
}

/* mobile */

@media (max-width: 768px) {
  .clients-lightbox-arrow {
    font-size: 48px;
  }
}
/* =========================
   CLIENTS LIGHTBOX — COUNTER & SWIPE
========================= */

.clients-lightbox-content {
  position: relative;
}

.clients-lightbox-counter {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  color: #ffffff;
  opacity: 0.85;
  font-family: 'Montserrat', sans-serif;
}

/* mobile tweaks */
@media (max-width: 768px) {
  .clients-lightbox-counter {
    top: -24px;
    font-size: 13px;
  }
}
/* =========================
   CLIENTS LIGHTBOX — CAPTION
========================= */

.clients-lightbox-caption {
  margin-top: 12px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #ffffff;
  opacity: 0.9;
  max-width: 90vw;
}
/* =========================
   CLIENTS LIGHTBOX — FULLSCREEN MOBILE
========================= */

@media (max-width: 768px) {
  .clients-lightbox {
    padding: 0;
  }

  .clients-lightbox img {
    width: 100vw;
    height: 100vh;
    max-width: none;
    max-height: none;
    object-fit: contain;
    border-radius: 0;
  }

  .clients-lightbox-arrow {
    font-size: 44px;
  }

  .clients-lightbox-close {
    top: 16px;
    right: 20px;
  }
}
/* =========================
   CLIENTS LIGHTBOX — FIX MOBILE
========================= */

.clients-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.clients-lightbox-content {
  position: relative;
  pointer-events: none;
}

.clients-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  pointer-events: auto;
}

.clients-lightbox-arrow,
.clients-lightbox-close {
  pointer-events: auto;
  z-index: 2;
}

.clients-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  opacity: 0.9;
}

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

.clients-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .clients-lightbox img {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
  }

  .clients-lightbox-arrow {
    font-size: 44px;
  }
}
/* ==============================
   CLIENTS VIDEO GALLERY
============================== */

.clients-video {
    padding: 40px 0;
}

.clients-video .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 48px;
    font-family: 'Podkova', serif;
}

/* GRID */
.clients-video_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ITEM */
.clients-video_item {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

/* RESET iframe / video */
.clients-video_item iframe,
.clients-video_item video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    object-fit: contain;
    background: #000;
    border: 0;
    display: block;
}


/* ==============================
   ADAPTIVE
============================== */

@media (max-width: 1024px) {
    .clients-video_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .clients-video_grid {
        grid-template-columns: 1fr;
    }
}

/* === POSLUGA TITLE UNDER ICON (FIGMA) === */

.posluga {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 32px;
}

.posluga__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.posluga__title {
  margin-top: 16px;
  font-family: 'Podkova', serif;
  font-size: 32px;
  line-height: 1.2;
  color: #6F7C59;
}
/* =========================
   POSLUGY — MOBILE FIX
========================= */

@media (max-width: 768px) {

  .posluga {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .posluga__left {
    order: 1;
  }

  .posluga__content {
    order: 2;
  }

  .posluga__left,
  .posluga__content {
    text-align: left;
  }

  .posluga__icon {
    margin: 0 auto;
  }

  .posluga__title {
    text-align: center;
    margin-bottom: 8px;
  }

  .posluga__text {
    padding: 0 4px;
  }

}
/* =========================
   HERO — OWNERS
========================= */

/* =========================
   OWNERS ARTICLES
========================= */

.owners-articles {
  padding: 40px 0;
  background: #ffffff;
}

/* INTRO */

.owners-articles__intro {
  margin-bottom: 56px;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  color: #2f3b2f;
}

.owners-articles__intro p {
  margin: 0 0 12px;
}

.owners-articles__note {
  margin-top: 20px;
}

/* GRID */

.owners-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* CARD */

.owners-card {
  background: #6f7c59;
  border-radius: 28px;
  padding: 24px 24px 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* IMAGE */

.owners-card__image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
}

.owners-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* TITLE */

.owners-card__title {
  font-family: 'Podkova', serif;
  font-size: 18px;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 16px;
}

/* LINK */

.owners-card__link {
  margin-top: auto;

  display: inline-block;
  padding: 8px 22px;
  border-radius: 999px;

  font-family: 'Podkova', serif;
  font-size: 14px;
  font-weight: 600;

  background: #ffffff;
  color: #6f7c59;
  text-decoration: none;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .owners-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .owners-articles {
    padding: 64px 0;
  }

  .owners-articles__grid {
    grid-template-columns: 1fr;
  }

  .owners-card {
    padding: 20px;
  }

  .owners-card__title {
    font-size: 17px;
  }
}
/* =========================
   OWNERS CARDS — LEFT TEXT FIX
========================= */

.owners-card {
  display: flex;
  flex-direction: column;

  align-items: stretch; /* ✅ элементы на всю ширину */
  background: transparent;
}

/* ЗЕЛЁНЫЙ БЛОК — ИКОНКА */

.owners-card__icon {
  width: 100%;
  background: #6f7c59;
  border-radius: 28px;
  padding: 24px;
  margin-bottom: 14px;

  display: flex;
  justify-content: center; /* иконка по центру */
}

.owners-card__icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* ЗАГОЛОВОК — СЛЕВА */

.owners-card__title {
  margin: 0 0 10px;

  font-family: 'Podkova', serif;
  font-size: 15px;
  line-height: 1.4;
  color: #6F7C59;

  text-align: left; /* ✅ */
}

/* КНОПКА — СЛЕВА */

.owners-card__link {
  align-self: flex-start; /* ✅ кнопка слева */

  display: inline-block;
  padding: 6px 18px;

  background: #6f7c59;
  color: #ffffff;

  font-family: 'Podkova', serif;
  font-size: 13px;
  font-weight: 600;

  border-radius: 999px;
  text-decoration: none;
}
/* =========================
   OWNERS ARTICLE — PDF STYLE
========================= */

.owners-article {
  padding: 20px 0;
  background: #ffffff;
}

.owners-article__inner {
  max-width: 960px;
  margin: 0 auto;
}

.owners-article__image {
  margin-bottom: 40px;
  border-radius: 32px;
  overflow: hidden;
}

.owners-article__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTENT */

.owners-article__content {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}

/* PARAGRAPHS */

.owners-article__content p {
  margin: 0 0 20px;
}

/* SUBHEADINGS */

.owners-article__content h2 {
  margin: 48px 0 20px;
  font-family: 'Podkova', serif;
  font-size: 26px;
  font-weight: 600;
  color: #6F7C59;
}

.owners-article__content h3 {
  margin: 36px 0 16px;
  font-family: 'Podkova', serif;
  font-size: 22px;
  font-weight: 600;
  color: #2f3b2f;
}

/* LISTS */

.owners-article__content ul,
.owners-article__content ol {
  margin: 0 0 24px 20px;
  padding: 0;
}

.owners-article__content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* EMPHASIS BLOCK (IMPORTANT) */

.owners-article__important {
  margin: 40px 0;
  padding: 28px 32px;
  background: #f7f8f3;
  border-left: 6px solid #6F7C59;
  border-radius: 20px;

  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2f3b2f;
}

.owners-article__important strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Podkova', serif;
  font-size: 18px;
  color: #6F7C59;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 768px) {
  .owners-article {
    padding: 64px 0;
  }

  .owners-article__image {
    margin-bottom: 28px;
  }

  .owners-article__content {
    font-size: 15px;
  }

  .owners-article__content h2 {
    font-size: 22px;
  }

  .owners-article__content h3 {
    font-size: 19px;
  }

  .owners-article__important {
    padding: 22px 20px;
  }
}
/* =========================
   NEWS GRID
========================= */

.news {
  padding: 40px 0 80px;
}

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

/* CARD */

.news-card {
  text-decoration: none;
  color: inherit;
}

.news-card__image {
  background: #6f7c59;
  border-radius: 28px;
  padding: 24px;
  margin-bottom: 14px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.news-card__title {
  font-family: 'Podkova', serif;
  font-size: 16px;
  line-height: 1.4;
  color: #6F7C59;
}

/* =========================
   SINGLE NEWS
========================= */

.news-article {
  padding: 40px 0 80px;
}

.news-article__image {
  margin-bottom: 32px;
}

.news-article__image img {
  width: 100%;
  border-radius: 32px;
}

.news-article__content {
  max-width: 820px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #000;
}

.news-article__content h2 {
  font-family: 'Podkova', serif;
  font-size: 20px;
  margin: 32px 0 12px;
  color: #6F7C59;
}

/* IMPORTANT BLOCK */

.news-article__content .important {
  margin: 32px 0;
  background: #6f7c59;
  color: #ffffff;
  padding: 24px 28px;
  border-radius: 28px;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.news-article__content .important strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Podkova', serif;
  font-size: 16px;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news__grid {
    grid-template-columns: 1fr;
  }

  .hero--news h1 {
    font-size: 34px;
  }
}
/* =========================
   NEWS — IMPORTANT (PDF)
========================= */

.news-article__important-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin: 24px 0 16px;
  color:#6F7C59;
}

.news-article__important {
  max-width: 760px;
  margin: 0 auto 40px;
  background: #76825c;
  color: #fff;
  padding: 24px 32px;
  border-radius: 24px;
  text-align: center;
  font-size: 20px;
}

@media (max-width: 640px) {
  .news-article__important {
    padding: 20px;
    font-size: 13px;
  }

  .news-article__important strong {
    font-size: 18px;
  }
}
.news-article__important {
  max-width: 760px;
  margin: 20px auto;
}
/* =========================
   CONTACTS PAGE
========================= */
.contacts-page {
  padding: 40px 0;
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.contact-card__map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 24px;
}

.contact-card__info {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-card__info h3 {
  font-family: 'Podkova', serif;
  font-size: 16px;
  margin: 0 0 6px;
  color: #6F7C59;
}

.contact-card__info p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #2f3b2f;
}

.contact-card__info .btn {
  margin-top: 12px;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 1024px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-card__map iframe {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .contacts-page {
    padding: 64px 0;
  }

  .contact-card__info {
    padding: 24px;
  }
}
/* =========================
   ONLINE CONSULTATION PAGE
========================= */

.hero--online {
  background-image: url("assets/slide-online.png");
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1440px auto;
  padding-bottom: 24px;
}
/* =========================
   ONLINE CONSULTATION (FROM ZERO)
========================= */

.hero__content--center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.online-time {
  margin-top: 12px;
  font-weight: 600;
  color: #6F7C59;
}

.online-important {
  padding: 40px 0;
}

.online-important__box {
  max-width: 820px;
  margin: 0 auto;
  background: #6F7C59;
  color: #ffffff;
  padding: 28px 32px;
  border-radius: 24px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
}

.online-important__agree {
  display: inline-flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 13px;
  cursor: pointer;
}

.online-how {
  padding: 48px 0;
}

.online-how h2 {
  text-align: center;
  margin-bottom: 24px;
}

.online-how ol {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}

.online-main {
  padding: 48px 0 80px;
}

.online-main__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.online-form-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.online-form-card label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}

.online-form-card input,
.online-form-card textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  margin-top: 6px;
}

.form-note {
  font-size: 13px;
  margin-bottom: 16px;
}

.form-small {
  font-size: 12px;
  margin-top: 12px;
}

.online-info h4 {
  margin-top: 16px;
  color: #6F7C59;
}

.online-info ul {
  padding-left: 18px;
  font-size: 14px;
}

.online-warning {
  margin-top: 16px;
  font-size: 13px;
}

.btn--pay {
  margin-top: 24px;
  background: #4A76A8;
  color: #fff;
  display: inline-block;
}

@media (max-width: 900px) {
  .online-main__grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   404 PAGE — STRICT LAYOUT
========================= */

.page-404 {
  padding: 120px 0 140px;
  background: #ffffff;
}

.page-404__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.page-404__code {
  font-family: 'Podkova', serif;
  font-size: 96px;
  line-height: 1;
  margin: 0 0 16px;
  color: #6F7C59;
}

.page-404__title {
  font-family: 'Podkova', serif;
  font-size: 22px;
  margin-bottom: 12px;
  color: #2f3b2f;
}

.page-404__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  color: #2f3b2f;
}

/* =========================
   404 ADAPTIVE
========================= */

@media (max-width: 768px) {
  .page-404 {
    padding: 96px 0 120px;
  }

  .page-404__code {
    font-size: 72px;
  }
}

@media (max-width: 480px) {
  .page-404__code {
    font-size: 64px;
  }
}
/* =========================================================
   5. MODAL FORM STYLE (style.css - В КОНЕЦ)
========================================================= */

.doctor-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.doctor-modal.is-active {
  display: block;
}

.doctor-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
}

.doctor-modal__box {
  position: relative;
  max-width: 520px;
  margin: 60px auto;
  background: #ffffff;
  border-radius: 32px;
  padding: 36px;
  z-index: 2;
  border: 2px solid #6F7C59;
}

.doctor-modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.doctor-modal__title {
  text-align: center;
  color: #6F7C59;
}

.doctor-modal__doctor {
  text-align: center;
  margin-bottom: 16px;
}

.doctor-modal__text {
  text-align: center;
  font-size: 14px;
  margin-bottom: 24px;
}

.doctor-form input,
.doctor-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 2px solid #6F7C59;
  margin-bottom: 16px;
  font-size: 14px;
}

.doctor-form textarea {
  border-radius: 24px;
  min-height: 120px;
}

.doctor-modal__agree {
  text-align: center;
  font-size: 13px;
  margin: 16px 0 24px;
}
/* =========================
   DOCTOR SUCCESS MESSAGE
========================= */

.doctor-success {
  text-align: center;
  padding: 32px 20px;
}

.doctor-success__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #2f3b2f;
  max-width: 420px;
  margin: 0 auto;
}

/* =========================
   SITE HERO (NEW)
========================= */
.site-hero {
  position: relative;
  overflow: hidden;
}

.site-hero__track {
  display: flex;
  transition: transform 0.5s ease;
}

.site-hero__slide {
  min-width: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right top;
  padding: 120px 0;
}

.site-hero__content {
 
}

.site-hero__content h1 {
  font-size: 52px;
  margin-bottom: 16px;
  color: #1f2d1f;
}

.site-hero__content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #2f3b2f;
}

/* dots */
.site-hero {
  position: relative;
  overflow: hidden;
}

.site-hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px; /* як на макеті */
}

.site-hero__dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;   /* ← робить круг */
  border: none;
  padding: 0;
  background: rgba(111, 124, 89, 0.4);
  cursor: pointer;
}

.site-hero__dots button.is-active {
  background: #6f7c59;
}


/* mobile */
@media (max-width: 768px) {
  .site-hero__slide {
    padding: 80px 0;
    background-position: center top;
  }

  .site-hero__content h1 {
    font-size: 34px;
  }
}

/*NEW SITE HERO 19.01*/
.site-hero {
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-top:15px;
}
@media (max-width: 768px) {
  .site-hero {
    background-image: none !important;
  }
}

/* =========================
   HEADER MENU
========================= */

.header__nav {
  display: flex;
  align-items: center;
}
.header__burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger span {
  width: 24px;
  height: 2px;
  background: #2f3b2f;
}
/* ===== DESKTOP DROPDOWN ===== */

.nav-list li {
  position: relative;
}

.nav-list li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #ffffff;
  padding: 12px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  z-index: 1000;
}

.nav-list li:hover > ul {
  display: block;
}

.nav-list li ul li a {
  padding: 8px 16px;
  display: block;
  font-size:20px;
}

@media (max-width: 1024px) {

  .header__burger {
    display: flex;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
  }

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

  /* подменю */
  .nav-list li ul {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .nav-list li.is-open > ul {
    display: flex;
  }
}


/* =========================
   SPECIALISTS SLIDER
========================= */

.specialists-slider {
  position: relative;
  width: 100%;
}

.specialists-slider__viewport {
  overflow: hidden;
}

.specialists-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

/* cards */
.specialists-slider .specialist-card {
  flex: 0 0 25%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* arrows */
.specialists-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;

  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;

  background: #6F7C59;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.specialists-slider__arrow--prev {
  left: -22px;
}

.specialists-slider__arrow--next {
  right: -22px;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {
  .specialists-slider .specialist-card {
    flex: 0 0 100%;
    padding: 0 8px;
  }

  .specialists-slider__arrow {
    display: none;
  }
}
/* =========================
   SPECIALISTS SLIDER — ONE ARROW
========================= */

.specialists-slider {
  position: relative;
}

.specialists-slider__arrow {
  position: absolute;
  z-index: 3;

  width: 52px;
  height: 52px;

  border-radius: 50%;
  border: none;
  padding: 0;

  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* icon */
.specialists-slider__arrow::before {
  content: '';
  width: 20px;
  height: 20px;
  background-image: url("/wp-content/themes/vetservice/assets/arrow-right.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* desktop position — справа по центру */
.specialists-slider__arrow--next {
  top: 50%;
  right: -26px;
  transform: translateY(-50%);
}

/* mobile — як у макеті */
@media (max-width: 640px) {
  .specialists-slider__arrow--next {
    top: auto;
    bottom: -72px;
    right: 50%;
    transform: translateX(26px);
  }
}
/* =========================
   SPECIALIST CARD — FIGMA SIZE
========================= */

.specialists-slider .specialist-card {
  flex: 0 0 302px; /* ширина як у макеті */
  max-width: 302px;
}

/* фото-контейнер */
.specialist-card__photo {
  width: 302px;
  height: 403px;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

/* саме фото */
.specialist-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay з імʼям */
.specialist-card__overlay {
  padding: 20px 18px;
}

/* =========================
   MOBILE — FULL WIDTH
========================= */

@media (max-width: 640px) {
  .specialists-slider .specialist-card {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .specialist-card__photo {
    width: 302px;
    height: 403px;
  }
}
/* =========================
   SPECIALISTS SLIDER — GAP BETWEEN CARDS
========================= */

.specialists-slider__track {
  gap: 16px; /* невеликий відступ як у макеті */
}
/* =========================
   SPECIALISTS SLIDER — MOBILE FIX
========================= */

@media (max-width: 640px) {

  .specialists-slider__viewport {
    overflow: hidden;
  }

  .specialists-slider__track {
    gap: 16px;
  }

  .specialists-slider .specialist-card {
    flex: 0 0 302px;
  }

}
/* =========================================================
   APPOINTMENT MODAL — FINAL (1:1 WITH DESIGN)
========================================================= */

.appointment-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.appointment-modal.is-active {
  display: block;
}

/* OVERLAY */

.appointment-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

/* BOX */

.appointment-modal__box {
  position: relative;
  max-width: 640px;
  margin: 80px auto;
  background: #ffffff;
  border-radius: 32px;
  padding: 40px 48px 44px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* CLOSE */

.appointment-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 8px;
  border: 1px solid #000;
  background: #ffffff;

  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* TITLE */

.appointment-modal__title {
  margin: 0 0 10px;
  font-family: 'Podkova', serif;
  font-size: 28px;
  font-weight: 700;
  color: #000000;
}

/* CLINIC ADDRESS */

.appointment-modal__clinic {
  margin-bottom: 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  color: #000000;
}

/* FORM */

.appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

/* INPUTS */

.appointment-form input,
.appointment-form textarea {
  width: 100%;
  padding: 12px 16px;

  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #000000;

  border-radius: 6px;
  border: 1px solid #6f7c59;
  outline: none;
}

/* PLACEHOLDER */

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: #6f6f6f;
}

/* TEXTAREA */

.appointment-form textarea {
  grid-column: span 2;
  resize: none;
  min-height: 88px;
}

/* SUBMIT */

.appointment-form button {
  grid-column: span 2;
  justify-self: flex-end;

  margin-top: 8px;
  padding: 12px 36px;

  background: #6f7c59;
  color: #ffffff;

  border-radius: 999px;
  border: none;

  font-family: 'Podkova', serif;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;
  transition: background 0.2s ease;
}

.appointment-form button:hover {
  background: #5e6b4b;
}

/* =========================
   ADAPTIVE
========================= */

@media (max-width: 640px) {

  .appointment-modal__box {
    margin: 40px 16px;
    padding: 32px 24px;
  }

  .appointment-modal__title {
    font-size: 24px;
  }

  .appointment-form {
    grid-template-columns: 1fr;
  }

  .appointment-form textarea,
  .appointment-form button {
    grid-column: span 1;
  }

  .appointment-form button {
    justify-self: stretch;
  }
}
.appointment-modal__clinic {
  display: none;
  margin-bottom: 12px;
  font-weight: 500;
}
/* ===== APPOINTMENT SELECT ===== */

.appointment-field--clinic {
  grid-column: span 2;
}

.appointment-field--clinic select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid #6f7c59;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  color: #6f7c59;
  background-color: #fff;
  appearance: none;
  cursor: pointer;

  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f7c59' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.appointment-field--clinic select:focus {
  outline: none;
  border-color: #556248;
}
.appointment-success {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 16px;
  background: #f3f6ef;
  color: #556248;
  font-size: 14px;
  text-align: center;
}
/* =========================
   CONTACTS MAP iframe FIX
========================= */

.contact-card__map-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  border-radius: 16px;
}

.contact-card__map-inner iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* =========================
   CLINIC APPOINTMENT MODAL
   ========================= */

.clinic-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-modal[hidden] {
    display: none;
}

.clinic-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.clinic-modal__content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 575px;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    box-sizing: border-box;
}

.clinic-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 0;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

/* form base */
.clinic-modal form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clinic-modal h3 {
    margin: 0 0 8px;
    text-align: center;
}

.clinic-modal p {
    text-align: center;
    margin: 0 0 16px;
}

.clinic-modal input,
.clinic-modal select,
.clinic-modal textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 32px;
    border: 1px solid #9ba78a;
    font-size: 16px;
    box-sizing: border-box;
}

.clinic-modal textarea {
    border-radius: 16px;
    min-height: 100px;
    resize: vertical;
}

.clinic-modal button[type="submit"] {
    margin-top: 8px;
    padding: 14px;
    border-radius: 32px;
    border: 0;
    background: #7b8f5a;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
/* =========================
   CLINIC MODALS - MOBILE
   ========================= */

@media (max-width: 768px) {

    .clinic-modal {
        align-items: flex-end;
        justify-content: center;
    }

    .clinic-modal__content {
        width: 100%;
        max-width: none;
        border-radius: 24px 24px 0 0;
        padding: 24px 16px 20px;
        max-height: 90vh;
        overflow-y: auto;
        animation: clinicModalUp 0.25s ease-out;
    }

    @keyframes clinicModalUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .clinic-modal__close {
        top: 14px;
        right: 14px;
        font-size: 22px;
    }

    .clinic-modal h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .clinic-modal__subtitle,
    .clinic-modal p {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    .clinic-modal input,
    .clinic-modal select,
    .clinic-modal textarea {
        font-size: 15px;
        padding: 12px 14px;
    }

    .clinic-modal textarea {
        min-height: 90px;
    }

    .clinic-modal button[type="submit"] {
        font-size: 16px;
        padding: 14px;
        margin-top: 8px;
    }

    .clinic-modal__success p {
        font-size: 15px;
        line-height: 1.5;
        text-align: center;
    }
}
/*ONLINE Консультація*/
.online-success-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.online-success-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.online-success-modal__content {
    position: relative;
    max-width: 420px;
    margin: 20vh auto 0;
    background: #fff;
    padding: 24px;
    text-align: center;
    border-radius: 12px;
}

.online-success-modal__close {
    margin-top: 16px;
}
/**Відгуки на головній*/
.reviews__tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.reviews__tab {
  padding: 10px 18px;
  border-radius: 24px;
  border: 1px solid #6f7c59;
  background: transparent;
  cursor: pointer;
}

.reviews__tab.is-active {
  background: #6f7c59;
  color: #fff;
}
/* Контейнер статті */
/* Заголовки у статтях — по центру, як у макеті */
.owners-article__content h1,
.owners-article__content h2,
.owners-article__content h3 {
  text-align: center;
}

.owners-article__content {
  max-width: 860px;
  margin: 0 auto;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  color: #2e2e2e;
}

/* Заголовок */
.owners-article__content h1 {
  text-align: center;
  font-size: 36px;
  color: #6f7f5a;
  margin-bottom: 8px;
}

/* Підзаголовок (другий <p>) */
.owners-article__content p strong {
  font-weight: 600;
}

/* h2 */
.owners-article__content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 22px;
  color: #6f7f5a;
}

/* Текст */
.owners-article__content p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Списки */
.owners-article__content ul,
.owners-article__content ol {
  margin: 16px 0 24px;
  padding-left: 20px;
}

.owners-article__content li {
  margin-bottom: 10px;
}

/* Нумерований список (як на макеті) */
.owners-article__content ol li::marker {
  color: #6f7f5a;
  font-weight: 600;
}

/* Важливий блок */
.owners-article__important {
  margin: 32px 0;
  padding: 20px 24px;
  background: #f6f8f4;
  border-left: 4px solid #6f7f5a;
  font-size: 15px;
}

/* Фінальний акцент */
.owners-article__content h3 {
  margin-top: 48px;
  text-align: center;
  font-size: 24px;
  color: #6f7f5a;
}
/* Підзаголовок під H1 — по центру */
.owners-article__content h1 + p {
  text-align: center;
  font-size: 16px;
  color: #7a7a7a;
  margin-top: 4px;
  margin-bottom: 32px;
}
/* Контент статті */
.owners-article__content {
  max-width: 860px;
  margin: 0 auto;
  font-family: "Inter", Arial, sans-serif;
  color: #2e2e2e;
  line-height: 1.65;
}

/* H1 — ПО ЦЕНТРУ */
.owners-article__content h1 {
  text-align: center;
  font-size: 36px;
  color: #6f7f5a;
  margin-bottom: 6px;
}

/* Підзаголовок під H1 — ПО ЦЕНТРУ */
.owners-article__content h1 + p {
  text-align: center;
  font-size: 16px;
  color: #7a7a7a;
  margin-bottom: 28px;
}

/* H2 — ЗЛІВА */
.owners-article__content h2 {
  margin-top: 40px;
  margin-bottom: 14px;
  font-size: 22px;
  color: #6f7f5a;
  text-align: left;
}

/* Текст */
.owners-article__content p {
  margin-bottom: 16px;
  font-size: 16px;
}

/* Списки */
.owners-article__content ul,
.owners-article__content ol {
  margin: 16px 0 24px;
  padding-left: 22px;
}

.owners-article__content li {
  margin-bottom: 10px;
}

/* Нумерація як у макеті */
.owners-article__content ol li::marker {
  color: #6f7f5a;
  font-weight: 700;
}

/* Важливий блок */
.owners-article__important {
  margin: 28px 0;
  padding: 18px 22px;
  background: #f5f7f2;
  border-left: 4px solid #6f7f5a;
  font-size: 15px;
}

/* Попередження */
.owners-article__note {
  font-size: 15px;
  color: #5a5a5a;
}

/* Фінальний заголовок — ПО ЦЕНТРУ */
.owners-article__content h3 {
  margin-top: 48px;
  text-align: center;
  font-size: 24px;
  color: #6f7f5a;
  font-weight: 700;
}
/* Нумерований список як у макеті (цифри в плашках) */
.owners-article__steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.owners-article__steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 14px;
}

.owners-article__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 28px;
  height: 28px;
  background: #6f7f5a;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  text-align: center;
  border-radius: 4px;
}
.page-default h1,h2,h3,h4,h5,h6 {
  font-family: 'Podkova', serif;
  color: #6F7C59
}
#reviews-content {
  position: relative;
}

/* всі панелі приховані, але НЕ display:none */
#reviews-content {
  position: relative;
}

#reviews-content .reviews-panel {
  position: absolute;
  left: -99999px;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}

#reviews-content .reviews-panel.is-active {
  position: relative;
  left: 0;
  opacity: 1;
  pointer-events: auto;
}




