/* ═══════════════════════════════════════════════════════════
   CAPTAINS TOWN — styles.css v2
   Stack: GSAP 3.15 + Lenis + Vanilla JS
   Design: Cinematic Dark · Bebas Neue × Cormorant × Jost
   ═══════════════════════════════════════════════════════════ */

/* 0. SVG ICON SYSTEM — global icon rules */
svg use { pointer-events: none; }
.icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-icon svg { color: var(--brand); }
.c-icon { color: var(--brand); }
/* Port-bg fills its container */
.port-bg { position: absolute; inset: 0; }
.port-bg svg { width: 100%; height: 100%; display: block; }
/* Blog thumb fills */
.blog-thumb svg { width: 100%; height: 100%; display: block; }
/* About img box fills */
.about-img-box svg { position: absolute; inset: 0; }

/* 1. TOKENS */
:root {
  --brand:        #b52828;
  --brand-dark:   #8a1c1c;
  --brand-glow:   rgba(181, 40, 40, 0.18);
  --accent:       #c9a55a;
  --accent-dim:   rgba(201,165,90,.12);

  --bg:           #060606;
  --surface:      #0d0d0d;
  --surface-2:    #141414;
  --surface-3:    #1c1c1c;
  --dark:         #030303;

  --text:         #eeeeee;
  --text-2:       #888888;
  --text-3:       #3d3d3d;
  --border:       #181818;
  --border-2:     #242424;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Lora', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Be Vietnam Pro', system-ui, sans-serif;

  --fs-xs:   0.70rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.2rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  1.875rem;
  --fs-3xl:  2.4rem;
  --fs-4xl:  3rem;
  --fs-hero: clamp(3.8rem, 9.5vw, 8.5rem);
  --fs-display: clamp(5rem, 14vw, 13rem);

  --sp-1:0.25rem; --sp-2:0.5rem;  --sp-3:0.75rem; --sp-4:1rem;
  --sp-6:1.5rem;  --sp-8:2rem;    --sp-10:2.5rem; --sp-12:3rem;
  --sp-16:4rem;   --sp-20:5rem;   --sp-24:6rem;   --sp-32:8rem;

  --r-sm: 2px; --r-md: 4px; --r-lg: 8px; --r-pill: 999px;

  --shadow-brand: 0 0 40px rgba(181,40,40,.2);
  --ease: cubic-bezier(.4,0,.2,1);
  --dur: 0.3s;
}

/* 2. RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* 3. TYPOGRAPHY */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: none;
  text-wrap: balance;
}
p { color: var(--text-2); line-height: 1.8; }

.serif {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--brand);
  flex-shrink: 0;
}

/* 4. LAYOUT */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section-header { margin-bottom: clamp(32px, 4vw, 56px); }

/* ─────────────────────────────────────────────
   CURSOR
───────────────────────────────────────────── */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 5px; height: 5px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width .25s var(--ease), height .25s var(--ease),
              border-color .25s var(--ease), background .25s var(--ease);
  will-change: transform;
}
.cursor-ring.hovering {
  width: 60px; height: 60px;
  border-color: var(--brand);
  background: rgba(181,40,40,.08);
}
@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body, a, button { cursor: auto; }
}

/* ─────────────────────────────────────────────
   FILM GRAIN
───────────────────────────────────────────── */
.grain {
  position: fixed;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  pointer-events: none;
  z-index: 9990;
  opacity: 0.045;
  animation: grain .4s steps(1) infinite;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  will-change: transform;
}
@keyframes grain {
  0%  { transform: translate(0,0); }
  10% { transform: translate(-4%,-8%); }
  20% { transform: translate(-14%,4%); }
  30% { transform: translate(6%,-22%); }
  40% { transform: translate(-4%,24%); }
  50% { transform: translate(-14%,9%); }
  60% { transform: translate(14%,0%); }
  70% { transform: translate(0%,14%); }
  80% { transform: translate(2%,30%); }
  90% { transform: translate(-9%,9%); }
}

