/* Iceberg homepage concept, revision 2. */
.ice-home-v2 {
    --v2-navy: #172b33;
    --v2-ink: #24363d;
    --v2-muted: #687980;
    --v2-teal: #068f9f;
    --v2-teal-dark: #057986;
    --v2-mint: #dff3f4;
    --v2-line: #dce7ea;
    --v2-page: #f3f7f8;
    color: var(--v2-ink);
    background: #fff;
    overflow: hidden;
}

.ice-home-v2[hidden],
body.ice-site .ice-home-v1-hidden {
    display: none !important;
}

/* Не показываем прежнюю главную до переноса нового блока. */
body.ice-home > .container:has(.ice-main) {
    display: none !important;
}

.ice-home-v2 *,
.ice-home-v2 *::before,
.ice-home-v2 *::after {
    box-sizing: border-box;
}

.ice-v2-wrap {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.ice-home-v2 h1,
.ice-home-v2 h2,
.ice-home-v2 h3,
.ice-home-v2 p {
    margin-top: 0;
}

.ice-home-v2 h1,
.ice-home-v2 h2,
.ice-home-v2 h3 {
    color: var(--v2-ink);
}

.ice-v2-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--v2-teal-dark);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.ice-v2-eyebrow::before {
    width: 32px;
    height: 2px;
    background: currentColor;
    content: "";
}

.ice-v2-section {
    padding: 104px 0;
}

.ice-v2-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 42px;
}

.ice-v2-heading h2,
.ice-v2-solutions h2,
.ice-v2-final h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4vw, 54px);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.ice-v2-text-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    padding-bottom: 5px;
    border-bottom: 1px solid currentColor;
    color: var(--v2-teal-dark);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.ice-v2-text-link:hover {
    color: var(--v2-teal);
}

/* Hero */
.ice-v2-hero {
    position: relative;
    min-height: 615px;
    background:
        linear-gradient(90deg, rgba(255,255,255,.985) 0%, rgba(255,255,255,.97) 46%, rgba(239,247,248,.94) 100%),
        repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(23,43,51,.025) 80px);
    border-bottom: 1px solid var(--v2-line);
}

.ice-v2-hero::after {
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6,143,159,.4), transparent);
    content: "";
}

.ice-v2-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(440px, .94fr);
    gap: 72px;
    min-height: 615px;
    align-items: center;
}

.ice-v2-hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 74px 0 70px;
}

.ice-v2-hero h1 {
    max-width: 760px;
    margin-bottom: 25px;
    font-size: clamp(46px, 5.2vw, 76px);
    font-weight: 800;
    line-height: .98;
    letter-spacing: -.055em;
}

.ice-v2-hero__lead {
    max-width: 680px;
    margin-bottom: 34px;
    color: #586c74;
    font-size: 19px;
    line-height: 1.65;
}

.ice-v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ice-v2-btn {
    display: inline-flex;
    min-height: 54px;
    padding: 0 25px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.ice-v2-btn:hover {
    transform: translateY(-2px);
}

.ice-v2-btn--primary {
    color: #fff;
    background: var(--v2-teal);
    box-shadow: 0 14px 28px rgba(6,143,159,.2);
}

.ice-v2-btn--primary:hover {
    color: #fff;
    background: var(--v2-teal-dark);
}

.ice-v2-btn--ghost {
    border-color: #c8d8dc;
    color: var(--v2-ink);
    background: rgba(255,255,255,.72);
}

.ice-v2-btn--ghost:hover {
    color: var(--v2-teal-dark);
    background: #fff;
}

.ice-v2-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 38px;
    color: #52666e;
    font-size: 12px;
    font-weight: 750;
}

.ice-v2-hero__facts span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ice-v2-hero__facts span::before {
    width: 8px;
    height: 8px;
    border: 2px solid var(--v2-teal);
    border-radius: 50%;
    content: "";
}

.ice-v2-hero__visual {
    position: relative;
    height: 520px;
    align-self: end;
}

.ice-v2-hero__orb {
    position: absolute;
    top: 55px;
    right: -10px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #fff, #d9eef0 47%, #b8dfe3 100%);
    box-shadow: 0 30px 80px rgba(22,67,75,.14);
}

.ice-v2-hero__orb::before,
.ice-v2-hero__orb::after {
    position: absolute;
    border: 1px solid rgba(6,143,159,.17);
    border-radius: 50%;
    content: "";
}

