/*
Theme Name: TexaCoat 2026
Theme URI: https://texacoat.vn/
Author: DevVN
Author URI: https://levantoan.com/
Description: Theme TexaCoat 2026 — Sơn hiệu ứng, lớp phủ bề mặt. Chuyển từ HTML sang WordPress với ACF/SCF Flexible Content, Theme Options, WooCommerce, form AJAX chống bot, tái sử dụng dữ liệu sẵn có (sản phẩm, tin tức, dự án).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: texacoat-2026
Tags: business, woocommerce, custom-colors, custom-menu, custom-logo, featured-images, flexible-header, translation-ready
*/

/* ============================================================
   TexaCoat — Design System
   Phong cách: Hiện đại, flat, lịch sự, thuần Việt
   Container nội dung: 1300px
   ============================================================ */

:root {
  /* Brand colors — khớp logo TexaCoat (tím indigo + teal) */
  --brand-primary: #4d2e90;
  --brand-primary-2: #6041a8;
  --brand-primary-3: #7c66c8;
  --brand-accent: #00C4B4;
  --brand-accent-2: #1FD4C5;
  --brand-gradient: linear-gradient(135deg, #4d2e90 0%, #6041a8 50%, #00C4B4 100%);
  --brand-gradient-soft: linear-gradient(135deg, #F0F1FB 0%, #E6F8F6 100%);

  /* Neutrals */
  --ink-900: #0E0E2C;
  --ink-800: #1A1A3F;
  --ink-700: #2E2E55;
  --ink-600: #4A4A6E;
  --ink-500: #6B6B8C;
  --ink-400: #9A9AB3;
  --ink-300: #C4C4D6;
  --ink-200: #E6E7F1;
  --ink-100: #F1F2F8;
  --ink-50: #F8F9FC;
  --white: #FFFFFF;

  /* Semantic */
  --bg-page: #FFFFFF;
  --bg-soft: #F6F7FB;
  --bg-card: #FFFFFF;
  --bg-dark: #1B1A4D;
  --border: #E8E9F3;
  --border-soft: #EFF0F7;

  /* Layout */
  --container: 1300px;
  --gutter: 24px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 2px 8px rgba(77, 46, 144, 0.06);
  --shadow: 0 8px 24px rgba(77, 46, 144, 0.08);
  --shadow-lg: 0 18px 50px rgba(77, 46, 144, 0.14);

  /* Type */
  --ff-body: 'Be Vietnam Pro', 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fs-base: 15px;

  /* Transition */
  --t-fast: 160ms ease;
  --t-base: 260ms ease;
  --t-slow: 420ms cubic-bezier(.22,1.15,.36,1);
}

/* ============================================================
   Reset + Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  color: var(--ink-800);
  background: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-primary); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
/* Pin bold to a real loaded weight — the UA default `bolder` triggers faux/synthetic
   bold with web fonts (Be Vietnam Pro), which renders blurry/incorrectly. */
strong, b { font-weight: 700; }

::selection { background: var(--brand-accent); color: var(--white); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 840px; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .2px;
  transition: all var(--t-base);
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn svg { width: 15px; height: 15px; }

.btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(77, 46, 144, 0.28);
}
.btn-primary:hover { background: var(--brand-primary-2); color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(77, 46, 144, 0.36); }

.btn-accent {
  background: var(--brand-accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 196, 180, 0.28);
}
.btn-accent:hover { background: var(--brand-accent-2); color: var(--white); transform: translateY(-1px); }

.btn-outline {
  background: var(--white);
  color: var(--brand-primary);
  border-color: var(--ink-200);
}
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

.btn-ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.18); color: var(--white); }

.btn-lg { padding: 13px 26px; font-size: 14.5px; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

/* ============================================================
   Topbar
   ============================================================ */
.topbar {
  background: var(--brand-primary);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.topbar__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  gap: 24px;
}
.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.86);
}
.topbar__item svg { width: 14px; height: 14px; opacity: .85; }
.topbar__item:hover { color: var(--white); }
.topbar__catalog {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: var(--white);
  font-weight: 600;
  font-size: 12.5px;
  transition: var(--t-base);
}
.topbar__catalog:hover { background: var(--brand-accent); color: var(--white); }
.topbar__catalog svg { width: 13px; height: 13px; }
.topbar__socials {
  display: flex;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: var(--white) !important;
  transition: var(--t-base);
}
/* Hover: keep each badge's own colour, just dim it a touch. */
.topbar__social:hover { opacity: .85; }
.topbar__social svg { width: 13px; height: 13px; }

/* Brand-filled social badges (Zalo already ships a full-colour SVG badge). */
.topbar__social--fb { background: #1877f2; color: #fff; }
.topbar__social--yt { background: #ff0000; color: #fff; }
.topbar__social--tt { background: #010101; color: #fff; }

/* ============================================================
   Header (2 hàng: main + nav)
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  backdrop-filter: blur(8px);
}
.header__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 28px; width: auto; display: block; }

/* Search box (header) */
.header__search {
  position: relative;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.header__search input {
  width: 100%;
  height: 46px;
  padding: 0 110px 0 46px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--ink-50);
  font-size: 14px;
  color: var(--ink-800);
  transition: var(--t-base);
}
.header__search input::placeholder { color: var(--ink-400); }
.header__search input:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,196,180,.15);
}
.header__search .search-ico {
  position: absolute;
  left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--ink-400);
  pointer-events: none;
}
.header__search .search-ico svg { width: 17px; height: 17px; }
.header__search button {
  position: absolute;
  right: 4px; top: 50%; transform: translateY(-50%);
  height: 38px; padding: 0 18px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: var(--t-base);
}
.header__search button:hover { background: var(--brand-primary-2); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header__hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: var(--t-base);
}
.header__hotline:hover { border-color: var(--brand-accent); }
.header__hotline .ico {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--brand-primary);
  display: grid; place-items: center;
  color: var(--white);
}
.header__hotline .ico svg { width: 14px; height: 14px; }
.header__hotline .num { line-height: 1.1; }
.header__hotline .lb { display: block; font-size: 11px; color: var(--ink-500); }
.header__hotline .nb { display: block; font-size: 14.5px; font-weight: 700; color: var(--brand-primary); }

/* ============================================================
   Header bottom nav — WordPress wp_nav_menu() compatible
   Class names match WP output: .menu / .menu-item / .sub-menu
   .menu-item-has-children / .current-menu-item
   ============================================================ */
.header__nav {
  border-top: 1px solid var(--border-soft);
  background: var(--white);
}
.header__nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Root menu */
.header__nav .menu {
  display: flex;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.header__nav .menu-item { position: relative; list-style: none; }

/* Level 1 (top-level) links */
.header__nav .menu > .menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 20px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 2px solid transparent;
  transition: var(--t-base);
  letter-spacing: .1px;
}
.header__nav .menu > .menu-item > a:hover,
.header__nav .menu > .current-menu-item > a,
.header__nav .menu > .current-menu-parent > a,
.header__nav .menu > .current-menu-ancestor > a {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-accent);
}

/* Level 1: chevron-down on items with children */
.header__nav .menu > .menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .55;
  margin-left: 4px;
  margin-top: -3px;
  transition: transform var(--t-base);
}
.header__nav .menu > .menu-item-has-children:hover > a::after { transform: rotate(225deg); margin-top: 1px; }

/* ---- Sub-menu (level 2+) — single class for all depths ---- */
.header__nav .sub-menu {
  position: absolute;
  top: 100%; left: 0;
  list-style: none;
  margin: 0;
  background: var(--white);
  min-width: 250px;
  padding: 10px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-soft);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: var(--t-base);
  z-index: 50;
}
.header__nav .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sub-menu links (level 2+) */
.header__nav .sub-menu .menu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.4;
  transition: var(--t-fast);
}
.header__nav .sub-menu .menu-item > a:hover,
.header__nav .sub-menu .menu-item:hover > a {
  background: var(--ink-100);
  color: var(--brand-primary);
}
/* Active submenu item — EXCLUDE custom hash-anchor links (e.g. the About page
   section links #...): they all resolve to the current page, so WP tags every
   one with .current-menu-item and they would all light up at once. */
.header__nav .sub-menu .current-menu-item:not(.menu-item-object-custom) > a,
.header__nav .sub-menu .current-menu-parent:not(.menu-item-object-custom) > a,
.header__nav .sub-menu .current-menu-ancestor:not(.menu-item-object-custom) > a {
  color: var(--brand-primary);
}
.header__nav .sub-menu .current-menu-item:not(.menu-item-object-custom) > a {
  background: var(--brand-gradient-soft);
  font-weight: 600;
}

/* Sub-menu items with children — show ">" arrow */
.header__nav .sub-menu .menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg);
  opacity: .5;
  flex-shrink: 0;
  margin-left: 6px;
  transition: var(--t-fast);
}
.header__nav .sub-menu .menu-item-has-children:hover > a::after {
  opacity: 1;
  transform: rotate(45deg) translateX(2px) translateY(-2px);
}

/* Nested sub-menu (level 3+) — slides out to the right */
.header__nav .sub-menu .sub-menu {
  top: -11px;
  left: 100%;
  margin-left: 6px;
  min-width: 230px;
  transform: translateX(8px);
}
.header__nav .sub-menu .menu-item:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/* Invisible hover-bridge between parent item and right-side sub-menu */
.header__nav .sub-menu .sub-menu::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -12px; width: 12px;
}

.hamburger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--ink-100);
  align-items: center; justify-content: center;
}
.hamburger svg { width: 20px; height: 20px; color: var(--brand-primary); }

/* ============================================================
   Hero Slider — full-bleed background + centered text
   ============================================================ */
.hero-slider {
  position: relative;
  height: clamp(520px, 70vh, 720px);
  overflow: hidden;
  background: var(--ink-900);
  color: var(--white);
}
.hero-slider__track {
  position: absolute; inset: 0;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
  z-index: 1;
}
.slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.slide__overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14,14,44,.12) 0%, rgba(14,14,44,.28) 70%, rgba(14,14,44,.40) 100%),
    linear-gradient(180deg, rgba(14,14,44,.10) 0%, rgba(14,14,44,.28) 100%);
}
.slide__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 24px;
  transform: translateY(20px);
  opacity: 0;
  transition: transform .9s cubic-bezier(.22,1.15,.36,1) .15s, opacity .9s ease .15s;
}
.slide.is-active .slide__inner {
  transform: translateY(0);
  opacity: 1;
}
.slide__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  margin-bottom: 22px;
  color: var(--white);
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(0,196,180,.22);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
}
.slide__title {
  font-size: 60px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .2px;
  margin-bottom: 28px;
  max-width: 760px;
  color: var(--white);
  text-shadow:
    0 2px 14px rgba(0,0,0,.55),
    0 1px 3px rgba(0,0,0,.4);
}
.slide__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .2px;
  box-shadow: 0 10px 30px rgba(77, 46, 144, 0.45);
  transition: all var(--t-base);
}
.slide__cta:hover {
  background: var(--brand-primary-2);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(77, 46, 144, 0.55);
}

/* Arrows */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition: var(--t-base);
}
.hero-slider__arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  transform: translateY(-50%) scale(1.05);
}
.hero-slider__arrow svg { width: 18px; height: 18px; }
.hero-slider__arrow--prev { left: 28px; }
.hero-slider__arrow--next { right: 28px; }

