/* ==========================================================
   Prashant BH Artist - public site stylesheet
   Mobile-first. No framework dependency.
   ========================================================== */
:root {
  --ink: #1c1a17;
  --ink-2: #2b2824;
  --paper: #faf7f2;
  --white: #fff;
  --stone: #ece6dc;
  --stone-2: #d9d0c1;
  --muted: #6f685f;
  --accent: #b4562f;
  --accent-dark: #93441f;
  --gold: #c9a24b;
  --ok: #2f7d4f;
  --sold: #8a8176;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 26, 23, .12);
  --shadow-sm: 0 3px 12px rgba(28, 26, 23, .1);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 300; }
.skip-link:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 56px 0; }
.section-alt { background: var(--stone); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 34px; }
.section-head p { color: var(--muted); }
.eyebrow { display: block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.divider { width: 64px; height: 3px; background: var(--gold); margin: 14px auto 0; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: .95rem; cursor: pointer; transition: .2s ease; text-align: center; line-height: 1.2;
}
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--gold); color: var(--ink); }
.btn-outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 8px 16px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28, 26, 23, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { width: min(1280px, 100% - 24px); margin-inline: auto; min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; min-width: 0; }
.brand img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); flex: none; }
.brand-text { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: .14em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text b { color: var(--gold); font-weight: 700; }
.brand:hover { color: #fff; }

.nav-toggle { width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; flex: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile nav panel */
.main-nav {
  position: fixed; top: var(--header-h); bottom: 0; left: 0;
  width: min(84vw, 320px); background: var(--ink); padding: 8px 20px 40px; overflow-y: auto;
  box-shadow: 8px 0 30px rgba(0, 0, 0, .45);
  transform: translateX(-105%); visibility: hidden; transition: transform .3s ease, visibility .3s;
}
.main-nav.open { transform: none; visibility: visible; }
.nav-overlay { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(10, 9, 8, .6); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.nav-overlay.show { opacity: 1; visibility: visible; }

.main-nav.open { opacity: 1; transform: none; visibility: visible; }
.main-nav > ul > li > a, .main-nav .sub-menu a { display: block; color: #e9e3d8; padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .08); font-weight: 500; }
.main-nav a:hover, .nav-link.active { color: var(--gold); }
.has-sub > a { display: flex !important; justify-content: space-between; align-items: center; }
.caret { font-size: .7rem; transition: transform .2s; }
.has-sub.open .caret { transform: rotate(180deg); }
.sub-menu { display: none; padding-left: 14px; }
.has-sub.open .sub-menu { display: block; }
.sub-menu a { font-size: .95rem; color: #cfc8ba !important; }
.nav-social { display: flex; gap: 12px; margin-top: 22px; }
.nav-social a, .footer-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff; font-size: 1rem; transition: .2s;
}
.nav-social a:hover, .footer-social a:hover { background: var(--gold); color: var(--ink); }

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .nav-overlay { display: none; }
  .main-nav { position: static; width: auto; box-shadow: none; transform: none; visibility: visible; background: transparent; padding: 0; overflow: visible; display: flex; align-items: center; gap: 22px; }  .main-nav > ul { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul > li > a { border: 0; padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
  .nav-link.active { background: rgba(201, 162, 75, .16); }
  .has-sub { position: relative; }
  .sub-menu {
    display: block; position: absolute; top: 100%; left: 0; min-width: 230px; padding: 8px;
    background: #fff; border-radius: 12px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
  }
  .has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu { opacity: 1; visibility: visible; transform: none; }
  .sub-menu a { border: 0; padding: 10px 14px; border-radius: 8px; color: var(--ink) !important; }
  .sub-menu a:hover { background: var(--stone); color: var(--accent) !important; }
  .nav-social { margin: 0; gap: 8px; }
  .nav-social a { width: 36px; height: 36px; font-size: .9rem; }
}
@media (max-width: 420px) { .brand-text { font-size: 1rem; letter-spacing: .08em; } }

/* ---------- Hero slider (home) ---------- */
.hero { position: relative; height: clamp(420px, 78vh, 760px); background: var(--ink); overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .65)); pointer-events: none; }
.hero-content { position: absolute; z-index: 2; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 24px 64px; color: #fff; }
.hero-content .eyebrow { color: var(--gold); }
.hero-content h1 { color: #fff; max-width: 880px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); font-size: clamp(1.8rem, 5.2vw, 3.4rem); font-style: italic; font-weight: 500; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }
.hero-dots { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: .2s; }
.hero-dots button.active { background: var(--gold); width: 28px; border-radius: 6px; }
.hero-arrow { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .4); color: #fff; cursor: pointer; display: none; }
.hero-arrow:hover { background: var(--accent); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
@media (min-width: 768px) { .hero-arrow { display: block; } }

/* ---------- Intro ---------- */
.intro { background: var(--ink-2); color: #e9e3d8; text-align: center; padding: 64px 0; }
.intro h2 { color: #fff; }
.intro p { max-width: 760px; margin: 0 auto 26px; font-size: 1.1rem; color: #d8d1c4; }

/* ---------- Horizontal scroller (recent works) ---------- */
.scroller-wrap { position: relative; }
.scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.scroller > * { scroll-snap-align: start; flex: none; }
.scroll-item { width: min(78vw, 300px); }
.scroll-item .art-frame { aspect-ratio: 4 / 5; }
.scroller-btn { position: absolute; top: 42%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; z-index: 2; display: none; box-shadow: var(--shadow-sm); }
.scroller-btn:hover { background: var(--accent); }
.scroller-btn.prev { left: -14px; } .scroller-btn.next { right: -14px; }
@media (min-width: 992px) { .scroller-btn { display: block; } .scroll-item { width: 300px; } }

/* ---------- Artwork cards ---------- */
.art-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 560px) { .art-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .art-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
@media (min-width: 1200px) { .art-grid { grid-template-columns: repeat(4, 1fr); } }

.art-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-frame { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--stone); padding: 16px; overflow: hidden; }
.art-frame img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .25)); transition: transform .5s ease; }
.art-card:hover .art-frame img { transform: scale(1.04); }
.chip { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff; text-transform: uppercase; }
.chip.is-available { background: var(--ok); } .chip.is-sold { background: var(--sold); }
.art-info { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.art-type { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.art-title { font-size: 1.3rem; margin-bottom: 4px; }
.art-title a { color: var(--ink); } .art-title a:hover { color: var(--accent); }
.art-dim { font-size: .85rem; color: var(--muted); margin-bottom: 12px; }
.art-actions { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Mediums ---------- */
.medium-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 768px) { .medium-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .medium-grid { grid-template-columns: repeat(4, 1fr); } }
.medium-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); box-shadow: var(--shadow-sm); }
.medium-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.medium-card:hover img { transform: scale(1.07); }
.medium-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 12px; text-align: center; color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }

/* ---------- Videos ---------- */
.video-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-card .ratio { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card h3 { margin: 0; padding: 14px; text-align: center; font-size: 1.15rem; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; background: url('../images/testi_bg.jpg') center / cover no-repeat; color: #fff; padding: 64px 0 70px; }
.testimonials::before { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 15, .78); }
.testimonials .container { position: relative; }
.testimonials h2 { color: #fff; text-align: center; }
.t-slider { max-width: 860px; margin: 28px auto 0; }
.t-track { display: grid; }
.t-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s; text-align: center; padding: 0 6px; }
.t-slide.active { opacity: 1; visibility: visible; }
.t-slide img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 3px solid var(--gold); padding: 4px; background: rgba(255, 255, 255, .1); }
.t-slide h3 { color: #fff; margin-bottom: 4px; font-size: 1.5rem; }
.t-role { color: #cbbfa8; font-size: .85rem; margin-bottom: 16px; }
.t-text { font-size: 1rem; color: #e8e2d6; line-height: 1.8; margin: 0; }
.t-text::before { content: "\201C"; display: block; font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--gold); }
.t-dots { display: flex; justify-content: center; gap: 8px; margin-top: 26px; }
.t-dots button { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; }
.t-dots button.active { background: var(--gold); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--accent), #8c3a18); color: #fff; text-align: center; padding: 52px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { max-width: 640px; margin: 0 auto 22px; color: #fbe9de; }

/* ---------- Inner page banner ---------- */
.page-hero { position: relative; color: #fff; text-align: center; padding: 56px 0 48px; background: linear-gradient(135deg, #1c1a17, #3a342c); overflow: hidden; }
.page-hero.has-img { background-size: cover; background-position: center; }
.page-hero.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 15, .62); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #e0d8c9; margin: 0 auto; max-width: 640px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; font-size: .85rem; margin-bottom: 14px; color: #cbbfa8; }
.breadcrumb a { color: #fff; } .breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }

/* ---------- Gallery filter ---------- */
.filter-bar { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.search-form { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.search-form input { width: 100%; padding: 14px 52px 14px 20px; border-radius: 999px; border: 1px solid var(--stone-2); background: #fff; font-size: 1rem; font-family: inherit; }
.search-form input:focus { outline: 3px solid rgba(201, 162, 75, .5); border-color: var(--gold); }
.search-form button { position: absolute; right: 6px; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--accent); color: #fff; cursor: pointer; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; justify-content: flex-start; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 768px) { .chips { flex-wrap: wrap; justify-content: center; overflow: visible; } }
.chip-link { flex: none; padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--stone-2); color: var(--ink); font-weight: 500; font-size: .9rem; white-space: nowrap; }
.chip-link:hover { border-color: var(--accent); color: var(--accent); }
.chip-link.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-count { text-align: center; color: var(--muted); margin-bottom: 22px; }
.empty-state { text-align: center; padding: 60px 16px; color: var(--muted); }
.empty-state i { font-size: 2.6rem; color: var(--stone-2); display: block; margin-bottom: 14px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; background: #fff; border: 1px solid var(--stone-2); color: var(--ink); font-weight: 500; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Single product ---------- */
.product-layout { display: grid; gap: 32px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 992px) { .product-layout { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.viewer { background: var(--stone); border-radius: var(--radius); padding: 18px; position: relative; }
.viewer-main { display: grid; place-items: center; min-height: 280px; cursor: zoom-in; }
.viewer-main img { max-height: 76vh; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .3)); }
.zoom-hint { position: absolute; right: 26px; top: 26px; background: rgba(28, 26, 23, .75); color: #fff; font-size: .75rem; padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 74px; height: 74px; border: 2px solid transparent; border-radius: 10px; background: #fff; padding: 3px; cursor: pointer; }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; border-radius: 7px; }
.thumbs button.active { border-color: var(--accent); }
.product-info .art-type { font-size: .8rem; }
.product-info h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 12px; }
.status-pill { display: inline-block; padding: 5px 16px; border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; }
.status-pill.is-available { background: var(--ok); } .status-pill.is-sold { background: var(--sold); }
.spec { width: 100%; border-collapse: collapse; margin: 6px 0 22px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.spec th, .spec td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--stone); font-size: .95rem; vertical-align: top; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }
.spec th { width: 38%; color: var(--muted); font-weight: 500; background: #fcfaf6; }
.product-desc h2 { font-size: 1.5rem; }
.product-desc p { color: #3c3832; }
.product-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.note { font-size: .9rem; color: var(--muted); margin-top: 14px; }

/* ---------- Forms (enquiry / join) ---------- */
.form-card { max-width: 640px; margin: 0 auto; background: #fff; padding: 28px 22px; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (min-width: 600px) { .form-card { padding: 38px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font: inherit; font-size: 1rem; border: 1px solid var(--stone-2); border-radius: 10px; background: #fdfcfa; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(201, 162, 75, .45); border-color: var(--gold); background: #fff; }
.field .hint { font-size: .78rem; color: var(--muted); margin-top: 4px; }
.field-row { display: grid; gap: 0 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .95rem; }
.alert-error { background: #fdecea; color: #8a1f17; border: 1px solid #f5c2bd; }
.alert-ok { background: #eaf6ee; color: #1f5a37; border: 1px solid #bfe3cc; }
.enquiry-item { display: flex; gap: 16px; align-items: center; background: var(--stone); border-radius: 12px; padding: 12px; margin-bottom: 24px; }
.enquiry-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 8px; flex: none; background: #fff; }
.enquiry-item h3 { margin: 0 0 2px; font-size: 1.2rem; } .enquiry-item p { margin: 0; font-size: .85rem; color: var(--muted); }
.success-box { text-align: center; padding: 10px 0; }
.success-box i { font-size: 3.2rem; color: var(--ok); margin-bottom: 12px; }
.ref-number { display: inline-block; margin: 8px 0 18px; padding: 8px 22px; border-radius: 10px; background: var(--stone); font-weight: 700; letter-spacing: .12em; font-size: 1.3rem; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 30px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 340px 1fr; gap: 50px; } .about-photo { position: sticky; top: calc(var(--header-h) + 24px); } }
.about-photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text p { font-size: 1.05rem; color: #3a362f; white-space: pre-line; }
.about-block { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 24px; margin-top: 26px; border-left: 5px solid var(--gold); }
.about-block h3 { color: var(--accent); }
.about-block p:last-child { margin-bottom: 0; }
.cert-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cert-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cert-grid a { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); }
.cert-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.cert-grid a:hover img { transform: scale(1.06); }

/* ---------- Contact ---------- */
.contact-hero { position: relative; background: url('../images/contact_img.jpeg') center / cover no-repeat; padding: 70px 0; }
.contact-hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 18, 15, .6); }
.contact-hero .container { position: relative; }
.contact-hero h1 { color: #fff; text-align: center; margin-bottom: 30px; }
.contact-cards { display: grid; gap: 18px; grid-template-columns: 1fr; max-width: 980px; margin: 0 auto; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: rgba(255, 255, 255, .95); border-radius: var(--radius); padding: 28px 20px; text-align: center; box-shadow: var(--shadow); color: var(--ink); display: block; transition: transform .2s; }
a.contact-card:hover { transform: translateY(-4px); color: var(--ink); }
.contact-card i { font-size: 1.8rem; color: var(--accent); margin-bottom: 12px; }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--muted); font-size: .95rem; word-break: break-word; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- E-Learning ---------- */
.elearn-banner img { width: 100%; max-height: 520px; object-fit: cover; }
.elearn-intro { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.photo-grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .photo-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.photo-grid a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--stone); }
.photo-grid img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.05); }
.join-fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; box-shadow: var(--shadow); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 400; background: rgba(15, 13, 11, .75); display: flex; align-items: flex-start; justify-content: center; padding: 16px; overflow-y: auto; }
.modal-box { background: #fff; width: min(620px, 100%); border-radius: var(--radius); margin: auto; padding: 24px 20px; position: relative; box-shadow: var(--shadow); }
@media (min-width: 600px) { .modal-box { padding: 32px; } }
.modal-box h2 { font-size: 1.8rem; }
.modal-close { position: absolute; right: 12px; top: 8px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(10, 9, 8, .94); display: flex; align-items: center; justify-content: center; padding: 56px 12px 48px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 10px 50px rgba(0, 0, 0, .6); }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.3rem; }
.lb-close { top: 10px; right: 10px; font-size: 2rem; line-height: 1; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); } .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--accent); }
.lb-count { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #cfc8ba; font-size: .85rem; margin: 0; }
.lightbox.single .lb-prev, .lightbox.single .lb-next, .lightbox.single .lb-count { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: #151311; color: #cfc8ba; margin-top: 0; }
.footer-inner { width: min(1200px, 100% - 32px); margin-inline: auto; padding: 44px 0 26px; display: grid; gap: 26px; text-align: center; justify-items: center; }
@media (min-width: 900px) { .footer-inner { grid-template-columns: 1.3fr 1.5fr auto; text-align: left; justify-items: start; align-items: center; } }
.footer-brand { display: flex; align-items: center; gap: 14px; text-align: left; }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; }
.footer-name { font-family: var(--font-display); color: #fff; font-size: 1.25rem; letter-spacing: .14em; margin: 0; }
.footer-tag { margin: 2px 0 0; font-size: .85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.footer-links a { color: #cfc8ba; font-size: .92rem; } .footer-links a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; padding: 18px 16px; font-size: .85rem; }
.footer-bottom p { margin: 2px 0; } .footer-bottom a { color: var(--gold); }

.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .25s; }
.to-top.show { opacity: 1; visibility: visible; }
body.has-fab .to-top { bottom: 76px; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
body.no-scroll { overflow: hidden; }
