/* ============================================================
   JAIRO ENTERPRISES — Premium Institutional Catering
   Palette: Crimson #C41E3A · Green #2D6A4F · Gold #C9A052
   ============================================================ */
:root {
  --crimson:    #C41E3A;
  --crimson-dk: #9B1630;
  --crimson-lt: #FBE8EC;
  --green:      #2D6A4F;
  --green-dk:   #1B4332;
  --green-lt:   #EAF5EF;
  --gold:       #C9A052;
  --gold-dk:    #A07830;
  --gold-lt:    #FDF6E7;
  --dark:       #0F0F0F;
  --dark-2:     #1C1C1C;
  --body:       #3D3D4E;
  --muted:      #7A7A8A;
  --cream:      #FAF8F5;
  --cream-2:    #F3EDE6;
  --white:      #FFFFFF;
  --line:       #E8DDD5;
  --radius:     10px;
  --radius-lg:  18px;
  --shadow:     0 6px 24px rgba(15,15,15,0.07);
  --shadow-md:  0 14px 44px rgba(15,15,15,0.11);
  --shadow-lg:  0 28px 72px rgba(15,15,15,0.16);
  --ease:       cubic-bezier(.4,0,.2,1);
  --font-head:  'Poppins', system-ui, sans-serif;
  --font-body:  'Inter', system-ui, sans-serif;
  --maxw:       1200px;
}

/* — Reset — */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--body); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; color: var(--dark); font-weight: 700; }

/* — Layout — */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 36px; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-dark { background: var(--dark-2); }

/* — Eyebrow — */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; font-family: var(--font-head); }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }
.h-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; }
.h-sub { font-size: 16.5px; color: var(--body); max-width: 640px; margin-top: 16px; line-height: 1.75; }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .h-sub { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 56px; }
.gold-rule { width: 52px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-dk)); border-radius: 2px; margin: 16px 0 0; }
.center .gold-rule { margin: 16px auto 0; }

