* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f4f6f9;
  --bg-elevated: rgba(255, 255, 255, 0.85);
  --accent: #4556a6;
  --accentDark: #30375e;
  --text: #111622;
  --text-soft: rgba(17, 22, 34, 0.65);
  --text-faint: rgba(17, 22, 34, 0.35);
  --border: rgba(17, 22, 34, 0.08);
  --blur-val: 20px;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-system);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.blur-bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.blur-bg-image {
  width: 100%;
  height: 100%;
  background-image: url('phone.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(var(--blur-val)) brightness(0.95);
  transform: scale(1.05);
}

.app-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background-color: transparent;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero-section {
  position: relative;
  height: 35vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  padding: 4rem;
  overflow: hidden;
}

.hero-section__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('phone.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.intro-section,
.production-section,
.formats-section,
.ctm-section,
.tech-section,
.types-section,
.contact-section {
  position: relative;
  z-index: 2;
}

.hero-section__content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.hero-section__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-section__desc {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-soft);
  max-width: 650px;
}

.hero-section__footer-text {
  margin-top: 2rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-faint);
}

.intro-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  position: relative;
}

.intro-inner {
  height: 100%;
  width: 100%;
  max-width: 1200px;
  height: calc(100vh - 70px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  z-index: 2;
}

.intro-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.intro-desc {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 1000px;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  text-align: center;
}

.intro-footer {
  align-self: end;
  justify-self: center;
  margin-bottom: 3rem;
  text-align: center;
  padding-bottom: 1rem;
}

.intro-section__bg-logo {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 1;
  background-image: url('logo-white.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.main-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1440px;
  z-index: 100;
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.main-header.is-sticky {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 1440px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: 0;
}

.main-header__inner {
  height: 70px;
  padding: 0 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-header__logo {
  display: flex;
  align-items: center;
  line-height: 1.1;
  gap: 0.75rem;
}

.main-header__logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.main-header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.main-header__logo strong {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  font-weight: 800;
}

.main-header__logo span {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav__link {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.main-nav__link:hover {
  color: var(--accent);
}

.header-phone {
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}

.section {
  padding: 6rem 4rem;
}

.section__header {
  margin-bottom: 4rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section__actions {
  display: flex;
  justify-content: center;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section__subtitle {
  font-size: 1.15rem;
  color: var(--text-soft);
  margin-top: 1rem;
}

.production-grid,
.formats-grid,
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.prod-card,
.format-card,
.tech-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.prod-card,
.format-card,
.tech-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.prod-card:hover,
.format-card:hover,
.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn--primary {
  background-color: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background-color: var(--accentDark);
}

.btn--secondary {
  background-color: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn--secondary:hover {
  background-color: var(--accentDark);
  color: #fff;
}

.production-grid {
  margin-bottom: 3rem;
}

.production-grid,
.formats-grid,
.tech-grid {
  width: 100%;
}

.prod-card__icon {
  display: flex;
  justify-content: center;
}

.prod-card__icon img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.prod-card__value {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  text-align: center;
  transform: scale(0.8);
  transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1); 
}

.prod-card.is-visible .prod-card__value {
  transform: scale(1.15);
}

.prod-card__label {
  font-size: 1rem;
  color: var(--text-soft);
  text-align: center;
}

.production-section {
  position: relative;
  z-index: 2;
  background: transparent;
}

.production-section__footer {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-soft);
  text-align: center;
}

.formats-grid {
  margin-bottom: 3rem;
}

.format-card__icon img {
  height: 80px;
  margin-bottom: 1.5rem;
}

.format-card__title {
  font-size: clamp(2rem, 4vw, 3.2rem);;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--accent);
  text-align: center;
}

.format-card__desc {
  color: var(--text-soft);
  text-align: center;
}

.ctm-actions {
  display: flex;
  justify-content: center;
}

.ctm-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ctm-limits {
  list-style: none;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ctm-limits li {
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border);
}

.ctm-limits span {
  font-weight: 700;
  color: var(--accent);
}

.ctm-layout__visual {
  width: 100%;
}

.ctm-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
}

.tech-card__num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-faint);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.tech-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tech-card__desc {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.types-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1);
}

.types-slide {
  min-width: 100%;
  flex-shrink: 0;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  height: 640px;
  background: var(--bg-elevated);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform 1.2s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

.slider-arrow {
  position: absolute;
  top: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 5;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
}

.slider-arrow--left { left: 10px; }
.slider-arrow--right { right: 10px; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.slider-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-faint);
  cursor: pointer;
}

.slider-dots .active {
  background: var(--accent);
}

.slider-filters {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.slider-filters button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  cursor: pointer;
}

.slider-filters button.active {
  background: var(--accent);
  color: #fff;
  padding-right: 2.6rem !important;
}

.slider-filters button.active::after {
  content: '×';
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.slider-filters button.active:hover::after {
  opacity: 1;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.contact-section__desc {
  padding-top: 20px;
}

.contact-details {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item span {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.contact-item strong {
  font-size: 1.2rem;
  font-weight: 700;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-layout__form {
  background: var(--bg-elevated);
  padding: 3.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  position: relative;
}

.formats-section,
.tech-section,
.contact-section {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-soft);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--text-faint);
  padding: 0.8rem 0;
  font-family: var(--font-system);
  font-size: 1.05rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.form-submit-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.2s ease;
}

.form-submit-btn:hover {
  background-color: var(--accentDark);
}

.form-success-msg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.form-success-msg[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.map-wrapper {
  width: 100%;
  height: 450px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.map-container {
  width: 100%;
  height: 100%;
  opacity: 1;
}

.types-filter__btn {
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.types-filter__btn.active {
  background: var(--accent);
  color: #fff;
}

.types-filter__btn:hover {
  transform: translateY(-2px);
}

.main-footer {
  margin-top: auto;
  background: var(--accentDark);
  color: rgba(255, 255, 255, 0.5);
  padding: 4rem 4rem 3rem 4rem;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.main-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.main-footer a:hover {
  color: #fff;
}

.main-footer__top {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2rem;
}

.footer-legal, .footer-docs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.main-footer__bottom {
  display: flex;
  justify-content: space-between;
}

.footer-docs {
  text-align: right;
}

.fade-in {
  opacity: 0;
  transform: translate(0, 0);
  transition: 
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.fade-in[data-anim="up"] { transform: translateY(80px); }
.fade-in[data-anim="down"] { transform: translateY(-80px); }
.fade-in[data-anim="left"] { transform: translateX(-80px); }
.fade-in[data-anim="right"] { transform: translateX(80px); }

.fade-in.is-visible {
  opacity: 1;
  transform: translate(0, 0) !important;
}

@media (max-width: 1024px) {
  .main-header__inner {
    padding: 0 2rem;
  }
  .section {
    padding: 4rem 2rem;
  }
  .hero-section {
    padding: 2rem;
  }
  .production-grid, .formats-grid, .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ctm-layout, .contact-layout {
    grid-template-columns: 1fr; gap: 3rem;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .production-grid, .formats-grid, .tech-grid, .types-grid {
    grid-template-columns: 1fr;
  }
  .main-header__inner {
    padding: 0 1.5rem;
  }
  .main-header__logo strong {
    font-size: 1rem;
  }
  .main-header__logo span {
    font-size: 0.5rem;
  }
  .header-phone {
    font-size: 0.9rem;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .contact-layout__form {
    padding: 2rem;
  }
  .main-footer {
    padding: 3rem 5px 1rem 5px;
  }
  .main-footer__top, .main-footer__bottom {
    flex-direction: column;
    gap: 2rem;
    padding: 0 24px 24px 24px ;
  }
  .footer-docs {
    text-align: left;
  }
  .intro-section__bg-logo {
    width: 300px;
    height: 300px
  }
  .slider-filters {
    grid-template-columns: repeat(2,1fr);
  }
  .contact-section__title {
    text-align: center;
  }
}
