:root {
  --paper: #f5f1e8;
  --paper-2: #eee8db;
  --shell: #fffaf4;
  --leaf: #2b3a2b;
  --leaf-2: #20301f;
  --moss: #6b7a63;
  --ink: #172019;
  --muted: #4a5748;
  --blush: #d7a2a3;
  --rose: #a84e5d;
  --gold: #c7a56b;
  --line: rgba(43, 58, 43, 0.16);
  --shadow: 0 26px 70px rgba(43, 58, 43, 0.14);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

#quick-order,
#bouquets,
#wedding,
#delivery,
#contact,
.order-section {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: #e7e3da;
  color: var(--leaf);
  font-family: "Jost", "Noto Sans Georgian", system-ui, sans-serif;
  font-size: 16px;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(245, 241, 232, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  text-decoration: none;
  line-height: 0.9;
}

.brand-script {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
}

.brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
}

.main-nav a,
.text-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.text-link:hover {
  border-bottom-color: currentColor;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  min-width: 36px;
  min-height: 34px;
  cursor: pointer;
  color: var(--moss);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
}

.lang-btn.is-active {
  color: var(--leaf);
  border-color: var(--line);
  background: var(--shell);
  font-weight: 600;
}

.section-pad {
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Noto Serif Georgian", Georgia, serif;
  font-weight: 500;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.96;
}

html[lang="ka"] h1 {
  max-width: 720px;
  font-size: clamp(50px, 7vw, 84px);
  line-height: 1.16;
}

h2 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.04;
}

h3 {
  font-size: 28px;
  line-height: 1.12;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  min-height: 0;
  background: var(--paper);
}

.hero.section-pad {
  padding-top: clamp(30px, 5vw, 54px);
  padding-bottom: clamp(34px, 5vw, 58px);
}

.hero-copy {
  max-width: 620px;
}

.hero-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.62;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover,
.text-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--leaf);
  color: var(--paper);
}

.btn-primary:hover {
  background: var(--ink);
}

.btn-secondary {
  color: var(--leaf);
  background: transparent;
  border-color: rgba(43, 58, 43, 0.34);
}

.btn-secondary:hover {
  background: var(--shell);
  border-color: var(--leaf);
}

.btn-light {
  color: var(--leaf);
  background: var(--paper);
}

.btn-ghost-light {
  color: var(--paper);
  border-color: rgba(245, 241, 232, 0.42);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}

.hero-facts div {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  color: var(--moss);
  font-size: 12px;
}

.hero-facts dd {
  margin: 5px 0 0;
  color: var(--leaf);
  font-weight: 600;
}

.hero-side {
  display: grid;
  grid-template-columns: 1fr;
}

.hero-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  height: clamp(560px, calc(100svh - 140px), 680px);
  min-height: 0;
  background: var(--paper-2);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 25, 0) 45%, rgba(23, 32, 25, 0.34) 100%);
}

.hero-photo figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 1;
  color: var(--shell);
  font-size: 13px;
  font-weight: 600;
}

.order-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
}

