@font-face {
    font-family: "Avenir Next Georgian Regular";
    src:
            url("https://12roundsschool.ge/AvenirNextGeorgian-Regular.woff2") format("woff2"),
            url("https://12roundsschool.ge/AvenirNextGeorgian-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Avenir Next Georgian Medium";
    src:
            url("https://12roundsschool.ge/AvenirNextGeorgian-Medium.woff2") format("woff2"),
            url("https://12roundsschool.ge/AvenirNextGeorgian-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Avenir Next Georgian Bold";
    src: url("https://12roundsschool.ge/BebasNeue-Bold.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    -webkit-font-feature-settings: "case" on;
    font-feature-settings: "case" on;
}
:root {
    --bg: #f7f2ec;
    --bg2: #ffffff;
    --text: #151111;
    --muted: rgba(21, 17, 17, 0.66);
    --soft: rgba(21, 17, 17, 0.42);
    --line: rgba(21, 17, 17, 0.12);
    --card: rgba(255, 255, 255, 0.72);
    --card2: rgba(255, 255, 255, 0.94);
    --red: #d71920;
    --red2: #ff312b;
    --red3: #8e0005;
    --cream: #fff8ef;
    --gold: #c9923e;
    --green: #18a957;
    --glass: rgba(255, 255, 255, 0.78);
    --shadow: 0 30px 110px rgba(160, 24, 24, 0.15);
    --radius: 28px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: "Avenir Next Georgian Regular", system-ui, sans-serif;
    background: radial-gradient(circle at 12% 8%, rgba(215, 25, 32, 0.14), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(201, 146, 62, 0.16), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg2));
    color: var(--text);
    overflow-x: hidden;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    background-image: linear-gradient(rgba(21, 17, 17, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 17, 17, 0.07) 1px, transparent 1px);
    background-size: 58px 58px;
    opacity: 0.52;
    mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
body::after {
    content: "";
    position: fixed;
    inset: -20%;
    z-index: -4;
    pointer-events: none;
    background: conic-gradient(
            from 110deg at 50% 50%,
            transparent,
            rgba(215, 25, 32, 0.08),
            transparent,
            rgba(201, 146, 62, 0.08),
            transparent
    );
    animation: spin 24s linear infinite;
    opacity: 0.82;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.red {
    color: var(--red);
}
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 999px;
    pointer-events: none;
    z-index: -2;
    background: radial-gradient(circle, rgba(215, 25, 32, 0.14), transparent 62%);
    transform: translate(-50%, -50%);
    opacity: 0.9;
}
.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}
.nav {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 100;
}
.nav-shell {
    min-height: 66px;
    padding: 8px 10px 8px 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--glass);
    backdrop-filter: blur(22px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 20px 70px rgba(85, 32, 20, 0.12);
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Avenir Next Georgian Bold";
    font-weight: 700;
    letter-spacing: -0.04em;
    white-space: nowrap;
}
.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red), var(--red3));
    display: grid;
    place-items: center;
    color: #fff;
    font-family: "Avenir Next Georgian Bold";
    font-size: 18px;
    box-shadow: 0 0 35px rgba(215, 25, 32, 0.34);
}
.nav-links {
    display: flex;
    gap: 4px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.45);
}
.nav-links a {
    font-size: 13px;
    font-family: "Avenir Next Georgian Medium";
    font-weight: 500;
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 14px;
    transition: 0.24s ease;
}
.nav-links a:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-1px);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn {
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--text);
    border-radius: 16px;
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: "Avenir Next Georgian Bold";
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.25s ease;
}
.btn:hover {
    transform: translateY(-2px);
    border-color: rgba(215, 25, 32, 0.36);
}
.btn-primary {
    background: linear-gradient(135deg, var(--red), var(--red2));
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    box-shadow: 0 15px 45px rgba(215, 25, 32, 0.26);
}
.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.26), transparent);
    transform: translateX(-110%);
    transition: 0.75s ease;
}
.btn-primary:hover::before {
    transform: translateX(110%);
}
.hero {
    min-height: 100vh;
    padding: 128px 0 64px;
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
            linear-gradient(
                    90deg,
                    rgba(247, 242, 236, 0.98) 0%,
                    rgba(247, 242, 236, 0.9) 38%,
                    rgba(247, 242, 236, 0.35) 78%,
                    rgba(247, 242, 236, 0.96) 118%
            ),
            linear-gradient(180deg, rgba(247, 242, 236, 0.12), var(--bg) 96%),
            url("https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=2400&q=88")
            center/cover;
    filter: saturate(1.02) contrast(1.03);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 390px;
    gap: 38px;
    align-items: end;
}
.tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(215, 25, 32, 0.22);
    background: rgba(215, 25, 32, 0.08);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-family: "Avenir Next Georgian Bold";
    font-weight: 700;
    color: var(--text);
}
.tag i {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--red);
    box-shadow: 0 0 16px var(--red);
}
h1 {
    font-family: "Avenir Next Georgian Bold";
    font-size: clamp(36px, 5.4vw, 68px);
    line-height: 1.05;
    margin: 18px 0 16px;
    max-width: 760px;
    text-transform: none;
    letter-spacing: -0.06em;
}
.hero p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.78;
    max-width: 680px;
    margin: 0 0 26px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.small-note {
    font-size: 12px;
    color: var(--soft);
    font-family: "Avenir Next Georgian Medium";
    font-weight: 500;
}
.hero-widget {
    border: 1px solid var(--line);
    border-radius: 30px;
    background: linear-gradient(180deg, var(--card2), rgba(255, 255, 255, 0.58));
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-7deg);
    transition: 0.45s ease;
}
.hero-widget:hover {
    transform: perspective(1000px) rotateY(0deg) translateY(-6px);
}
.widget-media {
    height: 270px;
    background:
            linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62)),
            url("/darbazi.jpg")
            center/cover;
    position: relative;
}
.live-pill {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: var(--text);
    border-radius: 999px;
    padding: 8px 10px;
    font-size: 12px;
    font-family: "Avenir Next Georgian Bold";
    font-weight: 700;
    display: flex;
    gap: 8px;
    align-items: center;
}
.live-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 18px var(--green);
    animation: pulse 1.4s infinite;
}
@keyframes pulse {
    50% {
        transform: scale(1.45);
        opacity: 0.55;
    }
}
.widget-body {
    padding: 18px;
}
.widget-body strong {
    display: block;
    font-family: "Avenir Next Georgian Bold";
    font-size: 18px;
    margin-bottom: 8px;
}
.widget-body span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}
.progress {
    height: 7px;
    border-radius: 99px;
    background: rgba(21, 17, 17, 0.08);
    overflow: hidden;
    margin-top: 18px;
}
.progress b {
    display: block;
    height: 100%;
    width: 72%;
    background: linear-gradient(90deg, var(--red), var(--red2));
    border-radius: 99px;
    animation: load 2.8s ease infinite alternate;
}
@keyframes load {
    from {
        width: 48%;
    }
    to {
        width: 86%;
    }
}
.strip {
    border-block: 1px solid var(--line);
    background: rgba(215, 25, 32, 0.055);
    overflow: hidden;
    backdrop-filter: blur(12px);
}
.strip-track {
    display: flex;
    width: max-content;
    animation: marquee 28s linear infinite;
}
.strip span {
    font-family: "Avenir Next Georgian Bold";
    font-size: 18px;
    letter-spacing: -0.02em;
    padding: 14px 26px;
    white-space: nowrap;
    color: var(--text);
}
.strip em {
    font-style: normal;
    color: var(--red);
}
@keyframes marquee {
    to {
        transform: translateX(-50%);
    }
}
section {
    padding: 84px 0;
    position: relative;
}
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 26px;
    margin-bottom: 28px;
}
.kicker {
    font-size: 12px;
    font-family: "Avenir Next Georgian Bold";
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--red);
    display: inline-flex;
    gap: 8px;
    align-items: center;
}
.kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--red);
}
h2 {
    font-family: "Avenir Next Georgian Bold";
    font-size: clamp(27px, 3.8vw, 46px);
    line-height: 1.08;
    margin: 8px 0 0;
    letter-spacing: -0.055em;
}
.section-head p {
    max-width: 460px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--card2), rgba(255, 255, 255, 0.68));
    padding: 22px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    transition: 0.3s ease;
    transform-style: preserve-3d;
}
.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(215, 25, 32, 0.17), transparent 30%);
    opacity: 0;
    transition: 0.3s ease;
    pointer-events: none;
}
.card:hover::before {
    opacity: 1;
}
.card:hover {
    transform: translateY(-6px);
    border-color: rgba(215, 25, 32, 0.28);
    box-shadow: 0 24px 80px rgba(120, 45, 20, 0.13);
}
.card > * {
    position: relative;
    z-index: 1;
}
.icon {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--red), var(--red3));
    display: grid;
    place-items: center;
    color: #fff;
    margin-bottom: 18px;
    box-shadow: 0 12px 35px rgba(215, 25, 32, 0.2);
}
h3 {
    font-family: "Avenir Next Georgian Bold";
    margin: 0 0 10px;
    font-size: 20px;
    letter-spacing: -0.04em;
    line-height: 1.25;
}
.card p,
.card li {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
}
.card ul {
    padding-left: 18px;
    margin: 15px 0 20px;
}
.flow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}
.sticky-panel {
    position: sticky;
    top: 98px;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: linear-gradient(180deg, var(--card2), rgba(255, 255, 255, 0.7));
    padding: 18px;
    overflow: hidden;
}
.sticky-img {
    height: 430px;
    border-radius: 24px;
    background:
            linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.55)),
            url("/IMG_7095.jpg")
            center/cover;
}
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.mini-stat {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 13px;
    background: rgba(255, 255, 255, 0.65);
}
.mini-stat b {
    display: block;
    color: var(--red);
    font-size: 22px;
    font-family: "Avenir Next Georgian Bold";
}
.mini-stat small {
    color: var(--muted);
    font-family: "Avenir Next Georgian Medium";
    font-weight: 500;
    font-size: 11px;
}
.step-list {
    display: grid;
    gap: 12px;
}
.step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.62);
    transition: 0.3s ease;
}
.step:hover {
    background: #fff;
    transform: translateX(5px);
    border-color: rgba(215, 25, 32, 0.24);
}
.step-num {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(215, 25, 32, 0.08);
    border: 1px solid rgba(215, 25, 32, 0.2);
    display: grid;
    place-items: center;
    color: var(--red);
    font-family: "Avenir Next Georgian Bold";
}
.step b {
    display: block;
    margin-bottom: 6px;
    font-family: "Avenir Next Georgian Bold";
}
.step span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}
.course-showcase {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 18px;
    align-items: stretch;
}
.course-menu {
    display: grid;
    gap: 12px;
}
.course-item {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.52));
    cursor: pointer;
    transition: 0.32s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
    color: var(--text);
    font-family: inherit;
}
.course-item::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(circle at top right, rgba(215, 25, 32, 0.18), transparent 38%);
    opacity: 0;
    transition: 0.3s ease;
}
.course-item:hover::before,
.course-item.active::before {
    opacity: 1;
}
.course-item.active,
.course-item:hover {
    background: linear-gradient(135deg, rgba(215, 25, 32, 0.1), rgba(255, 255, 255, 0.92));
    border-color: rgba(215, 25, 32, 0.32);
    transform: translateX(6px);
    box-shadow: 0 24px 70px rgba(120, 45, 20, 0.12);
}
.course-item strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 18px;
    font-family: "Avenir Next Georgian Bold";
    position: relative;
    z-index: 1;
}
.course-badge {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(215, 25, 32, 0.16);
    background: rgba(215, 25, 32, 0.08);
    color: var(--red);
    font-size: 10px;
    font-family: "Avenir Next Georgian Bold";
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.course-item span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.course-detail {
    min-height: 470px;
    border: 1px solid var(--line);
    border-radius: 34px;
    background: radial-gradient(circle at top right, rgba(215, 25, 32, 0.14), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.78));
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(18px);
    transition: 0.35s ease;
}
.course-detail::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.65) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shine 7s linear infinite;
}
.course-detail::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(215, 25, 32, 0.18), transparent 66%);
}
@keyframes shine {
    to {
        transform: translateX(100%);
    }
}
.course-detail h3 {
    font-family: "Avenir Next Georgian Bold";
    font-size: 34px;
    line-height: 1.06;
    margin: 16px 0 14px;
    max-width: 520px;
    letter-spacing: -0.045em;
}
.course-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.meta-box {
    min-width: 120px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.62);
}
.meta-box small {
    display: block;
    color: var(--soft);
    margin-bottom: 5px;
    font-size: 11px;
    font-family: "Avenir Next Georgian Bold";
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.meta-box b {
    font-family: "Avenir Next Georgian Bold";
    font-size: 15px;
    letter-spacing: -0.02em;
}
.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}
.pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 11px;
    color: var(--muted);
    font-size: 12px;
    font-family: "Avenir Next Georgian Bold";
    background: rgba(255, 255, 255, 0.56);
}
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.phase {
    min-height: 210px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.68);
    padding: 20px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}
