/* 
   Znaiali Design System 
   Based on design_code.json
*/

:root {
    /* Colors */
    --color-primary: #23AD61;
    --color-primary-light: #45C37D;
    --color-primary-dark: #37AA6A;
    --color-primary-darker: #148554;
    --color-blue: #489DC7;
    --color-text-dark: #2F3B5C;
    --color-text-medium: #6A7272;
    --color-text-light: #7C8292;

    --color-bg-light: #F1F1F1;
    --color-border-light: #DBDBDB;
    --color-white: #FFFFFF;

    /* Typography */
    --font-primary: 'PT Sans', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;

    /* Layout */
    --container-width: 1300px;
    --radius-sm: 3px;
    --radius-md: 4px;
    --radius-lg: 5px;

    --transition: 0.2s ease-in-out;
}

/* --- UTILITIES: Spacing --- */
.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-15 {
    margin-bottom: 15px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mb-80 {
    margin-bottom: 80px;
}

.ml-10 {
    margin-left: 10px;
}

.ml-20 {
    margin-left: 20px;
}

.mr-10 {
    margin-right: 10px;
}

.mr-20 {
    margin-right: 20px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

.pb-20 {
    padding-bottom: 20px;
}

.pb-40 {
    padding-bottom: 40px;
}

.p-10 {
    padding: 10px;
}

.p-20 {
    padding: 20px;
}

.p-30 {
    padding: 30px;
}

.p-40 {
    padding: 40px;
}

.p-60 {
    padding: 60px;
}

@media (max-width: 600px) {
    .p-60 {
        padding: 30px 20px;
    }
}

/* --- BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--color-text-dark);
    line-height: 1.625;
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper {
    max-width: 100%;
    overflow-x: hidden;
}

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

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- HEADER --- */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 18px 0;
    position: relative;
    top: 0;
    z-index: 1000;
}

.header__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    flex-direction: column;
}

.header__logo-domain {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--color-primary);
    line-height: 1;
    letter-spacing: -0.5px;
}

.header__logo-title {
    font-size: 0.65rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 2px;
}

.header__nav {
    display: flex;
    gap: 35px;
}

.header__nav-link {
    font-weight: 700;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    position: relative;
    opacity: 0.8;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.header__nav-link:hover {
    color: var(--color-primary);
    opacity: 1;
}

.header__nav-link:hover::after {
    width: 100%;
}

/* Burger Button */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.burger-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-dark);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--color-white);
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px 25px;
}

.mobile-menu.is-active {
    right: 0;
}

.mobile-menu__close {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 50px;
}