.order-section.section-pad {
  padding-top: clamp(36px, 5vw, 62px);
  padding-bottom: clamp(38px, 5vw, 64px);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.46fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.order-intro {
  max-width: 430px;
}

.order-intro h2 {
  margin-bottom: 18px;
}

.order-intro p:last-child {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.order-panel {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  padding: clamp(18px, 2.4vw, 28px);
  background: rgba(255, 250, 244, 0.94);
  border: 1px solid rgba(245, 241, 232, 0.7);
  border-radius: var(--radius);
  box-shadow: 0 20px 46px rgba(43, 58, 43, 0.12);
  backdrop-filter: blur(14px);
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.panel-head .eyebrow {
  margin-bottom: 6px;
}

.panel-head h2 {
  margin: 0;
  font-size: 28px;
}

fieldset {
  min-width: 0;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
}

legend,
label span {
  display: block;
  margin-bottom: 6px;
  color: var(--moss);
  font-size: 13px;
  font-weight: 600;
}

.chip-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 8px;
}

.chip {
  min-height: 38px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--leaf);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.chip.is-active {
  color: var(--paper);
  background: var(--leaf);
  border-color: var(--leaf);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  min-height: 40px;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(199, 165, 107, 0.45);
  outline-offset: 2px;
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

.order-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.marquee {
  overflow: hidden;
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.marquee-track {
  display: flex;
  width: max-content;
  color: var(--moss);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(20px, 3vw, 28px);
  font-style: italic;
  animation: scroll-line 38s linear infinite;
}

.marquee-set {
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  padding: 16px 14px;
  white-space: nowrap;
}

@keyframes scroll-line {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

.about {
  display: grid;
  grid-template-columns: minmax(160px, 0.4fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--shell);
}

.about-copy {
  max-width: 780px;
}

.about-copy p,
.wedding-band p,
.delivery-grid p,
.collection-card p {
  color: var(--muted);
  line-height: 1.66;
}

.section-header {
  max-width: 780px;
  margin-bottom: 32px;
}

.section-header.inline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 24px;
}

.collections {
  background: var(--paper);
}

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

.collection-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--shell);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.collection-card img {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
}

.collection-card div {
  padding: 22px;
}

.collection-card h3 {
  margin-bottom: 10px;
}

.price {
  margin-bottom: 10px;
  color: var(--rose);
  font-size: 14px;
  font-weight: 700;
}

.text-btn {
  margin-top: 12px;
  padding: 0;
  cursor: pointer;
  color: var(--leaf);
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}

.wedding-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: var(--leaf);
  color: var(--paper);
}

.wedding-band img {
  width: 100%;
  height: min(600px, 68vw);
  object-fit: cover;
  border-radius: var(--radius);
}

.wedding-band .eyebrow {
  color: var(--gold);
}

.wedding-band p {
  max-width: 600px;
  color: #e4dfd0;
  font-size: 18px;
}

.wedding-band .btn-secondary {
  color: var(--paper);
  border-color: rgba(245, 241, 232, 0.42);
}

.wedding-band .btn-secondary:hover {
  color: var(--leaf);
  background: var(--paper);
}

.delivery {
  background: var(--shell);
}

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

.delivery-grid article {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.step {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Cormorant Garamond", serif;
  font-size: 44px;
  font-style: italic;
  line-height: 1;
}

.gallery {
  background: var(--paper);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 0.9fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.photo-grid img:nth-child(1),
.photo-grid img:nth-child(3) {
  grid-row: span 2;
}

.photo-grid img:nth-child(5) {
  grid-column: span 2;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: stretch;
  color: var(--paper);
  background: var(--leaf-2);
}

.contact .eyebrow {
  color: #a9b7a0;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #e5e0d3;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.map-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(245, 241, 232, 0.2);
  border-radius: var(--radius);
}

.map-wrap::before {
  content: "Mikhail Lermontov St. 10, Batumi";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #e5e0d3;
  background:
    linear-gradient(135deg, rgba(245, 241, 232, 0.08), rgba(199, 165, 107, 0.12)),
    var(--leaf);
  text-align: center;
}

.map-wrap iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: saturate(0.82) contrast(0.96);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #a9b7a0;
  background: #142114;
  font-size: 13px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-side,
  .order-layout {
    max-width: 760px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .delivery-grid {
    grid-template-columns: 1fr;
  }

  .collection-card {
    grid-template-columns: minmax(180px, 0.42fr) 1fr;
    grid-template-rows: none;
  }

  .collection-card img {
    height: 100%;
    aspect-ratio: auto;
  }

  .wedding-band,
  .contact {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 72px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .brand-script {
    font-size: 30px;
  }

  .brand-text {
    font-size: 16px;
  }

  .section-pad {
    padding: 42px 18px;
  }

  .hero {
    gap: 24px;
    padding-top: 34px;
  }

  h1 {
    font-size: clamp(48px, 16vw, 72px);
  }

  html[lang="ka"] h1 {
    font-size: clamp(42px, 12vw, 62px);
    line-height: 1.18;
  }

  h2 {
    font-size: clamp(32px, 10vw, 44px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .hero-facts dt {
    font-size: 11px;
  }

  .hero-facts dd {
    font-size: 13px;
    line-height: 1.25;
  }

  .hero-photo,
  .hero-photo img {
    height: 420px;
  }

  .order-panel {
    width: 100%;
    max-width: none;
    margin-top: 0;
    box-shadow: none;
  }

  .panel-head {
    display: block;
  }

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

  .chip-row {
    flex-wrap: wrap;
  }

  .chip {
    min-width: calc(33.333% - 6px);
    font-size: 14px;
  }

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

  .section-header.inline {
    display: block;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

  .collection-card img {
    aspect-ratio: 4 / 3.2;
  }

  .wedding-band img {
    height: 360px;
  }

  .photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
    gap: 10px;
  }

  .photo-grid img:nth-child(1),
  .photo-grid img:nth-child(3),
  .photo-grid img:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .map-wrap,
  .map-wrap iframe {
    min-height: 320px;
  }

  .contact-actions {
    display: grid;
  }

  .site-footer {
    display: grid;
  }

  .mobile-cta {
    position: fixed;
    right: 14px;
    bottom: 14px;
    left: 14px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    color: var(--paper);
    background: var(--leaf);
    border-radius: 8px;
    box-shadow: 0 18px 40px rgba(23, 32, 25, 0.22);
    text-decoration: none;
    font-weight: 700;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
