/* IIJS Bharat – Signature 2027 | Brilliant Bharat: Handicrafts of India */

:root {
    --red:     #DB423A;
    --red-d:   #b8312a;
    --red-lt:  #fff5f5;
    --blue:    #58B5F4;
    --blue-d:  #2e8fd4;
    --blue-lt: #eff8ff;
    --text:    #1a2235;
    --muted:   #5c6880;
    --border:  #e4eaf2;
    --white:   #ffffff;
    --off:     #f8fafc;
    --off2:    #f0f4f9;
    --trans:   all 0.36s cubic-bezier(0.4,0,0.2,1);
    --r:       12px;
    --r-lg:    20px;
    --sh:      0 2px 16px rgba(0,0,0,0.06);
    --sh-md:   0 8px 36px rgba(0,0,0,0.10);
    --sh-lg:   0 20px 56px rgba(0,0,0,0.14);
}

*, *::before, *::after { box-sizing: border-box; }
section { font-family: 'Inter', sans-serif; }
.mx-auto  { margin-left: auto !important; margin-right: auto !important; }
.text-center { text-align: center !important; }

section p {
    font-size: 1rem;
    line-height: 1.88;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* ── Pills ── */
.pill27 {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
    width: max-content;
}
.pill27--red   { color: var(--red);   background: rgba(219,66,58,0.08);  border: 1px solid rgba(219,66,58,0.20); }
.pill27--blue  { color: var(--blue-d);background: rgba(88,181,244,0.10); border: 1px solid rgba(88,181,244,0.24); }
.pill27--white { color: #fff; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.30); }

/* ── Headings ── */
.t27 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0;
}
.t27--white { color: #fff; }

/* ── Rules ── */
.r27 { width: 52px; height: 4px; border-radius: 4px; margin: 18px 0 26px; }
.r27--red   { background: var(--red); }
.r27--blue  { background: var(--blue); }
.r27--white { background: rgba(255,255,255,0.45); }

/* ── Buttons ── */
.b27 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
        font-size: 1rem;
    font-weight: 700;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--trans);
    border: 2px solid transparent;
    justify-content: center;
    text-transform: uppercase;
}
.b27--red { background: var(--red); color: #fff; border-color: var(--red); box-shadow: 0 4px 18px rgba(219,66,58,0.28); }
.b27--red:hover { background: var(--red-d); border-color: var(--red-d); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(219,66,58,0.38); }
.b27--outline-red { background: transparent; color: var(--red); border-color: var(--red); }
.b27--outline-red:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.b27--white { background: #fff; color: var(--red); border-color: #fff; box-shadow: 0 4px 18px rgba(0,0,0,0.14); }
.b27--white:hover { background: var(--red-d); color: #fff; border-color: var(--red-d); transform: translateY(-2px); }
.b27--dark { background: var(--text); color: #fff; border-color: var(--text); box-shadow: 0 4px 18px rgba(0,0,0,0.22); }
.b27--dark:hover { background: #0d1520; border-color: #0d1520; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.32); }
.b27--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.50); }
.b27--outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; transform: translateY(-2px); }

/* ══════════════════════════════════════
   HERO — light off-white
══════════════════════════════════════ */
.h27 {
    background: var(--off);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.h27-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.h27-blob--a { width: 560px; height: 560px; top: -200px; left: -180px; background: radial-gradient(circle, rgba(219,66,58,0.06) 0%, transparent 65%); }
.h27-blob--b { width: 480px; height: 480px; bottom: -160px; right: -140px; background: radial-gradient(circle, rgba(88,181,244,0.07) 0%, transparent 65%); }

.h27-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.h27-kicker {
    font-size: 1.4rem; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--muted);
    display: block; margin-bottom: 16px;
}
.h27-presents {
    display: inline-block;
    font-size: 1rem; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--red);
    background: var(--red-lt); border: 1px solid rgba(219,66,58,0.18);
    padding: 4px 14px; border-radius: 4px; margin-bottom: 16px;
}
.h27-title {
    font-family: 'Playfair Display', serif;
    font-size: 6rem; font-weight: 800;
    line-height: 0.95; color: var(--text);
    margin-bottom: 0; letter-spacing: -2px;
}
.h27-title span { color: var(--red); }
.h27-title em {
    font-style: italic; font-weight: 400;
    color: var(--blue-d); font-size: 4rem;
    display: block; letter-spacing: -1px;
}
.h27-rule {
    width: 48px; height: 4px;
    background: linear-gradient(90deg, var(--red), var(--blue));
    border-radius: 4px; margin: 24px 0 14px;
}
.h27-tagline {
    font-size: 1.3rem; font-weight: 700;
     color: var(--muted); margin-bottom: 62px;
}
.h27-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.h27-btn-wrap {
    display: flex;
    flex-direction: column;
}
.h27-btn-label {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #000000;
    padding-left: 4px;
    text-align: center;
    padding-bottom: 5px;
}
.h27-btn-tagline {
    font-size: 1rem;
    font-style: italic;
    color: #000000;
    padding-left: 4px;
    opacity: 0.80;
    text-align: center;
    padding-bottom: 20px;
}

.h27-card {
    background: var(--white);
    border-radius: var(--r-lg);
    padding: 40px 40px 40px 44px;
    box-shadow: var(--sh-md);
    border-left: 5px solid var(--blue);
    position: relative;
    margin-bottom: 20px;
}
.h27-card::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 7rem; color: var(--blue); opacity: 0.07;
    position: absolute; top: -10px; left: 14px;
    line-height: 1; pointer-events: none;
}
.h27-card p { color: var(--muted); position: relative; z-index: 1; }
.h27-card p:last-child { margin-bottom: 0; }
.h27-card strong { color: var(--text); font-weight: 600; }

