/*
Theme Name: Red.Ten Theme
Theme URI: https://red.com.vn
Author: dev.com.vn
Author URI: https://dev.com.vn
Description: Theme chuyên dụng cho Ten.com.vn — hệ sinh thái thương hiệu toàn diện từ đặt tên, chiến lược, nhận diện đến vận hành.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: red-branding
Tags: branding, naming, identity, portfolio, acf, elementor
*/

/* ═══ CSS VARIABLES - Sync với red_branding_v4 ═══ */
:root {
  --red: #C8001A;
  --red-dark: #9E0015;
  --gold: #B8912A;
  --gold-light: rgba(184,145,42,.15);
  --gold-line: rgba(184,145,42,.22);
  --white: #FFFFFF;
  --off-white: #FAF7F4;
  --ink: #1A0A00;
  --ink2: rgba(26,10,0,.78);
  --ink3: rgba(26,10,0,.62);
  --ink4: rgba(26,10,0,.42);
  --line: rgba(184,145,42,.18);

  /* Customizer color overrides */
  --primary: var(--red);
  --primary-dark: var(--red-dark);
  --accent: var(--gold);
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  background: var(--off-white);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ═══ TYPOGRAPHY ═══ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.section-eyebrow {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';width: 24px; height: 1px; background: var(--red); flex-shrink: 0;
}
.section-eyebrow span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10.5px; letter-spacing: .26em;
  color: var(--red); text-transform: uppercase;
}

/* ═══ LAYOUT ═══ */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 1100px) { .container { padding: 0 28px; } }
@media (max-width: 700px) { .container { padding: 0 18px; } }

/* ═══ NAVIGATION ═══ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: var(--primary, #C8001A);
  border-bottom: 2px solid var(--primary-dark, #9E0015);
  transition: all .3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
}
.nav-inner {
  width: min(1250px, calc(100% - 48px)); margin: 0 auto; padding: 0;
  height: 58px; display: flex; align-items: center; justify-content: space-between;
}
@media (max-width: 1300px) { .nav-inner { width: auto; margin: 0; padding: 0 24px; } }
.site-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px; font-weight: 900; letter-spacing: .1em; color: var(--white);
}
.site-logo .logo-dot { color: var(--gold); }
.site-logo img { height: 36px; width: auto; }
.nav-actions { display:flex; align-items:center; gap:12px; }

/* Desktop menu */
.nav-menu {
  display: flex; gap: 28px; align-items: center;
}
.nav-menu > li { position: relative; }
.nav-menu li { position: relative; }
.nav-menu > li > a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: .22em;
  color: rgba(255,255,255,.72); text-transform: uppercase; transition: .2s;
  padding: 8px 0; display: block;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--gold); }

/* Dropdown level 2 */
.nav-menu .sub-menu {
  position: absolute; top: calc(100% + 2px); left: 0;
  background: var(--white);
  border: 1px solid var(--line); border-top: 2px solid var(--red);
  min-width: 220px; z-index: 999;
  opacity: 0; pointer-events: none; transform: translateY(-6px);
  transition: opacity .22s, transform .22s;
  box-shadow: 0 12px 40px rgba(26,10,0,.12);
}
.nav-menu > li:hover > .sub-menu,
.nav-menu > li:focus-within > .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-menu .sub-menu li a {
  display: block; padding: 10px 18px;
  font-size: 12.5px; color: var(--ink2);
  border-bottom: 1px solid rgba(184,145,42,.1);
  transition: .2s; font-family: 'Inter', sans-serif;
}
.nav-menu .sub-menu li a:hover { color: var(--red); background: var(--off-white); }

/* Dropdown level 3 */
.nav-menu .sub-menu::before {
  content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px;
}
.nav-menu .sub-menu .sub-menu {
  top: -1px; left: calc(100% + 2px); border-top: 2px solid var(--gold);
}
.nav-menu .sub-menu li > .sub-menu::before {
  top: 0; bottom: 0; left: -12px; right: auto; width: 12px; height: auto;
}
.nav-menu .sub-menu li:hover > .sub-menu,
.nav-menu .sub-menu li:focus-within > .sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }

