:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --gold: #d4af37;
  --gold-dark: #b8941f;
  --muted: #64748b;
  --paper: #ffffff;
  --paper-warm: #fbf8f0;
  --line: #e8edf3;
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #f8fafc;
  line-height: 1.55;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  overflow: visible;
  color: #fff;
  background: rgba(15, 23, 42, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  overflow: visible;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-mark,
.footer-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  font-weight: 800;
}

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

.brand small,
.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
  overflow: visible;
}

.header-nav > a,
.header-nav-trigger {
  position: relative;
  padding: 26px 0;
  color: inherit;
}

.header-nav-trigger {
  display: inline-block;
  margin: 0;
  padding: 26px 0;
  border: 0;
  background: transparent;
  background-color: transparent;
  box-shadow: none;
  font: inherit;
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: none;
  cursor: default;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.header-nav > a:hover,
.header-nav-trigger:hover,
.header-nav > a.active,
.header-nav-trigger.active {
  color: #fff;
}

.header-nav > a.active::after,
.header-nav-trigger.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 17px;
  height: 2px;
  background: var(--gold);
}

.header-nav-dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.header-nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  display: block;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  padding: 8px;
  border-radius: 14px;
  background: #17171b;
  border: 1px solid rgba(201, 162, 77, 0.24);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.48);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.header-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.header-nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.header-nav-dropdown a:hover,
.header-nav-dropdown a.active {
  color: #fff;
  background: rgba(201, 162, 77, 0.14);
}

.header-nav-dropdown-wrap:hover .header-nav-dropdown,
.header-nav-dropdown-wrap:focus-within .header-nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

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

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.header-phone img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.viber-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #fff;
  background: #7360f2;
  font-weight: 800;
}

.viber-btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: #fff;
  background: var(--ink);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.9) 40%, rgba(15, 23, 42, 0.55) 65%, rgba(15, 23, 42, 0.25) 100%),
    url("../kontakty/hero-flowers.png") right center / cover no-repeat,
    #0b1220;
}

.quick-bg {
  position: absolute;
  inset: 0;
  background: var(--ink);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
  padding: 136px 0 86px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 10px;
  color: rgba(255, 255, 255, 0.42);
}

.address-pill,
.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.12);
  font-size: 13px;
  font-weight: 800;
}

.address-pill img,
.label img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.hero h1 {
  max-width: 620px;
  margin: 28px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  max-width: 540px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.hero-buttons,
.card-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 800;
}

.btn img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-gold,
.btn-gold-light {
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold), #e7c550);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.26);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.04);
}

.btn-viber {
  color: #7360f2;
  border-color: rgba(115, 96, 242, 0.35);
  background: rgba(115, 96, 242, 0.08);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 620px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-points div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.35;
}

.hero-points img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.contact-card {
  width: min(100%, 390px);
  justify-self: center;
  padding: 38px;
  border-radius: var(--radius-xl);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.card-badge {
  color: var(--gold);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 26px;
}

.contact-card h2 {
  margin: 0 0 8px;
  font-size: 25px;
}

.card-phone {
  display: block;
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
}

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

.contact-list > div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-list > div:first-child {
  border-top: 0;
  padding-top: 0;
}

.contact-list img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.contact-list strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.hero-points b {
  color: var(--gold);
}

.quick-section {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 72px 0 46px;
  color: #fff;
  background: var(--ink);
}

.quick-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.quick-card {
  min-height: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #2a2a2e;
}

.quick-card.active {
  border-color: rgba(212, 175, 55, 0.8);
}

.quick-num,
.step-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  font-weight: 800;
}

.quick-num {
  position: absolute;
  top: 22px;
  left: 22px;
}

.quick-icon {
  display: block;
  width: 112px;
  height: 112px;
  margin-bottom: 22px;
  object-fit: contain;
}

.quick-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 21px;
}

