/* Berith Group website — brand: navy #0B1F4D, red #C8161D, gold #B8902A, off-white #F7F5F0, Inter */
:root {
  --navy: #0B1F4D; --navy2: #14327A; --blue: #1D4ED8; --red: #C8161D; --gold: #B8902A; --gold-l: #F0DFAE; --gold-d: #8A6A1C;
  --off: #F7F5F0; --ink: #14213D; --mut: #4A5568; --line: #E4DED0; --white: #fff;
  --r: 18px; --shadow: 0 10px 30px rgba(11, 31, 77, .08); --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--ink); background: var(--off); line-height: 1.6; font-size: 17px; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); }
h1, h2, h3 { color: var(--navy); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 245, 240, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.brand img { height: 34px; width: auto; align-self: flex-start; }
.brand small { font-size: 11.5px; color: var(--mut); margin-top: 3px; white-space: nowrap; }
.brand small b { color: var(--red); font-style: italic; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15.5px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { background: rgba(11, 31, 77, .06); }
.nav a[aria-current="page"] { color: var(--navy); font-weight: 700; box-shadow: inset 0 -2px 0 var(--red); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 28px; height: 28px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; padding: 13px 22px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-red { background: var(--red); color: #fff !important; }
.btn-red:hover { background: #A80F16; }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff !important; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-wa { background: #1FA855; color: #fff !important; }
.btn-line { border-color: var(--navy); color: var(--navy) !important; }

/* Sections */
.sec { padding: 84px 0; }
.sec.alt { background: var(--white); }
.kick { font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 12px; }
.rule { width: 56px; height: 4px; border-radius: 4px; background: var(--gold); margin: 6px 0 22px; }
.center { text-align: center; }
.center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--mut); max-width: 720px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Hero */
.hero { position: relative; overflow: hidden; color: var(--off); background: linear-gradient(140deg, var(--navy) 0%, var(--navy2) 62%, var(--blue) 125%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 88px; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--gold-l); }
.hero p { color: #D5DEF2; font-size: 1.15rem; max-width: 560px; }
.hero .kick { color: var(--gold-l); }
.hero .acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero.small .wrap { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
.ring { position: absolute; border-radius: 50%; border: 2px solid rgba(240, 223, 174, .13); pointer-events: none; }
.stripe { height: 8px; background: linear-gradient(90deg, var(--red) 0 30%, var(--gold) 30% 45%, var(--navy) 45%); }
.hero + .stripe, .stripe.lt { background: linear-gradient(90deg, var(--red) 0 30%, var(--gold) 30% 45%, var(--off) 45%); }

/* Cards and grids */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.sec.alt .card { background: var(--off); box-shadow: none; }
.card p { color: var(--mut); margin: 0; }
.card h3 { margin-top: 16px; }
.ico { width: 56px; height: 56px; border-radius: 14px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.ico svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico.red { background: var(--red); }
.ico.gold { background: var(--gold); }
.card ul { margin: 14px 0 0; padding-left: 20px; color: var(--mut); }
.card ul li { margin-bottom: 4px; }
a.card { text-decoration: none; color: inherit; transition: transform .15s; }
a.card:hover { transform: translateY(-3px); }
.more { display: inline-block; margin-top: 14px; font-weight: 700; color: var(--red); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 38px; margin-bottom: 14px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.dark-box { background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; position: relative; overflow: hidden; }
.dark-box h2, .dark-box h3 { color: #fff; }
.dark-box p { color: #D5DEF2; }
.dark-box .checks li { color: #E3E9F7; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding-top: 64px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.step:first-child::before { background: var(--red); }
.step p { color: var(--mut); margin: 0; }

.vals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.val { background: var(--white); border-radius: 16px; padding: 24px; border-top: 5px solid var(--red); box-shadow: var(--shadow); }
.val b { display: block; font-size: 1.15rem; color: var(--navy); }
.val span { color: var(--mut); font-size: .95rem; }

.quote { border-left: 5px solid var(--gold); padding: 6px 0 6px 26px; font-size: 1.3rem; font-style: italic; color: var(--navy); line-height: 1.5; }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-d); font-weight: 700; }

.tree { display: flex; flex-direction: column; align-items: center; }
.node { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 26px; text-align: center; box-shadow: var(--shadow); }
.node.top { background: var(--navy); border: 0; color: #fff; }
.node b { display: block; font-size: 1.15rem; }
.node small { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
.node.top small { color: var(--gold-l); }
.vline { width: 3px; height: 30px; background: var(--gold); }
.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 26px; justify-content: center; position: relative; padding-top: 30px; }
.branches::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; background: var(--gold); }
.branches > div { display: flex; flex-direction: column; align-items: center; position: relative; }
.branches > div::before { content: ""; position: absolute; top: -30px; width: 3px; height: 30px; background: var(--gold); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.tags span { font-size: .78rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--mut); }
.tags span.on { color: #1F7A3A; border-color: #BFE3CB; background: #EEF8F1; }

/* Call-to-action band */
.band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 56px; padding-bottom: 56px; }
.band h2 { color: #fff; margin: 0; }
.band p { color: #C9D6F5; margin: 6px 0 0; }
.band .acts { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tips */
.tip-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.tip-card .img { aspect-ratio: 16/10; background: var(--navy); }
.tip-card .img img { width: 100%; height: 100%; object-fit: cover; }
.tip-card .body { padding: 22px 24px 26px; }
.tip-card .meta { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; margin-top: 1.6em; }
.article ol, .article ul { padding-left: 22px; }
.article li { margin-bottom: 10px; }
.article .poster { border-radius: var(--r); box-shadow: var(--shadow); margin: 30px 0; }
.note { background: #FFF8E6; border: 1px solid #F0DFAE; border-radius: 14px; padding: 16px 20px; color: #5C4813; }

/* Contact */
.form { display: grid; gap: 16px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: 6px; }
input, select, textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid #CBD2DE; border-radius: 12px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(29, 78, 216, .25); border-color: var(--blue); }
textarea { min-height: 140px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.msg { padding: 14px 18px; border-radius: 12px; font-weight: 600; display: none; }
.msg.ok { display: block; background: #EEF8F1; color: #1F7A3A; border: 1px solid #BFE3CB; }
.msg.err { display: block; background: #FDECEC; color: #A80F16; border: 1px solid #F5C2C4; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list small { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold-d); }
.contact-list a, .contact-list span { font-size: 1.1rem; font-weight: 600; color: var(--navy); text-decoration: none; }

/* Footer */
footer { background: #081739; color: #C9D6F5; font-size: .95rem; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
footer img { height: 32px; width: auto; }
footer h4 { color: #fff; margin: 0 0 14px; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { color: #C9D6F5; text-decoration: none; }
footer a:hover { color: #fff; }
footer .tagline { color: #F0DFAE; font-style: italic; margin-top: 10px; }
footer .base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 20px; text-align: center; font-size: .85rem; color: #8FA0C6; }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #1FA855; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* Small screens */
@media (max-width: 960px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero .art { max-width: 460px; margin: 0 auto; }
  .g3, .g4, .vals, .steps { grid-template-columns: repeat(2, 1fr); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--off); flex-direction: column; align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--red); }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .sec { padding: 60px 0; }
  .g2, .g3, .g4, .vals, .steps, .form .two { grid-template-columns: 1fr; }
  footer .wrap { grid-template-columns: 1fr; }
  .branches { grid-template-columns: 1fr; padding-top: 0; }
  .branches::before, .branches > div::before { display: none; }
  .branches > div { margin-top: 16px; }
  .dark-box { padding: 28px; }
  .brand small { font-size: 10px; }
  .brand img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .top, .wa-float, .band, footer { display: none; } }

/* Emet Network Global logo */
.logo-card { background: #fff; border-radius: 24px; padding: 34px 30px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); max-width: 520px; margin: 0 auto; }
.logo-card img { width: 100%; height: auto; }
.brand-ico { width: 56px; height: 56px; border-radius: 14px; }
