/* ============================================================
   HERO
============================================================ */
#hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, #1565c0 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.h-circle {
    position: absolute; border-radius: 50%; pointer-events: none;
}
.hc-1 { width: 700px; height: 700px; background: var(--accent); opacity: .06; top: -250px; right: -150px; }
.hc-2 { width: 420px; height: 420px; background: #fff; opacity: .04; bottom: -180px; right: 220px; }

.hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 32px 32px; pointer-events: none;
}

/* pain badge */
.pain-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.35);
    border-radius: 50px; padding: 7px 18px;
    color: #fca5a5; font-size: .82rem; font-weight: 600;
    letter-spacing: .4px; margin-bottom: 1.5rem;
}
.pain-badge i { color: #ef4444; }

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    font-weight: 800; color: #fff; line-height: 1.1;
    margin-bottom: 1.2rem;
}
.hero-title .hl  { color: var(--accent); }
.hero-title .red { color: #fca5a5; }

.hero-sub {
    font-size: clamp(.95rem, 1.8vw, 1.12rem);
    color: rgba(255,255,255,.72); max-width: 520px;
    line-height: 1.8; margin-bottom: 2rem;
}

.hero-checklist {
    list-style: none; padding: 0; margin-bottom: 2.5rem;
}
.hero-checklist li {
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,.82); font-size: .95rem;
    margin-bottom: .65rem;
}
.hero-checklist li i { color: #4ade80; font-size: 1rem; flex-shrink: 0; }

/* hero right panel */
.hero-panel {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(18px);
    border-radius: 28px; padding: 2.2rem 1.8rem;
    position: relative;
}
.hero-panel-title {
    font-size: 1rem; font-weight: 700; color: rgba(255,255,255,.9);
    text-align: center; margin-bottom: 1.4rem;
}
.symptom-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.25);
    border-radius: 50px; padding: 7px 14px;
    font-size: .8rem; color: #fca5a5; margin: 4px;
}
.symptom-pill i { color: #ef4444; font-size: .85rem; }

.solve-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(74,222,128,.12); border: 1px solid rgba(74,222,128,.25);
    border-radius: 50px; padding: 7px 14px;
    font-size: .8rem; color: #86efac; margin: 4px;
}
.solve-pill i { color: #4ade80; font-size: .85rem; }

.hero-panel-sep {
    text-align: center; color: rgba(255,255,255,.4);
    font-size: .78rem; text-transform: uppercase;
    letter-spacing: 2px; margin: 1rem 0; position: relative;
}
.hero-panel-sep::before, .hero-panel-sep::after {
    content: ''; position: absolute; top: 50%;
    width: 35%; height: 1px; background: rgba(255,255,255,.12);
}
.hero-panel-sep::before { left: 0; }
.hero-panel-sep::after  { right: 0; }

/* floating cards */
.fcard {
    position: absolute; z-index: 20;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px; padding: 10px 15px; color: #fff;
    display: flex; align-items: center; gap: 10px; font-size: .82rem;
}
.fcard.fc-top { top: -18px; left: -32px; animation: float-a 4s ease-in-out infinite; }
.fcard.fc-bot { bottom: -18px; right: -18px; animation: float-b 5s ease-in-out infinite; }
@keyframes float-a { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
@keyframes float-b { 0%,100%{transform:translateY(0)} 50%{transform:translateY(10px)} }

@media (max-width: 991px) { .fcard { display: none !important; } }

/* ============================================================
   PAIN POINTS
============================================================ */
#pain {
    background: var(--gray-light);
}

.pain-card {
    background: #fff; border-radius: 18px;
    border: 1.5px solid #fee2e2;
    padding: 1.8rem 1.5rem; height: 100%;
    transition: all .35s; position: relative; overflow: hidden;
}
.pain-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
    transform: scaleX(0); transition: transform .35s;
}
.pain-card:hover::before { transform: scaleX(1); }
.pain-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(239,68,68,.1);
    border-color: #fca5a5;
}
.pain-ico {
    width: 58px; height: 58px;
    background: #fee2e2; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    color: #ef4444; font-size: 1.5rem; margin-bottom: 1rem;
    transition: all .3s;
}
.pain-card:hover .pain-ico {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}
.pain-title { font-weight: 700; color: var(--dark); font-size: 1rem; margin-bottom: .5rem; }
.pain-desc  { color: var(--muted); font-size: .83rem; line-height: 1.7; }

