/*
Theme Name: Уметбаев — Пластический хирург
Theme URI: https://doctorumetbaev.ru/
Author: Custom WordPress Theme
Description: Индивидуальная WordPress-тема для сайта Данила Валерьевича Уметбаева.
Version: 1.0.0
Text Domain: umetbaev
*/

/* =========================================================
   УМЕТБАЕВ — LANDING PAGE
   Цветовая айдентика:
   #F5F1EC — основной фон
   #E7DED3 — вторичный фон
   #5F6658 — основной зелёный
   #1F1F1F — основной текст
   ========================================================= */

:root {
  --ivory: #F5F1EC;
  --surface: #E7DED3;
  --olive: #5F6658;
  --olive-dark: #4D5448;
  --text: #1F1F1F;
  --muted: #686A65;
  --line: rgba(95, 102, 88, .22);
  --white: #FFFFFF;
  --shadow: 0 18px 50px rgba(31,31,31,.08);
  --serif: "Bookman Old Style", "Book Antiqua", Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

button, a { font: inherit; }

a { color: inherit; text-decoration: none; }

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

.narrow { width: min(920px, calc(100% - 48px)); }

.section { padding: 110px 0; }

.section-heading {
  margin-bottom: 40px;
  max-width: 760px;
}

.section-heading h2,
.hero h1,
.question-card h2,
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .98;
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.05;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  max-width: 600px;
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.55;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 11px;
  font-weight: 700;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,241,236,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand { display: flex; flex-direction: column; flex-shrink: 0; }
.brand-name { font-family: var(--serif); font-size: 17px; letter-spacing: .06em; }
.brand-subtitle { font-size: 11px; line-height: 1.25; color: var(--muted); }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-left: auto;
  font-size: 14px;
}

.desktop-nav a, .mobile-nav a { transition: color .2s; }
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--olive); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { min-height: 45px; padding: 9px 17px; font-size: 14px; }
.btn-primary { background: var(--olive); color: var(--white); }
.btn-primary:hover { background: var(--olive-dark); }
.btn-outline { border-color: var(--olive); color: var(--olive); background: transparent; }
.btn-outline:hover { background: var(--olive); color: var(--white); }
.btn-light { background: var(--ivory); color: var(--olive); }

.mobile-menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.mobile-menu-toggle span { display:block; width: 25px; height: 1px; background: var(--text); margin: 5px 0; }
.mobile-nav { display: none; }

/* Hero */
.hero {
  padding: 0;
  min-height: 580px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr .72fr;
  min-height: 620px;
}
.hero-copy {
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding: 55px 65px 50px 0;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 50px);
  letter-spacing: -.04em;
}
.hero-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); line-height: 1.05; margin-top: 3px; }
.hero-profession { font-family: var(--serif); color: var(--olive); font-size: 22px; margin: 8px 0 25px; }
.hero-description { color: var(--muted); }
.hero-actions { display:flex; gap: 12px; flex-wrap:wrap; margin-top: 28px; }
.hero-points {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 38px;}
.hero-points div { display:flex; gap:10px; align-items:flex-start; }
.hero-points strong { color: var(--olive); font-family:var(--serif); font-weight:400; }
.hero-points span { font-size:13px; line-height:1.3; color:var(--muted); }
.hero-photo {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-photo::before {
  content: "";
  position: absolute;
  width: 82%;
  height: 94%;
  right: 2%;
  bottom: -8%;
  background: #DDE2DC;
  border-radius: 50%;
  z-index: 0;
}
.hero-photo img { position: relative;
  z-index: 1; }
.photo-note {
  position: absolute;
  right: 30px;
  bottom: 35px;
  color: var(--white);
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.15;
  z-index: 2;
}
/* Directions */
.directions { background: var(--surface); }
.directions-list { border-top:1px solid var(--line); }
.direction-item { border-bottom:1px solid var(--line); }
.direction-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 5px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  text-align: left;
}
.plus {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--olive);
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
  border: 1px solid rgba(95, 102, 88, 0.5);
  border-radius: 50%;
  transition: transform .3s, background .3s;
}
.direction-item.open .plus { transform:rotate(45deg); }
.direction-content { max-height:0; overflow:hidden; transition:max-height .35s ease; }
.operation {
  display:flex; justify-content:space-between; gap:20px;
  padding:14px 18px; margin:0 0 8px; background:rgba(245,241,236,.65);
  border-radius:12px; font-size:16px;
}
.operation strong { color:var(--olive); white-space:nowrap; font-weight:600; }