/* Dots */
.hero-slider__dots {
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}
.hero-slider__dots .dot {
  width: 38px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255,255,255,.34);
  cursor: pointer;
  border: 0;
  padding: 0;
  transition: var(--t-base);
}
.hero-slider__dots .dot:hover { background: rgba(255,255,255,.6); }
.hero-slider__dots .dot.is-active { background: var(--white); width: 56px; }

@media (max-width: 720px) {
  .hero-slider { height: clamp(440px, 70vh, 560px); }
  .hero-slider__arrow {
    width: 36px; height: 36px;
    top: auto; bottom: 16px;
    transform: none;
  }
  .hero-slider__arrow:hover { transform: scale(1.05); }
  .hero-slider__arrow svg { width: 14px; height: 14px; }
  .hero-slider__arrow--prev { left: 12px; }
  .hero-slider__arrow--next { right: 12px; }
  .slide__eyebrow { font-size: 12px; padding: 5px 14px; margin-bottom: 16px; }
  .slide__title { font-size: 22px; line-height: 1.32; margin-bottom: 20px; }
  .slide__cta { padding: 11px 26px; font-size: 13.5px; }
}

/* ============================================================
   Section primitives
   ============================================================ */
section { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-head__left { max-width: 720px; }
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--brand-accent);
  border-radius: 99px;
}
.section-title {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  color: var(--ink-900);
  line-height: 1.22;
  letter-spacing: -.6px;
}
.section-title span { color: var(--brand-primary); }
.section-desc {
  font-size: 14.5px;
  color: var(--ink-600);
  margin-top: 10px;
  max-width: 620px;
  line-height: 1.65;
}
.section-head__cta { padding-bottom: 4px; }

.bg-soft { background: var(--bg-soft); }
.bg-dark { background: var(--bg-dark); color: rgba(255,255,255,.86); }
.bg-dark .section-title { color: var(--white); }
.bg-dark .section-desc { color: rgba(255,255,255,.74); }
.bg-dark .section-eyebrow { color: var(--brand-accent); }

/* ============================================================
   Categories — title centered, image-top cards
   ============================================================ */
.cats-section { padding: 64px 0; }

.cats-head {
  text-align: center;
  margin-bottom: 32px;
}
.cats-title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.6px;
  color: var(--ink-900);
  text-transform: uppercase;
  max-width: 880px;
  margin: 0 auto;
}
.cats-title span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}
.cats-decor {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: 10px;
  color: var(--brand-primary);
  opacity: .5;
  line-height: .5;
}
.cats-decor svg { width: 16px; height: 16px; }
.cats-decor svg:nth-child(2) { margin-top: -7px; opacity: .5; }

.cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.cat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-slow);
}
.cat-card__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink-100);
  margin-bottom: 12px;
  position: relative;
  box-shadow: 0 6px 18px rgba(14,14,44,.08);
  transition: box-shadow var(--t-slow);
}
.cat-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card:hover .cat-card__media { box-shadow: 0 14px 28px rgba(77,46,144,.16); }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
  color: var(--ink-800);
  text-align: center;
  line-height: 1.4;
  padding: 0 4px;
  transition: color var(--t-base);
}
.cat-card:hover .cat-card__name { color: var(--brand-primary); }

/* ============================================================
   About TexaCoat — Compact accordion (light theme)
   ============================================================ */
.about-light {
  background: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.about-light::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--brand-gradient-soft), transparent);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
}
.about-light__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}

/* LEFT */
.about-light__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--brand-accent);
  margin-bottom: 10px;
}
.about-light__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--brand-accent);
  border-radius: 99px;
}
.about-light__heading {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -.6px;
  color: var(--ink-900);
  margin-bottom: 24px;
  line-height: 1.28;
}

/* Social follow CTAs (YouTube + Facebook) */
.social-follow-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.yt-follow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink-800);
  transition: var(--t-base);
  box-shadow: 0 6px 16px rgba(14,14,44,.06);
}
.yt-follow:hover {
  color: var(--ink-900);
  transform: translateY(-2px);
}
.yt-follow--yt:hover {
  border-color: #FF0033;
  box-shadow: 0 12px 24px rgba(255,0,51,.18);
}
.yt-follow--fb:hover {
  border-color: #1877F2;
  box-shadow: 0 12px 24px rgba(24,119,242,.18);
}
.yt-follow__ico {
  width: 40px; height: 40px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--white);
  flex-shrink: 0;
  transition: var(--t-base);
}
.yt-follow--yt .yt-follow__ico { background: #FF0033; }
.yt-follow--fb .yt-follow__ico { background: #1877F2; }
.yt-follow:hover .yt-follow__ico { transform: scale(1.06); }
.yt-follow__ico svg { width: 18px; height: 18px; }
.yt-follow__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}
.yt-follow__sm {
  font-size: 11.5px;
  color: var(--ink-500);
  letter-spacing: .2px;
  font-weight: 500;
}
.yt-follow__big {
  font-size: 13.5px;
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: .2px;
  margin-top: 2px;
}
.yt-follow__arrow {
  color: var(--ink-400);
  display: grid; place-items: center;
  transition: var(--t-base);
}
.yt-follow__arrow svg { width: 14px; height: 14px; }
.yt-follow--yt:hover .yt-follow__arrow { color: #FF0033; transform: translateX(4px); }
.yt-follow--fb:hover .yt-follow__arrow { color: #1877F2; transform: translateX(4px); }
.about-light__heading span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}

/* Accordion */
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-800);
  text-align: left;
  transition: color var(--t-base);
}
.acc-head:hover { color: var(--brand-primary); }
.acc-icon {
  position: relative;
  width: 14px; height: 14px;
  flex-shrink: 0;
  color: var(--brand-primary);
}
.acc-icon::before,
.acc-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.acc-icon::before {
  width: 12px; height: 1.8px;
  transform: translate(-50%, -50%);
}
.acc-icon::after {
  width: 1.8px; height: 12px;
  transform: translate(-50%, -50%);
}
.acc-item.is-open .acc-icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }
.acc-item.is-open > .acc-head { color: var(--brand-primary); }

.acc-body {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height .42s cubic-bezier(.4, 0, .2, 1), opacity .28s ease;
  will-change: height, opacity;
}
.acc-item.is-open .acc-body {
  opacity: 1;
  transition: height .42s cubic-bezier(.4, 0, .2, 1), opacity .32s ease .1s;
}
.acc-body > * {
  padding-left: 28px;
  padding-bottom: 18px;
  margin: 0;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform .4s cubic-bezier(.22,1.15,.36,1) .06s, opacity .3s ease .08s;
}
.acc-item.is-open .acc-body > * {
  transform: translateY(0);
  opacity: 1;
}
.acc-body p {
  font-size: 14px;
  color: var(--brand-primary);
  line-height: 1.65;
}
.acc-body p b { color: var(--ink-900); font-weight: 600; }

.mini-list {
  list-style: none;
  display: grid;
  gap: 10px;
}
.mini-list li {
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.6;
}
.mini-list li b { color: var(--brand-primary); font-weight: 700; }

.mini-list--values li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mini-list--values .vl-tag {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}
.mini-list--values li > div { flex: 1; }
.mini-list--values li b { color: var(--ink-900); }

/* RIGHT */
.about-light__right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-light__media {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--ink-100);
  box-shadow: 0 14px 40px rgba(14,14,44,.08);
}
.about-light__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.about-light__media:hover img { transform: scale(1.04); }

.about-light__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stat-tile {
  background: linear-gradient(135deg, #1FD4C5 0%, #00A697 100%);
  color: var(--white);
  border-radius: 0;
  padding: 18px 22px 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,166,151,.22);
  transition: var(--t-base);
}
.stat-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,166,151,.32); }
.stat-tile__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.stat-tile__num {
  font-size: clamp(36px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--white);
  margin-bottom: 6px;
}
.stat-tile__num sup {
  font-size: .5em;
  vertical-align: super;
  font-weight: 700;
}
.stat-tile__desc {
  font-size: 12.5px;
  color: rgba(255,255,255,.9);
  line-height: 1.4;
  margin: 0;
}


/* ============================================================
   Products — heading + per-category group
   ============================================================ */
.products-head {
  text-align: center;
  margin-bottom: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.products-head__title {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.32;
  letter-spacing: -.5px;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.products-head__title span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}
.products-head__desc {
  font-size: 14.5px;
  color: var(--ink-600);
  line-height: 1.65;
}

/* Per-category group */
.prod-group + .prod-group { margin-top: 40px; }
.prod-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.prod-group__name {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.3px;
  position: relative;
  padding: 0 14px;
  line-height: 1.3;
  text-transform: uppercase;
}
.prod-group__name::before,
.prod-group__name::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 70%;
  background: var(--brand-gradient);
  border-radius: 99px;
}
.prod-group__name::before { left: 0; }
.prod-group__name::after { right: 0; }
.prod-group__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  white-space: nowrap;
  transition: var(--t-base);
}
.prod-group__more svg { width: 13px; height: 13px; transition: transform var(--t-base); }
.prod-group__more:hover { color: var(--brand-accent); }
.prod-group__more:hover svg { transform: translateX(3px); }

.prod-group__seemore {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.prod-group__seemore a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary-3);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  transition: var(--t-base);
}
.prod-group__seemore a svg { width: 12px; height: 12px; transition: transform var(--t-base); }
.prod-group__seemore a:hover {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}
.prod-group__seemore a:hover svg { transform: translateX(3px); }
.prod-group__name a { color: inherit; transition: var(--t-base); }
.prod-group__name a:hover { color: var(--brand-primary); }

/* Category "both" display mode — stacked subcategory sections in the shop column. */
.shop-sections .prod-group + .prod-group { margin-top: 44px; }

.products-cta {
  text-align: center;
  margin-top: 40px;
}

/* Product cards */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.product-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: var(--t-slow);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.product-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--ink-100);
  position: relative;
  overflow: hidden;
}
.product-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__tag {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,.94);
  color: var(--brand-primary);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .4px;
  padding: 3px 9px;
  border-radius: 999px;
}
.product-card__body { padding: 12px 14px 14px; }
.product-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  text-align: center;
}
.product-card__name a { color: inherit; }
.product-card__name a:hover { color: var(--brand-primary); }
.product-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}
.product-card__code {
  font-size: 11.5px;
  color: var(--ink-500);
  font-weight: 600;
}
.product-card__detail {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--brand-primary);
}
.product-card__detail svg { width: 12px; height: 12px; transition: transform var(--t-base); }
.product-card:hover .product-card__detail svg { transform: translateX(3px); }

/* ============================================================
   Tabs filter (for products section)
   ============================================================ */
.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tab {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
  cursor: pointer;
  transition: var(--t-base);
}
.tab:hover { color: var(--brand-primary); border-color: var(--brand-primary-3); }
.tab.is-active {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}

/* ============================================================
   Projects — uniform 3×2 grid, image-top + info-below
   ============================================================ */
.projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.project-card {
  display: block;
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--ink-100);
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  color: var(--white);
  aspect-ratio: 3 / 4;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(77,46,144,.22);
}
.project-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink-100);
}
.project-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.project-card:hover .project-card__media img { transform: scale(1.06); }

/* Dark gradient overlay — text readable bottom area */
.project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,44,0) 35%, rgba(14,14,44,.55) 70%, rgba(14,14,44,.85) 100%);
  pointer-events: none;
  z-index: 1;
}