.nav-cta {
  padding: 8px 20px;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  transition: .3s; background: transparent;
}
.nav-cta:hover { background: var(--gold); color: var(--red) !important; }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); transition: .3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu drawer */
.mobile-menu {
  display: none; position: fixed;
  top: 58px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 850;
  overflow-y: auto; padding: 24px 18px 100px;
  transform: translateX(-100%); transition: transform .3s ease;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .mobile-nav-list > .menu-item { border-bottom: 1px solid var(--line); }
.mobile-menu .mobile-menu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-menu .mobile-menu-link {
  flex: 1; min-width: 0; display: block;
  padding: 14px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--ink);
}
.mobile-menu .sub-menu { display: none; padding: 0 0 10px 16px; }
.mobile-menu .sub-menu.open { display: block; }
.mobile-menu .sub-menu .mobile-menu-link {
  font-size: 14px; font-weight: 500; text-transform: none;
  letter-spacing: 0; color: var(--ink3); padding: 10px 0;
}
.mobile-submenu-toggle {
  flex-shrink: 0; width: 34px; height: 34px; border: 1px solid var(--line);
  background: var(--off-white); color: var(--red); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
}
.mobile-submenu-toggle.active { background: var(--red); color: var(--white); border-color: var(--red); }

/* Bottom mobile nav */
.mobile-bottom-nav {
  display: none; position: fixed;
  bottom: 0; left: 0; right: 0; z-index: 800;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(26,10,0,.08);
}
.mobile-bottom-nav ul {
  display: flex; justify-content: space-around; padding: 8px 0 env(safe-area-inset-bottom, 8px);
}
.mobile-bottom-nav ul li a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px 12px; font-family: 'Barlow Condensed', sans-serif;
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3);
}
.mobile-bottom-nav ul li a .mob-icon { font-size: 18px; }
.mobile-bottom-nav ul li.active a { color: var(--red); }

