/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-primary);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: var(--space-md);
}

.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    height: 40px;
    width: auto;
}

.header__logo-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.header__logo-text span {
    color: var(--color-accent);
}

.header__nav {
    display: none;
    flex: 1;
}

@media (min-width: 960px) {
    .header__nav {
        display: flex;
        align-items: center;
        gap: var(--space-md);
    }
}

.header__nav a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: var(--fs-small);
    font-weight: 500;
    padding: 0.3rem 0;
    transition: color var(--transition);
    white-space: nowrap;
}

.header__nav a:hover,
.header__nav a.active {
    color: var(--color-white);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.header__phone {
    display: none;
    color: var(--color-white);
    font-weight: 600;
    font-size: var(--fs-small);
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .header__phone {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }
}

.header__phone:hover {
    color: var(--color-accent);
}

.header__lang {
    display: flex;
    gap: 2px;
}

.header__lang a {
    padding: 0.25rem 0.5rem;
    font-size: var(--fs-xs);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
}

.header__lang a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.header__lang a.active {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.12);
}

.header__cta {
    display: none;
}

@media (min-width: 960px) {
    .header__cta {
        display: inline-flex;
    }
}

/* ── Mobile Menu Toggle ── */
.burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    border: none;
    background: none;
}

@media (min-width: 960px) {
    .burger {
        display: none;
    }
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition);
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile Nav ── */
.mobile-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-primary-dark);
    z-index: 999;
    padding: var(--space-lg);
    overflow-y: auto;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: var(--space-sm) 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.mobile-nav a:hover,
.mobile-nav a.active {
    color: var(--color-white);
}

.mobile-nav__phone {
    margin-top: var(--space-lg);
    display: block;
    text-align: center;
}

.mobile-nav__cta {
    display: block;
    text-align: center;
    margin-top: var(--space-sm);
}

/* ── Hero ── */
.hero {
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(249, 114, 32, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero__badge {
    margin-bottom: var(--space-md);
}

.hero h1 {
    font-size: var(--fs-hero);
    color: var(--color-white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.hero__subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-lg);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

/* ── Page Header (inner pages) ── */
.page-header {
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: var(--space-xl);
    background: var(--color-primary);
    color: var(--color-white);
}

.page-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-xs);
}

.page-header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
    font-size: var(--fs-small);
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a:hover {
    color: var(--color-white);
}

.breadcrumbs span {
    margin: 0 0.4rem;
}

/* ── Footer ── */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.5);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer__brand {
    max-width: 320px;
}

.footer__brand-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer__brand-name span {
    color: var(--color-accent);
}

.footer h4 {
    color: var(--color-white);
    font-size: var(--fs-body);
    margin-bottom: var(--space-sm);
}

.footer ul li {
    margin-bottom: 0.4rem;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--fs-small);
    text-decoration: none;
}

.footer ul li a:hover {
    color: var(--color-white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-md);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-sm);
    font-size: var(--fs-small);
}

/* ── Mobile CTA Float ── */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: var(--space-md);
    right: var(--space-md);
    z-index: 900;
}

@media (max-width: 767px) {
    .mobile-cta {
        display: block;
    }
}

.mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 1.5rem;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
    transition: transform var(--transition);
}

.mobile-cta a:hover {
    transform: scale(1.1);
    color: var(--color-white);
}

/* ── CTA Section ── */
.cta-section {
    padding: var(--space-xl) 0;
    background: var(--color-accent);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.cta-section .btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-section .btn--outline:hover {
    border-color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

/* ── Content Offset (for fixed header) ── */
main {
    /* Handled by hero/page-header padding-top */
}