/* ===================================
   КЛИНИКА ДОКТОРА КАНЫКИНА
=================================== */

:root{
    --primary:#0A6FD6;
    --primary-dark:#084F9C;
    --secondary:#3CB8FF;
    --light:#F6FBFF;
    --white:#FFFFFF;
    --text:#23364A;
    --gray:#6E8095;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:22px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    background:var(--light);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.6;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:100px 0;

}
/* ===================================
   КЛИНИКА ДОКТОРА КАНЫКИНА
=================================== */

:root{
    --primary:#0A6FD6;
    --primary-dark:#084F9C;
    --secondary:#3CB8FF;
    --light:#F6FBFF;
    --white:#FFFFFF;
    --text:#23364A;
    --gray:#6E8095;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:22px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    background:var(--light);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.6;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:100px 0;

}
/* ===================================
   КЛИНИКА ДОКТОРА КАНЫКИНА
=================================== */

:root{
    --primary:#0A6FD6;
    --primary-dark:#084F9C;
    --secondary:#3CB8FF;
    --light:#F6FBFF;
    --white:#FFFFFF;
    --text:#23364A;
    --gray:#6E8095;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:22px;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    background:var(--light);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.6;

}

img{

    display:block;

    max-width:100%;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(1200px,92%);

    margin:auto;

}

section{

    padding:100px 0;

}
.navbar{

height:90px;

display:flex;

justify-content:space-between;

align-items:center;

gap:40px;

}

.hero{

padding-top:150px;

min-height:100vh;

display:flex;

align-items:center;

}
.hero-container{

display:grid;

grid-template-columns:1fr 1fr;

gap:70px;

align-items:center;

}
.hero-subtitle{

display:inline-block;

padding:8px 18px;

border-radius:30px;

background:#EAF5FF;

color:var(--primary);

font-weight:600;

margin-bottom:20px;

}
.hero h1{

font-size:62px;

line-height:1.1;

margin-bottom:25px;

color:var(--primary-dark);

}
.hero p{

font-size:19px;

color:var(--gray);

margin-bottom:35px;

}
.hero-features{

display:flex;

flex-direction:column;

gap:18px;

margin-bottom:35px;

}

.hero-features div{

display:flex;

align-items:center;

gap:12px;

font-weight:600;

}

.hero-features i{

color:#12B76A;

}
.btn{

display:inline-flex;

align-items:center;

gap:10px;

padding:18px 36px;

background:linear-gradient(
135deg,
var(--primary),
var(--secondary)
);

border-radius:50px;

color:white;

font-weight:700;

transition:.35s;

box-shadow:

0 15px 35px rgba(0,120,255,.25);

}

.btn:hover{

transform:translateY(-4px);

}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title span{
    display:inline-block;
    background:#EAF5FF;
    color:var(--primary);
    padding:8px 18px;
    border-radius:30px;
    font-weight:600;
    margin-bottom:20px;
}

.section-title h2{
    font-size:42px;
    color:var(--primary-dark);
    margin-bottom:15px;
}

.section-title p{
    max-width:700px;
    margin:auto;
    color:var(--gray);
}
.services{
    background:#F7FBFF;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.service-card{

    background:white;

    border-radius:25px;

    padding:40px;

    box-shadow:var(--shadow);

    transition:.35s;

    border-top:5px solid var(--primary);

}

.service-card:hover{

    transform:translateY(-12px);

    box-shadow:
    0 25px 60px rgba(0,0,0,.12);

}

.service-icon{

    font-size:48px;

    color:var(--primary);

    margin-bottom:25px;

}

.service-card h3{

    margin-bottom:18px;

    color:var(--primary-dark);

}

.service-card p{

    color:var(--gray);

}
.advantages{

    background:white;

}

.advantages-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.advantage-card{

    background:#F8FCFF;

    border-radius:25px;

    padding:35px;

    text-align:center;

    transition:.35s;

    box-shadow:var(--shadow);

}

.advantage-card:hover{

    transform:translateY(-10px);

}

.advantage-card i{

    font-size:45px;

    color:var(--primary);

    margin-bottom:20px;

}

.advantage-card h3{

    margin-bottom:15px;

}