/* ══════════════════════════════════════
   CRAFTSMANSHIP — image left, blue right
══════════════════════════════════════ */
.fs27 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 560px;
}
.fs27-img { position: relative; overflow: hidden; }
.fs27-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.fs27-img:hover img { transform: scale(1.04); }
.fs27-badge {
    position: absolute; bottom: 28px; right: 28px;
    width: 90px; height: 90px; border-radius: 50%;
    background: var(--red); color: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; box-shadow: var(--sh-lg);
    border: 3px solid rgba(255,255,255,0.25);
    gap: 8px;
}
.fs27-badge strong { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; line-height: 1; display: block; }
.fs27-badge span { font-size: 0.50rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; line-height: 1.4; }
.fs27-body { background: var(--blue); padding: 72px 60px; display: flex; flex-direction: column; justify-content: center; }
.fs27-body p { color: rgba(255,255,255,0.82); }

/* ══════════════════════════════════════
   CRAFTS — light bg, image+text rows
══════════════════════════════════════ */
.crafts27 {
    background: var(--white);
    padding: 96px 0;
}
.crafts27-hd {
    max-width: 1000px;
    margin: 0 auto 72px;
    padding: 0 20px;
}
.crafts27-intro { color: var(--muted) !important; margin: 0 !important; }

/* each craft row */
.cr27 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 2px;
    background: var(--white);
    overflow: hidden;
}
/* alternating: even rows flip image to right */
.cr27--rev { direction: rtl; }
.cr27--rev > * { direction: ltr; }

.cr27-img {
    overflow: hidden;
    background: var(--off2);
    position: relative;
}
.cr27-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 32px;
    transition: transform 0.5s ease;
}
.cr27:hover .cr27-img img { transform: scale(1.04); }

/* alternating bg tints */
.cr27:nth-child(odd)  .cr27-img { background: var(--red-lt); }
.cr27:nth-child(even) .cr27-img { background: var(--blue-lt); }

.cr27-body {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}
.cr27--rev .cr27-body { border-bottom: 1px solid var(--border); }

.cr27-num {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgb(0 0 0 / 45%);
    line-height: 1;
    margin-bottom: 15px;
    display: block;
    user-select: none;
}
.cr27-state {
    font-size: 0.80rem; font-weight: 700;
    letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--red); display: inline-flex;
    align-items: center; gap: 5px; margin-bottom: 10px;
}
.cr27-state--blue { color: var(--blue-d); }
.cr27-state i { font-size: 0.75rem; }

.cr27-name {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; font-weight: 700;
    color: var(--text); margin-bottom: 12px; line-height: 1.2;
}
.cr27-line { width: 40px; height: 3px; border-radius: 3px; margin-bottom: 18px; }
.cr27-line--red  { background: var(--red); }
.cr27-line--blue { background: var(--blue); }

.cr27-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cr27-meta li {
    font-size: 1.2rem;
    color: var(--muted);
    line-height: 1.5;
}
.cr27-meta li strong {
    color: var(--text);
    font-weight: 600;
}
.cr27-body p { color: var(--muted); font-size: 1rem; margin: 0; }

