/*
Theme Name: Activated Carbon India
Theme URI: https://activatedcarbonindia.com/
Author: First Molecule
Author URI: https://firstmolecule.com/
Description: India site for First Molecule activated carbon. Creates its own pages, menus, quote form and enquiry inbox when activated. Contact details live under Settings > India Site.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: fm-india
*/

/* ---------- Tokens ---------- */
:root {
  --red: #C12228;
  --red-dark: #9E1B20;
  --ink: #1E1E1E;
  --black: #000;
  --dark: #0D0D0D;
  --dark-2: #171717;
  --line-dark: #2B2B2B;
  --paper: #FFFFFF;
  --paper-2: #F5F4F2;
  --line: #E4E2DE;
  --muted: #5C5C5C;
  --muted-dark: #B5B5B5;
  --wa: #25D366;
  --header-h: 76px;
  --radius: 14px;
  --wrap: 1200px;
  --font-display: "Do Hyeon", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 17px; } }
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
  color: inherit;
}
h1 { font-size: clamp(34px, 5.4vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
h4 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: 0.35em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1280px) { .wrap { padding: 0 24px; } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 300;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { height: 44px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 0.02em; }
.brand-text small { font-size: 12px; color: var(--muted-dark); letter-spacing: 0.04em; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.menu { display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; margin: 0; }
.menu a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: #fff; text-decoration: none; font-size: 15px; font-weight: 500;
}
.menu a:hover, .menu .current-menu-item > a, .menu .current-menu-ancestor > a { color: #fff; background: #1f1f1f; }
.menu .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--red); }
.menu .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 270px;
  background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: 12px;
  padding: 8px; box-shadow: 0 16px 40px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu .sub-menu a { font-size: 14px; font-weight: 400; }
.menu .menu-item-has-children > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; color: #fff; border: 1px solid #3a3a3a; border-radius: 10px;
  padding: 9px 14px; font: 500 15px var(--font-body); cursor: pointer;
  align-items: center; gap: 10px;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s, background .2s;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  /* backdrop-filter would make the header the containing block for the fixed menu panel */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--black); }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 16px;
    background: var(--black); padding: 16px 20px 32px; overflow-y: auto;
    display: none;
  }
  .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
  .nav-open .site-nav { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line-dark); }
  .menu a { padding: 14px 4px; font-size: 17px; border-radius: 0; }
  .menu a:hover { background: transparent; color: var(--red); }
  .menu .current-menu-item > a { box-shadow: none; color: var(--red); }
  .menu .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 10px 14px; min-width: 0;
  }
  .menu .sub-menu a { padding: 9px 4px; font-size: 15px; color: var(--muted-dark); }
  .menu .menu-item-has-children > a::after { display: none; }
  .header-cta { text-align: center; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .header-inner { gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .nav-toggle { padding: 8px 10px; gap: 8px; }
  .brand-text small { display: none; }
  .brand-text strong { font-size: 19px; }
  .brand img { height: 38px; }
}

/* ---------- Buttons ---------- */
.btn, .wp-block-button__link, .fmi-form button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid var(--red);
  background: var(--red); color: #fff; text-decoration: none;
  font: 600 16px/1.2 var(--font-body); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover, .wp-block-button__link:hover, .fmi-form button:hover {
  background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-1px);
}
.btn-outline, .is-style-outline > .wp-block-button__link {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover, .is-style-outline > .wp-block-button__link:hover {
  background: var(--ink); border-color: var(--ink); color: #fff;
}
.is-dark .is-style-outline > .wp-block-button__link, .fmi-hero .is-style-outline > .wp-block-button__link,
.is-dark .btn-outline, .page-hero .btn-outline {
  color: #fff; border-color: #fff;
}
.is-dark .is-style-outline > .wp-block-button__link:hover, .fmi-hero .is-style-outline > .wp-block-button__link:hover {
  background: #fff; color: var(--ink);
}
.btn-wa { background: var(--wa); border-color: var(--wa); color: #07361b; }
.btn-wa:hover { background: #1fb959; border-color: #1fb959; color: #07361b; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.wp-block-button { margin: 0; }

/* ---------- Sections (built from Group blocks) ---------- */
.fmi-section { padding: 72px 20px; }
@media (min-width: 768px) { .fmi-section { padding: 96px 24px; } }
.fmi-section.is-light { background: var(--paper-2); }
.fmi-section.is-dark { background: var(--dark); color: #fff; }
.fmi-section.is-dark a:not(.wp-block-button__link):not(.btn) { color: #fff; }
.fmi-section.is-dark a:not(.wp-block-button__link):not(.btn):hover { color: #ff8a8e; }
.fmi-section.is-tight { padding-top: 48px; padding-bottom: 48px; }
.fmi-wrap { max-width: var(--wrap); margin: 0 auto; }
.fmi-wrap > :last-child { margin-bottom: 0; }
.fmi-narrow { max-width: 820px; }
.fmi-eyebrow {
  display: inline-block; margin-bottom: 14px;
  color: var(--red); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.is-dark .fmi-eyebrow, .fmi-hero .fmi-eyebrow { color: #ff6b70; }
.fmi-lead { font-size: 1.12em; color: var(--muted); max-width: 820px; }
.is-dark .fmi-lead { color: var(--muted-dark); }
.fmi-section h2 { margin-bottom: 0.4em; }
.fmi-section h2 + .fmi-lead { margin-bottom: 40px; }

/* Grids and cards */
.fmi-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 32px 0 0; }
.fmi-grid.is-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.fmi-grid > * { margin: 0; }
.fmi-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; position: relative;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.is-light .fmi-card { background: var(--paper); }
.fmi-card:hover { border-color: #cfcac3; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.fmi-card h3 { font-size: 23px; margin-bottom: 10px; }
.fmi-card h3 a { color: var(--ink); text-decoration: none; }
.fmi-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.fmi-card h3 a:hover { color: var(--red); }
.fmi-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.fmi-card p + p { margin-top: 12px; }
.fmi-card .fmi-more { color: var(--red); font-weight: 600; font-size: 15px; }
.fmi-card.is-linked { padding-bottom: 54px; }
.fmi-card.is-linked::after {
  content: "View details  \2192"; position: absolute; left: 24px; bottom: 22px;
  color: var(--red); font-weight: 600; font-size: 14.5px;
}
.is-dark .fmi-card { background: var(--dark-2); border-color: var(--line-dark); }
.is-dark .fmi-card h3, .is-dark .fmi-card h3 a { color: #fff; }
.is-dark .fmi-card p { color: var(--muted-dark); }
.fmi-card.is-accent { border-top: 3px solid var(--red); }

/* Stats */
.fmi-stats { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 40px 0 0; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.fmi-stat { background: var(--dark); padding: 28px 24px; margin: 0; }
.fmi-stat h3 { color: var(--red); font-size: 48px; margin: 0 0 6px; }
.is-dark .fmi-stat h3 { color: #ff4d53; }
.fmi-stat p { margin: 0; color: var(--muted-dark); font-size: 15px; }

/* Steps */
.fmi-steps { counter-reset: step; }
.fmi-steps > .fmi-card { padding-top: 64px; }
.fmi-steps > .fmi-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: 22px; left: 24px;
  font: 400 30px/1 var(--font-display); color: var(--red);
}

/* Lists */
.fmi-checks { list-style: none; padding: 0; }
.fmi-checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.fmi-checks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath d='M8.3 13.6 4.7 10l-1.4 1.4 5 5 9-9-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}
.fmi-checks.is-cols { columns: 2 280px; column-gap: 40px; }
.fmi-checks.is-cols li { break-inside: avoid; }
.fmi-tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fmi-tags li { margin: 0; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; }
.is-light .fmi-tags li { background: var(--paper); }

/* Two-column split */
.fmi-split { display: grid; gap: 40px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 900px) { .fmi-split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.fmi-split > * { margin: 0; }
.fmi-split > * > :last-child { margin-bottom: 0; }

/* Industry rows */
.fmi-row { display: grid; gap: 12px 48px; padding: 36px 0; border-top: 1px solid var(--line); margin: 0; }
.fmi-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .fmi-row { grid-template-columns: 5fr 7fr; } }
.fmi-row > * { margin: 0; }
.fmi-row h2 { font-size: clamp(26px, 3vw, 34px); }
.fmi-row .fmi-uses { margin-top: 4px; }

/* ---------- Hero ---------- */
.fmi-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 480px at 85% 10%, rgba(193,34,40,.38), transparent 60%),
    radial-gradient(600px 400px at 0% 100%, rgba(193,34,40,.16), transparent 60%),
    var(--black);
  padding: calc(var(--header-h) + 64px) 20px 80px;
}
.fmi-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 75%);
}
@media (min-width: 768px) { .fmi-hero { padding: calc(var(--header-h) + 110px) 24px 120px; } }
.fmi-hero .fmi-wrap { position: relative; }
.fmi-hero h1 { max-width: 900px; margin-bottom: 20px; }
.fmi-hero .fmi-lead { color: #d6d6d6; max-width: 720px; font-size: 1.15em; }
.fmi-hero-points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: #d6d6d6; font-size: 15px; }
.fmi-hero-points li { margin: 0; padding-left: 20px; position: relative; }
.fmi-hero-points li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 2px; background: var(--red); }
.fmi-hero .fmi-wa-inline { margin-top: 14px; }

/* ---------- Inner page header ---------- */
.page-hero {
  background:
    radial-gradient(700px 360px at 90% 0%, rgba(193,34,40,.32), transparent 60%),
    var(--black);
  color: #fff;
  padding: calc(var(--header-h) + 48px) 20px 56px;
}
@media (min-width: 768px) { .page-hero { padding: calc(var(--header-h) + 72px) 24px 72px; } }
.page-hero h1 { margin-bottom: 14px; max-width: 900px; }
.page-hero .page-lead { color: #d0d0d0; font-size: 1.12em; max-width: 780px; margin: 0; }
.breadcrumbs { font-size: 14px; color: var(--muted-dark); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted-dark); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* Free content added by editors outside sections */
.page-content > :not(.fmi-section):not(.fmi-hero) { max-width: 820px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }
.page-content > :not(.fmi-section):not(.fmi-hero):first-child { margin-top: 64px; }
.page-content > :not(.fmi-section):not(.fmi-hero):last-child { margin-bottom: 64px; }

/* ---------- FAQ (Details blocks) ---------- */
.wp-block-details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper);
  padding: 0; margin: 0 0 12px;
}
.wp-block-details summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 600; font-size: 17px;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2);
  display: grid; place-items: center; font-weight: 400; font-size: 20px; color: var(--red);
}
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { padding: 0 22px; color: var(--muted); }
.wp-block-details > :last-child { padding-bottom: 20px; margin-bottom: 0; }

/* ---------- Contact card, form, map ---------- */
.fmi-contact-card { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.fmi-contact-card li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin: 0; }
.fmi-contact-card .ico {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(193,34,40,.1); color: var(--red);
  display: grid; place-items: center;
}
.fmi-contact-card .ico svg { width: 20px; height: 20px; }
.fmi-contact-card .lbl { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.fmi-contact-card a { color: var(--ink); font-weight: 600; text-decoration: none; }
.fmi-contact-card a:hover { color: var(--red); }

.fmi-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 28px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.06);
}
@media (min-width: 768px) { .fmi-form { padding: 36px; } }
.fmi-form h3 { margin-bottom: 6px; }
.fmi-form .fmi-form-note { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.fmi-fields { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fmi-fields { grid-template-columns: 1fr 1fr; } .fmi-field.is-wide { grid-column: 1 / -1; } }
.fmi-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.fmi-field label .req { color: var(--red); }
.fmi-field input, .fmi-field select, .fmi-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfccc7; border-radius: 10px;
  font: 16px var(--font-body); color: var(--ink); background: #fff;
}
.fmi-field textarea { min-height: 120px; resize: vertical; }
.fmi-field input:focus, .fmi-field select:focus, .fmi-field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.fmi-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.fmi-form .fmi-submit { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.fmi-form .fmi-privacy { font-size: 13px; color: var(--muted); margin: 0; }
.fmi-notice { border-radius: 12px; padding: 16px 18px; margin-bottom: 22px; font-weight: 500; }
.fmi-notice.is-ok { background: #e9f7ee; color: #14532d; border: 1px solid #b7e4c7; }
.fmi-notice.is-err { background: #fdecec; color: #7f1d1d; border: 1px solid #f5c2c2; }

.fmi-map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); display: block; }

/* ---------- CTA band + footer ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, #8f161b 100%);
  color: #fff; padding: 56px 20px;
}
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: #ffe1e2; max-width: 620px; }
.cta-band .btn { background: #fff; border-color: #fff; color: var(--red); }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--black); color: var(--muted-dark); font-size: 15px; padding: 64px 0 28px; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer h2 { font-size: 20px; color: #fff; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 340px; }
.footer-bottom {
  border-top: 1px solid var(--line-dark); margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: 13.5px;
}

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 250;
  width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.28);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- 404 / generic ---------- */
.plain-content { max-width: 820px; margin: 0 auto; padding: 64px 20px; }
.post-list { list-style: none; padding: 0; }
.post-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
