/* ═══════════════════════════════════════════════════════
   Musha — DevSecOps & Cybersecurity Consulting
   Main Stylesheet
   ═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
  --black: #060608;
  --surface: #0e0e12;
  --surface2: #141418;
  --border: rgba(255,255,255,0.06);
  --red: #e62e2e;
  --red-dim: rgba(230,46,46,0.15);
  --cyan: #00d4c8;
  --cyan-dim: rgba(0,212,200,0.1);
  --white: #f0f0f0;
  --muted: #8a8a9a;
  --font-display: 'Bebas Neue', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --font-body: 'Space Grotesk', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: default;
}

/* ── CANVAS BACKGROUND ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: 0.6;
}

section, header, footer, nav { position: relative; z-index: 2; }

/* ── BILINGUAL: hide EN content by default ── */
.en { display: none; }

/* ── MOBILE MENU BUTTON: hidden by default, shown via JS ── */
.menu-btn { display: none; }

/* ── MOBILE NAV: hidden on desktop ── */
.mobile-nav { display: none; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(6,6,8,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.25em;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.logo span {
  color: var(--red);
}

.logo::after {
  content: '武者';
  position: absolute;
  top: -4px;
  right: -28px;
  font-size: 0.5rem;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

nav a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover { color: var(--white); }

/* Prevent default purple visited links sitewide */
a, a:visited { color: inherit; }

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  padding: 0;
}

.lang-btn.active { color: var(--cyan); }
.lang-sep { color: var(--border); font-size: 0.6rem; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0 5vw;
  padding-top: 72px;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 3.5rem;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--red);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 12rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 100%;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-title .accent { color: var(--red); }
.hero-title .dim { color: var(--muted); }

.hero-sub {
  font-family: var(--font-mono);
  font-size: clamp(0.75rem, 1.1vw, 0.88rem);
  color: var(--muted);
  max-width: 520px;
  line-height: 1.8;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}


.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.btn-primary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--red);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-primary:hover {
  background: #ff3a3a;
  transform: translateY(-2px);
}

.btn-secondary {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 1rem 2.5rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}

.btn-secondary:hover {
  color: var(--white);
  border-color: var(--white);
}

.hero-stat-bar {
  display: flex;
  gap: 4rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  padding-bottom: 2rem;
  margin-top: auto;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 100px;
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--red);
  line-height: 1.2;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── SECTION COMMON ── */
section {
  padding: 8rem 5vw;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--red);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 4rem;
  width: 100%;
  display: block;
}

/* ── SERVICES ── */
#services {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--red-dim);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover { background: var(--surface2); }
.service-card:hover::before { opacity: 1; }

.service-num {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.service-card:hover .service-num { color: rgba(230,46,46,0.2); }

.service-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.service-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}


.service-badge {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan-dim);
  padding: 0.25rem 0.6rem;
  position: relative;
  z-index: 1;
}

/* ── WHY MUSHA ── */
#why {
  background: var(--black);
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.why-left {}

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pillar {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: all 0.3s;
}

.pillar:first-child { border-top: 1px solid var(--border); }
.pillar:hover { padding-left: 1rem; }

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
  min-width: 40px;
}

.pillar-content {}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.pillar-text {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.7;
}


.why-right {
  position: relative;
}

.why-visual {
  position: relative;
  height: 400px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.why-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, var(--border) 39px, var(--border) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, var(--border) 39px, var(--border) 40px);
}

.why-kanji {
  font-size: 12rem;
  color: rgba(230,46,46,0.08);
  font-family: serif;
  position: absolute;
  line-height: 1;
  user-select: none;
}

.why-center {
  position: relative;
  z-index: 2;
  text-align: center;
}

.why-center-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  letter-spacing: 0.3em;
  color: var(--white);
}

.why-center-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* ── ABOUT ── */
#about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.about-left {}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}

.about-text strong {
  color: var(--white);
  font-weight: 500;
}


.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.8rem;
  transition: all 0.2s;
}

.tag:hover {
  color: var(--cyan);
  border-color: var(--cyan-dim);
}

.about-mission {
  border-left: 2px solid var(--red);
  padding-left: 1.5rem;
  max-width: 700px;
}