.project-card__info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 16px 14px 14px;
  color: var(--white);
}
.project-card__name {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .2px;
  color: var(--white);
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__meta {
  list-style: none;
  margin: 0; padding: 8px 0 0;
  border-top: 1px solid rgba(255,255,255,.22);
  display: grid;
  gap: 3px;
}
.project-card__meta li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  line-height: 1.3;
}
.project-card__meta .lb {
  color: rgba(255,255,255,.7);
  font-weight: 400;
  letter-spacing: .2px;
}
.project-card__meta .vl {
  color: var(--white);
  font-weight: 700;
  text-align: right;
  letter-spacing: .2px;
}

/* ============================================================
   Partners — compact grid, 2 rows × 6 cols
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.partner-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t-base);
}
.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   Testimonial — bg image + side title + slider card
   ============================================================ */
.testi {
  position: relative;
  padding: 96px 0;
  color: var(--white);
  overflow: hidden;
}
.testi__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.testi__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testi__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14,14,44,.75) 0%, rgba(14,14,44,.45) 45%, rgba(14,14,44,.25) 100%);
}

.testi__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 56px;
  align-items: center;
}
.testi__head,
.testi__slider { min-width: 0; }

.testi__head .section-eyebrow::before { background: rgba(255,255,255,.6); }
.testi__title {
  font-size: 40px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--white);
  letter-spacing: -.3px;
  margin: 14px 0 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}

.testi__nav { display: flex; gap: 10px; }
.testi__arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--t-base);
}
.testi__arrow:hover {
  background: var(--white);
  color: var(--brand-primary);
  border-color: var(--white);
  transform: translateY(-2px);
}
.testi__arrow svg { width: 16px; height: 16px; }

/* Slider (Swiper-powered) */
.testi__slider { position: relative; }
.testi-swiper {
  width: 100%;
  padding-bottom: 36px;
  overflow: hidden;
}
.testi-swiper .swiper-slide { height: auto; }
.testi-card {
  background: var(--white);
  color: var(--ink-800);
  border-radius: 4px;
  padding: 32px 38px 28px;
  box-shadow: 0 30px 60px rgba(14,14,44,.20);
  height: auto;
  box-sizing: border-box;
}
.testi-card__qmark {
  display: inline-block;
  color: var(--brand-primary);
  margin-bottom: 14px;
  opacity: .9;
}
.testi-card__qmark svg { width: 26px; height: 20px; }
.testi-card__quote {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-700);
  margin-bottom: 26px;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testi-card__avatar {
  width: 52px; height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: var(--brand-gradient-soft);
  flex-shrink: 0;
}
.testi-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
}
.testi-card__role {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 3px;
}

/* Swiper pagination — testimonial */
.testi-pagination {
  position: absolute !important;
  bottom: 0 !important;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.testi-pagination .swiper-pagination-bullet {
  width: 34px; height: 3px;
  border-radius: 99px;
  background: rgba(255,255,255,.35);
  opacity: 1;
  margin: 0 !important;
  transition: var(--t-base);
}
.testi-pagination .swiper-pagination-bullet-active {
  background: var(--white);
  width: 50px;
}

/* Swiper pagination — blog (light theme) */
.blog-swiper {
  width: 100%;
  padding-bottom: 42px !important;
  overflow: hidden;
}
.blog-swiper .swiper-slide { height: auto; }
.blog-pagination {
  position: absolute !important;
  bottom: 4px !important;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.blog-pagination .swiper-pagination-bullet {
  width: 30px; height: 3px;
  border-radius: 99px;
  background: var(--ink-300);
  opacity: 1;
  margin: 0 !important;
  transition: var(--t-base);
}
.blog-pagination .swiper-pagination-bullet-active {
  background: var(--brand-primary);
  width: 46px;
}

/* ============================================================
   Blog
   ============================================================ */
/* Blog head — title left + prev/next right */
.blog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.blog-head__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.6px;
  color: var(--ink-900);
}
.blog-head__title span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}
.blog-nav { display: flex; gap: 8px; }
.blog-arrow {
  width: 42px; height: 42px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink-700);
  display: grid; place-items: center;
  cursor: pointer;
  transition: var(--t-base);
}
.blog-arrow:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(77,46,144,.22);
}
.blog-arrow.swiper-button-disabled {
  opacity: .35;
  cursor: not-allowed;
  pointer-events: none;
}
.blog-arrow svg { width: 16px; height: 16px; }

/* Blog uses Swiper (.blog-swiper) — grid removed */
.blog-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: var(--t-slow);
  display: flex; flex-direction: column;
  height: auto;
  box-sizing: border-box;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.blog-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-100);
}
.blog-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.blog-card:hover .blog-card__media img { transform: scale(1.06); }
.blog-card__body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.4;
  letter-spacing: -.2px;
  margin-bottom: 12px;
  min-height: 64px;
}
.blog-card__title a:hover { color: var(--brand-primary); }
.blog-card__excerpt {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.65;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 42px;
  flex: 1;
}
.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-primary);
}
.blog-card__more svg { width: 14px; height: 14px; transition: transform var(--t-base); }
.blog-card:hover .blog-card__more svg { transform: translateX(4px); }

/* ============================================================
   Press — Báo chí nói về TexaCoat (Swiper 4 cols)
   ============================================================ */
.press-swiper {
  width: 100%;
  padding-bottom: 42px !important;
  overflow: hidden;
}
.press-swiper .swiper-slide { height: auto; }
.press-pagination {
  position: absolute !important;
  bottom: 4px !important;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.press-pagination .swiper-pagination-bullet {
  width: 26px; height: 4px;
  background: var(--ink-200);
  opacity: 1;
  border-radius: 99px;
  transition: var(--t-base);
}
.press-pagination .swiper-pagination-bullet-active {
  background: var(--brand-primary);
  width: 42px;
}

.press-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  color: inherit;
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
  height: auto;
  position: relative;
  overflow: hidden;
}
.press-card:hover {
  box-shadow: 0 18px 32px rgba(77,46,144,.14);
  border-color: var(--brand-primary-3);
}

.press-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--ink-100);
}
.press-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-slow);
}
.press-card:hover .press-card__photo { transform: scale(1.05); }

/* Logo nổi bật giữa ảnh và title — pill trắng đè lên mép dưới ảnh */
.press-card__logo {
  align-self: center;
  margin-top: -22px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-width: 100px;
  max-width: 80%;
  padding: 4px 16px;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(14,14,44,.18);
  white-space: nowrap;
  overflow: hidden;
}
.press-card__logo img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  max-height: 32px;
  object-fit: contain;
}

.press-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink-900);
  letter-spacing: -.2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 14px 20px 22px;
  text-align: center;
  transition: color var(--t-base);
}
.press-card:hover .press-card__title { color: var(--brand-primary); }

/* ============================================================
   MAP Request — Liên hệ nhận MAP & Tiêu bản miễn phí
   ============================================================ */
.map-request {
  padding: 64px 0;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}
.map-request::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 460px; height: 460px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(0,196,180,.12), transparent 70%);
  pointer-events: none;
}
.map-request::after {
  content: '';
  position: absolute;
  bottom: -160px; left: -160px;
  width: 420px; height: 420px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(77,46,144,.10), transparent 70%);
  pointer-events: none;
}
.map-request__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items: stretch;
}
.map-request__media {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14,14,44,.16);
  align-self: start;
}
.map-slider {
  width: 100%;
  aspect-ratio: 7 / 6;
  background: var(--ink-100);
}
.map-slider .swiper-slide { overflow: hidden; }
.map-slider .swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.map-pagination {
  position: absolute !important;
  bottom: 16px !important;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.map-pagination .swiper-pagination-bullet {
  width: 26px; height: 4px;
  background: rgba(255,255,255,.45);
  opacity: 1;
  border-radius: 99px;
  transition: var(--t-base);
}
.map-pagination .swiper-pagination-bullet-active {
  background: var(--white);
  width: 38px;
}
.map-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.7);
  color: var(--brand-primary);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(14,14,44,.18);
  transition: var(--t-base);
}
.map-arrow svg { width: 16px; height: 16px; }
.map-arrow:hover {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}
.map-arrow--prev { left: 14px; }
.map-arrow--next { right: 14px; }
.map-request__media-badge {
  position: absolute;
  left: 16px; bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-800);
  box-shadow: 0 6px 14px rgba(14,14,44,.18);
  z-index: 3;
}
.map-request__media-badge svg { width: 16px; height: 16px; color: var(--brand-primary); }
.map-request__media-badge strong { color: var(--brand-primary); }

.map-request__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
.map-request__head {
  text-align: left;
  margin-bottom: 20px;
}
.map-request__title {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.5px;
  color: var(--ink-900);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.map-request__title span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}
.map-request__desc {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto;
}

.map-request__form {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl);
  padding: 26px 26px 22px;
  box-shadow: 0 20px 50px rgba(77,46,144,.22);
  position: relative;
  z-index: 2;
  color: var(--white);
}
.map-request__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 12px;
}
.map-request__row > .form__field:nth-child(3),
.map-request__row > .form__field:only-child { grid-column: 1 / -1; }
.map-request__form .form__field { margin-top: 0; }
.map-request__form .form__field label {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  margin-bottom: 6px;
}
.map-request__form .form__field input,
.map-request__form .form__field textarea {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.5);
  color: var(--ink-900);
}
.map-request__form .form__field input::placeholder,
.map-request__form .form__field textarea::placeholder {
  color: var(--ink-400);
}
.map-request__form .form__field input:focus,
.map-request__form .form__field textarea:focus {
  background: var(--white);
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 4px rgba(0,196,180,.22);
}
.map-request__form .input-with-ico .input-ico { color: var(--brand-primary); opacity: .8; }
.map-request__form .req { color: var(--brand-accent-2, #5cf6e8); }
/* Label có icon bút — bút trái, text phải, cùng dòng */
.map-request__form .form__field--note label {
  display: inline-flex;
  align-items: center;
  flex-flow: row nowrap;
  gap: 8px;
}
.map-request__form .pen-ico {
  width: 16px; height: 16px;
  color: var(--brand-accent);
  flex-shrink: 0;
  display: block;
}

/* Input with icon (Tên / SĐT / Địa chỉ) */
.input-with-ico { position: relative; }
.input-with-ico .input-ico {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
  opacity: .65;
  pointer-events: none;
  z-index: 1;
}
.input-with-ico .input-ico svg { width: 16px; height: 16px; display: block; }
.map-request__form .form__field .input-with-ico input { padding-left: 50px; }

/* Compact textarea cho "Chi tiết các mẫu muốn nhận" */
.form__field--note textarea {
  min-height: 64px;
  resize: vertical;
}

.map-request__submit {
  text-align: center;
  margin-top: 18px;
}
.map-request__submit .btn {
  min-width: 220px;
  justify-content: center;
  background: var(--white);
  color: var(--brand-primary);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}
.map-request__submit .btn:hover {
  background: var(--brand-accent-2, #00e5d2);
  color: var(--brand-primary);
}
.map-request__legal {
  font-size: 12px;
  color: rgba(255,255,255,.78);
  margin-top: 12px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .map-request { padding: 50px 0; }
  .map-request__row { grid-template-columns: 1fr; gap: 14px; }
  .map-request__form { padding: 24px 20px 22px; }
}

/* ============================================================
   Form (reusable — contact form)
   ============================================================ */
.form {
  background: var(--white);
  color: var(--ink-800);
  border-radius: var(--radius-xl);
  padding: 32px 32px 30px;
  box-shadow: 0 30px 70px rgba(14,14,44,.18);
  border: 1px solid var(--border-soft);
}
.form h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-primary);
  margin-bottom: 6px;
  letter-spacing: -.4px;
}
.form p {
  font-size: 13.5px;
  color: var(--ink-500);
  margin-bottom: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form__row + .form__row, .form__field { margin-top: 14px; }
.form__field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 7px;
}
.form__field label .req { color: #E5436F; }
.form__field input,
.form__field textarea,
.form__field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--ink-50);
  font-size: 14px;
  color: var(--ink-800);
  transition: var(--t-base);
}
.form__field textarea { resize: vertical; min-height: 110px; }
.form__field input:focus,
.form__field textarea:focus,
.form__field select:focus {
  outline: none;
  border-color: var(--brand-accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,196,180,.15);
}
.form__submit { margin-top: 18px; width: 100%; justify-content: center; }
.form__legal { margin-top: 12px; font-size: 12px; color: var(--ink-500); text-align: center; line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-page); }

