/* ==========================================================================
   III Prywatne LO — v2 Redesign (Visily Mockup)
   Clean academic design: serif headings, white/navy/cream
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
    --navy:        #1B2A4A;
    --navy-light:  #2C3E6B;
    --navy-dark:   #0F1A2E;
    --cream:       #FAF8F5;
    --cream-dark:  #F0EDE8;
    --beige:       #E8E2DA;
    --white:       #FFFFFF;
    --gray:        #6B7280;
    --gray-light:  #9CA3AF;
    --gray-dark:   #374151;
    --text:        #2D2D2D;
    --text-light:  #555555;
    --accent:      #C9A96E;
    --accent-dark: #B08F52;
    --font-heading:'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:   'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w:       1200px;
    --radius:      8px;
    --shadow:      0 2px 20px rgba(0,0,0,0.06);
    --shadow-lg:   0 8px 40px rgba(0,0,0,0.1);
    --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 120px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
ul { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */

.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 0;
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar__left {
    display: flex;
    gap: 24px;
    align-items: center;
}
.topbar__left span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.topbar__left svg { width: 14px; height: 14px; }
.topbar__right {
    display: flex;
    gap: 12px;
}
.topbar__right a {
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}
.topbar__right a:hover { color: #fff; }
.topbar__right svg { width: 16px; height: 16px; }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.nav {
    background: var(--white);
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s var(--ease);
}
.nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav__logo {
    width: 44px; height: 44px;
    background: var(--navy);
    color: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
}
.nav__brand-text {
    display: flex;
    flex-direction: column;
}
.nav__brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy);
    line-height: 1.2;
}
.nav__brand-sub {
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 0.02em;
}

.nav__links {
    display: flex;
    gap: 0;
    align-items: center;
}
.nav__links a {
    padding: 8px 16px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: all 0.25s var(--ease);
}
.nav__links a:hover,
.nav__links a.active {
    color: var(--navy);
    background: var(--cream);
}

.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px; height: 44px;
    color: var(--navy);
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle-close { display: none; }
.nav__toggle.open .nav__toggle-icon { display: none; }
.nav__toggle.open .nav__toggle-close { display: block; }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--white);
    z-index: 999;
    padding-top: 120px;
    overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu__inner { padding: 24px; }
.mobile-menu__link {
    display: block;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius);
    transition: background 0.25s;
}
.mobile-menu__link:hover,
.mobile-menu__link.active {
    background: var(--cream);
    color: var(--navy);
}

/* ==========================================================================
   HERO — Clean academic with archway image
   ========================================================================== */

.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: var(--navy-dark);
    color: var(--white);
    overflow: hidden;
}
.hero__bg-image {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1564475228765-f0c3db47e7b4?w=1600&q=80') center/cover no-repeat;
    opacity: 0.25;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,26,46,0.85), rgba(27,42,74,0.7));
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 100px 0 80px;
}
.hero__pretitle {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
}
.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.92rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }

.btn--primary {
    background: var(--navy);
    color: var(--white);
}
.btn--primary:hover {
    background: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27,42,74,0.3);
}

.btn--accent {
    background: var(--accent);
    color: var(--white);
}
.btn--accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

.btn--outline-dark {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--beige);
}
.btn--outline-dark:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--navy { background: var(--navy-dark); color: var(--white); }

.section__header {
    text-align: center;
    margin-bottom: 64px;
}
.section__pretitle {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}
.section__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}
.section--navy .section__title { color: var(--white); }

.section__subtitle {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.75;
}
.section--navy .section__subtitle { color: rgba(255,255,255,0.55); }

/* ==========================================================================
   ABOUT — Two column with image
   ========================================================================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about--reverse { direction: rtl; }
.about--reverse > * { direction: ltr; }

.about__image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cream-dark);
}
.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--beige) 100%);
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.4;
}

.about__content {}
.about__content .section__pretitle { text-align: left; }
.about__content .section__title { text-align: left; margin-bottom: 24px; }
.about__text {
    font-size: 1.02rem;
    color: var(--text-light);
    line-height: 1.85;
}
.about__text p { margin-bottom: 18px; }
.about__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--navy);
    margin-top: 12px;
    transition: gap 0.3s;
}
.about__link:hover { gap: 14px; color: var(--accent); }
.about__link svg { width: 18px; height: 18px; }

/* ==========================================================================
   HIGHLIGHTS / OFFER CARDS
   ========================================================================== */

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

.offer-card {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 32px;
    transition: all 0.35s var(--ease);
}
.offer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.offer-card__icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s;
}
.offer-card:hover .offer-card__icon { background: rgba(201,169,110,0.15); }
.offer-card__icon svg { width: 22px; height: 22px; color: var(--navy); }
.offer-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.3;
}
.offer-card__desc {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
}

/* ==========================================================================
   CTA BANNER — Full width navy
   ========================================================================== */

.cta-banner {
    background: var(--navy-dark);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}
.cta-banner__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.cta-banner__text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   NEWS CARDS
   ========================================================================== */

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

