/* ─────────────────────────────────────────────────────────────
   Xari Creixell — hoja de estilos
   Estilo: taller industrial · tinta, papel y rojo de taller
   ───────────────────────────────────────────────────────────── */

:root {
  --ink: #141414;
  --ink-2: #2b2b2b;
  --paper: #f4f1ec;
  --paper-2: #ebe6de;
  --white: #ffffff;
  --red: #d7261e;
  --red-dark: #b01d16;
  --steel: #6b7078;
  --line: rgba(20, 20, 20, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);
  --radius: 4px;
  --shadow: 0 18px 40px -22px rgba(20, 20, 20, 0.45);
  --wrap: 1240px;
  --display: 'Archivo', 'Arial Narrow', Arial, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--white);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--red); color: var(--white); padding: 10px 16px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.img-empty { background: repeating-linear-gradient(45deg, var(--paper), var(--paper) 12px, var(--paper-2) 12px, var(--paper-2) 24px); width: 100%; height: 100%; min-height: 200px; }

/* ── Tipografía ── */
.display {
  font-family: var(--display); font-weight: 850; font-stretch: 72%;
  font-size: clamp(44px, 7.2vw, 96px); line-height: 0.92; letter-spacing: -0.01em;
  text-transform: uppercase; margin-bottom: 22px;
}
.display-md { font-size: clamp(40px, 5.4vw, 72px); }
.display-xl { font-size: clamp(110px, 22vw, 240px); color: var(--red); margin-bottom: 0; }
.h2 {
  font-family: var(--display); font-weight: 800; font-stretch: 80%;
  font-size: clamp(30px, 4vw, 52px); line-height: 1; text-transform: uppercase; margin-bottom: 18px;
}
.h3 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 30px; line-height: 1.05; margin-bottom: 10px; }
.h4 { font-family: var(--display); font-weight: 800; font-stretch: 88%; font-size: 22px; line-height: 1.1; margin-bottom: 8px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 560px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 18px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.kicker-light { color: var(--white); }
.kicker-num { font-family: var(--display); font-weight: 800; letter-spacing: 0.02em; }
.section-intro { font-size: 17px; color: var(--ink-2); max-width: 640px; }
.link-arrow { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--red); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ── Botones ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--body); font-weight: 600; font-size: 15px; line-height: 1;
  padding: 15px 24px; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: var(--ink); color: var(--white); }
.btn-block { width: 100%; }

/* ── Barra del grupo ── */
.group-bar { background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 12px; }
.group-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.group-bar-label { letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--white); }
.group-bar-links { display: flex; gap: 22px; }
.group-bar-links a { text-decoration: none; }
.group-bar-links a:hover, .group-bar-links a[aria-current] { color: var(--white); }
.group-bar-links a[aria-current] { box-shadow: inset 0 -2px 0 var(--red); }

/* ── Cabecera ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 21px; line-height: 1; text-transform: uppercase; }
.brand-text small { display: block; font-family: var(--body); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; color: var(--steel); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav > a:not(.btn) { font-weight: 500; font-size: 15px; text-decoration: none; padding: 6px 0; position: relative; }
.main-nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.main-nav > a:not(.btn):hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-shop { padding: 11px 16px; font-size: 14px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 10px; width: 24px; height: 2px; background: var(--ink); content: ''; transition: transform .25s, opacity .25s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -7px; left: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Selector de idioma */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; user-select: none;
  font-weight: 600; font-size: 13px; letter-spacing: 0.06em;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after { content: ' ▾'; font-size: 10px; }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 200; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); min-width: 150px; padding: 6px 0;
}
.lang-switch li a { display: block; padding: 9px 16px; font-size: 14px; text-decoration: none; }
.lang-switch li a:hover { background: var(--paper); }
.lang-switch li a[aria-current] { font-weight: 700; color: var(--red); }

