@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Golos+Text:wght@400..900&display=swap');

:root {
  --navy:         #1D3461;
  --accent:       #E07B10;
  --accent-hover: #C46C0B;
  --white:        #FFFFFF;
  --divider:      #E2E7EF;
  --white-90:     rgba(255,255,255,.90);
  --white-60:     rgba(255,255,255,.60);
  --white-20:     rgba(255,255,255,.20);
  --white-10:     rgba(255,255,255,.10);
  --fh: 'Unbounded', sans-serif;
  --fb: 'Golos Text', sans-serif;
  --r:        0.75rem;
  --gap:      1rem;
  --sp:       4rem;
  --navbar-h: 3.75rem;
}
 
html { scroll-behavior: smooth; }
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
 
body {
  background: var(--white);
  color: var(--navy);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.5;  
}
 
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 600; color: var(--white); }
 
.wrap { padding: 0 10%; }
 
.section { padding: var(--sp) 0; }
.section-blue { background: var(--navy); }
.section-blue .section-title { color: var(--white); }
 
.section-title {
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
}
 
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.4rem;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--white);
  transition: background .16s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { background: var(--accent-hover); }
.btn-nav   { padding: 0.7rem 3.3rem; }
.btn-block { width: 100%; padding: 0.7rem 1.4rem; }
.btn-menu {
  padding: 0.7rem 1rem;   
  justify-content: center;
}
.nav .btn-menu,
.nav .btn-menu:hover { color: var(--white); }
 
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
}
 
.navbar-inner {
  display: flex;
  align-items: center;
  height: var(--navbar-h);
  gap: var(--gap);
}
 
.logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}
.logo-ico {
  font-family: var(--fh);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.logo-name {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
 
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.nav-consult { display: none; }
.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}
.nav a {
  font-family: var(--fh);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--navy);
  transition: color .15s;
}
.nav a:hover { color: var(--accent); }
 
.card {
  background: var(--navy);
  border-radius: var(--r);
  overflow: hidden;
}
 
.card-title {
  font-family: var(--fh);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.625rem;
}
 
p {
  font-size: 0.9rem;
  color: var(--white-90);
  text-align: justify;
}
 
.hero {
  padding-top: calc(var(--navbar-h) + 1.75rem);
  padding-bottom: 1.75rem;
}
 
.hero-grid {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}
 
.hero-left {
  flex: 0 0 calc(66.67% - var(--gap) / 2);
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}
 
.hero-main {
  display: flex;
  flex-direction: column;
}
 
.hero-main-head { padding: 1.75rem 1.75rem 0; }
 
.hero-title {
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}
.text-accent { color: var(--accent); }
 
.hero-main-img {
  width: calc(100% - 2.5rem);
  margin: 1rem 1.25rem;
  height: 12rem;
  overflow: hidden;
  border-radius: 0.5rem;
  flex-shrink: 0;
}
 
.hero-main-text {
  display: flex;
  align-items: center;
  gap: var(--gap);
  padding: 1.25rem 1.75rem 1.75rem;
}
.hero-main-text p { flex: 2; }
.hero-main-text .btn        { flex: 1; }
 
.hero-sub-row {
  display: flex;
  gap: var(--gap);
  flex: 1;
}
 
.hero-sub-img {
  flex: 1;
  min-height: 11rem;
}
 
.hero-sub-text {
  flex: 1;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
 
.hero-photo {
  flex: 1;
  min-height: 24rem;
}
.hero-photo img { object-position: bottom; }
 
.two-col {
  display: flex;
  gap: var(--gap);
  flex-wrap: wrap;
}
.two-col-head { flex: 1 1 100%; }
.how-card {
  flex: 1;
  padding: 1.75rem;
}
 
.price-table {
  display: flex;
  flex-direction: column;
}
 
.price-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--white-20);
}
.price-row:last-child { border-bottom: none; }
.price-row:hover { background: var(--white-10); }
 