/* Consultation */
.steps { display:grid; grid-template-columns:repeat(4,1fr); gap:0; position:relative; }
.steps:before { content:""; position:absolute; left:6%; right:6%; top:29px; height:1px; background:var(--line); }
.step { position:relative; padding:0 28px 0 0; }
.step span {
  width: 52px;
  height: 52px;
  border: 1px solid rgba(95, 102, 88, 0.45);
  background: #F5F1EC;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  color: var(--olive);
  position: relative;
  z-index: 1;
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  margin: 20px 0 8px;
}
.step p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

/* FAQ */
.faq { background:var(--surface); }
.faq-list { border-top:1px solid var(--line); }
.faq-item { border-bottom:1px solid var(--line); }
.faq-trigger {
  width: 100%;
  border: 0;
  background: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  text-align: left;
  cursor: pointer;
  padding: 22px 5px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
}
.faq-answer { max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq-answer p {
  color: var(--muted);
  max-width: 760px;
  padding: 0 45px 24px 5px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
.faq-item.open .faq-trigger span:last-child { transform:rotate(45deg); }
.faq-trigger span:last-child {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--olive);
  border: 1px solid rgba(95, 102, 88, 0.5);
  border-radius: 50%;
  transition: transform .25s;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 300;
}

/* Reviews */
.reviews-carousel { position:relative; overflow:hidden; }
.reviews-track { display:flex; gap:18px; transition:transform .45s ease; }
.review-card { flex:0 0 calc(33.333% - 12px); padding:0; border:1px solid var(--line); background:var(--white); border-radius:15px; overflow:hidden; cursor:pointer; box-shadow:0 8px 25px rgba(31,31,31,.04); }
.review-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
.review-placeholder { min-height:220px; display:flex; align-items:center; justify-content:center; color:var(--olive); background:rgba(231,222,211,.45); font-family:var(--serif); font-size:20px; }
.carousel-controls { display:flex; align-items:center; justify-content:center; gap:20px; margin-top:28px; }
.carousel-arrow { width:42px; height:42px; border-radius:50%; border:1px solid var(--olive); color:var(--olive); background:transparent; cursor:pointer; }
.carousel-arrow:hover { background:var(--olive); color:var(--white); }
.carousel-dots { display:flex; gap:7px; }
.carousel-dot { width:6px; height:6px; border:0; padding:0; border-radius:50%; background:#B8B9B2; cursor:pointer; }
.carousel-dot.active { background:var(--olive); }

/* Professional */
.professional { background:var(--surface); }
.professional-grid { display:grid; grid-template-columns:1fr 1fr; gap:80px; }
.timeline-block h3 { font-family:var(--serif); font-weight:400; font-size:26px; margin:0 0 30px; }
.timeline { border-left:1px solid var(--line); }
.timeline-row { display:grid; grid-template-columns:70px 1fr; gap:22px; padding:0 0 28px 20px; position:relative; }
.timeline-row:before { content:""; width:8px; height:8px; border-radius:50%; background:var(--olive); position:absolute; left:-4px; top:7px; }
.timeline-row time { font-family:var(--serif); color:var(--olive); }
.timeline-row strong { font-family:var(--serif); font-weight:400; }
.timeline-row p { margin:5px 0 0; color:var(--muted); font-size:13px; }

/* =========================================
   КАРТОЧКА КЛИНИКИ — ПК
========================================= */

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 300px;
    padding: 30px;

    box-sizing: border-box;

    color: #F5F1EC;
    border: 1px solid rgba(95, 102, 88, 0.35);
    border-radius: 25px;

    text-decoration: none;
    overflow: hidden;

    transition:
        border-color .25s ease,
        transform .25s ease;
}


/* =========================================
   ФОТО ФОНА
========================================= */

.contact-card__image {
    position: absolute;
    inset: -5% 0 0;
    z-index: 0;

    background-image: url("https://doctorumetbaev.ru/wp-content/uploads/2026/09/orig.jpg");
    background-size: cover;
    background-position: center;

    transform: scale(1);

    transition: transform .6s ease;
}


/* =========================================
   HOVER ФОТО
========================================= */

.contact-card:hover .contact-card__image {
    transform: scale(1.06) translateY(-8px);
}


/* =========================================
   ЗАТЕМНЕНИЕ ФОТО
========================================= */

.contact-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .72),
        rgba(0, 0, 0, .08)
    );
}