/* ----- Footer Top: addresses (left) + contact form (right) ----- */
.footer__top {
  background: var(--bg-soft);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.footer__top::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(0,196,180,.10), transparent 70%);
}
.footer__top::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -180px;
  width: 480px; height: 480px;
  border-radius: 999px;
  background: radial-gradient(closest-side, rgba(77,46,144,.07), transparent 70%);
}
/* Centered head */
.contact-head {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
  z-index: 2;
}
.contact-head__title {
  font-size: 25px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.28;
  letter-spacing: -.5px;
  color: var(--ink-900);
  margin: 10px 0 10px;
}
.contact-head__title span {
  display: inline-block;
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
  line-height: inherit;
}
.contact-head__desc {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* HERO contact strip — gradient bar with hotline + email */
.contact-hero {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.6fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 28px;
  border-radius: var(--radius-lg);
  background: var(--brand-primary);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(77, 46, 144, 0.18);
  margin-bottom: 28px;
}
.contact-hero__divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.24);
}
.contact-hero__col {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.contact-hero__ico {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.24);
  color: var(--white);
  display: grid; place-items: center;
  flex-shrink: 0;
  backdrop-filter: blur(6px);
}
.contact-hero__ico svg { width: 20px; height: 20px; }
.contact-hero__body { min-width: 0; }
.contact-hero__lb {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  color: rgba(255,255,255,.82);
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-hero__vl {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .2px;
}
.contact-hero__vl:hover { color: var(--brand-accent-2); }
.contact-hero__phones { display: flex; gap: 6px; flex-wrap: wrap; }
.contact-hero__phones a {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  transition: var(--t-base);
  backdrop-filter: blur(4px);
}
.contact-hero__phones a:hover {
  background: var(--white);
  color: var(--brand-primary);
  border-color: var(--white);
}

/* Address group — numbered title + uniform list */
.addr-group {
  position: relative;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px 24px 22px;
  margin-bottom: 16px;
}
.addr-group:last-child { margin-bottom: 0; }
.addr-group__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.1px;
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.addr-group__num {
  display: inline-grid;
  place-items: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .5px;
}

.addr-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 10px;
}
.addr-list--2 { grid-template-columns: repeat(2, 1fr); }
.addr-list--3 { grid-template-columns: repeat(3, 1fr); }
.addr-list--5 { grid-template-columns: repeat(5, 1fr); }

.addr-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 13px;
  background: var(--ink-50);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  transition: var(--t-base);
  position: relative;
}
.addr-row:hover {
  background: var(--white);
  border-color: var(--brand-primary-3);
  box-shadow: 0 6px 14px rgba(77,46,144,.08);
  transform: translateY(-2px);
}
.addr-row__pin {
  position: absolute;
  top: 12px; right: 12px;
  color: var(--brand-accent);
  opacity: .55;
}
.addr-row__pin svg { width: 14px; height: 14px; }
.addr-row__tag {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: .2px;
  padding-right: 24px;
}
.addr-row__txt {
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.5;
}

/* ----- Footer Mid: 4 columns (dark bg) ----- */
.footer__inner { background: #131233; color: rgba(255,255,255,.72); }
.footer__mid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand-block { margin-bottom: 18px; }
.footer__brand-block .brand__img { height: 42px; filter: brightness(0) invert(1); }
.footer__about {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.66);
  margin: 16px 0 20px;
}
.footer__social-row {
  display: flex;
  gap: 10px;
}
.footer__social-row a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,.8);
  transition: var(--t-base);
}
/* Hover: keep each badge's own colour, just dim it a touch. */
.footer__social-row a:hover { opacity: .85; }
.footer__social-row a svg { width: 16px; height: 16px; }

/* Brand-filled social badges (Zalo ships its own full-colour SVG badge). */
.footer__social-row a.is-fb { background: #1877f2; color: #fff; }
.footer__social-row a.is-yt { background: #ff0000; color: #fff; }
.footer__social-row a.is-tt { background: #010101; color: #fff; }

.footer__title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: .3px;
  position: relative;
  padding-bottom: 12px;
  text-transform: none;
}
.footer__title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 2px;
  background: var(--brand-accent);
  border-radius: 99px;
}
.footer__links { display: grid; gap: 10px; }
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.66);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__links a:hover { color: var(--brand-accent-2); }
.footer__links a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 999px;
  background: var(--brand-accent);
  opacity: .65;
}

.footer__contact-list { display: grid; gap: 14px; font-size: 14px; }
.footer__contact-list .it { display: flex; gap: 12px; align-items: center; }
.footer__contact-list .ico {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--brand-accent-2);
}
.footer__contact-list .ico svg { width: 15px; height: 15px; }
.footer__contact-list .vl { color: rgba(255,255,255,.78); line-height: 1.55; font-size: 13.5px; }
.footer__contact-list .vl b,
.footer__contact-list .vl strong { color: var(--white); display: block; font-weight: 600; font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 3px; }
.footer__contact-list .vl a { color: rgba(255,255,255,.85); }
.footer__contact-list .vl a:hover { color: var(--brand-accent-2); }

/* ----- Footer Bottom ----- */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 26px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer__bottom-menu {
  display: flex;
  gap: 22px;
  align-items: center;
}
.footer__bottom-menu a { color: rgba(255,255,255,.55); }
.footer__bottom-menu a:hover { color: var(--brand-accent-2); }