/* ══════════════════════════════════════
   WHERE HERITAGE MEETS INNOVATION
══════════════════════════════════════ */
.meets27 {
    background: var(--off);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.meets27-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.meets27-blob--a {
    width: 640px; height: 640px;
    top: -260px; right: -180px;
    background: radial-gradient(circle, rgba(219,66,58,0.06) 0%, transparent 65%);
}
.meets27-blob--b {
    width: 480px; height: 480px;
    bottom: -200px; left: -140px;
    background: radial-gradient(circle, rgba(88,181,244,0.07) 0%, transparent 65%);
}

/* Header */
.meets27-header {
    max-width: 840px;
    margin: 0 auto 72px;
    padding: 0 20px;
}
.meets27-em {
    font-style: italic;
    font-weight: 400;
    color: var(--red);
}
.meets27-lead {
    color: var(--muted) !important;
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
    margin: 0 auto !important;
    max-width: 640px;
}

/* Body grid */
.meets27-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Left — concept card */
.meets27-left { display: flex; }
.meets27-concept {
    flex: 1;
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    box-shadow: var(--sh-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--trans);
}
.meets27-concept:hover {
    box-shadow: var(--sh-lg);
    transform: translateY(-4px);
    border-color: rgba(219,66,58,0.20);
}
.meets27-concept-top {
    background: linear-gradient(135deg, var(--red-lt) 0%, #fff 100%);
    border-bottom: 1px solid rgba(219,66,58,0.12);
    padding: 32px 40px 28px;
}
.meets27-concept-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 14px;
}
.meets27-concept-rule {
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), rgba(219,66,58,0.15));
    border-radius: 3px;
}
.meets27-concept p {
    color: var(--muted) !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
    margin: 0 !important;
    padding: 28px 40px 0;
}
.meets27-concept p + p { padding-top: 16px; }
.meets27-concept p:last-of-type { padding-bottom: 0; }
.meets27-concept-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 40px 32px;
    padding: 16px 20px;
    background: var(--red-lt);
    border-radius: var(--r);
    border-left: 3px solid var(--red);
}
.meets27-concept-quote {
    color: var(--red);
    font-size: 1.1rem;
    opacity: 0.6;
    flex-shrink: 0;
}
.meets27-concept-footer span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--red);
    opacity: 0.75;
}

/* Right — legacy + pillars */
.meets27-right { display: flex; flex-direction: column; gap: 24px; }
.meets27-legacy-hd {
    padding: 0 4px;
}
.meets27-legacy-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.25;
    margin: 0;
}
.meets27-pillars {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.meets27-pillar {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 28px;
    box-shadow: var(--sh);
    transition: var(--trans);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.meets27-pillar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--red);
    border-radius: 4px 0 0 4px;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}
.meets27-pillar:nth-child(2)::before { background: var(--blue); }
.meets27-pillar:hover { box-shadow: var(--sh-md); transform: translateX(6px); border-color: rgba(219,66,58,0.20); }
.meets27-pillar:nth-child(2):hover { border-color: rgba(88,181,244,0.25); }
.meets27-pillar:hover::before { transform: scaleY(1); }
.meets27-pillar-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(0,0,0,0.06);
    line-height: 1;
    flex-shrink: 0;
    min-width: 32px;
    display: none;
    user-select: none;
}
.meets27-pillar-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(219,66,58,0.08);
    border: 1px solid rgba(219,66,58,0.16);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; color: var(--red);
    flex-shrink: 0;
    transition: var(--trans);
}
.meets27-pillar-icon--blue {
    background: rgba(88,181,244,0.08);
    border-color: rgba(88,181,244,0.18);
    color: var(--blue-d);
}
.meets27-pillar:hover .meets27-pillar-icon { background: var(--red); color: #fff; border-color: var(--red); transform: scale(1.08); }
.meets27-pillar:nth-child(2):hover .meets27-pillar-icon { background: var(--blue-d); color: #fff; border-color: var(--blue-d); }
.meets27-pillar-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.meets27-pillar-body strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.meets27-pillar-body span {
    font-size: 0.83rem;
    color: var(--muted);
    line-height: 1.5;
}

/* ══════════════════════════════════════
   JEWELLERY CRAFT DESIGN COMPETITION
══════════════════════════════════════ */
.comp27 {
    background: var(--red);
    padding: 96px 0;
    position: relative;
    overflow: hidden;
}
.comp27-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.comp27-orb--a { width: 520px; height: 520px; top: -180px; right: -150px; background: rgba(255,255,255,0.06); }
.comp27-orb--b { width: 380px; height: 380px; bottom: -140px; left: -100px; background: rgba(0,0,0,0.07); }

.comp27-inner {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    padding: 64px 72px;
    backdrop-filter: blur(4px);
}

/* Top */
.comp27-top { margin-bottom: 0; }

.comp27 .pill27{
    font-size: 2.5rem;
    padding: 20px 16px;
}

.comp27-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 12px 0 6px;
}
.comp27-event {
    font-size: 2rem !important;
    font-weight: 700 !important;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 0 !important;
}
.comp27-verse {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem !important;
    font-style: italic;
    color: rgba(255,255,255,0.82) !important;
    line-height: 1.6 !important;
    margin: 4px 0 0 !important;
}
.comp27-verse em { font-style: italic; color: rgba(255,255,255,0.60); }

/* Divider */
.comp27-divider {
    height: 1px;
    background: rgba(255,255,255,0.14);
    margin: 44px 0;
}

/* Body grid */
.comp27-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

/* Left */
.comp27-desc p {
    color: rgba(255,255,255,0.78) !important;
    font-size: 1rem !important;
    line-height: 1.85 !important;
    margin-bottom: 16px !important;
}
.comp27-desc p:last-of-type { margin-bottom: 24px !important; }
.comp27-desc strong { color: #fff; font-weight: 700; }

/* Right — image */
.comp27-img-wrap {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.30);
    border: 1px solid rgba(255,255,255,0.12);
}
.comp27-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.comp27-img-wrap:hover img { transform: scale(1.04); }

/* Listing */
.comp27-rule-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.comp27-rule-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,0.10);
    transition: var(--trans);
}
.comp27-rule-list li:first-child { border-top: 1px solid rgba(255,255,255,0.10); }
.comp27-rule-list li:hover { padding-left: 6px; }

