/* ============ Atlas Sculpture - Design System ============ */
:root {
  --ink: #1a1a1a;
  --ink-soft: #3d3d3d;
  --paper: #faf7f2;
  --white: #ffffff;
  --bronze: #b08a3e;
  --bronze-dark: #8f6f2f;
  --line: #e5ded2;
  --muted: #6b645a;
  --shadow: 0 10px 30px rgba(26, 26, 26, .12);
  --shadow-lg: 0 24px 60px rgba(26, 26, 26, .18);
  --radius: 14px;
  --maxw: 1200px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

[dir="rtl"] { letter-spacing: 0; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ Topbar ============ */
.topbar {
  background: var(--ink);
  color: #cfc9bf;
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a:hover { color: var(--bronze); }
.topbar .lang { display: flex; gap: 4px; }
.topbar .lang button {
  background: none; border: 1px solid transparent; color: inherit;
  padding: 2px 10px; border-radius: 20px; cursor: pointer; font-size: 12px;
}
.topbar .lang button.active, .topbar .lang button:hover { border-color: var(--bronze); color: var(--bronze); }

/* ============ Header / Nav ============ */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--bronze), #e0c080);
  display: grid; place-items: center; color: #fff; font-family: var(--font-head); font-size: 20px;
}
.brand-name { font-family: var(--font-head); font-size: 22px; letter-spacing: .5px; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 3px; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--bronze-dark); background: rgba(176, 138, 62, .08); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 20px !important; border-radius: 30px; font-size: 14px !important;
}
.nav-cta:hover { background: var(--bronze-dark); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ============ Hero ============ */
.hero { position: relative; min-height: 72vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.45) 45%, rgba(10,10,10,.08) 100%); }
[dir="rtl"] .hero-bg::after { background: linear-gradient(-100deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.45) 45%, rgba(10,10,10,.08) 100%); }
.hero-content { position: relative; z-index: 2; color: #fff; padding: 90px 0; max-width: 640px; }
.hero .eyebrow { display: inline-block; letter-spacing: 4px; text-transform: uppercase; font-size: 12px; color: #e6c98a; border: 1px solid rgba(230,201,138,.5); padding: 6px 16px; border-radius: 30px; margin-bottom: 22px; }
.hero h1 { font-family: var(--font-head); font-size: clamp(34px, 5.4vw, 62px); line-height: 1.12; font-weight: 600; margin-bottom: 18px; }
.hero p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 520px; margin-bottom: 30px; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 30px;
  font-size: 15px; font-weight: 600; border: 0; cursor: pointer; transition: .25s;
}
.btn-primary { background: var(--bronze); color: #fff; }
.btn-primary:hover { background: var(--bronze-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.6); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--bronze-dark); }

/* ============ Sections ============ */
.section { padding: 90px 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.sec-head .eyebrow { color: var(--bronze-dark); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.sec-head h2 { font-family: var(--font-head); font-size: clamp(28px, 3.6vw, 42px); font-weight: 600; margin: 10px 0 14px; }
.sec-head p { color: var(--muted); }
.sec-head.left { text-align: left; margin-left: 0; margin-right: 0; }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 34px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.stat b { font-family: var(--font-head); font-size: 38px; color: var(--bronze-dark); display: block; }
.stat span { color: var(--muted); font-size: 14px; }

/* ============ Product grid ============ */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.card:hover .card-media img { transform: scale(1.06); }
.card-body { padding: 20px 22px; }
.card-body h3 { font-family: var(--font-head); font-size: 19px; margin-bottom: 6px; }
.card-body p { color: var(--muted); font-size: 14px; }
.card-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(26,26,26,.72); color: #fff; font-size: 12px; padding: 4px 12px; border-radius: 20px; }

/* ============ Category chips ============ */
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.chip { padding: 9px 20px; border-radius: 30px; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 14px; color: var(--ink-soft); transition: .2s; }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ Application areas ============ */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.app img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.app:hover img { transform: scale(1.07); }
.app .cap { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(transparent 40%, rgba(10,10,10,.8)); color: #fff; font-weight: 600; font-size: 16px; }

/* ============ News ============ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .3s; }
.news-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.news-item time { font-size: 12px; color: var(--bronze-dark); text-transform: uppercase; letter-spacing: 1px; }
.news-item h3 { font-family: var(--font-head); font-size: 18px; margin: 10px 0; line-height: 1.4; }
.news-item p { color: var(--muted); font-size: 14px; }

/* ============ About split ============ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 38px); margin: 12px 0 18px; line-height: 1.2; }
.split p { color: var(--muted); margin-bottom: 14px; }
.check-list li { padding: 8px 0; display: flex; gap: 10px; align-items: center; color: var(--ink-soft); }
.check-list li::before { content: "◆"; color: var(--bronze); font-size: 12px; }

/* ============ Contact form ============ */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.info-card { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-card:last-child { border-bottom: 0; }
.info-card .ic { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(176,138,62,.12); display: grid; place-items: center; font-size: 20px; }
.info-card h4 { font-size: 15px; margin-bottom: 3px; }
.info-card p { color: var(--muted); font-size: 14px; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--paper); transition: .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,138,62,.15); background: #fff; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
.form-success { display: none; background: #eef7ee; border: 1px solid #bfe3bf; color: #2e7d32; padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }

/* ============ Gallery ============ */
.masonry { columns: 3; column-gap: 22px; }
.masonry figure { break-inside: avoid; margin-bottom: 22px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: zoom-in; }
.masonry img { width: 100%; }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; background: linear-gradient(transparent, rgba(10,10,10,.75)); color: #fff; font-size: 13px; opacity: 0; transition: .3s; }
.masonry figure:hover figcaption { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(10,10,10,.92); z-index: 300; display: none; place-items: center; padding: 40px; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: 8px; }
.lightbox .close { position: absolute; top: 20px; inset-inline-end: 26px; color: #fff; font-size: 36px; cursor: pointer; background: none; border: 0; }
.lightbox .cap { color: #ddd; text-align: center; margin-top: 14px; }

/* ============ CTA band ============ */
.cta-band { background: linear-gradient(120deg, #141414, #2c2c2c); color: #fff; text-align: center; padding: 70px 20px; }
.cta-band h2 { font-family: var(--font-head); font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); margin-bottom: 28px; }

/* ============ Footer ============ */
.site-footer { background: #101010; color: #a8a29a; padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-weight: 600; }
.footer-grid a { display: block; padding: 5px 0; transition: .2s; }
.footer-grid a:hover { color: var(--bronze); }
.footer-brand p { margin-top: 14px; line-height: 1.8; color: #8b857d; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; font-size: 15px; }
.social a:hover { border-color: var(--bronze); color: var(--bronze); }
.footer-bottom { border-top: 1px solid #222; padding: 18px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #6f6a62; }

/* ============ Page hero (inner) ============ */
.page-hero { background: linear-gradient(120deg, #181818, #2f2f2f); color: #fff; padding: 74px 0; text-align: center; }
.page-hero .eyebrow { color: #e6c98a; letter-spacing: 3px; text-transform: uppercase; font-size: 12px; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(30px, 4vw, 46px); margin: 12px 0; }
.page-hero p { color: rgba(255,255,255,.72); max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 14px; }
.breadcrumb a { color: #e6c98a; }

/* ============ Map placeholder ============ */
.map-box { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--white); display: grid; place-items: center; color: var(--muted); font-size: 14px; }

/* ============ Reveal animation ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* ============ Responsive ============ */
@media (max-width: 992px) {
  .grid, .news-grid, .apps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .masonry { columns: 2; }
}
@media (max-width: 640px) {
  .nav-links {
    display: none; position: absolute; top: 76px; inset-inline: 0; background: #fff;
    flex-direction: column; padding: 14px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-cta { text-align: center; }
  .nav-toggle { display: block; }
  .grid, .news-grid, .apps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .form .row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
