/* ============================================
   CSS VARIABLES & RESET
   ============================================ */
:root {
    --primary:       #e8880c;
    --primary-dark:  #c97008;
    --primary-light: #f5a623;
    --dark:          #2d2d2d;
    --dark-2:        #444;
    --text:          #555;
    --light-bg:      #f7f7f7;
    --white:         #fff;
    --border:        #e0e0e0;
    --shadow:        0 2px 15px rgba(0,0,0,0.09);
    --shadow-hover:  0 6px 28px rgba(0,0,0,0.15);
    --transition:    all 0.3s ease;
    --font:          'Roboto', sans-serif;
    --container:     1200px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.75;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

img {
    max-width: 100%;
    height: auto;
    display: block;
    background: #ddd;
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.section      { padding: 80px 0; }
.section-light { background: var(--light-bg); }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    line-height: 1.3;
    font-weight: 700;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-title {
    font-size: 2.1rem;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 0.5rem;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 55px; height: 3px;
    background: var(--primary);
}
.section-subtitle {
    text-align: center;
    color: var(--text);
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}
.btn-primary  { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-dark     { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn-dark:hover { background: var(--primary); border-color: var(--primary); }

.btn-outline-primary { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--dark);
    color: var(--white);
    padding: 9px 0;
    font-size: 0.84rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-contacts {
    display: flex;
    gap: 24px;
    align-items: center;
}
.top-bar-contacts a {
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 7px;
}
.top-bar-contacts a:hover { color: var(--primary); }
.top-bar-contacts svg {
    width: 14px; height: 14px;
    fill: var(--primary);
    flex-shrink: 0;
}
.top-bar-social { display: flex; gap: 12px; align-items: center; }
.top-bar-social a {
    color: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    transition: var(--transition);
}
.top-bar-social a:hover { color: var(--primary); }
.top-bar-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ============================================
   LOGO BAR
   ============================================ */
.logo-bar {
    background: var(--white);
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}
.logo-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-bar img {
    height: 72px;
    width: auto;
    background: transparent;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 3px 20px rgba(0,0,0,0.35); }

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}
.nav-menu { display: flex; align-items: center; }
.nav-menu li a {
    display: block;
    color: rgba(255,255,255,0.88);
    padding: 17px 16px;
    font-size: 0.87rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}
.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-menu li a:hover,
.nav-menu li a.active { color: var(--primary); }
.nav-menu li a:hover::after,
.nav-menu li a.active::after { width: 100%; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    right: 20px;
    padding: 8px;
    background: none;
    border: none;
}
.hamburger span {
    width: 25px; height: 2px;
    background: var(--white);
    transition: var(--transition);
    display: block;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO BANNER
   ============================================ */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.58), rgba(0,0,0,0.58)),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
}
.hero-content { max-width: 680px; }
.hero-content h1 {
    font-size: 2.9rem;
    color: var(--white);
    margin-bottom: 1.2rem;
    line-height: 1.2;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2rem;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar { background: var(--primary); padding: 42px 0; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}
.stat-item h3 {
    font-size: 2.6rem;
    color: var(--white);
    font-weight: 800;
    margin-bottom: 4px;
}
.stat-item p { color: rgba(255,255,255,0.88); font-size: 0.92rem; margin: 0; }

/* ============================================
   ABOUT SECTION (Homepage)
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content h2 {
    font-size: 1.95rem;
    margin-bottom: 1.4rem;
    padding-bottom: 14px;
    position: relative;
}
.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 55px; height: 3px;
    background: var(--primary);
}
.about-image { position: relative; }
.about-image img {
    width: 100%; height: 440px;
    object-fit: cover;
    border-radius: 4px;
}
.about-image::before {
    content: '';
    position: absolute;
    top: -14px; left: -14px;
    right: 14px; bottom: 14px;
    border: 3px solid var(--primary);
    border-radius: 4px;
    z-index: -1;
}

/* ============================================
   SERVICES CARDS (Homepage)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-card-image { height: 195px; overflow: hidden; }
.service-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.service-card:hover .service-card-image img { transform: scale(1.06); }
.service-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.service-card-body h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 8px; }
.service-card-body p  { font-size: 0.88rem; flex: 1; }
.service-card-body .btn {
    margin-top: 14px;
    align-self: flex-start;
    padding: 8px 18px;
    font-size: 0.83rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #1f1f1f 0%, var(--dark) 100%);
    padding: 85px 0;
    text-align: center;
    color: var(--white);
}
.cta-section h2 { color: var(--white); font-size: 2.1rem; margin-bottom: 0.8rem; }
.cta-section h2 span { color: var(--primary); }
.cta-section p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 2rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer { background: #1c1c1c; color: rgba(255,255,255,0.75); padding: 60px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo img {
    height: 54px;
    margin-bottom: 14px;
    filter: brightness(0) invert(1);
    background: transparent;
}
.footer-logo p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.09);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 17px; height: 17px; fill: var(--white); }

.footer-nav h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.08rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}
.footer-nav ul li { margin-bottom: 8px; }
.footer-nav ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-nav ul li a::before { content: '›'; color: var(--primary); font-size: 1.2rem; }
.footer-nav ul li a:hover { color: var(--primary); padding-left: 4px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
}
.footer-contact-item svg {
    width: 16px; height: 16px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
    text-align: center;
    padding: 18px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)),
                url('../images/page-hero-bg.jpg') center/cover no-repeat;
    padding: 75px 0;
    text-align: center;
    color: var(--white);
}
.page-hero h1 { font-size: 2.4rem; color: var(--white); margin-bottom: 12px; }
.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* Breadcrumb bar – below hero on inner pages */
.breadcrumb-bar {
    background: var(--white);
    padding: 18px 0;
}
.breadcrumb-bar .breadcrumb {
    justify-content: flex-start;
    margin: 0;
    font-size: 0.85rem;
    color: #999;
    gap: 6px;
}
.breadcrumb-bar .breadcrumb a {
    color: #666;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-bar .breadcrumb a:hover { color: var(--primary); }
.breadcrumb-bar .breadcrumb span:last-child {
    color: var(--primary);
    font-weight: 600;
}
.breadcrumb-bar .breadcrumb span:not(:last-child) {
    color: #bbb;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-detail-image img {
    width: 100%; height: 400px;
    object-fit: cover; border-radius: 4px;
}
.about-detail-content h2 {
    font-size: 1.85rem;
    margin-bottom: 1.2rem;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.team-card-image { height: 230px; overflow: hidden; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card-info { padding: 18px 15px; }
.team-card-info h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 5px; }
.team-card-info span { color: var(--primary); font-size: 0.88rem; font-weight: 500; }

/* Certificates */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cert-item {
    background: var(--white);
    padding: 22px 16px;
    border-radius: 5px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.cert-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.cert-item img { width: 100%; height: 170px; object-fit: contain; margin-bottom: 12px; }
.cert-item h4 { font-size: 0.9rem; color: var(--dark); }

/* ============================================
   SERVICES PAGE (Detail)
   ============================================ */
.service-detail {
    padding: 70px 0;
    border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-detail-image img {
    width: 100%; height: 370px;
    object-fit: cover; border-radius: 4px;
}
.service-detail-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
}
.service-list { margin: 1rem 0 1.5rem; }
.service-list li {
    padding: 5px 0 5px 22px;
    position: relative;
    font-size: 0.93rem;
}
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ============================================
   ACCOUNTING PAGE
   ============================================ */
.accounting-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}
.accounting-intro img { width: 100%; height: 360px; object-fit: cover; border-radius: 4px; }
.accounting-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.accounting-card {
    background: var(--white);
    border-radius: 5px;
    padding: 32px 22px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.accounting-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--primary);
}
.acc-icon {
    width: 64px; height: 64px;
    background: rgba(232,136,12,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.acc-icon svg { width: 30px; height: 30px; fill: var(--primary); }
.accounting-card h3 { font-size: 1.08rem; color: var(--dark); margin-bottom: 10px; }
.accounting-card p  { font-size: 0.88rem; }

/* ============================================
   USEFUL PAGE (Полезно)
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.article-card {
    background: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.article-card-image { height: 200px; overflow: hidden; }
.article-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.article-card:hover .article-card-image img { transform: scale(1.06); }
.article-card-body { padding: 20px; }
.article-tag {
    display: inline-block;
    background: rgba(232,136,12,0.12);
    color: var(--primary);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.article-card-body h3 { font-size: 1.03rem; color: var(--dark); margin-bottom: 8px; }
.article-card-body p  { font-size: 0.87rem; margin-bottom: 14px; }
.article-meta { font-size: 0.8rem; color: #999; margin-bottom: 0; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.97rem;
    color: var(--dark);
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font);
}
.faq-question:hover  { background: var(--light-bg); }
.faq-question.active { background: var(--primary); color: var(--white); }
.faq-icon {
    width: 24px; height: 24px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; line-height: 1;
    flex-shrink: 0;
    transition: var(--transition);
    font-style: normal;
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    background: var(--white);
}
.faq-answer.open { max-height: 350px; padding: 18px 22px; }
.faq-answer p { color: var(--text); margin: 0; font-size: 0.93rem; }

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 8px 20px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 25px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text);
    font-family: var(--font);
}
.filter-btn:hover,
.filter-btn.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { background: rgba(232,136,12,0.48); }
.gallery-overlay svg {
    width: 42px; height: 42px;
    fill: var(--white);
    opacity: 0;
    transform: scale(0.6);
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay svg { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.93);
    z-index: 9999;
    align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-inner { position: relative; }
.lightbox-inner img {
    max-width: 90vw; max-height: 85vh;
    object-fit: contain; border-radius: 3px;
    background: transparent;
}
.lb-close {
    position: absolute;
    top: -42px; right: 0;
    background: none; border: none;
    color: var(--white); font-size: 2.2rem;
    cursor: pointer; line-height: 1;
}
.lb-prev, .lb-next {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.14);
    border: none; color: var(--white);
    width: 46px; height: 46px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.lb-prev { left: -62px; }
.lb-next { right: -62px; }
.lb-prev:hover, .lb-next:hover { background: var(--primary); }

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}
.contact-form h3,
.contact-info h3 {
    font-size: 1.45rem;
    color: var(--dark);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--primary);
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--dark);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 3px;
    font-family: var(--font);
    font-size: 0.93rem;
    color: var(--dark);
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(232,136,12,0.14);
}
.form-group textarea { resize: vertical; min-height: 135px; }

.contact-info-item {
    display: flex; align-items: flex-start;
    gap: 14px; margin-bottom: 22px;
}
.ci-icon {
    width: 48px; height: 48px;
    background: rgba(232,136,12,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.ci-icon svg { width: 22px; height: 22px; fill: var(--primary); }
.ci-text h4 { font-size: 0.93rem; color: var(--dark); margin-bottom: 2px; }
.ci-text a, .ci-text p { color: var(--text); font-size: 0.9rem; margin: 0; }
.ci-text a:hover { color: var(--primary); }

.map-wrap { margin-top: 55px; }
.map-wrap iframe { width: 100%; height: 400px; border: none; border-radius: 5px; }

/* ============================================
   FORM SUCCESS
   ============================================ */
.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 14px 18px;
    border-radius: 4px;
    margin-top: 10px;
    font-weight: 600;
    font-size: 0.92rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid       { grid-template-columns: repeat(2, 1fr); }
    .team-grid           { grid-template-columns: repeat(2, 1fr); }
    .certs-grid          { grid-template-columns: repeat(2, 1fr); }
    .accounting-grid     { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid        { grid-template-columns: repeat(2, 1fr); }
    .stats-grid          { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .about-grid,
    .about-detail-grid,
    .service-detail-grid,
    .contact-grid,
    .accounting-intro    { grid-template-columns: 1fr; gap: 35px; }
    .service-detail-grid.reverse { direction: ltr; }
    .footer-grid         { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    h2, .section-title  { font-size: 1.65rem; }
    .hero-content h1    { font-size: 1.9rem; }
    .page-hero h1       { font-size: 1.75rem; }
    .section            { padding: 55px 0; }

    .hamburger { display: flex; }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: #1a1a1a;
        padding: 8px 0;
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }
    .nav-menu.open    { display: flex; }
    .nav-menu li a    { padding: 13px 22px; font-size: 0.85rem; }
    .nav-menu li a::after { display: none; }
    .nav-container    { justify-content: flex-start; }

    .top-bar .container   { flex-direction: column; gap: 7px; }
    .top-bar-contacts     { flex-direction: column; gap: 4px; }
    .hero                 { min-height: 420px; }
    .hero-buttons         { flex-direction: column; align-items: flex-start; }
    .articles-grid,
    .gallery-grid         { grid-template-columns: 1fr; }
    .footer-grid          { grid-template-columns: 1fr; gap: 28px; }
    .lb-prev              { left: -12px; }
    .lb-next              { right: -12px; }
}

@media (max-width: 480px) {
    .services-grid,
    .team-grid,
    .accounting-grid  { grid-template-columns: 1fr; }
    .hero-content h1  { font-size: 1.55rem; }
    .btn              { padding: 11px 22px; }
    .stats-grid       { grid-template-columns: repeat(2, 1fr); }
}