/* ═══ HERO STRIP ═══ */
.hero-strip-wrap {
  max-width: 1250px; margin: 0 auto;
  border-top: 1px solid var(--line);
  position: relative; z-index: 2;
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.strip-item {
  padding: 16px 24px; display: flex; align-items: center; gap: 10px;
  border-right: 1px solid var(--line); background: var(--white);
  transition: .22s; cursor: default;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { background: var(--off-white); }
.strip-ico {
  width: 32px; height: 32px; background: rgba(200,0,26,.07);
  border: 1px solid rgba(200,0,26,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-family: "Barlow Condensed", sans-serif;
  font-size: 12.5px; font-weight: 800; color: var(--red);
}
.strip-title {
  font-family: "Barlow Condensed", sans-serif; font-size: 13px;
  font-weight: 700; color: var(--ink); margin-bottom: 1px;
}
.strip-sub {
  font-family: "Barlow Condensed", sans-serif; font-size: 9.5px;
  letter-spacing: .1em; color: var(--ink3); text-transform: uppercase;
}
@media (max-width: 900px) { .hero-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .hero-strip { grid-template-columns: 1fr 1fr; } .strip-item { padding: 12px 14px; } }

/* ═══ HERO ═══ */
.site-hero {
  padding-top: 58px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,145,42,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,145,42,.07) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .6;
}
.hero-inner {
  max-width: 1250px; margin: 0 auto; padding: 64px 48px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  position: relative; z-index: 2;
}
.hero-left { display: flex; flex-direction: column; justify-content: center; padding-bottom: 72px; }
.hero-tagline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900; font-size: clamp(36px,4vw,60px);
  line-height: 1; text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 22px; color: var(--red);
}
.hero-desc {
  font-size: 13.5px; line-height: 1.88; color: var(--ink3);
  max-width: 400px; margin-bottom: 32px;
  border-left: 2px solid var(--red); padding-left: 14px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px;
  border: 1px solid var(--line); background: var(--off-white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 10.5px;
  letter-spacing: .1em; color: var(--ink3); text-transform: uppercase; transition: .2s;
}
.badge:hover { border-color: var(--gold); color: var(--gold); }
.badge-dot { width: 3px; height: 3px; background: var(--red); border-radius: 50%; }

/* ═══ BUTTONS ═══ */
.btn-red {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px;
  background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  letter-spacing: .15em; font-weight: 700; text-transform: uppercase;
  transition: .3s; position: relative; overflow: hidden; cursor: pointer; border: none;
}
.btn-red::before {
  content: ''; position: absolute; inset: 0;
  background: var(--red-dark); transform: scaleX(0); transform-origin: right; transition: .3s;
}
.btn-red span { position: relative; z-index: 1; }
.btn-red:hover::before { transform: scaleX(1); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px;
  border: 1.5px solid var(--line); color: var(--ink2);
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  letter-spacing: .15em; font-weight: 700; text-transform: uppercase; transition: .3s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 26px;
  background: var(--gold); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  letter-spacing: .15em; font-weight: 700; text-transform: uppercase; transition: .3s;
}
.btn-gold:hover { background: #9a7a22; }

/* ═══ MARQUEE ═══ */
.marquee-wrap { overflow: hidden; border-bottom: 1px solid var(--line); }
.marquee { overflow: hidden; padding: 10px 0; background: var(--primary, #C8001A); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mi {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11.5px;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 0 22px; white-space: nowrap; color: rgba(255,255,255,.6);
}
.mi.w { color: var(--white); }
.mi.y { color: rgba(255,220,80,.9); }
.mi-sep { color: rgba(255,255,255,.28); padding: 0 4px; }

/* ═══ SECTION STYLES ═══ */
section { padding: 80px 0; }
.section-head { max-width: 1250px; margin: 0 auto; padding: 0 48px 48px; }
.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900; text-transform: uppercase; color: var(--ink);
  line-height: 1;
}
.section-title em { color: var(--gold); font-style: italic; }
.section-title .red { color: var(--red); }
.section-desc { font-size: 13px; line-height: 1.82; color: var(--ink3); max-width: 540px; margin-top: 14px; }

/* ═══ CARD GRID ═══ */
/* Default 3 cols — trang archive/danh mục */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.listing-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1100px) { .listing-grid, .listing-grid-4 { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 768px)  { .listing-grid, .listing-grid-4 { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 480px)  { .listing-grid, .listing-grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; } }

/* ═══ POST CARD ═══ */
.post-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(26,10,0,.06);
  display: flex; flex-direction: column;
  transition: box-shadow .28s, transform .28s;
  position: relative; overflow: hidden;
}
.post-card:hover {
  box-shadow: 0 8px 40px rgba(26,10,0,.14);
  transform: translateY(-3px);
}
.post-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}
.post-card-thumb {
  position: relative; overflow: hidden; aspect-ratio: 16/10;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }

/* Avatar fallback 2 ký tự */
.post-card-avatar {
  width: 100%; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}
.post-card-avatar span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 6vw, 56px); font-weight: 900;
  color: rgba(255,255,255,.85); letter-spacing: .04em;
  text-transform: uppercase;
}

.post-card-type {
  position: absolute; top: 10px; left: 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  padding: 4px 10px; background: var(--red); color: var(--white);
}
.post-card-body { padding: 18px 18px 14px; flex: 1; display: flex; flex-direction: column; }
.post-card-cat {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .2em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 6px; display: flex; align-items: center; gap: 5px;
}
.post-card-cat::before { content: ''; width: 8px; height: 1px; background: var(--gold); }
.post-card-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 800;
  text-transform: uppercase; color: var(--ink); margin-bottom: 8px; line-height: 1.15;
}
.post-card-excerpt { font-size: 12px; color: var(--ink3); line-height: 1.7; flex: 1; margin-bottom: 12px; }

.post-card-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.post-card-tag {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9px;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line); color: var(--ink3);
}
.post-card-price {
  font-family: 'Barlow Condensed', sans-serif; font-size: 15px; font-weight: 800;
  color: var(--red); margin-bottom: 12px;
}
.post-card-price span { font-size: 10px; font-weight: 400; color: var(--ink4); }
.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.post-card-link {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10.5px;
  letter-spacing: .15em; color: var(--red); text-transform: uppercase;
  font-weight: 700; transition: .2s; display: flex; align-items: center; gap: 4px;
}
.post-card-link:hover { color: var(--gold); }
.post-card-link::after { content: '→'; transition: transform .2s; }
.post-card:hover .post-card-link::after { transform: translateX(4px); }

