/* =====================
   CSS VARIABLES
   ===================== */
:root {
  --bg-main: #0b1220;
  --bg-secondary: #0f1b2d;
  --accent: #6ee7b7;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
}

/* =====================
   RESET
   ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(180deg, var(--bg-main), var(--bg-secondary));
  color: var(--text-main);
  line-height: 1.75;
  letter-spacing: 0.2px;
}
body {
    font-family: "Inter", system-ui;
    background: linear-gradient(...);
    color: var(--text-main);
    line-height: 1.75;

    padding-top: 120px;
    padding-bottom: 120px;
}

/* =====================
   GLOBAL
   ===================== */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

h1, h2 {
  font-weight: 500;
  letter-spacing: 0.3px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

h2 {
  font-size: 2.1rem;
  margin-bottom: 30px;
}

p {
  max-width: 700px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-photo-wrapper {
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.hero-name {
  font-size: 2.8rem;
}

.hero-speciality {
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-description {
  margin-bottom: 30px;
}

/* =====================
   LINKS
   ===================== */
.hero-links,
.contacts-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-links a,
.contacts-links a {
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.hero-links a:hover,
.contacts-links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* =====================
   SERVICES
   ===================== */
.services-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.services-list li {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  color: var(--text-main);
}

/* =====================
   FOOTER
   ===================== */
.footer {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-photo {
    width: 260px;
    height: 340px;
  }

  .hero-links,
  .contacts-links {
    justify-content: center;
  }
}
/* =====================
   CONTENT BLOCKS
   ===================== */

.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 40px;
}
.content-block:first-of-type {
  padding-top: 80px;
}

.content-block.reverse {
  direction: rtl;
}

.content-block.reverse .block-text,
.content-block.reverse .block-photo {
  direction: ltr;
}

.block-photo {
  display: flex;
  justify-content: center;
}

.block-photo img {
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.block-photo img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.block-photo img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);}

/* =====================
   SOCIALS
   ===================== */

.socials {
  padding: 100px 20px;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

/* =====================
   MOBILE
   ===================== */

@media (max-width: 768px) {

  .content-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 15px;
    gap: 12px;
  }

  .content-block.reverse {
    direction: ltr;
  }

  .block-photo img {
    max-width: 280px;
    height: 340px;
    margin: 0 auto;
  }

  .block-text {
    padding: 28px 22px;
  }

  .block-text h2 {
    font-size: 1.7rem;
  }

  .block-text p {
    font-size: 1rem;
    line-height: 1.75;
    margin: 0 auto;
  }

  .content-block:first-of-type {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .hero-label {
    font-size: 1.6rem;
    letter-spacing: 0.18em;
    margin-top: 24px;
    text-align: center;
}

.block-text {
  padding: 56px 56px;
  max-width: 560px;
}

.block-text p {
  font-size: 1rem;
}
.hero-label {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin: 32px auto 24px;
}
.block-text {
  padding: 32px 26px;
  max-width: 100%;
}

.block-text h2 {
  font-size: 1.8rem;
}

.block-text p {
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .hero-label {
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    margin: 36px auto 28px;
  }
}
@media (max-width: 768px) {
  .block-text {
    padding: 36px 28px;
  }

  .block-text h2 {
    font-size: 2rem;
  }

  .block-text p {
    font-size: 1.15rem;
    line-height: 1.85;
  }
}
@media (max-width: 768px) {
  .hero-label {
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    padding: 0 20px;
    margin-bottom: 45px;
  }
}
.block {
    margin-bottom: 40px;
}

.block {
    margin-bottom: 15px;
    padding: 20px 15px;
}

.block-text {
    margin-bottom: 5px;
}

.container {
    gap: 10px;
}
.block {
    margin-bottom: 15px;
    padding: 20px 15px;
}

.block-text {
    margin-bottom: 5px;
}

.container {
    gap: 10px;
}

}

}

/* =====================
   SCROLL ANIMATIONS
   ===================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.block-text p {
  font-size: 1.25rem;
  line-height: 1.9;
}
.social-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-links a {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent);
}

body::before {
  content: "";
  position: fixed;
  top: -200px;
  left: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(110, 231, 183, 0.12),
    transparent 70%
  );
  z-index: -1;
}

.block-text {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
  padding: 32px;
  border-radius: 16px;
}
.block-text h2 {
  position: relative;
  padding-left: 14px;
}

.block-text h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 3px;
  height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
}

.content-block {
  margin-bottom: 120px;
}
.background-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.background-lines::before,
.background-lines::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
}

.background-lines::before {
  left: 15%;
}

.background-lines::after {
  right: 15%;
}

.hero-label {
  max-width: 1300px;
  margin: 60px auto 40px;
  padding: 0 40px;
  text-align: center;

  font-size: 1.15rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;

  color: var(--text-main);
  opacity: 0.85;
}

.block-text {
  padding: 64px 64px;
  max-width: 600px;
}

.block-text p {
  font-size: 1.1rem;
  line-height: 1.85;
}

.block-text h2 {
  font-size: 2.6rem;
}
.block-text h2 {
  font-size: 2.3rem;
}

.block-text p {
  font-size: 1.35rem;
  line-height: 2;
}

.block-text h2 {
  line-height: 1.2;
}

.block-text h2 {
  font-family: inherit;
  font-weight: 600;   
  letter-spacing: 0;
}

.hero-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem;          /* СТАЛО ЗАМЕТНО БОЛЬШЕ */
  font-weight: 600;
  letter-spacing: 0.28em;     /* капс становится читабельным */
  text-align: center;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);

  margin: 40px auto 80px;     /* пространство сверху и снизу */
  max-width: 1100px;
}

.social-btn {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 14px 22px;
border-radius: 30px;
background: rgba(255,255,255,0.05);
text-decoration: none;
color: var(--text-main);
transition: 0.3s;
}

.social-btn i {
font-size: 18px;
}

.social-btn:hover {
background: rgba(255,255,255,0.12);
transform: translateY(-3px);
}



















