/* === ROOT VARIABLES === */
:root {
  --bg: #050505;
  --bg-gradient: radial-gradient(ellipse at top, #1a1a2e 0%, #050505 50%);
  --text-main: #FFFFFF;
  --text-muted: #A0A0A0;
  --accent: #FFFFFF;
  --line-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Syne', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

/* === BODY === */
body {
  background-color: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  font-weight: 300;
  line-height: 1.6;
  cursor: auto;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: difference;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.logo a:hover {
  opacity: 0.8;
}

.menu-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 14px 32px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
  z-index: -1;
}

.menu-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-btn:hover {
  color: #000;
  border-color: #fff;
}

.menu-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* === MENU OVERLAY === */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;
  pointer-events: none;
  visibility: hidden;
}

.menu-overlay.active {
  pointer-events: all;
  visibility: visible;
}

.menu-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0a0a0a;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active .menu-overlay-bg {
  transform: translateY(0);
}

.menu-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
  opacity: 0;
  transition: opacity 0.4s ease 0.2s;
}

.menu-overlay.active .menu-content {
  opacity: 1;
}

.menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.4);
  transition: all 0.4s ease;
  text-decoration: none;
  line-height: 1.1;
}

.menu-link:hover {
  color: #fff;
  -webkit-text-stroke: 0;
  transform: translateX(20px);
}

.menu-ktizo-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 15rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.menu-footer {
  position: absolute;
  bottom: 40px;
  left: 10%;
  display: flex;
  gap: 40px;
  color: var(--text-muted);
  font-size: 0.9rem;
  z-index: 3;
}

.menu-footer a {
  color: #fff;
  text-decoration: none;
}

/* === HERO === */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-bg-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 15vw;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.05);
  user-select: none;
  z-index: 0;
  pointer-events: none;
}

.hero-title-container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(6rem, 20vw, 20rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  transform: scaleX(1.2);
  transform-origin: center;
}

.hero-title span {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.25),
    rgba(220, 225, 240, 0.35),
    rgba(200, 210, 230, 0.45),
    rgba(220, 225, 240, 0.35),
    rgba(255, 255, 255, 0.25)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.hero-title:hover span {
  clip-path: inset(0 0 0 0);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 20px;
}

.hero-lead {
  max-width: 600px;
  margin: 30px auto 0;
  color: var(--text-muted);
}

.hero-button {
  display: inline-block;
  margin-top: 40px;
  background: #fff;
  color: #000;
  padding: 16px 48px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.hero-button:hover {
  background: var(--text-muted);
  transform: translateY(-5px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #fff;
  animation: scrollAnim 1.5s infinite;
}

@keyframes scrollAnim {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* === ABOUT: BENTO GRID === */
.about-section {
  padding: 20vh 10%;
  position: relative;
  z-index: 1;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 60px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 300px);
  gap: 20px;
}

.bento-item {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.4s ease;
  backdrop-filter: blur(10px);
}

.bento-item:hover {
  transform: translateY(-5px);
}

.bento-large {
  grid-column: span 2;
}

.bento-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.bento-desc {
  max-width: 600px;
  line-height: 1.8;
  color: var(--text-muted);
}

.bento-stat {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.bento-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
}

.bento-media {
  padding: 0;
  overflow: hidden;
}

.bento-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: 0.5s;
}

.bento-media:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* === SERVICES (главная страница) === */
.services-section {
  padding: 20vh 10%;
  border-top: 1px solid var(--line-color);
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 100px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 40px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 400px;
  text-align: right;
}

.service-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 60px;
  padding: 60px 0;
  border-bottom: 1px solid var(--line-color);
  align-items: center;
  transition: all 0.4s ease;
}

.service-item:first-child {
  border-top: 1px solid var(--line-color);
}

.service-item:hover {
  padding-left: 20px;
  background: rgba(255,255,255,0.01);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
}

.service-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}

.service-item:hover .service-title {
  color: #fff;
}

.service-info {
  max-width: 400px;
  text-align: right;
}

.service-info p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* === PORTFOLIO (главная) === */
.portfolio-section {
  padding: 20vh 0;
  position: relative;
  z-index: 1;
}

