/*
Theme Name: GANG Digital Agency
Theme URI: https://mygang.ru
Author: GANG
Author URI: https://mygang.ru
Description: Custom WordPress theme for GANG Digital Agency - marketing and digital services agency based in Krasnoyarsk
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gang-theme
Tags: custom-logo, custom-menu, featured-images, one-page
*/

/* ===== CSS RESET & ROOT ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&display=swap');

:root {
    --color-primary: #A11425;
    --color-black: #000000;
    --color-dark: #101010;
    --color-dark2: #444444;
    --color-white: #FFFFFF;
    --color-gray: #939393;
    --color-gray-light: #A6A6A6;
    --color-gray-dark: #353535;
    --color-gray-text: #6C6C6C;
    --color-off-white: #EEEEEE;
    --color-bg: #FFFFFF;

    --font-main: 'Montserrat', sans-serif;

    --radius-sm: 10px;
    --radius-md: 20px;
    --radius-lg: 60px;
    --radius-full: 100px;

    --shadow-text: 7px 6px 9.5px rgba(0, 0, 0, 0.25);

    --container-width: 1340px;
    --container-padding: 100px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg);
    color: var(--color-black);
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-weight: 700;
    font-size: 80px;
    line-height: 98px;
    color: var(--color-black);
    text-shadow: var(--shadow-text);
}

@media (max-width: 1024px) {
    .section-title {
        font-size: 56px;
        line-height: 68px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 40px;
        line-height: 49px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 32px;
        line-height: 40px;
    }
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo svg {
    height: 40px;
    width: auto;
}

.site-logo .logo-text {
    font-weight: 900;
    font-size: 28px;
    letter-spacing: 2px;
    color: var(--color-black);
}

.header-actions {
    display: flex;
    align-items: center;
}

/* ─────────────────────────────────────────────────────────
   MENU PILL  —  кнопка разворачивается вправо в навбаре
──────────────────────────────────────────────────────── */
.menu-pill-wrap {
    /* якорная точка — правый конец navbar */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 52px;
}

/* Общий контейнер-пилюля */
.menu-pill {
    display: flex;
    align-items: center;
    height: 52px;
    border: 3px solid #000;
    border-radius: 60px;
    background: #fff;
    overflow: hidden;
    /* закрытое состояние — ширина только кнопки */
    width: 138px;
    transition: width 0.52s cubic-bezier(0.77,0,0.18,1),
                border-color 0.3s,
                box-shadow 0.3s;
}
.menu-pill.open {
    width: 780px;        /* раскрытая ширина */
    box-shadow: 0 6px 32px rgba(0,0,0,0.10);
}

