:root {
  --main-bg: #fff;
  --main-fg: #1a1a1a;
  --accent: #2274a5;
  --hero-height: 100vh;
}

html, body {
  background: var(--main-bg);
  color: var(--main-fg);
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  scroll-behavior: smooth;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo span, .logo img {
  height: 200px;
  font-size: 2em;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  user-select: none;
}

nav a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  margin-left: 32px;
  font-size: 1.07em;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--accent);
}

@media (max-width: 700px) {
  .nav-flex { flex-direction: column; align-items: flex-start; height: auto; }
  nav a { margin-left: 0; margin-right: 16px; }
  .logo { margin-bottom: 6px; }
}

.block.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  box-sizing: border-box;
  background: var(--main-bg);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(0);
  transition: all 0.9s cubic-bezier(0.33,1,0.68,1);
  will-change: opacity, transform;
  padding: 0 8vw;
}

.block.hero.left   { transform: translateX(-60px); }
.block.hero.right  { transform: translateX(60px); }
.block.hero.visible {
  opacity: 1;
  transform: translateX(0);
}

.hero-content {
  max-width: 720px;
  width: 100%;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.2em;
  font-weight: 800;
  margin: 0 0 0.5em 0;
  letter-spacing: -1.2px;
  color: var(--main-fg);
}

/* Footer */
footer {
  background: #fff;
  border-top: 1px solid #eee;
  font-size: 1em;
  color: #888;
  padding: 28px 0 18px 0;
  width: 100%;
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

footer a {
  color: #888;
  margin-left: 24px;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 0 16px 0 rgba(0,0,0,0.07);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 18px 10px;
    z-index: 1000;
    font-size: 1em;
    transition: opacity 0.3s;
}

.cookie-banner span {
    color: #333;
}

.cookie-banner button {
    margin-left: 24px;
    padding: 8px 22px;
    border: none;
    border-radius: 3px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-banner button:hover {
    background: #145275;
}
.hero-content .subtitle {
    font-size: 1.16em;
    color: #555;
    margin-bottom: 1.3em;
    font-weight: 400;
}

.usp-list {
    display: flex;
    gap: 22px;
    justify-content: center;
    margin: 2.2em 0 2.6em 0;
    flex-wrap: wrap;
}
.usp-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 1.06em;
    color: #222;
    background: #f6f6f6;
    border-radius: 22px;
    padding: 6px 15px;
    font-weight: 500;
    border: 1px solid #ededed;
    box-shadow: 0 1px 7px rgba(180,180,180,0.03);
    transition: box-shadow .18s;
}
.usp-item:hover {
    box-shadow: 0 3px 14px rgba(150,150,150,0.10);
}
.usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 2px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 2.6em;
}
.btn-minimal {
    display: inline-block;
    padding: 11px 32px;
    border-radius: 32px;
    font-size: 1em;
    font-weight: 500;
    border: 1.5px solid #ededed;
    background: #fff;
    color: #222;
    text-decoration: none;
    box-shadow: none;
    transition: border-color .16s, color .16s, background .14s;
    letter-spacing: 0.02em;
}
.btn-minimal:hover, .btn-minimal:focus {
    border-color: #bbb;
    color: #000;
    background: #f7f7f7;
}

.scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 5em;
    color: #e1e1e1;
    pointer-events: none;
    user-select: none;
}
.about-story {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;

}

.about-story h1,
.about-story .about-quote {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.about-quote {
  font-size: 1.3em;
  color: #376083;
  font-style: italic;
  margin: 1em 0 2em 0;
  border-left: 4px solid #e7ecef;
  padding-left: 1.2em;
  line-height: 1.4;
  background: #f7fafd;
  border-radius: 8px;
}
.about-story p {
  color: #222;
  line-height: 1.7;
  margin-bottom: 1.6em;
}
.about-story b {
  color: #1a3047;
  font-weight: 600;
}
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: 1em;
  color: #666;
  margin-top: 2em;
  border-top: 1px solid #eaeaea;
  padding-top: 1.1em;
}
.about-facts span {
  background: #f4f7fa;
  border-radius: 10px;
  padding: 7px 15px;
  font-size: 0.99em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 34px 32px;
  margin-top: 2.6em;
  margin-bottom: 2em;
}

.service-card {
  background: #fff;
  border: 1.5px solid #e4e4e4;
  /* никаких border-radius! */
  box-shadow: 0 2px 12px rgba(30,40,80,0.04);
  padding: 32px 24px 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow .17s, border-color .17s;
}

.service-card:hover {
  border-color: #b6c2d0;
  box-shadow: 0 8px 28px rgba(30,40,80,0.08);
}

.service-icon {
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-card h2 {
  font-size: 1.17em;
  font-weight: 700;
  margin: 0 0 0.45em 0;
  color: #22344e;
}

.service-card p {
  color: #222;
  font-size: 1em;
  margin: 0;
  line-height: 1.55;
}
.contact-form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 2.2em auto;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form label {
  font-size: 1em;
  color: #222;
  font-weight: 500;
  margin-bottom: 3px;
}

.contact-form input,
.contact-form textarea {
  border: 1.5px solid #d9d9d9;
  background: #fff;
  color: #1a1a1a;
  font-size: 1.07em;
  padding: 11px 13px;
  outline: none;
  font-family: inherit;
  transition: border-color .14s;
  border-radius: 0;         /* УБРАНЫ СКРУГЛЕНИЯ! */
  box-shadow: none;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2274a5;
}

.contact-form textarea {
  min-height: 100px;
  max-height: 280px;
}

.btn-minimal {
  border-radius: 0;         /* Тоже строго! */
  border: 1.5px solid #ededed;
  background: #fff;
  color: #222;
  font-weight: 500;
  padding: 12px 38px;
  font-size: 1.07em;
  cursor: pointer;
  transition: border-color .14s, color .14s, background .13s;
  letter-spacing: 0.03em;
}
.btn-minimal:hover, .btn-minimal:focus {
  border-color: #bbb;
  color: #000;
  background: #f7f7f7;
}

.contact-data {
  margin-top: 2.2em;
  text-align: left;
  font-size: 1em;
  color: #555;
  line-height: 1.7;
}
.contact-data a {
  color: #2274a5;
  text-decoration: none;
  border-bottom: 1px solid #d7e2eb;
  transition: border-color .15s;
}
.contact-data a:hover {
  border-color: #2274a5;
}

@media (max-width: 600px) {
  .contact-form {
    padding: 0 0px;
    max-width: 99vw;
  }
}


@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }
}
@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
  .service-card {
    padding: 22px 12px 18px 12px;
  }
}

@media (max-width: 800px) {
  .about-facts {
    flex-direction: column;
    gap: 9px;
    padding-top: .7em;
  }
}


}
@media (max-width: 900px) {
    .usp-list { gap: 10px; }
    .cta-btns { flex-direction: column; gap: 12px; }
}


/* Responsive */
@media (max-width: 1050px) {
  .container, .footer-flex { max-width: 96vw; padding: 0 6vw; }
  .block.hero { padding: 0 3vw; }
}

@media (max-width: 800px) {
  .block.hero { padding: 0 1vw; }
  .hero-content h1 { font-size: 2em; }
}

@media (max-width: 600px) {
  .footer-flex { flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-content { padding: 0 1vw; }
}

@media (max-width: 420px) {
  .hero-content h1 { font-size: 1.2em; }
}

@media (max-width: 700px) {
    .logo img {
        height: 36px;
        max-width: 120px;
    }
}