/* Site header */
.site-header-group {
    position: sticky;
    top: 0;
    z-index: 500;
    isolation: isolate;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.site-header-group.is-scrolled .site-header {
    border-bottom-color: var(--gray-200);
    box-shadow: 0 4px 30px rgba(15, 39, 68, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: 84px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.site-header__lead {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.site-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header__logo {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.site-header__tags {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    margin: 0;
    padding: 0;
    align-content: center;
    align-self: center;
    flex-shrink: 1;
    min-width: 0;
}

.site-header__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-800);
    white-space: nowrap;
}

.site-header__tag-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 7px;
    flex-shrink: 0;
}

.site-header__tag-icon svg {
    display: block;
    width: 16px;
    height: 16px;
}

.site-header__tag-label {
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.site-header__tag-icon--construction {
    color: var(--navy-900);
    background: rgba(15, 39, 68, 0.08);
}

.site-header__tag-icon--insulation {
    color: #0d6e8c;
    background: rgba(13, 110, 140, 0.1);
}

.site-header__tag-icon--paint {
    color: #b45309;
    background: rgba(180, 83, 9, 0.1);
}

.site-header__tag-icon--waterproof {
    color: #1d6fb8;
    background: rgba(29, 111, 184, 0.1);
}

.site-header__nav {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.site-header__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.15rem 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__link {
    display: inline-block;
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-800);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.15s var(--ease-out), background 0.15s var(--ease-out);
}

.site-header__link:hover {
    color: var(--navy-900);
    background: var(--gray-100);
}

.site-header__link.is-active {
    color: var(--navy-900);
    font-weight: 700;
    background: linear-gradient(135deg, rgba(15, 39, 68, 0.08), rgba(59, 130, 196, 0.08));
}

/* Desktop açılır menü */
.site-header__nav-dropdown {
    position: relative;
}

.site-header__nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: none;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.site-header__nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    z-index: 520;
    min-width: 252px;
    max-width: min(340px, 92vw);
    max-height: min(420px, calc(100vh - 100px));
    padding: 0.65rem;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid rgba(15, 39, 68, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 39, 68, 0.14), 0 2px 8px rgba(15, 39, 68, 0.06);
    transform: translateX(-50%);
    -webkit-overflow-scrolling: touch;
}

.site-header__nav-dropdown-panel[hidden] {
    display: none !important;
}

.site-header__nav-dropdown.is-open .site-header__nav-dropdown-panel {
    animation: navDropdownIn 0.18s var(--ease-out);
}

@keyframes navDropdownIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.site-header__dropdown-link {
    display: block;
    padding: 0.62rem 0.9rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--navy-800);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s var(--ease-out), color 0.15s var(--ease-out), transform 0.12s var(--ease-out);
}

.site-header__dropdown-link:hover {
    background: rgba(15, 39, 68, 0.07);
    color: var(--navy-900);
}

.site-header__dropdown-link.is-active {
    background: rgba(59, 130, 196, 0.14);
    color: var(--navy-900);
    font-weight: 600;
}

.site-header__dropdown-link--child {
    padding-left: 1.35rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

.site-header__dropdown-link--child::before {
    content: '—';
    margin-right: 0.35rem;
    opacity: 0.45;
}

.site-header__toolbar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
    border-left: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    min-height: 42px;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border-radius: 999px;
    white-space: nowrap;
    border: 1px solid transparent;
    transition: background 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.site-header__btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    line-height: 0;
}

.site-header__btn-icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.site-header__btn--phone {
    color: var(--navy-900);
    background: var(--white);
    border-color: var(--navy-900);
}

.site-header__btn--phone:hover {
    background: var(--gray-50);
    box-shadow: 0 2px 10px rgba(15, 39, 68, 0.1);
}

.site-header__btn--whatsapp {
    color: var(--white);
    background: #22a050;
    border-color: #1d9348;
}

.site-header__btn--whatsapp:hover {
    background: #1d9348;
    border-color: #18843f;
    box-shadow: 0 4px 14px rgba(34, 160, 80, 0.32);
}

.site-header__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.site-header__toggle:hover {
    background: var(--gray-100);
}

.site-header__toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy-900);
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header-group.is-nav-open .site-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header-group.is-nav-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
}