/* ═══ SIDEBAR ═══ */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  max-width: 1250px; margin: 0 auto; padding: 48px 48px;
}
@media (max-width: 1100px) {
  .content-with-sidebar { grid-template-columns: 1fr; padding: 32px 28px; }
  .sidebar { display: none; } /* hidden, show via filter button on mobile */
}

.sidebar-widget {
  background: var(--white); border: 1px solid var(--line);
  margin-bottom: 24px; overflow: hidden;
}
.sidebar-widget-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  padding: 14px 18px; border-bottom: 1px solid var(--line);
  background: var(--off-white); display: flex; align-items: center; gap: 8px;
}
.sidebar-widget-title::before { content: ''; width: 12px; height: 1px; background: var(--gold); }
.sidebar-widget-body { padding: 16px 18px; }
.sidebar-widget input[type="text"],
.sidebar-widget input[type="search"] {
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--line); background: var(--off-white);
  font-family: 'Inter', sans-serif; font-size: 12.5px; color: var(--ink);
  outline: none; transition: .28s;
}
.sidebar-widget input:focus { border-color: var(--gold); }

/* Sidebar sticky contact */
.sidebar-contact-sticky {
  position: sticky; top: 78px;
}
.sidebar-social { display: flex; gap: 8px; margin-top: 12px; }
.sidebar-social a {
  width: 32px; height: 32px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--ink3); transition: .22s;
}
.sidebar-social a:hover { border-color: var(--gold); color: var(--gold); }

/* ═══ FILTER BAR ═══ */
.filter-bar {
  background: var(--white); border: 1px solid var(--line); border-top: none;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 18px;
}
.filter-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .2em; color: var(--ink4); text-transform: uppercase; margin-right: 4px;
}
.filter-btn {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px;
  letter-spacing: .15em; text-transform: uppercase;
  padding: 5px 12px; border: 1px solid var(--line);
  background: transparent; color: var(--ink3); cursor: pointer; transition: .2s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--red); color: var(--red); background: rgba(200,0,26,.05);
}
.filter-select {
  padding: 6px 12px; border: 1px solid var(--line); background: var(--off-white);
  font-family: 'Barlow Condensed', sans-serif; font-size: 10.5px;
  letter-spacing: .1em; color: var(--ink2); cursor: pointer; outline: none;
}

/* Mobile filter toggle */
.mobile-filter-btn {
  display: none; align-items: center; gap: 7px;
  padding: 9px 16px; background: var(--red); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.mobile-filter-btn .filter-icon { font-size: 14px; }

.mobile-filter-drawer {
  display: none; position: fixed;
  bottom: 60px; left: 0; right: 0; z-index: 700;
  background: var(--white); border-top: 2px solid var(--red);
  padding: 20px 18px 20px; max-height: 60vh; overflow-y: auto;
  box-shadow: 0 -8px 32px rgba(26,10,0,.14);
  transform: translateY(100%); transition: transform .3s;
}
.mobile-filter-drawer.open { transform: translateY(0); }

/* ═══ SEARCH BAR ═══ */
.search-section {
  background: var(--white); padding: 24px;
  border-bottom: 1px solid var(--line);
}
.search-form {
  display: flex; gap: 0; max-width: 640px; margin: 0 auto;
}
.search-form input {
  flex: 1; padding: 14px 18px;
  border: 2px solid var(--line); border-right: none;
  font-family: 'Inter', sans-serif; font-size: 13px; color: var(--ink);
  background: var(--off-white); outline: none; transition: .28s;
}
.search-form input:focus { border-color: var(--red); background: var(--white); }
.search-form button {
  padding: 14px 24px; background: var(--red); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12px;
  letter-spacing: .15em; font-weight: 700; text-transform: uppercase; transition: .28s;
}
.search-form button:hover { background: var(--red-dark); }

/* ═══ BREADCRUMB ═══ */
.breadcrumb-wrap {
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.breadcrumb {
  max-width: 1250px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.breadcrumb a, .breadcrumb span {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink3);
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--ink4); font-size: 10px; }
.breadcrumb .current { color: var(--red); }

/* ═══ SINGLE POST ═══ */
.single-hero {
  background: var(--white); padding-top: 58px;
  border-bottom: 1px solid var(--line);
}
.single-hero-inner {
  max-width: 1250px; margin: 0 auto; padding: 48px 48px 0;
}
.single-type-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 5px 12px; background: var(--red); color: var(--white); margin-bottom: 16px;
}
.single-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 4vw, 56px); font-weight: 900;
  text-transform: uppercase; line-height: 1; color: var(--ink); margin-bottom: 20px;
}
.single-title em { color: var(--red); font-style: italic; }
.single-meta {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  padding: 16px 0; border-top: 1px solid var(--line); margin-top: 20px;
}
.single-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink3);
}
.single-meta-item strong { color: var(--ink2); }
.single-meta-item a:hover { color: var(--red); }

