body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #f4f7fb;
  color: #000;
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
  background: #ffffff;
  color: black;
}

.page-content h1 {
  font-size: 2.25rem; /* ~36px */
  font-weight: 900;
  margin-bottom: 0.5rem;
  margin-top: 0;
  text-align: left;
  color: black;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.page-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  color: #475569;
}

.page-content h2 {
  font-size: 1.5rem; /* ~24px */
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.secondary {
  color: #94a3b8;
  font-size: 15px;
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  font-weight: 500;
}

.page-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  list-style-type: disc;
}

.page-content li {
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: 16px;
  line-height: 1.6;
}

.page-content a {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.page-content a:hover {
  color: #0284c7;
  text-decoration: underline;
}

.hero h1, .hero p {
  color: #fff;
}

h1 {
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero {
  position: relative;
  height: 100vh;
}

.hero-bg {
  display: block;
  background: url('./images/banner.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.3)
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin-left: 8%;   /* двигает влево от центра */
  margin-right: auto;
  text-align: left;
  color: #fff;
}

.hero h1,
.hero p {
  color: #fff;
  text-shadow: 0 5px 25px rgba(0,0,0,0.7);
}

.hero-text {
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  border-radius: 12px;
}

.hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: #fff;
  margin: 0 0 1rem 0;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.5rem 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #fff;
  margin: 0 0 2rem 0;
  font-weight: 400;
}

.hero-cta {
  background: #3BB2E6;
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(59, 178, 230, 0.3);
}

.cta {
  margin-top: 2.3rem;
  background: linear-gradient(135deg, #4facfe 0%, #00c6ff 100%);
  color: white;
  border: none;
  padding: 1rem 2.2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(64, 172, 254, 0.24);
}

section {
  padding: 80px 32px;
}

.intro {
  background: #ffffff;
}

.intro-copy {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.intro h2 {
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-bottom: 1rem;
  color: #0e1635;
}

.intro p {
  color: #5e728f;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.section-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #6b7d9a;
  margin-bottom: 0.9rem;
}

.section-header h2 {
  font-size: clamp(2.6rem, 3.5vw, 3.6rem);
  line-height: 1.05;
  margin: 0;
  color: #0e1635;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.services-grid {
  margin-top: 24px;
}

.card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(15, 22, 53, 0.08);
  border: 1px solid rgba(14, 22, 53, 0.08);
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(79, 157, 255, 0.22);
  box-shadow: 0 38px 90px rgba(15, 22, 53, 0.12);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(79, 157, 255, 0.14);
  color: #0e1635;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #0e1635;
}

.card p {
  color: #5e728f;
  line-height: 1.75;
}

.gallery {
  padding-top: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  filter: saturate(1.05) contrast(1.05);
}

.secondary-hero {
  padding: 80px 32px;
  background: linear-gradient(180deg, #eef7ff 0%, #f8fbff 100%);
}

.secondary-hero .hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.secondary-hero h2 {
  font-size: clamp(2.8rem, 4vw, 4rem);
  margin: 0;
  color: #0e1635;
}

.contact {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.contact .section-header {
  margin-bottom: 3rem;
}

.contact-card {
  background: #ffffff;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(15, 22, 53, 0.08);
  border: 1px solid rgba(15, 22, 53, 0.08);
}

.contact-form {
  display: grid;
  gap: 18px;
  text-align: left;
}

.contact-row {
  display: grid;
  gap: 10px;
}

.contact-row.full-width {
  grid-column: 1 / -1;
}

.contact-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1f2937;
}

.contact-row input,
.contact-row textarea {
  width: 100%;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 20px;
  color: #0f172a;
  padding: 1.2rem 1.4rem;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-row textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-row input:focus,
.contact-row textarea:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.15);
}

.submit-btn {
  width: 100%;
  background: #93c5fd;
  color: #0f172a;
  border: none;
  padding: 1.2rem 1.4rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 18px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  background: #7dd3fc;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.18);
}

.site-footer {
    width: 100%;
    background-color: #ffffff; /* Белый фон */
    padding: 40px 20px;
    border-top: 1px solid #f0f0f0; /* Легкая линия сверху */
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 20px;
}

.footer-item {
    color: #38bdf8; /* Цвет как у кнопки Get in touch */
    font-family: 'Inter', sans-serif; /* Или Arial, если нет Inter */
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.footer-item a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-item a:hover {
    color: #0ea5e9; /* Темнеет при наведении */
}

.middle-text {
    text-align: center;
    white-space: normal; /* Позволяет тексту переноситься на новую строку */
    max-width: 500px;
    line-height: 1.4;
}

@media (max-width: 1024px) {
  .grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .middle-text {
        order: -1; /* Выносит описание наверх на мобилках */
        margin-bottom: 20px;
    }
  header {
    padding: 18px 20px;
  }
  nav a {
    padding: 10px 14px;
  }
  .hero {
    height: 90vh;
  }
  .hero-bg {
    display: block;
    background: url('./images/banner-mobile.jpg') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .hero-eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.3em;
  }
  .hero-cta {
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
  }
  section {
    padding: 56px 20px;
  }
}

/* Сохрани подчеркивание у ссылок */
.privacy-page a {
    text-decoration: underline !important;
}

.privacy-page body {
  background-color: #ffffff !important;
}

.privacy-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-container h1,
.privacy-container h2,
.privacy-container h3,
.privacy-container p,
.privacy-container li {
  color: #000000 !important;
}

.privacy-container h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.privacy-container h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}

.privacy-container a {
  color: #000 !important;
}
