/* ============================================================
   Maquicenter — Landing page styles
   Single-page marketing site
   ============================================================ */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--mc-negro);
  color: var(--fg-2);
  font-family: var(--font-body);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Generic section ============ */
.section { padding: 96px 0; border-bottom: 1px solid var(--border-1); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 52px; line-height: 1.02; letter-spacing: -0.02em;
  color: var(--fg-1);
  margin: 14px 0 18px;
}
.section-head p {
  font-size: 17px; line-height: 1.6; color: var(--fg-2);
  margin: 0;
}
.eyebrow {
  font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px;
  color: var(--mc-amarillo);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: var(--mc-amarillo);
}

/* ============ Buttons ============ */
.btn {
  font-family: var(--font-body);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  padding: 14px 22px;
  border: 2px solid transparent;
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background 100ms linear, color 100ms linear;
  white-space: nowrap;
}
.btn-primary { background: var(--mc-amarillo); color: var(--mc-negro); }
.btn-primary:hover { background: var(--mc-amarillo-hi); }
.btn-primary:active { background: var(--mc-amarillo-lo); }
.btn-secondary { background: transparent; color: var(--fg-1); border-color: var(--border-2); }
.btn-secondary:hover { border-color: var(--mc-amarillo); color: var(--mc-amarillo); }
.btn-ghost { background: transparent; color: var(--fg-2); }
.btn-ghost:hover { color: var(--fg-1); }
.btn-lg { padding: 16px 26px; font-size: 14px; }
.btn svg { width: 16px; height: 16px; stroke-width: 2; }
.btn-lg svg { width: 18px; height: 18px; }

/* ============ Header ============ */
.mc-header {
  position: sticky; top: 0; z-index: 50;
  height: 92px;
  background: rgba(13,13,13,0.96);
  border-bottom: 1px solid var(--border-1);
  backdrop-filter: none;
}
.mc-header .row { display: flex; align-items: center; height: 100%; gap: 40px; }
.mc-logo img { height: 56px; display: block; }
.mc-nav { display: flex; gap: 32px; flex: 1; justify-content: center; }
.mc-nav a {
  font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 12px;
  color: var(--fg-2);
  padding: 36px 0;
  border-bottom: 2px solid transparent;
}
.mc-nav a:hover { color: var(--fg-1); }
.mc-nav a.active { color: var(--mc-amarillo); border-bottom-color: var(--mc-amarillo); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--mc-negro);
  overflow: hidden;
  border-bottom: 1px solid var(--border-1);
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.55;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(245,196,0,0.10), transparent 50%),
    linear-gradient(180deg, #0D0D0D 0%, #141414 100%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px;
  padding: 88px 0 96px; align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 80px; line-height: 0.96; letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 18px 0 24px;
}
.hero h1 .y { color: var(--mc-amarillo); }
.hero p.lead {
  font-size: 19px; line-height: 1.55; color: var(--fg-2);
  max-width: 580px; margin: 0 0 36px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #242424 0%, #0D0D0D 100%);
  border: 1px solid var(--border-1);
  border-radius: 2px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 8px 8px 0 0 var(--mc-amarillo);
}
.hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 22px, rgba(255,255,255,0.025) 22px 23px);
}
.hero-visual .stamp {
  position: absolute; top: 20px; left: 20px;
  background: var(--mc-amarillo); color: var(--mc-negro);
  font-family: var(--font-body); font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 11px;
  padding: 6px 10px; border-radius: 2px;
}
.hero-visual .glyph { position: relative; color: #2E2E2E; }
.hero-visual .glyph svg { width: 160px; height: 160px; stroke-width: 1.2; }
.hero-visual .footstamp {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.14em;
  z-index: 2;
}
.hero-visual img.photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
.hero-visual .stamp,
.hero-visual .footstamp { z-index: 2; }
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,13,13,0.85) 100%);
  pointer-events: none; z-index: 1;
}

.hero-stripe {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--mc-amarillo) 0 18px, var(--mc-negro) 18px 36px);
}

