/* Электро рыбак — новая вёрстка (2026-09-18).
   Палитра морская, типографика Unbounded + Manrope, все фото — реальные кадры проекта. */

:root {
  --ink: #08191f;
  --deep: #0b2532;
  --sea: #12556b;
  --sea-soft: #1d7d92;
  --foam: #eef6f4;
  --paper: #fbf8f3;
  --white: #ffffff;
  --sand: #ead9bf;
  --sun: #ffb03a;
  --sun-deep: #ef8f1f;
  --coral: #ff6a45;
  --text: #17262f;
  --muted: #5d6f7a;
  --line: rgba(11, 37, 50, .12);
  --radius: 20px;
  --radius-lg: 30px;
  --shell: 1180px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 26px 60px -34px rgba(8, 25, 31, .55);
  --shadow-soft: 0 18px 40px -30px rgba(8, 25, 31, .5);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; background: rgba(11, 37, 50, .05); }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .55em; }

h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); }

p { margin: 0 0 1em; }

.shell { width: min(100% - 2.6rem, var(--shell)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 99;
  background: var(--sun); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.skip-link:focus { left: 14px; }

.eyebrow {
  font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--sea-soft); margin: 0 0 .9rem;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 25, 31, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
}

.header-inner { display: flex; align-items: center; gap: 1.4rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .7rem; margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 176, 58, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: .98rem; letter-spacing: .01em; }
.brand-text small { font-size: .72rem; color: rgba(255, 255, 255, .62); }

.nav { display: flex; align-items: center; gap: 1.5rem; font-size: .9rem; font-weight: 600; }
.nav a { color: rgba(255, 255, 255, .82); transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav-cta {
  background: var(--sun); color: var(--ink) !important;
  padding: .62rem 1.15rem; border-radius: 999px; font-weight: 800;
  box-shadow: 0 12px 26px -14px rgba(255, 176, 58, .8);
}
.nav-cta:hover { background: var(--sun-deep); }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(29, 125, 146, .55), transparent 62%),
    linear-gradient(168deg, var(--deep) 0%, var(--ink) 78%);
  color: #fff;
  padding: clamp(2.4rem, 5vw, 4.4rem) 0 0;
  overflow: hidden;
}

.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(1.6rem, 4vw, 3.6rem); align-items: center;
  padding-bottom: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy .eyebrow { color: rgba(255, 255, 255, .68); }
