/* ОкноГард — premium visual system */

:root {
  --color-primary: #0b2430;
  --color-primary-dark: #06151c;
  --color-primary-soft: #143847;
  --color-accent: #c4923a;
  --color-accent-dark: #a67728;
  --color-accent-soft: #f3e6cf;
  --color-urgency: #b86a2a;
  --color-bg: #eef2f4;
  --color-bg-section: #f8fafb;
  --color-bg-elevated: #ffffff;
  --color-text: #122029;
  --color-text-muted: #4d606c;
  --color-border: #d5dee4;
  --color-gold-line: rgba(196, 146, 58, 0.45);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 6px rgba(6, 21, 28, 0.03), 0 18px 40px rgba(6, 21, 28, 0.08);
  --shadow-lift: 0 12px 40px rgba(6, 21, 28, 0.12);
  --shadow-cta: 0 10px 28px rgba(196, 146, 58, 0.38);
  --container: min(1160px, calc(100% - 2.5rem));
  --font-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
  --leading-body: 1.7;
}

html {
  font-size: 16.5px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(196, 146, 58, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(20, 56, 71, 0.06), transparent 50%),
    var(--color-bg);
  line-height: var(--leading-body);
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}

.container {
  width: var(--container);
}

/* Typography */
.section__eyebrow {
  color: var(--color-accent-dark);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--color-primary);
  max-width: 18ch;
}

.section__lead {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 48ch;
  font-weight: 500;
}

.section {
  padding: 4.5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

.section__head {
  margin-bottom: 2.5rem;
  position: relative;
  padding-bottom: 1.25rem;
}

.section__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  border-radius: 2px;
}

.logo__mark {
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: block !important;
}

/* Buttons */
.btn {
  border-radius: 12px;
  letter-spacing: 0.01em;
}

.btn--primary {
  background: linear-gradient(135deg, #d4a84b 0%, #c4923a 45%, #a67728 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #e0b65a 0%, #c4923a 50%, #9a6d22 100%);
  color: #fff;
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
}

/* Hero */
.hero {
  min-height: min(94vh, 880px);
}

.hero__overlay {
  background:
    linear-gradient(115deg, rgba(6, 21, 28, 0.94) 0%, rgba(11, 36, 48, 0.82) 42%, rgba(11, 36, 48, 0.35) 100%),
    linear-gradient(0deg, rgba(6, 21, 28, 0.45), transparent 40%);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  max-width: 14ch;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

.hero__lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 36ch;
  font-weight: 500;
}

.hero__badge {
  background: rgba(196, 146, 58, 0.18);
  border-color: rgba(212, 168, 75, 0.55);
  color: #f3e6cf;
  backdrop-filter: blur(8px);
}

.hero__live {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 168, 75, 0.35);
}

/* Cards — rich elevated surfaces */
.pain-card,
.benefit-card,
.testimonial,
.pricing-card,
.step-card,
.stat,
.contacts__card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid rgba(213, 222, 228, 0.9);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
}

.pain-card {
  border-left: 3px solid var(--color-accent);
  padding: 1.4rem;
}

.pain-card h3,
.benefit-card h3,
.step-card h3,
.pricing-card h3,
.testimonial__name,
.case__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.pain-card p,
.benefit-card p,
.step-card p,
.case__body p,
.testimonial__text {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.benefit-card__icon,
.pain-card__icon {
  background: linear-gradient(145deg, rgba(196, 146, 58, 0.14), rgba(11, 36, 48, 0.06));
  color: var(--color-primary);
  border: 1px solid rgba(196, 146, 58, 0.2);
  border-radius: 14px;
  margin-bottom: 0;
}

.benefit-card,
.step-card,
.testimonial {
  padding: 1.2rem 1.25rem;
}

.benefit-card:hover .benefit-card__icon,
.pain-card:hover .pain-card__icon {
  background: linear-gradient(145deg, rgba(196, 146, 58, 0.22), rgba(196, 146, 58, 0.08));
  color: var(--color-accent-dark);
}

/* Solution */
.solution {
  background:
    radial-gradient(ellipse at top right, rgba(196, 146, 58, 0.1), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(11, 36, 48, 0.05), transparent 45%),
    var(--color-bg-section);
}

.solution__promo {
  background:
    linear-gradient(155deg, #0b2430 0%, #143847 48%, #1a5260 100%);
  border: 1px solid rgba(196, 146, 58, 0.35);
  box-shadow: var(--shadow-lift), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: var(--radius-lg);
}

.solution__promo-badge {
  background: rgba(196, 146, 58, 0.22);
  color: #f3e6cf;
  border: 1px solid rgba(212, 168, 75, 0.35);
}

.solution__promo h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

.solution__price-now {
  color: #f3e6cf;
  font-family: var(--font-display);
}

.solution__list li {
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 500;
}

.solution__list svg {
  color: var(--color-accent);
}

/* Pricing */
.pricing {
  background:
    linear-gradient(180deg, #f8fafb 0%, #eef2f4 100%);
}

.pricing-card {
  padding: 1.75rem;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--color-primary), #1a5260);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pricing-card--featured {
  background:
    linear-gradient(180deg, #fffdf8 0%, #ffffff 40%, #fbf7ef 100%);
  border: 2px solid var(--color-accent);
  box-shadow: var(--shadow-lift);
}

.pricing-card__badge {
  background: linear-gradient(135deg, #d4a84b, #a67728);
  color: #0b2430;
  font-weight: 800;
}

.pricing-card li {
  line-height: 1.55;
  font-size: 0.98rem;
}

.services__title {
  font-family: var(--font-display);
  font-weight: 600;
}

.services-list {
  box-shadow: var(--shadow-soft);
}

.services-list li:nth-child(even) {
  background: rgba(248, 250, 251, 0.85);
}

.services-list__price {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.extras {
  background:
    radial-gradient(ellipse at top right, rgba(196, 146, 58, 0.08), transparent 40%),
    linear-gradient(180deg, #eef2f4 0%, #f8fafb 100%);
}

.extras-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

.extras-item__price {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--color-primary), #1a5260);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.extras-item__icon {
  border: 1px solid rgba(196, 146, 58, 0.28);
}

/* Stats */
.stat {
  padding: 1.5rem 1.2rem;
}

.stat__num {
  font-family: var(--font-display);
  font-weight: 600;
  background: linear-gradient(120deg, #0b2430 10%, #1a5260 45%, #c4923a 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 0.35rem;
  display: block;
}

/* Testimonials */
.testimonial {
  position: relative;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.55rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: rgba(196, 146, 58, 0.25);
  pointer-events: none;
}

.testimonial__text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text);
}

.testimonial__stars {
  color: #c4923a;
}

/* Certificates */
.certs {
  gap: 1.25rem;
}

.certs img {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gold-line);
  box-shadow: var(--shadow-soft);
  background: #fff;
  transition: transform 0.35s, box-shadow 0.35s;
}

.certs img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lift);
}

.certs__caption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.45;
}

