/* ============================================================
   MADERAS CORPORATIVAS — Estilo Editorial Kinfolk
   CSS Vanilla — Listo para integrar en PHP
   ============================================================ */

/* —— Reset & Base —— */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #f5f4f1;
  --bg-secondary: #eae8e3;
  --bg-dark: #1a1a1a;
  --text-primary: #1a1a1a;
  --text-secondary: #595959;
  --text-muted: #8a8a8a;
  --white: #ffffff;
  --accent: #2a5e53;
  --border: rgba(26, 26, 26, 0.12);
  --border-light: rgba(26, 26, 26, 0.06);
  --radius: 2px;
  --transition: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Newsreader', 'Georgia', 'Times New Roman', serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* —— Typography —— */
.font-sans {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.text-display {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.text-body {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  line-height: 1.6;
}

.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

/* —— Container —— */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

.container-narrow {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* —— Spacing System —— */
.section {
  padding: 120px 0;
}

.section-sm {
  padding: 80px 0;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all 0.5s var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--white);
  border: 1px solid var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid transparent;
  padding: 14px 0;
}

.btn-ghost:hover {
  opacity: 0.6;
}

/* —— Tag / Pill —— */
.tag {
  display: inline-block;
  padding: 6px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--transition);
}

.tag:hover,
.tag.active {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--white);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 80px;
  display: flex;
  align-items: center;
  transition: all 0.5s var(--transition);
}

.header.scrolled {
  background: rgba(245, 244, 241, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

.logo {
  font-family: 'Newsreader', serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.logo span {
  font-style: italic;
  opacity: 0.5;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.4s var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: all 0.5s var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  background: var(--text-primary);
  color: var(--white);
  border-radius: var(--radius);
  transition: all 0.5s var(--transition);
}

.header-cta:hover {
  background: var(--accent);
}

/* —— Mobile Menu Toggle —— */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.4s var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* —— Mobile Nav —— */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--transition);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: 'Newsreader', serif;
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5vw;
}

.hero-content {
  padding-right: 60px;
}

.hero-label {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  overflow: hidden;
}

.hero-title .word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  animation: revealWord 1.2s var(--transition-slow) forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.15s; }
.hero-title .word:nth-child(3) { animation-delay: 0.2s; }
.hero-title .word:nth-child(4) { animation-delay: 0.25s; }
.hero-title .word:nth-child(5) { animation-delay: 0.3s; }

@keyframes revealWord {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-subtitle {
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0;
  animation: fadeIn 1.5s 0.8s var(--transition-slow) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeIn 1.5s 1s var(--transition-slow) forwards;
}

.hero-visual {
  position: relative;
  height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-wrap {
  position: relative;
  width: 100%;
  height: 85%;
  border-radius: 4px;
  overflow: hidden;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--bg-primary) 0%,
    transparent 15%,
    transparent 85%,
    var(--bg-primary) 100%
  );
  pointer-events: none;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================================================
   MATERIALES
   ============================================================ */
.materials {
  background: var(--bg-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header .label {
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.material-card {
  position: relative;
  cursor: pointer;
  group: true;
}

.material-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  aspect-ratio: 3/4;
}

.material-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--transition-slow);
}

.material-card:hover .material-img-wrap img {
  transform: scale(1.05);
}

.material-info {
  text-align: center;
}

.material-name {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  transition: transform 0.5s var(--transition);
}

.material-card:hover .material-name {
  transform: translateY(-3px);
}

.material-count {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* ============================================================
   CATEGORÍAS (Líneas de Producto)
   ============================================================ */
.categories {
  background: var(--bg-secondary);
}

.categories-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
}

.category-nav {
  position: sticky;
  top: 120px;
}

.category-nav-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 4px;
}

.category-item {
  display: block;
  padding: 14px 20px;
  font-family: 'Newsreader', serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  border-left: 2px solid transparent;
  transition: all 0.5s var(--transition);
  cursor: pointer;
}

.category-item:hover,
.category-item.active {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  background: rgba(26, 26, 26, 0.03);
  padding-left: 28px;
}

.category-display {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-product {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.category-product-img {
  aspect-ratio: 1;
  overflow: hidden;
}

.category-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--transition-slow);
}

.category-product:hover .category-product-img img {
  transform: scale(1.06);
}

.category-product-info {
  padding: 20px 0 0;
}

.category-product-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.category-product-title {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.category-product-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.category-product-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s var(--transition);
}

.category-product:hover .category-product-overlay {
  opacity: 1;
}

.category-product-overlay .btn {
  transform: translateY(10px);
  transition: transform 0.5s var(--transition);
}

.category-product:hover .category-product-overlay .btn {
  transform: translateY(0);
}

/* ============================================================
   PRODUCTOS DESTACADOS
   ============================================================ */
.products {
  background: var(--bg-primary);
}

.products-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.product-card {
  position: relative;
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  aspect-ratio: 1;
  background: var(--bg-secondary);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--transition-slow);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.05);
}

.product-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--text-primary);
  color: var(--white);
  border-radius: 100px;
}

.product-info {
  padding: 0 4px;
}

.product-material {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-price {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.product-price .old {
  text-decoration: line-through;
  opacity: 0.5;
  margin-right: 8px;
}

/* ============================================================
   INTERLUDIO VIDEO
   ============================================================ */
.interlude {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.interlude video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.interlude-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 244, 241, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.interlude-text {
  text-align: center;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.interlude-text h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.interlude-text p {
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ============================================================
   POR QUE ELEGIR MADERA
   ============================================================ */
.why-wood {
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 64px;
}

.why-item {
  text-align: center;
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 1.5rem;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.why-desc {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog {
  background: var(--bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.blog-card {
  cursor: pointer;
  transition: transform 0.6s var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  aspect-ratio: 16/10;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s var(--transition);
}

.blog-card:hover .blog-img-wrap img {
  filter: brightness(0.9);
  transform: scale(1.03);
}

.blog-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: transform 0.5s var(--transition);
}

.blog-card:hover .blog-title {
  transform: translateX(4px);
}

.blog-excerpt {
  font-family: 'Newsreader', serif;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--bg-secondary);
}

.faq-list {
  max-width: 800px;
  margin: 64px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 28px 0;
  font-family: 'Newsreader', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.4s var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--text-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding-bottom: 28px;
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 90%;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s var(--transition);
}

.footer-social a:hover {
  background: var(--white);
  color: var(--bg-dark);
  border-color: var(--white);
}

.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: 'Newsreader', serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.4s var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-item {
  font-family: 'Newsreader', serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-contact-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
  transition: color 0.4s var(--transition);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--transition-slow), transform 1s var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-content {
    padding-right: 0;
    text-align: center;
    order: 2;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
    height: 50vh;
  }

  .categories-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .category-nav {
    position: static;
  }

  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .category-list li {
    margin: 0;
  }

  .category-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 10px 16px;
    font-size: 1rem;
  }

  .category-item:hover,
  .category-item.active {
    border-left-color: transparent;
    border-bottom-color: var(--text-primary);
    padding-left: 16px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .hero-visual {
    height: 40vh;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .category-display {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .interlude {
    height: 50vh;
  }
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.custom-cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition: transform 0.15s ease-out;
  transform: translate(-50%, -50%);
}

@media (pointer: coarse) {
  .custom-cursor {
    display: none;
  }
}