.portfolio-header {
  padding: 0 10%;
  margin-bottom: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.portfolio-scroll-hint {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.portfolio-track {
  display: flex;
  gap: 40px;
  padding-left: 10%;
  cursor: grab;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.portfolio-track::-webkit-scrollbar {
  display: none;
}

.portfolio-track:active {
  cursor: grabbing;
}

.project-slide {
  flex: 0 0 auto;
  width: 75vw;
  max-width: 1400px;
  height: 80vh;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-slide:hover .project-img {
  transform: scale(1.03);
  opacity: 1;
  filter: grayscale(0%);
}

.project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  z-index: 2;
}

.project-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 15px;
}

.project-tags {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

/* === CTA === */
.cta-section {
  padding: 30vh 10%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 30px;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin: 30px auto 50px;
  max-width: 600px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 20px 60px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s ease;
}

.cta-button:hover {
  background: var(--text-muted);
  transform: translateY(-5px);
}

/* === FOOTER === */
.footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  border-top: 1px solid var(--line-color);
  padding-bottom: 40px;
  z-index: 1;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-muted);
}

.footer-cta {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 12vw, 12rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 1px #fff;
  text-decoration: none;
  line-height: 1;
  letter-spacing: -0.04em;
  transition: all 0.4s;
}

.footer-cta:hover {
  color: #fff;
  -webkit-text-stroke: 0;
}

.footer-bottom {
  position: absolute;
  bottom: 40px;
  width: 80%;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 30px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #fff;
}

/* === СТРАНИЦА PORTFOLIO (сетка, фильтры) === */
.page-section {
  padding: 0 10% 20vh;
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.page-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 80px;
  max-width: 600px;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
  justify-content: center;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 8px 24px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.portfolio-item {
  position: relative;
  background: rgba(15,15,15,0.6);
  border: 1px solid var(--line-color);
  overflow: hidden;
  transition: transform 0.4s;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link {
  color: #fff;
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 5px;
}

.portfolio-info {
  padding: 25px;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.portfolio-tags {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.load-more-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 14px 40px;
  font-family: var(--font-main);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.load-more-btn:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* === СТРАНИЦА КОНТАКТОВ === */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.contact-icon {
  font-size: 2rem;
}

.contact-details h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-details a,
.contact-details p {
  color: var(--text-muted);
  text-decoration: none;
  line-height: 1.5;
}

.contact-details a:hover {
  color: #fff;
}

.social-links-large {
  display: flex;
  gap: 25px;
  margin-top: 15px;
}

.social-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.social-link:hover {
  color: #fff;
}

.contact-form-wrapper {
  background: rgba(15,15,15,0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 15px;
}

.form-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--line-color);
  color: #fff;
  font-family: var(--font-main);
  font-size: 1rem;
  transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #fff;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.form-checkbox input {
  width: auto;
}

.form-checkbox label {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.form-submit {
  background: #fff;
  color: #000;
  border: none;
  padding: 14px 30px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.form-submit:hover {
  background: var(--text-muted);
  transform: translateY(-2px);
}

.map-section {
  margin-top: 80px;
}

.map-container {
  border: 1px solid var(--line-color);
  overflow: hidden;
}

/* === СТРАНИЦЫ УСЛУГ И О НАС === */
.service-list-full {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-card {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  transition: transform 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-card:hover {
  transform: translateX(10px);
  background: rgba(21, 21, 21, 0.8);
}

.service-card .service-title {
  font-size: 2rem;
  font-family: var(--font-heading);
  margin-bottom: 15px;
}

.service-card .service-desc {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  margin-top: 60px;
}

.text-content {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.stats {
  display: flex;
  gap: 60px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
}

.stat-desc {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* === ХЛЕБНЫЕ КРОШКИ === */
.breadcrumbs-wrapper {
  padding: 140px 10% 30px;
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  list-style: none;
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumbs li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumbs li a:hover {
  color: #fff;
}

.breadcrumbs .separator {
  color: rgba(255,255,255,0.3);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .bento-large { grid-column: span 2; }
  .service-item { grid-template-columns: 60px 1fr; gap: 30px; }
  .service-info { text-align: left; grid-column: span 2; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .section-desc { text-align: left; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 20px; }
  .menu-btn { padding: 12px 24px; font-size: 0.75rem; }
  .menu-link { font-size: 3rem; }
  .menu-ktizo-logo { font-size: 8rem; opacity: 0.3; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .bento-item { padding: 35px; }
  .service-item { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
  .service-info { text-align: left; }
  .hero-bg-text { font-size: 20vw; }
  .hero-title { font-size: 12vw; }
  .project-slide { width: 90vw; height: 70vh; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .social-links { justify-content: center; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats { gap: 30px; justify-content: center; text-align: center; }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

a:focus, button:focus {
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 4px;
}

::selection {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* === ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ЕДИНОГО ОФОРМЛЕНИЯ === */

/* Segments (для кого создаём) */
.segments-section {
  padding: 20vh 10%;
  border-top: 1px solid var(--line-color);
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.segment-item {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.segment-item:hover {
  transform: translateY(-5px);
}

.segment-item h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.segment-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Process (как работаем) */
.process-section {
  padding: 20vh 10%;
  border-top: 1px solid var(--line-color);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.process-step {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateX(10px);
}

.process-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(255,255,255,0.2);
  display: block;
  margin-bottom: 20px;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.process-step p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Trust (почему комфортно) */
.trust-section {
  padding: 20vh 10%;
  border-top: 1px solid var(--line-color);
}

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

.trust-item {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-5px);
}

.trust-item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.trust-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Tariffs */
.tariffs-section {
  padding: 20vh 10%;
  border-top: 1px solid var(--line-color);
}

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

.tariff-card {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
  position: relative;
}

.tariff-card:hover {
  transform: translateY(-10px);
}

.tariff-card-popular {
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.tariff-label {
  position: absolute;
  top: -12px;
  left: 30px;
  background: #fff;
  color: #000;
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.tariff-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 10px;
}

.tariff-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.tariff-price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 20px 0;
  color: #fff;
}

.tariff-list {
  list-style: none;
  margin: 20px 0;
}

.tariff-list li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: var(--text-muted);
}

.tariff-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #fff;
}

.tariff-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 20px;
  border-top: 1px solid var(--line-color);
  padding-top: 15px;
}

.support-block {
  background: rgba(15, 15, 15, 0.6);
  border: 1px solid var(--line-color);
  padding: 40px;
  backdrop-filter: blur(10px);
  margin-top: 40px;
}

.support-block h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.support-block p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.support-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.support-list li {
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.support-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #fff;
}

/* Responsive для новых секций */
@media (max-width: 1024px) {
  .segments-grid,
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .segments-grid,
  .tariffs-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .support-list {
    flex-direction: column;
    gap: 15px;
  }
}