.hero h1 { color: #fff; }
.hero .accent { color: var(--sun); }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: rgba(255, 255, 255, .78); max-width: 34rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 1.6rem; list-style: none; margin: 0; padding: 1.3rem 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong { font-family: var(--display); font-size: 1.28rem; color: var(--sun); }
.hero-facts span { font-size: .82rem; color: rgba(255, 255, 255, .6); }

.hero-media { position: relative; margin: 0; }
.hero-media img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 620px;
  object-fit: cover; object-position: 50% 30%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.hero-media figcaption { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; margin-top: .9rem; }
.badge {
  background: rgba(255, 176, 58, .16); color: var(--sun); border: 1px solid rgba(255, 176, 58, .4);
  padding: .3rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .04em;
}
.hero-caption { font-size: .8rem; color: rgba(255, 255, 255, .58); }

.ticker { border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); overflow: hidden; }
.ticker-track { display: flex; gap: 2.6rem; padding: .85rem 0; white-space: nowrap; animation: ticker 34s linear infinite; }
.ticker-track span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ticker-track span::before { content: "●"; color: var(--sun); margin-right: .7rem; font-size: .6rem; vertical-align: middle; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex; align-items: center; gap: .6rem; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 800; font-size: .92rem; letter-spacing: .01em;
  padding: .92rem 1.5rem; border-radius: 999px; transition: transform .18s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-sun { background: var(--sun); color: var(--ink); box-shadow: 0 16px 32px -18px rgba(255, 176, 58, .9); }
.button-sun:hover { background: var(--sun-deep); }
.button-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); }
.button-ghost:hover { background: rgba(255, 255, 255, .16); }
.button-ghost-light { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .3); }
.button-line { background: transparent; color: var(--sea); border: 1.5px solid rgba(18, 85, 107, .35); width: 100%; justify-content: center; }
.button-line:hover { background: var(--sea); color: #fff; border-color: var(--sea); }
.form-submit { width: 100%; justify-content: center; }

/* ---------- Sections ---------- */

.section { padding: clamp(3.4rem, 7vw, 6.4rem) 0; }
section[id] { scroll-margin-top: 92px; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
.section-note { color: var(--muted); font-size: .96rem; }
.section-note a { color: var(--sea); border-bottom: 1px solid rgba(18, 85, 107, .35); }

/* ---------- Formats ---------- */

.formats { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 1.4rem; }

.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { padding: 1.35rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-body p { color: var(--muted); font-size: .94rem; margin: 0; }
.card-body .price { font-family: var(--display); font-size: 1.12rem; color: var(--ink); margin: .35rem 0 .1rem; }
.card-body .price span { font-family: var(--body); font-size: .82rem; color: var(--muted); font-weight: 600; }
.card-body .button { margin-top: auto; }
.card-plain { background: linear-gradient(160deg, #0b2532, #12556b); border-color: transparent; color: #fff; }
.card-plain .card-body p, .card-plain .price span { color: rgba(255, 255, 255, .74); }
.card-plain .price { color: var(--sun); }
.card-plain .button-line { color: #fff; border-color: rgba(255, 255, 255, .45); }
.card-plain .button-line:hover { background: #fff; color: var(--sea); }

.ticks { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .3rem; }
.ticks li { position: relative; padding-left: 1.35rem; font-size: .89rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sun); }
.ticks-light li { color: rgba(255, 255, 255, .78); }

/* ---------- Day timeline ---------- */

.day { background: var(--foam); }
.day-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1.6rem, 4vw, 3.4rem); align-items: start; }
.timeline { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 1.15rem; }
.timeline li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 1rem; padding-bottom: 1.15rem; border-bottom: 1px dashed rgba(11, 37, 50, .16); }
.timeline li:last-child { border-bottom: 0; padding-bottom: 0; }
.timeline .time { font-family: var(--display); font-size: 1rem; color: var(--sea); }
.timeline h3 { margin-bottom: .25rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .93rem; }
.fineprint { margin-top: 1.3rem; font-size: .86rem; color: var(--muted); }
.day-media { display: grid; gap: 1rem; position: sticky; top: 100px; }
.day-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* ---------- Gallery ---------- */

.gallery { background: linear-gradient(180deg, #fff, var(--paper)); }
.masonry { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.masonry img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover;
  border-radius: 16px; cursor: zoom-in; transition: transform .25s ease, box-shadow .25s ease;
}
.masonry img:hover { transform: scale(1.015); box-shadow: var(--shadow); }

.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(6, 20, 26, .92); display: grid; place-items: center; padding: 1.5rem; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 900px); max-height: 88vh; border-radius: 18px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 1rem; right: 1.2rem; background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .3); width: 46px; height: 46px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
}

/* ---------- Reviews ---------- */

.reviews { background: var(--deep); color: #fff; }
.reviews .eyebrow { color: rgba(255, 255, 255, .6); }
.reviews .section-note { color: rgba(255, 255, 255, .62); }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.review {
  margin: 0; padding: 1.5rem 1.4rem; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.review p { font-size: 1rem; color: rgba(255, 255, 255, .9); }
.review footer { font-size: .8rem; color: var(--sun); letter-spacing: .04em; }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.4rem, 4vw, 3rem); }
.faq-list { display: grid; gap: .7rem; }
.faq-list details {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem;
  box-shadow: var(--shadow-soft);
}
.faq-list summary { cursor: pointer; font-weight: 700; font-size: .99rem; }
.faq-list summary::marker { color: var(--sun); }
.faq-list details p { margin: .7rem 0 0; color: var(--muted); font-size: .93rem; }

/* ---------- Application ---------- */

.application { background: linear-gradient(155deg, var(--sea) 0%, var(--deep) 70%); color: #fff; }
.application .eyebrow { color: rgba(255, 255, 255, .62); }
.application-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: start; }
.application-copy p { color: rgba(255, 255, 255, .8); }
.application-copy .ticks { margin: 0 0 1.6rem; }

.application-form {
  background: var(--white); color: var(--text); border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 2.4vw, 1.9rem); box-shadow: var(--shadow); display: grid; gap: .85rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.application-form label { display: grid; gap: .35rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.application-form input, .application-form select, .application-form textarea {
  font: inherit; font-size: .95rem; color: var(--text); background: #f6f8f8;
  border: 1px solid rgba(11, 37, 50, .16); border-radius: 12px; padding: .78rem .85rem; min-height: 50px;
}
.application-form input:focus, .application-form select:focus, .application-form textarea:focus {
  outline: 2px solid rgba(18, 85, 107, .45); outline-offset: 1px; background: #fff;
}
.application-form .optional { font-weight: 500; color: #8a9aa3; text-transform: none; }
.consent { display: flex !important; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--muted); font-size: .85rem; }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: .15rem; }
.consent small { color: #8a9aa3; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-size: .87rem; min-height: 1.2em; }
.form-status.error { color: #c0392b; font-weight: 600; }
.form-status.ok { color: #1c7a4a; font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(2.4rem, 5vw, 3.4rem) 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); gap: 1.6rem; }
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { font-family: var(--display); color: #fff; display: block; margin-bottom: .3rem; }
.footer-brand p { font-size: .88rem; margin: 0; }
.footer-nav, .footer-contacts { display: grid; gap: .45rem; align-content: start; font-size: .9rem; }
.footer-nav a:hover, .footer-contacts a:hover { color: var(--sun); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; }
.footer-bottom p { margin: 0; }

/* ---------- Адаптив ---------- */

@media (max-width: 1080px) {
  .hero-grid, .day-grid, .application-grid, .faq-grid { grid-template-columns: 1fr; }
  .day-media { position: static; grid-template-columns: 1fr 1fr; }
  .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: .2rem; background: rgba(8, 25, 31, .98); padding: 1rem 1.3rem 1.4rem; display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .nav.open { display: flex; }
  .nav a { padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-cta { text-align: center; margin-top: .6rem; border-bottom: 0 !important; }
  .burger { display: block; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .day-media { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 1.8rem, var(--shell)); }
  .hero-facts { gap: 1rem 1.3rem; }
  .hero-media img { aspect-ratio: 4 / 5; max-height: none; }
  .brand-text small { display: none; }
  .timeline li { grid-template-columns: 3.6rem 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .button:hover, .card:hover, .masonry img:hover { transform: none; }
}