/* icon badge */
.comp27-rule-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.22);
    transition: var(--trans);
}
.comp27-rule-list li:hover .comp27-rule-icon {
    background: rgba(255,255,255,0.28);
    transform: scale(1.08);
}
.comp27-rule-icon--deadline {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.18);
}
.comp27-rule-icon--venue {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.14);
    align-self: flex-start;
}

/* text inside each li */
.comp27-rule-list li .comp27-rule-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.comp27-rule-list li .comp27-rule-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    line-height: 1;
}
.comp27-rule-list li .comp27-rule-value {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
}
.comp27-rule-list li .comp27-rule-value strong { color: #fff; font-weight: 700; }

/* CTA button */
.comp27-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: var(--r-lg);
    padding: 18px 24px;
    text-decoration: none;
    transition: var(--trans);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.comp27-btn:hover {
    background: var(--off);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.24);
}
.comp27-btn-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--red-lt);
    border: 1px solid rgba(219,66,58,0.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; color: var(--red);
    flex-shrink: 0;
    transition: var(--trans);
}
.comp27-btn:hover .comp27-btn-icon { background: var(--red); color: #fff; }
.comp27-btn-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.comp27-btn-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}
.comp27-btn-text em {
    font-size: 0.78rem;
    font-style: normal;
    color: var(--muted);
}
.comp27-btn-arrow {
    color: var(--red);
    font-size: 0.9rem;
    transition: var(--trans);
}
.comp27-btn:hover .comp27-btn-arrow { transform: translateX(4px); }

/* ══════════════════════════════════════
   VIEW MORE MODAL
══════════════════════════════════════ */
.vm27-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 4px;
    padding-right: 40px;
}