.about-mission-title {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.about-mission-text {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
  font-style: italic;
}


/* ── BLOG ── */
#blog {
  background: var(--black);
}

.blog-placeholder {
  border: 1px dashed var(--border);
  padding: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-placeholder::before {
  content: 'PRÓXIMAMENTE';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-8deg);
  font-family: var(--font-display);
  font-size: 8rem;
  color: rgba(255,255,255,0.02);
  white-space: nowrap;
  letter-spacing: 0.2em;
  pointer-events: none;
}

.blog-placeholder-icon {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.blog-placeholder-title {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 1rem;
}

.blog-placeholder-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 460px;
  margin: 0 auto;
}


.blog-topics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

/* ── CONTACT ── */
#contact {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-info {}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:first-of-type { border-top: 1px solid var(--border); }

.contact-item-icon {
  font-size: 1rem;
  color: var(--red);
  min-width: 20px;
  margin-top: 2px;
}

.contact-item-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-item-value {
  font-size: 0.85rem;
  color: var(--white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-input, .form-textarea {
  background: var(--black);
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  resize: none;
  font-weight: 300;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--red);
}

.form-textarea { min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 3rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.25em;
  color: var(--white);
}

.footer-logo span { color: var(--red); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--muted);
}


.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a, .footer-links a:visited {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

/* ── SCROLL INDICATOR ── */
.scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

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

/* ══════════════════════════════════════
   RESPONSIVE SYSTEM
   - mobile:   < 640px
   - tablet:   640px – 1024px
   - desktop:  1024px – 1440px  (MacBook M4)
   - wide:     > 1440px         (monitor grande)
══════════════════════════════════════ */

/* ── MID SCREENS (1024px – 1440px) ── */
@media (min-width: 1024px) and (max-width: 1439px) {
  .hero-title { font-size: clamp(5rem, 8.5vw, 10rem); }
  .hero-sub { max-width: 580px; font-size: 0.88rem; }
}

/* ── WIDE SCREENS (>1440px) ── */
@media (min-width: 1440px) {
  header { padding: 0 8vw; }

  #hero { padding: 0 8vw; padding-top: 72px; padding-bottom: 4rem; }

  .hero-tag { margin-top: 4rem; }

  .hero-sub { font-size: 1rem; max-width: 700px; }

  section { padding: 10rem 8vw; }

  .section-title { font-size: clamp(4rem, 5.5vw, 7rem); }

  .services-grid { grid-template-columns: repeat(4, 1fr); }

  .why-layout { gap: 10rem; }
  .why-visual { height: 520px; }
  .why-kanji { font-size: 18rem; }
  .why-center-title { font-size: 5rem; }

  .about-layout { gap: 10rem; }
  .about-text { font-size: 1rem; }

  .contact-layout { gap: 10rem; }

  .hero-stat-bar { gap: 8rem; }
  .hero-stat-num { font-size: 2.6rem; }

  footer { padding: 3rem 8vw; }
}

/* ── TABLET (640px – 1024px) ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .why-layout { grid-template-columns: 1fr; gap: 4rem; }
  .why-right { display: none; }

  .about-layout { grid-template-columns: 1fr; gap: 3rem; }

  .contact-layout { grid-template-columns: 1fr; gap: 4rem; }

  .hero-stat-bar { gap: 3rem; margin-top: 2.5rem; }
}

/* ── MOBILE MENU BREAKPOINT ── */
@media (max-width: 860px) {
  nav { display: none; }

  /* Hamburger menu button */
  .menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
  }
  .menu-btn span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--white);
    transition: all 0.3s;
  }

  /* Mobile nav overlay */
  .mobile-nav {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(6,6,8,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .mobile-nav.open { opacity: 1; pointer-events: all; }
  .mobile-nav a {
    font-family: var(--font-display);
    font-size: 2.5rem;
    letter-spacing: 0.15em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
  }
  .mobile-nav a:hover { color: var(--red); }
  .mobile-nav .close-btn {
    position: absolute;
    top: 2rem;
    right: 5vw;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--muted);
    background: none;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
  }
}

