/* Home v3 — layout aligned to client home-founder mockup */

/* Full viewport width (no 1180px content rail) */
.v3 {
  --max: none;
}
.v3-top,
.v3-nav,
.v3-hero__inner,
.v3 .wrap {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}

.v3 .eyebrow-gold {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.v3-header {
  background: rgba(251, 248, 241, 0.94);
  border-bottom: 1px solid var(--line);
}

.v3-top {
  max-width: none;
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 3vw, 2.5rem) 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.v3 .brand-lockup {
  display: flex;
  align-items: center;
  min-width: 0;
}
.v3 .brand-lockup img.logo-header {
  display: block;
  width: auto;
  height: clamp(48px, 5.2vw, 72px);
  max-width: min(340px, 42vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
  flex-shrink: 0;
}

.v3-search {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
  max-width: 420px;
  width: 100%;
  justify-self: center;
}
.v3-search input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: 0.72rem 0.9rem;
  background: transparent;
  color: var(--graphite);
  font-size: 0.9rem;
}
.v3-search button {
  border: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
}

.v3-utils {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.v3-login {
  color: var(--deep);
  font-weight: 600;
}
.v3-login:hover { color: var(--navy); }
.v3-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.95rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid var(--line-gold);
  white-space: nowrap;
}
.v3-join:hover {
  filter: brightness(1.04);
  color: var(--navy);
}

.v3-nav {
  max-width: none;
  margin: 0 auto;
  padding: 0.7rem clamp(1.25rem, 3vw, 2.5rem) 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
}
.v3-nav a { position: relative; padding: 0.2rem 0; }
.v3-nav a.is-active,
.v3-nav a:hover { color: var(--navy); }
.v3-nav a.is-active::after,
.v3-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.v3-nav .soon { opacity: 0.38; }

/* Hero */
.v3-hero {
  background:
    radial-gradient(900px 420px at 88% 18%, rgba(200,166,90,0.20), transparent 58%),
    linear-gradient(180deg, #FBF8F1 0%, #F6F2E8 60%, #EFE9DC 100%);
  border-bottom: 1px solid var(--line);
}
.v3-hero__inner {
  max-width: none;
  margin: 0 auto;
  padding: 2.4rem clamp(1.25rem, 3vw, 2.5rem) 2.2rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 1.75rem;
  align-items: center;
}
.v3-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.05;
  color: var(--navy);
  letter-spacing: 0.02em;
  margin: 0 0 0.85rem;
}
.v3-hero h1 span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.58em;
  font-weight: 500;
  color: var(--deep);
}
.v3-hero .lead {
  max-width: 32rem;
  margin: 0 0 1.35rem;
}
.v3-hero__visual {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 14px 36px rgba(11, 23, 38, 0.07);
  aspect-ratio: 1200 / 768;
}
.v3-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.v3-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
}
.v3-benefits div {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.3;
}
.v3-benefits .ico {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 0.4rem;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.72rem;
}
.v3-benefits strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.12rem;
}
.v3-benefits em {
  font-style: normal;
  color: var(--muted);
}

/* Categories — 8 tiles as mockup */
.v3-cats {
  padding: 1.75rem clamp(1.25rem, 3vw, 2.5rem) 1.5rem;
}
.v3-cats__grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.65rem;
}
.v3-cats__grid a {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s ease, transform .2s ease;
}
.v3-cats__grid a:hover {
  border-color: var(--line-gold);
  transform: translateY(-2px);
}
.v3-cats__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--ivory-2);
}
.v3-cats,
.v3-founder,
.v3-functions {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}
.v3-hero__visual {
  contain: layout paint;
}
.v3-cats__grid span {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.25rem;
  padding: 0.55rem 0.5rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--navy);
  min-height: 2.8rem;
}
.v3-cats__grid i {
  font-style: normal;
  color: var(--gold);
  flex-shrink: 0;
}

/* Connecting banner */
.v3-connect {
  margin: 0.5rem 0 0;
  padding: 2.4rem clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(11,23,38,0.88), rgba(17,36,58,0.7)),
    url('/image/catalog/kotlyars/placeholder-2026-10-04.png') center/cover;
}
.v3-connect h2 {
  color: #fff;
  margin: 0 0 0.4rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}
.v3-connect p {
  margin: 0;
  color: var(--gold-soft);
  letter-spacing: 0.1em;
  font-size: 0.88rem;
}

/* Founder */
.v3-founder {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr 0.9fr;
  gap: 1.35rem;
  padding: 2.75rem clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.v3-founder .photo {
  min-height: 340px;
  background: var(--deep) center/cover no-repeat;
  box-shadow: var(--shadow);
}
.v3-founder .copy h2 {
  margin: 0 0 0.75rem;
}
.v3-founder .copy p {
  color: var(--muted);
  margin: 0 0 0.85rem;
  max-width: 36rem;
}
.v3-founder .sign {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--navy);
  margin: 1.1rem 0 0.15rem !important;
}
.v3-founder .role {
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted) !important;
  margin: 0 !important;
}
.v3-founder .side {
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem 1.1rem;
}
.v3-founder .side ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v3-founder .side li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--deep);
}
.v3-founder .side li:last-of-type { border-bottom: 0; }
.v3-founder .side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.v3-founder blockquote {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--deep);
}
.v3-founder cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Platform functions */
.v3-functions {
  padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem) 2.5rem;
}
.v3-functions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.35rem;
}
.v3-functions__grid > div {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  padding: 1.15rem 1rem 1.05rem;
  min-height: 140px;
}
.v3-functions__grid .glyph {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.7rem;
  border: 1px solid var(--line-gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.v3-functions__grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
}
.v3-functions__grid em {
  font-style: normal;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.35;
}
.v3-functions__grid .soon {
  opacity: 0.55;
}

/* Bottom trust bar */
.v3-trustbar {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 1.15rem 0;
}
.v3-trustbar .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: none;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
}
.v3-trustbar strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gold-soft);
  margin-bottom: 0.15rem;
}
.v3-trustbar span {
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .v3-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .v3-top { grid-template-columns: 1fr; }
  .v3-search { max-width: none; justify-self: stretch; }
  .v3-hero__inner,
  .v3-founder { grid-template-columns: 1fr; }
  .v3-benefits,
  .v3-functions__grid,
  .v3-trustbar .wrap { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .v3-cats__grid { grid-template-columns: repeat(2, 1fr); }
  .v3-benefits,
  .v3-functions__grid,
  .v3-trustbar .wrap { grid-template-columns: 1fr; }
  .v3 .brand-lockup img.logo-header {
    height: 44px;
    max-width: min(260px, 70vw);
  }
}
