/* --- ОСНОВА --- */
body {
    margin: 0;
	background: linear-gradient(135deg, #f0e4ea, #f7eef3);
    font-family: 'Montserrat', sans-serif;
    color: #222;
    overflow-x: hidden;
    transition: 0.3s;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.title-box {
    background: rgba(255, 255, 255, 0.55);   /* более лёгкая мягкая прозрачность */
    backdrop-filter: blur(6px);             /* красивое стекло */
    -webkit-backdrop-filter: blur(6px);

    padding: 14px 26px;
    border-radius: 14px;

    text-align: center;
    width: fit-content;
    margin: 24px auto;

    font-family: "Montserrat", sans-serif;
    color: #2a2a2a;
    font-weight: 600;
    font-size: 26px;
    letter-spacing: 0.5px;

    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08); /* мягкая тень */
    #border: 1px solid rgba(255, 255, 255, 0.7); /* эффект стеклянного блока */
}

.h2-box {
    font-family: "Montserrat", sans-serif;
    font-size: 36px;
    font-weight: 700;
    text-align: center;

    color: #2b2b2b;
    letter-spacing: 1.2px;

    margin: 45px auto 30px;


}


/* --- АНИМАЦИИ --- */
.fade-in { animation: fadeIn 1.2s ease; }
.pop-in  { animation: popIn 0.9s ease; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes popIn {
    0%   { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* --- ПРОФИЛЬ --- */
.profile-img {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(0,0,0,0.15);
    object-fit: cover;
}

.name {
    
	font-size: 30px;
    font-weight: 700;
    margin-top: 20px;
}

.desc {
    color: #666;
    font-size: 17px;
    margin-bottom: 30px;
}

/* --- КНОПКИ --- */
.links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 0;
    text-decoration: none;
    color: black;
    font-size: 18px;
    border-radius: 12px;
    font-weight: 700;

    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    transition: 0.25s;
}

.icon {
    width: 20px;
    height: 20px;
}


/* --- КАРТОЧКИ УСЛУГ --- */
.cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card {
    background: linear-gradient(
		135deg,
		rgba(238, 238, 238, 0.5),
		rgba(215, 215, 215, 0.5)
	);
    padding: 20px;
    border-radius: 14px;
    display: flex;
	flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.card-list li {
    display: grid;
    grid-template-columns: 1fr 1fr; /* две колонки */
    align-items: center;

    padding: 16px 20px;
    margin-bottom: 14px;

    border-radius: 10px;
    border: 1px solid #d8d8d8;
    background: rgba(255, 255, 255, 0.5);
    
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: #222;
}

.card-content {
    flex: 1;                    /* текст занимает всё доступное пространство */
}

/* слайдеры */
.card-slider {
    position: relative;
    width: 260px;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
}

/* SLIDES */
.fade-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.fade-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-slides img.active {
    opacity: 1;
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #ffffff90;
    border-radius: 50%;
    cursor: pointer;
}

.dots span.active {
    background: #fff;
}

/* ARROWS */
.arrows div {
    position: absolute;
    top: 50%;
    width: 26px;
    height: 26px;
    cursor: pointer;
    opacity: 0.8;
}

.arrows .left {
    left: 5px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    transform: translateY(-50%) rotate(-45deg);
}

.arrows .right {
    right: 5px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.arrows div:hover {
    opacity: 1;
}

/* 3D эффект */
.tilt:hover {
    box-shadow: 0 15px 25px rgba(0,0,0,0.18);
}


footer {
    margin-top: 40px;
    font-size: 14px;
    color: #777;
}