/* ─────────────────────────────────────────────
   PAGE LOADER
───────────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99000;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.loader-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 4rem);
  letter-spacing: 0.4em;
  color: var(--text);
  opacity: 0;
  animation: fadeIn .6s .2s forwards;
}
.loader-title span { color: var(--brand); }
@keyframes fadeIn { to { opacity: 1; } }
.loader-track {
  width: 180px;
  height: 1px;
  background: rgba(255,255,255,.1);
  position: relative;
  overflow: hidden;
}
.loader-bar {
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .05s linear;
}
.loader-pct {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  color: var(--text-3);
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              backdrop-filter var(--dur);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,6,6,.88);
  border-color: var(--border);
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--text);
}
.logo-wordmark b { color: var(--brand); font-weight: 400; }
.logo-sub {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 2px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 40px;
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--brand);
  transition: right .3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-cta {
  background: var(--brand) !important;
  color: #fff !important;
  padding: .55em 1.4em !important;
  border-radius: var(--r-sm) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--brand-dark) !important; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: relative;
  z-index: 600;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--dur);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  z-index: 499;
  background: var(--dark);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 80px);
  gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  letter-spacing: 0.06em;
  color: var(--text-2);
  transition: color var(--dur);
  line-height: 1.1;
}
.mobile-menu a:hover { color: var(--brand); }
.mobile-menu-social {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-2);
  width: 100%;
}
.mobile-menu-social a {
  font-size: 11px !important;
  letter-spacing: 0.15em !important;
  color: var(--text-3) !important;
  font-family: var(--font-body) !important;
}

/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}

/* Animated background */
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 65% 35%, rgba(140,28,28,.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 5% 85%, rgba(201,165,90,.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(181,40,40,.08) 0%, transparent 50%),
    linear-gradient(170deg, #0c0203 0%, #060606 45%, #030303 100%);
  animation: bgPulse 12s ease-in-out infinite alternate;
}
@keyframes bgPulse {
  0%  { opacity: 1; }
  100% { opacity: 0.85; }
}

/* Scan lines */
.hero-scanlines {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 3px,
    rgba(0,0,0,.08) 3px,
    rgba(0,0,0,.08) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Decorative large text behind */
.hero-bg-text {
  position: absolute;
  bottom: -5%;
  right: -3%;
  font-family: var(--font-display);
  font-size: clamp(8rem, 22vw, 22rem);
  letter-spacing: 0.03em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* Vertical accent line */
.hero-vline {
  position: absolute;
  top: 0; right: 28%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.05) 30%, rgba(255,255,255,.05) 70%, transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 8vw, 110px);
  padding-top: 130px;
  max-width: 880px;
}

.hero-eyebrow {
  margin-bottom: 24px;
  opacity: 0; /* GSAP will animate */
}

.hero-title {
  font-size: var(--fs-hero);
  line-height: 1.1;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.hero-title .line {
  display: block;
}
.hero-title .line-inner {
  display: block;
  opacity: 0; /* GSAP will fade in */
}
.hero-title .outline-text {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(238,238,238,.2);
}
.hero-title .brand-text { color: var(--brand); }

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-2);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 40px;
  opacity: 0; /* GSAP */
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0; /* GSAP */
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767px) { .hero-scroll { display: none; } }
.hero-scroll span {
  font-size: 9px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-3);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: var(--border-2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand);
  animation: scrollDrop 2.4s ease-in-out infinite;
}
@keyframes scrollDrop {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .85em 2.2em;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.06);
  opacity: 0;
  transition: opacity var(--dur);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 24px rgba(181,40,40,.25);
}
.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(181,40,40,.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-2);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-accent {
  background: var(--accent);
  color: #060606;
}

/* ─────────────────────────────────────────────
   STATS
───────────────────────────────────────────── */
.stats-bar {
  background: var(--brand);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.04) 0px,
    rgba(255,255,255,.04) 1px,
    transparent 1px,
    transparent 60px
  );
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(0,0,0,.15);
  gap: 1px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
  background: var(--brand);
  padding: 32px 28px;
  text-align: center;
  position: relative;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 8px;
}

/* ─────────────────────────────────────────────
   ABOUT
───────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-layout { grid-template-columns: 1.1fr 1fr; gap: 100px; }
}

.about-img-wrap {
  position: relative;
}
.about-img-box {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-img-box img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #120404 0%, #0a0a0a 50%, #0c0505 100%);
  display: flex; align-items: center; justify-content: center;
}
/* Red accent line decoration */
.about-img-wrap::before {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 60%; height: 60%;
  border: 1px solid var(--border-2);
  pointer-events: none;
  z-index: -1;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  top: 0; left: -1px;
  width: 3px;
  height: 40%;
  background: var(--brand);
}