/* ============================================================
   Floating actions
   ============================================================ */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-actions a, .float-actions button {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: grid; place-items: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: var(--t-base);
}
.float-actions a:hover, .float-actions button:hover { transform: translateY(-3px); }
.float-actions .fa-phone { background: linear-gradient(135deg, #00C4B4, #1FD4C5); }
.float-actions .fa-zalo { background: #1976FF; }
.float-actions .fa-msg { background: linear-gradient(135deg, #4d2e90, #7c66c8); }
.float-actions .fa-top { background: var(--ink-800); opacity: 0; pointer-events: none; transition: var(--t-base); }
.float-actions .fa-top.show { opacity: 1; pointer-events: auto; }
.float-actions svg { width: 20px; height: 20px; }

/* Zalo brand badge (assets/zalo.svg) — self-contained colour circle, fills its
   button with no padding/background of its own. */
.txc-zalo-svg { display: block; border-radius: 999px; }
.fa-zalo,
.txc-zalo-link { background: none !important; padding: 0 !important; border: 0 !important; }
.txc-zalo-link:hover { background: none !important; }
.float-actions .fa-zalo .txc-zalo-svg,
.txc-zalo-link .txc-zalo-svg { width: 100%; height: 100%; }
.float-actions .fa-zalo { overflow: visible; }

/* ============================================================
   Mobile menu drawer
   ============================================================ */
.drawer-mask {
  position: fixed; inset: 0;
  background: rgba(14,14,44,.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0; visibility: hidden;
  transition: var(--t-base);
}
.drawer-mask.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: -100%;
  width: 86%; max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 310;
  padding: 22px;
  display: flex; flex-direction: column;
  transition: right var(--t-base);
  overflow-y: auto;
}
.drawer.open { right: 0; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.drawer__close {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--ink-100);
  display: grid; place-items: center;
}
.drawer__nav { flex: 0 0 auto; }

/* Drawer menu — WP wp_nav_menu compatible (mirrors .header__nav .menu) */
.drawer-menu,
.drawer-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
.drawer-menu .menu-item {
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}
.drawer-menu > .menu-item:last-child { border-bottom: 0; }
.drawer-menu .menu-item > a {
  display: block;
  padding: 10px 40px 10px 10px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-800);
  border-radius: 6px;
  line-height: 1.35;
}
.drawer-menu .menu-item > a:hover,
.drawer-menu .menu-item.current-menu-item > a {
  color: var(--brand-primary);
}
.drawer-menu .menu-toggle {
  position: absolute;
  top: 2px; right: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink-500);
  border-radius: 6px;
  transition: var(--t-base);
}
.drawer-menu .menu-toggle svg {
  width: 14px; height: 14px;
  transition: transform var(--t-base);
}
.drawer-menu .menu-item.is-open > .menu-toggle { color: var(--brand-primary); background: var(--ink-100); }
.drawer-menu .menu-item.is-open > .menu-toggle svg { transform: rotate(180deg); }

.drawer-menu .sub-menu {
  display: none;
  padding: 2px 0 6px 12px;
  margin-left: 8px;
  border-left: 2px solid var(--border);
}
.drawer-menu .menu-item.is-open > .sub-menu { display: block; }
.drawer-menu .sub-menu .menu-item { border-bottom: 0; }
.drawer-menu .sub-menu .menu-item > a {
  padding: 6px 36px 6px 8px;
  font-weight: 500;
  font-size: 13px;
  color: var(--ink-700);
}
.drawer-menu .sub-menu .menu-toggle { top: -2px; width: 32px; height: 32px; }
.drawer__cta { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: 14px; text-align: center; }
.drawer__cta .btn { justify-content: center; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .products { grid-template-columns: repeat(3, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .header__nav { display: none; }
  .hamburger { display: inline-flex; }
  .header__main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .header__search { max-width: 380px; }
  .footer-contact__right { position: static; }
}
@media (max-width: 980px) {
  section, .testimonial, .cats-section, .about-light, .map-request { padding: 48px 0; }
  .map-request__inner { grid-template-columns: 1fr; gap: 24px; }
  .map-slider { aspect-ratio: 16 / 10; }
  .footer__top { padding: 60px 0; }
  .about-light__grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-hero { grid-template-columns: 1fr; gap: 16px; padding: 18px 20px; }
  .contact-hero__divider { display: none; }
  .contact-hero__col { align-items: flex-start; gap: 12px; }
  .contact-hero__col + .contact-hero__col { padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
  .contact-hero__phones { gap: 6px; }
  .addr-list--5 { grid-template-columns: repeat(3, 1fr); }
  .addr-list--3 { grid-template-columns: repeat(3, 1fr); }
  .testi__inner { grid-template-columns: 1fr; gap: 28px; }
  .testi__title { font-size: 30px; line-height: 1.35; margin-bottom: 18px; }
  .footer__mid { grid-template-columns: 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
  .projects { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .header__hotline { display: none; }
  .header__search { display: none; }
  .header__main { grid-template-columns: 1fr auto; gap: 16px; padding-block: 10px; }
  .topbar__left { gap: 14px; font-size: 12px; }
  .topbar__item:nth-child(n+2) { display: none; }
  .topbar__catalog span { display: none; }
  .topbar__socials { padding-left: 10px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  :root { --gutter: 10px; --radius: 8px; --radius-lg: 10px; --radius-xl: 14px; }
  .topbar { display: none; }
  section, .about, .testi, .cats-section { padding: 50px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 14px; }
  .cat-card__name { font-size: 13px; }
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card__body { padding: 8px; }
  .product-card__name { font-size: 14px; }
  .product-card__foot,.product-card__code,.product-card__detail { font-size: 11px; }

  /* Header mobile compact */
  .header__main { grid-template-columns: 1fr auto; gap: 10px; padding-block: 8px; }
  .container { padding-left: 10px; padding-right: 10px; }
  .brand__img { height: 24px; }
  .header__actions { gap: 8px; }
  .header__actions .btn { padding: 7px 14px; font-size: 12.5px; }
  .hamburger { width: 36px; height: 36px; border-radius: 8px; }
  .hamburger svg { width: 18px; height: 18px; }

  /* Buttons compact mobile */
  .btn { padding: 8px 16px; font-size: 12.5px; gap: 6px; }
  .btn svg { width: 14px; height: 14px; }
  .btn-lg { padding: 11px 22px; font-size: 13.5px; }
  .btn-sm { padding: 6px 12px; font-size: 12px; }

  /* Drawer mobile compact */
  .drawer { padding: 14px 16px 16px; width: 84%; max-width: 300px; }
  .drawer__head { padding-bottom: 10px; margin-bottom: 8px; }
  .drawer__head .brand__img { height: 22px; }
  .drawer__close { width: 30px; height: 30px; }
  .drawer__close svg { width: 14px; height: 14px; }
  .drawer__nav { gap: 0; align-content: start; }
  .drawer__nav a { padding: 8px 10px; font-size: 13.5px; border-radius: 6px; }
  .drawer__cta { gap: 8px; padding-top: 10px; margin-top: 8px; }
  .drawer__cta .btn { padding: 10px 16px; font-size: 13px; }

  /* Stat tile mobile */
  .stat-tile { padding: 5px 10px 5px; border-radius: 0; }

  /* Project card mobile — portrait 3:4 with overlay name */
  .projects { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .project-card__info { padding: 12px 10px 10px; }
  .project-card__name {
    font-size: 13.5px;
    margin-bottom: 6px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .project-card__meta li { font-size: 11px; }
  .project-card__meta { padding-top: 6px; gap: 2px; }

  /* Partners mobile — 4 cột, logo to hơn */
  .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .partner-logo { height: 45px; padding: 3px 4px; }
  .partner-logo img { max-height: 100%; }

  /* Press card mobile */
  .press-card__logo { height: 38px; min-width: 88px; padding: 4px 12px; margin-top: -19px; }
  .press-card__logo img { max-height: 28px; }
  .press-card__title { font-size: 13.5px; margin: 12px 14px 16px; }

  .testi-card { padding: 22px 16px 18px; }
  .testi-card__quote { font-size: 14.5px; }
  /* Footer mid mobile: col1 full, col2+col3 = 50/50, col4 full */
  .footer__mid { grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: 40px 0 26px; font-size: 12.5px; }
  .footer__mid > div:nth-child(1),
  .footer__mid > div:nth-child(4) { grid-column: 1 / -1; }
  .footer__about { font-size: 12.5px; line-height: 1.55; margin: 10px 0 14px; }
  .footer__brand-block .brand__img { height: 30px; }
  .footer__social-row a { width: 32px; height: 32px; }
  .footer__social-row a svg { width: 13px; height: 13px; }
  .footer__title { font-size: 12.5px; margin-bottom: 10px; padding-bottom: 7px; }
  .footer__title::after { width: 20px; }
  .footer__links { gap: 6px; }
  .footer__links a { font-size: 12.5px; gap: 6px; }
  .footer__links a::before { width: 4px; height: 4px; }
  .footer__contact-list { gap: 10px; font-size: 12.5px; }
  .footer__contact-list .it { gap: 10px; }
  .footer__contact-list .ico { width: 28px; height: 28px; border-radius: 8px; }
  .footer__contact-list .ico svg { width: 13px; height: 13px; }
  .footer__bottom { flex-direction: column; text-align: center; font-size: 12px; }
  .footer__bottom-menu { display: block; }
  .footer__bottom-menu a { display: inline-block; margin: 0 5px;}
  .addr-list--2,
  .addr-list--3,
  .addr-list--5 { grid-template-columns: 1fr; gap: 10px; }
  .addr-group { padding: 14px 12px 16px; margin-bottom: 14px; }
  .addr-group__title { font-size: 15px; gap: 10px; margin-bottom: 14px; }
  .addr-group__num { width: 36px; height: 28px; font-size: 12.5px; }
  /* addr-row mobile: icon top-left, text right (tag trên, txt dưới) */
  .addr-row {
    padding: 10px 12px;
    gap: 2px 10px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
  }
  .addr-row__pin {
    position: static;
    grid-row: span 2;
    width: 28px; height: 28px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(0,196,180,.12);
    opacity: 1;
    align-self: start;
    margin-top: 2px;
  }
  .addr-row__pin svg { width: 14px; height: 14px; }
  .addr-row__tag {
    font-size: 13px;
    padding-right: 0;
    margin: 0;
    line-height: 1.3;
  }
  .addr-row__txt { font-size: 12.5px; line-height: 1.4; }

  /* Contact hero mobile — full width phone pills */
  .contact-hero { padding: 14px 12px; gap: 14px; }
  .contact-hero__ico { width: 42px; height: 42px; }
  .contact-hero__ico svg { width: 18px; height: 18px; }
  .contact-hero__phones { display: grid; grid-template-columns: 1fr; gap: 6px; width: 100%; }
  .contact-hero__phones a { justify-content: center; padding: 7px 10px; font-size: 12.5px; }
  .contact-hero__vl { font-size: 15.5px; }
  .contact-hero__lb { font-size: 11px; margin-bottom: 4px; letter-spacing: 1px; }
  /* Section headings mobile — unified */
  .cats-title,
  .products-head__title,
  .map-request__title,
  .about-light__heading,
  .testi__title,
  .blog-head__title,
  .contact-head__title { font-size: 22px; }
  .contact-head__desc { font-size: 13.5px; }
  .footer__top { padding: 48px 0; }
  .form { padding: 20px 14px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .map-request__form { padding: 20px 16px 18px; }
  .map-request__media-badge { font-size: 11.5px; padding: 6px 10px; left: 10px; bottom: 10px; }
  .map-arrow { width: 34px; height: 34px; }
  .map-arrow svg { width: 14px; height: 14px; }
  .map-arrow--prev { left: 10px; }
  .map-arrow--next { right: 10px; }
}
@media (max-width: 540px) {
  body { font-size: 14px; }
  .section-title { font-size: 20px; }
  .cats-title,
  .products-head__title,
  .map-request__title,
  .about-light__heading,
  .testi__title,
  .blog-head__title,
  .contact-head__title { font-size: 20px; }
  .project-card__info { padding: 10px 8px 10px; }
  .project-card__name { font-size: 12.5px; margin-bottom: 4px; }
  .project-card__meta li { font-size: 10.5px; }
  .project-card__meta { padding-top: 4px; }

  /* Header ultra-compact */
  .header__main { padding-block: 7px; gap: 8px; }
  .brand__img { height: 22px; }
  .header__actions { gap: 6px; }
  .header__actions .btn { padding: 6px 12px; font-size: 12px; }
  .hamburger { width: 34px; height: 34px; }
  .hamburger svg { width: 16px; height: 16px; }

  .btn { padding: 7px 14px; font-size: 12px; }
  .btn-lg { padding: 10px 20px; font-size: 13px; }

  /* Partners ultra mobile — 4 cột vẫn giữ */
  .partners-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .partner-logo { height: 45px; padding: 2px 3px; }
}

/* ============================================================
   ABOUT PAGE — ve-texacoat.html
   ============================================================ */

/* Page hero */
.page-hero {
  position: relative;
  padding: 54px 0 48px;
  background:
    linear-gradient(rgba(20,20,40,.62), rgba(20,20,40,.74)),
    url('https://texacoat.vn/wp-content/uploads/2024/06/TRC_6283-scaled.jpg') center/cover no-repeat,
    var(--brand-primary);
  color: var(--white);
  overflow: hidden;
}
.page-hero::before,
.page-hero::after { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  color: var(--ink-500);
}
.breadcrumb a { color: var(--ink-600); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb__current { color: var(--ink-900); font-weight: 600; }

/* Breadcrumb trên nền gradient (page-hero) → màu trắng */
.page-hero .breadcrumb { color: rgba(255,255,255,.7); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.85); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero .breadcrumb__current { color: var(--white); }
.page-hero__eyebrow { color: var(--white) !important; }
.page-hero__eyebrow::before { background: var(--white) !important; }
.page-hero__title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.5px;
  margin: 6px 0 12px;
}
.page-hero__title span {
  color: var(--white);
}
.page-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  max-width: 640px;
}

/* Section heading (reused across about page) */
.ab-heading {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -.4px;
  color: var(--ink-900);
}
.ab-heading span {
  color: var(--ink-900);
  padding: 0.08em 0.02em 0;
  margin: -0.08em -0.02em 0;
}
.ab-heading--center { text-align: center; }
.ab-section-head { text-align: center; margin-bottom: 34px; }
.ab-section-head__desc {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.65;
  max-width: 600px;
  margin: 12px auto 0;
}

/* Thư ngỏ */
.letter { padding: 60px 0; }
.letter__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.letter__person {
  position: sticky;
  top: 100px;
  text-align: center;
}
.letter__photo {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink-100);
  box-shadow: 0 18px 40px rgba(77,46,144,.18);
}
.letter__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.letter__person-info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.letter__sign {
  font-size: 14px;
  font-style: italic;
  color: var(--ink-500);
}
.letter__name {
  font-size: 19px;
  font-weight: 800;
  color: var(--brand-primary);
  letter-spacing: -.2px;
}
.letter__role {
  font-size: 13px;
  color: var(--ink-500);
}
.letter__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.4px;
  color: var(--ink-900);
  margin: 8px 0 20px;
}
.letter__title span {
  color: var(--ink-900);
}
.letter__body p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-700);
  margin-bottom: 14px;
}
.letter__body p:last-child { margin-bottom: 0; }
.letter__body strong { color: var(--brand-primary); font-weight: 700; }

/* Giới thiệu + images */
.ab-intro { padding: 60px 0; }
.ab-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.ab-intro__media {
  position: relative;
  padding-bottom: 30px;
  padding-right: 30px;
}
.ab-intro__img { display: block; border-radius: 0; object-fit: cover; }
.ab-intro__img--big {
  width: 100%;
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 40px rgba(77,46,144,.16);
}
.ab-intro__img--small {
  position: absolute;
  right: 0; bottom: 0;
  width: 52%;
  aspect-ratio: 4 / 3;
  border: 5px solid var(--white);
  box-shadow: 0 14px 30px rgba(77,46,144,.18);
}
.ab-intro__badge {
  position: absolute;
  left: 10px; top: 10px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: 0 12px 26px rgba(77,46,144,.28);
  text-align: center;
  z-index: 2;
}
.ab-intro__badge strong { display: block; font-size: 26px; font-weight: 800; line-height: 1; }
.ab-intro__badge span { font-size: 11.5px; opacity: .9; }
.ab-intro__lead {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-600);
  margin: 8px 0 18px;
}
.ab-checklist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ab-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
}
.ab-checklist strong { color: var(--brand-primary); }
.ab-checklist__ico {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 999px;
  background: rgba(0,196,180,.14);
  color: var(--brand-accent);
  display: grid; place-items: center;
  margin-top: 1px;
}
.ab-checklist__ico svg { width: 13px; height: 13px; }
.ab-intro__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Tầm nhìn & Sứ mệnh */
.ab-vm { padding: 60px 0; }
.ab-vm__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ab-vm__card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}
.ab-vm__card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ab-vm__ico {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--brand-primary);
  color: var(--white);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.ab-vm__ico svg { width: 24px; height: 24px; }
.ab-vm__title {
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 10px;
}
.ab-vm__text { font-size: 14.5px; line-height: 1.7; color: var(--ink-600); }
.ab-vm__text strong { color: var(--brand-primary); }

/* 4 trụ cột */
.ab-pillars { padding: 60px 0; }
.ab-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ab-pillar {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px 22px 24px;
  overflow: hidden;
  transition: var(--t-base);
}
.ab-pillar:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.ab-pillar__num {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 38px;
  font-weight: 800;
  color: var(--ink-100);
  line-height: 1;
  z-index: 0;
}
.ab-pillar__ico {
  position: relative;
  z-index: 1;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: rgba(77,46,144,.08);
  color: var(--brand-primary);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.ab-pillar__ico svg { width: 24px; height: 24px; }
.ab-pillar__title {
  position: relative;
  z-index: 1;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.ab-pillar__text {
  position: relative;
  z-index: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-600);
}
.ab-pillars__grid--3 { grid-template-columns: repeat(3, 1fr); }
.ab-pillar__list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 9px;
}
.ab-pillar__list li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-600);
}
.ab-pillar__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 999px;
  background: var(--brand-accent);
}
.ab-pillar__list strong { color: var(--brand-primary); }

/* Giá trị cốt lõi */
.ab-values { padding: 60px 0; }
.ab-values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.ab-value {
  text-align: center;
  padding: 30px 22px 26px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  transition: var(--t-base);
}
.ab-value:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.ab-value__letter {
  display: inline-grid;
  place-items: center;
  width: 60px; height: 60px;
  border-radius: 999px;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
  box-shadow: 0 10px 24px rgba(77,46,144,.24);
}
.ab-value__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.ab-value__text { font-size: 13.5px; line-height: 1.65; color: var(--ink-600); }

/* Academy — chương trình split (image + steps) */
.hv-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
}
.hv-split__media {
  border-radius: 0;
  overflow: hidden;
  align-self: stretch;
  background: var(--ink-100);
}
.hv-split__media img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.hv-split__content { display: grid; gap: 18px; }
.hv-step { display: flex; gap: 14px; }
.hv-step__ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--white);
  display: grid; place-items: center;
}
.hv-step__ico svg { width: 22px; height: 22px; }
.hv-step__title { font-size: 16px; font-weight: 800; color: var(--ink-900); margin-bottom: 8px; }