.certs figure {
  margin: 0;
}

/* Steps */
.step-card::before {
  background: linear-gradient(145deg, #0b2430, #1a5260);
  box-shadow: 0 6px 16px rgba(11, 36, 48, 0.25);
  font-family: var(--font-display);
}

.steps {
  background: var(--color-bg-section);
}

/* Cases */
.case-card {
  box-shadow: var(--shadow-soft);
}

.case-card__label {
  background: rgba(6, 21, 28, 0.88);
  border: 1px solid rgba(196, 146, 58, 0.4);
}

.case-card__body h3 {
  font-family: var(--font-display);
  font-weight: 600;
}

/* FAQ */
.faq__item {
  background: #fff;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-md);
}

.faq__question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: -0.015em;
  padding: 1.2rem 1.3rem;
}

.faq__answer {
  font-size: 1rem;
  line-height: 1.7;
}

.faq__lead {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.faq__fact-value {
  font-family: var(--font-display);
  font-weight: 600;
}

.faq__facts {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.faq__icon {
  color: var(--color-accent-dark);
}

/* Lead */
.lead {
  background:
    radial-gradient(ellipse at top right, rgba(196, 146, 58, 0.18), transparent 45%),
    linear-gradient(145deg, #06151c 0%, #0b2430 45%, #143847 100%);
}

.lead .section__title {
  max-width: 16ch;
  color: #fff;
  font-family: var(--font-display);
}

.lead .section__lead {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.lead-form {
  border: 1px solid rgba(196, 146, 58, 0.25);
  box-shadow: var(--shadow-lift);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.lead-form label {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.lead-form__input {
  border-radius: 12px;
  border-color: #cfd8de;
  font-size: 1.05rem;
  min-height: 52px;
}

.lead-form__select {
  font-weight: 600;
}

.lead-form__input:focus {
  border-color: var(--color-accent);
  outline-color: rgba(196, 146, 58, 0.35);
}

.lead__aside-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(196, 146, 58, 0.22);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
}

.lead__aside-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: #f3e6cf;
}

/* Contacts */
.contacts {
  background: var(--color-bg);
}

.contacts__card {
  padding: 1.75rem;
}

.contacts__list span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 0.25rem;
}

.contacts__list a,
.contacts__list strong {
  font-size: 1.08rem;
  line-height: 1.45;
}

.contacts__messengers a {
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.contacts__map {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
  min-height: 360px;
}

.contacts__map iframe {
  min-height: 360px;
}

/* Footer */
.footer {
  background:
    linear-gradient(180deg, #0b2430 0%, #06151c 100%);
  border-top: 1px solid rgba(196, 146, 58, 0.25);
}

.footer__brand {
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.footer__brand img,
.footer__brand .logo__mark {
  display: block;
  flex-shrink: 0;
}

.footer a {
  color: #e4c789;
}

.footer__nap,
.footer__legal {
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Callbar */
.callbar {
  background: rgba(6, 21, 28, 0.96);
  border-top: 1px solid rgba(196, 146, 58, 0.3);
}

.callbar .btn--call {
  background: #fff;
  color: var(--color-primary);
  font-weight: 700;
}

/* Readability helpers */
.pain,
.benefits,
.social,
.contacts {
  background: transparent;
}

.cases {
  background:
    radial-gradient(ellipse at top left, rgba(196, 146, 58, 0.1), transparent 42%),
    linear-gradient(180deg, #f3f6f8 0%, #e9eef1 100%);
}

.pain .container,
.benefits .container,
.social .container,
.cases .container,
.contacts .container {
  position: relative;
}

@media (max-width: 767.98px) {
  .pricing-card--featured {
    transform: none !important;
  }
}

/* Override motion accent colors for gold */
.btn--pulse {
  animation: cta-pulse-gold 2.4s ease-in-out infinite;
}

@keyframes cta-pulse-gold {
  0%, 100% { box-shadow: 0 10px 28px rgba(196, 146, 58, 0.38); }
  50% { box-shadow: 0 10px 32px rgba(196, 146, 58, 0.55), 0 0 0 10px rgba(196, 146, 58, 0.12); }
}