/* ============ Trust bar ============ */
.trust {
  background: var(--mc-negro);
  border-bottom: 1px solid var(--border-1);
  padding: 28px 0;
}
.trust-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
}
.trust-item {
  display: flex; gap: 14px; align-items: center;
  padding: 8px 16px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: "";
  position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px;
  background: var(--border-1);
}
.trust-item .ic {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mc-amarillo);
  flex-shrink: 0;
}
.trust-item .ic svg { width: 22px; height: 22px; stroke-width: 1.8; }
.trust-item .txt {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.35;
}
.trust-item .txt strong { color: var(--fg-1); display: block; font-weight: 800; }

/* ============ Services ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
}
.service {
  background: var(--mc-negro);
  padding: 0;
  display: flex; flex-direction: column;
  min-height: 460px;
  transition: background 120ms;
  position: relative;
}
.service:hover { background: var(--mc-gris-900); }
.service .photo-slot {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #1A1A1A 0%, #0D0D0D 100%);
  position: relative;
  border-bottom: 1px solid var(--border-1);
  overflow: hidden;
}
.service .photo-slot img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.service .body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.service .head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 4px;
}
.service .num {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--mc-amarillo);
  letter-spacing: 0.06em;
}
.service .ic {
  width: 28px; height: 28px;
  color: var(--mc-amarillo);
  opacity: 0.5;
}
.service .ic svg { width: 28px; height: 28px; stroke-width: 1.6; }
.service h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 22px; line-height: 1.05; letter-spacing: 0.01em;
  color: var(--fg-1);
  margin: 0;
}
.service p {
  font-size: 14.5px; line-height: 1.6; color: var(--fg-3);
  margin: 0;
}

/* ============ Para quién ============ */
.audience-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.aud-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.aud-card:hover { border-color: var(--mc-amarillo); }
.aud-card .ic {
  width: 52px; height: 52px;
  background: var(--mc-amarillo);
  color: var(--mc-negro);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
}
.aud-card .ic svg { width: 26px; height: 26px; stroke-width: 2; }
.aud-card h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 22px; line-height: 1.1; letter-spacing: 0.01em;
  color: var(--fg-1);
  margin: 0;
}
.aud-card p {
  font-size: 14.5px; line-height: 1.6; color: var(--fg-3);
  margin: 0;
}

/* ============ Por qué elegirnos ============ */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-item {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 0;
  border-top: 2px solid var(--mc-amarillo);
}
.why-item .ic {
  width: 32px; height: 32px;
  color: var(--mc-amarillo);
}
.why-item .ic svg { width: 32px; height: 32px; stroke-width: 1.8; }
.why-item h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 18px; line-height: 1.1; letter-spacing: 0.01em;
  color: var(--fg-1);
  margin: 0;
}
.why-item p {
  font-size: 14px; line-height: 1.55; color: var(--fg-3);
  margin: 0;
}

/* ============ Clients ============ */
.clients-section { background: var(--mc-gris-900); }
.clients-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  margin-top: 40px;
}
.client-logo {
  background: var(--mc-negro);
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
  min-height: 120px;
  transition: background 150ms;
  filter: grayscale(1) brightness(1.4);
  opacity: 0.55;
}
.client-logo:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  background: var(--mc-gris-900);
}
.client-logo img {
  max-height: 60px; max-width: 80%; object-fit: contain;
}