.advantage-card p{

    color:var(--gray);

}
.gallery{

    background:#F7FBFF;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:25px;

}

.gallery-grid img{

    width:100%;

    height:300px;

    object-fit:cover;

    border-radius:25px;

    transition:.4s;

    cursor:pointer;

    box-shadow:var(--shadow);

}

.gallery-grid img:hover{

    transform:scale(1.05);

}
.contacts{

    background:white;

}

.contacts-container{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.contact-card{

    background:#F8FCFF;

    padding:45px;

    border-radius:25px;

    box-shadow:var(--shadow);

}

.contact-card h2{

    margin-bottom:30px;

    color:var(--primary-dark);

}

.contact-item{

    display:flex;

    gap:20px;

    margin-bottom:30px;

}

.contact-item i{

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

.contact-item strong{

    display:block;

    margin-bottom:6px;

}

.contact-item p{

    color:var(--gray);

}

.contact-item a{

    color:var(--primary);

    font-weight:700;

}

.contact-note{

    margin-top:20px;

    background:#EAF5FF;

    padding:20px;

    border-radius:15px;

}

.map img{

    width:100%;

    border-radius:25px;

    box-shadow:var(--shadow);

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

footer{

    background:linear-gradient(135deg,#0A5FC2,#0C88E8);

    color:white;

    padding:60px 0 30px;

}

.footer-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:30px;

    flex-wrap:wrap;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:20px;

}

.footer-logo img{

    width:70px;

    height:70px;

    border-radius:50%;

    background:white;

    padding:5px;

}

.footer-logo h3{

    font-size:24px;

    margin-bottom:5px;

}

.footer-logo span{

    opacity:.8;

}

footer p{

    opacity:.75;

}

/* ===================================
   КНОПКА НАВЕРХ
=================================== */

.top-button{

    position:fixed;

    right:30px;

    bottom:30px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(0,0,0,.18);

    opacity:0;

    pointer-events:none;

    transition:.35s;

    z-index:999;

}

.top-button.active{

    opacity:1;

    pointer-events:auto;

}

.top-button:hover{

    transform:translateY(-6px);

}

/* ===================================
   АНИМАЦИЯ
=================================== */

.hidden{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.show{

    opacity:1;

    transform:translateY(0);

}

/* ===================================
   ЭФФЕКТЫ
=================================== */

.service-card,
.advantage-card,
.gallery img,
.contact-card{

    transition:all .35s ease;

}

.service-card:hover,
.advantage-card:hover{

    transform:translateY(-12px);

}

.gallery img:hover{

    transform:scale(1.04);

}

/* ===================================
   SCROLLBAR
=================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#EDF6FF;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

/* ===================================
   МОБИЛЬНОЕ МЕНЮ
=================================== */

.burger{

    display:none;

    font-size:30px;

    cursor:pointer;

}

/* ===================================
   АДАПТИВ
=================================== */

@media (max-width:1000px){

.hero-container,
.about-container,
.contacts-container{

    grid-template-columns:1fr;

}

.hero{

    text-align:center;

}

.hero-image{

    order:-1;

}

.about-image{

    margin-bottom:30px;

}

.nav-menu{

    display:none;

}

.phone-button{

    display:none;

}

.burger{

    display:block;

}

.section-title h2{

    font-size:34px;

}

.hero h1{

    font-size:46px;

}

}

@media (max-width:768px){

section{

    padding:70px 0;

}

.logo h2{

    font-size:20px;

}

.hero h1{

    font-size:34px;

}

.hero p{

    font-size:17px;

}

.about-list{

    grid-template-columns:1fr;

}

.services-grid{

    grid-template-columns:1fr;

}

.gallery-grid{

    grid-template-columns:1fr;

}

.footer-container{

    flex-direction:column;

    text-align:center;

}

.top-button{

    width:55px;

    height:55px;

    right:20px;

    bottom:20px;

}

.hero-visual {
    min-height: 400px;
    margin-top: 20px;
}

.hero-circle {
    width: 300px;
    height: 300px;
}

.hero-medical-card {
    width: 260px;
    min-height: 290px;
    padding: 30px;
}

.medical-cross {
    width: 85px;
    height: 85px;
    font-size: 42px;
}

.stat-one {
    top: 30px;
    right: 0;
}

.stat-two {
    bottom: 30px;
    left: 0;
}

.about-visual {
    min-height: 400px;
}

.about-main-card {
    width: 290px;
    padding: 30px;
}

.about-small-card {
    right: -5px;
    bottom: 20px;
}

}

@media (max-width:500px){

.hero{

    padding-top:120px;

}

.container{

    width:94%;

}

.hero h1{

    font-size:30px;

}

.section-title h2{

    font-size:28px;

}

.contact-card{

    padding:30px;

}

}
/* ===================================
   ОБОРУДОВАНИЕ
=================================== */

.equipment {
    background: #F7FBFF;
}

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

.equipment-card {
    background: #FFFFFF;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all .35s ease;
}

.equipment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 80, 160, .14);
}

.equipment-image {
    height: 220px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.05);
}

.equipment-content {
    padding: 25px;
}

.equipment-content h3 {
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 12px;
}

.equipment-content p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.6;
}