/* Single sections */
.single-section {
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.single-section-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.single-section-title::before { content: ''; width: 12px; height: 1px; background: var(--gold); }
.single-section-title .section-icon { font-size: 14px; }

.single-content { font-size: 14px; line-height: 1.88; color: var(--ink2); }
.single-content h2, .single-content h3 {
  font-family: 'Barlow Condensed', sans-serif; margin: 24px 0 12px;
}
.single-content p { margin-bottom: 16px; }
.single-content ul { padding-left: 0; }
.single-content ul li {
  padding: 6px 0 6px 20px; position: relative; font-size: 13.5px; color: var(--ink3);
  border-bottom: 1px solid rgba(184,145,42,.1);
}
.single-content ul li::before {
  content: '→'; position: absolute; left: 0; color: var(--red); font-size: 12px;
}

/* Gallery grid */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: pointer; transition: .3s;
}
.gallery-grid img:hover { opacity: .85; }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.faq-item {
  border: 1px solid var(--line); margin-bottom: 8px; background: var(--white);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-size: 14px;
  font-weight: 700; text-transform: uppercase; color: var(--ink); transition: .2s;
}
.faq-question:hover { color: var(--red); }
.faq-toggle { font-size: 20px; color: var(--red); transition: transform .28s; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 18px 16px; font-size: 13px; color: var(--ink3); line-height: 1.76; }
.faq-item.open .faq-answer { display: block; }

/* Video embed */
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Price table */
.price-table { border: 1px solid var(--line); background: var(--white); }
.price-table-head {
  background: var(--red); color: var(--white); padding: 18px 22px;
}
.price-table-head .price-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px;
  letter-spacing: .22em; text-transform: uppercase; opacity: .72; margin-bottom: 4px;
}
.price-table-head .price-amount {
  font-family: 'Barlow Condensed', sans-serif; font-size: 32px;
  font-weight: 900; line-height: 1;
}
.price-table-head .price-unit { font-size: 12px; opacity: .7; margin-left: 4px; }
.price-table-body { padding: 16px 22px; }
.price-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; border-bottom: 1px solid rgba(184,145,42,.1); font-size: 13px;
}
.price-row:last-child { border-bottom: none; }
.price-row-label { color: var(--ink3); }
.price-row-value { font-weight: 600; color: var(--ink); }

/* ═══ RELATED POSTS ═══ */
.related-section {
  padding: 48px 0; background: var(--off-white);
  border-top: 1px solid var(--line);
}
.related-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 900;
  text-transform: uppercase; color: var(--ink); margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.related-title::before { content: ''; width: 18px; height: 2px; background: var(--red); }

/* ═══ CONTACT SECTION ═══ */
.contact-cta {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line); margin-top: 32px; overflow: hidden;
}
.contact-cta-left {
  background: var(--red); padding: 40px; position: relative; overflow: hidden;
}
.contact-cta-left::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 0,transparent 20px);
}
.contact-cta-right { background: var(--white); padding: 40px; }
@media (max-width: 768px) {
  .contact-cta { grid-template-columns: 1fr; }
}

