@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Georgian:wght@700&display=swap');

:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #f8f7f4;
  --surface-strong: #f2f2f2;
  --text: #111111;
  --muted: #575757;
  --accent: #f06e24;
  --accent-soft: rgba(240, 110, 36, 0.12);
  --border: #e7e6e2;
  --shadow: 0 24px 60px rgba(17, 17, 17, 0.08);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 75%;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

html[lang="ka"] body,
html[lang="ka"] body * {
  font-family: 'Noto Sans Georgian', sans-serif;
  font-weight: 700;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: auto;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-nav a:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.site-nav a.active,
.site-nav a.active:hover {
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.language-toggle {
  min-width: 64px;
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  color: var(--text);
  border-radius: 999px;
  padding: 14px 18px;
}

.language-toggle.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.mobile-nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 5px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .eyebrow,
.section-intro .eyebrow {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 0.95;
}

#home .hero-copy h1 {
  line-height: 1.1;
}

#contact-hero .hero-copy h1 {
  line-height: 1.15;
}

#portfolio-hero .hero-copy h1 {
  line-height: 1.15;
}

#pricing-hero .hero-copy h1 {
  line-height: 1.15;
}

#about-hero .hero-copy h1 {
  line-height: 1.1;
}

.hero-copy p {
  max-width: 620px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.feature-pill-list span {
  display: inline-flex;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.viewer-card {
  width: min(460px, 100%);
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 34px;
}

.viewer-label {
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--accent);
}

.viewer-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 28px;
  background: linear-gradient(180deg, #fffbf5 0%, #fff 100%);
  border: 1px solid rgba(240, 110, 36, 0.18);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.viewer-placeholder iframe,
.viewer-demo-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 26px;
  background: #fff;
}

.viewer-arc {
  position: absolute;
  inset: 16px;
  border: 2px dashed rgba(240, 110, 36, 0.3);
  border-radius: 28px;
}

.viewer-visual {
  position: relative;
  font-size: 4rem;
  font-weight: 700;
  color: var(--accent);
}

.trust-bar {
  background: var(--surface);
  padding: 20px 0;
}

.trust-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.trust-bar span {
  font-weight: 600;
}

.logo-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.section-intro {
  max-width: 720px;
  margin-bottom: 44px;
}

.section-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.section-intro p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1rem;
}

.benefit-grid,
.services-grid,
.pricing-grid,
.portfolio-grid,
.steps-grid {
  display: grid;
  gap: 24px;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-samples {
  padding-top: 20px;
}

.portfolio-sample {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.portfolio-sample h3 {
  margin: 0 0 14px;
  font-size: 1.35rem;
}

.portfolio-sample p {
  margin: 0 0 20px;
  color: var(--muted);
}

.sample-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.sample-list-highlighted {
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  align-items: stretch;
}

.sample-card {
  background: var(--surface);
  border-radius: 22px;
  padding: 22px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  min-height: 180px;
}

.sample-viewer-card {
  grid-column: span 1;
  min-height: 330px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sample-list-highlighted .sample-viewer-card,
.sample-list .sample-viewer-card {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(240, 110, 36, 0.18);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.sample-list-highlighted .sample-viewer-card iframe,
.sample-list .sample-viewer-card iframe {
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
}

#portfolio-jewelry .sample-viewer-card,
#portfolio-furniture .sample-viewer-card {
  border: 1px solid rgba(240, 110, 36, 0.18);
  border-radius: 30px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.sample-viewer-card.sample-viewer-embed {
  background: #f4f4f4;
  min-height: 400px;
  padding: 14px;
  border: 1px solid var(--border);
  box-shadow: none;
}

.sample-viewer-card.sample-viewer-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 18px;
  background: #fff;
}

.sample-viewer-card .Sirv {
  width: 100%;
  min-height: 240px;
  border-radius: 22px;
  overflow: hidden;
}

.sample-viewer-card .Sirv iframe,
.sample-viewer-card .Sirv object,
.sample-viewer-card .Sirv embed {
  width: 100% !important;
  height: 100% !important;
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.benefit-grid article,
.services-grid article,
.pricing-card,
.portfolio-card,
.viewer-demo-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.04);
}

.benefit-grid h3,
.services-grid h3,
.pricing-card h3,
.portfolio-card .portfolio-label,
.viewer-demo-header {
  margin: 0 0 14px;
  font-size: 1.15rem;
}

.benefit-grid p,
.services-grid p,
.portfolio-card p,
.viewer-copy p,
.section-intro p {
  margin: 0;
  color: var(--muted);
}

.industries .industry-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.industry-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  background: var(--surface);
  border-radius: 18px;
  color: var(--text);
  font-weight: 600;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.steps-grid article {
  padding: 24px;
}

.step {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.viewer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.viewer-demo-header {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.viewer-demo-body {
  display: grid;
  gap: 24px;
}

/* Spin viewer styles */
.spin-viewer {
  width: 100%;
  max-width: 360px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17,17,17,0.06);
  position: relative;
}
.spin-viewer .spin-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff 0%, #fffbf5 100%);
}
.spin-viewer .spin-frame img {
  width: 90%;
  height: auto;
  display: block;
}
.spin-controls {
  position: absolute;
  inset: auto 10px 10px 10px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.spin-controls button {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
}
.spin-controls button:active { transform: translateY(1px); }

.viewer-demo-placeholder {
  width: 100%;
  min-height: 0;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff5eb 0%, #fff 100%);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--muted);
  border: 1px dashed rgba(240, 110, 36, 0.22);
  overflow: hidden;
  padding: 10px;
}

.viewer-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.viewer-stats div {
  background: var(--surface);
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.viewer-stats strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pricing-card {
  border-color: var(--accent);
}

.pricing-card ul {
  padding-left: 20px;
  margin: 0;
  color: var(--muted);
  list-style: disc;
  display: grid;
  gap: 10px;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.portfolio-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  align-items: start;
}

.portfolio-actions .button {
  width: 100%;
}

.portfolio-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  border: none;
  background: var(--bg);
}

.portfolio-card .portfolio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.portfolio-card .portfolio-label:hover {
  transform: translateY(-1px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

.contact-copy p {
  color: var(--muted);
  max-width: 520px;
}

.contact-details {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.contact-details div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-details strong {
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border-radius: 32px;
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

label {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 8px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  background: #fff;
  color: var(--text);
}

.full-width {
  grid-column: 1 / -1;
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .viewer-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0;
  }
}

@media (max-width: 840px) {
  .container {
    width: min(100%, calc(100% - 32px));
  }

  .site-header {
    padding: 0 0 8px;
  }

  .hero {
    padding-top: 64px;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    width: 100%;
    border-radius: 20px;
    padding: 18px 20px;
    box-shadow: 0 20px 60px rgba(17, 17, 17, 0.08);
    position: absolute;
    top: 76px;
    left: 0;
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .button-primary,
  .button-secondary {
    min-width: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-pill-list {
    justify-content: stretch;
  }

  .feature-pill-list span {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
  }

  .site-header {
    position: relative;
  }

  .hero-copy h1 {
    font-size: clamp(2.4rem, 7vw, 3.4rem);
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .viewer-card {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 64px 0;
  }

  .benefit-grid,
  .services-grid,
  .pricing-grid,
  .portfolio-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .trust-grid {
    gap: 12px;
  }

  .footer-inner {
    gap: 14px;
  }
}