.ice-v2-hero__orb::before { inset: 34px; }
.ice-v2-hero__orb::after { inset: 78px; }

.ice-v2-hero__visual > img {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 48px;
    width: 420px;
    height: 420px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 30px 24px rgba(23,43,51,.18));
}

.ice-v2-consult {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 28px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    width: min(390px, 88%);
    padding: 22px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 16px;
    color: #fff;
    background: rgba(23,43,51,.94);
    box-shadow: 0 22px 50px rgba(23,43,51,.22);
    backdrop-filter: blur(10px);
}

.ice-v2-consult__mark {
    display: grid;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
    place-items: center;
    color: #82dce4;
    font-size: 12px;
    font-weight: 800;
}

.ice-v2-consult strong {
    display: block;
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
}

.ice-v2-consult p {
    margin: 7px 0 10px;
    color: #c8d8dc;
    font-size: 12px;
    line-height: 1.55;
}

.ice-v2-consult a {
    color: #81dae2;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

/* Category grid */
.ice-v2-catalog {
    background: #fff;
}

.ice-v2-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ice-v2-category {
    position: relative;
    display: flex;
    min-height: 300px;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--v2-line);
    border-radius: 18px;
    color: var(--v2-ink);
    background: var(--v2-page);
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.ice-v2-category--wide {
    grid-column: span 2;
}

.ice-v2-category:hover {
    border-color: rgba(6,143,159,.38);
    color: var(--v2-ink);
    box-shadow: 0 18px 45px rgba(27,61,69,.1);
    transform: translateY(-4px);
}

.ice-v2-category__content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    align-self: flex-end;
    flex-direction: column;
    align-items: flex-start;
}