/* ── Hero ── */
.hero { padding: 64px 0 0; background: linear-gradient(180deg, var(--white) 0%, var(--white) 62%, var(--paper) 62%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-copy .lead { margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; margin: 0; }
.hero-media::before {
  content: ''; position: absolute; inset: 28px -18px -18px 28px; background: var(--red); border-radius: var(--radius); z-index: 0;
}
.hero-img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-badge {
  position: absolute; z-index: 2; left: -14px; bottom: 26px;
  background: var(--ink); color: var(--white); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 14px; border-radius: var(--radius);
}
.stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 2px solid var(--ink); }
.stats li { padding: 26px 24px 34px 0; display: flex; align-items: baseline; gap: 14px; }
.stats li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(48px, 6vw, 76px); line-height: 0.9; color: var(--red); }
.stats span { font-size: 15px; line-height: 1.35; color: var(--ink-2); max-width: 170px; }

/* ── Secciones ── */
.section { padding: 110px 0; }
.section-paper { background: var(--paper); }
.section-head { max-width: 760px; margin-bottom: 52px; }

/* Grupo */
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.group-card {
  display: flex; flex-direction: column; text-decoration: none; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.group-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.group-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.group-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.group-card:hover .group-card-media img { transform: scale(1.05); }
.group-card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.group-card-body > p:not(.group-card-role) { color: var(--ink-2); font-size: 15px; }
.group-card-logo { height: 34px; width: auto; max-width: 140px; object-fit: contain; object-position: left; margin-bottom: 18px; }
.group-card-role { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 6px; }
.group-card .link-arrow { margin-top: auto; padding-top: 16px; }

/* Marcas */
.brands-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.brands-layout .section-head { margin-bottom: 0; position: sticky; top: 120px; }
.brands { list-style: none; display: grid; gap: 16px; }
.brand-card {
  display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line);
}
.brand-card p { color: var(--ink-2); font-size: 15px; }
.brand-logo { height: 92px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--line); padding-right: 22px; }
.brand-logo img { max-height: 70px; width: auto; max-width: 140px; object-fit: contain; }

/* Alcance internacional */
.global { background: var(--ink); color: var(--white); padding: 110px 0; position: relative; overflow: hidden; }
.global::before {
  content: ''; position: absolute; inset: 0; opacity: .06; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.9) 1px, transparent 1px); background-size: 22px 22px;
}
.global-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; position: relative; }
.global-copy p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 560px; }
.global-points { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--line-light); }
.global-points li { padding: 22px 18px 0 0; }
.global-points li + li { padding-left: 18px; border-left: 1px solid var(--line-light); }
.global-points strong { display: block; font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: 44px; line-height: 1; color: var(--red); margin-bottom: 8px; }
.global-points span { font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.75); }
.global-visual { position: relative; }
.globe { width: 100%; max-width: 440px; margin: 0 auto; display: block; }
.globe-sphere { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.35); stroke-width: 1.2; }
.globe-lines * { fill: none; stroke: rgba(255,255,255,.16); stroke-width: 1; }
.globe-routes path { fill: none; stroke: var(--red); stroke-width: 1.8; stroke-dasharray: 5 6; stroke-linecap: round; animation: route-dash 2.4s linear infinite; }
.globe-dots circle { fill: var(--white); }
.globe-home { fill: var(--red); }
.globe-home-pulse { fill: none; stroke: var(--red); stroke-width: 2; transform-origin: 214px 150px; animation: pulse 2.2s ease-out infinite; }
.global-coords { text-align: center; margin-top: 10px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@keyframes route-dash { to { stroke-dashoffset: -22; } }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .globe-routes path, .globe-home-pulse { animation: none; } }

/* Especialidades */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.spec-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.spec-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.spec-card:hover .spec-card-media img { transform: scale(1.05); }
.spec-card-body { padding: 22px 24px 26px; position: relative; }
.spec-card-body p { font-size: 15px; color: var(--ink-2); }
.spec-num { display: block; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 0.1em; color: var(--red); margin-bottom: 8px; }
.spec-card-solid { background: var(--red); color: var(--white); border-color: var(--red); justify-content: flex-end; min-height: 320px; position: relative; }
.spec-card-solid::before {
  content: ''; position: absolute; inset: 0; opacity: .14;
  background: repeating-linear-gradient(-45deg, #000 0 2px, transparent 2px 16px);
}
.spec-card-solid .spec-card-body p, .spec-card-solid .spec-num { color: var(--white); }
.spec-card-solid .h4 { font-size: 34px; }

/* Experiencia */
.experience { position: relative; padding: 120px 0; color: var(--white); background: var(--ink); overflow: hidden; }
.experience-media { position: absolute; inset: 0; }
.experience-media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.2); }
.experience-inner { position: relative; }
.experience-box { max-width: 620px; background: rgba(20, 20, 20, 0.82); border-left: 4px solid var(--red); padding: 44px 44px 40px; }
.experience-box p { color: rgba(255, 255, 255, 0.86); font-size: 17px; }