.price-row-info {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  flex: 2;
}
.price-row-info strong {
  font-family: var(--fh);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
}
 
.price-row-adv {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 2;
}
 
.price-row-btn {
  flex: 0 0 14rem;
  padding: 0.7rem 1rem;
}
 
.examples {
  display: flex;
  gap: var(--gap);
  align-items: stretch;
}
 
.example-card       { flex: 1; display: flex; flex-direction: column; }
.example-card-wide { flex: 2; }
 
.example-card-img {
  height: 12.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.example-card-img img { transition: transform .4s; }
.example-card:hover .example-card-img img { transform: scale(1.05); }
 
.example-card p { padding: 1rem 1.125rem; flex: 1; }
 
.cta {
  display: flex;
  gap: 2rem;
  align-items: stretch;
}
 
.cta-img {
  flex: 0 0 25%;
  border-radius: var(--r);
  overflow: hidden;
}
 
.cta-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 1.75rem;
}
 
.footer {
  background: var(--navy);
  padding: 1.375rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
}
 
.logo-white .logo-ico   { color: var(--accent); }
.logo-white .logo-name { color: var(--white); }
 
.footer-top {
  margin-left: auto;
  font-family: var(--fh);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--white);
  transition: color .15s;
}
.footer-top:hover { color: var(--accent); }
 
@media (max-width: 1024px) {
  :root { --sp: 3rem; }
  .wrap { padding: 0 6%; }
  .btn-nav { display: none; }
  .hero-grid  { flex-direction: column; }
  .hero-left  { flex: none; }
  .hero-photo { flex: none; max-height: 20rem; }
  .price-row   { flex-wrap: wrap; }
  .price-row-adv { flex: 1 1 100%; }
  .price-row-btn  { flex: 1 1 100%; }
  .cta         { flex-direction: column; }
  .cta-img    { flex: none; width: 100%; min-height: 14rem; }
}

@media (max-width: 768px) {
  :root { --sp: 2rem; --gap: 0.75rem; }
  .wrap { padding: 0 4%; }
  .hero-title { font-size: 1.5rem; }
  .hero-main-img { height: auto; aspect-ratio: 16/7; }
  .two-col         { flex-direction: column; }
  .examples        { flex-direction: column; }
  .hero-sub-row   { flex-direction: column; }
  .hero-main-text { flex-direction: column; align-items: flex-start; }
  .hero-main-text .btn { width: 100%; }
  .price-row       { flex-direction: column; align-items: flex-start; }
  .price-row-btn  { width: 100%; }

  .nav-burger {
    display: block;
    margin-left: auto;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--navy);
    padding: 0.25rem;
  }
  .nav {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--divider);
    z-index: 99;    
  }
  .nav a {    
    padding: 0.875rem 4%;
    border-top: 1px solid var(--divider);
    text-align: center;
  }
  .nav-consult { display: block; }
  .nav .btn-menu {    
    width: auto;
    text-align: center;
  }
  .nav.is-open { display: flex; }  
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.modal.is-open { display: flex; }

.modal-box {
  background: var(--navy);
  border-radius: var(--r);
  padding: 2rem;
  width: 100%;
  max-width: 28rem;
  position: relative;
  margin: 1rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--white-60);
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  transition: color .15s;
}
.modal-close:hover { color: var(--white); }

.modal-title {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-desc {
  text-align: center;
  margin-bottom: 1.25rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-input {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--white-10);
  border: 1px solid var(--white-20);
  border-radius: var(--r);
  color: var(--white);
  font-family: var(--fb);
  font-size: 0.9rem;
  outline: none;
  transition: border-color .15s;
}
.modal-input::placeholder { color: var(--white-60); }
.modal-input:focus { border-color: var(--accent); }

.modal-select option { background: var(--navy); color: var(--white); }

.form-msg {
  text-align: center;
  font-size: 0.85rem;
  min-height: 1.2em;
  color: var(--accent);
}