.site-header-group.is-nav-open .site-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.site-header__nav-head,
.site-header__nav-footer {
    display: none;
}

.site-header__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 39, 68, 0.45);
    z-index: 280;
    border: none;
    padding: 0;
    cursor: pointer;
}

.site-header-group.is-nav-open .site-header__backdrop {
    display: block;
}

body.is-nav-locked {
    overflow: hidden;
}

/* Site footer */
.site-footer {
    margin-top: auto;
    background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 40%, #0a1c30 100%);
    color: rgba(255, 255, 255, 0.92);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 212, 228, 0.25), transparent);
}

.site-footer__main {
    padding: clamp(3rem, 5vw, 4rem) 0 2.75rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 2rem 1.5rem;
    align-items: start;
}

.site-footer__brand {
    max-width: 320px;
}

.site-footer__logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.site-footer__logo {
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.site-footer__name {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
}

.site-footer__desc {
    margin: 0 0 0.85rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.site-footer__brand-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.15rem;
}

.site-footer__brand-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.site-footer__brand-social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.site-social-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.site-footer__whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    background: #25d366;
    border-radius: 8px;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.site-footer__whatsapp-btn:hover {
    background: #1fb855;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.site-footer__title {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__list li {
    margin-bottom: 0.5rem;
}

.site-footer__list a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__list a:hover {
    color: var(--white);
    text-decoration: underline;
}

.site-footer__contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__contact-list li {
    margin-bottom: 0.85rem;
}

.site-footer__contact-list li.site-footer__contact-phone--extra {
    margin-top: -0.45rem;
}

.site-footer__contact-label {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
}

.site-footer__contact-list a,
.site-footer__contact-list span {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer__contact-list a {
    text-decoration: none;
    font-weight: 500;
}

.site-footer__contact-list a:hover {
    color: var(--white);
    text-decoration: underline;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.15rem 0;
    background: rgba(0, 0, 0, 0.15);
}

.site-footer__bottom--light {
    background: #fff;
    border-top-color: var(--gray-200);
}

.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.site-footer__bottom--light .site-footer__bottom-inner {
    justify-content: center;
}

.site-footer__credit {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--gray-600);
    text-align: center;
}

.site-footer__metaofis-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}

.site-footer__metaofis-link:hover {
    opacity: 0.88;
}

.site-footer__metaofis-logo {
    display: block;
    width: auto;
    height: 26px;
    max-width: 110px;
    object-fit: contain;
}

.site-footer__copy {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__social a {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.site-footer__social a:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--white);
}

/* Responsive */
@media (max-width: 1100px) {
    .site-footer__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
        max-width: 480px;
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .site-header__tag {
        font-size: 0.75rem;
    }

    .site-header__tag-icon {
        width: 26px;
        height: 26px;
    }

    .site-header__tag-icon svg {
        width: 14px;
        height: 14px;
    }

    .site-header__lead {
        gap: 1rem;
    }

    .site-header__tags {
        column-gap: 0.55rem;
    }
}

@media (min-width: 1024px) {
    .site-header-group {
        align-items: center;
    }

    .site-header__brand,
    .site-header__tags,
    .site-header__nav,
    .site-header__toolbar {
        align-self: center;
    }

    .site-header__toolbar {
        align-items: center;
    }

    .site-header__actions {
        align-items: center;
        gap: 0.5rem;
    }

    .site-header__nav .site-header__menu--desktop {
        align-items: center;
        justify-content: flex-end;
        min-height: 42px;
    }

    .site-header__nav {
        overflow: visible;
        justify-content: flex-end;
    }

    .site-header__menu--desktop {
        overflow: visible;
    }

    .site-header__nav-dropdown {
        display: list-item;
    }

    .site-header__link {
        display: inline-flex;
        align-items: center;
        min-height: 42px;
        padding-top: 0;
        padding-bottom: 0;
        box-sizing: border-box;
    }

    .site-header__btn-label {
        display: inline;
    }
}

@media (max-width: 1023px) and (min-width: 769px) {
    .site-header__btn-label {
        display: none;
    }

    .site-header__btn {
        width: 42px;
        min-width: 42px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__brand {
        max-width: none;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer__social {
        justify-content: center;
    }
}