.about-badge {
  position: absolute;
  right: -20px;
  top: 32px;
  background: var(--brand);
  padding: 20px 24px;
  text-align: center;
}
.about-badge .n {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}
.about-badge .t {
  display: block;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
}

.about-text h2 {
  font-size: clamp(2.2rem, 5vw, var(--fs-4xl));
  line-height: 1.2;
  margin: 16px 0 24px;
}
.about-text p { font-size: var(--fs-base); line-height: 1.85; }
.about-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  color: var(--text-2);
  line-height: 1.5;
}
.about-list li::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--brand);
  margin-top: 10px;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   SERVICES
───────────────────────────────────────────── */
.services-section { background: var(--surface); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--border);
  background: var(--border);
  gap: 1px;
}
@media (min-width: 600px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.svc-card {
  background: var(--surface);
  padding: 40px 36px 44px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: background var(--dur);
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; width: 0;
  height: 2px;
  background: var(--brand);
  transition: width .5s var(--ease);
}
.svc-card:hover { background: var(--surface-2); }
.svc-card:hover::after { width: 100%; }

.svc-card.featured {
  background: var(--brand);
}
@media (min-width: 1024px) { .svc-card.featured { grid-column: span 2; } }
.svc-card.featured::after { display: none; }
.svc-card.featured h3,
.svc-card.featured p { color: #fff; }
.svc-card.featured p { color: rgba(255,255,255,.7); }
.svc-card.featured .svc-num { color: rgba(255,255,255,.15); }

.svc-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, var(--fs-4xl));
  color: var(--text-3);
  line-height: 1;
  letter-spacing: 0.05em;
}
.svc-card h3 {
  font-size: clamp(1.1rem, 2vw, var(--fs-xl));
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.svc-card p {
  font-size: var(--fs-sm);
  line-height: 1.75;
  flex: 1;
  color: var(--text-3);
}
.svc-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  transition: gap var(--dur);
}
.svc-card.featured .svc-link { color: rgba(255,255,255,.7); }
.svc-link:hover { gap: 14px; }

/* ─────────────────────────────────────────────
   PORTFOLIO
───────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
}
@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(12, 1fr); }
  .port-item:nth-child(1) { grid-column: span 7; }
  .port-item:nth-child(2) { grid-column: span 5; }
  .port-item:nth-child(3) { grid-column: span 5; }
  .port-item:nth-child(4) { grid-column: span 7; }
}

.port-item {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16/10;
  cursor: none;
}
@media (min-width: 768px) { .port-item { aspect-ratio: auto; min-height: 300px; } }

.port-bg {
  position: absolute; inset: 0;
  transition: transform .7s var(--ease);
}
.port-item:hover .port-bg { transform: scale(1.06); }

.port-item:nth-child(1) .port-bg { background: linear-gradient(135deg, #1a0505 0%, #2a0808 40%, #0a0808 100%); }
.port-item:nth-child(2) .port-bg { background: linear-gradient(135deg, #06080e 0%, #0d0d1a 40%, #080808 100%); }
.port-item:nth-child(3) .port-bg { background: linear-gradient(135deg, #040d04 0%, #091509 40%, #080808 100%); }
.port-item:nth-child(4) .port-bg { background: linear-gradient(135deg, #100808 0%, #1a0d08 40%, #080808 100%); }

/* Diagonal line decoration */
.port-item::before {
  content: '';
  position: absolute;
  top: 0; left: -200%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.025), transparent);
  transition: left .6s var(--ease);
  z-index: 1;
}
.port-item:hover::before { left: 200%; }

.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  z-index: 2;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 8px;
}
.port-overlay h3 {
  font-size: clamp(1.2rem, 2.5vw, var(--fs-2xl));
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.1;
}
.port-overlay p {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,.6);
  margin-top: 8px;
}
/* CMS-driven portfolio — link wrapper */
.port-link {
  display: block;
  position: absolute; inset: 0;
  text-decoration: none;
  color: inherit;
}
.port-cta {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 12px;
  font-weight: 600;
}