/* Opiniones */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.quote { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; margin: 0; background: var(--paper); border-radius: var(--radius); padding: 30px; }
.quote-img { width: 110px; height: 110px; object-fit: cover; object-position: top; border-radius: 50%; }
.quote blockquote p { font-size: 17px; line-height: 1.6; }
.quote blockquote p::before { content: '“'; font-family: var(--display); font-weight: 900; font-size: 54px; line-height: 0; color: var(--red); vertical-align: -0.38em; margin-right: 4px; }
.quote figcaption { margin-top: 14px; font-weight: 600; }
.quote figcaption::before { content: '— '; color: var(--red); }

/* Llamada a la acción */
.cta-band { background: var(--red); color: var(--white); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.cta-inner .h2 { margin-bottom: 8px; }
.cta-inner p { font-size: 17px; max-width: 620px; opacity: .92; }
.cta-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cta-phone { font-family: var(--display); font-weight: 800; font-stretch: 80%; font-size: 26px; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }

/* ── Página Empresa ── */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,0) 20%, rgba(20,20,20,.85) 100%); }
.page-hero-inner { position: relative; padding-top: 120px; padding-bottom: 64px; }
.page-hero .lead { color: rgba(255, 255, 255, 0.86); }
.timeline { padding-top: 100px; padding-bottom: 60px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 100px; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-media::after { content: ''; position: absolute; width: 90px; height: 90px; right: -16px; bottom: -16px; background: var(--red); z-index: -1; border-radius: var(--radius); }
.feature-flip .feature-media { order: 2; }
.feature-flip .feature-media::after { right: auto; left: -16px; }
.feature-copy p { color: var(--ink-2); font-size: 17px; margin-bottom: 14px; max-width: 520px; }

/* ── Página Contacto ── */
.contact-hero { padding: 80px 0 110px; background: linear-gradient(90deg, var(--white) 50%, var(--paper) 50%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.contact-info .lead { margin-bottom: 34px; }
.contact-list { display: grid; gap: 22px; margin-bottom: 34px; }
.contact-list div { border-left: 3px solid var(--red); padding-left: 16px; }
.contact-list dt { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.contact-list dd { font-size: 17px; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.contact-shop { display: flex; gap: 18px; align-items: center; background: var(--ink); color: var(--white); padding: 20px 22px; border-radius: var(--radius); }
.contact-shop img { width: 86px; height: auto; flex-shrink: 0; }
.contact-shop p { font-size: 15px; color: rgba(255,255,255,.85); }
.contact-shop a { color: var(--white); font-weight: 600; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.contact-form { display: grid; gap: 18px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid #cfcac2; border-radius: var(--radius); padding: 12px 14px; background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(215, 38, 30, 0.18); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-type { border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.form-type legend { font-size: 14px; font-weight: 500; margin-bottom: 8px; width: 100%; }
.form-type label { display: block; }
.form-type input { position: absolute; opacity: 0; pointer-events: none; }
.form-type span { display: inline-block; border: 1px solid #cfcac2; border-radius: 999px; padding: 8px 16px; cursor: pointer; font-size: 14px; transition: all .2s; }
.form-type input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.form-type input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.captcha { grid-template-columns: 1fr 90px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 12px 14px; }
.captcha input { text-align: center; }
.form-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; color: var(--ink-2); }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }
.form-consent a { color: var(--red); }
.form-note { font-size: 13px; color: var(--steel); }
.form-msg { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 20px; font-size: 15px; }
.form-ok { background: #e7f6ec; color: #1d6b37; border: 1px solid #a8dcb9; }
.form-error { background: #fdecea; color: #a1201a; border: 1px solid #f3b8b3; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── Páginas legales ── */
.page-header { background: var(--paper); padding: 90px 0 54px; }
.page-header .page-h1, .page-header .page-h1-sub { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.page-h1 { font-family: var(--display); font-weight: 850; font-stretch: 72%; font-size: clamp(40px, 6vw, 76px); line-height: 0.95; text-transform: uppercase; margin-bottom: 12px !important; }
.page-h1-sub { color: var(--steel); font-size: 15px; }
.legal { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; }
.legal h2 { font-family: var(--display); font-weight: 800; font-stretch: 85%; font-size: 24px; margin: 38px 0 12px; }
.legal p { font-size: 16px; line-height: 1.7; margin-bottom: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.legal a { color: var(--red); }
.legal-note { background: var(--paper); border-left: 3px solid var(--red); padding: 12px 16px; font-style: italic; }

/* ── 404 ── */
.page-404 { padding: 80px 0 120px; }
.page-404 .lead { margin-bottom: 28px; }

/* ── Pie ── */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding: 80px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding-bottom: 60px; }
.footer-brand img { height: 64px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; }
.footer-h { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.site-footer p { margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-group { list-style: none; display: grid; gap: 16px; }
.footer-group a { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 500; }
.footer-group img { height: 22px; width: auto; }
.footer-group span { display: block; font-size: 13px; color: rgba(255,255,255,.55); margin-top: 2px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; border-top: 1px solid var(--line-light); padding-top: 24px; padding-bottom: 28px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── Animación de entrada (solo si hay JS y el usuario no prefiere menos movimiento) ── */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ── Responsive ── */
@media (max-width: 1080px) {
  .main-nav { gap: 18px; }
  .group-grid, .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brands-layout { grid-template-columns: 1fr; gap: 40px; }
  .brands-layout .section-head { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 24px 22px; display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .main-nav > a:not(.btn)::after { display: none; }
  .nav-shop { margin-top: 16px; padding: 14px; }
  .lang-switch { margin-top: 14px; align-self: flex-start; }
  .lang-switch ul { left: 0; right: auto; top: auto; bottom: calc(100% + 8px); }
  .hero { padding-top: 40px; background: linear-gradient(180deg, var(--white) 0%, var(--white) 78%, var(--paper) 78%); }
  .hero-grid, .contact-grid, .feature, .global-grid { grid-template-columns: 1fr; gap: 40px; }
  .global { padding: 80px 0; }
  .globe { max-width: 320px; }
  .feature-flip .feature-media { order: 0; }
  .feature { margin-bottom: 72px; }
  .contact-hero { background: var(--white); }
  .contact-form-wrap { padding: 26px 20px; }
  .quotes { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
}
@media (max-width: 640px) {
  .group-bar-label { display: none; }
  .group-bar-inner { justify-content: center; }
  .group-bar-links { gap: 16px; }
  .brand-text { display: none; }
  .stats { grid-template-columns: 1fr; margin-top: 52px; }
  .global-points { grid-template-columns: 1fr; }
  .global-points li, .global-points li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .stats li, .stats li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .group-grid, .spec-grid { grid-template-columns: 1fr; }
  .brand-card { grid-template-columns: 1fr; gap: 14px; }
  .brand-logo { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 14px; justify-content: flex-start; height: 76px; }
  .quote { grid-template-columns: 1fr; padding: 24px; }
  .quote-img { width: 84px; height: 84px; }
  .form-row { grid-template-columns: 1fr; }
  .experience { padding: 70px 0; }
  .experience-box { padding: 30px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-media::before { inset: 18px -10px -10px 18px; }
  .hero-badge { left: 8px; }
  .cta-phone { font-size: 22px; }
}

/* Especialidades «Próximamente» */
.spec-card { position: relative; }
.spec-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--ink); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 999px; box-shadow: 0 6px 16px -8px rgba(0,0,0,.5);
}
.spec-card-soon .spec-card-media img { filter: grayscale(1) contrast(.92); opacity: .7; }
.spec-card-soon:hover .spec-card-media img { transform: none; }
.spec-card-solid .spec-badge { background: var(--white); color: var(--red); }
