/* bitio.com - estilos */
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --accent: #6c82bc;
  --accent-dark: #566ca8;
  --header: rgba(44, 47, 62, 0.94);
  --footer: #3b3c3e;
  --text: #4b4b4b;
  --heading: #1d1d1f;
  --light: #f6f6f6;
  --line: #e6e6e6;
  --max: 1170px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { color: var(--heading); font-weight: 600; line-height: 1.2; margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.justify { text-align: justify; hyphens: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Cabecera */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header);
  backdrop-filter: blur(4px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo img { width: 112px; height: 30px; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 30px; margin: 0; padding: 0; list-style: none; }
.nav a {
  color: #d9dbe3; text-decoration: none;
  font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; font-weight: 700; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(420px, 82vh, 760px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff;
}
.hero > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 22, 30, .38); z-index: -1; }
.hero .inner { position: relative; max-width: 760px; padding: 48px 24px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7.5vw, 4.6rem); font-weight: 600; margin-bottom: .35em; }
.hero p { font-size: 1rem; letter-spacing: .03em; margin-bottom: 1.6em; }

/* Botones */
.btn {
  display: inline-block;
  background: var(--accent); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  padding: 11px 28px; border-radius: 999px;
  transition: background .2s;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-caps { text-transform: uppercase; font-size: 11px; letter-spacing: .1em; padding: 10px 24px; }
.btn-caps::before { content: "\25B6"; font-size: 9px; margin-right: 8px; vertical-align: 1px; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: #eef1f9; color: var(--accent-dark); }
.btn-small { padding: 7px 20px; font-size: 12px; }

/* Secciones */
.section { padding: 72px 0; }
.section + .section { padding-top: 0; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0 auto; max-width: calc(var(--max) - 48px); }
.lead { margin-top: -.3em; margin-bottom: 2.4em; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.two-col.middle { align-items: center; }

.quote {
  margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem; line-height: 1.7; color: #222;
}
.quote footer { margin-top: 1em; font-family: "Montserrat", sans-serif; font-size: 13px; font-weight: 700; color: var(--accent); }

/* Marcas (inicio) */
.brand-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-bottom: 40px; }
.brand-card { text-align: center; }
.brand-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 16px; }
.brand-card h3 { font-size: 1.15rem; margin-bottom: .5em; }
.brand-card p { font-size: 13.5px; line-height: 1.7; }

/* Bloque de color */
.band {
  background: var(--accent); color: #fff; text-align: center;
  padding: 56px 32px; margin: 0 24px;
}
.band h2 { color: #fff; }
.band p { max-width: 560px; margin-left: auto; margin-right: auto; }
.band .map { width: 100%; max-width: 940px; margin: 32px auto 0; }

/* Valores */
.values { list-style: none; padding: 0; margin: 2em 0 0; }
.values li { margin-bottom: 1.4em; }
.values h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: .3em; }
.values svg { width: 22px; height: 22px; fill: var(--accent); flex: none; }
.phone-img { max-width: 300px; margin: 0 auto; }

/* Marcas (página) */
.brand-row { padding: 48px 0; }
.brand-row.alt { background: var(--light); }
.brand-row .two-col { align-items: center; }
.brand-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand-row .tag { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 1.4em; }
.brand-row.alt .media { order: -1; }

/* Contacto */
.channels { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 24px 48px; margin-top: 1.2em; }
.channel { display: flex; align-items: center; gap: 14px; font-size: 1.15rem; font-weight: 500; color: #fff; text-decoration: none; }
.channel:hover { color: #fff; text-decoration: underline; }
.channel svg { width: 32px; height: 32px; fill: #fff; flex: none; }

/* Email protegido: el texto de .x no se muestra ni se copia */
.x { display: none; }

/* Textos legales */
.legal { max-width: 900px; padding-top: 56px; padding-bottom: 72px; font-size: 14.5px; }
.legal h1 { font-size: clamp(1.7rem, 3.5vw, 2.2rem); }
.legal h2 { font-size: 1.15rem; margin-top: 2em; }
.legal ul { padding-left: 1.2em; }
.legal .meta { color: #777; font-size: 13px; }

/* Pie */
.site-footer { background: var(--footer); color: #d0d0d0; font-size: 12px; padding: 22px 0; }
.site-footer p { margin: 0; }
.site-footer a { color: #fff; font-weight: 600; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .sep { margin: 0 8px; color: #8a8a8a; }

/* Responsive */
@media (max-width: 1000px) {
  .brand-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 14.5px; }
  .site-header .wrap { flex-direction: column; justify-content: center; padding-top: 12px; padding-bottom: 10px; gap: 6px; }
  .nav { justify-content: center; gap: 4px 18px; }
  .section { padding: 48px 0; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .brand-row.alt .media { order: 0; }
  .band { margin: 0; padding: 44px 20px; }
  .quote { font-size: 1.15rem; }
  .justify { text-align: left; }
  .channels { flex-direction: column; align-items: center; }
}
@media (max-width: 340px) {
  .brand-grid { grid-template-columns: 1fr; }
  .brand-card img { max-width: 280px; margin-left: auto; margin-right: auto; }
}