/* =========================================
   ВЕРХНЯЯ ЧАСТЬ
========================================= */

.contact-card__top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}


/* =========================================
   ИКОНКА
========================================= */

.contact-card__icon {
    width: 44px;
    height: 44px;

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

    color: #F5F1EC;

    border: 1px solid rgba(245, 241, 236, 0.55);
    border-radius: 50%;
}

.contact-card__icon svg {
    width: 21px;
    height: 21px;
}


/* =========================================
   СТРЕЛКА
========================================= */

.contact-card__arrow {
    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 1;

    color: #F5F1EC;

    transition: transform .25s ease;
}

.contact-card:hover .contact-card__arrow {
    transform: translate(4px, -4px);
}


/* =========================================
   НИЖНЯЯ ЧАСТЬ
========================================= */

.contact-card__content {
    position: relative;
    z-index: 2;

    margin-top: 50px;
}


/* =========================================
   ГОРОД
========================================= */

.contact-card__label {
    display: block;

    margin-bottom: 10px;

    font-family: Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .12em;

    color: #F5F1EC;
}


/* =========================================
   НАЗВАНИЕ КЛИНИКИ
========================================= */

.contact-card__content h3 {
    margin: 0;

    font-family: "Bookman Old Style", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;

    color: #F5F1EC;
}


/* =========================================
   АДРЕС
========================================= */

.contact-card__content p {
    margin: 10px 0 0;

    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;

    color: rgba(245, 241, 236, 0.9);
}


/* =========================================
   ССЫЛКА / ДЕЙСТВИЕ
========================================= */

.contact-card__action {
    position: relative;
    z-index: 2;

    display: inline-block;

    margin-top: 24px;

    font-family: Arial, sans-serif;
    font-size: 13px;

    color: #F5F1EC;

    text-decoration: underline;
    text-underline-offset: 4px;
}


/* =========================================
   СЕТКА КЛИНИКИ
========================================= */

.clinic-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 45px;
    align-items: stretch;
}


.map-placeholder #yamap0 {
  width: 100% !important;
  height: 390px !important;
}
.map-placeholder-inner { text-align:center; color:var(--olive); font-family:var(--serif); }
.map-placeholder-inner span { display:block; font-size:28px; }
.map-placeholder-inner small { color:var(--muted); font-family:var(--sans); font-size:12px; }

/* Question */
.question { background:var(--surface); }
.question-card { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center-top; background:var(--ivory); padding:55px; border-radius:var(--radius); }
.question-card h2 { font-size:clamp(42px,5vw,65px); }
.question-card p:not(.eyebrow) { color:var(--muted); }
.question-form-placeholder { min-height:300px; border:1px dashed var(--line); border-radius:18px; display:flex; align-items:center; justify-content:center; color:var(--muted); }

/* =========================================
   БЛОК «БУДЬТЕ НА СВЯЗИ»
   BENTO GRID
   ========================================= */

.socials-bento {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    grid-template-rows: 220px 150px;
    gap: 16px;
}


/* =========================================
   ОБЩИЕ СТИЛИ КАРТОЧЕК
   ========================================= */