/* ─────────────────────────────────────────────
   WHY CTW
───────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
@media (min-width: 600px)  { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: var(--surface);
  padding: 40px 32px;
  transition: background var(--dur);
  position: relative;
}
.why-card:hover { background: var(--surface-2); }
.why-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 24px;
  transition: border-color var(--dur);
}
.why-card:hover .why-icon { border-color: var(--brand); }
.why-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}
.why-card p { font-size: var(--fs-sm); line-height: 1.75; color: var(--text-3); }

/* ─────────────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────────────── */
.testi-section { background: var(--surface); padding: clamp(60px,10vw,130px) 0; overflow: hidden; }
.testi-header { padding: 0 clamp(20px, 5vw, 80px); margin-bottom: 64px; }

.marquee-wrap {
  display: flex;
  gap: 16px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
  animation: marquee 40s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

.testi-card {
  background: var(--bg);
  border: 1px solid var(--border-2);
  padding: 36px 32px;
  min-width: 380px;
  max-width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--brand);
  opacity: 0.15;
  line-height: 1;
}
.testi-stars { color: var(--accent); font-size: var(--fs-xs); letter-spacing: 3px; }
.testi-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.65;
  flex: 1;
}
.testi-author {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface-3);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brand);
  flex-shrink: 0;
}
.testi-author strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text);
}
.testi-author span { font-size: var(--fs-xs); color: var(--text-3); }

/* ─────────────────────────────────────────────
   BLOG
───────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 64px;
}
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: background var(--dur);
}
.blog-card:hover { background: var(--surface-2); }
.blog-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}
.blog-thumb-bg {
  width: 100%; height: 100%;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-thumb-bg { transform: scale(1.06); }
/* Real <img> inside .blog-thumb — same zoom behaviour */
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
/* Real <img> inside .port-bg */
.port-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ── SPLIT TEXT ─────────────────────────────────────────── */
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-char { display: inline-block; transform-origin: bottom center; }
.blog-card:nth-child(1) .blog-thumb-bg { background: linear-gradient(135deg, #180404, #0d0808); }
.blog-card:nth-child(2) .blog-thumb-bg { background: linear-gradient(135deg, #040408, #08080f); }
.blog-card:nth-child(3) .blog-thumb-bg { background: linear-gradient(135deg, #080808, #0a100a); }

.blog-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.blog-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
}
.blog-cat { color: var(--brand); font-weight: 700; }
.blog-card h3 {
  font-size: var(--fs-lg);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--text);
  transition: color var(--dur);
}
.blog-card:hover h3 { color: var(--brand); }
.blog-card p { font-size: var(--fs-sm); line-height: 1.75; flex: 1; }
.blog-link {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  transition: gap var(--dur);
}
.blog-link:hover { gap: 14px; }

/* ─────────────────────────────────────────────
   CTA
───────────────────────────────────────────── */
.cta-section {
  position: relative;
  padding: clamp(80px, 14vw, 160px) 0;
  background: var(--dark);
  text-align: center;
}
.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--brand-glow) 0%, transparent 60%);
  pointer-events: none;
}
.cta-section .eyebrow { justify-content: center; margin-bottom: 20px; }
.cta-title {
  font-size: clamp(1.6rem, 4.5vw, 6rem);
  line-height: 1.25;
  margin-bottom: 28px;
}
.cta-title em {
  /* inline — dùng <br> trước em để xuống dòng, tránh block-in-inline bug */
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0.01em;
}
.cta-sub {
  font-size: var(--fs-lg);
  color: var(--text-2);
  max-width: 460px;
  margin: 0 auto 44px;
  line-height: 1.75;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: clamp(60px, 8vw, 100px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-logo { font-size: 1.4rem; display: block; margin-bottom: 6px; }
.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--text-3);
  line-height: 1.8;
  max-width: 280px;
  margin-top: 16px;
}
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-btn {
  width: 34px; height: 34px;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  transition: all var(--dur);
}
.social-btn:hover { border-color: var(--brand); color: var(--brand); }
.social-btn svg { width: 14px; height: 14px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-sm); color: var(--text-3); transition: color var(--dur); }
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.footer-bottom a:hover { color: var(--text); }

/* ─────────────────────────────────────────────
   PAGE HERO (inner pages)
───────────────────────────────────────────── */
.page-hero {
  padding: 150px 0 clamp(60px, 8vw, 100px);
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 120px; height: 1px;
  background: var(--brand);
}
.page-hero h1 { font-size: clamp(1.6rem, 4.5vw, 6rem); margin: 16px 0 24px; }
.page-hero p { font-size: var(--fs-lg); line-height: 1.75; max-width: 560px; }