/* Планшеты */

@media (max-width: 900px) {

    .equipment-grid {

        grid-template-columns: repeat(2, 1fr);

    }

}


/* Телефоны */

@media (max-width: 600px) {

    .equipment-grid {

        grid-template-columns: 1fr;

    }

}

/* ===================================
   НОВЫЙ HERO БЕЗ ФОТОГРАФИИ
=================================== */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 40%, rgba(60,184,255,.18), transparent 35%),
        linear-gradient(135deg, #f7fbff 0%, #eaf6ff 100%);
}

.hero-container {
    min-height: 650px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Большой медицинский круг */

.hero-circle {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            rgba(10,111,214,.12),
            rgba(60,184,255,.28)
        );
    box-shadow:
        inset 0 0 0 35px rgba(255,255,255,.45),
        0 30px 80px rgba(10,111,214,.12);
}

/* Центральная карточка */

.hero-medical-card {
    position: relative;
    z-index: 2;

    width: 330px;
    min-height: 350px;

    padding: 45px 35px;

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

    text-align: center;

    background: rgba(255,255,255,.9);

    border: 1px solid rgba(255,255,255,.9);

    border-radius: 35px;

    box-shadow:
        0 30px 80px rgba(10,80,150,.16);

    backdrop-filter: blur(15px);
}

.medical-cross {
    width: 115px;
    height: 115px;

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

    border-radius: 35px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: white;

    font-size: 58px;

    box-shadow:
        0 20px 40px rgba(10,111,214,.25);

    margin-bottom: 30px;
}

.hero-card-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-card-text strong {
    font-size: 20px;
    color: var(--primary-dark);
}

.hero-card-text span {
    color: var(--gray);
    font-size: 14px;
}

/* Плавающие карточки */

.hero-stat {
    position: absolute;
    z-index: 4;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 15px 20px;

    background: rgba(255,255,255,.95);

    border-radius: 18px;

    box-shadow:
        0 15px 40px rgba(0,70,140,.12);

    color: var(--primary-dark);

    font-weight: 600;

    animation: floatingCard 4s ease-in-out infinite;
}

.hero-stat i {
    color: var(--primary);
    font-size: 22px;
}

.stat-one {
    top: 90px;
    right: 5px;
}

.stat-two {
    bottom: 90px;
    left: 0;
    animation-delay: 1s;
}

@keyframes floatingCard {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

}

/* ===================================
   О КЛИНИКЕ
=================================== */

.about {
    background: #ffffff;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-content {
    max-width: 560px;
}

/* Визуальная панель */

.about-visual {
    width: 100%;
    min-height: 460px;

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

.about-panel {
    position: relative;

    width: 100%;
    max-width: 520px;

    padding: 42px;

    border-radius: 30px;

    background:
        linear-gradient(
            145deg,
            #eaf6ff 0%,
            #ffffff 55%,
            #f3fbff 100%
        );

    border: 1px solid #dceefa;

    box-shadow:
        0 25px 65px rgba(10, 80, 150, 0.12);

    overflow: hidden;
}

.about-panel::before {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    border-radius: 50%;

    background: rgba(60, 184, 255, 0.12);

    top: -100px;
    right: -70px;
}

.about-panel::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    border: 25px solid rgba(10, 111, 214, 0.05);

    bottom: -70px;
    left: -50px;
}

