@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #eef4ff;
  --bg-soft: #f9fbff;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #4a5c78;
  --text-soft: #6b7d98;
  --heading: #10203c;
  --dark: #081226;
  --accent: #2f6fe4;
  --accent-dark: #1d56bc;
  --accent-soft: rgba(47, 111, 228, 0.12);
  --line: rgba(16, 32, 60, 0.1);
  --shadow: 0 26px 60px rgba(14, 30, 60, 0.12);
  --shadow-soft: 0 14px 30px rgba(14, 30, 60, 0.08);
  --radius: 24px;
}

html {
  perspective: none !important;
}

body {
  font-family: "Manrope", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 111, 228, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(71, 193, 255, 0.1), transparent 20%),
    linear-gradient(180deg, #fbfdff 0%, #eef4ff 55%, #f7faff 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 111, 228, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 111, 228, 0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.24), transparent 72%);
  pointer-events: none;
  z-index: -1;
}

body,
button,
input,
textarea,
select {
  font-family: "Manrope", "Segoe UI", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-slogan h2,
.footer-slogan h2 {
  color: var(--heading);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-header {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(47, 111, 228, 0.12);
  box-shadow: 0 10px 30px rgba(14, 30, 60, 0.05);
  backdrop-filter: blur(16px);
}

.site-logo img,
.footer-logo img,
.video-logo img {
  filter: drop-shadow(0 10px 18px rgba(15, 34, 70, 0.08));
}

.main-nav a {
  color: #28405f;
  font-weight: 700;
}

.main-nav a::after {
  background: linear-gradient(90deg, #2f6fe4, #47c1ff);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.menu-toggle {
  border-radius: 18px;
  border-color: rgba(47, 111, 228, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.hero-carousel,
.video-slider {
  background:
    linear-gradient(135deg, rgba(8, 18, 38, 0.96) 0%, rgba(17, 44, 92, 0.82) 52%, rgba(26, 84, 169, 0.72) 100%);
}

.hero-carousel::before,
.video-slide::after {
  background:
    linear-gradient(90deg, rgba(5, 11, 24, 0.62) 0%, rgba(5, 11, 24, 0.28) 34%, rgba(5, 11, 24, 0.08) 62%, rgba(5, 11, 24, 0.18) 100%);
}

.hero-carousel .hero-text {
  left: 7%;
  top: auto;
  bottom: 72px;
  transform: none;
  width: min(560px, calc(100% - 40px));
  max-width: 560px;
  padding: 0;
  text-align: left;
}

.hero-carousel .hero-text h1 {
  margin: 0 0 14px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  letter-spacing: -0.06em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-carousel .hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 0.94rem + 0.36vw, 1.2rem);
}

.hero-carousel .hero-text > p {
  display: none;
}

.hero-welcome-shell {
  display: grid;
  gap: 16px;
  margin-bottom: 18px;
  padding: 24px 26px;
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(9, 21, 43, 0.62) 0%, rgba(14, 34, 67, 0.36) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.2);
  backdrop-filter: blur(10px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f4f7fb;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-modern-copy {
  margin: 0;
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.72;
  text-shadow: none;
}

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

.hero-actions .pill-btn:not(.solid) {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.hero-actions .pill-btn:not(.solid):hover {
  background: rgba(255, 255, 255, 0.14);
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-mini-stats span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.86rem;
  font-weight: 600;
}

.section-kicker,
.product-tag,
.quote-series-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(47, 111, 228, 0.1);
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.section-dark,
.section-light,
.section-dark-soft,
.title-section,
.subtitle-section,
.trust-strip,
.expertise-section,
.process-section,
.projects-section,
.catalog-section,
.products-showcase {
  background: transparent;
}

.about-section .container,
.catalog-card,
.product-block,
.project-card,
.expertise-card,
.process-step,
.trust-card,
.presentation-text,
.contact-card,
.map-card,
.gallery-card,
.product-detail-card,
.about-hero-card,
.about-story-card,
.about-values-card,
.about-cta-card,
.quote-shell,
.quote-step-block,
.quote-category-card,
.quote-series-card,
.quote-opening-card,
.quote-radio-pill,
.quote-brand-pill,
.quote-measure-table-wrap,
.quote-panel-title {
  border: 1px solid rgba(47, 111, 228, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 255, 0.94) 100%);
  box-shadow: var(--shadow-soft);
}

.about-section .container,
.catalog-card,
.product-block,
.project-card,
.expertise-card,
.process-step,
.trust-card,
.presentation-text,
.contact-card,
.map-card,
.gallery-card,
.product-detail-card,
.about-hero-card,
.about-story-card,
.about-values-card,
.about-cta-card,
.quote-category-card,
.quote-series-card,
.quote-opening-card,
.quote-radio-pill,
.quote-brand-pill {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.about-section .container:hover,
.catalog-card:hover,
.product-block:hover,
.project-card:hover,
.expertise-card:hover,
.process-step:hover,
.trust-card:hover,
.presentation-text:hover,
.contact-card:hover,
.map-card:hover,
.gallery-card:hover,
.product-detail-card:hover,
.about-hero-card:hover,
.about-story-card:hover,
.about-values-card:hover,
.about-cta-card:hover,
.quote-category-card:hover,
.quote-series-card:hover,
.quote-opening-card:hover,
.quote-radio-pill:hover,
.quote-brand-pill:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 111, 228, 0.18);
  box-shadow: var(--shadow);
}

.trust-card strong,
.project-card span,
.about-stat-card strong,
.process-step span {
  color: var(--accent);
}

.product-visual,
.project-card-media,
.catalog-image,
.video-slider,
.map-card,
.quote-series-visual,
.quote-opening-card-media {
  border-radius: 20px;
  border: 1px solid rgba(47, 111, 228, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(235, 243, 255, 0.95) 100%);
}

.products-showcase .product-block {
  border-radius: 30px;
}

.products-showcase .product-visual {
  min-height: 410px;
  padding: 22px;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.96) 100%);
}

.product-visual img,
.project-card-media img,
.catalog-image img,
.presentation-image img,
.gallery-card img,
  .quote-series-visual img,
  .quote-opening-card-media img {
  filter: drop-shadow(0 18px 24px rgba(16, 32, 60, 0.08));
}

.products-showcase .product-visual img {
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(16, 32, 60, 0.08);
}

.quote-opening-card {
  align-content: start;
}

.quote-opening-card-media {
  width: 100%;
  min-height: 228px;
  padding: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 248, 255, 0.96) 100%);
}