.vm27-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,14,26,0.82);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    backdrop-filter: blur(4px);
}
.vm27-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
.vm27-modal {
    background: var(--white);
    border-radius: var(--r-lg);
    width: 100%;
    max-width: 1080px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 48px 40px;
    position: relative;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.30);
}
.vm27-overlay.is-open .vm27-modal { transform: translateY(0) scale(1); }
.vm27-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--off);
    color: var(--muted);
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: var(--trans);
}
.vm27-close:hover { background: var(--red); color: #fff; border-color: var(--red); }
.vm27-block {
    padding-bottom: 36px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border);
}
.vm27-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.vm27-block-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
    margin: 0 0 4px;
}
.vm27-block-title em { color: var(--red); font-style: italic; font-weight: 400; }
.vm27-block .r27 { margin-bottom: 20px; }
.vm27-gallery {
    margin: 0 0 20px;
    padding: 0 36px;
    position: relative;
}
.vm27-gallery .vm27-item {
    padding: 0 6px;
}
.vm27-item {
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--sh);
}
.vm27-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-radius: var(--r);
    transition: transform 0.4s ease;
}
.vm27-item:hover img { transform: scale(1.06); }
.vm27-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--sh-md);
    border: 1px solid var(--border);
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
    font-size: 13px;
    transition: var(--trans);
}
.vm27-arr:hover { background: var(--red); color: #fff; border-color: var(--red); }
.vm27-arr--prev { left: 0; }
.vm27-arr--next { right: 0; }
.vm27-gallery .slick-dots { bottom: -22px; }
.vm27-gallery .slick-dots li button::before { color: var(--red); }
.vm27-block p {
    color: #000000;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}
.vm27-block p:last-of-type { margin-bottom: 0; }
.vm27-footer {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    margin-top: 36px;
    display: flex;
    justify-content: flex-end;
}
@media (max-width: 640px) {
    .vm27-modal { padding: 32px 20px 28px; }
    .vm27-gallery { padding: 0 28px; }
    .vm27-block-title { font-size: 1.5rem; }
}

/* ══════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.reveal--left  { transform: translateX(-50px); }
.reveal.reveal--right { transform: translateX(50px); }
.reveal.reveal--scale { transform: scale(0.92); }
.reveal.is-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* ══════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(219,66,58,0.40);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease, background 0.25s ease;
    z-index: 9999;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--red-d);
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(219,66,58,0.50);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
    .h27-title { font-size: 4rem; }
    .h27-title em { font-size: 3.2rem; }
    .cta27-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .h27-grid, .fs27, .meets27-grid { grid-template-columns: 1fr; }
    .meets27-grid { gap: 28px; }
    .h27 { padding: 60px 0; }
    .h27-grid { gap: 36px; }
    .h27-title { font-size: 3.5rem; }
    .h27-title em { font-size: 2.8rem; }
    .fs27-img { min-height: 320px; }
    .fs27-body { padding: 56px 40px; }
    .cr27, .cr27--rev { grid-template-columns: 1fr; direction: ltr; }
    .cr27-img { min-height: 280px; }
    .cr27-img img { padding: 24px; height: 280px; object-fit: contain; }
    .cr27-body { padding: 40px 32px; }
    .cr27-num { font-size: 2.5rem; }
    .cr27-name { font-size: 1.6rem; }
    .meets27-grid { gap: 36px; }
    .comp27-grid { grid-template-columns: 1fr; gap: 32px; }
    .comp27-img-wrap { max-height: 360px; }
    .comp27-inner { padding: 48px 40px; }
    .cta27-grid { grid-template-columns: repeat(2, 1fr); }
    .t27 { font-size: 2.1rem; }
    .cta27-title { font-size: 2.2rem; }
}
@media (max-width: 575px) {
    .h27-title { font-size: 2.8rem; letter-spacing: -1px; }
    .h27-title em { font-size: 2.2rem; }
    .h27-card { padding: 28px 24px 28px 28px; }
    .fs27-body { padding: 44px 24px; }
    .cr27-body { padding: 32px 20px; }
    .cta27-grid { grid-template-columns: 1fr; }
    .cta27-title { font-size: 1.8rem; }
    .t27 { font-size: 1.8rem; }
    .crafts27 { padding: 64px 0; }
    .meets27  { padding: 64px 0; }
    .meets27-concept-top, .meets27-concept p, .meets27-concept-footer { padding-left: 24px; padding-right: 24px; }
    .meets27-concept-footer { margin-left: 24px; margin-right: 24px; }
    .comp27-inner { padding: 36px 24px; }
    .comp27-title { font-size: 1.9rem; }
    .cta27    { padding: 64px 0; }
}

/* comp27 slider */
.comp27-slider .slick-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: var(--r-lg);
}
.comp27-arr {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.20);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.35);
    z-index: 2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    transition: var(--trans);
}
.comp27-arr:hover { background: rgba(255,255,255,0.40); }
.comp27-arr--prev { left: 10px; }
.comp27-arr--next { right: 10px; }
.comp27-slider .slick-dots { bottom: 12px; }
.comp27-slider .slick-dots li button::before { color: #fff; opacity: 0.6; font-size: 8px; }
.comp27-slider .slick-dots li.slick-active button::before { opacity: 1; }

/* comp27 explore text + btn */
.comp27-explore-text {
    text-align: center;
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.85rem !important;
    font-style: italic;
    margin: 16px 0 10px !important;
    line-height: 1.5 !important;
}
.comp27-explore-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    color: var(--red);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--r);
    transition: var(--trans);
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
}
.comp27-explore-btn:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.24);
}