.social-card {
    position: relative;

    display: flex;

    box-sizing: border-box;

    overflow: hidden;

    border: 1px solid #5F6658;
    border-radius: 25px;

    background: #E7DED3;
    color: #5F6658;

    text-decoration: none;

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


/* =========================================
   БОЛЬШАЯ КАРТОЧКА
   ========================================= */

.social-card-main {
    grid-column: 1;
    grid-row: 1 / 3;

    padding: 36px;

    flex-direction: column;
    justify-content: space-between;
}

.social-card-content {
    max-width: 450px;
}

.social-card-label {
    display: block;

    margin-bottom: 16px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #000000;

    opacity: 0.7;
}

.social-card-main h2 {
    margin: 0 0 16px;

    color: #000000;

    font-family: "Bookman Old Style", Georgia, serif;

    font-size: clamp(32px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.05;
}

.social-card-main p {
    max-width: 390px;

    margin: 0;

    color: #5F6658;

    font-size: 16px;
    line-height: 1.55;
}

.social-card-mark {
    align-self: flex-end;

    font-size: 44px;
    line-height: 1;

    opacity: 0.55;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================
   TELEGRAM / INSTAGRAM
   ========================================= */

.social-card-link {
    padding: 24px;

    flex-direction: column;
    justify-content: space-between;
}

.social-card-top {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;
}

.social-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    color: #5F6658;
}

.social-card-bottom {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.social-card-bottom strong {
    color: #5F6658;

    font-size: 20px;
    font-weight: 500;
}

.social-card-bottom span {
    color: #5F6658;

    font-size: 13px;

    opacity: 0.65;
}


/* =========================================
   ПРОДОКТОРОВ
   ========================================= */

.social-card-prodoctorov {
    grid-column: 2 / 4;
    grid-row: 2;

    align-items: center;

    padding: 24px 28px;

    gap: 20px;
}

.prodoctorov-logo {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

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

.prodoctorov-logo img {
    display: block;

    width: 48px;
    height: 48px;

    object-fit: contain;
}

.prodoctorov-info {
    display: flex;
    flex-direction: column;

    flex: 1;
}

.prodoctorov-info .social-card-label {
    margin-bottom: 4px;

    font-size: 9px;
}

.prodoctorov-info strong {
    color: #000000;

    font-size: 17px;
    font-weight: 500;
}

.prodoctorov-info > span:last-child {
    margin-top: 4px;

    color: #5F6658;

    font-size: 12px;

    opacity: 0.65;
}


/* =========================================
   КАРТОЧКА «ОСТАВИТЬ ОТЗЫВ»
   ========================================= */

.social-card-review {
    grid-column: 2 / 4;
    grid-row: 3;

    display: none;
}


/* =========================================
   СТРЕЛКИ
   ========================================= */

.social-arrow {
    color: #5F6658;

    font-size: 23px;
    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================
   HOVER
   ========================================= */

.social-card-link:hover,
.social-card-prodoctorov:hover,
.social-card-review:hover {
    transform: translateY(-3px);

    background: #DDE2DC;

    box-shadow:
        0 12px 30px rgba(95, 102, 88, 0.08);
}

.social-card-link:hover .social-arrow,
.social-card-prodoctorov:hover .social-arrow,
.social-card-review:hover .social-arrow {
    transform: translate(3px, -3px);
}

.social-card-main:hover .social-card-mark {
    transform: translate(4px, -4px);

    opacity: 0.9;
}


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================= */

@media (max-width: 767px) {

    .socials-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;

        gap: 12px;
    }


    /* Большая карточка */

    .social-card-main {
        grid-column: 1 / 3;
        grid-row: auto;

        min-height: 260px;

        padding: 28px;
    }

    .social-card-main h2 {
        font-size: 32px;
    }

    .social-card-main p {
        font-size: 14px;
    }


    /* Telegram / Instagram */

    .social-card-link {
        min-height: 170px;

        padding: 20px;
    }

    .social-card-bottom strong {
        font-size: 18px;
    }


    /* ПроДокторов */

    .social-card-prodoctorov {
        grid-column: 1 / 3;
        grid-row: auto;

        min-height: 120px;

        padding: 20px;
    }

    .prodoctorov-logo,
    .prodoctorov-logo img {
        width: 44px;
        height: 44px;
    }

    .prodoctorov-info strong {
        font-size: 15px;
    }

    .prodoctorov-info > span:last-child {
        font-size: 11px;
    }

    .social-card-mark {
        font-size: 36px;
    }
}

/* Final CTA */
.final-cta { background:var(--olive); color:var(--white); padding:55px 0; border-bottom: 1px solid rgba(245, 241, 236, 0.35);
    margin-bottom: 0;}
.final-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.final-cta .eyebrow { color:var(--ivory); opacity:.8; }
.final-cta h2 { font-size:clamp(32px,4vw,48px); }
.final-cta p:not(.eyebrow) { margin:8px 0 0; opacity:.8; }

/* Footer */
.site-footer { padding:55px 0 25px; background:var(--ivory); border-top: 1px solid var(--line);}
.footer-grid { display:grid; grid-template-columns:1fr 1.5fr 1fr; gap:50px; }
.footer-grid nav { display:grid; grid-template-columns:1fr 1fr; gap:8px 25px; font-size:12px; }
.footer-contact { display:flex; flex-direction:column; gap:12px; font-size:12px; text-align:right; }
.footer-contact a:first-child { color:var(--olive); font-family:var(--serif); font-size:17px; }
.footer-bottom { display:flex; justify-content:space-between; border-top:1px solid var(--line); margin-top:45px; padding-top:18px; color:var(--muted); font-size:10px; }

/* Lightbox */
.lightbox { position:fixed; inset:0; z-index:200; display:none; align-items:center; justify-content:center; background:rgba(20,23,20,.92); padding:30px; }
.lightbox.open { display:flex; }
.lightbox img { max-width:min(85vw,1000px); max-height:88vh; object-fit:contain; border-radius:10px; }
.lightbox-close, .lightbox-arrow { position:absolute; border:1px solid rgba(255,255,255,.5); background:rgba(255,255,255,.08); color:var(--white); border-radius:50%; cursor:pointer; }
.lightbox-close { right:25px; top:20px; width:45px; height:45px; font-size:28px; }
.lightbox-arrow { top:50%; transform:translateY(-50%); width:48px; height:48px; font-size:20px; }
.lightbox-prev { left:25px; }
.lightbox-next { right:25px; }

/* Responsive */
@media (max-width: 1050px) {
  .desktop-nav { gap:11px; font-size:10px; }
  .header-cta { display:none; }
  .hero-copy { padding-right:40px; }
  .review-card { flex-basis:calc(33.333% - 12px); }
}

@media (max-width: 800px) {
  .container, .narrow { width:min(100% - 32px, 680px); }
  .section { padding:70px 0; }
  .desktop-nav { display:none; }
  .mobile-menu-toggle { display:block; margin-left:auto; }
  .mobile-nav { display:none; padding:20px 16px 25px; border-top:1px solid var(--line); }
  .mobile-nav.open { display:grid; gap:16px; }
  .mobile-nav a { font-family:var(--serif); font-size:17px; }

  
  .hero-grid { grid-template-columns:1fr; min-height:auto; }
  .hero.section {
    padding-top: 15px !important;
}
  .hero-copy {  padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important; }

  .hero-photo { min-height:480px; order:2; }
  .hero-points { margin-top:45px; }
  .steps { grid-template-columns:1fr 1fr; gap:35px 25px; }
  .steps:before { display:none; }
  .clinic-info h3 { font-family:var(--serif); font-size:32px; font-weight:400; margin:0; }
  .professional-grid, .clinic-grid, .question-card { grid-template-columns:1fr; gap:35px; }
  .question-card { padding:32px; }
  .review-card { flex-basis:calc(50% - 9px); }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-contact { text-align:left; }
  .socials-links { grid-template-columns: 1fr; }
  .prodoctorov-buttons { flex-direction: column; }
  .social-btn { width: 100%; }

.prodoctorov-buttons {
  flex-direction: column;
}
.social-icon {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
    flex: 0 0 20px;}
    
    .contact-card {
    min-height: 260px;
    padding: 25px;
    border-radius: 25px;
}

.contact-card__content {
    margin-top: 35px;
}

.contact-card__content h3 {
    font-size: 28px;
}

  
}

@media (max-width: 520px) {
  .hero h1 { font-size:34px; }
  .hero-name { font-size:28px; }
  .hero-actions .btn { width:100%; }
  .hero-points { gap:12px; }
  .hero-points span { font-size 13px; }
  .steps { grid-template-columns:1fr; }
  .review-card { flex-basis:100%; }
  .operation { flex-direction:column; gap:4px; }
  .final-cta-inner { flex-direction:column; align-items:flex-start; }
  .footer-grid nav { grid-template-columns:1fr; }
  .footer-bottom { gap:15px; flex-direction:column; }
  .lightbox-arrow { width:40px; height:40px; }
  .lightbox-prev { left:10px; }
  .lightbox-next { right:10px; }
  
}

@media (min-width: 1200px) {
  .social-btn {
    min-height: 58px;
    padding: 15px 24px;
    font-size: 16px;
    gap: 12px;
  }

  .social-icon {
    width: 22px;
    height: 22px;
  }
}


