:root {
  --forest: #14241a;
  --green: #55714b;
  --leaf: #8fa56d;
  --petal: #d85e50;
  --sun: #f0bf63;
  --paper: #f8f4ea;
  --cream: #eee8dc;
  --white: #ffffff;
  --ink: #182119;
  --muted: #65705f;
  --line: rgba(24, 33, 25, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

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

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

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 7vw, 106px);
  line-height: 0.9;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 5.6vw, 82px);
  line-height: 0.96;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.04;
}

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 18%, rgba(216, 94, 80, 0.3), transparent 28%),
    linear-gradient(110deg, #132219 0%, #132219 55%, #e2dfd4 55%, #e2dfd4 100%);
}

.topbar {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 3;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
}

.nav-links {
  display: flex;
  gap: clamp(18px, 3vw, 40px);
  color: var(--forest);
  font-weight: 700;
}

.hero-stage {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  gap: clamp(30px, 5vw, 86px);
  align-items: center;
}

.hero-copy {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lead {
  max-width: 540px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(19px, 2vw, 25px);
}

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

.button,
button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--white);
  color: var(--forest);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hero-visual {
  min-height: 640px;
  position: relative;
  align-self: stretch;
}

.hero-bouquet {
  position: absolute;
  width: min(760px, 68vw);
  max-width: none;
  right: clamp(-160px, -8vw, -60px);
  top: 42%;
  transform: translateY(-50%) rotate(-3deg);
  filter: drop-shadow(0 34px 80px rgba(20, 36, 26, 0.34));
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(330px, 80%);
  padding: 24px;
  border-left: 3px solid var(--petal);
  background: rgba(20, 36, 26, 0.82);
  backdrop-filter: blur(14px);
}

.hero-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--sun);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
}

.hero-rail {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

.hero-rail span {
  min-height: 68px;
  display: flex;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
}

.hero-rail span:last-child {
  border-right: 0;
}

.intro {
  padding: clamp(56px, 8vw, 100px) clamp(24px, 7vw, 100px);
  background: var(--white);
}

.intro p {
  max-width: 1180px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4.4vw, 64px);
  line-height: 1.05;
}

.catalog,
.service,
.contact-section {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(76px, 9vw, 124px) 0;
}

.section-head {
  max-width: 860px;
  margin-bottom: 44px;
}

.section-head .eyebrow,
.service-copy .eyebrow,
.contact-copy .eyebrow {
  color: var(--green);
}

.catalog-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 16px;
}

.catalog-item {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  background: var(--forest);
  color: var(--white);
}

.catalog-item-large {
  grid-row: span 2;
}

.catalog-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(9, 18, 12, 0.84));
}

.catalog-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.catalog-item span {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-size: 24px;
  font-weight: 900;
}

.catalog-item:hover img {
  transform: scale(1.05);
}

.service {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  padding-left: max(24px, calc((100vw - 1320px) / 2));
  padding-right: max(24px, calc((100vw - 1320px) / 2));
  background: var(--forest);
  color: var(--white);
}

.service-copy {
  position: sticky;
  top: 40px;
  align-self: start;
}

.service-copy p:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
}

.service-stack {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.service-stack article {
  min-height: 260px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  column-gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 50px);
  background: #1b2d21;
}

.service-stack img {
  width: 168px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.26));
}

.service-stack span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--sun);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.service-stack p {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.metrics {
  width: min(1320px, calc(100% - 48px));
  margin: clamp(58px, 8vw, 96px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 120px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics span,
.contact-list dt {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metrics strong {
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.15;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.78fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
}

.contact-list {
  margin: 36px 0 0;
  display: grid;
  gap: 18px;
}

.contact-list div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.contact-list dd {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  background: var(--forest);
  color: var(--white);
  box-shadow: 0 28px 90px rgba(20, 36, 26, 0.2);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 15px 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(240, 191, 99, 0.3);
  border-color: var(--sun);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  justify-self: start;
  background: var(--sun);
  color: var(--forest);
}

button[disabled] {
  cursor: wait;
  opacity: 0.7;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.form-status.is-ok {
  color: #cfe8bf;
}

.form-status.is-error {
  color: #ffb3a9;
}

footer {
  padding: 36px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(20, 36, 26, 0.82), rgba(20, 36, 26, 0.7)),
      url("assets/Alstromeriya-.jpeg") center / cover;
  }

  .nav-links {
    color: rgba(255, 255, 255, 0.84);
  }

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

  .hero-visual {
    display: none;
  }

  .hero-copy {
    padding: 70px 0 44px;
  }

  .catalog-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .catalog-item,
  .catalog-item-large {
    min-height: 280px;
    grid-row: auto;
  }

  .service-copy {
    position: static;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .topbar,
  .nav-links,
  .hero-actions {
    align-items: flex-start;
  }

  .topbar {
    display: grid;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-stage,
  .topbar,
  .hero-rail,
  .catalog,
  .metrics,
  .contact-section {
    width: min(100% - 36px, 1320px);
  }

  .hero-rail {
    grid-template-columns: 1fr;
    margin-bottom: 20px;
  }

  .hero-rail span {
    min-height: 46px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-stack article {
    grid-template-columns: 1fr;
  }

  .service-stack img {
    margin-bottom: 20px;
  }

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