.ice-v2-category__content small {
    margin-bottom: 7px;
    color: var(--v2-teal-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ice-v2-category__content strong {
    max-width: 250px;
    font-size: 20px;
    line-height: 1.15;
}

.ice-v2-category__content > span {
    margin-top: 12px;
    color: #5f737b;
    font-size: 11px;
    font-weight: 750;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.ice-v2-category:hover .ice-v2-category__content > span {
    opacity: 1;
    transform: none;
}

.ice-v2-category__image {
    position: absolute;
    inset: 0;
}

.ice-v2-category__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(243,247,248,.08) 15%, rgba(243,247,248,.88) 72%, #f3f7f8 100%);
    content: "";
}

.ice-v2-category__image img {
    width: 100%;
    height: 78%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .35s ease;
}

.ice-v2-category:hover .ice-v2-category__image img {
    transform: scale(1.045);
}

/* Services */
.ice-v2-services {
    padding: 96px 0;
    color: #fff;
    background: var(--v2-navy);
}

body.ice-site .ice-home-v2 .ice-v2-heading--light h2,
.ice-v2-services .ice-v2-eyebrow {
    color: #fff;
}

.ice-v2-heading--light .ice-v2-text-link {
    color: #8ee0e7;
}

.ice-v2-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    border-top: 1px solid rgba(255,255,255,.14);
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.ice-v2-service {
    position: relative;
    min-height: 260px;
    padding: 30px 28px;
    border-right: 1px solid rgba(255,255,255,.14);
    color: #fff;
    text-decoration: none;
    transition: background-color .2s ease;
}

.ice-v2-service:first-child {
    border-left: 1px solid rgba(255,255,255,.14);
}

.ice-v2-service:hover {
    color: #fff;
    background: rgba(255,255,255,.055);
}

.ice-v2-service__num {
    display: block;
    margin-bottom: 54px;
    color: #78d4dd;
    font-size: 12px;
    font-weight: 800;
}

.ice-v2-service strong {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    font-size: 21px;
}

.ice-v2-service p {
    max-width: 245px;
    margin-bottom: 0;
    color: #b9cbd0;
    font-size: 13px;
    line-height: 1.6;
}

.ice-v2-service__arrow {
    position: absolute;
    top: 27px;
    right: 25px;
    display: grid;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    place-items: center;
    color: #89dce4;
}

/* Products */
.ice-v2-products {
    background: #f4f7f8;
}

.ice-v2-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ice-v2-product {
    overflow: hidden;
    border: 1px solid var(--v2-line);
    border-radius: 18px;
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ice-v2-product:hover {
    box-shadow: 0 18px 45px rgba(27,61,69,.1);
    transform: translateY(-4px);
}

.ice-v2-product__image {
    position: relative;
    display: block;
    height: 280px;
    padding: 25px;
    background: #fff;
}

.ice-v2-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.ice-v2-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    left: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #046f7d;
    background: #dff3f4;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ice-v2-badge--dark {
    color: #fff;
    background: var(--v2-navy);
}

.ice-v2-product__body {
    display: flex;
    min-height: 210px;
    padding: 22px;
    border-top: 1px solid #e7eef0;
    flex-direction: column;
}

.ice-v2-product__body small {
    margin-bottom: 9px;
    color: var(--v2-teal-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ice-v2-product__body h3 {
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    letter-spacing: -.015em;
}

.ice-v2-product__body h3 a {
    color: var(--v2-ink);
    text-decoration: none;
}

.ice-v2-product__body h3 a:hover {
    color: var(--v2-teal-dark);
}

.ice-v2-product__foot {
    display: flex;
    margin-top: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ice-v2-product__foot strong {
    font-size: 13px;
}

.ice-v2-product__foot a {
    display: grid;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    place-items: center;
    color: #fff;
    background: var(--v2-teal);
    font-size: 19px;
    text-decoration: none;
}

/* Process and trust */
.ice-v2-solutions {
    background: #fff;
}

.ice-v2-solutions__grid {
    display: grid;
    grid-template-columns: .86fr 1.14fr;
    gap: 100px;
    align-items: start;
}

.ice-v2-solutions__copy p {
    max-width: 545px;
    margin: 28px 0 32px;
    color: var(--v2-muted);
    font-size: 17px;
    line-height: 1.7;
}

.ice-v2-steps {
    border-top: 1px solid var(--v2-line);
}

.ice-v2-steps > div {
    display: grid;
    grid-template-columns: 54px minmax(180px,.8fr) 1.2fr;
    gap: 20px;
    padding: 27px 0;
    border-bottom: 1px solid var(--v2-line);
    align-items: start;
}

.ice-v2-steps span {
    color: var(--v2-teal-dark);
    font-size: 12px;
    font-weight: 800;
}

.ice-v2-steps strong {
    font-size: 18px;
}

.ice-v2-steps p {
    margin: 0;
    color: var(--v2-muted);
    font-size: 13px;
    line-height: 1.6;
}

.ice-v2-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    margin-top: 92px;
    border-top: 1px solid var(--v2-line);
    border-bottom: 1px solid var(--v2-line);
}

.ice-v2-metrics > div {
    display: flex;
    min-height: 150px;
    padding: 30px;
    border-right: 1px solid var(--v2-line);
    flex-direction: column;
    justify-content: center;
}

.ice-v2-metrics > div:first-child { border-left: 1px solid var(--v2-line); }
.ice-v2-metrics strong { margin-bottom: 8px; color: var(--v2-teal-dark); font-size: 34px; line-height: 1; }
.ice-v2-metrics span { color: var(--v2-muted); font-size: 12px; line-height: 1.5; }

/* Final CTA */
.ice-v2-final {
    padding: 72px 0;
    color: #fff;
    background: var(--v2-teal);
}

.ice-v2-final__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 60px;
    align-items: center;
}

.ice-v2-final .ice-v2-eyebrow,
body.ice-site .ice-home-v2 .ice-v2-final h2 {
    color: #fff;
}

.ice-v2-final h2 {
    max-width: 900px;
    font-size: clamp(30px, 3.5vw, 47px);
}

.ice-v2-final__actions {
    display: flex;
    min-width: 225px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    text-align: center;
}

.ice-v2-btn--white {
    color: var(--v2-teal-dark);
    background: #fff;
}

.ice-v2-final__actions > a:last-child {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 1199.98px) {
    .ice-v2-hero__grid { grid-template-columns: minmax(0,1fr) 420px; gap: 35px; }
    .ice-v2-hero h1 { font-size: 57px; }
    .ice-v2-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .ice-v2-category--wide { grid-column: span 1; }
    .ice-v2-service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ice-v2-service:nth-child(2) { border-right: 1px solid rgba(255,255,255,.14); }
    .ice-v2-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 991.98px) {
    .ice-v2-section { padding: 76px 0; }
    .ice-v2-hero { min-height: 0; }
    .ice-v2-hero__grid { grid-template-columns: 1fr; min-height: 0; }
    .ice-v2-hero__content { max-width: 850px; padding: 68px 0 22px; }
    .ice-v2-hero h1 { max-width: 800px; font-size: clamp(46px,7.4vw,64px); }
    .ice-v2-hero__visual { width: min(600px, 100%); height: 400px; margin: 0 auto; }
    .ice-v2-hero__orb { top: 5px; right: 9%; width: 350px; height: 350px; }
    .ice-v2-hero__visual > img { right: 12%; bottom: 20px; width: 350px; height: 350px; }
    .ice-v2-consult { right: 3%; bottom: 12px; }
    .ice-v2-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .ice-v2-solutions__grid { grid-template-columns: 1fr; gap: 55px; }
    .ice-v2-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 65px; }
    .ice-v2-final__inner { grid-template-columns: 1fr; gap: 35px; }
    .ice-v2-final__actions { min-width: 0; width: min(260px,100%); }
}

@media (max-width: 767.98px) {
    .ice-v2-wrap { width: min(100% - 36px, 1320px); }
    .ice-v2-section { padding: 62px 0; }
    .ice-v2-heading { align-items: flex-start; flex-direction: column; margin-bottom: 30px; }
    .ice-v2-heading h2, .ice-v2-solutions h2, .ice-v2-final h2 { font-size: 35px; line-height: 1.08; }
    .ice-v2-hero__content { padding-top: 52px; }
    .ice-v2-hero h1 { font-size: 43px; line-height: 1.01; }
    .ice-v2-hero__lead { font-size: 16px; line-height: 1.58; }
    .ice-v2-hero__facts { gap: 12px 20px; margin-top: 28px; }
    .ice-v2-category-grid { display: flex; margin-right: -18px; padding-right: 18px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
    .ice-v2-category { flex: 0 0 280px; min-height: 310px; scroll-snap-align: start; }
    .ice-v2-category__content > span { opacity: 1; transform: none; }
    .ice-v2-services { padding: 62px 0; }
    .ice-v2-service-grid { grid-template-columns: 1fr; }
    .ice-v2-service, .ice-v2-service:first-child { min-height: 210px; border-right: 1px solid rgba(255,255,255,.14); border-left: 1px solid rgba(255,255,255,.14); border-bottom: 1px solid rgba(255,255,255,.14); }
    .ice-v2-service__num { margin-bottom: 34px; }
    .ice-v2-product-grid { display: flex; margin-right: -18px; padding-right: 18px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
    .ice-v2-product { flex: 0 0 290px; scroll-snap-align: start; }
    .ice-v2-product__image { height: 245px; }
    .ice-v2-steps > div { grid-template-columns: 42px 1fr; }
    .ice-v2-steps p { grid-column: 2; }
    .ice-v2-metrics > div { min-height: 125px; padding: 22px; }
    .ice-v2-metrics strong { font-size: 28px; }
}

@media (max-width: 575.98px) {
    .ice-v2-wrap { width: calc(100% - 32px); }
    .ice-v2-eyebrow { font-size: 10px; }
    .ice-v2-hero h1 { font-size: clamp(36px,10.4vw,43px); }
    .ice-v2-actions { flex-direction: column; }
    .ice-v2-actions .ice-v2-btn { width: 100%; }
    .ice-v2-hero__facts { display: grid; grid-template-columns: 1fr; }
    .ice-v2-hero__visual { height: 330px; }
    .ice-v2-hero__orb { right: -30px; width: 300px; height: 300px; }
    .ice-v2-hero__visual > img { right: -2px; bottom: 32px; width: 290px; height: 290px; }
    .ice-v2-consult { right: 0; bottom: 8px; width: 94%; padding: 17px; }
    .ice-v2-consult__mark { width: 34px; height: 34px; }
    .ice-v2-consult strong { font-size: 14px; }
    .ice-v2-consult p { display: none; }
    .ice-v2-category { flex-basis: 262px; }
    .ice-v2-metrics { grid-template-columns: 1fr 1fr; }
    .ice-v2-metrics > div { padding: 18px 15px; }
    .ice-v2-metrics strong { font-size: 24px; }
    .ice-v2-final { padding: 58px 0; }
}

@media (prefers-reduced-motion: reduce) {
    .ice-home-v2 *,
    .ice-home-v2 *::before,
    .ice-home-v2 *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}