/* Academy — Hình thức học (text box + 2 ảnh) */
.hv-method { padding: 60px 0; }
.hv-method__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}
.hv-method__text {
  background: var(--white);
  border: 1px solid var(--brand-primary-3);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
}
.hv-method__text p { font-size: 14.5px; line-height: 1.75; color: var(--ink-700); margin-bottom: 16px; }
.hv-method__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hv-method__img {
  display: block;
  border-radius: 0;
  overflow: hidden;
  background: var(--ink-100);
}
.hv-method__img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; transition: transform var(--t-slow); }
.hv-method__img:hover img { transform: scale(1.04); }

/* Academy — Khóa đào tạo dành cho ai (3 thẻ header tím + ảnh) */
.hv-who { padding: 60px 0; }
.hv-who__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-who-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  overflow: hidden;
  transition: var(--t-base);
}
.hv-who-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.hv-who-card__head {
  background: var(--brand-primary);
  color: var(--white);
  padding: 18px 20px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hv-who-card__media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-100); }
.hv-who-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow); }
.hv-who-card:hover .hv-who-card__media img { transform: scale(1.05); }

/* Academy register block (text + image) */
.hv-register { padding: 20px 0 70px; }
.hv-register__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hv-register__media { align-self: stretch; }
.hv-register__media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.hv-register__body { padding: 32px 36px 32px 8px; }
.hv-register__desc { font-size: 14.5px; line-height: 1.75; color: var(--ink-600); margin: 12px 0 22px; }
.hv-register__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .hv-split { grid-template-columns: 1fr; gap: 24px; }
  .hv-split__media img { min-height: 240px; }
  .hv-method__grid { grid-template-columns: 1fr; gap: 20px; }
  .hv-who__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .hv-register__grid { grid-template-columns: 1fr; }
  .hv-register__body { padding: 26px 24px 30px; }
  .hv-register__media img { min-height: 220px; }
  .hv-method, .hv-who, .hv-register { padding: 44px 0; }
}
@media (max-width: 720px) {
  .hv-method__imgs { grid-template-columns: 1fr 1fr; }
  .hv-method__img img { min-height: 180px; }
  .hv-who__grid { grid-template-columns: 1fr; }
  .hv-who-card__head { min-height: 0; font-size: 14.5px; padding: 14px 16px; }
}

/* CTA */
.ab-cta { padding: 20px 0 70px; }
.ab-cta__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  background:
    linear-gradient(rgba(20,20,40,.72), rgba(20,20,40,.78)),
    url('https://texacoat.vn/wp-content/uploads/2024/06/TRC_6283-scaled.jpg') center/cover no-repeat,
    var(--brand-primary);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  color: var(--white);
  box-shadow: 0 22px 50px rgba(77,46,144,.26);
}
.ab-cta__title { font-size: 24px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; }
.ab-cta__desc { font-size: 14.5px; color: rgba(255,255,255,.85); line-height: 1.6; }
.ab-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .letter__inner { grid-template-columns: 260px 1fr; gap: 28px; }
  .ab-intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .ab-intro__media { max-width: 560px; }
  .ab-vm__grid { grid-template-columns: 1fr; }
  .ab-pillars__grid,
  .ab-pillars__grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ab-values__grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 44px 0 40px; }
  .page-hero__title { font-size: 32px; }
  .letter, .ab-intro, .ab-vm, .ab-pillars, .ab-values { padding: 48px 0; }
}
@media (max-width: 720px) {
  .letter__inner { grid-template-columns: 1fr; gap: 24px; }
  .letter__person {
    position: static;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: center;
    text-align: left;
  }
  .letter__photo { aspect-ratio: 1 / 1; }
  .letter__person-info { margin-top: 0; }
  .ab-heading { font-size: 24px; }
  .letter__title { font-size: 22px; }
  .page-hero__title { font-size: 28px; }
  .page-hero__desc { font-size: 14px; }
  .ab-cta__box { padding: 26px 22px; }
  .ab-cta__title { font-size: 20px; }
  .ab-cta__actions { width: 100%; }
  .ab-cta__actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 540px) {
  .ab-pillars__grid,
  .ab-pillars__grid--3,
  .ab-values__grid { grid-template-columns: 1fr; }
  .letter__person { grid-template-columns: 96px 1fr; }
  .ab-heading, .ab-heading--center { font-size: 22px; }
}

/* ============================================================
   CONTACT PAGE — lien-he.html
   ============================================================ */
.ct-main { padding: 60px 0; }
.ct-main__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.ct-form { margin: 0; }
.ct-form .form__field select { cursor: pointer; }

/* Info column */
.ct-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ct-info__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}
.ct-info__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ct-info__ico {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--white);
  display: grid; place-items: center;
}
.ct-info__ico svg { width: 20px; height: 20px; }
.ct-info__body { min-width: 0; }
.ct-info__lb {
  display: block;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 8px;
}
.ct-info__lines { display: grid; gap: 4px; }
.ct-info__lines a {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: .2px;
}
.ct-info__lines a:hover { color: var(--brand-accent); }
.ct-info__txt { font-size: 14px; color: var(--ink-700); line-height: 1.6; }

.ct-info__social {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.ct-info__social-row { display: flex; gap: 10px; margin-top: 10px; }
.ct-info__social-row a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--brand-primary);
  display: grid; place-items: center;
  transition: var(--t-base);
}
.ct-info__social-row a:hover {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
  transform: translateY(-2px);
}
.ct-info__social-row a svg { width: 18px; height: 18px; }

/* Address section */
.ct-address { padding: 56px 0 64px; }

/* Google Map */
.ct-map {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.ct-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

@media (max-width: 900px) {
  .ct-main__grid { grid-template-columns: 1fr; gap: 24px; }
  .ct-main { padding: 48px 0; }
  .ct-address { padding: 44px 0 52px; }
}
@media (max-width: 720px) {
  .ct-form { padding: 22px 18px 20px; }
  .ct-form .form__row { grid-template-columns: 1fr; }
  .ct-info__lines a { font-size: 14px; }
  .ct-map iframe { height: 300px; }
}

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,1.15,.36,1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   SHARED — Inner pages (category, product, news, etc.)
   ============================================================ */

/* Category hero (bg image, centered) */
.cat-hero {
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 56px 0 50px;
}
.breadcrumb--light { justify-content: center; color: rgba(255,255,255,.75); }
.breadcrumb--light a { color: rgba(255,255,255,.9); }
.breadcrumb--light .breadcrumb__current { color: var(--white); }
.cat-hero__title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 8px 0 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,.4);
}
.cat-hero__desc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,.86);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== SHOP (category) layout ===== */
.shop { padding: 48px 0 64px; }
.shop__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.shop__sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.shop-widget {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.shop-widget__title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink-900);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}
.shop-search { position: relative; }
.shop-search input {
  width: 100%;
  height: 44px;
  padding: 0 46px 0 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--ink-50);
  font-size: 14px;
}
.shop-search input:focus { outline: none; border-color: var(--brand-accent); background: var(--white); box-shadow: 0 0 0 4px rgba(0,196,180,.15); }
.shop-search button {
  position: absolute; right: 4px; top: 4px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: var(--white);
  display: grid; place-items: center;
}
.shop-search button svg { width: 16px; height: 16px; }

.cat-tree { list-style: none; margin: 0; padding: 0; }
.cat-tree__item > a,
.cat-tree__row > a {
  display: block;
  padding: 9px 10px;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-800);
  border-radius: 8px;
}
.cat-tree__item > a:hover,
.cat-tree__row > a:hover { background: var(--ink-50); color: var(--brand-primary); }
/* Parent row: link + collapsible toggle. Collapsed by default; only the active branch opens. */
.cat-tree__row { display: flex; align-items: center; gap: 2px; }
.cat-tree__row > a { flex: 1 1 auto; }
.cat-tree__toggle {
  flex: 0 0 auto;
  width: 36px; align-self: stretch;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: var(--ink-400); border-radius: 8px;
}
.cat-tree__toggle:hover { background: var(--ink-50); color: var(--brand-primary); }
.cat-tree__toggle svg { width: 14px; height: 14px; transition: transform .25s ease; }
.cat-tree__item--open > .cat-tree__row .cat-tree__toggle svg { transform: rotate(180deg); }
.cat-tree__sub { display: none; list-style: none; margin: 2px 0 6px; padding: 0 0 0 12px; border-left: 2px solid var(--border); }
.cat-tree__item--open > .cat-tree__sub { display: block; }
.cat-tree__sub a {
  display: block;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--ink-600);
  border-radius: 6px;
}
.cat-tree__sub a:hover { color: var(--brand-primary); }
.cat-tree__sub .is-current a { color: var(--brand-primary); font-weight: 700; background: rgba(77,46,144,.06); }