/* ─────────────────────────────────────────────
   REVEAL (fallback if GSAP not loaded)
───────────────────────────────────────────── */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

/* ─────────────────────────────────────────────
   SERVICES DETAIL (services.html)
───────────────────────────────────────────── */
.services-detail { display: flex; flex-direction: column; }
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 56px clamp(20px, 5vw, 80px);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  transition: background var(--dur);
}
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 180px 1fr; gap: 80px; align-items: start; }
}
.svc-row:hover { background: var(--surface-2); }
.svc-row-num {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 8rem);
  color: var(--text-3);
  line-height: 1;
  letter-spacing: 0.05em;
}
.svc-row-body h3 { font-size: clamp(1.6rem, 3vw, var(--fs-3xl)); margin-bottom: 16px; }
.svc-row-body p { margin-bottom: 12px; }
.svc-features { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.svc-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: var(--fs-sm); color: var(--text-2);
}
.svc-features li::before { content: '—'; color: var(--brand); flex-shrink: 0; margin-top: 1px; }

/* ─────────────────────────────────────────────
   CONTACT (contact.html)
───────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 2fr 3fr; gap: 100px; align-items: start; }
}
.contact-info h2 { font-size: clamp(2rem, 5vw, var(--fs-4xl)); margin: 16px 0 20px; }
.contact-details { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.c-detail { display: flex; gap: 16px; align-items: flex-start; }
.c-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1rem;
  transition: border-color var(--dur);
}
.c-detail:hover .c-icon { border-color: var(--brand); }
.c-detail strong {
  display: block; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 4px;
}
.c-detail a, .c-detail span { font-size: var(--fs-base); color: var(--text); }
.c-detail a:hover { color: var(--brand); }

.contact-form-box {
  background: var(--surface);
  border: 1px solid var(--border-2);
  padding: clamp(28px, 5vw, 48px);
}
.cform { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 500px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-3);
}
.form-field label .req { color: var(--brand); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: .85em 1em;
  font-size: var(--fs-sm);
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color var(--dur);
  appearance: none;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--text-3); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--brand);
  background: var(--surface-3);
}
.form-field textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.form-field select {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233d3d3d' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.form-field select option { background: var(--surface-2); }
.form-note { font-size: 10px; color: var(--text-3); text-align: center; letter-spacing: 0.08em; }

/* ═══════════════════════════════════════════════════════════
   MOBILE CONTACT HUB
   ═══════════════════════════════════════════════════════════ */

/* Pill container */
.mch {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 30px));
  bottom: 18px;
  z-index: 9000;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(7, 7, 7, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255,255,255,.04) inset;
  pointer-events: none;
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
  /* Không cho tràn màn hình */
  max-width: calc(100vw - 24px);
}
/* Gold → red accent line */
.mch::before {
  content: '';
  position: absolute;
  top: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,165,90,.45) 30%, rgba(181,40,40,.5) 70%, transparent);
}
.mch > * { pointer-events: auto; }
.mch.mch--in { transform: translateX(-50%) translateY(0); }

/* Nút phụ — icon only, hình tròn */
.mch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background .15s, transform .12s;
}
.mch-btn:active { background: rgba(255,255,255,.15); transform: scale(.9); }

/* Icon wrapper */
.mch-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
}
.mch-icon svg { width: 18px; height: 18px; }

/* Icon colors */
.mch-btn .mch-icon { color: rgba(255,255,255,.75); }

/* Per-type border accent */
.mch-phone     { border-color: rgba(181,40,40,.35); }
.mch-email,
.mch-messenger,
.mch-zalo      { border-color: rgba(255,255,255,.12); }

/* Ẩn label — icon only */
.mch-lbl { display: none; }

/* Center round call button */
.mch-call {
  position: relative;
  display: inline-flex;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--brand, #b52828);
  border: 1.5px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 28px rgba(181,40,40,.45);
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s, box-shadow .15s;
  overflow: hidden;
}
.mch-call:active { transform: scale(.92); box-shadow: 0 4px 14px rgba(181,40,40,.3); }

/* Pulse ring */
.mch-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(181, 40, 40, 0.55);
  animation: mchPulse 2.8s ease-out infinite;
}
@keyframes mchPulse {
  0%   { box-shadow: 0 0 0 0   rgba(181,40,40,.55); }
  65%  { box-shadow: 0 0 0 14px rgba(181,40,40,.0);  }
  100% { box-shadow: 0 0 0 14px rgba(181,40,40,.0);  }
}