/* Кнопка-гамбургер внутри пилюли */
.pill-toggle {
    flex-shrink: 0;
    width: 132px;   /* 138 минус 3px border с каждой стороны */
    height: 46px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pill-toggle .bar {
    position: absolute;
    height: 3px;
    border-radius: 20px;
    background: #000;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    transform-origin: center;
}
/* 3 линии как в Figma */
.pill-toggle .b1 { width: 72px; }
.pill-toggle .b2 { width: 52px; margin-top: 0; }
.pill-toggle .b3 { width: 20px; }

/* Позиции по вертикали */
.pill-toggle .b1 { top: 10px; }
.pill-toggle .b2 { top: 21px; }
.pill-toggle .b3 { top: 32px; }

/* Открытое состояние → крестик */
.menu-pill.open .pill-toggle .b1 {
    width: 52px;
    top: 21px;
    transform: rotate(45deg);
}
.menu-pill.open .pill-toggle .b2 {
    opacity: 0;
    transform: scaleX(0);
}
.menu-pill.open .pill-toggle .b3 {
    width: 52px;
    top: 21px;
    transform: rotate(-45deg);
}

/* Разделитель */
.pill-divider {
    width: 2px;
    height: 30px;
    background: #e0e0e0;
    flex-shrink: 0;
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s 0.2s;
}
.menu-pill.open .pill-divider { opacity: 1; }

/* Навигационные ссылки внутри пилюли */
.pill-nav {
    display: flex;
    align-items: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.25s 0s;
    padding: 0 8px 0 16px;
    flex: 1;
}
.menu-pill.open .pill-nav {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.3s 0.22s;
}

.pill-nav a {
    text-decoration: none;
    color: var(--color-black);
    font-size: 16px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 40px;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    white-space: nowrap;
}
.pill-nav a:hover {
    background: var(--color-black);
    color: #fff;
}

/* CTA внутри пилюли */
.pill-cta {
    flex-shrink: 0;
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: 40px !important;
    padding: 10px 22px !important;
    font-size: 15px !important;
    margin-left: 4px;
    margin-right: 4px;
    transition: background 0.2s, transform 0.15s !important;
}
.pill-cta:hover {
    background: #8a0f1e !important;
    transform: translateY(-1px) !important;
}

@media (max-width: 768px) {
    .menu-pill.open {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        z-index: 2000;
        flex-direction: column;
        justify-content: center;
        gap: 20px;
    }
    
    .pill-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .pill-nav {
        flex-direction: column;
        gap: 16px;
    }
    
    .pill-nav a {
        font-size: 24px;
        padding: 12px 24px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 56px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 580px;
    padding-top: 120px;
}

.hero-section .container {
    position: relative;
}

.hero-bird-img {
    position: absolute;
    right: 60px;
    top: 10px;
    width: 320px;
    pointer-events: none;
    z-index: 1;
}

.hero-title {
    font-size: clamp(80px, 10vw, 140px);
    font-weight: 900;
    line-height: 0.88;
    letter-spacing: -5px;
    color: #000;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: clamp(28px, 3.5vw, 56px);
    font-weight: 700;
    color: #000;
    margin-top: 2px;
    position: relative;
    z-index: 2;
}

.hero-desc {
    font-size: clamp(16px, 1.6vw, 24px);
    font-weight: 700;
    color: #000;
    max-width: 620px;
    line-height: 1.45;
    margin: 28px 0 40px;
    position: relative;
    z-index: 2;
}

.btn-red {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    border-radius: 20px;
    padding: 20px 50px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
    position: relative;
    z-index: 2;
}

.btn-red:hover {
    background: #8a0f1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(161,20,37,0.3);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 700;
    text-shadow: 7px 6px 9.5px rgba(0,0,0,0.18);
    margin-bottom: 48px;
    color: #000;
}

.section-title.center {
    text-align: center;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0 100px;
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.about-card {
    padding: 40px 44px;
    cursor: default;
    transition: filter 0.3s;
}

.about-card:hover {
    filter: brightness(1.08);
}

.about-card.red {
    background: var(--color-primary);
}

.about-card.dark {
    background: var(--color-black);
}

.about-big {
    font-size: clamp(56px, 7vw, 100px);
    font-weight: 900;
    color: #fff;
    line-height: 1;
}

.about-text {
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    margin-top: 10px;
    line-height: 1.35;
}

/* Carousel nav arrows */
.about-nav {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 40px;
}

.arrow-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--color-gray);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.arrow-circle.active {
    border-color: #000;
}

.arrow-circle:hover {
    background: #f5f5f5;
}

.arrow-circle svg {
    width: 22px;
    height: 22px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 60px 0 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.svc-card {
    border: 4px solid #000;
    border-radius: 20px;
    padding: 28px 28px 32px;
    position: relative;
    min-height: 200px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s, transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.svc-card:hover {
    background: var(--color-black);
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.2);
}

.svc-card:hover .svc-num {
    color: rgba(255,255,255,0.3);
}

.svc-card:hover .svc-name {
    color: #fff;
}

/* Card 00 — red border */
.svc-card.card-00 {
    border-color: var(--color-primary);
    border-width: 6px;
}

.svc-card.card-00 .svc-num {
    color: var(--color-primary);
}

.svc-card.card-00:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.svc-card.card-00:hover .svc-num {
    color: rgba(255,255,255,0.4);
}

.svc-num {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    color: #000;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.svc-name {
    font-size: clamp(20px, 1.8vw, 28px);
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    transition: color 0.3s;
}

.svc-name.red-text {
    color: var(--color-primary);
}

.svc-card.card-00:hover .svc-name {
    color: #fff;
}

.svc-deco {
    position: absolute;
    right: -6px;
    bottom: -6px;
    width: 110px;
    pointer-events: none;
    opacity: 0.9;
}

/* CTA below services */
.services-cta {
    text-align: center;
    margin: 40px 0 60px;
}

.btn-red-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--color-primary);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 700;
    border-radius: 20px;
    padding: 22px 56px;
    text-decoration: none;
    line-height: 1.35;
    transition: background 0.2s, transform 0.18s, box-shadow 0.2s;
}

.btn-red-cta:hover {
    background: #8a0f1e;
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(161,20,37,0.3);
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 40px 0 80px;
}

/* Custom mosaic matching Figma exactly */
.proj-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
    position: relative;
}

