:root {
  --font-geist-sans: Inter;
  --font-geist-mono: "JetBrains Mono";
  --graphite: #1d2328;
  --graphite-2: #252c32;
  --graphite-3: #2a3239;
  --steel: #66717b;
  --line: #414a52;
  --blue: #2f6fb0;
  --blue-light: #70a5dc;
  --paper: #eeefed;
  --paper-muted: #c9cecf;
  --ink: #20262b;
  --neu-raised: 14px 14px 30px rgb(8 12 15 / .5), -10px -10px 24px rgb(255 255 255 / .045);
  --neu-soft: 8px 8px 18px rgb(8 12 15 / .42), -7px -7px 16px rgb(255 255 255 / .04);
  --neu-inset: inset 8px 8px 18px rgb(8 12 15 / .42), inset -7px -7px 15px rgb(255 255 255 / .04);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: linear-gradient(145deg, #20272d 0%, #192025 100%); color: var(--paper); font-family: Inter, Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.topbar { margin: 12px 18px 0; border-radius: 18px; background: var(--graphite-2); color: var(--paper-muted); box-shadow: var(--neu-soft); font: 700 11px/1.4 var(--font-geist-mono), monospace; letter-spacing: .04em; }
.topbar-inner, .header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar-inner { min-height: 36px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--blue-light); }
.main-header { position: sticky; top: 14px; z-index: 50; margin: 12px 18px 0; border-radius: 22px; background: rgb(37 44 50 / .92); box-shadow: var(--neu-soft); backdrop-filter: blur(14px); }
.header-inner { min-height: 76px; }
.brand { font: 800 22px/1 var(--font-geist-sans), sans-serif; letter-spacing: .04em; text-decoration: none; }
.brand span, .eyebrow, .machine-model { color: var(--blue-light); }
nav { display: flex; gap: 28px; }
nav a { color: var(--paper-muted); font: 700 12px/1 var(--font-geist-mono), monospace; text-decoration: none; }
nav a:hover { color: #fff; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 0 22px; background: var(--graphite-2); color: #fff; box-shadow: var(--neu-soft); font: 800 13px/1 var(--font-geist-mono), monospace; text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); box-shadow: var(--neu-inset); }
.button-solid { background: linear-gradient(145deg, #397fc2, #285e99); color: #fff; box-shadow: 9px 9px 20px rgb(8 12 15 / .45), -7px -7px 16px rgb(112 165 220 / .12); }
.button-solid:hover { background: #397dc0; }
.button-outline { color: #fff; }
.hero { --mouse-x: 80%; --mouse-y: 20%; position: relative; overflow: hidden; min-height: 650px; margin: 30px 18px 0; border-radius: 36px; display: grid; align-items: center; background: radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgb(112 165 220 / .17), transparent 28%), repeating-linear-gradient(0deg, transparent 0 39px, rgb(255 255 255 / .028) 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgb(255 255 255 / .028) 40px), linear-gradient(145deg, #252d33, #1a2025); box-shadow: var(--neu-raised); }
.hero::after { content: ""; position: absolute; inset: 18px; border-radius: 28px; box-shadow: var(--neu-inset); pointer-events: none; }
.hero-glow { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgb(112 165 220 / .07) 50%, transparent 70%); animation: sweep 8s linear infinite; }
@keyframes sweep { from { transform: translateX(-60%); } to { transform: translateX(60%); } }
.hero-content { position: relative; z-index: 1; padding: 88px 0 72px; }
.eyebrow { margin: 0 0 14px; font: 800 11px/1.5 var(--font-geist-mono), monospace; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--font-geist-sans), sans-serif; letter-spacing: -.04em; line-height: 1.03; }
h1 { max-width: 850px; margin-bottom: 22px; font-size: clamp(42px, 6vw, 76px); }
h1 em { color: var(--blue-light); font-style: normal; }
.lead { max-width: 720px; color: var(--paper-muted); font-size: clamp(17px, 2vw, 21px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin-top: 62px; }
.hero-specs div { display: grid; gap: 4px; padding: 18px; border-radius: 18px; background: var(--graphite-2); box-shadow: var(--neu-soft); }
.hero-specs strong { font: 700 27px/1 var(--font-geist-mono), monospace; }
.hero-specs span { color: var(--paper-muted); font: 700 10px/1.4 var(--font-geist-mono), monospace; letter-spacing: .09em; text-transform: uppercase; }
.section { padding: 94px 0; }
.section-heading { max-width: 690px; margin-bottom: 44px; }
.section-heading h2, .contact-section h2 { margin-bottom: 14px; font-size: clamp(34px, 5vw, 50px); }
.section-heading > p:last-child, .contact-intro { color: var(--paper-muted); }
.machine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.machine-card { --mouse-x: 50%; --mouse-y: 50%; position: relative; isolation: isolate; overflow: hidden; border-radius: 26px; background: var(--graphite-2); box-shadow: var(--neu-raised); transition: transform .3s ease, box-shadow .3s ease; }
.machine-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mouse-x) var(--mouse-y), rgb(112 165 220 / .12), transparent 55%); opacity: 0; transition: opacity .25s ease; }
.machine-card:hover { transform: translateY(-4px); box-shadow: 18px 18px 36px rgb(8 12 15 / .54), -12px -12px 28px rgb(255 255 255 / .055); }
.machine-card:hover::before { opacity: 1; }
.machine-photo { height: clamp(350px, 36vw, 520px); margin: 18px; overflow: hidden; border-radius: 20px; background: #d9dcdd; box-shadow: var(--neu-inset); }
.machine-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s ease; }
.machine-card:hover .machine-photo img { transform: scale(1.035); }
.machine-body { padding: 10px 30px 30px; }
.machine-model { margin-bottom: 8px; font: 800 12px/1 var(--font-geist-mono), monospace; letter-spacing: .1em; }
.machine-body h3 { margin-bottom: 22px; font-size: 25px; }
dl, dt, dd { margin: 0; }
dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-top: 1px dashed var(--line); }
dt { color: var(--paper-muted); }
dd { text-align: right; font-weight: 700; }
.workshop-section { padding-top: 14px; }
.workshop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.workshop-photo { overflow: hidden; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; border-radius: 22px; background: var(--graphite-2); box-shadow: var(--neu-soft); transition: transform .3s ease, box-shadow .3s ease; cursor: zoom-in; }
.workshop-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .4s ease; }
.workshop-photo:hover { transform: translateY(-3px); box-shadow: var(--neu-raised); }
.workshop-photo:hover img { transform: scale(1.045); filter: contrast(1.04); }
.clients-section { overflow: hidden; }
.logo-carousel { position: relative; overflow: hidden; padding: 20px 0 34px; }
.logo-carousel::before, .logo-carousel::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; width: 100px; pointer-events: none; }
.logo-carousel::before { left: 0; background: linear-gradient(90deg, #1b2227, transparent); }
.logo-carousel::after { right: 0; background: linear-gradient(-90deg, #1b2227, transparent); }
.logo-track { display: flex; width: max-content; gap: 28px; animation: logo-scroll 28s linear infinite; }
.logo-carousel:hover .logo-track { animation-play-state: paused; }
.client-logo { display: grid; place-items: center; width: 230px; height: 118px; padding: 20px; border-radius: 22px; background: var(--graphite-2); box-shadow: var(--neu-soft); }
.client-logo img { max-width: 100%; max-height: 72px; object-fit: contain; filter: grayscale(1) brightness(0) invert(1); opacity: .72; }
@keyframes logo-scroll { to { transform: translateX(calc(-50% - 14px)); } }
.services-section { margin: 0 18px; border-radius: 34px; background: var(--graphite-2); box-shadow: var(--neu-inset); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 34px; }
.service { --mouse-x: 50%; --mouse-y: 50%; position: relative; isolation: isolate; padding: 28px 18px; border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease; }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(260px circle at var(--mouse-x) var(--mouse-y), rgb(112 165 220 / .12), transparent 60%); opacity: 0; transition: opacity .25s ease; }
.service::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--blue-light); transition: width .3s ease; }
.service:hover { transform: translateY(-3px); box-shadow: var(--neu-soft); }
.service:hover::before { opacity: 1; }
.service:hover::after { width: 100%; }
.service > span { color: var(--blue-light); font: 800 11px/1 var(--font-geist-mono), monospace; }
.service h3 { margin: 12px 0 8px; font-size: 20px; }
.service p { margin-bottom: 0; color: var(--paper-muted); font-size: 14px; }
.industries-section { color: var(--paper); }
.dark-text > p:last-child { color: var(--paper-muted); }
.industry-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.industry-grid article { padding: 24px; border-radius: 22px; background: var(--graphite-2); box-shadow: var(--neu-soft); transition: transform .25s ease, box-shadow .25s ease; }
.industry-grid article:hover { transform: translateY(-3px); box-shadow: var(--neu-raised); }
.industry-grid h3 { font-size: 17px; }
.industry-grid p { margin-bottom: 0; color: var(--paper-muted); font-size: 13px; }
.process-section { padding-top: 30px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.process-grid article { padding: 24px; border-radius: 22px; background: var(--graphite-2); box-shadow: var(--neu-soft); transition: transform .25s ease, box-shadow .25s ease; }
.process-grid article:hover { transform: translateY(-3px); box-shadow: var(--neu-raised); }
.process-grid span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; color: var(--blue-light); box-shadow: var(--neu-soft); font: 800 12px/1 var(--font-geist-mono), monospace; }
.process-grid h3 { font-size: 18px; }
.process-grid p { margin-bottom: 0; color: var(--paper-muted); font-size: 13px; }
.contact-section { margin: 0 18px 26px; border-radius: 34px; background: var(--graphite-2); box-shadow: var(--neu-inset); }
.contact-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; }
form { display: grid; gap: 17px; margin-top: 28px; }
label { display: block; margin-bottom: 7px; color: var(--paper-muted); font: 800 11px/1 var(--font-geist-mono), monospace; letter-spacing: .08em; text-transform: uppercase; }
label span { font-weight: 400; text-transform: none; }
input, textarea { width: 100%; border: 0; border-radius: 16px; background: var(--graphite-2); color: #fff; padding: 15px 16px; box-shadow: var(--neu-inset); font: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--blue-light); outline-offset: 2px; }
textarea { min-height: 120px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.submit-button { cursor: pointer; width: fit-content; }
.submit-button:disabled { cursor: wait; opacity: .65; }
.form-message { min-height: 24px; font-weight: 700; }
.form-message.success { color: #8ad19a; }
.form-message.error { color: #ff9c91; }
.contact-info { display: grid; align-content: start; gap: 0; padding: 14px 30px; border-radius: 24px; background: var(--graphite-2); box-shadow: var(--neu-soft); }
.contact-info > div { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info span { display: block; margin-bottom: 7px; color: var(--blue-light); font: 800 11px/1 var(--font-geist-mono), monospace; letter-spacing: .08em; text-transform: uppercase; }
.contact-info a { text-decoration: none; font-size: 18px; }
.contact-info a:hover { color: var(--blue-light); }
.contact-info p { margin-bottom: 0; }
footer { margin: 0 18px 18px; padding: 28px 0; border-radius: 24px; background: var(--graphite-2); color: var(--paper-muted); box-shadow: var(--neu-soft); font: 700 11px/1.5 var(--font-geist-mono), monospace; }
.footer-inner { flex-wrap: wrap; }
.footer-inner > div:first-child { display: grid; gap: 5px; }
.social-links { display: flex; gap: 10px; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--paper-muted); box-shadow: var(--neu-soft); text-decoration: none; text-transform: uppercase; }
.social-links a:hover { color: #fff; background: var(--blue); }
.footer-credit { flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding-top: 22px; margin-top: 6px; border-top: 1px solid rgb(255 255 255 / .06); text-align: center; text-transform: uppercase; letter-spacing: .08em; }
.cactus { display: inline-block; font-size: 19px; animation: cactus-sway 2.6s ease-in-out infinite; transform-origin: bottom center; }
.tumbleweed { display: inline-block; color: #c7955d; font-size: 25px; animation: tumble 3.4s linear infinite; }
@keyframes cactus-sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes tumble { to { transform: rotate(360deg); } }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 500; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #102317; font: 900 13px/1 var(--font-geist-mono), monospace; text-decoration: none; box-shadow: var(--neu-soft); transition: transform .2s ease; }
.whatsapp-float:hover { transform: scale(1.07); }
.back-to-top { position: fixed; right: 28px; bottom: 92px; z-index: 499; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--graphite-2); color: #fff; box-shadow: var(--neu-soft); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, visibility .25s ease, transform .25s ease; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.image-modal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 30px; background: rgb(7 10 12 / .84); backdrop-filter: blur(10px); }
.image-modal-content { position: relative; width: min(1180px, 96vw); }
.image-modal img { display: block; width: 100%; max-height: 86vh; object-fit: contain; border-radius: 20px; background: #151a1e; box-shadow: var(--neu-raised); }
.modal-close { position: absolute; top: -16px; right: -16px; z-index: 1; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--graphite-2); color: #fff; box-shadow: var(--neu-soft); font-size: 28px; cursor: pointer; }
body.modal-open { overflow: hidden; }

.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; will-change: transform; }
.cursor-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: #8bc3ff; box-shadow: 0 0 0 2px rgb(12 17 21 / .75), 0 0 18px rgb(112 165 220 / .9); }
.cursor-ring { width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 2px solid #8bc3ff; border-radius: 50%; box-shadow: 0 0 0 1px rgb(8 12 15 / .72), 0 0 18px rgb(112 165 220 / .35); transition: width .18s ease, height .18s ease, margin .18s ease, border-color .18s ease, background .18s ease; }
body.custom-cursor-active { cursor: none; }
body.custom-cursor-active a, body.custom-cursor-active button { cursor: none; }
body.custom-cursor-active .cursor-dot, body.custom-cursor-active .cursor-ring { opacity: 1; }
.cursor-ring.is-hover { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-color: #fff; background: rgb(112 165 220 / .12); }
.cursor-ring.is-text { width: 20px; height: 38px; margin: -19px 0 0 -10px; border-radius: 10px; }
body.custom-cursor-active input, body.custom-cursor-active textarea { cursor: text; }

@media (max-width: 900px) {
  nav { display: none; }
  .machine-grid, .contact-grid { grid-template-columns: 1fr; }
  .machine-photo { height: min(70vw, 540px); }
  .workshop-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info { padding: 16px 24px; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 28px, 1140px); }
  .topbar, .main-header, .hero, .services-section, .contact-section, footer { margin-left: 10px; margin-right: 10px; }
  .topbar-inner { display: grid; justify-content: start; padding: 9px 0; }
  .header-inner { min-height: 66px; }
  .brand { font-size: 18px; }
  .header-cta { min-height: 40px; padding-inline: 14px; font-size: 11px; }
  .hero { min-height: auto; }
  .hero-content { padding: 70px 0 56px; }
  .hero-specs { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 70px 0; }
  .machine-photo { height: 80vw; max-height: 470px; }
  .workshop-grid, .services-grid, .industry-grid, .process-grid { grid-template-columns: 1fr; }
  .workshop-photo { aspect-ratio: 16 / 10; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-credit { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-dot, .cursor-ring { display: none !important; }
  body.custom-cursor-active, body.custom-cursor-active a, body.custom-cursor-active button { cursor: auto; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
  body.custom-cursor-active, body.custom-cursor-active a, body.custom-cursor-active button { cursor: auto; }
}
.image-modal[hidden] {
  display: none !important;
}
/* Redes sociales del encabezado */
.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-social {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.header-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-social:hover,
.header-social:focus-visible {
  transform: translateY(-2px) scale(1.07);
  filter: brightness(1.08);
}

@media (max-width: 768px) {
  .header-socials {
    gap: 6px;
  }

  .header-social {
    width: 27px;
    height: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-social {
    transition: none;
  }

  .header-social:hover,
  .header-social:focus-visible {
    transform: none;
  }
}
.contact-whatsapp-link {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: #65b5ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
/* Número y botón de WhatsApp */
.contact-phone-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.contact-phone-number {
  font-weight: 700;
}

.whatsapp-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid #25d366;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  box-shadow:
    5px 5px 12px rgba(10, 14, 18, 0.35),
    -3px -3px 8px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-contact-button:hover,
.whatsapp-contact-button:focus-visible {
  background: #1fbd5a;
  transform: translateY(-2px);
  box-shadow:
    7px 7px 16px rgba(10, 14, 18, 0.4),
    -3px -3px 8px rgba(255, 255, 255, 0.05);
}

.whatsapp-contact-button:active {
  transform: translateY(0);
}

@media (max-width: 420px) {
  .contact-phone-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* Redes sociales del footer */
.footer-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.footer-social {
  display: block;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.footer-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-social:hover,
.footer-social:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-3px) scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-contact-button,
  .footer-social {
    transition: none;
  }

  .whatsapp-contact-button:hover,
  .footer-social:hover {
    transform: none;
  }
}

/* Logotipo e idioma */
.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: clamp(188px, 19vw, 268px);
  min-width: 188px;
  padding: 10px 16px;
  border-radius: 20px;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(247, 249, 250, 0.98), rgba(220, 226, 231, 0.96));
  box-shadow: 8px 8px 18px rgba(8, 12, 15, 0.26), -6px -6px 14px rgba(255, 255, 255, 0.08), inset 1px 1px 0 rgba(255,255,255,.65);
  isolation: isolate;
  overflow: hidden;
}
.brand-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 15% 50%, rgba(112,165,220,.18), transparent 42%), radial-gradient(circle at 85% 50%, rgba(47,111,176,.12), transparent 36%);
  opacity: .95;
  z-index: -1;
}
.brand-logo::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  border: 1px solid rgba(29, 113, 184, 0.18);
  pointer-events: none;
}
.brand-logo img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.35)) drop-shadow(0 8px 14px rgba(29,113,184,.10));
}
.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 70px;
  min-height: 42px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--graphite-2);
  color: var(--paper-muted);
  box-shadow: var(--neu-soft);
  font: 800 11px/1 var(--font-geist-mono), monospace;
  letter-spacing: .08em;
  cursor: pointer;
  transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
}
.language-switch:hover,
.language-switch:focus-visible {
  color: #fff;
  transform: translateY(-2px);
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
}
.language-option { opacity: .48; transition: opacity .2s ease, color .2s ease; }
html[lang^="es"] .language-es,
html[lang^="en"] .language-en { opacity: 1; color: var(--blue-light); }

@media (max-width: 1020px) {
  .header-inner { gap: 10px; }
  .brand-logo { width: 210px; min-width: 176px; padding: 9px 14px; }
  .header-socials { display: none; }
}
@media (max-width: 760px) {
  .brand-logo { width: 180px; min-width: 154px; padding: 8px 12px; }
  .brand-logo img { max-height: 50px; }
  .header-tools { gap: 7px; }
  .language-switch { min-width: 58px; min-height: 40px; padding: 7px 9px; }
}
@media (max-width: 520px) {
  .header-inner { flex-wrap: wrap; padding: 10px 0; }
  .brand-logo { width: 176px; }
  .header-tools { margin-left: auto; }
  .header-cta { display: none; }
}
