:root {
  color-scheme: light;
  --ink: #25152d;
  --muted: #6b5b70;
  --plum: #25152d;
  --rose: #d94f70;
  --leaf: #23775b;
  --fresh: #dff5ea;
  --sun: #ffd166;
  --mist: #f7f7fb;
  --white: #ffffff;
  --line: #e7dfe8;
  --shadow: 0 22px 60px rgba(37, 21, 45, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--mist);
  color: var(--ink);
  letter-spacing: 0;
}

body::selection {
  background: var(--sun);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(18px, 4%, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(231, 223, 232, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--rose), var(--leaf));
  color: var(--white);
  font-size: 25px;
  font-weight: 950;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  line-height: 1.05;
}

.brand small {
  margin-top: 3px;
  color: var(--leaf);
  font-weight: 900;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex: 1;
}

.nav-links a,
.lang-switch,
.header-phone,
.btn,
.contact-cards a,
.mobile-actions,
.mobile-actions a {
  border-radius: 8px;
}

.nav-links a {
  padding: 10px 12px;
  color: #3c2a43;
  font-size: 14px;
  font-weight: 850;
}

.nav-links a:hover {
  background: #f2eaf4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  min-width: 44px;
  min-height: 42px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--rose);
  font-weight: 950;
  cursor: pointer;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  background: var(--plum);
  color: var(--white);
  font-weight: 950;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.76fr);
  align-items: center;
  gap: clamp(28px, 5%, 70px);
  min-height: calc(100svh - 76px);
  padding: clamp(46px, 7%, 92px) clamp(18px, 5%, 72px);
  background:
    linear-gradient(135deg, rgba(37, 21, 45, 0.94), rgba(35, 119, 91, 0.78)),
    url("images/google_places_09.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
}

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

.eyebrow {
  margin: 0 0 13px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(42px, 6.8rem, 84px);
}

.lead {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 1.35rem, 23px);
  line-height: 1.55;
}

.hero-actions,
.brief-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  font-weight: 950;
  cursor: pointer;
}

.btn-primary {
  background: var(--sun);
  color: #2b1d00;
}

.btn-secondary {
  background: var(--white);
  color: var(--plum);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: var(--white);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}

.trust-row div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-row strong {
  display: block;
  color: var(--sun);
  font-size: 32px;
  line-height: 1;
}

.trust-row span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.3;
}

.hero-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
}

.order-section,
.occasions-section,
.gallery-section,
.contact-section {
  padding: clamp(52px, 7%, 96px) clamp(18px, 5%, 72px);
}

.order-section,
.gallery-section {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
}

.section-heading h2,
.contact-copy h2 {
  font-size: clamp(34px, 4.8rem, 64px);
}

.section-heading p:not(.eyebrow),
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}

.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
  gap: 18px;
  margin-top: 30px;
}

.order-form,
.brief-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(37, 21, 45, 0.08);
}

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

label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

label span {
  color: #3c2a43;
  font-size: 13px;
  font-weight: 950;
}

.wide {
  grid-column: 1 / -1;
}

select,
textarea,
input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfafd;
  color: var(--ink);
  font: inherit;
}

select,
input {
  min-height: 48px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
}

.brief-card {
  position: sticky;
  top: 94px;
  align-self: start;
  padding: 22px;
  background: var(--plum);
  color: var(--white);
}

.brief-card h3 {
  margin: 0;
  font-size: 28px;
}

.brief-card pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 20px 0;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font: 15px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.small-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.occasion-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.occasion-grid img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.occasion-grid div {
  padding: 18px;
}

.occasion-grid h3 {
  margin: 0;
  font-size: 22px;
}

.occasion-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr 0.9fr 1fr;
  gap: 10px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:nth-child(even) {
  margin-top: 34px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  gap: clamp(28px, 5%, 70px);
  background: var(--fresh);
}

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

.contact-cards a {
  display: grid;
  gap: 10px;
  min-height: 140px;
  padding: 20px;
  border: 1px solid rgba(35, 119, 91, 0.2);
  background: rgba(255, 255, 255, 0.82);
}

.contact-cards span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-cards strong {
  align-self: end;
  font-size: 22px;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5%, 72px) 96px;
  background: var(--plum);
  color: var(--white);
}

.site-footer p {
  max-width: 680px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.footer-links {
  justify-content: flex-end;
}

.footer-links a {
  color: var(--sun);
  font-weight: 950;
}

.mobile-actions {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 40;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(231, 223, 232, 0.9);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 34px rgba(37, 21, 45, 0.2);
}

.mobile-actions a {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: var(--plum);
  color: var(--white);
  font-weight: 950;
}

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .hero,
  .builder,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    max-height: 520px;
  }

  .occasion-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brief-card {
    position: static;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 68px;
    padding: 10px 14px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .header-phone {
    display: none;
  }

  .hero,
  .order-section,
  .occasions-section,
  .gallery-section,
  .contact-section {
    padding: 44px 16px;
  }

  .hero {
    min-height: calc(100svh - 68px);
    align-content: center;
    padding-bottom: 118px;
  }

  .hero h1 {
    font-size: clamp(34px, 3.1rem, 42px);
  }

  .lead {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-row,
  .hero-photo {
    display: none;
  }

  .order-form,
  .contact-cards,
  .occasion-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img:nth-child(even) {
    margin-top: 0;
  }

  .gallery-grid img,
  .occasion-grid img {
    height: 310px;
  }

  .site-footer {
    flex-direction: column;
    padding-bottom: 112px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-actions {
    display: grid;
  }
}