.proj-row {
    display: flex;
    gap: 16px;
}

.proj-row-3col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    flex: 1;
}

.pc {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
    flex-shrink: 0;
}

.pc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.82;
    transition: opacity 0.35s, transform 0.45s;
    position: absolute;
    top: 0;
    left: 0;
}

.pc:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.pc-inner {
    position: relative;
    width: 100%;
}

/* Pixel-perfect sizes based on Figma at 1440 canvas, scaled */
/* Row 1 */
.pc-r1-wide {
    flex: 0 0 calc(58.6% - 8px);
    height: 380px;
}

.pc-r1-tall {
    flex: 1;
    height: 380px;
}

/* Row 2 */
.pc-wide-full {
    width: 100%;
    height: 290px;
}

/* Row 3: left tall + mid two stacked */
.pc-r3-left {
    flex: 0 0 calc(58.6% - 8px);
    height: 380px;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proj-mosaic {
        grid-template-columns: 1fr;
    }
    
    .proj-row {
        flex-direction: column;
    }
    
    .pc-r1-wide,
    .pc-r3-left {
        flex: 1;
        width: 100%;
    }
    
    .pc-r1-tall {
        height: 300px;
    }
    
    .pc-r3-left {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .hero-bird-img {
        display: none;
    }
}

/* ===== AWARDS SECTION ===== */
.awards-section {
    padding: 100px 0;
    position: relative;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.award-card {
    background: #FAFAFA;
    border-radius: 20px;
    overflow: hidden;
    min-height: 480px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.award-card-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f9f9f9, #ececec);
}

/* Reuse carousel arrows from About section */

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 100px 0;
    overflow: hidden;
}

.clients-marquee-container {
    position: relative;
    margin-top: 60px;
}

.clients-marquee {
    display: flex;
    gap: 40px;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo-placeholder {
    min-width: 180px;
    height: 80px;
    background: #f0f0f0;
    border-radius: 10px;
    flex-shrink: 0;
}

.decor-bird-on-wire {
    position: absolute;
    bottom: -50px;
    left: 20%;
    width: 500px;
    height: 150px;
    background-image: url('assets/images/bird-on-wire.png');
    /* Placeholder */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

.decor-red-hand {
    position: absolute;
    right: 15%;
    bottom: 20px;
    width: 80px;
    height: 100px;
    background-image: url('assets/images/red-hand.png');
    /* Placeholder */
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 100px 0;
    position: relative;
}

.blog-masonry {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-top: 60px;
}

.blog-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.blog-card-image {
    width: 100%;
    background: #E8E8E8;
}

.blog-card--large {
    height: 600px;
}

.blog-card--large .blog-card-image {
    height: 400px;
}

.blog-card-content {
    padding: 30px;
}

.blog-card-title {
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 15px;
}

.blog-column-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-card--medium {
    height: 350px;
}

.blog-card--medium .blog-card-image {
    height: 250px;
}

.blog-row-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.blog-card--small {
    height: 280px;
}

.blog-card--small .blog-card-image {
    height: 180px;
}

.blog-card--long {
    height: 120px;
    flex-direction: row;
    align-items: center;
    padding-right: 30px;
}

.blog-card--long .blog-card-image {
    width: 120px;
    height: 120px;
}

.blog-card--long .blog-card-title {
    margin-bottom: 0;
    margin-left: 30px;
}

.blog-tag {
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.decor-berries-bottom {
    position: absolute;
    bottom: -50px;
    left: 10%;
    width: 300px;
    height: 200px;
    background-image: url('assets/images/berries-decor.png');
    /* Placeholder */
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 100px 0 50px;
    background: #fff;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-text {
    font-weight: 900;
    font-size: 40px;
}

.footer-col-title {
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 25px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #444;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-phone {
    font-weight: 800;
    font-size: 24px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

@media (max-width: 1024px) {
    .blog-masonry {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {

    .hero-brand-name,
    .hero-brand-sub {
        font-size: 56px;
        line-height: 68px;
    }

    .hero-tagline {
        font-size: 28px;
        line-height: 36px;
    }

    .hero-cta {
        font-size: 28px;
        padding: 16px 36px;
    }

    .hero-bird {
        display: none;
    }
}

@media (max-width: 768px) {

    .hero-brand-name,
    .hero-brand-sub {
        font-size: 40px;
        line-height: 50px;
    }

    .hero-tagline {
        font-size: 22px;
        line-height: 30px;
    }

    .hero-cta {
        font-size: 22px;
        padding: 14px 30px;
    }
}

@media (max-width: 480px) {

    .hero-brand-name,
    .hero-brand-sub {
        font-size: 32px;
        line-height: 40px;
    }

    .hero-tagline {
        font-size: 18px;
        line-height: 26px;
    }

    .hero-cta {
        font-size: 18px;
        padding: 12px 24px;
        width: 100%;
        text-align: center;
    }
}

/* ===== AWARDS SECTION ===== */
.awards-section {
    padding: 100px 0;
    position: relative;
}

.awards-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.award-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 565px;
    background: #f5f5f5;
}

.award-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.award-card:hover img {
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .award-card {
        min-height: 300px;
    }
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 100px 0;
    overflow: hidden;
}

.clients-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.clients-marquee {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.clients-marquee img {
    height: 80px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.clients-marquee img:hover {
    filter: grayscale(0);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients-arrows {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 40px;
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 100px 0;
}

.blog-section .section-title {
    margin-bottom: 60px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.blog-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: #D9D9D9;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-title {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-black);
}

.blog-card-tags {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: var(--color-black);
}

/* Blog grid layout */
.blog-card--1 {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    min-height: 285px;
}

.blog-card--2 {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
    min-height: 356px;
}

.blog-card--3 {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    min-height: 285px;
}

.blog-card--4 {
    grid-column: 4 / 7;
    grid-row: 2 / 3;
    min-height: 285px;
}

.blog-card--5 {
    grid-column: 7 / 13;
    grid-row: 2 / 3;
    min-height: 214px;
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.blog-pagination-dot {
    width: 16px;
    height: 16px;
    border-radius: var(--radius-md);
    background: var(--color-gray-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-pagination-dot.active {
    width: 40px;
    background: var(--color-gray-dark);
}

@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card--1,
    .blog-card--2,
    .blog-card--3,
    .blog-card--4,
    .blog-card--5 {
        grid-column: auto;
        grid-row: auto;
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section-inner {
    position: relative;
    z-index: 1;
}

.cta-floating-icons {
    position: absolute;
    width: 100%;
    height: 300px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.cta-floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.cta-floating-icon:nth-child(1) {
    left: 10%;
    top: 10%;
    animation-delay: 0s;
}

.cta-floating-icon:nth-child(2) {
    left: 80%;
    top: 20%;
    animation-delay: 1s;
}

.cta-floating-icon:nth-child(3) {
    left: 25%;
    top: 80%;
    animation-delay: 2s;
}

.cta-floating-icon:nth-child(4) {
    left: 70%;
    top: 70%;
    animation-delay: 3s;
}

.cta-floating-icon:nth-child(5) {
    left: 50%;
    top: 30%;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.cta-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background: var(--color-primary);
    border-radius: 18px;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: var(--color-white);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.cta-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.cta-main-btn:hover::before {
    left: 100%;
}

.cta-main-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(161, 20, 37, 0.4);
}

@media (max-width: 768px) {
    .cta-main-btn {
        font-size: 24px;
        padding: 14px 30px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 60px 0 40px;
    background: var(--color-white);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.footer-logo svg {
    height: 54px;
    width: auto;
}

.footer-logo .logo-text {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--color-black);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-company-info p {
    font-weight: 400;
    font-size: 17px;
    line-height: 21px;
    color: var(--color-black);
    margin-bottom: 10px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.footer-contact-info a {
    font-size: 17px;
    color: var(--color-dark);
}

.footer-contact-info a:hover {
    color: var(--color-primary);
}

.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-social a {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.footer-social a svg {
    width: 24px;
    height: 24px;
}

.footer-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 2.4px solid var(--color-dark2);
    border-radius: 10px;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: var(--color-dark);
    margin-top: 16px;
    transition: all 0.3s ease;
}

.footer-secondary-btn:hover {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-off-white);
}

.footer-bottom-links {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--color-gray-text);
}

.footer-bottom-links a {
    color: var(--color-gray-text);
}

.footer-bottom-links a:hover {
    color: var(--color-primary);
}

.footer-copyright {
    font-weight: 400;
    font-size: 15.8px;
    line-height: 19px;
    color: var(--color-black);
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-block-image img {
    border-radius: var(--radius-md);
}

.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}