.phase::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0.25);
    transform-origin: left;
    transition: 0.4s ease;
}
.phase:hover {
    transform: translateY(-7px);
    background: #fff;
}
.phase:hover::after {
    transform: scaleX(1);
}
.phase small {
    color: var(--red);
    font-family: "Avenir Next Georgian Bold";
}
.phase b {
    display: block;
    margin: 12px 0 8px;
    font-family: "Avenir Next Georgian Bold";
}
.phase p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 13px;
}.video-wall {
     display: grid;
     /* ვაკეთებთ 3 თანაბარ სვეტს უფრო მოქნილი განლაგებისთვის */
     grid-template-columns: repeat(3, 1fr);
     gap: 20px;
     /* dense ავტომატურად ავსებს ცარიელ "ხვრელებს" */
     grid-auto-flow: dense;
 }

.video {
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    box-shadow: var(--shadow);
    transition: .35s ease;
    width: 100%;
}

.video:hover {
    transform: scale(1.015);
    box-shadow: 0 35px 100px rgba(120,45,20,.2);
}

/* მთავარი ვიდეო: იკავებს 2 სვეტს და 2 რიგს */
.video.main {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 16/9;
    min-height: 495px;
}

/* გვერდითა ვიდეოები: სტანდარტულად იკავებენ 1 სვეტს */
.video.side {
    aspect-ratio: 16/10;
    /* მოვაშორეთ margin-bottom, რადგან gap-ი აკონტროლებს დაშორებებს */
}