/* ============================================================
   HOW IT WORKS
============================================================ */
#how {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 5rem 0;
}
.step-num {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255,255,255,.1);
    border: 2px solid rgba(255,255,255,.2);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; font-weight: 800; color: var(--accent);
    margin: 0 auto 1.2rem;
    position: relative; z-index: 2;
}
.step-card {
    text-align: center; padding: 2rem 1.5rem; position: relative;
}
.step-connector {
    position: absolute; top: 32px; left: calc(50% + 42px);
    width: calc(100% - 84px); height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,.2), rgba(0,180,216,.4));
}
@media (max-width: 767px) { .step-connector { display: none; } }

.step-title { font-weight: 700; color: #fff; font-size: 1.05rem; margin-bottom: .6rem; }
.step-desc  { color: rgba(255,255,255,.62); font-size: .85rem; line-height: 1.7; }

.step-icon-wrap {
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #0a8faa);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; color: #fff; margin: 0 auto 1.2rem;
    box-shadow: 0 10px 30px rgba(0,180,216,.3);
}

/* ============================================================
   NACIN RADA (UZIVO / ONLINE)
============================================================ */
#nacin-rada { background: var(--gray-light); }

.mode-card {
    border-radius: 26px; padding: 2.8rem 2.2rem; height: 100%;
    transition: transform .35s; position: relative; overflow: hidden;
}
.mode-card:hover { transform: translateY(-6px); }

.mode-uzivo {
    background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 20px 60px rgba(10,76,122,.28);
}
.mode-online {
    background: linear-gradient(150deg, #0f4c60 0%, #007a99 100%);
    box-shadow: 0 20px 60px rgba(0,120,150,.28);
}
.mode-card::before {
    content: ''; position: absolute;
    top: -80px; right: -80px; width: 220px; height: 220px;
    border-radius: 50%; background: rgba(255,255,255,.05); pointer-events: none;
}

.mode-badge {
    display: inline-flex; align-items: center; gap: 7px;
    border-radius: 50px; padding: 6px 18px;
    font-size: .72rem; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; margin-bottom: 1.4rem;
}
.mode-uzivo .mode-badge {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22); color: #fff;
}
.mode-online .mode-badge { background: var(--accent); color: #fff; }

.mode-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.7rem; color: #fff; margin-bottom: .7rem; }
.mode-sub   { color: rgba(255,255,255,.58); font-size: .88rem; line-height: 1.72; margin-bottom: 1.8rem; }

.mode-list  { list-style: none; padding: 0; margin-bottom: 1.8rem; }
.mode-list li {
    display: flex; align-items: flex-start; gap: 10px;
    color: rgba(255,255,255,.84); font-size: .9rem;
    margin-bottom: .7rem; line-height: 1.5;
}
.mode-list li i { color: #4ade80; margin-top: 2px; flex-shrink: 0; }

.mode-meta {
    display: flex; align-items: center; gap: 11px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px; padding: 11px 15px; margin-bottom: 8px;
}
.mode-meta i    { color: var(--accent); flex-shrink: 0; }
.mode-meta span { color: rgba(255,255,255,.72); font-size: .82rem; }

.btn-mode {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    border: none; border-radius: 50px; padding: .95rem 2rem;
    font-weight: 700; font-size: .95rem; text-decoration: none;
    transition: all .3s; width: 100%; margin-top: .8rem;
}
.btn-mode-uzivo { background: #fff; color: var(--primary); }
.btn-mode-uzivo:hover { background: #f0f9ff; color: var(--primary); transform: translateY(-2px); }
.btn-mode-online { background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-mode-online:hover { background: #1ebe5d; color: #fff; transform: translateY(-2px); }

/* ============================================================
   CONDITIONS
============================================================ */
#conditions { background: #fff; }

.cond-card {
    border-radius: 22px; overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,.07);
    transition: all .35s; height: 100%;
    border: 1.5px solid #e8f4f8;
}
.cond-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(10,76,122,.13);
    border-color: var(--accent);
}
.cond-thumb {
    height: 160px; display: flex; align-items: center;
    justify-content: center; font-size: 3.5rem;
    color: rgba(255,255,255,.75); position: relative; overflow: hidden;
}
.ct-hernija  { background: linear-gradient(135deg, #1e3a5f, #0a4c7a); }
.ct-ledja    { background: linear-gradient(135deg, #1a4731, #16a34a); }
.ct-vrat     { background: linear-gradient(135deg, #3b1f6b, #7c3aed); }
.ct-skolioza { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.ct-lordoza  { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.ct-kifoza   { background: linear-gradient(135deg, #4a1942, #be185d); }
.ct-sport    { background: linear-gradient(135deg, #1a4731, #0d9488); }
.ct-postura  { background: linear-gradient(135deg, #3b1f6b, #6d28d9); }

.cond-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px; padding: 3px 10px;
    font-size: .7rem; color: #fff; font-weight: 600;
}

.cond-body { padding: 1.5rem; }
.cond-title { font-weight: 700; color: var(--dark); font-size: 1rem; margin-bottom: .5rem; }
.cond-desc  { color: var(--muted); font-size: .82rem; line-height: 1.7; margin-bottom: 1rem; }
.cond-tags  { display: flex; flex-wrap: wrap; gap: 5px; }
.cond-tag {
    background: var(--accent-light); color: var(--accent);
    border-radius: 50px; padding: 3px 10px; font-size: .72rem; font-weight: 600;
}

/* MAIN condition (diskus hernija) — wider card */
.cond-main {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 22px; padding: 2.5rem;
    height: 100%; border: none;
    box-shadow: 0 20px 60px rgba(10,76,122,.25);
    position: relative; overflow: hidden;
}
.cond-main::before {
    content: '';
    position: absolute; top: -60px; right: -60px;
    width: 200px; height: 200px; border-radius: 50%;
    background: rgba(0,180,216,.12);
}
.cond-main-ico {
    width: 72px; height: 72px; border-radius: 20px;
    background: rgba(255,255,255,.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--accent); margin-bottom: 1.4rem;
}
.cond-main h4 { font-family: 'Playfair Display', serif; color: #fff; font-weight: 700; margin-bottom: .8rem; }
.cond-main p  { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.8; margin-bottom: 1.2rem; }
.cond-main-check { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.82); font-size: .88rem; margin-bottom: .6rem; }
.cond-main-check i { color: #4ade80; flex-shrink: 0; }

/* ============================================================
   INDIVIDUAL PLAN
============================================================ */
#plan { background: var(--gray-light); }

.plan-feature {
    display: flex; align-items: flex-start; gap: 16px;
    margin-bottom: 1.8rem;
}
.plan-ico {
    width: 52px; height: 52px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem; flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(0,180,216,.25);
}
.plan-feat-title { font-weight: 700; color: var(--dark); margin-bottom: .3rem; font-size: .97rem; }
.plan-feat-desc  { color: var(--muted); font-size: .85rem; line-height: 1.7; }

.plan-visual {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 28px; padding: 2.5rem; position: relative; overflow: hidden;
}
.plan-visual::before {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 250px; height: 250px; border-radius: 50%;
    background: rgba(0,180,216,.1);
}
.plan-step-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px; padding: 16px;
    margin-bottom: 12px; position: relative; z-index: 2;
}
.plan-step-num {
    width: 38px; height: 38px; border-radius: 10px;
    background: var(--accent); display: flex;
    align-items: center; justify-content: center;
    font-weight: 800; font-size: .95rem; color: #fff; flex-shrink: 0;
}
.plan-step-text { color: rgba(255,255,255,.85); font-size: .88rem; font-weight: 500; }
.plan-step-sub  { color: rgba(255,255,255,.5); font-size: .78rem; }

/* ============================================================
   BIG CTA
============================================================ */
#cta-section {
    background: linear-gradient(135deg, #062d47 0%, #0a4c7a 60%, #00b4d8 100%);
    padding: 5rem 0; position: relative; overflow: hidden;
}
#cta-section::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 30px 30px;
}
.cta-big-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1rem;
}
.cta-big-sub { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.7; max-width: 500px; margin-bottom: 2.2rem; }

/* ============================================================
   ABOUT
============================================================ */
#about { background: #fff; }

.about-img-wrap { position: relative; }
.about-img-back {
    position: absolute; width: 85%; height: 85%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 20px; bottom: -20px; right: -20px;
}
.about-img-face {
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,.16);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary) 60%, var(--accent));
    min-height: 440px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; color: #fff;
}
.about-img-face i    { font-size: 7.5rem; opacity: .22; }
.about-img-face span { opacity: .5; font-size: .85rem; margin-top: .5rem; }

.exp-badge {
    position: absolute; bottom: 30px; left: -28px;
    background: #fff; border-radius: 18px; padding: 18px 22px;
    box-shadow: 0 20px 55px rgba(0,0,0,.15); text-align: center;
}
.exp-badge .big  { font-size: 2.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.exp-badge .smll { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.cred-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--gray-light); border-radius: 14px;
    padding: 12px 16px; margin-bottom: 10px;
}
.cred-ico {
    width: 38px; height: 38px; background: var(--accent-light);
    border-radius: 10px; display: flex; align-items: center;
    justify-content: center; color: var(--accent); font-size: .95rem; flex-shrink: 0;
}
.cred-text { font-weight: 600; color: var(--dark); font-size: .87rem; }
.cred-sub  { color: var(--muted); font-size: .78rem; }

/* ============================================================
   SERVICES
============================================================ */
#services { background: var(--gray-light); }

.svc-card {
    background: #fff; border: 1.5px solid #e8f4f8; border-radius: 18px;
    padding: 1.6rem; height: 100%; transition: all .35s; position: relative; overflow: hidden;
}
.svc-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transition: transform .35s;
}
.svc-card:hover::before    { transform: scaleX(1); }
.svc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(10,76,122,.1);
    border-color: var(--accent);
}
.svc-ico {
    width: 58px; height: 58px;
    background: linear-gradient(135deg, var(--accent-light), #dff0f7);
    border-radius: 16px; display: flex; align-items: center;
    justify-content: center; color: var(--accent); font-size: 1.5rem;
    margin-bottom: 1rem; transition: all .3s;
}
.svc-card:hover .svc-ico {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; transform: rotate(5deg) scale(1.08);
}
.svc-title { font-weight: 700; color: var(--dark); font-size: .95rem; margin-bottom: .5rem; }
.svc-desc  { color: var(--muted); font-size: .82rem; line-height: 1.7; }

/* ============================================================
   AFFILIATIONS
============================================================ */
#affiliations {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 4.5rem 0;
}
.aff-item { text-align: center; padding: 1rem; }
.aff-ico {
    width: 72px; height: 72px; background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.15); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; color: rgba(255,255,255,.78);
    margin: 0 auto .8rem; transition: all .3s;
}
.aff-item:hover .aff-ico {
    background: var(--accent); border-color: var(--accent);
    color: #fff; transform: scale(1.12);
}
.aff-name { color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 500; line-height: 1.4; }

/* ============================================================
   CONTACT
============================================================ */
#contact { background: var(--gray-light); }

.ccard { background: #fff; border-radius: 22px; padding: 2.5rem; height: 100%; box-shadow: 0 6px 30px rgba(0,0,0,.06); }
.ci-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 1.6rem; }
.ci-ico {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 13px; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1rem; flex-shrink: 0;
    box-shadow: 0 5px 16px rgba(0,180,216,.25);
}
.ci-lbl { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.ci-val { font-weight: 600; color: var(--dark); font-size: .92rem; }
.ci-val a { color: var(--dark); text-decoration: none; transition: color .3s; }
.ci-val a:hover { color: var(--accent); }

.form-control, .form-select {
    border: 2px solid #e2e8f0; border-radius: 12px;
    padding: .75rem 1rem; font-size: .87rem; transition: all .3s; background: #f8fafc;
}
.form-control:focus, .form-select:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,180,216,.12);
    background: #fff; outline: none;
}
.form-label { font-weight: 600; font-size: .82rem; color: var(--dark); margin-bottom: .45rem; }

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; border: none; border-radius: 50px;
    padding: 1rem 2.6rem; font-weight: 700; font-size: .96rem;
    width: 100%; transition: all .3s; cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,180,216,.28);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,180,216,.4); }

/* ============================================================
   BLOG
============================================================ */
#blog { background: #fff; }

.blog-card {
    border: none; border-radius: 20px; overflow: hidden;
    box-shadow: 0 6px 28px rgba(0,0,0,.07); transition: all .35s; height: 100%;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 58px rgba(10,76,122,.12);
}
.blog-thumb {
    height: 190px; display: flex; align-items: center;
    justify-content: center; font-size: 3.5rem; color: rgba(255,255,255,.72);
}
.bt-1 { background: linear-gradient(135deg, #667eea, #764ba2); }
.bt-2 { background: linear-gradient(135deg, #f093fb, #f5576c); }
.bt-3 { background: linear-gradient(135deg, #43b89c, #00b4d8); }

.blog-cat    { display: block; font-size: .7rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: .65rem; }
.blog-title  { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: var(--dark); line-height: 1.3; margin-bottom: .7rem; }
.blog-exc    { color: var(--muted); font-size: .83rem; line-height: 1.7; margin-bottom: 1.1rem; }
.read-more   { color: var(--primary); font-weight: 600; font-size: .83rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap .25s, color .25s; }
.read-more:hover { gap: 10px; color: var(--accent); }

/* ============================================================
   GALLERY SECTION (on index page)
============================================================ */
#galerija { background: #fff; }

.gal-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
}
.gal-item {
    border-radius: 16px; overflow: hidden;
    position: relative; cursor: pointer; transition: transform .35s;
}
.gal-item:hover { transform: scale(1.025); z-index: 2; }
.gal-item:hover .gal-overlay { opacity: 1; }

.gal-span2c { grid-column: span 2; }
.gal-span2r { grid-row: span 2; }

.gal-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; color: rgba(255,255,255,.55);
    font-size: .78rem; gap: 8px; position: relative;
}
.gal-ph i { font-size: 2rem; }
.gal-span2r .gal-ph i, .gal-span2c .gal-ph i { font-size: 2.8rem; }
.gal-ph span { font-weight: 500; letter-spacing: .5px; }

.gal-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.45); opacity: 0;
    transition: opacity .3s; display: flex;
    align-items: center; justify-content: center;
    color: #fff; font-size: .85rem; font-weight: 600; gap: 6px;
}

.gc1 { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.gc2 { background: linear-gradient(135deg, #0f4c60, #007a99); }
.gc3 { background: linear-gradient(135deg, #1a4731, #16a34a); }
.gc4 { background: linear-gradient(135deg, #3b1f6b, #7c3aed); }
.gc5 { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.gc6 { background: linear-gradient(135deg, #1e3a5f, #2563eb); }
.gc7 { background: linear-gradient(135deg, #1a4731, #0d9488); }
.gc8 { background: linear-gradient(135deg, #4a1942, #be185d); }

.gal-note {
    text-align: center; margin-top: 1rem;
    color: var(--muted); font-size: .8rem; font-style: italic;
}

@media (max-width: 767px) {
    .gal-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .gal-span2c, .gal-span2r { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   RESPONSIVE — INDEX-SPECIFIC
============================================================ */
@media (max-width: 768px) {
    .exp-badge { left: 0; bottom: -12px; }
}
