/* Esmark Çikolata Fabrikası — site stili */
@font-face {
  font-family: "Baloo 2";
  src: url("../fonts/baloo2-var.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plusjakartasans-var.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --red: #D0142C;
  --red-deep: #B10E22;
  --red-mid: #C3102A;
  --red-hover: #A80F22;
  --pink: #FDEFF1;
  --pink-2: #FCE4E8;
  --pink-3: #F8CFD6;
  --pink-line: #F3C9D0;
  --pink-soft: #FFD3D9;
  --ink: #17203A;
  --ink-2: #3C4260;
  --ink-3: #4A5068;
  --line: #E4E4EA;
  --choc: #2A1510;
  --choc-card: #3D2219;
  --choc-line: #5A3A30;
  --choc-text: #E8D9D4;
  --rose: #FF5A6E;
  --rose-text: #FF8A98;
  --display: "Baloo 2", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: min(1140px, 100% - 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, figure { margin: 0; }
a { color: var(--red); }
a:hover { color: var(--red-hover); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-red :focus-visible { outline-color: #fff; }
.wrap { width: var(--wrap); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--red); color: #fff; padding: 10px 18px; border-radius: 22px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.deco { position: absolute; pointer-events: none; }

/* ---------- shared type ---------- */
.eyebrow { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 700; letter-spacing: .24em; color: var(--red); text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; flex-shrink: 0; }
.eyebrow--both::after { content: ""; width: 34px; height: 3px; background: currentColor; flex-shrink: 0; }
.eyebrow--rose { color: var(--rose-text); }
.eyebrow--rose::before { background: var(--rose); }
.eyebrow--light { color: var(--pink-soft); }
.eyebrow--light::before { background: #fff; width: 28px; }
.display { font-family: var(--display); font-weight: 800; line-height: 1.02; color: var(--red); text-transform: uppercase; letter-spacing: -.005em; }
.h2 { font-size: clamp(34px, 4.6vw, 62px); margin-top: 14px; }
.lede { font-size: clamp(20px, 2vw, 27px); line-height: 1.4; font-weight: 600; }
.muted { color: var(--ink-2); }
.section-label { display: flex; align-items: center; gap: 16px; font-size: 13px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--pink-line); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 36px; border-radius: 999px; font: 700 clamp(17px, 1.6vw, 22px) var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); color: #fff; }
.btn--white { background: #fff; color: var(--red); }
.btn--white:hover { background: var(--pink-2); color: var(--red-hover); }
.btn--ghost { border-color: var(--red); color: var(--red); min-height: 52px; padding: 0 26px; font-size: 17px; }
.btn--ghost:hover { background: var(--red); color: #fff; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 30; background: #fff; }
.site-header__inner { position: relative; z-index: 2; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; }
.brand img { width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.nav a:hover { color: var(--red); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; height: 44px; padding: 0 16px; border-radius: 22px; background: var(--pink-2); color: var(--ink) !important; font-weight: 700 !important; }
.lang:hover { background: var(--pink-3); }
.menu-btn { display: none; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--red); color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.header-deco-l { left: 0; top: 0; width: 170px; }
.header-deco-r { right: 0; top: 0; width: 150px; }

@media (max-width: 1360px) {
  .header-deco-l, .header-deco-r { display: none; }
}
@media (max-width: 960px) {
  .site-header__inner { min-height: 80px; }
  .brand img { width: 170px; }
  .menu-btn { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgba(23,32,58,.35); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav .lang { margin-top: 16px; align-self: flex-start; border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 24px 0 72px; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero__title { font-size: clamp(48px, 7vw, 100px); line-height: .98; margin-top: 22px; }
.hero__title span { display: block; white-space: nowrap; }
html[lang="en"] .hero__title { font-size: clamp(44px, 5.3vw, 76px); }
.hero__swoosh { display: block; width: min(380px, 70%); height: auto; margin: -8px 0 0 clamp(60px, 11vw, 160px); }
.hero__text { margin-top: 26px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; font-weight: 500; }
.hero__text span { display: block; }
.hero .btn { margin-top: 40px; }
.hero__media { justify-self: end; width: min(680px, 100%); }
.hero__media img { width: 100%; height: auto; }

@media (max-width: 860px) {
  .hero { padding-bottom: 40px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; margin-top: 8px; }
  .hero .btn { width: 100%; }
}
@media (max-width: 420px) {
  .hero__title { font-size: 13.2vw; }
  html[lang="en"] .hero__title { font-size: 10.6vw; }
  .eyebrow { font-size: 12px; letter-spacing: .14em; gap: 10px; }
  .eyebrow::before, .eyebrow--both::after { width: 22px; }
}

/* ---------- intro + showcase ---------- */
.intro { position: relative; padding: 56px 0 96px; }
.intro::before { content: ""; position: absolute; top: 0; left: 50%; width: var(--wrap); transform: translateX(-50%); height: 1px; background: var(--line); }
.intro__deco { right: 0; top: 0; width: 130px; }
.intro__top { display: grid; grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr); gap: 56px; align-items: center; }
.intro__top .h2 { font-size: clamp(34px, 3.7vw, 52px); margin: 12px 0 0 48px; line-height: 1; }
.intro__top .h2 span { white-space: nowrap; }
html[lang="en"] .intro__top .h2 { font-size: clamp(32px, 3.4vw, 48px); }
.intro__rule { align-self: stretch; background: #D9D9E0; }
.intro__belief { font-size: clamp(21px, 2.1vw, 30px); line-height: 1.3; font-weight: 500; max-width: 460px; }
.places { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.places li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; white-space: nowrap; }
.places svg { width: 20px; height: 24px; flex-shrink: 0; }
.showcase { margin-top: 56px; }
.showcase__list { display: grid; gap: 36px; margin-top: 22px; }

.feature { display: grid; grid-template-columns: 480px minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: var(--red); color: #fff; min-height: 440px; }
.feature__visual { position: relative; overflow: hidden; background: var(--red-deep); min-height: 340px; }
.feature__visual .circle { left: 8%; top: 4%; width: 84%; }
.feature__visual .dash { left: 24px; top: 24px; width: 46px; }
.feature__visual img { position: absolute; left: 50%; top: 52%; width: 84%; transform: translate(-50%, -50%) rotate(-35deg); }
.seal { position: absolute; right: 20px; bottom: 20px; width: 140px; transform: rotate(-10deg); }
.feature__body { display: flex; flex-direction: column; justify-content: center; padding: 44px 48px; }
.feature__title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; margin-top: 16px; }
.feature__body p { margin-top: 16px; font-size: 19px; line-height: 1.5; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.pills li { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--red); font-size: 15px; font-weight: 700; }
.pills svg { width: 20px; height: 20px; flex-shrink: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile__media { position: relative; overflow: hidden; border-radius: 28px; aspect-ratio: 364 / 460; }
.tile__media img.cover { width: 100%; height: 100%; object-fit: cover; }
.tile__media--pink { background: var(--pink-2); }
.tile__media--pink .circle { left: -16%; bottom: -16%; width: 66%; }
.tile__media--pink img { height: auto; position: absolute; left: 50%; top: 50%; width: 84%; transform: translate(-50%, -50%) rotate(-8deg); }
.tile__media--dark { background: #1E0F0B; }
.tile__media--dark img { object-position: 50% 55%; }
.tile figcaption { margin-top: 16px; }
.tag { display: block; font-size: 13px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; color: var(--red); }
.tile__caption { display: block; margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.3; }

@media (max-width: 960px) {
  .intro__top { grid-template-columns: 1fr; gap: 24px; }
  .intro__top .h2 { margin-left: 0; }
  .intro__rule { display: none; }
  .intro__deco { display: none; }
  .feature { grid-template-columns: 1fr; }
  .feature__visual { height: 320px; }
  .feature__visual .circle { left: 50%; top: 50%; width: 300px; transform: translate(-50%, -50%); }
  .feature__visual img { width: 300px; }
  .seal { width: 100px; right: 16px; bottom: 16px; }
  .feature__body { padding: 28px 24px 32px; }
  .feature__body p { font-size: 16px; }
}
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; align-items: center; }
  .tile__media { border-radius: 18px; aspect-ratio: 140 / 176; }
  .tile figcaption { margin-top: 0; }
  .tile__caption { font-size: 16px; }
  .tag { font-size: 11px; }
  .pills li { min-height: 40px; font-size: 13px; padding: 0 14px; }
}

/* ---------- about ---------- */
.about { padding: 72px 0 100px; }
.about .h2 { max-width: 1100px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; margin-top: 52px; }
.two-col p:last-child { font-size: 19px; line-height: 1.65; color: var(--ink-2); }

/* ---------- stats ---------- */
.stats { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: 88px 0; }
.stats__deco { right: 0; top: 0; height: 100%; width: auto; }
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.stat { padding: 0 32px; border-left: 1.5px solid #E5586A; }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat dt { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 56px); line-height: 1; white-space: nowrap; }
.stat dt .unit { white-space: normal; }
.stat .unit { display: block; margin-top: 14px; font-size: 15px; font-weight: 700; letter-spacing: .16em; color: var(--pink-soft); text-transform: uppercase; }
.stat dd { margin: 12px 0 0; font-size: 17px; line-height: 1.5; }

/* ---------- edge ---------- */
.edge { padding: 120px 0 110px; }
.edge__head { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 80px; align-items: start; }
.edge__head .h2 { font-size: clamp(32px, 3.8vw, 52px); }
.edge__head > p { margin-top: 54px; font-size: 20px; line-height: 1.65; color: var(--ink-2); }
.edge__lead { margin-top: 72px; font-size: 24px; font-weight: 700; }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.benefit { padding: 36px; border-radius: 28px; background: var(--pink); }
.icon-dot { width: 80px; height: 80px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; }
.icon-dot svg { width: 38px; height: 38px; }
.benefit h3 { margin-top: 28px; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1.05; color: var(--red); }
.benefit p { margin-top: 14px; font-size: 17px; color: var(--ink-2); }

/* ---------- manifesto ---------- */
.manifesto { position: relative; overflow: hidden; background: var(--choc); color: #fff; padding: 88px 0; text-align: center; }
.manifesto__deco { left: 0; top: 0; height: 100%; width: auto; }
.manifesto .wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.manifesto .quote-mark { width: 56px; height: 44px; margin-top: 20px; }
.manifesto blockquote { margin: 20px 0 0; max-width: 1000px; font-family: var(--display); font-weight: 700; font-size: clamp(25px, 3vw, 40px); line-height: 1.2; }
.manifesto .eyebrow { justify-content: center; }
.manifesto .eyebrow::before { display: none; }

/* ---------- products ---------- */
.products { background: var(--pink); padding: 96px 0 110px; }
.products__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 56px 0 0; padding: 0; list-style: none; }
.product { display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 32px; }
.product__top { display: flex; justify-content: space-between; align-items: center; }
.product .icon-dot { width: 76px; height: 76px; background: var(--pink-2); }
.product .icon-dot svg { width: 36px; height: 36px; }
.product__no { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--pink-line); }
.product h3 { margin-top: 24px; font-family: var(--display); font-weight: 800; font-size: 29px; line-height: 1.05; color: var(--red); }
.product__sub { margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.product p { margin-top: 14px; font-size: 16px; line-height: 1.62; color: var(--ink-3); }
.product--pl { position: relative; overflow: hidden; grid-column: span 2; background: var(--red); color: #fff; padding: 44px; }
.product--pl .pl-deco { right: 0; bottom: 0; width: 260px; }
.product--pl > *:not(.deco) { position: relative; }
.product--pl .icon-dot { background: #fff; }
.product--pl .product__no { color: #F28A97; }
.product--pl h3 { color: #fff; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; margin-top: 28px; }
.product--pl .product__sub { color: var(--pink-soft); font-size: 20px; margin-top: 12px; }
.product--pl p { color: #fff; font-size: 18px; max-width: 560px; margin-top: 18px; }
.product--pl .btn { margin-top: auto; align-self: flex-start; min-height: 60px; font-size: 19px; }
.product--pl .spacer { flex: 1; min-height: 28px; }
.badges__label { margin-top: 56px; }
.badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.badge { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 28px; background: #fff; border: 1.5px solid var(--pink-line); min-height: 112px; }
.badge .check { width: 44px; height: 44px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge .check svg { width: 22px; height: 22px; }
.badge strong { display: block; font-size: 17px; line-height: 1.25; }
.badge span.sub { display: block; margin-top: 3px; font-size: 14px; line-height: 1.35; color: var(--ink-3); }

/* ---------- R&D ---------- */
.rnd { position: relative; overflow: hidden; background: var(--choc); color: #fff; padding: 110px 0 120px; }
.rnd__deco { right: 0; top: 0; width: 260px; }
.rnd .wrap { position: relative; }
.rnd .h2 { color: #fff; max-width: 1040px; font-size: clamp(32px, 4.3vw, 58px); }
.rnd__intro { margin-top: 32px; max-width: 920px; font-size: 20px; line-height: 1.65; color: var(--choc-text); }
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; margin-top: 80px; }
.pillar__head { display: flex; align-items: flex-start; gap: 20px; padding-bottom: 28px; border-bottom: 2px solid var(--choc-line); }
.pillar__no { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .9; color: var(--rose); }
.pillar__head h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.05; padding-top: 4px; }
.pillar__sub { display: block; margin-top: 8px; font-family: var(--body); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--rose-text); }
.pillar ul { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 32px; }
.pillar li { padding-left: 23px; border-left: 5px solid var(--red); border-radius: 3px; }
.pillar h4 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.pillar p { margin-top: 8px; font-size: 17px; line-height: 1.6; color: var(--choc-text); }
.highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 88px 0 0; padding: 0; list-style: none; }
.highlight { padding: 36px; border-radius: 28px; background: var(--choc-card); }
.highlight--red { background: var(--red); }
.highlight .icon-dot { width: 72px; height: 72px; }
.highlight--red .icon-dot { background: #fff; }
.highlight h3 { margin-top: 26px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.08; }
.highlight p { margin-top: 12px; font-size: 16px; color: var(--choc-text); }
.highlight--red p { color: #fff; }
.slogan { margin-top: 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.slogan svg { width: 56px; height: 44px; }
.slogan p { margin-top: 22px; max-width: 1020px; font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.22; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: var(--red); color: #fff; padding: 80px 0; }
.cta__deco { right: 0; top: 0; height: 100%; width: auto; }
.cta .wrap { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(34px, 4.2vw, 60px); line-height: 1; }
html[lang="en"] .cta h2 { font-size: clamp(32px, 3.6vw, 52px); }
.cta h2 span { display: block; }

/* ---------- contact ---------- */
.contact { padding: 96px 0 110px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.contact__lead { margin-top: 24px; max-width: 460px; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.5; color: var(--ink-2); }
.mail-cta { display: inline-flex; align-items: center; gap: 18px; margin-top: 32px; padding: 14px 32px 14px 14px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; max-width: 100%; }
.mail-cta:hover { background: var(--red-hover); color: #fff; }
.mail-cta__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--red-deep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mail-cta__icon svg { width: 30px; height: 30px; }
.mail-cta__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--pink-soft); }
.mail-cta__addr { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.15; overflow-wrap: anywhere; }
.contact .h2 span { display: block; }
.offices { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.office { display: flex; gap: 18px; padding: 24px; border-radius: 22px; background: var(--pink); font-style: normal; }
.office svg { width: 24px; height: 28px; flex-shrink: 0; }
.office strong { display: block; font-size: 20px; }
.office strong { color: var(--ink); }
.office div span, .office div a { display: block; margin-top: 4px; font-size: 16px; color: var(--ink-3); }
.office div a { color: var(--red); font-weight: 600; margin-top: 8px; }
.office--simple { align-items: center; }
.form { display: grid; gap: 20px; padding: 40px; border-radius: 32px; border: 2px solid var(--pink-line); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea { width: 100%; min-height: 52px; border-radius: 14px; border: 1.5px solid #C9CAD6; padding: 12px 16px; font: 400 16px var(--body); color: var(--ink); background: #fff; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(208,20,44,.18); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; min-height: 60px; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; font-weight: 600; font-size: 15px; }
.form-status.is-ok { color: #1D7A45; }
.form-status.is-error { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: var(--red-deep); color: #fff; padding: 56px 0 36px; }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; }
.site-footer img { width: 234px; height: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 14px 40px; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #D9475A; font-size: 15px; }
.site-footer__bottom nav { gap: 8px 24px; }
.site-footer__bottom a { font-weight: 500; }

/* ---------- legal pages ---------- */
.legal { padding: 64px 0 100px; }
.legal .wrap { max-width: 800px; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.05; color: var(--red); }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.legal h2 { margin-top: 44px; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1.1; color: var(--red); }
.legal h3 { margin-top: 24px; font-size: 19px; }
.legal p, .legal li { font-size: 17px; line-height: 1.7; color: var(--ink-2); }
.legal p { margin-top: 14px; }
.legal ul, .legal ol { margin: 14px 0 0; padding-left: 22px; }
.legal li + li { margin-top: 6px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px; border-bottom: 1px solid var(--line); }
.legal th { color: var(--ink); background: var(--pink); }
.table-scroll { overflow-x: auto; }
.back { display: inline-flex; margin-top: 44px; font-weight: 700; }

/* ---------- responsive: sections ---------- */
@media (max-width: 1100px) {
  .edge__head { grid-template-columns: 1fr; gap: 0; }
  .edge__head > p { margin-top: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 960px) {
  .two-col, .pillars { grid-template-columns: 1fr; gap: 40px; }
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 0; }
  .stat, .stat:first-child { padding: 0 20px 0 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1.5px solid #E5586A; padding-top: 28px; }
  .cards3, .highlights { grid-template-columns: 1fr; }
  .products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rnd__deco, .manifesto__deco { opacity: .35; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .about, .edge, .products, .rnd, .contact { padding: 64px 0; }
  .manifesto, .stats { padding: 56px 0; }
  .two-col { margin-top: 28px; }
  .two-col p:last-child, .edge__head > p, .rnd__intro { font-size: 16px; }
  .intro { padding-bottom: 56px; }
  .stats__deco, .cta__deco, .manifesto__deco, .rnd__deco { display: none; }
  .edge__lead { margin-top: 32px; font-size: 18px; }
  .stat dd { font-size: 14px; }
  .stat .unit { font-size: 12px; }
  .benefit, .product, .highlight { padding: 22px; border-radius: 22px; }
  .icon-dot, .product .icon-dot, .highlight .icon-dot { width: 56px; height: 56px; }
  .icon-dot svg, .product .icon-dot svg { width: 28px; height: 28px; }
  .benefit h3, .highlight h3 { font-size: 24px; margin-top: 16px; }
  .benefit p, .product p, .highlight p, .pillar p { font-size: 15px; }
  .products__grid, .badges { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .product--pl { grid-column: auto; padding: 22px; }
  .product--pl .pl-deco { width: 150px; }
  .product--pl .btn { align-self: stretch; }
  .product h3 { font-size: 24px; margin-top: 14px; }
  .product__no { font-size: 32px; }
  .badge { min-height: 0; padding: 14px 16px; }
  .badges__label { margin-top: 36px; }
  .pillars { margin-top: 40px; }
  .pillar__no { font-size: 44px; }
  .pillar ul { gap: 22px; margin-top: 22px; }
  .pillar li { padding-left: 14px; border-left-width: 4px; }
  .pillar h4 { font-size: 17px; }
  .highlights { margin-top: 44px; gap: 14px; }
  .slogan { margin-top: 48px; }
  .form { padding: 24px; border-radius: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .cta .btn { width: 100%; }
  .mail-cta { padding-right: 20px; gap: 12px; }
  .mail-cta__icon { width: 48px; height: 48px; }
  .mail-cta__icon svg { width: 24px; height: 24px; }
  .site-footer img { width: 176px; }
}