/* iframe-ის სტილები უცვლელია */
iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* აქრობს inline-ის პატარა whitespace-ს ქვემოდან */
}

/* რესპონსივი: მობილურებზე ყველაფერი ერთ სვეტში ლამაზად დალაგდეს */
@media (max-width: 992px) {
    .video-wall {
        grid-template-columns: 1fr;
    }

    .video.main, .video.side {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 16/9;
    }
}


.gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-auto-rows: 220px;
    gap: 14px;
}
.shot {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    background-size: cover;
    background-position: center;
    position: relative;
    transition: 0.35s ease;
}

.shot:hover {
    transform: translateY(-6px) scale(1.015);
    filter: saturate(1.1);
}
.shot.tall {
    grid-row: span 2;
}
.shot.wide {
    grid-column: span 2;
}
.grid-3-blog {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.blog-card {
    padding: 10px;
}
.blog-img {
    height: 190px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}
.blog-img::after {
    content: "Blog";
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--red);
    color: #fff;
    border-radius: 999px;
    padding: 7px 9px;
    font-size: 11px;
    font-family: "Avenir Next Georgian Bold";
}
.blog-card .content {
    padding: 0 12px 12px;
}
details {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.68);
    padding: 18px 20px;
    margin-bottom: 10px;
    transition: 0.25s ease;
}
details:hover {
    border-color: rgba(215, 25, 32, 0.24);
    background: #fff;
}
summary {
    cursor: pointer;
    font-family: "Avenir Next Georgian Bold";
}
details p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 14px;
    margin: 14px 0 0;
}
.cta {
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 34px;
    background: radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.35), transparent 24%),
    linear-gradient(135deg, #8e0005, var(--red), #151111 86%);
    padding: 42px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    color: #fff;
}
.cta::after {
    content: "12";
    position: absolute;
    right: -12px;
    bottom: -60px;
    font-family: "Avenir Next Georgian Bold";
    font-size: 220px;
    color: rgba(255, 255, 255, 0.08);
    line-height: 0.8;
}
.cta h2 {
    font-family: "Avenir Next Georgian Bold";
    font-size: clamp(32px, 4.8vw, 58px);
    max-width: 720px;
    color: #fff;
}
.cta p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.76);
    line-height: 1.7;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.btn-light {
    background: #fff;
    color: #111;
    border-color: #fff;
}
footer {
    padding: 34px 0 96px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.mobile-sticky {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 120;
}
.mobile-sticky .btn {
    width: 100%;
}
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition:
            opacity 0.7s ease,
            transform 0.7s ease;
}
.reveal.show {
    opacity: 1;
    transform: none;
}
@media (max-width: 1000px) {
    .nav-links {
        display: none;
    }
    .hero-grid,
    .flow,
    .course-showcase,
    .video-wall,
    .grid-2,
    .grid-3,
    .grid-3-blog {
        grid-template-columns: 1fr;
    }
    .hero-widget {
        max-width: 520px;
        transform: none;
    }
    .sticky-panel {
        position: relative;
        top: 0;
    }
    .timeline {
        grid-template-columns: 1fr 1fr;
    }
    .gallery {
        grid-template-columns: 1fr 1fr;
    }
    .shot.wide {
        grid-column: span 1;
    }
}
@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1180px);
    }
    .brand span:last-child {
        display: none;
    }
    .hero {
        padding-top: 108px;
    }
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 15px;
    }
    .hero-actions .btn {
        width: 100%;
    }
    section {
        padding: 64px 0;
    }
    .section-head {
        display: block;
    }
    .section-head p {
        margin-top: 12px;
    }
    .timeline,
    .gallery {
        grid-template-columns: 1fr;
    }
    .shot,
    .shot.tall {
        grid-row: auto;
        height: 230px;
    }
    .sticky-img {
        height: 310px;
    }
    .cta {
        padding: 28px;
    }
    .mobile-sticky {
        display: block;
    }
    .course-item.active,
    .course-item:hover {
        transform: translateY(-3px);
    }
}


/* სტატიის გვერდის სპეციფიკური სტილები */
.article-container {
    padding: 160px 0 90px;
}

article.reveal.show {
    max-width: 820px;
    margin: 0 auto;
}

.back-link {
    text-transform: none !important;
    margin-bottom: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.back-link:hover {
    transform: translateX(-4px);
    color: var(--red2);
}

.article-container h1 {
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: clamp(30px, 4.8vw, 52px);
    color: var(--text);
    line-height: 1.15;
}

.article-container .small-note {
    margin-bottom: 36px;
    font-size: 13px;
    color: var(--soft);
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-image-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    background: var(--card);
}

.article-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.article-excerpt {
    font-family: "Avenir Next Georgian Medium", sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 30px;
    padding-left: 16px;
    border-left: 3px solid var(--red);
    opacity: 0.9;
}

.article-body {
    font-size: 17px;
    line-height: 1.88;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ფუტერის მარტივი გასწორება დიზაინში ჩასაჯდომად */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-size: 13px;
}

@media (max-width: 768px) {
    .article-container {
        padding-top: 120px;
    }
    .article-excerpt {
        font-size: 17px;
    }
    .article-body {
        font-size: 16px;
        line-height: 1.8;
    }
}