:root {
  --bg: #1F2124;
  --bg-2: #16181b;
  --bg-3: #101114;
  --panel: rgba(255,255,255,0.035);
  --panel-strong: rgba(14,15,18,0.88);
  --gold: #C49A47;
  --gold-2: #d9b25d;
  --text: #f4f0ea;
  --muted: #9AA0A6;
  --border: rgba(255,255,255,0.08);
  --shadow: 0 30px 80px rgba(0,0,0,0.45);
  --shadow-gold: 0 0 0 1px rgba(196,154,71,0.18), 0 22px 80px rgba(196,154,71,0.12);
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(196,154,71,0.06), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(154,160,166,0.05), transparent 26%),
    linear-gradient(180deg, #07090c, #0d0f13 25%, #111317 55%, #0d0f13 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1300px, calc(100% - 48px)); margin: 0 auto; }
.noise {
  position: fixed; inset: 0; pointer-events: none; opacity: .06; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 4px 4px;
}
.glow {
  position: fixed; border-radius: 999px; filter: blur(90px); pointer-events: none; z-index: 0; opacity: .34;
}
.glow-left { width: 340px; height: 340px; left: -80px; top: 80px; background: rgba(196,154,71,.24); }
.glow-right { width: 280px; height: 280px; right: -60px; top: 240px; background: rgba(196,154,71,.12); }
.site-header, main, .site-footer { position: relative; z-index: 1; }
.site-header {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(10,11,14,.92), rgba(10,11,14,.72));
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { max-height: 60px; width: auto; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(196,154,71,.42); color: var(--gold); font-size: 28px;
  box-shadow: 0 0 24px rgba(196,154,71,.12);
}
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { letter-spacing: .12em; color: var(--gold-2); font-size: 1.9rem; line-height: 1; }
.brand-copy small { letter-spacing: .18em; color: #d7d9dc; font-size: .75rem; }
.desktop-nav { display: flex; justify-content: center; gap: 38px; }
.desktop-nav a {
  position: relative;
  color: #afb4bb; font-size: .96rem; font-weight: 700; letter-spacing: .03em;
  padding: 8px 0;
}
.desktop-nav a.active, .desktop-nav a:hover { color: #fff; }
.desktop-nav a.active::after, .desktop-nav a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 85%);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.talk-btn, .btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 26px; border-radius: 16px; border: 1px solid rgba(196,154,71,.54);
  background: linear-gradient(135deg, rgba(196,154,71,.18), rgba(196,154,71,.08));
  color: var(--gold-2); font-weight: 800; letter-spacing: .04em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 16px 36px rgba(0,0,0,.28), 0 0 24px rgba(196,154,71,.10);
  transition: .28s ease;
}
.talk-btn:hover, .btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.menu-dot {
  width: 56px; height: 56px; border-radius: 18px; border: 1px solid var(--border);
  background: rgba(255,255,255,.04); color: #eaeaea; font-size: 1.2rem; cursor: pointer;
}
.mobile-nav {
  display: none; padding: 0 24px 18px; gap: 12px; flex-direction: column;
  background: rgba(9,10,13,.94); border-top: 1px solid rgba(255,255,255,.05);
}
.mobile-nav.show { display: flex; }
.mobile-nav a { color: #d7d8da; padding: 8px 0; }
.hero-section { padding: 52px 0 26px; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 44px; align-items: center;
}
.hero-copy { padding: 34px 2px 20px; }
.eyebrow {
  display: block; margin-bottom: 18px; font-size: .98rem; font-weight: 700; letter-spacing: .25em;
  color: #9ea3aa;
}
.hero-copy h1 {
  margin: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: .96; letter-spacing: -.04em; font-weight: 800;
}
.gold-text { color: var(--gold-2); text-shadow: 0 0 24px rgba(196,154,71,.22); }
.hero-text {
  max-width: 620px; margin: 22px 0 28px; color: #aeb3b8; font-size: 1.36rem; line-height: 1.62;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 22px; }
.btn-dark, .btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02); color: #d6d8db; font-weight: 700; transition: .28s ease;
}
.btn-dark:hover, .btn-outline:hover { transform: translateY(-2px); border-color: rgba(196,154,71,.45); }
.btn-icon {
  width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); color: #fff;
}
.hero-check { color: #bcc1c7; font-weight: 600; }
.hero-media { position: relative; }
.video-card {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 440px;
  border: 1px solid rgba(196,154,71,.18); background: #0d0f12; box-shadow: var(--shadow), var(--shadow-gold);
}
.video-card iframe { width: 100%; height: 440px; display: block; filter: saturate(.9) brightness(.86); }
.video-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.24));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.video-logo {
  position: absolute; right: 32px; top: 28px; width: 50px; height: 50px; z-index: 2;
  border: 1px solid rgba(196,154,71,.35); border-radius: 24px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 3.6rem; background: rgba(0,0,0,.24); text-shadow: 0 0 26px rgba(196,154,71,.35);
}
.service-strip { padding: 0 0 24px; }
.service-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; overflow: hidden;
}
.card-surface {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.02));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), var(--shadow);
}
.service-item {
  padding: 28px 28px; display: flex; align-items: center; gap: 18px;
  border-right: 1px solid rgba(255,255,255,.06);
}
.service-item:last-child { border-right: 0; }
.service-icon {
  width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); border: 1px solid rgba(196,154,71,.24); background: rgba(196,154,71,.08); font-size: 1.8rem;
}
.service-item h3 { margin: 0 0 6px; font-size: 1.4rem; }
.service-item p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 1.04rem; }
.portfolio-section { padding: 22px 0; }
.portfolio-layout {
  border-radius: 26px; padding: 28px; display: grid; grid-template-columns: 360px 1fr; gap: 24px;
}
.portfolio-intro { padding: 18px 8px 18px 8px; }
.section-tag {
  display: inline-block; margin-bottom: 18px; color: var(--gold); font-size: .95rem; font-weight: 800; letter-spacing: .15em;
}
.portfolio-intro h2 { margin: 0 0 16px; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1.08; }
.portfolio-intro p { margin: 0 0 28px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.portfolio-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card {
  position: relative; min-height: 300px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 24px 60px rgba(0,0,0,.30); transition: transform .28s ease, box-shadow .28s ease;
}
.project-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 32px 80px rgba(0,0,0,.42); }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.80)); }
.project-body { position: absolute; inset: auto 0 0 0; padding: 22px 20px; }
.project-body h3 { margin: 0 0 10px; font-size: 1.6rem; }
.project-meta { display: flex; justify-content: space-between; gap: 10px; color: #e3e4e6; font-size: 1rem; }
.project-meta span { color: #c0c4c8; }
.about-stats { padding: 0 0 26px; }
.about-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.stats-grid {
  border-radius: 24px; padding: 20px 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-item {
  padding: 18px 24px; border-right: 1px solid rgba(255,255,255,.06); display: grid; gap: 12px; align-content: start;
}
.stat-item:last-child { border-right: 0; }
.stat-icon { width: 46px; height: 46px; border-radius: 14px; background: rgba(196,154,71,.1); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.stat-item strong { font-size: 2.2rem; }
.stat-item span { color: var(--muted); line-height: 1.55; font-size: 1.05rem; }
.about-card {
  border-radius: 24px; padding: 24px; display: grid; grid-template-columns: 1fr 180px; gap: 18px; align-items: center;
}
.about-copy p { margin: 0; color: #c4c7cb; font-size: 1.16rem; line-height: 1.8; }
.signature { margin-top: 20px; color: var(--gold); font-size: 2rem; font-style: italic; }
.about-photo img { width: 180px; height: 180px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(196,154,71,.35); }
.contact-section { padding: 20px 0 42px; }
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 24px; align-items: start; }
.contact-copy { padding: 18px 6px; }
.contact-copy h2 { margin: 0 0 14px; font-size: clamp(2rem, 3.6vw, 3.8rem); line-height: 1.06; }
.contact-copy p { margin: 0 0 22px; color: var(--muted); font-size: 1.12rem; line-height: 1.75; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li {
  display: grid; gap: 6px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02);
}
.contact-list strong { color: #fff; font-size: 1.06rem; }
.contact-list span { color: var(--muted); }
.contact-card { border-radius: 26px; padding: 28px; }
.contact-head h3 { margin: 0 0 8px; font-size: 2rem; }
.contact-head p { margin: 0 0 24px; color: var(--muted); }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 8px; }
.contact-form span { color: #e9e9ea; font-weight: 600; }
.contact-form input, .contact-form textarea, .admin-form input, .admin-form textarea {
  width: 100%; border-radius: 16px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.03); color: #fff;
  padding: 16px 18px; font: inherit; outline: none; transition: .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .admin-form input:focus, .admin-form textarea:focus {
  border-color: rgba(196,154,71,.55); box-shadow: 0 0 0 4px rgba(196,154,71,.08);
}
.full { width: 100%; }
.site-footer { border-top: 1px solid rgba(255,255,255,.05); background: rgba(10,11,14,.72); }
.footer-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; color: #b7bcc2; }
.footer-inner a { color: var(--gold); }
.reveal { animation: floatUp .8s ease both; }
@keyframes floatUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(196,154,71,.12), transparent 20%),
    linear-gradient(180deg, #0b0d11, #14171b 100%);
}
.login-screen { display: grid; place-items: center; }
.login-wrap { width: min(480px, calc(100% - 32px)); margin: 48px auto; }
.login-card { border-radius: 26px; padding: 34px; }
.login-card h1 { margin: 0 0 10px; }
.login-card p { color: var(--muted); line-height: 1.6; }
.login-hint { margin-top: 18px; color: #cad0d5; }
.login-hint code { color: var(--gold); }
.alert-success, .alert-error {
  padding: 14px 16px; border-radius: 16px; margin-bottom: 18px; border: 1px solid transparent;
}
.alert-success { background: rgba(44, 124, 73, .15); border-color: rgba(67, 185, 108, .25); }
.alert-error { background: rgba(159, 42, 42, .15); border-color: rgba(220, 88, 88, .22); }
.admin-wrap { width: min(1380px, calc(100% - 32px)); margin: 24px auto; display: grid; grid-template-columns: 320px 1fr; gap: 20px; }
.admin-sidebar { border-radius: 24px; padding: 28px; height: fit-content; position: sticky; top: 110px; }
.admin-sidebar h1 { margin-top: 0; }
.admin-sidebar p { color: var(--muted); line-height: 1.65; }
.admin-main { min-width: 0; }
.admin-panel { border-radius: 24px; padding: 28px; margin-bottom: 18px; }
.admin-panel h2, .admin-panel h3 { margin-top: 0; }
.admin-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-grid .full-row { grid-column: 1 / -1; }
.admin-form label { display: grid; gap: 8px; }
.admin-form span { font-weight: 600; color: #eff0f1; }
.admin-note { color: #d6b974; background: rgba(196,154,71,.08); padding: 14px 16px; border-radius: 14px; margin: 14px 0; }
.portfolio-admin-item {
  display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 16px; border: 1px solid rgba(255,255,255,.06); border-radius: 18px; background: rgba(255,255,255,.02);
}
.portfolio-admin-item .full-row { grid-column: 1 / -1; }
.portfolio-admin-item.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .hero-grid, .contact-grid, .about-grid, .portfolio-layout { grid-template-columns: 1fr; }
  .portfolio-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; }
}
@media (max-width: 920px) {
  .container { width: min(100%, calc(100% - 28px)); }
  .hero-section { padding-top: 26px; }
  .hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4.2rem); }
  .hero-text { font-size: 1.08rem; }
  .video-card { min-height: 360px; }
  .video-card iframe { height: 360px; }
  .video-logo { width: 70px; height: 70px; font-size: 2.3rem; right: 18px; top: 18px; }
  .service-grid, .portfolio-cards, .stats-grid { grid-template-columns: 1fr; }
  .service-item, .stat-item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .stats-grid .stat-item:last-child, .service-grid .service-item:last-child { border-bottom: 0; }
  .portfolio-layout { padding: 20px; }
  .about-card { grid-template-columns: 1fr; }
  .about-photo img { width: 140px; height: 140px; }
  .form-grid, .portfolio-admin-item { grid-template-columns: 1fr; }
}
.small-muted { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.7; }
.admin-inline-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 24px 0 16px; flex-wrap: wrap; }
.admin-inline-head h3 { margin: 0 0 6px; }
.admin-repeat-list { display: grid; gap: 16px; }
.repeat-actions { display: flex; justify-content: flex-end; }
.video-repeat-item { grid-template-columns: repeat(2, minmax(0,1fr)); }

.portfolio-page-hero { padding: 42px 0 18px; }
.portfolio-page-head { border-radius: 28px; padding: 36px; max-width: 980px; }
.portfolio-page-head h1 { margin: 0 0 16px; font-size: clamp(2.4rem, 4vw, 4.4rem); line-height: 1.02; letter-spacing: -.04em; }
.portfolio-page-head p { margin: 0; max-width: 780px; color: var(--muted); font-size: 1.16rem; line-height: 1.8; }
.portfolio-video-section { padding: 12px 0 44px; }
.portfolio-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.portfolio-video-card {
  padding: 0; border-radius: 24px; overflow: hidden; cursor: pointer; text-align: left;
  color: inherit; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.portfolio-video-card:hover { transform: translateY(-4px); border-color: rgba(196,154,71,.24); box-shadow: var(--shadow-gold); }
.portfolio-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #090b0f; }
.portfolio-video-frame iframe { width: 100%; height: 100%; display: block; pointer-events: none; filter: saturate(.75) brightness(.7); }
.portfolio-video-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 20% 20%, rgba(196,154,71,.18), transparent 36%), linear-gradient(180deg, #111317, #0a0c10);
  color: #d8dde3; font-weight: 700;
}
.portfolio-video-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.68)); }
.portfolio-video-play {
  position: absolute; left: 18px; bottom: 18px; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: rgba(196,154,71,.18);
  color: var(--gold-2); border: 1px solid rgba(196,154,71,.36); font-size: 1.25rem; box-shadow: 0 0 24px rgba(196,154,71,.14);
}
.portfolio-video-content { padding: 20px; display: grid; gap: 8px; }
.portfolio-video-content h3 { margin: 0; font-size: 1.3rem; }
.portfolio-video-content span { color: var(--muted); font-size: .98rem; }
.portfolio-empty { border-radius: 28px; padding: 34px; }
.portfolio-empty h2 { margin: 0 0 12px; font-size: 2rem; }
.portfolio-empty p { margin: 0; color: var(--muted); line-height: 1.8; }