/* ═══ FORM STYLES ═══ */
.red-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-bottom: 9px; }
.red-form .form-group { margin-bottom: 9px; }
.red-form input, .red-form textarea, .red-form select {
  width: 100%; padding: 12px 14px;
  background: var(--off-white); border: 1px solid var(--line);
  color: var(--ink); font-family: 'Inter', sans-serif; font-size: 12.5px;
  outline: none; transition: .28s;
}
.red-form input:focus, .red-form textarea:focus, .red-form select:focus {
  border-color: var(--gold); background: rgba(184,145,42,.04);
}
.red-form textarea { min-height: 120px; resize: vertical; }
.red-form input::placeholder, .red-form textarea::placeholder { color: var(--ink4); }
.red-form .form-submit {
  width: 100%; padding: 14px;
  background: var(--red); color: var(--white); border: none;
  font-family: 'Barlow Condensed', sans-serif; font-size: 12.5px;
  letter-spacing: .16em; font-weight: 800; text-transform: uppercase;
  cursor: pointer; transition: .28s;
}
.red-form .form-submit:hover { background: var(--red-dark); }

@media (max-width: 700px) { .red-form .form-row { grid-template-columns: 1fr; } }

/* ═══ CHAT BUTTON ═══ */
.chat-btn {
  position: fixed; bottom: 80px; right: 20px; z-index: 750;
  display: flex; align-items: center; gap: 8px;
  padding: 12px 18px; background: var(--red); color: var(--white);
  box-shadow: 0 6px 24px rgba(200,0,26,.35);
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px;
  letter-spacing: .14em; font-weight: 700; text-transform: uppercase; transition: .3s;
  border: none; cursor: pointer;
}
.chat-btn:hover { background: var(--red-dark); transform: translateY(-2px); }
.chat-btn .chat-icon { font-size: 18px; }
@media (min-width: 701px) { .chat-btn { bottom: 20px; } }

/* ═══ STATS ROW ═══ */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--red); border-bottom: 2px solid var(--red-dark);
}
.stat-item {
  padding: 28px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Barlow Condensed', sans-serif; font-size: 36px; font-weight: 900;
  color: var(--white); line-height: 1; margin-bottom: 4px;
}
.stat-num sup { font-size: 16px; color: rgba(255,220,80,.9); vertical-align: super; }
.stat-label {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
@media (max-width: 768px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }

/* ═══ WHY SECTION ═══ */
.why-head {
  max-width: 1250px; margin: 0 auto;
  padding: 72px 48px 48px;
  border-bottom: 1px solid var(--line);
}
.why-h {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(32px, 3.8vw, 56px); font-weight: 900;
  text-transform: uppercase; line-height: 1; color: var(--ink);
}
.why-h em { color: var(--gold); font-style: italic; }
.why-p { font-size: 13px; color: var(--ink3); max-width: 440px; line-height: 1.8; margin-top: 14px; }
@media (max-width: 700px) { .why-head { padding: 40px 18px 32px !important; } }

.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  max-width: 1250px; margin: 0 auto;
}
.why-card {
  background: var(--white); padding: 32px 28px;
  position: relative; overflow: hidden; transition: .32s;
}
.why-card:hover { background: var(--off-white); }
.why-card.feat { background: rgba(200,0,26,.05); border-top: 2px solid var(--red); }
.why-card.gold { background: rgba(184,145,42,.07); border-top: 2px solid var(--gold); }
.why-icon {
  width: 42px; height: 42px; border: 1px solid rgba(200,0,26,.18);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 16px; font-weight: 900; color: var(--red);
  transition: .28s;
}
.why-card:hover .why-icon { background: var(--red); color: var(--white); border-color: var(--red); }
.why-card.gold .why-icon { border-color: rgba(184,145,42,.32); color: var(--gold); }
.why-card.gold:hover .why-icon { background: var(--gold); border-color: var(--gold); color: var(--white); }
.why-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 17px;
  font-weight: 800; text-transform: uppercase; color: var(--ink); margin-bottom: 8px;
}
.why-desc { font-size: 12.5px; line-height: 1.74; color: var(--ink3); }
.why-bg {
  position: absolute; right: -6px; bottom: -10px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 76px; font-weight: 900;
  color: rgba(26,10,0,.025); line-height: 1; pointer-events: none;
}
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 24px;
}
.footer-inner { max-width: 1250px; margin: 0 auto; padding: 0 48px; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-logo {
  font-family: 'Barlow Condensed', sans-serif; font-size: 18px;
  font-weight: 900; letter-spacing: .08em; margin-bottom: 10px; color: var(--ink);
}
.footer-logo .r { color: var(--red); }
.footer-logo .dot { color: var(--gold); }
.footer-tagline { font-size: 12.5px; line-height: 1.76; color: var(--ink3); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 7px; }
.footer-social {
  width: 32px; height: 32px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px; color: var(--ink3); transition: .22s;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .22em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 16px; display: flex; align-items: center; gap: 7px;
}
.footer-col-title::before { content: ''; width: 9px; height: 1px; background: var(--gold); }
.footer-links { display: grid; gap: 8px; }
.footer-links a { font-size: 12px; color: var(--ink3); transition: .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.footer-copy { font-size: 11px; color: var(--ink4); letter-spacing: .05em; }
.footer-since {
  font-family: 'Barlow Condensed', sans-serif; font-size: 11px;
  letter-spacing: .18em; color: var(--red); text-transform: uppercase;
}

@media (max-width: 1100px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; } }

/* ═══ SCROLL REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══ PAGINATION ═══ */
.pagination {
  display: flex; gap: 6px; justify-content: center; padding: 40px 0;
}
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--ink2); transition: .2s;
}
.pagination a:hover, .pagination .current {
  background: var(--red); color: var(--white); border-color: var(--red);
}

