/* alamalriyada.com — Authoritative, Classical, Reserved */
:root {
  --primary: #0F4C3A;
  --secondary: #1B7050;
  --accent: #C8A04A;
  --tint: #E2D5A8;
  --light: #F4EFE0;
  --ink: #0E2620;
  --muted: #5D6D63;
  --bg: #FCFAF3;
  --bg2: #F4EFE0;
  --line: #DBD2B8;
  --radius: 4px;
  --hero-overlay: rgba(0,0,0,0.55);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .h-font {
  font-family: 'Playfair Display', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 14px; }
h3 { font-size: 1.25rem; margin-bottom: 8px; }
h4 { font-size: 1.05rem; margin-bottom: 6px; }
p { margin-bottom: 14px; }
a { color: var(--primary); text-decoration: none; transition: color .18s; }
a:hover { color: var(--secondary); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }
ul { padding-left: 20px; }
small { font-size: 0.85em; color: var(--muted); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg2); }
.section.dense { padding: 56px 0; }
.section-eyebrow { display: inline-block; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary); margin-bottom: 12px; font-weight: 500; }
.section-title { margin-bottom: 16px; }
.section-lead { color: var(--muted); max-width: 680px; margin-bottom: 32px; font-size: 1.05rem; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Playfair Display', sans-serif; font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.brand-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff; border-radius: var(--radius);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em;
}
.nav-links { display: flex; gap: 22px; list-style: none; padding: 0; align-items: center; }
.nav-links a { color: var(--ink); font-size: .95rem; font-weight: 500; padding: 6px 0; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; cursor: pointer; color: var(--ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-family: inherit; font-weight: 500; font-size: .97rem;
  border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, opacity .15s, box-shadow .18s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
}
.btn-primary:hover { transform: scale(1.02); color: #fff; box-shadow: 0 6px 22px rgba(0,0,0,0.10); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* hero */
.hero { position: relative; padding: 84px 0 70px; overflow: hidden; }
.hero h1 { margin-bottom: 18px; }
.hero p.subtitle { font-size: 1.15rem; color: var(--muted); margin-bottom: 30px; max-width: 580px; }
.hero-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero-row .art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: calc(var(--radius) * 2); }

.hero-banner { position: relative; padding: 100px 0 80px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; overflow: hidden; }
.hero-banner::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: 1; }
.hero-banner > * { position: relative; z-index: 2; }
.hero-banner h1, .hero-banner p { color: #fff; }
.hero-banner .breadcrumb a { color: rgba(255,255,255,.85); }

.hero-img { position: relative; padding: 100px 0; min-height: 480px; color: #fff; background-size: cover; background-position: center; }
.hero-img::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: 1; }
.hero-img > * { position: relative; z-index: 2; }
.hero-img h1, .hero-img p { color: #fff; }
.hero-img .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.hero-img .cta-row .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero-img .cta-row .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.hero-compact { padding: 64px 0 40px; background: var(--bg2); border-bottom: 1px solid var(--line); }
.hero-compact h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.hero-minimal { padding: 88px 0 40px; }
.hero-minimal .animated { font-family: 'Playfair Display', sans-serif; font-weight: 700; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; }
.hero-minimal .animated span { display: inline-block; opacity: 0; transform: translateY(8px); animation: fadeup .55s forwards; }
.hero-minimal .animated span:nth-child(2) { animation-delay: .12s; }
.hero-minimal .animated span:nth-child(3) { animation-delay: .22s; }
.hero-minimal .animated span:nth-child(4) { animation-delay: .32s; }
.hero-minimal .animated span:nth-child(5) { animation-delay: .42s; }
@keyframes fadeup { to { opacity: 1; transform: translateY(0); } }

.hero-fullwidth { padding: 110px 0 90px; background: linear-gradient(135deg, var(--bg2), var(--light)); position: relative; overflow: hidden; }
.hero-fullwidth .deco { position: absolute; right: -100px; top: 20%; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(closest-side, var(--accent) 0%, transparent 65%); opacity: .14; pointer-events: none; }

/* breadcrumb */
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { margin: 0 6px; }

/* feature cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s, box-shadow .18s;
}
.feature-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.05); }
.feature-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: var(--light); color: var(--primary); border-radius: 8px; margin-bottom: 14px; font-weight: 700; font-size: 1.1rem; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); margin-bottom: 0; }

/* stats */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 28px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.stat .num { font-family: 'Playfair Display', sans-serif; font-size: 2.6rem; font-weight: 700; color: var(--primary); line-height: 1; }
.stat .lbl { display: block; margin-top: 8px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.stat .sub { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 4px; }

/* timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 14px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; margin-bottom: 32px; padding-left: 12px; }
.timeline-item::before { content: ""; position: absolute; left: -22px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg); }
.timeline-item h3 { font-size: 1.15rem; }
.timeline-item p { color: var(--muted); }

/* sidebar */
.sidebar-row { display: grid; grid-template-columns: 280px 1fr; gap: 40px; }
.sidebar-row aside { position: sticky; top: 96px; align-self: start; padding: 22px; background: var(--bg2); border-radius: var(--radius); border: 1px solid var(--line); }
.sidebar-row aside ul { list-style: none; padding: 0; }
.sidebar-row aside li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.sidebar-row aside li:last-child { border: 0; }

/* charts (data viz placeholders rendered with CSS) */
.chart-wrap { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.bar-chart { display: flex; gap: 16px; align-items: flex-end; height: 220px; padding: 12px 0; }
.bar { flex: 1; background: linear-gradient(180deg, var(--primary), var(--secondary)); border-radius: 6px 6px 0 0; position: relative; min-height: 12px; display: flex; flex-direction: column; align-items: center; }
.bar .v { position: absolute; top: -22px; font-size: .78rem; font-weight: 600; color: var(--ink); }
.bar .l { position: absolute; bottom: -22px; font-size: .78rem; color: var(--muted); }
.donut-row { display: grid; grid-template-columns: 220px 1fr; gap: 30px; align-items: center; }
.donut { width: 220px; height: 220px; border-radius: 50%; background: conic-gradient(var(--primary) 0% 38%, var(--secondary) 38% 64%, var(--accent) 64% 84%, var(--tint) 84% 100%); display: flex; align-items: center; justify-content: center; position: relative; }
.donut::after { content: ""; width: 130px; height: 130px; border-radius: 50%; background: var(--bg); }
.donut-legend { list-style: none; padding: 0; }
.donut-legend li { padding: 6px 0; display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.donut-legend .swatch { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }

/* badges */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { padding: 9px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink); }
.badge.primary { background: var(--light); color: var(--primary); border-color: var(--tint); }

/* before/after */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.ba-card { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); }
.ba-card.before { background: var(--bg2); }
.ba-card.after { background: var(--light); border-color: var(--tint); }
.ba-card h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: .12em; color: var(--secondary); margin-bottom: 10px; }
.ba-card ul { padding-left: 18px; }
.ba-card li { margin-bottom: 6px; color: var(--ink); }

/* gallery masonry (CSS columns) */
.masonry { column-count: 3; column-gap: 16px; }
.masonry img { margin-bottom: 16px; break-inside: avoid; }

/* tabs */
.tabs { }
.tabs-head { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tabs-head button { padding: 12px 20px; background: transparent; border: 0; cursor: pointer; font-family: inherit; font-size: .95rem; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; }
.tabs-head button.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* faq accordion */
.faq { }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { color: var(--muted); padding: 0 0 18px; }

/* pricing — themed as "уровни доступа" since prices are forbidden */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tier { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); display: flex; flex-direction: column; }
.tier.featured { border-color: var(--primary); border-width: 2px; box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.tier h3 { margin-bottom: 6px; }
.tier .desc { color: var(--muted); margin-bottom: 18px; min-height: 48px; }
.tier ul { list-style: none; padding: 0; flex: 1; margin-bottom: 18px; }
.tier li { padding: 7px 0; padding-left: 22px; position: relative; color: var(--ink); }
.tier li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .cal-h { text-align: center; font-weight: 600; padding: 8px; color: var(--secondary); font-size: .85rem; }
.cal .cal-d { background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 14px 8px; min-height: 70px; font-size: .85rem; }
.cal .cal-d.has { background: var(--light); border-color: var(--tint); }
.cal .cal-d strong { display: block; font-size: .95rem; color: var(--primary); margin-bottom: 4px; }

/* testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.testimonial blockquote { margin: 0 0 14px; font-size: 1.04rem; color: var(--ink); }
.testimonial cite { font-style: normal; font-weight: 600; }
.testimonial cite span { color: var(--muted); font-weight: 400; margin-left: 8px; }

/* portfolio / projects */
.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio article { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.portfolio article img { aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.portfolio article .meta { padding: 16px 18px; }
.portfolio article h3 { font-size: 1.05rem; }
.portfolio article p { color: var(--muted); margin-bottom: 0; font-size: .92rem; }

/* comparison table */
.cmp-table { width: 100%; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.cmp-table thead th { background: var(--bg2); font-weight: 600; }
.cmp-table tr:hover { background: var(--bg2); }

/* newsletter */
.newsletter { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 52px; border-radius: calc(var(--radius) * 2); text-align: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 22px; }
.newsletter form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: var(--radius); border: 0; font-size: .96rem; font-family: inherit; }
.newsletter button { background: #fff; color: var(--primary); padding: 14px 24px; border: 0; border-radius: var(--radius); font-weight: 600; cursor: pointer; font-family: inherit; font-size: .96rem; }

/* download CTA */
.download-cta { display: flex; align-items: center; gap: 24px; padding: 26px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg2); }
.download-cta .icon { width: 56px; height: 56px; border-radius: 12px; background: var(--light); color: var(--primary); display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.download-cta .body { flex: 1; }

/* social proof */
.social-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: center; }
.social-row .badge { text-align: center; padding: 18px; }

/* journey map */
.journey { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; }
.journey-step { text-align: center; padding: 22px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.journey-step .num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; align-items: center; justify-content: center; font-weight: 600; margin-bottom: 10px; }
.journey-step h4 { font-size: .95rem; margin-bottom: 4px; }
.journey-step p { font-size: .85rem; color: var(--muted); margin: 0; }

/* contact / forms */
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .92rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: .96rem; background: var(--bg);
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-error { color: #B00020; font-size: .85rem; margin-top: 4px; display: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 360px; border: 0; }

/* article body */
.article-body { max-width: 760px; margin: 0 auto; padding: 0 24px; font-size: 1.05rem; }
.article-body p.lead { font-size: 1.18rem; color: var(--ink); margin-bottom: 22px; font-weight: 400; }
.article-body h2 { margin: 36px 0 14px; }
.article-body p { margin-bottom: 16px; line-height: 1.75; }
.article-meta { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: .92rem; margin: 12px 0 28px; }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; padding: 18px 0; }
.article-tags .badge { font-size: .82rem; padding: 6px 12px; }
.share-row { display: flex; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-row a { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-size: .9rem; }
.share-row a:hover { background: var(--bg2); border-color: var(--primary); color: var(--primary); }

/* article hero (with featured image) */
.article-hero { position: relative; padding: 0; }
.article-hero img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 0; }
.article-hero .container { padding-top: 38px; padding-bottom: 26px; }
.article-hero h1 { margin-bottom: 12px; }

/* related articles */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-grid article img { aspect-ratio: 16/10; object-fit: cover; }
.related-grid article { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.related-grid article .meta { padding: 16px 18px 18px; }
.related-grid h3 { font-size: 1.0rem; margin-bottom: 6px; }

/* terms / privacy / cookie */
.legal { max-width: 880px; margin: 0 auto; padding: 0 24px; }
.legal h2 { margin: 36px 0 12px; font-size: 1.4rem; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal ol { counter-reset: item; padding: 0; list-style: none; }
.legal ol > li { counter-increment: item; margin-bottom: 22px; padding-left: 44px; position: relative; }
.legal ol > li::before { content: counter(item, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: 'Playfair Display', sans-serif; font-weight: 700; color: var(--primary); width: 36px; }

/* quick navigation grid (in-page section, not a footer) */
.qnav-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.qnav-card {
  display: block; position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 22px 20px; color: var(--ink);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.qnav-card:hover { transform: translateY(-2px); border-color: var(--primary); box-shadow: 0 12px 26px rgba(0,0,0,.05); color: var(--ink); }
.qnav-card .qnav-num { display: inline-block; font-family: 'Playfair Display', sans-serif; font-weight: 700; font-size: .82rem; letter-spacing: .14em; color: var(--secondary); margin-bottom: 12px; }
.qnav-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.qnav-card p { font-size: .92rem; color: var(--muted); margin-bottom: 0; }
.qnav-card .qnav-arrow { position: absolute; top: 22px; right: 22px; color: var(--primary); font-size: 1.05rem; opacity: .6; transition: transform .18s, opacity .18s; }
.qnav-card:hover .qnav-arrow { transform: translateX(4px); opacity: 1; }
@media (max-width: 980px) { .qnav-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .qnav-grid { grid-template-columns: 1fr; } }

/* mega footer / footer */
.site-footer { padding: 64px 0 24px; background: var(--bg2); border-top: 1px solid var(--line); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 32px; }
.footer-grid h4 { font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .87rem; }

/* cookie banner */
.cookie {
  position: fixed; bottom: 18px; left: 18px; right: 18px;
  max-width: 540px; margin: 0 auto;
  background: var(--ink); color: #fff;
  padding: 18px 22px; border-radius: var(--radius);
  display: none; z-index: 50;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}
.cookie.show { display: block; }
.cookie p { font-size: .92rem; margin-bottom: 12px; color: #fff; }
.cookie a { color: var(--accent); }
.cookie .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie button { padding: 9px 16px; border: 0; border-radius: var(--radius); font-family: inherit; font-weight: 500; cursor: pointer; }
.cookie .btn-accept { background: var(--accent); color: var(--ink); }
.cookie .btn-decline { background: transparent; color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.3); }

/* floating action buttons (FAB column) */
.fab-col { position: fixed; right: 18px; bottom: 80px; display: flex; flex-direction: column; gap: 10px; z-index: 25; }
.fab { width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.18); border: 0; cursor: pointer; font-size: 1.1rem; }
.fab:hover { background: var(--secondary); }

/* live chat stub */
.chat-stub { background: var(--bg); border: 1px solid var(--line); border-radius: calc(var(--radius) * 2); padding: 26px; max-width: 460px; box-shadow: 0 14px 30px rgba(0,0,0,.06); }
.chat-stub .header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.chat-stub .header .dot { width: 9px; height: 9px; background: #1FB55B; border-radius: 50%; }
.chat-stub .messages { display: flex; flex-direction: column; gap: 8px; }
.chat-stub .msg { padding: 10px 14px; border-radius: 14px; max-width: 80%; font-size: .9rem; }
.chat-stub .msg.them { background: var(--bg2); align-self: flex-start; border-top-left-radius: 4px; }
.chat-stub .msg.me { background: var(--primary); color: #fff; align-self: flex-end; border-top-right-radius: 4px; }

/* team grid */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card img { aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; max-width: 180px; margin: 0 auto 14px; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: .92rem; margin-bottom: 0; }

/* utility */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.muted { color: var(--muted); }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 980px) {
  .hero-row, .grid-2 { grid-template-columns: 1fr; }
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .related-grid, .portfolio { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-row { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry { column-count: 2; }
  .donut-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 16px 24px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .social-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .feature-grid, .feature-grid.cols-4 { grid-template-columns: 1fr; }
  .stats-row, .related-grid, .portfolio, .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .masonry { column-count: 1; }
  .section { padding: 56px 0; }
}


.btn-primary { letter-spacing: 0.06em; text-transform: uppercase; font-size: .85rem; }
.feature-card { border-left-width: 3px; }