/* Иконка */

.about-panel-icon {
    position: relative;
    z-index: 2;

    width: 82px;
    height: 82px;

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

    margin-bottom: 24px;

    border-radius: 24px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: white;

    font-size: 34px;

    box-shadow:
        0 15px 35px rgba(10, 111, 214, 0.22);
}

/* Заголовок */

.about-panel-title {
    position: relative;
    z-index: 2;

    margin-bottom: 32px;
}

.about-panel-title span {
    display: block;

    color: var(--primary);

    font-size: 14px;

    font-weight: 600;

    margin-bottom: 8px;
}

.about-panel-title h3 {
    color: var(--primary-dark);

    font-size: 30px;

    line-height: 1.2;
}

/* Карточки */

.about-features {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;
}

.about-feature {
    min-height: 145px;

    padding: 20px 14px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid #e4f1fa;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(10, 80, 150, 0.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(10, 80, 150, 0.11);
}

.about-feature i {
    width: 48px;
    height: 48px;

    display: flex;

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

    margin-bottom: 12px;

    border-radius: 14px;

    background: #eaf5ff;

    color: var(--primary);

    font-size: 20px;
}

.about-feature strong {
    display: block;

    color: var(--primary-dark);

    font-size: 14px;

    margin-bottom: 5px;
}

.about-feature span {
    display: block;

    color: var(--gray);

    font-size: 11px;

    line-height: 1.4;
}

/* Текст */

.about-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 17px;
}

.about-list {
    margin-top: 30px;

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 20px;
}

.about-item {
    display: flex;

    align-items: center;

    gap: 12px;

    font-weight: 600;
}

.about-item i {
    color: #18B65B;
}

@media (max-width: 768px) {

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        min-height: auto;
    }

    .about-panel {
        padding: 30px 22px;
    }

    .about-panel-title h3 {
        font-size: 26px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-feature {
        min-height: 90px;

        flex-direction: row;

        justify-content: flex-start;

        text-align: left;

        gap: 15px;

        padding: 15px 18px;
    }

    .about-feature i {
        flex-shrink: 0;

        margin-bottom: 0;
    }

    .about-content {
        max-width: 100%;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-list {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ЛИЦЕНЗИЯ
=================================== */

.license {
    background: #f7fbff;
}

.license-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 35px;
    align-items: center;

    padding: 45px;

    background: #ffffff;

    border: 1px solid #e3f0fa;

    border-radius: 28px;

    box-shadow: var(--shadow);
}

.license-icon {
    width: 100px;
    height: 100px;

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

    border-radius: 25px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: #ffffff;

    font-size: 40px;

    box-shadow:
        0 15px 35px rgba(10, 111, 214, .2);
}

.license-content h2 {
    color: var(--primary-dark);

    font-size: 34px;

    margin-bottom: 15px;
}

.license-content p {
    max-width: 850px;

    color: var(--gray);

    line-height: 1.7;

    margin-bottom: 25px;
}

.license-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 24px;

    border-radius: 14px;

    background: var(--primary);

    color: #ffffff;

    font-weight: 600;

    transition: .3s;
}

.license-button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 10px 25px rgba(10, 111, 214, .2);
}

@media (max-width: 700px) {

    .license-card {
        grid-template-columns: 1fr;

        padding: 30px;

        text-align: center;
    }

    .license-icon {
        margin: 0 auto;
    }

    .license-button {
        justify-content: center;
    }

}

/* ===================================
   ШАПКА САЙТА
=================================== */

.header {
    width: 100%;
    background: #ffffff;

    position: relative;
    z-index: 1000;

    box-shadow: 0 5px 25px rgba(10, 80, 150, 0.06);
}

.header .container {
    width: 100%;
    max-width: 1260px;

    min-height: 94px;

    margin: 0 auto;

    padding: 0 20px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* ===================================
   ЛОГОТИП
=================================== */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    flex-shrink: 0;

    text-decoration: none;
}