/* ── MOBILE (< 640px) ── */
@media (max-width: 640px) {
  header { padding: 0 6vw; height: 60px; }

  #hero {
    padding: 0 6vw;
    padding-top: 60px;
    padding-bottom: 3rem;
    min-height: 100svh;
    justify-content: flex-start;
  }

  .hero-tag { margin-top: 2rem; margin-bottom: 1rem; font-size: 0.55rem; }
  .hero-tag::before { width: 24px; }

  .hero-title { font-size: clamp(3.2rem, 14vw, 5rem); line-height: 0.9; }

  .hero-sub {
    font-size: 0.75rem;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .btn-primary, .btn-secondary {
    text-align: center;
    padding: 0.9rem 1.5rem;
    width: 100%;
  }

  .hero-stat-bar {
    margin-top: 2rem;
    gap: 1.5rem;
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero-stat-num { font-size: 1.6rem; }
  .hero-stat-label { font-size: 0.5rem; }

  section { padding: 5rem 6vw; }

  .section-tag { margin-bottom: 1.5rem; }
  .section-title { font-size: clamp(2rem, 10vw, 3rem); margin-bottom: 2.5rem; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 2rem 1.5rem; }
  .service-num { font-size: 2.5rem; margin-bottom: 1rem; }

  .pillar { gap: 1.2rem; padding: 1.5rem 0; }
  .pillar-num { font-size: 1.5rem; min-width: 30px; }
  .pillar-title { font-size: 1.1rem; }

  .about-layout { gap: 2.5rem; }
  .about-text { font-size: 0.85rem; }

  .blog-placeholder { padding: 3rem 1.5rem; }
  .blog-placeholder::before { font-size: 4rem; }

  .contact-layout { gap: 3rem; }
  .contact-item-value { font-size: 0.78rem; word-break: break-all; }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2.5rem 6vw;
  }

  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
  .footer-copy { order: 3; }
}

/* ── VERY SMALL PHONES (<380px) ── */
@media (max-width: 380px) {
  .hero-title { font-size: clamp(2.6rem, 13vw, 3.5rem); }
  .hero-stat-bar { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .hero-stat-num { font-size: 1.4rem; }
}

/* ── LANG EN ACTIVE ── */
body.lang-en .es { display: none !important; }
body.lang-en .en { display: block !important; }
body.lang-en span.en { display: inline !important; }
body.lang-en span.es { display: none !important; }
body.lang-en a.en { display: inline !important; }

/* ── SKIP LINK (accessibility) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--red);
  color: var(--black);
  padding: 0.5rem 1rem;
  z-index: 999;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ── CONTACT LINKS ── */
.contact-link,
.contact-link:visited {
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--cyan);
}

/* ── TRUSTED BY SECTION ── */
#trusted {
  background: var(--black);
  padding-top: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border);
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  opacity: 0.4;
  margin-bottom: 2rem;
}

.trusted-logos span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  color: var(--white);
}

.trusted-separator {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.trusted-subtitle {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ── BLOG CTA ── */
.blog-cta {
  margin-top: 2rem;
}

.blog-cta .btn-primary {
  display: inline-block;
}

.blog-placeholder--solid {
  border-style: solid;
}

/* ── SENKOU CARD ── */
.service-card--senkou {
  border: 1px solid rgba(0,212,200,0.15);
  background: linear-gradient(135deg, rgba(0,212,200,0.03) 0%, transparent 60%);
}

.service-card--senkou .service-num {
  color: rgba(0,212,200,0.2);
}

.service-card--senkou .service-name .kanji {
  color: var(--cyan);
  font-size: 0.7em;
}

.service-badge--cyan {
  border-color: rgba(0,212,200,0.3);
  color: var(--cyan);
}

/* ── CONTACT SECTION DETAILS ── */
.senkou-access-value {
  color: var(--cyan);
  font-size: 0.8rem;
}

.decorative-text {
  margin-top: 2.5rem;
}

.decorative-text p {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.8rem);
  color: rgba(230,46,46,0.15);
  line-height: 1;
  letter-spacing: 0.08em;
  user-select: none;
}

/* ── FORM STATUS ── */
.form-status {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  margin-top: 0.5rem;
  display: none;
}

.form-submit-btn {
  align-self: flex-start;
}

/* ── ABOUT SECTION OVERRIDE ── */
.about-section-title {
  margin-bottom: 2.5rem;
}