/* Inner pages of the Tagali website. */
:root { --brand: #0B4A3A; --ink: #15201C; --muted: #5F6B66; --line: #E6E1D6; --paper: #FBF9F4; --soft: #DCEFE7; --gold: #F2B544; }
* { box-sizing: border-box; }
body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); line-height: 1.6; }
h1, h2, h3, .brand, .fbrand { font-family: 'Space Grotesk', Inter, sans-serif; letter-spacing: -0.02em; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top nav { max-width: 1240px; margin: 0 auto; padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 24px; }
.mark { width: 36px; height: 36px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; }
.links { display: flex; flex-wrap: wrap; gap: 4px 22px; flex: 1 1 auto; font-weight: 500; font-size: 15px; }
.links a { color: var(--ink); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.links a:hover { color: var(--brand); } .links a[aria-current="page"] { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lang { display: flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid #DDD7CB; border-radius: 999px; background: #F6F3EC; }
.lang svg { margin: 0 4px 0 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; }
.btn.ghost { color: var(--ink); border-color: var(--ink); } .btn.solid { background: var(--brand); color: #fff; } .btn.solid:hover { background: #06291F; color: #fff; }
.btn.light { background: #fff; color: var(--brand); font-weight: 700; font-size: 17px; padding: 16px 28px; }
.btn.outline { color: #fff; border-color: rgba(255,255,255,.55); font-size: 17px; padding: 16px 28px; }
.hero { background: var(--brand); color: #fff; padding: 72px 0 80px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.05; margin: 8px 0 18px; max-width: 900px; }
.hero .lead { font-size: 19px; color: #CFE5DC; max-width: 760px; margin: 0; }
.hero .eyebrow { color: var(--gold); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0; }
.sec { padding: 72px 0; } .sec:nth-of-type(even) { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.12; margin: 8px 0 28px; max-width: 860px; }
.lead2 { font-size: 18px; color: #33403B; max-width: 820px; margin: 0 0 20px; }
.split { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: start; }
.quote { background: var(--soft); border-radius: 20px; padding: 24px; } .quote p { margin: 8px 0 0; color: #23413A; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps b { font-size: 17px; } .steps p { margin: 6px 0 0; color: #4B5752; font-size: 15px; }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.sec:nth-of-type(even) .card, .sec:nth-of-type(even) .steps li { background: var(--paper); }
.card h3 { margin: 0 0 8px; font-size: 19px; } .card p { margin: 0; color: #4B5752; } .card p + p { margin-top: 8px; }
.person img { border-radius: 50%; display: block; margin-bottom: 12px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 860px; }
.ticks li { padding-left: 34px; position: relative; font-size: 17px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/14px no-repeat; }
.tips { padding-left: 22px; max-width: 860px; } .tips li { margin-bottom: 10px; font-size: 17px; }
.note { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.faq { max-width: 900px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.sec:nth-of-type(even) .faq details { background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 22px; line-height: 1; } .faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 16px; color: #33403B; }
.tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 20px; }
table.t { width: 100%; border-collapse: collapse; font-size: 15px; }
table.t th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 18px; border-bottom: 1px solid var(--line); }
table.t td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.t tr:last-child td { border-bottom: 0; }
table.t td.big { font-family: 'Space Grotesk', sans-serif; font-size: 26px; font-weight: 700; white-space: nowrap; }
.flag { border-radius: 4px; vertical-align: middle; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
code { font-family: ui-monospace, Menlo, monospace; font-size: 14px; white-space: nowrap; }
.map { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 20px; }
.map svg { display: block; width: 100%; height: auto; border-radius: 18px; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; margin-top: 16px; font-size: 14px; color: #4B5752; }
.legend span { display: inline-flex; align-items: center; gap: 8px; } .legend .src { margin-left: auto; font-size: 13px; color: var(--muted); }
.sw { width: 14px; height: 14px; border-radius: 4px; display: inline-block; } .sw.in { background: var(--brand); } .sw.out { background: #EFEBE2; border: 1px solid #D3CCBE; } .sw.cap { border-radius: 50%; background: var(--gold); border: 1.5px solid var(--brand); width: 12px; height: 12px; }
.ccards { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.ccards li { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.ccards b { display: block; font-size: 17px; } .ccards small { color: var(--muted); font-size: 14px; }
.calc { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 18px; align-items: end; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.sec:nth-of-type(even) .calc { background: var(--paper); }
.calc label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc input { width: 100%; font: inherit; font-size: 20px; padding: 14px 16px; border: 1px solid #CFC9BC; border-radius: 14px; background: #fff; }
.calc-out { background: #15201C; color: #fff; border-radius: 18px; padding: 18px 20px; display: grid; gap: 8px; }
.calc-out div { display: flex; justify-content: space-between; color: #C9D3CF; } .calc-out b { color: #fff; }
.calc-out .total { border-top: 1px solid #35443D; padding-top: 10px; font-size: 18px; } .calc-out .total span { color: #fff; font-weight: 700; }
.search { margin-top: 26px; max-width: 620px; }
.search input { width: 100%; font: inherit; font-size: 18px; padding: 16px 20px; border-radius: 999px; border: 0; }
.band { background: #15201C; color: #fff; padding: 72px 0; text-align: center; }
.band h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 0 0 10px; } .band p { color: #C9D3CF; margin: 0 0 26px; }
.foot { background: #0E1714; color: #fff; padding: 56px 0 28px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot a { display: block; color: #C9D3CF; text-decoration: none; padding: 4px 0; font-size: 15px; } .foot a:hover { color: #fff; }
.fh { font-weight: 700; margin: 0 0 8px; } .fbrand { font-size: 22px; font-weight: 700; margin: 0; } .muted { color: #AEBBB5; margin: 6px 0 0; } .small { font-size: 13px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2A3631; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #AEBBB5; }
.legal span:last-child { display: flex; gap: 20px; } .legal a { display: inline; font-size: 13px; color: #AEBBB5; }
.hidden-by-search { display: none; }
@media (max-width: 860px) { .split, .calc { grid-template-columns: 1fr; } .foot .cols { grid-template-columns: 1fr 1fr; } .links { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; } }
