:root {
  --bg:#f4f7fa;
  --surface:#fff;
  --text:#17212b;
  --muted:#697786;
  --navy:#071723;
  --blue:#0a3b5c;
  --accent:#e5b45c;
  --border:rgba(15,38,55,.12);
  --container:1180px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  width:min(var(--container),calc(100% - 48px));
  margin:auto;
}

/* Верхнее меню */

.header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(7,23,35,.97);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.header-inner{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

.logo{
  display:flex;
  gap:10px;
  align-items:center;
  color:#fff;
  font-size:15px;
  font-weight:800;
  letter-spacing:.17em;
}

.logo-mark{
  color:var(--accent);
  font-size:22px;
}

.nav{
  display:flex;
  gap:30px;
  color:rgba(255,255,255,.7);
  font-size:14px;
}

.nav a:hover{
  color:#fff;
}

/* Первый экран */

.hero{
  min-height:720px;
  display:flex;
  align-items:center;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(circle at 75% 45%,rgba(23,105,143,.25),transparent 32%),
    linear-gradient(120deg,#06141f 0%,#092437 55%,#0a3149 100%);
}

.hero-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:40px;
  align-items:center;
}

.eyebrow{
  margin-bottom:22px;
  color:var(--accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.24em;
}

.hero h1{
  margin:0;
  font-size:clamp(64px,8vw,112px);
  line-height:.88;
  font-weight:800;
  letter-spacing:-.055em;
}

.hero h1 span{
  display:block;
  margin-top:18px;
  color:rgba(255,255,255,.63);
  font-size:.31em;
  line-height:1.2;
  font-weight:500;
  letter-spacing:.02em;
}

.hero-lead{
  max-width:620px;
  margin:34px 0 0;
  color:rgba(255,255,255,.72);
  font-size:18px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:38px;
}

.button{
  min-height:48px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 22px;
  border-radius:6px;
  font-size:14px;
  font-weight:700;
}

.button-primary{
  background:var(--accent);
  color:#101820;
}

.button-secondary{
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
}

/* Силуэт корабля */

.ship-visual{
  min-height:470px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ship-svg{
  width:115%;
  max-width:760px;
  filter:drop-shadow(0 30px 28px rgba(0,0,0,.38));
}

.ship-hull{fill:#9aaab3}
.ship-deck{fill:#d3dce1}
.ship-super{fill:#c3cfd5}
.ship-super.secondary{fill:#d4dde2}
.ship-window{fill:#193847}
.ship-detail{fill:#a7b6be}
.ship-accent{fill:var(--accent)}
.radar{fill:#8297a3}

.wave{
  fill:none;
  stroke:rgba(122,192,219,.38);
  stroke-width:3;
}

.wave-2{
  stroke:rgba(122,192,219,.18);
}

/* Общие секции */

.section{
  padding:110px 0;
}

.section-heading{
  display:flex;
  align-items:flex-start;
  gap:22px;
  margin-bottom:58px;
}

.section-number{
  margin-top:5px;
  color:var(--accent);
  font-family:Georgia,serif;
  font-size:21px;
  font-style:italic;
}

.section-kicker{
  margin:0 0 9px;
  color:#17698f;
  font-size:11px;
  font-weight:800;
  letter-spacing:.22em;
}

.section-heading h2{
  margin:0;
  font-size:clamp(36px,5vw,58px);
  line-height:1;
  letter-spacing:-.04em;
}

/* Что такое фрегат */

.about-grid{
  display:grid;
  grid-template-columns:1.55fr .75fr;
  gap:80px;
}

.about-main{
  max-width:760px;
  color:var(--muted);
  font-size:17px;
}

.large-text{
  color:var(--text);
  font-size:25px;
  line-height:1.5;
}

.fact-card{
  padding:38px;
  background:var(--navy);
  color:#fff;
  border-radius:10px;
}

.fact-label{
  color:var(--accent);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
}

.fact-number{
  margin:24px 0 4px;
  color:rgba(255,255,255,.12);
  font-size:70px;
  font-weight:800;
}

/* История */

.section-dark{
  background:var(--navy);
  color:#fff;
}

.section-heading.light h2{
  color:#fff;
}

.section-heading.light .section-kicker{
  color:var(--accent);
}

.history-intro{
  max-width:760px;
  margin:-12px 0 68px;
}

.history-intro p{
  color:rgba(255,255,255,.58);
}

.timeline{
  border-top:1px solid rgba(255,255,255,.1);
}

.timeline-item{
  display:grid;
  grid-template-columns:180px 1fr;
  gap:50px;
  padding:42px 0;
  border-bottom:1px solid rgba(255,255,255,.1);
}

.timeline-year{
  color:rgba(255,255,255,.35);
  font-family:Georgia,serif;
  font-size:27px;
}

.timeline-item.highlight .timeline-year{
  color:var(--accent);
}

.timeline-content{
  max-width:720px;
}

.timeline-tag{
  display:block;
  margin-bottom:9px;
  color:var(--accent);
  font-size:10px;
  font-weight:800;
  letter-spacing:.17em;
}

.timeline-content p{
  color:rgba(255,255,255,.62);
}

/* Возможности */

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

.feature-card{
  min-height:270px;
  padding:32px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:8px;
}

.feature-icon{
  width:45px;
  height:45px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:42px;
  border:1px solid var(--border);
  border-radius:50%;
  color:var(--blue);
  font-size:20px;
}

.feature-card p{
  color:var(--muted);
}

/* Современные фрегаты */

.section-blue{
  background:linear-gradient(135deg,#092336,#0b3d59);
  color:#fff;
}

.modern-intro{
  max-width:760px;
  margin:-18px 0 52px;
  color:rgba(255,255,255,.62);
}

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

.modern-card{
  position:relative;
  min-height:330px;
  padding:34px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.11);
  border-radius:8px;
}

.modern-card-top{
  display:flex;
  justify-content:space-between;
  gap:15px;
  margin-bottom:42px;
}

.country{
  color:rgba(255,255,255,.48);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.status{
  padding:5px 9px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:100px;
  font-size:10px;
  text-transform:uppercase;
}

.modern-card h3{
  margin:0;
  font-size:43px;
}

.ship-subtitle{
  margin:8px 0 22px;
  color:var(--accent);
  font-size:12px;
}

.modern-card>p:not(.ship-subtitle){
  color:rgba(255,255,255,.64);
}

.ship-specs{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:28px;
}

.ship-specs span{
  padding:6px 9px;
  background:rgba(255,255,255,.07);
  border-radius:4px;
  color:rgba(255,255,255,.6);
  font-size:11px;
}

.question-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.question-symbol{
  position:absolute;
  top:-36px;
  right:22px;
  color:rgba(255,255,255,.05);
  font-size:180px;
  font-weight:800;
}

/* Финальный блок */

.mission{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
}

.mission-text h2{
  font-size:clamp(38px,5vw,62px);
  line-height:1;
}

.mission-text>p:not(.section-kicker){
  color:var(--muted);
  font-size:17px;
}

.mission-word{
  color:rgba(12,55,80,.07);
  font-size:clamp(80px,10vw,150px);
  font-weight:900;
  writing-mode:vertical-rl;
}

/* Подвал */

.footer{
  padding:70px 0 28px;
  background:#05121b;
  color:#fff;
}

.footer-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  padding-bottom:52px;
}

.footer-logo{
  color:var(--accent);
  font-weight:800;
  letter-spacing:.15em;
}

.footer-inner p,
.footer-note{
  color:rgba(255,255,255,.42);
  font-size:13px;
}

.copyright{
  padding-top:22px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(255,255,255,.25);
  font-size:12px;
}

/* Планшеты */

@media(max-width:950px){
  .hero{padding:100px 0 60px}

  .hero-grid,
  .about-grid,
  .mission{
    grid-template-columns:1fr;
  }

  .feature-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .mission-word{
    display:none;
  }
}

/* Телефоны */

@media(max-width:700px){
  .container{
    width:min(100% - 30px,var(--container));
  }

  .nav{
    display:none;
  }

  .section{
    padding:78px 0;
  }

  .hero{
    min-height:auto;
  }

  .hero h1{
    font-size:62px;
  }

  .timeline-item,
  .feature-grid,
  .ships-grid,
  .footer-inner{
    grid-template-columns:1fr;
  }

  .timeline-item{
    gap:12px;
  }
}

@media(max-width:430px){
  .hero h1{
    font-size:52px;
  }

  .hero-actions{
    flex-direction:column;
  }

  .button{
    width:100%;
  }

  .fact-card,
  .feature-card,
  .modern-card{
    padding:25px;
  }
}
