/* ============================================================
   Delisi TV — main stylesheet
   ============================================================ */
:root {
    --brand: #1a4fd6;
    --brand-dark: #0f3aa8;
    --brand-deep: #0a1f52;
    --accent: #ff5a36;
    --ink: #14181f;
    --muted: #5b6573;
    --line: #e6e9f0;
    --bg: #ffffff;
    --bg-soft: #f5f7fb;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(16, 31, 82, 0.08);
    --maxw: 1140px;
    --font: "Inter", "Noto Sans Georgian", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
body.lang-ka { --font: "Noto Sans Georgian", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Buttons */
.btn {
    display: inline-block; padding: 13px 26px; border-radius: 999px;
    font-weight: 600; font-size: 15px; cursor: pointer; border: 2px solid transparent;
    transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e8492a; color: #fff; }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; }
.brand-mark { font-weight: 800; font-size: 24px; color: var(--brand-deep); letter-spacing: -.02em; }
.brand-mark span { color: var(--accent); }
.brand img { max-height: 48px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav { gap: 20px; }
.site-nav ul { display: flex; gap: 17px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: 14px; white-space: nowrap; }
.site-nav a:hover { color: var(--brand); }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lang-switch a { color: var(--muted); }
.lang-switch a.active { color: var(--brand-deep); text-decoration: underline; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; transition: .2s; }

/* Hero */
.hero {
    background: radial-gradient(1200px 500px at 80% -10%, #2c63ee 0%, transparent 60%),
                linear-gradient(135deg, var(--brand-deep), var(--brand-dark));
    color: #fff; padding: 96px 0 104px; position: relative; overflow: hidden;
}
.hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
    background-size: 22px 22px; opacity: .5;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-actions .btn { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; margin-bottom: .35em; }
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: rgba(255,255,255,.85); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: -56px auto 0; position: relative; z-index: 5; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.feature-icon { font-size: 30px; margin-bottom: 12px; }
.feature-card h3 { font-size: 19px; }
.feature-card p { color: var(--muted); margin: 0; }

/* About teaser */
.about-teaser { padding: 84px 0; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-teaser h2 { font-size: clamp(24px, 3.5vw, 34px); }
.about-teaser p { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.about-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 16px; text-align: center; }
.stat strong { display: block; font-size: 30px; color: var(--brand-deep); font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* Section heads */
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3.5vw, 32px); margin: 0; }
.link-arrow { font-weight: 600; }

/* News */
.news-preview { padding: 40px 0 84px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card a { color: inherit; display: block; }
.news-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--bg-soft); }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-thumb--empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); }
.news-thumb--empty span { color: #fff; font-weight: 800; font-size: 22px; }
.news-thumb--empty b { color: var(--accent); font-weight: 800; }
.news-body { padding: 20px; }
.news-body time { color: var(--accent); font-size: 13px; font-weight: 600; }
.news-body h3 { font-size: 18px; margin: 6px 0 8px; }
.news-body p { color: var(--muted); margin: 0 0 10px; font-size: 15px; }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep)); color: #fff; text-align: center; padding: 72px 0; }
.cta-band h2 { font-size: clamp(24px, 4vw, 36px); }
.cta-band p { color: rgba(255,255,255,.85); margin-bottom: 26px; font-size: 18px; }

/* Page hero */
.page-hero { background: linear-gradient(135deg, var(--brand-deep), var(--brand-dark)); color: #fff; padding: 64px 0; }
.page-hero h1 { font-size: clamp(28px, 5vw, 44px); margin: 0; }

/* Content */
.content-narrow { max-width: 820px; padding-top: 56px; padding-bottom: 72px; }
.prose { font-size: 17px; color: #2b313b; }
.prose p { margin: 0 0 1.1em; }
.center-cta { text-align: center; margin-top: 40px; }

/* Values */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 8px; }
.value-card { background: var(--bg-soft); border-radius: var(--radius); padding: 26px; }
.value-card h3 { font-size: 18px; color: var(--brand-deep); }
.value-card p { color: var(--muted); margin: 0; font-size: 15px; }

/* Coverage */
.coverage-wrap { padding: 48px 0 80px; }
.coverage-intro { font-size: 17px; color: var(--muted); max-width: 760px; margin-bottom: 28px; }
.coverage-map { height: 520px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.area-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 28px; }
.area-item { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.area-item .dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; }
.area-item.is-active .dot { background: var(--brand); }
.area-item.is-soon .dot { background: var(--accent); }
.area-name { font-weight: 600; }
.area-meta { color: var(--muted); font-size: 13px; margin-left: auto; }
.area-status { font-size: 12px; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; padding: 56px 0 80px; align-items: start; }
.contact-row { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.contact-label { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.contact-form { display: grid; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.contact-form input, .contact-form textarea {
    font-family: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
    border-radius: 10px; background: #fff; width: 100%;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(26,79,214,.12); }
.contact-form .hp { position: absolute; left: -9999px; }
.contact-form button { justify-self: start; border: 0; }
.form-notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }
.form-notice--ok { background: #e8f7ee; color: #1a7f43; }
.form-notice--err { background: #fdecea; color: #c0392b; }
.social { display: flex; gap: 14px; flex-wrap: wrap; }
.social a { color: var(--brand); font-weight: 500; }
.social--inline { margin-top: 2px; }

/* Company details card (About) */
.company-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; margin-bottom: 32px; }
.company-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.company-row:last-child { border-bottom: 0; }
.company-row span { color: var(--muted); font-size: 14px; }
.company-row strong { text-align: right; color: var(--ink); }

/* Maintenance list */
.maint-list { display: grid; gap: 16px; padding-top: 8px; }
.maint-item { display: grid; grid-template-columns: 140px 1fr; gap: 20px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; }
.maint-date { color: var(--accent); font-weight: 600; font-size: 14px; }
.maint-body h3 { font-size: 19px; margin: 0 0 8px; }
.maint-body .prose { font-size: 15px; }
@media (max-width: 640px) { .maint-item { grid-template-columns: 1fr; gap: 8px; } }

/* Single news */
.single-news { padding-top: 40px; }
.back-link { display: inline-block; margin-bottom: 18px; font-weight: 600; }
.single-date { color: var(--accent); font-weight: 600; }
.single-news h1 { font-size: clamp(26px, 4vw, 40px); margin: 8px 0 24px; }
.single-thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; }

/* Misc */
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; font-size: 18px; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.pagination .current { background: var(--brand); color: #fff; border-color: var(--brand); }

/* Footer */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,.8); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer .brand-mark { color: #fff; }
.footer-brand p { color: rgba(255,255,255,.65); margin-top: 10px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: #fff; }
.site-footer .social a { color: rgba(255,255,255,.85); margin-top: 12px; display: inline-block; }
.footer-bottom { padding-top: 20px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
    .features, .news-grid, .value-grid { grid-template-columns: 1fr 1fr; }
    .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-teaser { padding: 56px 0; }
}
@media (max-width: 992px) {
    .nav-toggle { display: flex; }
    .site-nav {
        position: fixed; top: 72px; right: 0; left: 0; background: #fff;
        flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 22px 22px;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
        transform: translateY(-150%); transition: transform .25s ease; max-height: calc(100vh - 72px); overflow: auto;
    }
    .site-nav.open { transform: translateY(0); }
    .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
    .site-nav li { width: 100%; border-bottom: 1px solid var(--line); }
    .site-nav a { display: block; padding: 14px 0; font-size: 16px; }
    .lang-switch { padding: 14px 0; }
}
@media (max-width: 640px) {
    .features, .news-grid, .value-grid, .about-stat-grid { grid-template-columns: 1fr; }
    .features { margin-top: 32px; }
}