.quote-opening-card-media img {
  display: block;
  width: auto;
  max-width: 84%;
  max-height: none;
  height: clamp(138px, 12vw, 172px);
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  filter: none;
  box-shadow: 0 10px 22px rgba(16, 32, 60, 0.05);
  transform: scale(1);
  transform-origin: center;
}

.quote-opening-card-media.is-window img {
  height: clamp(146px, 13vw, 182px);
  transform: scale(1.12);
}

.quote-opening-card-media.is-wide img,
.quote-opening-card-media.is-wide-door img {
  height: clamp(138px, 12vw, 172px);
  transform: scale(1.04);
}

.quote-opening-card-media.is-door img {
  height: clamp(156px, 14vw, 196px);
  transform: scale(1.14);
}

.quote-opening-card:hover .quote-opening-card-media.is-window img,
.quote-opening-card.is-active .quote-opening-card-media.is-window img {
  transform: scale(1.12);
}

.quote-opening-card:hover .quote-opening-card-media.is-wide img,
.quote-opening-card.is-active .quote-opening-card-media.is-wide img,
.quote-opening-card:hover .quote-opening-card-media.is-wide-door img,
.quote-opening-card.is-active .quote-opening-card-media.is-wide-door img {
  transform: scale(1.04);
}

.quote-opening-card:hover .quote-opening-card-media.is-door img,
.quote-opening-card.is-active .quote-opening-card-media.is-door img {
  transform: scale(1.14);
}

.pill-btn {
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 228, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: var(--heading);
  box-shadow: 0 10px 24px rgba(14, 30, 60, 0.08);
}

.pill-btn:hover {
  transform: translateY(-2px);
  background: #ffffff;
  color: var(--accent);
  border-color: rgba(47, 111, 228, 0.22);
  box-shadow: 0 16px 30px rgba(14, 30, 60, 0.12);
}