/* ═══ ARCHIVE HEADER ═══ */
.archive-header {
  background: var(--red); padding: 40px 0;
  position: relative; overflow: hidden;
}
.archive-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg,rgba(255,255,255,.02) 0,rgba(255,255,255,.02) 1px,transparent 0,transparent 20px);
}
.archive-header-inner {
  max-width: 1250px; margin: 0 auto; padding: 0 48px; position: relative;
}
.archive-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-size: 9.5px;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(255,220,80,.8); margin-bottom: 8px;
}
.archive-title {
  font-family: 'Barlow Condensed', sans-serif; font-size: clamp(24px,3.2vw,42px);
  font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1;
}
.archive-desc { font-size: 13px; color: rgba(255,255,255,.62); margin-top: 12px; max-width: 480px; }
.archive-count {
  margin-top: 14px; font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.5); display: flex; align-items: center; gap: 8px;
}
.archive-count::before { content: ''; width: 16px; height: 1px; background: rgba(255,255,255,.3); }

/* ═══ TAG/CAT CLOUD ═══ */
.tag-cloud a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border: 1px solid var(--line); margin: 3px;
  font-family: 'Barlow Condensed', sans-serif; font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ink3); transition: .2s;
}
.tag-cloud a:hover { border-color: var(--red); color: var(--red); }

/* ═══ STANDARD POST (Blog) ═══ */
.post-article { background: var(--white); border: 1px solid var(--line); margin-bottom: 32px; }
.post-article-header { padding: 32px 40px 0; }
.post-article-content { padding: 24px 40px 32px; }
.post-article-content p { font-size: 14px; line-height: 1.88; color: var(--ink2); margin-bottom: 16px; }
.post-article-footer {
  padding: 20px 40px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.post-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .post-related-grid { grid-template-columns: 1fr; } }

/* ═══ WP ADMIN BAR OFFSET ═══ */
.admin-bar .site-header { top: 32px; }
.admin-bar .mobile-menu { top: 90px; }
@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .mobile-menu { top: 104px; }
}

/* ═══ ELEMENTOR COMPAT ═══ */
.elementor-section.site-hero { padding-top: 58px; }

/* ═══ ACCESSIBILITY ═══ */
.screen-reader-text {
  clip: rect(1px,1px,1px,1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}
a:focus, button:focus { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ═══════════════════════════════════════════
   RESPONSIVE FIXES v1.1
═══════════════════════════════════════════ */

/* Hero collapse on tablet/mobile */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr !important;
    padding: 48px 28px 0 !important;
  }
  .hero-right { display: none !important; }
  .hero-left { padding-bottom: 48px; }
}
@media (max-width: 700px) {
  .hero-inner { padding: 36px 18px 0 !important; }
  .hero-left { padding-bottom: 36px; }
  .hero-tagline { white-space: normal !important; }
}