/* — Buttons — */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 14px 28px; border-radius: 8px; font-size: 14px; font-weight: 600; font-family: var(--font-head); cursor: pointer; border: 2px solid transparent; transition: all .22s var(--ease); }
.btn-crimson { background: var(--crimson); color: #fff; }
.btn-crimson:hover { background: var(--crimson-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(196,30,58,0.35); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dk); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(45,106,79,0.35); }
.btn-gold { background: var(--gold); color: var(--dark); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dk); color: #fff; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--line); }
.btn-outline-dark:hover { border-color: var(--crimson); color: var(--crimson); }

/* ── NAVBAR ── */
.nav { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 72px; width: auto; max-width: 200px; object-fit: contain; display: block; }
.nav-logo-text { line-height: 1; }
.nav-logo-name { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: var(--crimson); letter-spacing: 0.04em; }
.nav-logo-tag { font-size: 9px; font-weight: 600; color: var(--gold); letter-spacing: 0.06em; text-transform: none; display: block; margin-top: 4px; font-style: italic; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--body); font-family: var(--font-head); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--crimson); }
.nav-links a.active::after { content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--crimson); border-radius:2px; }
.nav-right { display: flex; align-items: center; gap: 14px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: .3s; }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: 0.42; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(10,10,10,0.92) 0%, rgba(155,22,48,0.28) 50%, rgba(10,10,10,0.72) 100%); }
.hero-in { position: relative; z-index: 2; padding: 130px 0 90px; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; background: rgba(201,160,82,0.14); border: 1px solid rgba(201,160,82,0.38); border-radius: 30px; font-size: 11.5px; font-weight: 700; color: #E8C57A; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; font-family: var(--font-head); }
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex-shrink: 0; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.hero h1 { font-size: clamp(38px, 5.5vw, 68px); color: #fff; font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero h1 .gold { color: var(--gold); }
.hero p.lead { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 560px; line-height: 1.78; margin-bottom: 38px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.12); }
.hstat-num { font-size: 30px; font-weight: 800; color: var(--gold); font-family: var(--font-head); line-height: 1; }
.hstat-lbl { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 5px; font-weight: 500; }

/* ── CLIENT TICKER ── */
.ticker-section { background: var(--white); border-bottom: 1px solid var(--line); padding: 32px 0; overflow: hidden; }
.ticker-label { text-align: center; font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; font-family: var(--font-head); }
.ticker-wrap { overflow: hidden; position: relative; }
.ticker-wrap::before, .ticker-wrap::after { content:''; position:absolute; top:0; bottom:0; width:100px; z-index:2; pointer-events:none; }
.ticker-wrap::before { left:0; background:linear-gradient(to right,#fff,transparent); }
.ticker-wrap::after { right:0; background:linear-gradient(to left,#fff,transparent); }
.ticker-track { display: flex; gap: 20px; width: max-content; animation: ticker 36s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.client-chip { display: flex; align-items: center; justify-content: center; padding: 12px 26px; background: var(--cream); border: 1px solid var(--line); border-radius: 8px; white-space: nowrap; min-width: 150px; height: 58px; transition: border-color .2s, box-shadow .2s; }
.client-chip:hover { border-color: var(--gold); box-shadow: 0 4px 14px rgba(201,160,82,0.18); }
.cl-name { font-family: var(--font-head); font-weight: 700; font-size: 13px; text-align: center; line-height: 1.25; }
.cl-apollo  { color: #1a1a1a; }
.cl-johnson { color: #003087; }
.cl-lyb     { color: #00664a; }
.cl-sandhar { color: #d62b1f; }
.cl-poly    { color: #004b9b; }
.cl-isf     { color: #E63329; }
.cl-vignesh { color: #0055a5; }
.cl-jafi    { color: #333; }
.cl-nippon  { color: #b00; }
.cl-prf     { color: #c4001a; }
.cl-chemmat { color: #0052a5; }
.cl-avlight { color: #222; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.md-badge { display: inline-flex; align-items: center; gap: 12px; background: var(--gold-lt); border: 1px solid rgba(201,160,82,0.28); border-radius: 10px; padding: 12px 18px; margin-top: 26px; }
.md-badge svg { width: 22px; height: 22px; color: var(--gold); flex-shrink: 0; }
.md-name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--dark); }
.md-title { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── STATS BAR ── */
.stats-bar { background: var(--green-dk); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat-item { text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,0.12); }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: clamp(36px,4vw,54px); font-weight: 800; color: var(--gold); font-family: var(--font-head); line-height: 1; }
.stat-lbl { font-size: 13.5px; color: rgba(255,255,255,0.62); margin-top: 8px; font-weight: 500; }

/* ── SECTOR CARDS ── */
.sector-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.sector-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease); background: var(--white); }
.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.sc-img { position: relative; overflow: hidden; }
.sc-img img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .5s var(--ease); }
.sector-card:hover .sc-img img { transform: scale(1.06); }
.sc-tag { position:absolute; bottom:14px; left:14px; background:rgba(15,15,15,0.72); color:#fff; padding:5px 13px; border-radius:5px; font-size:12px; font-weight:700; font-family:var(--font-head); backdrop-filter:blur(6px); letter-spacing:0.05em; }
.sc-body { padding: 26px 28px; }
.sc-body h3 { font-size: 20px; margin-bottom: 10px; }
.sc-body p { font-size: 14.5px; color: var(--body); line-height: 1.68; margin-bottom: 18px; }
.sc-link { display:inline-flex; align-items:center; gap:6px; font-size:13.5px; font-weight:700; color:var(--green); font-family:var(--font-head); transition:gap .2s; }
.sc-link:hover { gap: 10px; }

/* ── WHY CHOOSE ── */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 34px 44px; }
.why-item { display: flex; gap: 18px; }
.why-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--crimson-lt); color: var(--crimson); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background .2s; }
.why-item:hover .why-icon { background: var(--crimson); color: #fff; }
.why-icon svg { width: 24px; height: 24px; }
.why-body h4 { font-size: 16.5px; margin-bottom: 7px; }
.why-body p { font-size: 14px; color: var(--body); line-height: 1.68; }

/* ── GALLERY PREVIEW ── */
.gal-preview { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.gal-thumb { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gal-thumb img { width:100%; aspect-ratio:4/3; object-fit:cover; transition:transform .4s var(--ease); }
.gal-thumb:hover img { transform: scale(1.06); }
.gal-thumb-ov { position:absolute; inset:0; background:rgba(196,30,58,0); transition:background .3s; display:flex; align-items:center; justify-content:center; }
.gal-thumb:hover .gal-thumb-ov { background: rgba(196,30,58,0.38); }
.gal-thumb-ov svg { opacity:0; transform:scale(.7); transition:all .3s; color:#fff; width:34px; height:34px; }
.gal-thumb:hover .gal-thumb-ov svg { opacity:1; transform:scale(1); }

/* ── CTA BAND ── */
.cta-band { background: linear-gradient(120deg, var(--green-dk) 0%, var(--green) 100%); padding: 76px 0; position: relative; overflow: hidden; }
.cta-band::before { content:''; position:absolute; right:-80px; top:50%; transform:translateY(-50%); width:480px; height:480px; border-radius:50%; background:rgba(201,160,82,0.08); }
.cta-in { position: relative; z-index:1; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-in h2 { color:#fff; font-size:clamp(24px,3vw,36px); }
.cta-in h2 .gold { color: var(--gold); }
.cta-in p { color:rgba(255,255,255,0.7); font-size:15.5px; margin-top:10px; max-width:500px; }
.cta-btns { display:flex; gap:14px; flex-wrap:wrap; flex-shrink:0; }

/* ── FOOTER ── */
.footer { background: var(--dark-2); color:#fff; padding: 72px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.3fr; gap: 44px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.foot-desc { color:rgba(255,255,255,0.5); font-size:14px; margin-top:16px; max-width:290px; line-height:1.75; }
.foot-social { display:flex; gap:10px; margin-top:22px; }
.foot-social a { width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,0.07); color:rgba(255,255,255,0.6); display:flex; align-items:center; justify-content:center; transition:background .2s,color .2s; }
.foot-social a:hover { background:var(--crimson); color:#fff; }
.foot-col h5 { color:#fff; font-size:11px; letter-spacing:0.16em; text-transform:uppercase; margin-bottom:18px; font-family:var(--font-head); font-weight:700; }
.foot-col a, .foot-col p { display:block; color:rgba(255,255,255,0.5); font-size:14px; margin-bottom:12px; transition:color .2s; line-height:1.6; }
.foot-col a:hover { color:var(--gold); }
.ci { display:flex; gap:10px; align-items:flex-start; color:rgba(255,255,255,0.5); font-size:14px; margin-bottom:14px; }
.ci svg { flex-shrink:0; margin-top:2px; color:var(--gold); width:15px; height:15px; }
.foot-bottom { display:flex; justify-content:space-between; align-items:center; gap:16px; padding-top:28px; font-size:13px; color:rgba(255,255,255,0.32); flex-wrap:wrap; }
.foot-bottom a { color:rgba(255,255,255,0.42); transition:color .2s; }
.foot-bottom a:hover { color:var(--gold); }

/* ── PAGE HERO ── */
.phero { background: linear-gradient(135deg, var(--dark) 0%, #3a0e18 100%); color:#fff; padding:74px 0 60px; position:relative; overflow:hidden; }
.phero::before { content:''; position:absolute; right:-80px; top:-60px; width:360px; height:360px; border-radius:50%; background:rgba(201,160,82,0.06); }
.phero::after { content:''; position:absolute; left:40%; bottom:-40px; width:5px; height:140%; background:rgba(201,160,82,0.06); transform:rotate(25deg); }
.phero-in { position:relative; z-index:1; }
.phero h1 { color:#fff; font-size:clamp(32px,4vw,50px); }
.crumb { font-size:13.5px; color:rgba(255,255,255,0.48); margin-top:12px; }
.crumb a:hover { color:var(--gold); }

/* ── SECTORS DETAIL ── */
.sd-row { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; padding:72px 0; border-bottom:1px solid var(--line); }
.sd-row:first-child { padding-top:0; }
.sd-row:last-child { border-bottom:none; }
.sd-row.rev .sd-media { order:2; }
.sd-media { border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.sd-media img { width:100%; aspect-ratio:5/4; object-fit:cover; }
.sd-body h2 { font-size:clamp(24px,2.8vw,34px); margin-bottom:14px; }
.sd-body > p { font-size:15.5px; color:var(--body); line-height:1.78; margin-bottom:26px; }
.sd-tags { display:grid; grid-template-columns:1fr 1fr; gap:10px 22px; margin-bottom:30px; }
.sd-tags li { font-size:14px; color:var(--body); display:flex; align-items:center; gap:10px; font-weight:500; }
.sd-tags li::before { content:''; width:8px; height:8px; border-radius:50%; background:var(--green); flex-shrink:0; }

/* ── GALLERY PAGE ── */
.gallery-masonry { columns:3; column-gap:16px; }
.gal-item { break-inside:avoid; margin-bottom:16px; border-radius:var(--radius); overflow:hidden; position:relative; cursor:pointer; }
.gal-item img { width:100%; display:block; transition:transform .4s var(--ease); }
.gal-item:hover img { transform:scale(1.04); }
.gal-cap-ov { position:absolute; bottom:0; left:0; right:0; padding:16px; background:linear-gradient(to top,rgba(10,10,10,0.8) 0%,transparent); color:#fff; font-size:13px; font-weight:500; opacity:0; transition:opacity .3s; }
.gal-item:hover .gal-cap-ov { opacity:1; }
.gal-empty { text-align:center; padding:100px 20px; color:var(--muted); }
.gal-empty svg { width:64px; height:64px; margin:0 auto 18px; opacity:.35; }

/* — Lightbox — */
.lightbox { position:fixed; inset:0; background:rgba(10,10,10,0.94); z-index:9999; display:none; align-items:center; justify-content:center; padding:20px; }
.lightbox.open { display:flex; flex-direction:column; gap:14px; }
.lightbox img { max-width:90vw; max-height:80vh; border-radius:var(--radius); object-fit:contain; }
.lb-close { position:absolute; top:18px; right:22px; background:rgba(255,255,255,0.1); border:none; color:#fff; width:44px; height:44px; border-radius:50%; cursor:pointer; font-size:20px; display:flex; align-items:center; justify-content:center; }
.lb-caption { color:rgba(255,255,255,0.72); font-size:14px; text-align:center; }

/* ── ABOUT PAGE ── */
.mv-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.mv-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:38px; box-shadow:var(--shadow); }
.mv-card .mc-icon { width:58px; height:58px; border-radius:14px; background:var(--gold-lt); color:var(--gold); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.mv-card .mc-icon svg { width:28px; height:28px; }
.mv-card h3 { font-size:22px; margin-bottom:12px; }
.mv-card p { font-size:15.5px; color:var(--body); line-height:1.75; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1.3fr 0.9fr; gap:40px; align-items:start; }
.contact-grid>*, .form-row>.field { min-width:0; }
.form-card { background:var(--white); border:1px solid var(--line); border-radius:var(--radius-lg); padding:40px; box-shadow:var(--shadow); }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field { margin-bottom:20px; display:flex; flex-direction:column; gap:7px; }
.field.full { grid-column:1/-1; }
.field label { font-size:13px; font-weight:600; color:var(--dark); font-family:var(--font-head); }
.field input, .field select, .field textarea { padding:13px 16px; border:1.5px solid var(--line); border-radius:8px; font-family:var(--font-body); font-size:14.5px; color:var(--dark); background:var(--cream); outline:none; transition:border-color .2s,box-shadow .2s; width:100%; }
.field input:focus, .field select:focus, .field textarea:focus { border-color:var(--green); background:#fff; box-shadow:0 0 0 3px rgba(45,106,79,0.1); }
.field textarea { resize:vertical; min-height:120px; }
.file-area { border:2px dashed var(--line); border-radius:10px; padding:22px; text-align:center; cursor:pointer; transition:border-color .2s,background .2s; background:var(--cream); }
.file-area:hover { border-color:var(--green); background:var(--green-lt); }
.file-area input[type=file] { display:none; }
.file-area p { font-size:13px; color:var(--muted); margin-top:6px; }
#fileName { font-size:13px; color:var(--green); font-weight:600; margin-top:6px; }
#formMsg { display:none; background:#e8f5ee; color:#1c7d46; border:1px solid #b8e0c8; padding:14px 18px; border-radius:8px; font-size:14px; font-weight:600; margin-bottom:18px; }
#progressWrap { display:none; height:4px; background:var(--line); border-radius:4px; margin:6px 0 14px; overflow:hidden; }
#progressFill { height:100%; width:0; background:var(--green); transition:width .25s; }
.info-box { background:var(--dark-2); color:#fff; border-radius:var(--radius-lg); padding:34px; }
.info-box h3 { color:#fff; font-size:20px; margin-bottom:26px; }
.info-row { display:flex; gap:15px; margin-bottom:22px; }
.info-row:last-child { margin-bottom:0; }
.ii { width:44px; height:44px; border-radius:11px; background:rgba(201,160,82,0.15); color:var(--gold); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.info-row h5 { color:rgba(255,255,255,0.48); font-size:11px; letter-spacing:0.12em; text-transform:uppercase; margin-bottom:4px; font-family:var(--font-head); }
.info-row p, .info-row a { color:rgba(255,255,255,0.82); font-size:14px; line-height:1.6; }
.info-row a:hover { color:var(--gold); }
.enquire-box { background:linear-gradient(135deg,var(--crimson),var(--crimson-dk)); border-radius:var(--radius-lg); padding:30px; color:#fff; margin-top:20px; }
.enquire-box h4 { font-size:18px; margin-bottom:8px; }
.enquire-box p { font-size:14px; color:rgba(255,255,255,0.8); margin-bottom:18px; }

/* ── ADMIN ── */
.admin-login-wrap { min-height:100vh; display:flex; align-items:center; justify-content:center; background:var(--cream); padding:20px; }
.admin-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:46px 42px; max-width:400px; width:100%; box-shadow:var(--shadow-md); }
.admin-card h1 { font-size:24px; margin:14px 0 4px; }
.admin-card p { font-size:14px; color:var(--muted); margin-bottom:28px; }
.admin-shell { display:none; min-height:100vh; background:var(--cream); }
.admin-bar { background:#fff; border-bottom:1px solid var(--line); padding:14px 28px; display:flex; align-items:center; justify-content:space-between; position:sticky; top:0; z-index:10; flex-wrap:wrap; gap:12px; }
.admin-bar .ab-logo { font-family:var(--font-head); font-size:15px; font-weight:800; color:var(--crimson); display:flex; align-items:center; gap:10px; }
.admin-bar .ab-logo span { font-size:10px; background:var(--crimson); color:#fff; padding:2px 8px; border-radius:4px; letter-spacing:0.1em; font-weight:700; }
.admin-tabs { display:flex; gap:5px; background:var(--cream); border-radius:10px; padding:4px; }
.admin-tabs button { padding:9px 22px; border:none; background:none; border-radius:8px; font-family:var(--font-head); font-size:13.5px; font-weight:600; cursor:pointer; color:var(--muted); transition:background .2s,color .2s; }
.admin-tabs button.active { background:#fff; color:var(--dark); box-shadow:var(--shadow); }
.admin-main { max-width:1240px; margin:0 auto; padding:32px 28px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-bottom:28px; }
.astat { background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px 24px; box-shadow:var(--shadow); }
.astat .n { font-size:32px; font-weight:800; color:var(--dark); font-family:var(--font-head); letter-spacing:-0.03em; line-height:1; }
.astat .l { font-size:12.5px; color:var(--muted); font-weight:600; margin-top:4px; }
.astat.accent .n { color:var(--green); }
.admin-tab-panel { display:none; }
.admin-tab-panel.active { display:block; }
.toolbar { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-bottom:18px; }
.toolbar input, .toolbar select { padding:10px 14px; border:1px solid var(--line); border-radius:8px; font-family:var(--font-body); font-size:14px; background:#fff; outline:none; color:var(--dark); }
.toolbar input[type=search] { flex:1; min-width:220px; }
.table-wrap { background:#fff; border:1px solid var(--line); border-radius:14px; overflow:auto; box-shadow:var(--shadow); }
.atbl { width:100%; border-collapse:collapse; }
.atbl th { text-align:left; padding:14px 16px; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); background:var(--cream); border-bottom:1px solid var(--line); white-space:nowrap; font-family:var(--font-head); }
.atbl td { padding:14px 16px; font-size:14px; color:var(--dark); border-bottom:1px solid var(--line); vertical-align:middle; }
.atbl tr:last-child td { border-bottom:none; }
.atbl tr:hover td { background:#fdf8f5; }
.badge-new { display:inline-block; padding:4px 10px; border-radius:20px; font-size:12px; font-weight:700; background:var(--green-lt); color:var(--green); }
.status-sel { padding:6px 10px; border-radius:8px; border:1px solid var(--line); font-size:12.5px; font-weight:600; font-family:var(--font-head); cursor:pointer; background:#fff; color:var(--dark); }
.icon-btn { background:none; border:1px solid var(--line); border-radius:8px; padding:7px; cursor:pointer; color:var(--muted); display:inline-flex; margin-left:6px; }
.icon-btn:hover { border-color:var(--green); color:var(--green); }
.icon-btn.danger:hover { border-color:var(--crimson); color:var(--crimson); }
.tbl-empty { text-align:center; padding:60px; color:var(--muted); }
.modal-back { position:fixed; inset:0; background:rgba(15,15,15,0.55); display:none; align-items:center; justify-content:center; z-index:999; padding:20px; }
.modal-back.open { display:flex; }
.modal { background:#fff; border-radius:16px; max-width:580px; width:100%; padding:32px; box-shadow:var(--shadow-lg); max-height:88vh; overflow:auto; }
.modal h3 { font-size:20px; margin-bottom:6px; }
.mrow { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid var(--line); font-size:14px; }
.mrow b { min-width:120px; color:var(--muted); font-weight:600; }

/* Gallery upload in admin */
.gal-upload-box { background:#fff; border:2px dashed var(--line); border-radius:var(--radius-lg); padding:44px; text-align:center; cursor:pointer; transition:border-color .2s,background .2s; margin-bottom:24px; }
.gal-upload-box:hover,.gal-upload-box.drag { border-color:var(--green); background:var(--green-lt); }
.gal-upload-box input[type=file] { display:none; }
.gal-upload-box svg { width:48px; height:48px; color:var(--muted); margin:0 auto 14px; }
.gal-upload-box p { color:var(--muted); font-size:14px; }
.gal-upload-box .browse { color:var(--green); font-weight:700; text-decoration:underline; cursor:pointer; }
.gal-caption-row { display:flex; gap:12px; margin-bottom:20px; align-items:flex-end; }
.gal-caption-row input { flex:1; padding:12px 16px; border:1.5px solid var(--line); border-radius:8px; font-family:var(--font-body); font-size:14px; color:var(--dark); background:#fff; outline:none; }
.gal-caption-row input:focus { border-color:var(--green); }
.gal-prog { height:4px; background:var(--line); border-radius:4px; margin-bottom:16px; overflow:hidden; display:none; }
.gal-prog-fill { height:100%; background:var(--green); border-radius:4px; transition:width .25s; width:0; }
.admin-gal-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.admin-gal-item { position:relative; border-radius:var(--radius); overflow:hidden; }
.admin-gal-item img { width:100%; aspect-ratio:4/3; object-fit:cover; }
.admin-gal-ov { position:absolute; inset:0; background:rgba(15,15,15,0.6); display:none; align-items:center; justify-content:center; }
.admin-gal-item:hover .admin-gal-ov { display:flex; }
.gal-del-btn { background:var(--crimson); border:none; color:#fff; width:40px; height:40px; border-radius:8px; cursor:pointer; display:flex; align-items:center; justify-content:center; }
.admin-gal-cap { position:absolute; bottom:0; left:0; right:0; padding:8px 10px; background:rgba(15,15,15,0.72); color:rgba(255,255,255,0.85); font-size:12px; }
.admin-empty-gal { text-align:center; padding:60px; color:var(--muted); }

/* — Legal — */
.legal { max-width:820px; margin:0 auto; }
.legal h2 { font-size:22px; margin:36px 0 12px; }
.legal p { margin-bottom:14px; font-size:15.5px; line-height:1.78; }
.legal ul { margin:0 0 16px 24px; }
.legal li { list-style:disc; margin-bottom:8px; font-size:15px; }
.legal a { color:var(--crimson); }

/* — Reveal — */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease),transform .7s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.d1{transition-delay:.1s} .d2{transition-delay:.2s} .d3{transition-delay:.3s}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:1024px) {
  .sector-grid { grid-template-columns:1fr 1fr; }
  .gallery-masonry { columns:2; }
  .admin-gal-grid { grid-template-columns:repeat(3,1fr); }
  .foot-grid { grid-template-columns:1fr 1fr; gap:34px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .stat-item { border-right:none; border-bottom:1px solid rgba(255,255,255,0.12); padding:24px 0; }
  .stat-item:nth-child(3),.stat-item:last-child { border-bottom:none; }
}
@media (max-width:768px) {
  .wrap { padding:0 22px; }
  .section { padding:64px 0; }
  .about-split,.mv-grid,.sd-row,.sd-row.rev,.contact-grid { grid-template-columns:1fr; gap:30px; }
  .sd-row.rev .sd-media { order:0; }
  .why-grid { grid-template-columns:1fr 1fr; gap:26px; }
  .cta-in { flex-direction:column; text-align:center; }
  .cta-btns { justify-content:center; }
  .nav-links { display:none; position:fixed; top:76px; left:0; right:0; flex-direction:column; gap:0; background:#fff; border-bottom:1px solid var(--line); padding:10px 22px 22px; box-shadow:var(--shadow-md); z-index:999; }
  .nav-links.open { display:flex; }
  .nav-links a { padding:13px 0; border-bottom:1px solid var(--line); font-size:16px; }
  .nav-links a.active::after { display:none; }
  .burger { display:flex; }
  .nav-cta { display:none; }
  .hero { min-height:100svh; }
  .hero-in { padding:90px 0 60px; }
  .hero-stats { gap:24px; }
  .sector-grid { grid-template-columns:1fr; }
  .gal-preview { grid-template-columns:1fr 1fr; }
  .admin-stats { grid-template-columns:1fr 1fr; }
  .admin-gal-grid { grid-template-columns:repeat(2,1fr); }
  .form-row { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .wrap { padding:0 18px; }
  .hero h1 { font-size:34px; }
  .why-grid { grid-template-columns:1fr; }
  .gallery-masonry { columns:1; }
  .gal-preview { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr 1fr; }
  .foot-grid { grid-template-columns:1fr; }
  .hero-actions .btn { width:100%; justify-content:center; }
  .admin-gal-grid { grid-template-columns:1fr 1fr; }
  .sd-tags { grid-template-columns:1fr; }
}

/* ── CLIENT LOGO TICKER (image-based) ── */
.client-chip { display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid var(--line); border-radius:12px; padding:10px 22px; flex-shrink:0; height:60px; min-width:120px; }
.client-chip img { max-height:38px; max-width:110px; width:auto; object-fit:contain; filter:grayscale(40%); transition:filter .3s; }
.client-chip:hover img { filter:grayscale(0%); }

/* ── TEAM IMAGE GRID (about page) ── */
.team-img-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:10px; }
@media (max-width:768px) { .team-img-grid { grid-template-columns:1fr; } }

/* ── ADMIN GALLERY — card with caption below ── */
.admin-gal-item { display:flex; flex-direction:column; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); background:var(--white); }
.admin-gal-thumb { position:relative; aspect-ratio:4/3; overflow:hidden; }
.admin-gal-thumb img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.admin-gal-thumb:hover img { transform:scale(1.04); }
.admin-gal-ov { position:absolute; inset:0; background:rgba(0,0,0,.45); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity .2s; }
.admin-gal-thumb:hover .admin-gal-ov { opacity:1; }
.gal-del-btn { display:flex; align-items:center; gap:6px; background:var(--crimson); color:#fff; border:none; border-radius:8px; padding:8px 14px; font-size:13px; font-weight:600; cursor:pointer; }
.admin-gal-cap-text { font-family:var(--font-head); font-size:12.5px; font-weight:600; color:var(--body); padding:10px 12px; text-align:center; background:var(--white); border-top:1px solid var(--line); line-height:1.4; font-style:italic; }

/* ── GALLERY PREVIEW GRID (before upload) ── */
.gal-preview-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:14px; }
.gal-prev-item { position:relative; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; background:var(--white); }
.gal-prev-item img { width:100%; height:140px; object-fit:cover; display:block; }
.gal-prev-caption { width:100%; border:none; border-top:1px solid var(--line); padding:8px 10px; font-size:12px; font-family:var(--font-body); background:var(--light); color:var(--ink); outline:none; }
.gal-prev-remove { position:absolute; top:6px; right:6px; width:24px; height:24px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; border:none; font-size:15px; line-height:1; cursor:pointer; display:flex; align-items:center; justify-content:center; }

/* ── CHATBOT ── */
#jrChat { position:fixed; bottom:24px; right:24px; z-index:9999; font-family:var(--font-body); }
.jrc-bubble { width:56px; height:56px; border-radius:50%; background:var(--crimson); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 18px rgba(196,30,58,.4); transition:transform .2s,box-shadow .2s; }
.jrc-bubble:hover { transform:scale(1.08); box-shadow:0 6px 24px rgba(196,30,58,.5); }
.jrc-panel { position:absolute; bottom:68px; right:0; width:330px; max-height:480px; background:#fff; border-radius:18px; box-shadow:0 8px 40px rgba(0,0,0,.18); flex-direction:column; overflow:hidden; border:1px solid var(--line); }
.jrc-head { background:var(--crimson); color:#fff; padding:14px 16px; display:flex; align-items:center; justify-content:space-between; }
.jrc-head-info { display:flex; align-items:center; gap:10px; }
.jrc-logo { width:34px; height:34px; border-radius:50%; object-fit:contain; background:#fff; padding:3px; }
.jrc-name { font-weight:700; font-size:14px; }
.jrc-status { font-size:11px; opacity:.85; display:flex; align-items:center; gap:5px; margin-top:2px; }
.jrc-dot { width:7px; height:7px; border-radius:50%; background:#4ade80; display:inline-block; }
.jrc-close { background:none; border:none; color:#fff; font-size:22px; cursor:pointer; line-height:1; padding:0; }
.jrc-msgs { flex:1; overflow-y:auto; padding:14px; display:flex; flex-direction:column; gap:10px; min-height:200px; max-height:310px; }
.jrc-msg { max-width:85%; padding:10px 13px; border-radius:14px; font-size:13.5px; line-height:1.55; word-break:break-word; }
.jrc-msg.bot { background:var(--light); color:var(--ink); border-bottom-left-radius:4px; align-self:flex-start; }
.jrc-msg.user { background:var(--crimson); color:#fff; border-bottom-right-radius:4px; align-self:flex-end; }
.jrc-msg.typing { opacity:.6; font-style:italic; }
.jrc-input-wrap { display:flex; border-top:1px solid var(--line); padding:10px 12px; gap:8px; align-items:center; }
.jrc-input-wrap input { flex:1; border:1px solid var(--line); border-radius:20px; padding:9px 14px; font-size:13.5px; outline:none; font-family:var(--font-body); color:var(--ink); background:var(--light); }
.jrc-input-wrap input:focus { border-color:var(--crimson); }
#jrcSend { width:36px; height:36px; border-radius:50%; background:var(--crimson); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; flex-shrink:0; transition:background .2s; }
#jrcSend:hover { background:var(--crimson-dk); }
#jrcSend:disabled { opacity:.5; cursor:default; }
@media (max-width:480px) {
  .jrc-panel { width:calc(100vw - 32px); right:-8px; }
  #jrChat { bottom:16px; right:16px; }
  .gal-preview-grid { grid-template-columns:repeat(2,1fr); }
}