.quick-card small {
  max-width: 260px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.seo-card-section {
  position: relative;
  z-index: 2;
  padding: 0 0 58px;
  background: linear-gradient(#0f172a 0 46px, #fff 46px);
}

.seo-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 48px;
  padding: 46px 54px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.seo-title {
  border-right: 1px solid rgba(212, 175, 55, 0.22);
}

.seo-card h2 {
  margin: 24px 0 30px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.seo-lines {
  display: grid;
  gap: 18px;
}

.seo-lines p {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.seo-lines img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.steps-section {
  padding: 44px 0 22px;
  background: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dark-card {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  padding: 34px 44px;
  border-radius: 18px;
  color: #fff;
  background: #2a2a2e;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dark-card.with-flowers::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -40px;
  width: 280px;
  height: 280px;
  opacity: 0.22;
  background: url("../kontakty/flowers-bouquet.png") right bottom / contain no-repeat;
  pointer-events: none;
}

.dark-card h2 {
  margin: -38px 0 18px 62px;
  font-size: 25px;
}

.dark-card p {
  max-width: 460px;
  margin: 0 0 22px 62px;
  color: rgba(255, 255, 255, 0.72);
}

.dark-card ul,
.dark-card ol {
  display: grid;
  gap: 10px;
  margin: 0 0 0 62px;
  padding: 0;
  list-style: none;
}

.dark-card li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.dark-card ul li::before {
  content: "•";
  margin-right: 10px;
  color: var(--gold);
}

.dark-card ol li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
}

.dark-card ol b {
  color: var(--gold);
}

.form-section {
  position: relative;
  overflow: hidden;
  padding: 58px 0;
  background: #fff;
}

.flower-left {
  position: absolute;
  left: -40px;
  bottom: 0;
  width: 300px;
  height: 420px;
  opacity: 0.55;
  background: url("../kontakty/flowers-lilies.png") left bottom / contain no-repeat;
  pointer-events: none;
}

.form-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 42px;
  padding: 38px;
  border-radius: var(--radius-xl);
  background: var(--paper-warm);
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
}

.form-copy h2 {
  max-width: 520px;
  margin: 24px 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

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

.mini-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
}

.mini-benefits div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.mini-benefits img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.phone-box {
  max-width: 390px;
  padding: 22px 28px;
  border-radius: 18px;
  background: #f2ead7;
}

.phone-box span,
.phone-box small {
  display: block;
  color: var(--muted);
}

.phone-box a {
  display: block;
  margin: 4px 0;
  font-size: 26px;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #dcb72c);
  font-weight: 800;
  cursor: pointer;
}

.contact-form p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.local-info-section {
  padding: 68px 0 58px;
  background: #fff;
}

.local-stack {
  display: grid;
  gap: 22px;
}

.local-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 52px;
  align-items: center;
  padding: 62px 78px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(248, 250, 252, 0.94)),
    #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(232, 237, 243, 0.9);
}

.area-copy h2,
.faq-head h2,
.links-section h2 {
  margin: 22px 0 14px;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.area-copy p,
.faq-head p,
.links-section p {
  color: var(--muted);
  font-size: 17px;
}

.area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area-cards article {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.faq-grid article {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.area-cards .area-icon {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  margin: 0 0 26px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.area-cards .area-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.faq-grid .faq-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

.faq-grid .faq-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.area-cards small {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-weight: 700;
}

.area-cards strong {
  font-size: 20px;
}

.faq-panel {
  position: relative;
  overflow: hidden;
  padding: 58px 78px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 0.98) 0%, rgba(248, 250, 252, 0.94) 67%, rgba(248, 250, 252, 0.54) 100%),
    #f8fafc;
  box-shadow: inset 0 0 0 1px rgba(232, 237, 243, 0.9);
}

.faq-lily {
  position: absolute;
  right: -20px;
  top: 0;
  width: 340px;
  height: 100%;
  opacity: 0.45;
  pointer-events: none;
  background: url("../kontakty/lily-line.png") right center / contain no-repeat;
}

.faq-head {
  max-width: 680px;
  margin-bottom: 34px;
}

.faq-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
}

.faq-grid h3 {
  margin: 0 0 14px;
  font-size: 20px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.links-section {
  padding: 72px 0;
  color: #fff;
  background: var(--ink);
}

.links-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.66);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}

.links-grid a {
  min-height: 132px;
  padding: 26px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s, background 0.2s;
}

.links-grid a:hover {
  border-color: rgba(212, 175, 55, 0.4);
  background: rgba(255, 255, 255, 0.07);
}

.links-grid img {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  object-fit: contain;
}

.links-grid strong,
.links-grid small {
  display: block;
}

.links-grid strong {
  margin-bottom: 12px;
  font-size: 19px;
}

.links-grid small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer {
  padding: 34px 0;
  color: #fff;
  background: #0b1220;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
}

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

.footer-mark {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.footer-nav {
  display: flex;
  gap: 28px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-nav a:hover {
  color: var(--gold);
}

.mobile-call {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 800;
  box-shadow: var(--shadow);
}

@media (max-width: 980px) {
  .header-nav,
  .header-actions .viber-btn {
    display: none;
  }

  .hero-inner,
  .seo-card,
  .steps-grid,
  .form-wrap,
  .local-panel {
    grid-template-columns: 1fr;
  }

  .seo-title {
    padding-right: 0;
    border-right: 0;
  }

  .quick-grid,
  .area-cards,
  .faq-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .hero-points,
  .mini-benefits {
    grid-template-columns: 1fr;
  }

  .contact-card {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-phone {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 112px 0 54px;
  }

  .contact-card,
  .seo-card,
  .form-wrap,
  .local-panel,
  .faq-panel {
    padding: 26px;
  }

  .dark-card {
    padding: 28px;
  }

  .dark-card h2,
  .dark-card p,
  .dark-card ul,
  .dark-card ol {
    margin-left: 0;
  }

  .dark-card h2 {
    margin-top: 20px;
  }

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

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

  .mobile-call {
    display: flex;
  }
}