.shop-widget--cta { background: var(--brand-gradient-soft); border-color: transparent; }
.shop-widget--cta p { font-size: 13px; color: var(--ink-600); line-height: 1.6; margin-bottom: 14px; }
.shop-widget__phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 10px;
  font-weight: 800;
  color: var(--brand-primary);
  font-size: 15px;
}
.shop-widget__phone svg { width: 16px; height: 16px; }

.shop__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.shop__count { font-size: 13.5px; color: var(--ink-600); }
.shop__sort { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-600); }
.shop__sort select { padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--white); font-size: 13.5px; cursor: pointer; }

.products--shop { grid-template-columns: repeat(4, 1fr); }
.products--shop .product-card { display: block; color: inherit; }
.products--shop .product-card__body,
.products--shop .product-card__name { display: block; }

.shop-pager { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.shop-pager__btn {
  min-width: 40px; height: 40px;
  padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-700);
}
.shop-pager__btn:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.shop-pager__btn.is-active { background: var(--brand-primary); color: var(--white); border-color: var(--brand-primary); }
.shop-pager__btn svg { width: 14px; height: 14px; }

.cat-desc { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border-soft); }
.cat-desc__title { font-size: 22px; font-weight: 800; color: var(--ink-900); margin-bottom: 12px; }
.cat-desc__sub { font-size: 17px; font-weight: 700; color: var(--ink-900); margin: 20px 0 10px; }
.cat-desc p { font-size: 14.5px; line-height: 1.75; color: var(--ink-600); margin-bottom: 12px; }
.cat-desc strong { color: var(--brand-primary); }
.cat-desc__list { margin: 0 0 12px; padding-left: 20px; }
.cat-desc__list li { font-size: 14.5px; line-height: 1.7; color: var(--ink-600); margin-bottom: 6px; }

/* ===== PRODUCT DETAIL ===== */
.pd { padding: 32px 0 64px; }
.pd__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 18px 0 40px;
}
.pd__main-img {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--ink-100);
  border: 1px solid var(--border-soft);
  cursor: zoom-in;
}
.pd__main-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pd__main-img:hover img { transform: scale(1.04); }
.pd__main-img::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(14,14,44,.55) center/18px 18px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
  opacity: 0; transition: opacity .2s ease; pointer-events: none;
}
.pd__main-img:hover::after { opacity: 1; }
.pd__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd__thumb {
  width: 80px; height: 80px;
  border-radius: 0;
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--ink-100);
  cursor: pointer;
  padding: 0;
  transition: var(--t-base);
}
.pd__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd__thumb.is-active { border-color: var(--brand-primary); }

.pd__title { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: var(--ink-900); line-height: 1.25; margin-bottom: 12px; }
.pd__short { font-size: 15px; line-height: 1.7; color: var(--ink-600); margin-bottom: 20px; }
.pd__meta { display: grid; gap: 0; border: 1px solid var(--border-soft); border-radius: var(--radius); overflow: hidden; margin-bottom: 22px; }
.pd__meta-row { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 16px; font-size: 13.5px; }
.pd__meta-row:nth-child(odd) { background: var(--ink-50); }
.pd__meta-lb { color: var(--ink-500); font-weight: 600; }
.pd__meta-vl { color: var(--ink-800); font-weight: 600; }

/* Variable-product variation selectors (catalogue: choices visible, no cart) */
.pd__variations { margin-bottom: 22px; }
.pd__variations .variations_form { margin: 0; }
.woocommerce div.product form.cart {
  margin: 0 !important;
}
/* Hide everything purchase-related — price, availability, qty, add-to-cart. */
.pd__variations .single_variation_wrap,
.pd__variations .woocommerce-variation-add-to-cart,
.pd__variations .quantity,
.pd__variations .single_add_to_cart_button { display: none !important; }
/* Flatten WooCommerce's variations table into stacked label + control. */
.pd__variations table.variations,
.pd__variations table.variations tbody,
.pd__variations table.variations tr,
.pd__variations table.variations th,
.pd__variations table.variations td { display: block; width: auto; padding: 0; border: 0; background: none; }
.pd__variations table.variations tr { margin-bottom: 14px; }
.pd__variations table.variations tr:last-child {
  margin-bottom: 0 !important;
}
.woocommerce div.product form.cart .variations {
  margin-bottom: 0;
}
.pd__variations table.variations th.label { margin-bottom: 7px; }
.pd__variations table.variations th.label label { font-size: 12.5px; font-weight: 700; color: var(--ink-700); margin: 0; }
.pd__variations select {
  width: 100%; padding: 12px 40px 12px 14px; border-radius: 10px;
  border: 1px solid var(--border);
  /* longhand !important keeps WooCommerce's own chevron (set via the
     `background` shorthand) while still applying our fill colour. */
  background-color: var(--ink-50) !important;
  font-size: 14px; color: var(--ink-800); cursor: pointer; transition: var(--t-base);
}
.pd__variations select:focus {
  outline: none; border-color: var(--brand-accent);
  background-color: var(--white) !important;
  box-shadow: 0 0 0 4px rgba(0,196,180,.15);
}
.pd__variations .reset_variations {
  display: inline-block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--brand-primary);
}
.pd__variations .reset_variations:hover { color: var(--brand-primary-2); }
.pd__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.pd__assure { display: flex; flex-wrap: wrap; gap: 16px 22px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
.pd__assure-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-700); }
.pd__assure-item svg { width: 18px; height: 18px; color: var(--brand-accent); }

.pd-tabs { margin-bottom: 48px; }
.pd-tabs__nav { display: flex; gap: 6px; border-bottom: 2px solid var(--border-soft); margin-bottom: 22px; }
.pd-tab {
  padding: 12px 22px;
  background: none; border: 0;
  font-weight: 700; font-size: 15px;
  color: var(--ink-500);
  cursor: pointer;
  position: relative;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--t-base);
}
.pd-tab.is-active { color: var(--brand-primary); border-bottom-color: var(--brand-primary); }
.pd-panel { display: none; }
.pd-panel.is-active { display: block; animation: pdFade .35s ease; }
@keyframes pdFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pd-panel p { font-size: 14.5px; line-height: 1.8; color: var(--ink-600); margin-bottom: 12px; }
.pd-panel ul { margin: 0 0 12px; padding-left: 20px; }
.pd-panel li { font-size: 14.5px; line-height: 1.7; color: var(--ink-600); margin-bottom: 5px; }
.pd-reviews__empty { font-size: 14.5px; color: var(--ink-500); margin-bottom: 16px; }

/* ===== NEWS ===== */
.news-list { padding: 50px 0 64px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.news-grid--3 { grid-template-columns: repeat(3, 1fr); }
.news-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  overflow: hidden;
  transition: var(--t-base);
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.news-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-100); }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--brand-primary);
  color: var(--white);
  font-size: 11.5px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
}
.news-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card__date { font-size: 12px; color: var(--ink-400); font-weight: 600; }
.news-card__title { font-size: 16.5px; font-weight: 700; line-height: 1.4; letter-spacing: -.2px; }
.news-card__title a { color: var(--ink-900); }
.news-card:hover .news-card__title a { color: var(--brand-primary); }
.news-card__excerpt { font-size: 13.5px; line-height: 1.65; color: var(--ink-600); flex: 1; }
.news-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--brand-accent); margin-top: 4px; }
.news-card__more svg { width: 14px; height: 14px; transition: transform var(--t-base); }
.news-card:hover .news-card__more svg { transform: translateX(3px); }

/* ===== POST (news detail) ===== */
/* Single-post article only — scoped so loop cards (which post_class() also tags
   with `post`) don't inherit this vertical padding. */
.single .post { padding: 32px 0 64px; }
.post__head { margin: 18px 0 22px; }
.post__cat { display: inline-block; background: rgba(77,46,144,.08); color: var(--brand-primary); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.post__title { font-size: 32px; font-weight: 800; line-height: 1.25; letter-spacing: -.5px; color: var(--ink-900); margin-bottom: 16px; }
.post__meta { display: flex; flex-wrap: wrap; gap: 18px; }
.post__meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-500); }
.post__meta-item svg { width: 15px; height: 15px; }
.post__cover { border-radius: 0; overflow: hidden; margin-bottom: 28px; aspect-ratio: 16 / 8; background: var(--ink-100); }
.post__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__body h2 { font-size: 22px; font-weight: 800; color: var(--ink-900); margin: 26px 0 12px; }
.post__body p { font-size: 16px; line-height: 1.85; color: var(--ink-700); margin-bottom: 16px; }
.post__body ul { margin: 0 0 16px; padding-left: 22px; }
.post__body li { font-size: 16px; line-height: 1.75; color: var(--ink-700); margin-bottom: 6px; }
.post__body strong { color: var(--brand-primary); }
.post__body blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--brand-accent);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
  font-size: 15.5px;
  font-style: italic;
  color: var(--ink-700);
  line-height: 1.7;
}
.post__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin: 30px 0;
  padding: 18px 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.post__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post__tag { font-size: 13px; font-weight: 600; color: var(--ink-600); background: var(--ink-50); padding: 6px 12px; border-radius: 999px; }
.post__tag:hover { background: var(--brand-primary); color: var(--white); }
.post__share { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-600); }
.post__share a { width: 36px; height: 36px; border-radius: 999px; background: var(--ink-50); display: grid; place-items: center; color: var(--brand-primary); transition: var(--t-base); }
.post__share a:hover { background: var(--brand-primary); color: var(--white); }
.post__share a svg { width: 16px; height: 16px; }

/* Author box */
.author-box {
  display: flex; gap: 20px; align-items: flex-start;
  margin: 32px 0; padding: 24px;
  background: var(--bg-soft); border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
}
.author-box__avatar { flex: 0 0 auto; display: block; }
.author-box__img { width: 76px; height: 76px; border-radius: 999px; object-fit: cover; display: block; }
.author-box__body { min-width: 0; }
.author-box__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-accent); }
.author-box__name { font-size: 18px; font-weight: 800; line-height: 1.3; margin: 3px 0 7px; }
.author-box__name a { color: var(--ink-900); }
.author-box__name a:hover { color: var(--brand-primary); }
.author-box__bio { font-size: 14px; line-height: 1.7; color: var(--ink-600); margin: 0 0 10px; }
.author-box__link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--brand-primary); }
.author-box__link svg { width: 15px; height: 15px; transition: transform var(--t-base); }
.author-box__link:hover svg { transform: translateX(3px); }
@media (max-width: 560px) { .author-box { flex-direction: column; gap: 14px; } }

/* ===== COMMENTS — list + reply form (these live inside the article, so
   cancel the global `section { padding:64px 0 }`). ===== */
.comments { margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--border-soft); }
.comments__title { font-size: 20px; font-weight: 800; color: var(--ink-900); margin-bottom: 18px; }
.comments__title small, .comments__title #cancel-comment-reply-link {
  font-size: 13px; font-weight: 600; margin-left: 8px;
}
.comments__title #cancel-comment-reply-link { color: var(--brand-primary); }