/* ============ Testimonial ============ */
.testimonial {
  background: var(--mc-amarillo);
  color: var(--mc-negro);
  padding: 96px 0;
  position: relative;
}
.testimonial::before {
  content: "“";
  position: absolute;
  font-family: var(--font-display);
  font-size: 320px;
  line-height: 0.7;
  color: var(--mc-negro);
  opacity: 0.07;
  top: 40px; left: 32px;
  pointer-events: none;
}
.testimonial .container { position: relative; }
.testimonial .eyebrow { color: var(--mc-negro); }
.testimonial .eyebrow::before { background: var(--mc-negro); }
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: 36px; line-height: 1.25; letter-spacing: -0.005em;
  color: var(--mc-negro);
  margin: 24px 0 32px;
  font-weight: 400;
  text-transform: none;
  max-width: 920px;
  font-style: normal;
}
.testimonial cite {
  font-style: normal;
  display: flex; align-items: center; gap: 14px;
}
.testimonial cite .who {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 16px;
  color: var(--mc-negro);
  letter-spacing: 0.04em;
}
.testimonial cite .role {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--mc-negro);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-left: 1px solid var(--mc-negro);
  padding-left: 14px;
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--border-1); }
.faq-item:last-child { border-bottom: 1px solid var(--border-1); }
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--fg-1);
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 19px;
  letter-spacing: 0.01em;
  line-height: 1.2;
  gap: 24px;
}
.faq-q:hover { color: var(--mc-amarillo); }
.faq-q .plus {
  width: 32px; height: 32px;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mc-amarillo);
  flex-shrink: 0;
  transition: background 120ms, transform 120ms;
}
.faq-item.open .faq-q .plus { background: var(--mc-amarillo); color: var(--mc-negro); transform: rotate(45deg); }
.faq-q .plus svg { width: 16px; height: 16px; stroke-width: 2.5; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 200ms ease;
}
.faq-item.open .faq-a { max-height: 240px; }
.faq-a-inner {
  padding: 0 0 28px;
  font-size: 15.5px; line-height: 1.6; color: var(--fg-2);
  max-width: 820px;
}

/* ============ CTA final ============ */
.cta-final {
  background: var(--mc-negro);
  padding: 120px 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--mc-amarillo) 0 18px, var(--mc-negro) 18px 36px);
}
.cta-final h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 72px; line-height: 0.98; letter-spacing: -0.025em;
  color: var(--fg-1);
  margin: 12px 0 18px;
  max-width: 880px;
}
.cta-final h2 .y { color: var(--mc-amarillo); }
.cta-final p {
  font-size: 19px; line-height: 1.55; color: var(--fg-2);
  margin: 0 0 36px; max-width: 620px;
}
.cta-final-actions {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-bottom: 48px;
}
.cta-final .meta {
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border-1);
}
.cta-final .meta .item {
  display: flex; gap: 12px; align-items: center;
  font-family: var(--font-mono); font-size: 14px; color: var(--fg-1);
}
.cta-final .meta .item svg { width: 18px; height: 18px; color: var(--mc-amarillo); stroke-width: 2; }

/* ============ Footer ============ */
.footer { background: var(--mc-negro); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 48px;
}
.footer .brand img { height: 56px; }
.footer .brand p {
  color: var(--fg-3); font-size: 13.5px; line-height: 1.6;
  margin: 18px 0 0; max-width: 280px;
}
.footer h6 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 13px; color: var(--fg-1); letter-spacing: 0.08em;
  margin: 0 0 18px;
}
.footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.footer ul a { color: var(--fg-3); font-size: 13.5px; }
.footer ul a:hover { color: var(--mc-amarillo); }
.footer ul a.social { display: inline-flex; align-items: center; gap: 10px; }
.footer ul a.social svg { width: 16px; height: 16px; stroke-width: 2; color: var(--mc-amarillo); }
.footer .meta {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--border-1);
  font-family: var(--font-mono); font-size: 11px;
  color: var(--fg-3); text-transform: uppercase; letter-spacing: 0.1em;
}
.footer .meta .right { display: flex; gap: 24px; }

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: var(--mc-amarillo);
  color: var(--mc-negro);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 4px 4px 0 0 var(--mc-negro);
  z-index: 100;
}
.wa-float:hover { background: var(--mc-amarillo-hi); }
.wa-float svg { width: 28px; height: 28px; stroke-width: 2; }

/* ============================================================
   MOBILE BURGER / HEADER
   ============================================================ */
.mc-burger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 2px;
  color: var(--fg-1);
  align-items: center; justify-content: center;
}
.mc-burger svg { width: 22px; height: 22px; stroke-width: 2; }

.mc-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: var(--mc-negro);
  border-bottom: 1px solid var(--border-1);
}
.mc-mobile-menu.open { display: flex; }
.mc-mobile-menu a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  color: var(--fg-1);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-1);
}
.mc-mobile-menu a.btn { margin-top: 12px; border-bottom: none; justify-content: center; }

