/* Base styles and variables */
:root {
    --primary-color: #0a3b7c;
    --secondary-color: #1350a1;
    --accent-color: #1a68d1;
    --light-color: #f5f7fb;
    --text-color: #212529;
    --border-radius: 8px;
    --transition: 0.3s ease;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

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

.header__branding {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

.header__nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav__link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color var(--transition);
}

.nav__link:hover {
    color: var(--accent-color);
}

/* Hero section */
.hero {
    background: url("../images/hero-grandpa.jpg") no-repeat center/cover !important;
    color: #fff;
    padding: 4rem 0 6rem;
}

.hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero__subtitle {
    font-size: 1rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: #2b78e4;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: background-color var(--transition);
}

.btn:hover {
    background-color: #1d5fbf;
}

/* Visa categories */
.visas {
    padding: 4rem 0;
}

.section__title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.card {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.card__title {
    font-size: 1.25rem;
    margin: 1rem;
    color: var(--primary-color);
}

.card__text {
    font-size: 0.95rem;
    margin: 0 1rem 1.5rem;
    color: #555;
}

/* Steps grid — 3 in row */
.steps__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.step {
    text-align: center;
}

.step__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer */
.footer {
    background-color: #f0f3f8;
    padding: 2rem 0;
    font-size: 0.875rem;
    color: #555;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

/* Gallery — 3 images in row */
.gallery {
    padding: 40px 0;
}

.gallery__inner {
    max-width: 1200px;
    margin: 0 auto;
}

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

.gallery__item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* === КАРТОЧКИ УСЛУГ НА VIZI.KZ === */

.service-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.service-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 5px;
}

.service-card__list {
    list-style: none;
    font-size: 0.95rem;
    color: #444;
    padding-left: 0;
    margin: 0;
}

.service-card__list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
}

/* Зелёная галочка перед пунктами, как в примере */
.service-card__list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: #23a455;
    font-size: 0.9rem;
}