/* ---- Comment list ---- */
.commentlist { list-style: none; margin: 0 0 36px; padding: 0; }
.commentlist .children { list-style: none; margin: 16px 0 0; padding: 0 0 0 28px; border-left: 2px solid var(--border-soft); }
.commentlist li.comment { margin: 0 0 16px; }
.commentlist .children li.comment { margin: 16px 0 0; }
.comment-body {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.comment-body .avatar {
  grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 999px;
  object-fit: cover; display: block;
}
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.comment-author { display: inline-flex; align-items: center; gap: 8px; }
.comment-author .fn { font-style: normal; font-size: 15px; font-weight: 800; color: var(--ink-900); }
.comment-author .fn a { color: var(--ink-900); }
.comment-author .fn a:hover { color: var(--brand-primary); }
.comment-author .says { display: none; }
.comment-metadata { font-size: 12.5px; }
.comment-metadata a { color: var(--ink-500); }
.comment-metadata a:hover { color: var(--brand-primary); }
.comment-content { grid-column: 2; font-size: 15px; line-height: 1.7; color: var(--ink-700); }
.comment-content p { margin: 0 0 10px; }
.comment-content p:last-child { margin-bottom: 0; }
.comment-content a { color: var(--brand-primary); text-decoration: underline; }
.comment-awaiting-moderation { display: block; font-size: 12.5px; font-style: italic; color: var(--ink-500); margin-top: 6px; }
.commentlist .bypostauthor > .comment-body { border-color: var(--brand-accent); background: var(--brand-gradient-soft); }
/* Reply / edit links */
.reply { grid-column: 2; margin-top: 4px; }
.comment-reply-link, .comment-edit-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 700; color: var(--brand-primary);
}
.comment-reply-link:hover, .comment-edit-link:hover { color: var(--brand-primary-2); }
.comment-edit-link { color: var(--ink-500); margin-left: 12px; }

/* Pingbacks / trackbacks (no avatar grid) */
.commentlist li.pingback, .commentlist li.trackback { margin: 0 0 12px; }
.commentlist li.pingback .comment-body, .commentlist li.trackback .comment-body { display: block; font-size: 14px; color: var(--ink-600); }

/* ---- Reply form ---- */
#respond { background: var(--white); }
.comments__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comments__form > * { grid-column: 1 / -1; margin: 0; }
.comments__form .comment-notes, .comments__form .logged-in-as {
  font-size: 13px; color: var(--ink-500); line-height: 1.6;
}
.comments__form .required-field-message { display: inline-block; }
.comments__form .required { color: #E5436F; }
.comments__form .comment-form-author { grid-column: 1 / 2; }
.comments__form .comment-form-email { grid-column: 2 / 3; }
/* Style the author/email/url paragraphs like the theme's .form__field */
.comments__form .comment-form-author label,
.comments__form .comment-form-email label,
.comments__form .comment-form-url label {
  display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 7px;
}
.comments__form .comment-form-author input,
.comments__form .comment-form-email input,
.comments__form .comment-form-url input {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--ink-50);
  font-size: 14px; color: var(--ink-800); transition: var(--t-base);
}
.comments__form .comment-form-author input:focus,
.comments__form .comment-form-email input:focus,
.comments__form .comment-form-url input:focus {
  outline: none; border-color: var(--brand-accent); background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,196,180,.15);
}
.comments__form .comment-form-cookies-consent {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--ink-600); line-height: 1.5;
}
.comments__form .comment-form-cookies-consent input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-primary); flex: 0 0 auto; }
.comments__form .comment-form-cookies-consent label { margin: 0; }
.comments__form .form-submit { margin-top: 4px; }
.comments__form .form-submit .btn { margin-top: 0; }
@media (max-width: 560px) {
  .comments__form { grid-template-columns: 1fr; }
  .comments__form .comment-form-author, .comments__form .comment-form-email { grid-column: 1 / -1; }
  .commentlist .children { padding-left: 16px; }
}

.post-related { margin-top: 40px; padding: 0; }

/* ===== SINGLE PROJECT (cpt_portfolio) — sticky info + content ===== */
.proj-detail { padding: 40px 0 64px; }
.proj-detail__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 44px;
  align-items: start;
}
.proj-detail__aside { position: sticky; top: 100px; }
.proj-info {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px 24px 22px;
}
.proj-info__title { font-size: 18px; font-weight: 800; color: var(--ink-900); margin: 0 0 14px; }
.proj-info__list { list-style: none; margin: 0 0 18px; padding: 0; }
.proj-info__row {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}
.proj-info__row:last-child { border-bottom: 0; }
.proj-info__lb { font-size: 13px; font-weight: 700; color: var(--ink-700); }
.proj-info__vl { font-size: 14px; color: var(--ink-600); line-height: 1.55; }
.proj-info__cta { width: 100%; justify-content: center; }
.proj-detail__cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 24px; background: var(--ink-100); }
.proj-detail__cover img { width: 100%; height: auto; display: block; }
@media (max-width: 900px) {
  .proj-detail__grid { grid-template-columns: 1fr; gap: 26px; }
  .proj-detail__aside { position: static; }
}

/* ===== CATALOGUE (image + title + link) ===== */
.cata { padding: 54px 0 64px; }
.cata__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.cata-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--t-base);
}
.cata-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.cata-card__cover {
  position: relative;
  display: block;
  aspect-ratio: 600 / 848;
  overflow: hidden;
  background: var(--ink-100);
}
.cata-card__cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--t-slow); }
.cata-card:hover .cata-card__cover img { transform: scale(1.04); }
.cata-card__overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(77,46,144,.5);
  color: var(--white);
  opacity: 0; transition: var(--t-base);
}
.cata-card__cover:hover .cata-card__overlay { opacity: 1; }
.cata-card__overlay svg { width: 36px; height: 36px; }
.cata-card__body {
  padding: 16px 16px 18px;
  display: flex; flex-direction: column; gap: 12px;
  text-align: center;
  flex: 1;
}
.cata-card__title { font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.4; flex: 1; }
.cata-card__body .btn { width: 100%; justify-content: center; }
.cata__note { text-align: center; font-size: 13.5px; color: var(--ink-500); margin-top: 28px; }
.cata__note a { color: var(--brand-primary); font-weight: 700; }

/* ===== DEFAULT PAGE (rte) ===== */
.page-default { padding: 50px 0 64px; }
.rte__lead { font-size: 18px; line-height: 1.7; color: var(--ink-700); font-weight: 500; margin-bottom: 22px; }
.rte h2 { font-size: 24px; font-weight: 800; color: var(--ink-900); margin: 28px 0 12px; }
.rte h3 { font-size: 19px; font-weight: 700; color: var(--ink-900); margin: 22px 0 10px; }
.rte p { font-size: 16px; line-height: 1.85; color: var(--ink-700); margin-bottom: 16px; }
.rte ul, .rte ol { margin: 0 0 16px; padding-left: 24px; }
.rte li { font-size: 16px; line-height: 1.75; color: var(--ink-700); margin-bottom: 6px; }
.rte strong { color: var(--brand-primary); }
.rte code { background: var(--ink-100); padding: 2px 7px; border-radius: 6px; font-size: 14px; color: var(--brand-primary); }
.rte blockquote { margin: 22px 0; padding: 18px 22px; border-left: 4px solid var(--brand-accent); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-size: 16px; font-style: italic; color: var(--ink-700); }
.rte__figure { margin: 24px 0; }
.rte__figure img { width: 100%; border-radius: 0; display: block; }
.rte__figure figcaption { text-align: center; font-size: 13px; color: var(--ink-500); margin-top: 8px; }
.rte__table-wrap { overflow-x: auto; margin-bottom: 16px; }
.rte table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.rte th, .rte td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.rte th { background: var(--brand-primary); color: var(--white); font-weight: 700; }
.rte tbody tr:nth-child(even) { background: var(--ink-50); }

/* ===== MAP LIBRARY ===== */
.maplib { padding: 54px 0; }
.maplib__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.map-item {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  overflow: hidden;
  transition: var(--t-base);
}
.map-item:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.map-item__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink-100); }
.map-item__img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.map-item:hover .map-item__img img { transform: scale(1.05); }
.map-item__zoom {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(14,14,44,.36);
  opacity: 0; transition: var(--t-base);
}
.map-item__img:hover .map-item__zoom { opacity: 1; }
.map-item__zoom svg { width: 30px; height: 30px; color: var(--white); }
.map-item__body { padding: 14px 16px 16px; }
.map-item__name { font-size: 14.5px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px; }
.map-item__name span { color: var(--brand-primary); }
.map-item__drive {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700;
  color: var(--brand-accent);
}
.map-item__drive svg { width: 15px; height: 15px; }
.map-item__drive:hover { color: var(--brand-primary); }

.mapcol__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mapcol-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 0;
  padding: 24px 22px;
  color: inherit;
  transition: var(--t-base);
}
.mapcol-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.mapcol-card__ico {
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--brand-primary);
  color: var(--white);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.mapcol-card__ico svg { width: 24px; height: 24px; }
.mapcol-card__name { font-size: 16px; font-weight: 800; color: var(--ink-900); margin-bottom: 4px; }
.mapcol-card__sub { font-size: 12.5px; color: var(--ink-500); margin-bottom: 14px; }
.mapcol-card__cta { font-size: 13px; font-weight: 700; color: var(--brand-primary); margin-top: auto; }

/* ===== Lightbox ([data-lightbox] popup: MAP library, academy, …) =====
   The product gallery uses the .entry-lightbox system (js/entry-lightbox.js)
   instead — keep these two separate so they don't stack into two popups. */
.lightbox {
  position: fixed; inset: 0;
  z-index: 400;
  display: grid; place-items: center;
  padding: 30px;
  background: rgba(0,0,0,.85);
  backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 22px; right: 26px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  display: grid; place-items: center;
  cursor: pointer;
}
.lightbox__close svg { width: 20px; height: 20px; }

/* ============================================================
   Inner pages — Responsive
   ============================================================ */
@media (max-width: 1180px) {
  .products--shop { grid-template-columns: repeat(3, 1fr); }
  .maplib__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .shop__grid { grid-template-columns: 1fr; }
  .shop__sidebar { position: static; grid-template-columns: 1fr 1fr; display: grid; gap: 16px; }
  .shop-widget--cta { grid-column: 1 / -1; }
  .pd__grid { grid-template-columns: 1fr; gap: 24px; }
  .cata__grid { grid-template-columns: repeat(3, 1fr); }
  .mapcol__grid { grid-template-columns: repeat(2, 1fr); }
  .cat-hero__title, .post__title { font-size: 30px; }
}
@media (max-width: 720px) {
  .cat-hero { padding: 40px 0 36px; }
  .cat-hero__title { font-size: 26px; }
  .products--shop { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop__sidebar { grid-template-columns: 1fr; }
  .news-grid, .news-grid--3 { grid-template-columns: 1fr; gap: 16px; }
  .maplib__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mapcol__grid { grid-template-columns: 1fr; }
  .cata__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .pd__meta-row { grid-template-columns: 110px 1fr; }
  .pd__thumb { width: 64px; height: 64px; }
  .post__title { font-size: 24px; }
  .post__body p, .post__body li, .rte p, .rte li { font-size: 15px; }
  .pd-tab { padding: 10px 16px; font-size: 14px; }
}
@media (max-width: 540px) {
  .products--shop { gap: 10px; }
  .maplib__grid { gap: 10px; }
}