/* ============================================================
   RESPONSIVE — tablet + mobile
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }

  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding: 64px 0 72px; }
  .hero h1 { font-size: 64px; }
  .hero p.lead { font-size: 17px; }
  .hero-visual { aspect-ratio: 16/10; max-width: 100%; }

  .section { padding: 72px 0; }
  .section-head h2 { font-size: 40px; }

  .trust-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-item + .trust-item::before { display: none; }
  .trust-item { border: 1px solid var(--border-1); border-radius: 2px; padding: 14px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-final h2 { font-size: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  /* Header — collapse nav into burger */
  .mc-header { height: 76px; }
  .mc-logo img { height: 44px; }
  .mc-nav { display: none; }
  .mc-header-cta { display: none; }
  .mc-burger { display: inline-flex; margin-left: auto; }
  .mc-header .row { gap: 16px; justify-content: space-between; }

  /* Hero */
  .hero-grid { padding: 48px 0 56px; gap: 24px; }
  .hero h1 { font-size: 44px; line-height: 0.98; letter-spacing: -0.02em; margin: 14px 0 18px; }
  .hero p.lead { font-size: 16px; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-actions .btn { justify-content: center; width: 100%; }
  .hero-visual { aspect-ratio: 4/3; box-shadow: 5px 5px 0 0 var(--mc-amarillo); }
  .hero-visual .glyph svg { width: 110px; height: 110px; }

  /* Sections */
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 32px; line-height: 1.05; }
  .section-head p { font-size: 15px; }
  .eyebrow { font-size: 11px; }

  .btn { font-size: 12px; padding: 13px 18px; }
  .btn-lg { font-size: 13px; padding: 14px 20px; }

  /* Trust */
  .trust { padding: 20px 0; }
  .trust-row { grid-template-columns: 1fr 1fr; gap: 8px; }
  .trust-item { padding: 12px; gap: 10px; }
  .trust-item .txt { font-size: 11px; line-height: 1.3; }
  .trust-item .ic { width: 32px; height: 32px; }
  .trust-item .ic svg { width: 18px; height: 18px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service { min-height: auto; }
  .service .body { padding: 22px 22px 26px; }
  .service h3 { font-size: 20px; }
  .service p { font-size: 14px; }

  /* Audience */
  .aud-card { padding: 24px 22px; }
  .aud-card h4 { font-size: 20px; }

  /* Why */
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .why-item { padding: 20px 0; }
  .why-item h4 { font-size: 17px; }

  /* Clients */
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .client-logo { padding: 24px 16px; min-height: 100px; }
  .client-logo img { max-height: 44px; }

  /* Testimonial */
  .testimonial { padding: 64px 0; }
  .testimonial::before { font-size: 200px; top: 16px; left: 12px; }
  .testimonial blockquote { font-size: 22px; line-height: 1.3; margin: 18px 0 24px; }
  .testimonial cite { flex-direction: column; align-items: flex-start; gap: 8px; }
  .testimonial cite .role { border-left: none; padding-left: 0; }

  /* FAQ */
  .faq-q { font-size: 15px; padding: 22px 0; gap: 16px; }
  .faq-q .plus { width: 28px; height: 28px; }
  .faq-q .plus svg { width: 14px; height: 14px; }
  .faq-a-inner { font-size: 14px; padding-bottom: 22px; }
  .faq-item.open .faq-a { max-height: 360px; }

  /* CTA final */
  .cta-final { padding: 80px 0; }
  .cta-final h2 { font-size: 40px; line-height: 1; }
  .cta-final p { font-size: 16px; margin-bottom: 28px; }
  .cta-final-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 36px; }
  .cta-final-actions .btn { justify-content: center; width: 100%; }
  .cta-final .meta { flex-direction: column; gap: 16px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; }
  .footer .brand p { max-width: none; }
  .footer .meta { flex-direction: column; gap: 14px; align-items: flex-start; }
  .footer .meta .right { gap: 16px; flex-wrap: wrap; }

  /* WA float */
  .wa-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}
