/* 3noktaglobal.com main stylesheet */

:root {
  --ink: #16202a;
  --ink-2: #22313f;
  --text: #1d2731;
  --muted: #5a6672;
  --accent: #e2552d;      /* the three dots */
  --accent-dark: #c4431e;
  --teal: #12707a;
  --line: #e2e6ea;
  --soft: #f5f3ef;
  --white: #fff;
  --radius: 12px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

a { color: var(--teal); }
a:hover { color: var(--ink); }

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -.015em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 780px; }

/* header */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 1.18rem; color: var(--ink); text-decoration: none; letter-spacing: -.01em; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); display: block; }
.dots i:nth-child(2) { background: var(--teal); }
.dots i:nth-child(3) { background: var(--ink); }
.menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.menu a { color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 12px; border-radius: 8px; }
.menu a:hover { background: var(--soft); }
.menu a[aria-current="page"] { color: var(--accent-dark); }
.menu .lang { border: 1px solid var(--line); font-size: .82rem; font-weight: 650; margin-left: 6px; padding: 5px 9px; }

/* hero */
.hero { background: var(--ink); color: #d5dde4; padding: 92px 0 84px; }
.hero h1 { color: #fff; max-width: 780px; }
.hero .lead { font-size: 1.16rem; max-width: 660px; color: #b9c4ce; }
.hero.small { padding: 64px 0 56px; }
.hero.small h1 { margin-bottom: .3em; }
.hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 700; color: var(--accent); margin-bottom: .7em; }
.hero .kicker { color: #f08a6b; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6em; }

.hero-art { position: relative; height: 320px; isolation: isolate; }
.phone { position: absolute; right: 40px; top: 0; width: 160px; height: 310px; border-radius: 26px; background: #f7f5f1; border: 6px solid #2f3f4e; padding: 46px 18px 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 24px 48px rgba(0,0,0,.28); z-index: 1; }
.phone span { display: block; height: 30px; border-radius: 8px; background: #e6e1d8; }
.phone span:first-child { background: var(--accent); opacity: .85; }
.phone span.short { width: 60%; }
.phone.back { right: 150px; top: 40px; transform: rotate(-8deg); background: #e9eef1; z-index: 0; box-shadow: none; opacity: .9; }
.phone.back span:first-child { background: var(--teal); }

.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; padding: 13px 24px; border-radius: 9px; border: 0; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.35); }
.btn.ghost:hover { background: rgba(255,255,255,.08); }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #f1ede6; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }

/* facts band */
.band { border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.facts div { padding: 26px 18px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts strong { display: block; font-size: 1.3rem; color: var(--ink); }
.facts span { color: var(--muted); font-size: .92rem; }

/* sections */
section.block { padding: 72px 0; }
section.block.alt { background: var(--soft); }
.cards { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); margin-bottom: 8px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card.plain { border-top: 3px solid var(--accent); }
.card p:last-child { margin-bottom: 0; }
.icon { width: 44px; height: 44px; border-radius: 11px; background: #fbe9e3; color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 14px; flex: none; }
.icon svg { width: 22px; height: 22px; }

.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 14px 44px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.rows { display: grid; gap: 18px; }
.row { display: flex; gap: 22px; align-items: flex-start; border-bottom: 1px solid var(--line); padding-bottom: 26px; }
.row:last-child { border-bottom: 0; }
.row > div { min-width: 0; }
.row h2 { font-size: 1.3rem; }
.row p { margin: 0; color: var(--text); }

.links { padding-left: 1.2em; }
.links li { margin-bottom: .5em; }
.note { color: var(--muted); font-size: .92rem; }

dl.details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 26px; margin: 0; }
dl.details dt { font-weight: 600; color: var(--ink); }
dl.details dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }

.cta { background: var(--teal); color: #fff; padding: 44px 0; }
.cta h2 { color: #fff; margin: 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* contact */
.contact { display: grid; gap: 36px; grid-template-columns: 1fr 1.4fr; align-items: start; }
.contact h2 { font-size: 1.15rem; margin-top: 1.2em; }
.contact h2:first-child { margin-top: 0; }
form .field { margin-bottom: 16px; }
form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
form input[type=text], form input[type=email], form textarea { width: 100%; font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid #cdd3d9; border-radius: 9px; background: #fff; color: var(--text); }
form input:focus, form textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
form textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.check label { font-weight: 400; color: var(--text); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin-top: 14px; padding: 12px 14px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #e7f4f1; color: #0f5a52; }
.form-msg.err { display: block; background: #fdeeee; color: #9b2c2c; }

/* legal pages */
.legal h2 { font-size: 1.22rem; margin-top: 1.8em; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }

/* footer */
.foot { background: var(--ink); color: #aeb9c3; font-size: .93rem; padding: 44px 0 0; }
.foot a { color: #fff; }
.foot p { margin: 0 0 .6em; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot-grid > div { min-width: 0; }
.foot-brand { color: #fff; font-weight: 700; }
.foot-links { margin-top: .8em; }
.copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 28px; padding-top: 16px; padding-bottom: 18px; }
.copy p { margin: 0; font-size: .85rem; }

@media (max-width: 980px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top { position: static; }
  .top .wrap { padding-top: 12px; padding-bottom: 10px; }
  .menu { width: 100%; margin-left: -10px; }
  .menu a { padding: 7px 9px; font-size: .9rem; }
  .hero { padding: 60px 0 56px; }
  .hero.small { padding: 44px 0 40px; }
  section.block { padding: 48px 0; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div:first-child { border-left: 0; padding: 12px 0; }
  .cards, .cards.two { grid-template-columns: 1fr; }
  .split, .contact { grid-template-columns: 1fr; gap: 28px; }
  .row { flex-direction: column; gap: 10px; }
  .foot-grid { grid-template-columns: 1fr; gap: 14px; }
  dl.details { grid-template-columns: 1fr; gap: 2px; }
  dl.details dd { margin-bottom: 10px; }
}

/* simple table (cookie policy) */
.tbl-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th, .tbl td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl th { background: var(--soft); color: var(--ink); }