.pill-btn.solid {
  background: linear-gradient(135deg, #2f6fe4 0%, #4b8cff 100%);
  border-color: #2f6fe4;
  color: #ffffff;
}

.pill-btn.solid:hover {
  background: linear-gradient(135deg, #1d56bc 0%, #2f6fe4 100%);
  border-color: #1d56bc;
  color: #ffffff;
}

.carousel-btn,
.video-btn {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.carousel-btn:hover,
.video-btn:hover {
  background: rgba(47, 111, 228, 0.88);
}

.carousel-dots button.active,
.video-dots button.active {
  background: #47c1ff;
}

.presentation-text,
.catalog-text,
.about-text-pro,
.project-card-body,
.product-content,
.contact-form,
.about-copy {
  color: var(--text);
}

input,
textarea,
select {
  border-radius: 16px !important;
  border: 1px solid rgba(47, 111, 228, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: var(--heading);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(47, 111, 228, 0.32);
  box-shadow: 0 0 0 4px rgba(47, 111, 228, 0.1);
  outline: none;
}

.quote-shell,
.quote-step-block,
.quote-series-stage,
.quote-panel-title {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 248, 255, 0.94) 100%);
}

.quote-category-card.is-active,
.quote-series-card.is-active,
.quote-brand-pill.is-active,
.quote-radio-pill.is-active,
.quote-opening-card.is-active {
  border-color: rgba(47, 111, 228, 0.28);
  box-shadow: 0 0 0 2px rgba(47, 111, 228, 0.14) inset, var(--shadow-soft);
}

.quote-opening-badge {
  background: rgba(47, 111, 228, 0.08);
  color: var(--accent);
  border-color: rgba(47, 111, 228, 0.12);
}

.footer-section {
  background:
    linear-gradient(180deg, rgba(247, 250, 255, 0.7) 0%, rgba(228, 238, 255, 0.92) 100%);
  border-top: 1px solid rgba(47, 111, 228, 0.1);
}

.about-cta-card {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, #1c4fb0 0%, #2f6fe4 56%, #5ea4ff 100%);
  border: 1px solid rgba(76, 140, 255, 0.26);
  box-shadow: 0 28px 60px rgba(20, 48, 102, 0.22);
}

.about-cta-card .section-kicker {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-cta-copy h2,
.about-cta-copy p {
  color: #ffffff;
}

.about-cta-copy p {
  color: rgba(255, 255, 255, 0.88);
}

.about-cta-card .pill-btn:not(.solid) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}

.about-cta-card .pill-btn:not(.solid):hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.footer-copy,
.footer-meta-links,
.social-row a {
  color: #48607f;
}

.footer-line {
  border-color: rgba(47, 111, 228, 0.1);
}

.product-3d:hover,
.trust-card-3d:hover,
.project-3d:hover,
.expertise-3d:hover,
.glass-3d:hover,
.button-3d:hover,
.about-3d-image:hover img,
.product-3d:hover .product-visual-3d,
.project-3d:hover .project-3d-media,
.project-3d:hover .project-3d-overlay,
.expertise-3d:hover h3 {
  transform: none !important;
}

.project-3d-overlay {
  background: linear-gradient(180deg, rgba(11, 28, 58, 0.02) 0%, rgba(11, 28, 58, 0.08) 100%);
  opacity: 1;
}

@media (max-width: 900px) {
  .hero-carousel .hero-text {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto;
    max-width: none;
  }

  .hero-welcome-shell {
    padding: 20px;
    border-radius: 22px;
  }

  .products-showcase .product-visual {
    min-height: 320px;
    padding: 16px;
  }

  .quote-opening-card-media {
    min-height: 204px;
    padding: 14px;
  }

  .quote-opening-card-media img {
    max-width: 82%;
  }

  .quote-opening-card-media.is-window img {
    height: clamp(132px, 28vw, 162px);
    transform: scale(1.08);
  }

  .quote-opening-card-media.is-wide img,
  .quote-opening-card-media.is-wide-door img {
    height: clamp(126px, 26vw, 154px);
    transform: scale(1.02);
  }

  .quote-opening-card-media.is-door img {
    height: clamp(142px, 30vw, 174px);
    transform: scale(1.1);
  }

  .quote-opening-card:hover .quote-opening-card-media.is-window img,
  .quote-opening-card.is-active .quote-opening-card-media.is-window img {
    transform: scale(1.08);
  }

  .quote-opening-card:hover .quote-opening-card-media.is-wide img,
  .quote-opening-card.is-active .quote-opening-card-media.is-wide img,
  .quote-opening-card:hover .quote-opening-card-media.is-wide-door img,
  .quote-opening-card.is-active .quote-opening-card-media.is-wide-door img {
    transform: scale(1.02);
  }

  .quote-opening-card:hover .quote-opening-card-media.is-door img,
  .quote-opening-card.is-active .quote-opening-card-media.is-door img {
    transform: scale(1.1);
  }

  .about-section .container:hover,
  .catalog-card:hover,
  .product-block:hover,
  .project-card:hover,
  .expertise-card:hover,
  .process-step:hover,
  .trust-card:hover,
  .presentation-text:hover,
  .contact-card:hover,
  .map-card:hover,
  .gallery-card:hover,
  .product-detail-card:hover,
  .about-hero-card:hover,
  .about-story-card:hover,
  .about-values-card:hover,
  .about-cta-card:hover,
  .quote-category-card:hover,
  .quote-series-card:hover,
  .quote-opening-card:hover,
  .quote-radio-pill:hover,
  .quote-brand-pill:hover {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section .container,
  .catalog-card,
  .product-block,
  .project-card,
  .expertise-card,
  .process-step,
  .trust-card,
  .presentation-text,
  .contact-card,
  .map-card,
  .gallery-card,
  .product-detail-card,
  .about-hero-card,
  .about-story-card,
  .about-values-card,
  .about-cta-card,
  .quote-category-card,
  .quote-series-card,
  .quote-opening-card,
  .quote-radio-pill,
  .quote-brand-pill,
  .pill-btn {
    transition: none !important;
    transform: none !important;
  }
}