body.lightbox-open { overflow: hidden; }
.video-lightbox {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; visibility: hidden; pointer-events: none; transition: .24s ease;
}
.video-lightbox.show { opacity: 1; visibility: visible; pointer-events: auto; }
.video-lightbox-backdrop { position: absolute; inset: 0; background: rgba(4,5,8,.82); backdrop-filter: blur(10px); }
.video-lightbox-dialog {
  position: relative; z-index: 1; width: min(1080px, 100%); border-radius: 28px; padding: 20px; overflow: hidden;
}
.video-lightbox-close {
  position: absolute; right: 18px; top: 18px; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); color: #fff; font-size: 1.7rem; cursor: pointer;
}
.video-lightbox-header { padding: 4px 48px 18px 4px; }
.video-lightbox-header strong { display: block; font-size: 1.1rem; letter-spacing: .02em; }
.video-lightbox-player { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #050608; }
.video-lightbox-player iframe { width: 100%; height: 100%; display: block; }

@media (max-width: 1180px) {
  .portfolio-video-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 920px) {
  .admin-inline-head { align-items: stretch; }
  .portfolio-page-head { padding: 24px; }
  .portfolio-video-grid { grid-template-columns: 1fr; }
  .video-lightbox { padding: 12px; }
  .video-lightbox-dialog { padding: 16px; }
}