.mobile-nav-link {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

/* --- COMPONENTS --- */

/* Cards */
.brand-card {
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    background: #fff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.brand-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(35, 173, 97, 0.12);
}

/* Modified horizontal brand card */
.brand-card--horizontal {
    flex-direction: row;
    text-align: left;
    gap: 15px;
    padding: 20px;
    align-items: center;
}

.brand-logo-wrapper {
    background: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.brand-logo-wrapper--small {
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 5px;
    border-radius: 12px;
}

.brand-card-name {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}

.brand-card-name--small {
    margin: 0;
    font-size: 1rem;
}

/* Grids */
.brand-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.brand-items-grid--limited>*:nth-child(n+9) {
    display: none;
}

/* Sidebar Utilities */
.widget {
    background: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* --- FOOTER --- */
.footer {
    background: var(--color-text-dark);
    color: var(--color-white);
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer__container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 50px;
}

.footer__copyright-domain {
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.footer-link:hover {
    color: var(--color-primary-light);
}

/* Utilities */
.btn-cta {
    background: var(--color-primary);
    color: #fff !important;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

.btn-cta:hover {
    background: var(--color-primary-dark);
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(35, 173, 97, 0.2);
}

.btn-cta--large {
    width: 100%;
    max-width: 400px;
    padding: 18px;
}

.show-all-btn {
    width: 100%;
    padding: 18px;
    background: var(--color-bg-light);
    border: none;
    border-radius: 14px;
    font-weight: 800;
    color: var(--color-text-dark);
    cursor: pointer;
    margin-top: 30px;
    transition: 0.3s;
}

/* --- RESPONSIVE --- */
@media (max-width: 999px) {
    .header__nav {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .footer__container {
        flex-direction: column;
        gap: 40px;
    }
}

/* --- HERO SECTIONS --- */
.hero-main {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-bg-light) 100%);
    padding: 100px 0 60px;
    text-align: center;
}

.hero-main__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    font-weight: 800;
}

.hero-main__desc {
    font-size: 1.25rem;
    opacity: 0.8;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Hero Brand Page Specifics */
.hero-brand {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background: #fff;
    border: 1px solid var(--color-border-light);
    padding: 40px;
    border-radius: 24px;
    margin-top: 20px;
    align-items: center;
}

.hero-brand__logo-wrapper {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-brand__logo-img {
    max-height: 120px;
    max-width: 100%;
    object-fit: contain;
}

.hero-brand__logo-fallback {
    font-size: 5rem;
    font-weight: 900;
    opacity: 0.2;
}

.hero-brand__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 15px;
    text-align: left;
    font-weight: 800;
    line-height: 1.1;
}

.hero-brand__description {
    opacity: 0.7;
    font-size: 1.1rem;
    line-height: 1.6;
}

.hero-brand__links {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    opacity: 0.6;
    flex-wrap: wrap;
    margin-top: 20px;
}

.hero-brand__link {
    text-decoration: underline;
}

/* Hero City */
.hero-city {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: #fff;
    padding: 80px 50px;
    border-radius: 30px;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(35, 173, 97, 0.2);
}

.hero-city__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-city__icon {
    position: absolute;
    right: -40px;
    bottom: -40px;
    font-size: 18rem;
    opacity: 0.07;
    user-select: none;
}

.hero-mini-box {
    padding: 80px 0 40px;
    text-align: center;
}

/* --- BENTO GRID --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.bento-item {
    padding: 50px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-item--primary {
    grid-column: span 2;
    background: var(--color-primary);
    color: #fff;
}

.bento-item--dark {
    background: var(--color-text-dark);
    color: #fff;
    align-items: center;
    text-align: center;
    padding: 40px;
}

.bento-icon-bg {
    position: absolute;
    right: -50px;
    top: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.bento-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
}

/* --- STATS --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card__value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-card__label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    opacity: 0.5;
}

/* --- INFO BLOCKS --- */
.info-section {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--color-border-light);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    padding: 20px;
    background: var(--color-bg-light);
    border-radius: 12px;
}

.info-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.info-card__text {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Service Section Content */
.service-section__header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-section__icon {
    height: 35px;
}

.service-section__seo-text {
    line-height: 1.7;
    opacity: 0.9;
}

.how-to-order-grid {
    display: grid;
    gap: 15px;
}

/* --- PROMO & FAQ --- */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
}

.promo-section__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.promo-card {
    padding: 25px;
    background: #fff;
    border: 1px dashed var(--color-primary);
    border-radius: 20px;
    text-align: center;
}

.promo-card--inline {
    text-align: left;
    border: 1px solid var(--color-border-light);
    border-radius: 16px;
    padding: 20px;
}

.promo-card__name {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.promo-card__desc {
    font-size: 0.85rem;
    opacity: 0.6;
    line-height: 1.4;
    margin-bottom: 15px;
}

.promo-card__btn {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    font-weight: 700;
    cursor: pointer;
}

.promo-card__btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.faq-section__title {
    font-size: 1.5rem;
    font-weight: 700;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--color-border-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.faq-item summary {
    padding: 20px;
    font-weight: 700;
    cursor: pointer;
    user-select: none;
}

.faq-item__content {
    padding: 0 20px 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* --- SEO & MISC --- */
.seo-box {
    padding: 60px;
    background: var(--color-bg-light);
    border-radius: 30px;
    line-height: 1.8;
    opacity: 0.8;
}

.search-wrapper {
    background: var(--color-bg-light);
    padding: 40px;
    border-radius: 30px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.02);
}

.search-input {
    width: 100%;
    padding: 20px 30px;
    border: 1px solid var(--color-border-light);
    border-radius: 20px;
    font-size: 1.1rem;
    outline: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.alphabet-btn {
    padding: 10px 18px;
    background: #fff;
    border-radius: 12px;
    font-weight: 700;
    color: var(--color-text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* --- RESPONSIVE FIXES --- */
@media (max-width: 768px) {

    .info-grid,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item--primary {
        grid-column: span 1;
    }

    .hero-brand {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 20px;
    }

    .hero-brand .brand-logo-wrapper {
        margin: 0 auto 20px;
        width: 150px;
        height: 150px;
    }

    .hero-brand .hero-brand__links {
        justify-content: center;
    }

    .hero-brand__title {
        text-align: center;
    }

    .hero-city,
    .hero-main {
        padding: 50px 30px;
    }
}

@media (max-width: 600px) {
    .brand-items-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .brand-items-grid--nearby {
        grid-template-columns: 1fr;
    }

    .brand-card {
        padding: 20px;
        border-radius: 18px;
    }

    .brand-logo-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 15px;
    }
}

/* --- HOME PAGE SPECIFIC --- */

.bento-title {
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.bento-desc {
    opacity: 0.9;
    max-width: 450px;
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

.bento-badges-wrapper {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.bento-badge-icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 5px;
}

.bento-badge-text {
    font-weight: 700;
}

.bento-business-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.bento-business-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.bento-business-desc {
    opacity: 0.6;
    font-size: 0.95rem;
}

.btn-cta--white {
    width: 100%;
    padding: 15px;
    background: #fff;
    color: var(--color-text-dark) !important;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
}

.section-subtitle {
    opacity: 0.5;
}

.link-primary-underlined {
    color: var(--color-primary);
    font-weight: 700;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 2px;
}

.brand-card-logo-wrapper--home {
    width: 90px;
    height: 90px;
}

.brand-card-logo-img--home {
    max-height: 50px;
}

.brand-card-name--home {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.brand-card-action--home {
    font-size: 0.85rem;
    opacity: 0.4;
}

.cities-section {
    background: var(--color-bg-light);
    border-radius: 30px;
}

.cities-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.city-pill {
    padding: 14px 24px;
    background: #fff;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.city-pill--primary {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}