.logo img {
    width: 76px;
    height: 76px;

    object-fit: contain;

    flex-shrink: 0;
}

.logo h2 {
    margin: 0;

    max-width: 285px;

    color: var(--primary);

    font-size: 25px;
    line-height: 1.05;
    font-weight: 700;
}

.logo span {
    display: block;

    margin-top: 7px;

    color: #71849a;

    font-size: 13px;
    line-height: 1.2;
}


/* ===================================
   МЕНЮ
=================================== */

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 32px;

    flex: 1;

    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;

    white-space: nowrap;
}

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

    margin: 0;
    padding: 0;

    white-space: nowrap;
}

.nav-menu a {
    display: inline-block;

    color: var(--primary-dark);

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

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

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

.nav-menu a:hover {
    color: var(--primary);

    transform: translateY(-1px);
}


/* ===================================
   КНОПКА ТЕЛЕФОНА
=================================== */

.phone-button {
    width: 155px;
    min-width: 155px;
    height: 58px;

    padding: 0 18px;

    box-sizing: border-box;

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

    gap: 9px;

    flex-shrink: 0;

    border-radius: 30px;

    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary)
    );

    color: #ffffff;

    font-size: 19px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    box-shadow:
        0 10px 30px rgba(10, 111, 214, 0.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.phone-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(10, 111, 214, 0.25);
}

.address-link {
    display: inline-block;

    color: var(--gray);

    text-decoration: none;

    line-height: 1.5;

    transition: color .25s ease;
}

.address-link:hover {
    color: var(--primary);
}

/* ===================================
   ФИНАЛЬНАЯ МОБИЛЬНАЯ АДАПТАЦИЯ
=================================== */

@media (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Общий контейнер */
    .container,
    .header .container {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    /* Шапка */
    .header {
        width: 100%;
    }

    .header .container {
        min-height: 80px;
    }

    .navbar {
        width: 100%;
        height: auto;
        min-height: 80px;
        gap: 10px;
    }

    .logo {
        min-width: 0;
        gap: 8px;
    }

    .logo img {
        width: 52px;
        height: 52px;
    }

    .logo h2 {
        max-width: 150px;
        font-size: 15px;
        line-height: 1.1;
    }

    .logo span {
        font-size: 9px;
        margin-top: 4px;
    }

    /* На телефоне меню скрываем,
       чтобы оно не сжимало сайт */
    .nav-menu {
        display: none;
    }

    .phone-button {
        display: flex;
        width: auto;
        min-width: 0;
        height: 44px;
        padding: 0 12px;
        gap: 6px;
        font-size: 14px;
        flex-shrink: 0;
    }

    /* Главный экран */
    .hero {
        width: 100%;
        min-height: auto;
        padding: 60px 0 50px;
        box-sizing: border-box;
    }

    .hero-container {
        width: 100%;
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: left;
    }

    .hero-subtitle {
        font-size: 12px;
        padding: 7px 12px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.12;
        max-width: 100%;
    }

    .hero p {
        font-size: 14px;
        line-height: 1.6;
        max-width: 100%;
    }

    .hero-features {
        width: 100%;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-visual {
        width: 100%;
        max-width: 100%;
        min-height: 360px;
        margin-top: 0;
    }

    .hero-circle {
        width: 300px;
        height: 300px;
    }

    .hero-medical-card {
        width: 260px;
        min-height: 290px;
        padding: 30px;
    }

    .stat-one {
        top: 20px;
        right: 0;
    }

    .stat-two {
        bottom: 20px;
        left: 0;
    }

    /* О клинике */
    .about-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual,
    .about-content {
        width: 100%;
        max-width: 100%;
    }

    .about-panel {
        width: 100%;
        box-sizing: border-box;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-feature {
        min-height: 80px;
        flex-direction: row;
        text-align: left;
        gap: 15px;
        padding: 15px;
    }

    /* Все сетки на телефоне */
    .services-grid,
    .equipment-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    /* Контакты */
    .contacts-container {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map {
        width: 100%;
        max-width: 100%;
    }

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

    /* Лицензия */
    .license-card {
        width: 100%;
        box-sizing: border-box;
    }

    /* Подвал */
    .footer-container {
        width: 100%;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

}