.news-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.35s var(--ease);
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-card__image {
    height: 220px;
    background: linear-gradient(135deg, var(--cream-dark), var(--beige));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__image svg { width: 48px; height: 48px; color: var(--accent); opacity: 0.3; }

.news-card__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.news-card__date {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    margin-bottom: 10px;
}
.news-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
    line-height: 1.35;
}
.news-card__excerpt {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.65;
    flex: 1;
}
.news-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    transition: gap 0.3s;
}
.news-card:hover .news-card__link { gap: 12px; color: var(--accent); }
a.news-card { color: inherit; text-decoration: none; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */

.steps-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.step-item {}
.step-item__number {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
}
.step-item__title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
}
.step-item__desc {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.contact-info {}
.contact-info__item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
    align-items: flex-start;
}
.contact-info__icon {
    width: 48px; height: 48px;
    min-width: 48px;
    background: var(--cream);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-info__icon svg { width: 20px; height: 20px; color: var(--navy); }
.contact-info__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-light);
}
.contact-info__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 2px;
}

.contact-form {
    background: var(--cream);
    border-radius: 16px;
    padding: 40px;
}
.contact-form__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}
.contact-form__subtitle {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 28px;
}
.contact-form__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.form-group {}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--beige);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.25s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--navy);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ==========================================================================
   MAP
   ========================================================================== */

.map-section { padding: 0; }
.map-section iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

/* ==========================================================================
   PAGE HERO (subpages)
   ========================================================================== */

.page-hero {
    padding: 100px 0 60px;
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
}
.page-hero__inner {
    max-width: 700px;
    margin: 0 auto;
}
.page-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
}
.page-hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ==========================================================================
   CONTENT BLOCKS
   ========================================================================== */

.content-block {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.85;
    max-width: 800px;
}
.content-block p { margin-bottom: 20px; }
.content-block strong { color: var(--navy); font-weight: 600; }
.content-block.centered { margin: 0 auto; text-align: center; }

/* ==========================================================================
   FEATURES LIST (for oferta page)
   ========================================================================== */

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

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

.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.6);
    padding: 72px 0 32px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer__logo-mark {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    color: var(--white);
}
.footer__logo-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
}
.footer__desc {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.footer__social {
    display: flex;
    gap: 10px;
}
.footer__social a {
    width: 38px; height: 38px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.footer__social a:hover { background: var(--accent); color: var(--navy-dark); }
.footer__social svg { width: 16px; height: 16px; }

.footer__title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
    font-size: 0.88rem;
    transition: color 0.25s;
}
.footer__links a:hover { color: var(--accent); }

.footer__contact-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.86rem;
    align-items: flex-start;
}
.footer__contact-row svg {
    width: 16px; height: 16px;
    color: var(--accent);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer__bottom {
    padding-top: 24px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    text-align: center;
}

/* ==========================================================================
   PAGE HERO — Split variant (text + image)
   ========================================================================== */

.page-hero--tall {
    padding: 80px 0 60px;
}
.page-hero__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.page-hero__text {}
.page-hero__pretitle {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.page-hero__image {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}
.page-hero__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    font-size: 4rem;
    border-radius: 16px;
}

/* ==========================================================================
   VALUES GRID (dark bg)
   ========================================================================== */

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-item {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.35s var(--ease);
}
.value-item:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-4px);
}
.value-item__icon {
    width: 48px; height: 48px;
    margin: 0 auto 16px;
    background: rgba(201,169,110,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.value-item__icon svg { width: 22px; height: 22px; color: var(--accent); }
.value-item__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}
.value-item__desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ==========================================================================
   STATS ROW
   ========================================================================== */

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-box {
    background: var(--cream);
    border-radius: 16px;
    padding: 32px 20px;
}
.stat-box--dark {
    background: rgba(255,255,255,0.06);
}
.stat-box__number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-box--dark .stat-box__number { color: var(--accent); }
.stat-box__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.stat-box--dark .stat-box__label { color: rgba(255,255,255,0.5); }

.stats-row--dark {
    display: flex;
    justify-content: center;
    gap: 32px;
}

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

.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 20px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .about { grid-template-columns: 1fr; gap: 48px; }
    .about--reverse { direction: ltr; }
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .features-list { grid-template-columns: repeat(2, 1fr); }
    .steps-row { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .hero__content { max-width: 100%; }
    .page-hero__split { grid-template-columns: 1fr; gap: 32px; }
    .page-hero__image { max-height: 300px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .topbar { display: none; }

    .nav__links { display: none; }
    .nav__toggle { display: flex; align-items: center; justify-content: center; }

    .hero { min-height: 500px; }
    .hero__content { padding: 60px 0; }
    .hero__title { font-size: 2rem; }
    .hero__subtitle { font-size: 0.95rem; }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }

    .section { padding: 64px 0; }
    .section__header { margin-bottom: 40px; }

    .cards-grid { grid-template-columns: 1fr; }
    .features-list { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .steps-row { grid-template-columns: 1fr 1fr; gap: 24px; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .contact-form { padding: 28px; }

    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { text-align: center; }

    .page-hero { padding: 80px 0 48px; }
    .page-hero--tall { padding: 60px 0 40px; }
    .page-hero__split { grid-template-columns: 1fr; }
    .page-hero__image { display: none; }
    .values-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stats-row--dark { flex-wrap: wrap; }
    .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__title { font-size: 1.7rem; }
    .steps-row { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
}