/* Desktop: hide */
@media (min-width: 768px) { .mch { display: none; } }

/* ─────────────────────────────────────────────
   MOBILE OPTIMIZATION (max-width: 767px)
───────────────────────────────────────────── */
@media (max-width: 767px) {

  /* ── Container padding ── */
  .container { padding-inline: 18px; }

  /* ── Header ── */
  .site-header { padding: 0; }
  .header-inner { height: 56px; }

  /* ── Hero (index.html) ── */
  .hero-content {
    padding-top: 88px;
    padding-bottom: 56px;
  }
  .hero-title { letter-spacing: 0.01em; }
  .hero-desc { font-size: 0.95rem; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* ── Stats bar ── */
  .stat-item { padding: 24px 16px; }
  .stat-num { font-size: 2.2rem; }

  /* ── About section (index.html) ── */
  .about-layout { gap: 40px; }
  .about-img-box { aspect-ratio: 4/3; }
  .about-text { padding: 0; }
  .about-highlights { gap: 20px; }

  /* ── Portfolio ── */
  .port-grid { gap: 12px; }
  .port-item { aspect-ratio: 4/3; min-height: 220px; }
  .port-body { padding: 20px; }
  .port-body h3 { font-size: 1.1rem; }

  /* ── Services grid (index.html) ── */
  .services-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-card { padding: 28px 22px; }
  .svc-card.featured { padding: 28px 22px; }
  .svc-card.featured h3 { font-size: 1.3rem; }

  /* ── Why grid ── */
  .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .why-item { padding: 22px 18px; }

  /* ── Blog grid ── */
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-card { max-width: 100%; }
  .blog-thumb { aspect-ratio: 16/9; }

  /* ── CTA section ── */
  .cta-section { padding: 80px 0; }
  .cta-title { font-size: clamp(1.8rem, 7vw, 3rem); }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* ── Footer ── */
  .footer-grid { gap: 36px; }
  .footer-col { display: none; } /* Hide nav columns on very small screens to save space */
  .footer-col:first-of-type { display: block; } /* Show first services col */
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* ── Page hero (inner pages) ── */
  .page-hero { padding: 100px 0 48px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 3rem); margin-bottom: 16px; }
  .page-hero p { font-size: 0.95rem; }

  /* ── Services detail page ── */
  .svc-row { padding: 40px 18px; gap: 12px; }
  .svc-row-num { font-size: 3.5rem; line-height: 1; margin-bottom: -4px; }

  /* ── Blog page filter bar ── */
  .filter-bar { gap: 8px; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .filter-bar::-webkit-scrollbar { display: none; }
  .filter-btn { white-space: nowrap; flex-shrink: 0; }
  .blog-layout { grid-template-columns: 1fr !important; }

  /* ── Post page ── */
  .post-header { padding: 100px 0 40px; }
  .post-title { font-size: clamp(1.5rem, 6vw, 2.5rem) !important; }
  .post-meta { flex-wrap: wrap; gap: 10px; }
  .post-body { font-size: 1rem; }
  .post-body h2 { font-size: 1.4rem; }
  .post-body h3 { font-size: 1.2rem; }

  /* ── Contact page ── */
  .contact-layout { gap: 40px; }
  .contact-info h2 { font-size: 2rem; }
  .form-row { grid-template-columns: 1fr !important; }

  /* ── Prevent Vietnamese uppercase + letter-spacing text overflow ── */
  .eyebrow { letter-spacing: 0.1em; font-size: 10px; }
  .nav-links a { letter-spacing: 0.1em; }
  h1, h2, h3, h4 { word-break: keep-all; overflow-wrap: break-word; }

  /* ── Team grid ── */
  .team-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .team-photo { aspect-ratio: 1; }

  /* ── Mobile menu ── */
  .mobile-menu { padding: 80px 28px 40px; }
  .mobile-menu a { font-size: 1.3rem; }
}

/* Tablet tweaks */
@media (min-width: 480px) and (max-width: 767px) {
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-col { display: block; }
}

/* Extra small screens */
@media (max-width: 390px) {
  .team-grid { grid-template-columns: 1fr !important; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { font-size: 0.85rem; padding: 12px 18px; }
  .cta-btn { font-size: 12px; padding: 12px 8px; }
}