/* Mobile bottom nav — show on mobile */
@media (max-width: 768px) {
  .mobile-bottom-nav { display: block !important; }
  .mobile-menu { display: block !important; }
  .nav-toggle { display: flex !important; }
  .nav-inner { padding: 0 18px !important; height: 58px; }
  .site-logo img { max-height: 32px; width: auto; }
  .site-logo { max-width: calc(100vw - 92px); overflow: hidden; }
  /* push content above bottom nav */
  body { padding-bottom: 78px; }
}
@media (min-width: 769px) {
  .mobile-bottom-nav { display: none !important; }
  .nav-toggle { display: none !important; }
  .mobile-menu { display: none !important; }
}

/* Nav links hide on mobile */
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
  .nav-cta  { display: none !important; }
}

/* Showcase/archive grid responsive — already set above */
/* But override homepage listing-grid header to show 3 cols */
@media (min-width: 1101px) {
  .listing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* content-with-sidebar on mobile: single column */
@media (max-width: 1100px) {
  .content-with-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* Filter bar on mobile: hide, show via drawer button */
@media (max-width: 1100px) {
  .filter-bar { display: none; }
  .mobile-filter-btn { display: flex !important; }
}
@media (min-width: 1101px) {
  .mobile-filter-btn { display: none !important; }
  .filter-bar { display: flex; }
  .sidebar { display: block !important; }
}

/* Footer 2-col on mobile */
@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
  }
}

/* CTA section on mobile */
@media (max-width: 768px) {
  .cta { grid-template-columns: 1fr !important; }
  .cta-left, .cta-right { padding: 36px 20px !important; }
}

/* Stats row mobile */
@media (max-width: 700px) {
  .stats-row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Why grid mobile */
@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr !important; }
}

/* Single hero grid mobile */
@media (max-width: 1100px) {
  .single-hero-grid { grid-template-columns: 1fr !important; }
  .single-hero-grid > div:last-child { display: none; }
}

/* Contact CTA mobile */
@media (max-width: 768px) {
  .contact-cta { grid-template-columns: 1fr !important; }
  .contact-cta-left, .contact-cta-right { padding: 28px 18px !important; }
}

/* Archive header padding mobile */
@media (max-width: 700px) {
  .archive-header-inner { padding: 0 18px !important; }
  .breadcrumb { padding: 0 18px !important; }
}


/* Home sections responsive fix */
.red-services-head,
.red-process-head,
.red-test-inner,
.red-services-wrap { max-width: 1250px; margin: 0 auto; }
.red-services-wrap {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background: var(--white);
}
.red-service-row { border-bottom: 1px solid var(--line); padding: 28px 48px; background: var(--white); transition: background .22s; }
.red-service-row:hover { background: var(--off-white); }
.red-service-row-inner { display: flex; flex-direction: row; align-items: center; gap: 32px; }
.red-service-row-label { flex-shrink: 0; min-width: 110px; }
.red-service-row-title { flex-shrink: 0; min-width: 200px; }
.red-service-row-body { flex: 1; min-width: 0; }
.red-service-row-arrow { flex-shrink: 0; }
.red-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--line); gap: 1px; max-width: 1250px; margin: 0 auto; }
.red-test-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 40px; }
.red-test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); }
@media (max-width: 1100px) {
  .red-services-head, .red-process-head, .red-test-inner { padding-left: 28px !important; padding-right: 28px !important; }
  .red-process-grid { grid-template-columns: repeat(2, 1fr); }
  .red-service-row { padding-left: 28px; padding-right: 28px; }
  .red-service-row-inner { align-items: flex-start; gap: 18px; }
}
@media (max-width: 768px) {
  .hero-strip-wrap { margin-left: 18px; margin-right: 18px; }
  .red-test-head { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
  .red-test-grid { grid-template-columns: 1fr; }
  .red-process-grid { grid-template-columns: 1fr; }
  .red-service-row { padding: 20px 18px; }
  .red-service-row-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .red-service-row-label, .red-service-row-title, .red-service-row-arrow { min-width: 0; width: 100%; }
  .red-service-row-arrow { display: inline-block; }
}
@media (max-width: 700px) {
  .testimonials { padding: 56px 0 !important; }
  .red-services-head, .red-process-head, .red-test-inner { padding-left: 18px !important; padding-right: 18px !important; }
  .red-service-row-label span { display: block; }
}
