/* ══════════════════════════════════════════
   BRICKDATA – styles.css
   Fuente: Montserrat via Google Fonts
══════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  color: #1f2937;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* ── VARIABLES ── */
:root {
  --purple:   #361952;
  --purple-l: #5a2fa3;
  --orange:   #F29200;
  --muted:    #6b7280;
}

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
#navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #1A0F24;
  box-shadow: 0 1px 4px rgba(0,0,0,.09);
  transition: box-shadow .3s;
}
#navbar.scrolled { box-shadow: 0 4px 20px rgba(61,31,122,.14); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 9px; }
.logo-bricks { display: flex; align-items: flex-end; gap: 2px; }
.logo-bricks b { display: block; border-radius: 2px; }
.lb1, .lb3 { width: 10px; height: 20px; background: var(--purple); }
.lb2        { width: 10px; height: 11px; background: var(--orange); }
.lb3        { margin-left: -1px; }
.logo-name  { font-size: 19px; font-weight: 800; color: var(--purple); letter-spacing: -.5px; }
.logo-name em { font-style: normal; color: var(--orange); }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 18px 10px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  cursor: pointer;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav-link:hover          { background: #542285; }
.nav-link.active         { background: var(--purple); color: #fff; border-bottom:2px #642C87 solid; font-weight:900; }
.nav-link.active:hover   { background: var(--purple-l); }

/* Chevron */
.chevron { width: 13px; height: 13px; flex-shrink: 0; transition: transform .2s; }

/* Dropdown */
.dropdown { position: relative; }
.dropdown:hover .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100%);
  left: 0;
  min-width: 210px;
  background: #2E1C3E;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(61,31,122,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s;
  z-index: 300;
  overflow: hidden;
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.di {
  display: block;
  padding: 11px 16px;
  font-weight: 500;
    color: #fff;
  font-size: 15px;
  transition: background .15s, color .15s;
}
.di:hover { background: #542285;}

/* Support button */
.btn-support {
  margin-left: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #1A0F24;
  background: #F29200;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.btn-support:hover { background: #FFC773;}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  color: #FFF;
}
.hamburger:hover { background: #F29200; }
.hamburger svg  { display: block; width: 24px; height: 24px; }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px 16px;
  border-top: 1px solid orange;
}
.mobile-menu.open { display: flex; }
.m-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.m-link:hover, .m-link.active { background: #361953; color: #FFF; font-weight:900 }
.m-sub {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-left: 14px;
  margin-bottom: 4px;
}
.m-sub.open { display: flex; }
.m-sub a {
  display: block;
  padding: 16px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #FFF;
  transition: background .15s, color .15s;
}
.m-sub a:hover { background: #542285; color: #fff; }
.mc { width: 14px; height: 14px; transition: transform .2s; flex-shrink: 0; }
.mc.open { transform: rotate(180deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: #1A0F24;
  padding: 80px 0;
  overflow: hidden;
}
.hero-inner  { display: flex; align-items: center; gap: 60px; }
.hero-text   { flex: 1; }

.eyebrow {
  font-size: clamp(14px, 2vw, 20px) ;
  font-weight: 300;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 14px;
}
.eyebrow strong { color: var(--orange); }

.hero-title {
  font-size: clamp(36px, 3vw, 45px) ;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
}
.hero-title-small {
  font-size: clamp(28px, 3vw, 36px) ;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #fff;
}
.hero-title .ac { color: var(--orange); }

.hero-body {
  font-size: clamp(16px, 1vw, 20px) ;
  font-weight: 500;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 34px;
}
.hero-body-small {
  font-size: clamp(14px, 1vw, 18px) ;
  font-weight: 500;
  color: #fff;
  line-height: 1.75;
  margin-bottom: 34px;
}

/* Primary button */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(61,31,122,.3);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: none;
  color: #1A0F24;
}
.btn-primary:hover  { background: var(--purple-l); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(61,31,122,.35); color:#fff }
.btn-primary:active { transform: translateY(0); }

/* Primary button */
.btn-primary-outline {
  display: inline-block;
  background: var(--transparent);
  color: var(--orange);;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(61,31,122,.3);
  transition: background .2s, transform .15s, box-shadow .2s;
  cursor: pointer;
  border: 1px solid var(--orange);;
}
.btn-primary-outline:hover  {  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(61,31,122,.35); color:#fff; border: 1px solid #fff; }
.btn-primary:active { transform: translateY(0); }


/* ══════════════════════════════════════════
   SOMOS BRICKDATA
══════════════════════════════════════════ */
.about { padding: 80px 0; background: #fff; }
.section-title {
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 700;
  color: #1A0F24;
  letter-spacing: -.5px;
}

.about-inner { display: flex; align-items: center; gap: 64px; }
.about-text  { flex: 1; }
.about-text p {
  font-size: clamp(18px, 3vw, 20px);
  font-weight: 300;
  color: #1A0F24;
  line-height: 1.8;
}
.offer-text  { flex: 1; }
.offer-text p {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 300;
  color: #1A0F24;
  line-height: 1.8;
}
/* ══════════════════════════════════════════
   services
══════════════════════════════════════════ */
.white-block { padding: 40px 0; background: #fff; }
.gray-block { padding: 40px 0; background: #F6F6F6; }

/* ══════════════════════════════════════════
   STATS / NUESTROS NÚMEROS
══════════════════════════════════════════ */
.stats-wrap { margin-top: -36px; }
.stats-card {
  background: #522775;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: stretch;
}
.stats-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-right: 40px;
}
.stats-label p { font-size: 24px; font-weight: 800; color: #fff; line-height: 1.4; letter-spacing: .03em;}
.stats-numbers {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding-left: 40px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
}
.stat-item:last-child { border-right: none; }
.stat-num  { font-size: clamp(52px,4vw,52px); font-weight: 700; color: var(--orange); line-height: 1; }
.stat-desc { font-size: 14px; font-weight: 500; color: #fff; text-align: center; }

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner, .about-inner { flex-direction: column; gap: 40px; }
  .hero-img-wrap { max-width: 100%; width: 100%; }
  .rack-box      { max-width: 480px; margin: 0 auto; }
  .about-logo    { justify-content: center; width: 100%; }
  .stats-card    { flex-direction: column; gap: 24px; }
  .stats-label   { width: 100%; padding-right: 0; padding-bottom: 24px; border-right: none}
  .stats-numbers { padding-left: 0; }
}
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger   { display: flex; align-items: center; justify-content: center; }
  .hero        { padding: 48px 0 56px; }
  .about       { padding: 56px 0; }
  .stats-numbers { flex-direction: column; gap: 0; }
  .stat-item   { border-right: none;  padding: 20px; width: 100%; }
  .stat-item:last-child { border-bottom: none; }
}
/* ══════════════════════════════════════════
   LO QUE OFRECEMOS
══════════════════════════════════════════ */
.ofrecemos {
  padding: 80px 0;
  background: #fff;
}
.ofrecemos-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}
.ofrecemos-left {}
.ofrecemos-title {
  font-size: clamp(30px, 3vw, 34px);
  font-weight: 700;
  color: #1A0F24;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 16px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ofrecemos-body {
  font-size: 16px;
  color: #1A0F24;
  line-height: 1.5;
}

.subtitle-offer {
  font-size: 22px !important;
  color: #1A0F24;
  line-height: 1.5;
  font-weight: 500;
}

/* Cards grid */
.ofrecemos-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ocard {
  background: #fff;
  border-radius: 16px;
  padding: 24px 20px;
  transition: box-shadow .25s, border-color .25s, transform .25s;
}

.ocard-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ocard-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ocard-title {
  font-size: 20px;
  font-weight: 700;
  color: #1A0F24;
  line-height: 1.3;
  margin-bottom: 10px;
}
.ocard-desc {
  font-size: 15px;
  color: #1A0F24;
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   NUESTRO ENFOQUE
══════════════════════════════════════════ */
.enfoque {
  padding: 80px 0;
}
.section-center {
  text-align: center;
  margin-bottom: 32px;
}
.section-title-lg {
  font-size: clamp(34px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: .06em;
  color: #1A0F24;
  text-transform: uppercase;
}

.enfoque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Enfoque card */
.ecard {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/4;
  cursor: pointer;
  /* touch support */
}

/* Placeholder background (dark tech gradient per card) */
.ecard-bg {
  position: absolute;
  inset: 0;
  transition: transform .5s ease;
}
.ecard:hover .ecard-bg { transform: scale(1.06); }

.ecard-bg-1 {
  background-image: url("../images/background-1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}
.ecard-bg-2 {
   background-image: url("../images/background-2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

.ecard-bg-3 {
   background-image: url("../images/background-3.jpg");
  background-size: cover;
  background-repeat: no-repeat;
}

/* Default state content (title + logo visible) */
.ecard-default {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px 20px;
  transition: opacity .35s ease;
}
.ecard:hover .ecard-default,
.ecard.tapped .ecard-default { opacity: 0; }

.ecard-label {
  margin-top: 32px;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ecard-label .arrows {
  font-size: 24px;
  color: rgba(255,255,255,.8);
  letter-spacing: -.5px;
}

/* Mini logo inside card */
.ecard-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  align-self: flex-end;
}
.ecard-logo-bricks {
  display: flex;
  align-items: flex-end;
  gap: 1px;
}
.ecard-logo-bricks b { display: block; border-radius: 1.5px; }
.elb1, .elb3 { width: 6px; height: 12px; background: var(--orange); }
.elb2        { width: 6px; height: 7px;  background: var(--orange); opacity: .7; }
.elb3        { margin-left: -1px; }
.ecard-logo-name { font-size: 11px; font-weight: 800; color: #fff; letter-spacing: -.3px; }
.ecard-logo-name em { font-style: normal; color: var(--orange); }

/* Hover/tap overlay */
.ecard-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.ecard:hover .ecard-overlay,
.ecard.tapped .ecard-overlay {
  opacity: 1;
  pointer-events: auto;
}
.ecard-overlay-title {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ecard-overlay-title .arrows { font-size: 13px; color: rgba(255,255,255,.75); }
.ecard-overlay-desc {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 1.65;
  flex: 1;
  margin-top: 20px;
}
.ecard-overlay-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

/* ══════════════════════════════════════════
   ALIANZAS ESTRATÉGICAS
══════════════════════════════════════════ */
.alianzas {
  padding: 72px 0 80px;
  background: #fff;
}
.alianzas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px 32px;
  margin-top: 24px;
}

/* Partner logo pill */
.partner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  max-width: 180px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #fff;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}
.partner:hover {
  box-shadow: 0 4px 16px rgba(61,31,122,.1);
  border-color: #d4c8f7;
  transform: translateY(-2px);
}
/* Partner text logo (CSS-only, no img needed) */

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.disclaimer {
  background: #F6F6F6;
  border-top: 1px solid #ede8ff;
  padding: 28px 0;
  text-align: center;
}
.disclaimer p {
  font-size: 14px;
  font-weight: 500;
  color: #595858;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}
/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ofrecemos-inner { grid-template-columns: 1fr; gap: 36px; }
  .ofrecemos-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .ofrecemos-cards { grid-template-columns: 1fr; }
  .enfoque-grid    { grid-template-columns: 1fr; }
  .ecard { aspect-ratio: 4/4; }
  .ofrecemos, .enfoque, .alianzas { padding: 56px 0; }
  .alianzas-grid { gap: 20px 28px; }
  .partner { min-width: 100px; padding: 8px 14px; }
}
@media (max-width: 480px) {
  .ofrecemos-cards { grid-template-columns: 3fr; gap: 32px}
  .alianzas-grid   { gap: 16px 20px; }
}
/* ══════════════════════════════════════════
   FOOTER PRINCIPAL
══════════════════════════════════════════ */
.site-footer {
  background: #1A0F24;
}

/* ── Cuerpo del footer ── */
.footer-body {
  padding: 56px 0 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Columna 1: Logo */
.footer-logo-col {}
.footer-logo {
  display: inline-flex;
  align-items: flex-end;
  gap: 10px;
}


/* Columna 2: Direcciones */
.footer-addr-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-addr {}
.footer-addr-city {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-addr-text {
  font-size: 16px;
  color: #fff;
  line-height: 1.7;
}

/* Columna 3: Contacto + Conozca más */
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.footer-block-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-contact-item {
  font-size: 16px;
  color: #fff;
  line-height: 1.8;
}
.footer-contact-item strong {
  font-weight: 700;
  color: #fff;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 16px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #fff;
  transition: color .2s, text-decoration-color .2s;
  width: fit-content;
}
.footer-nav a:hover {
  color: var(--orange);
  text-decoration-color: var(--orange);
}

/* ── Barra inferior de redes sociales ── */
.footer-bar {
  background: #2d1060;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}
.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.footer-social {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  transition: color .2s;
}
.footer-social:hover { color: #fff; }
.footer-social:hover .li-icon { background: #0a66c2; }

/* LinkedIn icon */
.li-icon {
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,.15);
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  flex-shrink: 0;
}
.li-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-logo-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-logo-col { grid-column: auto; }
  .footer-body { padding: 40px 0 36px; }
  .footer-bar-inner { gap: 24px; }
}
.brand-icon {
  width: 62px;
  height: auto;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   PRIVACY
══════════════════════════════════════════ */
.privacy {
      padding: 56px 0 80px;
      background: #fff;
    }

    .privacy h1 {
      font-size: 28px;
      font-weight: 700;
      color: #111827;
      margin-bottom: 16px;
    }

    .privacy p {
      font-size: 16px;
      font-weight: 500;
      color: #374151;
      line-height: 1.75;
      margin-bottom: 12px;
    }

    .privacy h2 {
      font-size: 20px;
      font-weight: 700;
      color: #111827;
      margin-top: 32px;
      margin-bottom: 10px;
      text-transform: uppercase;
    }

    .privacy ul {
      list-style: disc;
      padding-left: 24px;
      margin-bottom: 12px;
    }

    .privacy ul li {
      font-size: 16px;
      font-weight: 500;
      color: #374151;
      line-height: 1.75;
    }

    .privacy a {
      color: #374151;
      text-decoration: underline;
      text-underline-offset: 3px;
      font-weight: 700;
    }

    @media (max-width: 768px) {
      .privacy { padding: 40px 0 60px; }
      .privacy h1 { font-size: 24px; }
      .privacy h2 { font-size: 18px; }
      .privacy p,
      .privacy ul li { font-size: 15px; }
    }