/* ================================================
   1. IMPORTS
   ================================================ */
@import url("fontawesome-all.min.css");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700,900");

/* ================================================
   0. BASE - Prevenir overflow horizontal
   ================================================ */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

* {
  box-sizing: border-box;
}

/* ================================================
   2. VARIABLES CSS
   ================================================ */
:root {
  /* Colores principales - marca */
  --color-primary: #e97770;
  --color-primary-dark: #d96760;
  --color-primary-light: #f98780;
  --color-bg-dark: #282b34;
  --color-bg-light: #f3f3f3;
  --color-bg-white: #ffffff;
  --color-bg-gray: #eeeeee;

  --accent: #cfcfcf;
  --accent-dark: #4a4845;
  --border-color: #707070;
  --text-light: #f5f5f0;
  --nav-bg: rgba(10, 10, 10, 0.18);
  --nav-blur: blur(14px);

  --cream: #f7f4ef;
  --white: #ffffff;
  --ink: #111010;
  --ink-soft: #4a4845;
  --card-shadow:
    0 4px 32px rgba(17, 16, 16, 0.08), 0 1px 4px rgba(17, 16, 16, 0.04);
  --card-shadow-hover:
    0 16px 56px rgba(17, 16, 16, 0.14), 0 2px 8px rgba(17, 16, 16, 0.06);

  /* Colores de texto */
  --color-text-primary: #484d55;
  --color-text-secondary: #919499;
  --color-text-muted: #717479;
  --color-text-light: #eeeeee;
  --color-text-white: #ffffff;

  /* Colores de elementos */
  --color-border: #dddddd;
  --color-border-light: #eeeeee;

  /* Sombras y overlays */
  --shadow-inset: inset 0px 0px 1px 0px #a0a1a7;
  --shadow-inset-light: inset 0px 0px 2px 0px #a0a1a7;
  --overlay-bg: url("images/overlay.png");

  /* Bordes */
  --radius: 0.35em;

  /* Transiciones */
  --transition: all 0.25s ease-in-out;
  --transition-fast: all 0.15s ease-in-out;

  /* Variables de marca (usadas en el proyecto) */
  --brand-green: #7ba05b;
  --brand-green-lt: #9ab87a;
  --brand-white: #ffffff;
  --brand-ink: #111010;
  --brand-ink-soft: #4a4845;
  --brand-muted: #888077;
  --brand-bg2: #f3f3f3;
  --spacing-section: 96px;
  --border-radius-lg: 12px;
  --color-dark: #111010;
  --color-text: #484d55;
}

/* Button Primary - Redes sociales (usado en el proyecto) */
.button-primary {
  background-color: #e7e7e76b;
  color: var(--color-text-white);
  transition: background-color 0.6s ease;
}

.button-primary:hover {
  background-color: #707070;
  color: var(--color-text-white);
}

#header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 28em;
  background: #0d0d0d;
  background-size: cover;
  padding: 0;
}

/* Logo */
#logo {
  width: 100%;
  text-align: center;
  position: relative;
  top: 1.5em;
}

#logo h1 {
  font-weight: 900;
  text-transform: uppercase;
  color: var(--color-text-white);
  font-size: 2em;
  letter-spacing: 0.25em;
}

#logo p {
  color: var(--color-text-light);
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin: 1.25em 0 0 0;
  display: block;
  letter-spacing: 0.2em;
  font-size: 0.9em;
}

#logo a {
  text-decoration: none;
  color: inherit;
}

/* ================================================
   9. Navbar
   ================================================ */
/* ── NAVBAR FLOTANTE ── */
.navbar-float {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 960px;
  z-index: 1000;

  background: var(--nav-bg);
  backdrop-filter: var(--nav-blur);
  -webkit-backdrop-filter: var(--nav-blur);

  border: 1.5px solid var(--border-color);
  border-radius: 50px;
  padding: 10px 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 0 18px rgba(200, 255, 0, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.35);

  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
}

.navbar-float.hidden {
  transform: translateX(-50%) translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.navbar-float.scrolled {
  background: rgba(10, 10, 10, 0.72);
  box-shadow:
    0 0 24px rgba(200, 255, 0, 0.18),
    0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar-float:hover {
  box-shadow:
    0 0 28px rgba(200, 255, 0, 0.22),
    0 10px 40px rgba(0, 0, 0, 0.4);
}

/* ── NAV INNER GROUP ── */
.nav-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-divider {
  width: 1px;
  height: 20px;
  background: rgba(200, 255, 0, 0.25);
  margin: 0 8px;
}

/* ── LOGO ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.logo-text {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

.logo-text span {
  color: var(--accent);
}

/* ── LINKS ── */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(245, 245, 240, 0.78);
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  line-height: 1;
  display: flex;
  align-items: center;
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #0d0d0d;
  background: var(--accent);
}

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  width: 36px;
  height: 36px;
  align-items: end;
  background: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition:
    transform 0.35s ease,
    opacity 0.25s ease,
    width 0.25s ease;
  transform-origin: end;
  align-items: end;
}

.hamburger span:nth-child(1) {
  width: 24px;
}
.hamburger span:nth-child(2) {
  width: 18px;
}
.hamburger span:nth-child(3) {
  width: 24px;
}

.hamburger.open span:nth-child(1) {
  width: 24px;
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  width: 24px;
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 960px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  padding: 14px 0;
  z-index: 999;
  box-shadow:
    0 0 20px rgba(200, 255, 0, 0.1),
    0 12px 40px rgba(0, 0, 0, 0.5);

  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  align-items: end;
}

@media (max-width: 400px) {
  .mobile-menu {
    width: calc(100% - 16px);
    top: 64px;
  }
}

.mobile-menu.open {
  display: block;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu ul li a {
  display: block;
  padding: 13px 28px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(245, 245, 240, 0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition:
    color 0.2s,
    background 0.2s,
    padding-left 0.2s;
}

.mobile-menu ul li a:hover {
  color: #0d0d0d;
  background: var(--accent);
  padding-left: 36px;
}

.mobile-menu ul li:not(:last-child) {
  border-bottom: 1px solid rgba(200, 255, 0, 0.1);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-divider {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .navbar-float {
    width: calc(100% - 24px);
    padding: 8px 16px;
    top: 12px;
  }
  .nav-logo img {
    width: 2rem !important;
  }
  .logo-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 400px) {
  .navbar-float {
    width: calc(100% - 16px);
    padding: 6px 12px;
  }
  .logo-text {
    display: none;
  }
}

/* ── DEMO CONTENT ── */
.demo-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  background: #1a1a1a;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  background: url("../../images/header.webp") no-repeat center center;
  background-size: cover;
  will-change: transform;
  z-index: 0;
}

.demo-hero > *:not(.parallax-bg) {
  position: relative;
  z-index: 1;
}

.demo-hero h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.demo-hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.demo-hero p {
  font-size: 1.05rem;
  color: rgba(245, 245, 240, 0.55);
  max-width: 480px;
  line-height: 1.7;
}

.dots {
  position: fixed;
  inset: 0;
  background-image: radial-gradient(
    rgba(200, 255, 0, 0.07) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ================================================
   9. SECTIONS - CONTENIDO
   ================================================ */

/* Section Clip - Efecto papel rasgado */
.section-clip {
  position: relative;
  background: #c8a96e;
  color: #2a1a05;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 40px;
  overflow-x: hidden;
}

@media (max-width: 575.98px) {
  .section-clip {
    padding: 60px 20px;
  }
}
  /* Borde irregular con polígono */
  clip-path: polygon(
    0% 3%,
    2% 0%,
    5% 2%,
    9% 0%,
    13% 2.5%,
    18% 0.5%,
    23% 2%,
    28% 0%,
    34% 2%,
    40% 0.5%,
    46% 2%,
    52% 0%,
    58% 2.5%,
    64% 0.5%,
    70% 2%,
    76% 0%,
    82% 2.5%,
    88% 0.5%,
    93% 2%,
    97% 0%,
    100% 2%,
    100% 98%,
    97% 100%,
    93% 98%,
    88% 100%,
    82% 97.5%,
    76% 100%,
    70% 98%,
    64% 100%,
    58% 97.5%,
    52% 100%,
    46% 98%,
    40% 100%,
    34% 97.5%,
    28% 100%,
    22% 98%,
    16% 100%,
    10% 97.5%,
    5% 100%,
    2% 98%,
    0% 100%
  );
}

.section-clip h2 {
  margin-bottom: 1em;
}

.section-clip p {
  margin-bottom: 0;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

/* Footer dark background */
[style*="background: #111111"],
[style*="background:#111111"] {
  background-color: #111111 !important;
}

/* ──────────────────────────────────────
     SECTION
  ────────────────────────────────────── */
.showcase-section {
  padding: 96px 0 112px;
  overflow-x: hidden;
}

@media (max-width: 575.98px) {
  .showcase-section {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* ──────────────────────────────────────
     KICKER (eyebrow)
  ────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-green);
  flex-shrink: 0;
}

.kicker-text {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-green);
}

/* ──────────────────────────────────────
     HEADING
  ────────────────────────────────────── */
.showcase-title {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--brand-ink);
}

.showcase-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--brand-green);
}

/* ──────────────────────────────────────
     STAT PILLS  (Bootstrap card base)
  ────────────────────────────────────── */
.stat-pill {
  /* Extiende .card de Bootstrap */
  border: 1px solid rgba(45, 74, 45, 0.2) !important;
  background-color: var(--brand-white) !important;
  border-radius: 0 !important;
  padding: 10px 16px;
  text-align: center;
  min-width: 80px;
}

@media (max-width: 575.98px) {
  .stat-pill {
    min-width: 70px;
    padding: 8px 12px;
  }
  .stat-number {
    font-size: 1.5rem;
  }
  .stat-label {
    font-size: 0.6rem;
  }
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand-green);
  line-height: 1;
}

.stat-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-muted);
  margin-top: 3px;
}

/* ──────────────────────────────────────
     MOSAICO
     Nota: usamos CSS Grid propio porque
     Bootstrap .row no soporta celdas
     irregulares de mosaico. El resto de
     la página puede usar .container/.row
     normalmente.
  ────────────────────────────────────── */
.mosaic {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  grid-auto-rows: 48px;
  gap: var(--mosaic-gap);
}

/* Posición de cada celda */
.m1 {
  grid-column: 1 / 6;
  grid-row: 1 / 8;
}
.m2 {
  grid-column: 6 / 10;
  grid-row: 1 / 5;
}
.m3 {
  grid-column: 10 / 13;
  grid-row: 1 / 4;
}
.m4 {
  grid-column: 13 / 21;
  grid-row: 1 / 6;
}
.m5 {
  grid-column: 6 / 10;
  grid-row: 5 / 10;
}
.m6 {
  grid-column: 10 / 13;
  grid-row: 4 / 9;
}
.m7 {
  grid-column: 13 / 17;
  grid-row: 6 / 11;
}
.m8 {
  grid-column: 17 / 21;
  grid-row: 6 / 10;
}
.m9 {
  grid-column: 1 / 6;
  grid-row: 8 / 13;
}
.m10 {
  grid-column: 6 / 11;
  grid-row: 10 / 14;
}
.m11 {
  grid-column: 11 / 14;
  grid-row: 9 / 14;
}
.m12 {
  grid-column: 14 / 21;
  grid-row: 11 / 16;
}
.m13 {
  grid-column: 1 / 5;
  grid-row: 13 / 17;
}
.m14 {
  grid-column: 5 / 9;
  grid-row: 14 / 17;
}
.m15 {
  grid-column: 9 / 14;
  grid-row: 14 / 17;
}

/* ── Card base ── */
.m-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--brand-bg2);
  /* Entrada animada */
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: mFadeIn 0.5s ease forwards;
}

/* Delays escalonados */
.m1 {
  animation-delay: 0.04s;
}
.m2 {
  animation-delay: 0.08s;
}
.m3 {
  animation-delay: 0.1s;
}
.m4 {
  animation-delay: 0.12s;
}
.m5 {
  animation-delay: 0.16s;
}
.m6 {
  animation-delay: 0.18s;
}
.m7 {
  animation-delay: 0.2s;
}
.m8 {
  animation-delay: 0.22s;
}
.m9 {
  animation-delay: 0.26s;
}
.m10 {
  animation-delay: 0.28s;
}
.m11 {
  animation-delay: 0.3s;
}
.m12 {
  animation-delay: 0.32s;
}
.m13 {
  animation-delay: 0.36s;
}
.m14 {
  animation-delay: 0.38s;
}
.m15 {
  animation-delay: 0.4s;
}

@keyframes mFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Fondo de color único por card */
.m-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.m1 .m-bg {
  background: linear-gradient(135deg, #d4e8c8, #b8d4a8);
}
.m2 .m-bg {
  background: linear-gradient(135deg, #e8d4b8, #d4b890);
}
.m3 .m-bg {
  background: linear-gradient(135deg, #c8d8e8, #a8bcd4);
}
.m4 .m-bg {
  background: linear-gradient(135deg, #e8e0c8, #d4c8a0);
}
.m5 .m-bg {
  background: linear-gradient(135deg, #d8e4d0, #bcd0b4);
}
.m6 .m-bg {
  background: linear-gradient(135deg, #f0dcc8, #e0c4a4);
}
.m7 .m-bg {
  background: linear-gradient(135deg, #c8e0d0, #a4c8b4);
}
.m8 .m-bg {
  background: linear-gradient(135deg, #e4d0c4, #d0b8a8);
}
.m9 .m-bg {
  background: linear-gradient(135deg, #d0dce8, #b0c4d8);
}
.m10 .m-bg {
  background: linear-gradient(135deg, #e0e8d0, #c8d8b4);
}
.m11 .m-bg {
  background: linear-gradient(135deg, #ecdcc8, #d8c0a0);
}
.m12 .m-bg {
  background: linear-gradient(135deg, #c8e8d8, #a4d0bc);
}
.m13 .m-bg {
  background: linear-gradient(135deg, #e8e0d0, #d4c8b4);
}
.m14 .m-bg {
  background: linear-gradient(135deg, #d4e4c8, #b8d0a4);
}
.m15 .m-bg {
  background: linear-gradient(135deg, #e4d8c0, #ccc0a0);
}

/* Ícono central */
.m-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}
.m-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.m-icon.emoji {
  font-size: 2rem;
}
.m1 .m-icon.emoji {
  font-size: 3.5rem;
}
.m4 .m-icon.emoji {
  font-size: 3rem;
}
.m9 .m-icon.emoji {
  font-size: 2.8rem;
}
.m12 .m-icon.emoji {
  font-size: 3.2rem;
}
.m3 .m-icon.emoji,
.m8 .m-icon.emoji {
  font-size: 1.4rem;
}

.m-card:hover .m-bg,
.m-card:hover .m-icon {
  transform: scale(1.06);
}

/* Overlay — usando utilidades Bootstrap como base */
.m-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 24, 20, 0.88) 0%,
    rgba(28, 24, 20, 0.3) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}
.m-card:hover .m-overlay {
  opacity: 1;
}

.m-product-name {
  font-family: "Fraunces", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 3px;
}
.m-product-detail {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
}
.m3 .m-product-name,
.m8 .m-product-name {
  font-size: 0.72rem;
}
.m3 .m-product-detail,
.m8 .m-product-detail {
  display: none;
}

/* Badge de formato — usa .badge de Bootstrap como base */
.m-format-badge {
  /* Extiende Bootstrap .badge */
  position: absolute !important;
  top: 10px;
  right: 10px;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.88) !important;
  color: var(--brand-green) !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 3px 8px !important;
  backdrop-filter: blur(4px);
}

/* ──────────────────────────────────────
     FOOTER DE SECCIÓN
  ────────────────────────────────────── */
.showcase-footer {
  border-top: 1px solid rgba(28, 24, 20, 0.1);
  padding-top: 2.25rem;
  margin-top: 3.5rem;
}

.footer-claim {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 300;
  font-style: italic;
  color: var(--brand-ink-soft);
  line-height: 1.55;
}
.footer-claim strong {
  font-style: normal;
  font-weight: 700;
  color: var(--brand-green);
}

/* Botón CTA — extiende .btn de Bootstrap */
.btn-brand {
  background-color: var(--brand-green);
  color: var(--brand-white);
  border: none;
  border-radius: 0;
  font-family: "Cabinet Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}
.btn-brand:hover {
  background-color: var(--brand-green-lt);
  color: var(--brand-white);
  transform: translateX(4px);
}

/* ──────────────────────────────────────
     RESPONSIVE
  ────────────────────────────────────── */
@media (max-width: 991.98px) {
  .mosaic {
    grid-template-columns: repeat(10, 1fr);
    grid-auto-rows: 56px;
  }
  .m1 {
    grid-column: 1 / 6;
    grid-row: 1 / 6;
  }
  .m2 {
    grid-column: 6 / 11;
    grid-row: 1 / 5;
  }
  .m3 {
    grid-column: 1 / 4;
    grid-row: 6 / 9;
  }
  .m4 {
    grid-column: 4 / 11;
    grid-row: 5 / 8;
  }
  .m5 {
    grid-column: 6 / 11;
    grid-row: 5 / 9;
  } /* ajuste: no overlap con m4 */
  .m5 {
    grid-column: 1 / 4;
    grid-row: 9 / 14;
  }
  .m6 {
    grid-column: 4 / 8;
    grid-row: 8 / 13;
  }
  .m7 {
    grid-column: 8 / 11;
    grid-row: 8 / 12;
  }
  .m8 {
    grid-column: 4 / 7;
    grid-row: 13 / 16;
  }
  .m9 {
    grid-column: 7 / 11;
    grid-row: 12 / 16;
  }
  .m10 {
    grid-column: 1 / 5;
    grid-row: 14 / 17;
  }
  .m11 {
    grid-column: 5 / 8;
    grid-row: 16 / 19;
  }
  .m12 {
    grid-column: 8 / 11;
    grid-row: 16 / 20;
  }
  /* Ocultar las últimas 3 en tablet para no saturar */
  .m13,
  .m14,
  .m15 {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 60px;
  }
  .m1 {
    grid-column: 1 / 5;
    grid-row: 1 / 5;
  }
  .m2 {
    grid-column: 5 / 7;
    grid-row: 1 / 4;
  }
  .m3 {
    grid-column: 5 / 7;
    grid-row: 4 / 6;
  }
  .m4 {
    grid-column: 1 / 5;
    grid-row: 5 / 8;
  }
  .m5 {
    grid-column: 1 / 4;
    grid-row: 8 / 12;
  }
  .m6 {
    grid-column: 4 / 7;
    grid-row: 8 / 11;
  }
  .m7 {
    grid-column: 4 / 7;
    grid-row: 11 / 14;
  }
  .m8 {
    grid-column: 1 / 4;
    grid-row: 12 / 14;
  }
  .m9 {
    grid-column: 1 / 7;
    grid-row: 14 / 17;
  }
  .m10,
  .m11,
  .m12,
  .m13,
  .m14,
  .m15 {
    display: none;
  }
}

/* ──────────────────────────────────────
     Instagram Grid
  ────────────────────────────────────── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}

/* Instagram Card */
.instagram-card {
  position: relative;
  overflow: hidden;
  /* cursor: pointer; */
  background-color: #f3f3f3;
  border-radius: 4px;
}

/* Imagen */
.instagram-card .insta-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.instagram-card:hover .insta-img {
  transform: scale(1.08);
}

/* Tag de categoría */
.instagram-card .insta-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--color-primary) !important;
  font-size: 0.65rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border-radius: 2px !important;
  padding: 4px 10px !important;
}

/* Overlay */
.instagram-card .insta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28, 24, 20, 0.85) 0%,
    rgba(28, 24, 20, 0.25) 45%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  pointer-events: none;
}

.instagram-card:hover .insta-overlay {
  opacity: 1;
}

.instagram-card:hover .insta-link-icon {
  opacity: 1;
}

/* Caption */
.instagram-card .insta-caption {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Stats */
.instagram-card .insta-stats {
  display: flex;
  gap: 16px;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.instagram-card .insta-stats span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.instagram-card .insta-stats i {
  font-size: 0.9rem;
}

/* Animación de entrada */
@keyframes instaFadeIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive - Tablet: 3 columnas */
@media (max-width: 991.98px) {
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
    gap: 10px;
  }
}

/* Responsive - Móvil: 2 columnas */
@media (max-width: 575.98px) {
  .instagram-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
    gap: 8px;
  }

  .instagram-card .insta-caption {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }

  .instagram-card .insta-tag {
    font-size: 0.55rem !important;
    padding: 3px 6px !important;
  }

  .instagram-card .insta-stats {
    font-size: 0.65rem;
    gap: 10px;
  }
}

/* Propuesta de valor */
.why-choose-section {
  padding: var(--spacing-section) 0;
}

.why-choose-section .img-wrap {
  position: relative;
}

.why-choose-section .img-wrap img {
  border-radius: var(--border-radius-lg);
  max-width: 100%;
  height: auto;
}

.feature {
  margin-bottom: 30px;
}

.feature .icon {
  display: inline-block;
  position: relative;
  margin-bottom: 20px;
}

.feature .icon img,
.feature img {
  max-width: 100%;
  width: 80px;
  height: auto;
}

.feature h3 {
  font-size: 14px;
  color: var(--color-dark);
}

.feature p {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text);
}

@media (max-width: 575.98px) {
  .feature .icon img,
  .feature img {
    width: 60px;
  }
  .feature h3 {
    font-size: 12px;
  }
}

/* ──────────────────────────────────────
     MISSION VISION VALUES CARDS
  ────────────────────────────────────── */
.mv-card {
  background: var(--color-bg-white);
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid var(--color-border-light);
  position: relative;
  z-index: 1;
}

/* Multi-layer shadow for depth effect on hover */
.mv-card:hover {
  transform: scale(1.05);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.1),
    0 5px 10px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.mv-icon i {
  font-size: 32px;
  color: var(--color-text-white);
}

.mv-card:hover .mv-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(233, 119, 112, 0.4);
}

.mv-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mv-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .mv-card {
    padding: 30px 24px;
  }

  .mv-icon {
    width: 70px;
    height: 70px;
  }

  .mv-icon i {
    font-size: 28px;
  }

  .mv-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .mv-card {
    padding: 25px 20px;
  }

  .mv-icon {
    width: 60px;
    height: 60px;
  }

  .mv-icon i {
    font-size: 24px;
  }

  .mv-title {
    font-size: 1.2rem;
  }

  .mv-text {
    font-size: 0.95rem;
  }
}

/* Testimonios */
/* ══ SECCIÓN ══ */
.testimonios-section {
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
  overflow-x: hidden;
}

/* Detalle decorativo fondo */
.testimonios-section::before {
  content: "\201C";
  font-family: "Playfair Display", serif;
  font-size: 420px;
  line-height: 1;
  color: rgba(17, 16, 16, 0.04);
  position: absolute;
  top: -60px;
  left: -20px;
  pointer-events: none;
  user-select: none;
}

/* ══ ENCABEZADO ══ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent-dark);
  border-radius: 2px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 0;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent-dark);
}

/* ══ TARJETA ══ */
.testimonial-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 36px 32px;
  box-shadow: var(--card-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
  will-change: transform;
}

.testimonial-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-4px);
}

/* Comilla decorativa */
.card-quote-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.card-quote-icon svg {
  width: 18px;
  height: 18px;
}

/* Texto del testimonio */
.card-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.75;
  flex-grow: 1;
}

/* Footer de la tarjeta */
.card-footer-custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(17, 16, 16, 0.07);
}

/* Logo empresa */
.company-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.company-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.company-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.company-sector {
  font-size: 0.72rem;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Calificación numérica */
.card-rating {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  text-align: right;
  flex-shrink: 0;
}

.card-rating span {
  font-family: "DM Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--ink-soft);
  display: block;
}

/* ══ SWIPER ══ */
.swiper {
  padding: 12px 4px 56px !important;
  overflow: visible !important;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
}

/* Dots */
.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(17, 16, 16, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 3px;
  background: var(--accent-dark);
}

/* ══ RESPONSIVE ══ */
@media (max-width: 768px) {
  .testimonios-section {
    padding: 72px 0 90px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .testimonial-card {
    padding: 32px 28px 28px;
  }
}

@media (max-width: 575.98px) {
  .testimonios-section {
    padding-left: 12px;
    padding-right: 12px;
  }
  .testimonial-card {
    padding: 24px 20px 20px;
  }
}

/* About Start */
.img-about {
  width: 100%;
  max-width: 400px;
}

/* ══════════════════════════
       SECCIÓN
    ══════════════════════════ */
.proceso-section {
  padding: 110px 0 120px;
  overflow: hidden;
}

/* ── Encabezado ── */
.proceso-header {
  margin-bottom: 80px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #888077;
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: #888077;
  display: block;
}

.section-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 600;
  color: #111;
  line-height: 1.1;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: #555;
}

/* ══ TIMELINE ══ */
.timeline-wrap {
  position: relative;
}

.timeline-track {
  position: absolute;
  top: 38px;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: rgba(17, 17, 17, 0.1);
  z-index: 0;
}

.timeline-progress {
  position: absolute;
  top: 38px;
  left: 12px;
  width: 0%;
  height: 1.5px;
  background: #111;
  z-index: 1;
  transform-origin: left center;
}

/* Ocultar línea horizontal en mobile */
@media (max-width: 767px) {
  .timeline-track,
  .timeline-progress {
    display: none;
  }
}

/* ── Paso ── */
.step {
  opacity: 0;
  transform: translateY(28px);
}

.step-dot {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #fff;
  border: 1.5px solid rgba(17, 17, 17, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  flex-shrink: 0;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
  box-shadow: 0 2px 12px rgba(17, 17, 17, 0.06);
}

.step:hover .step-dot {
  border-color: #111;
  box-shadow: 0 6px 28px rgba(17, 17, 17, 0.12);
  transform: translateY(-3px);
}

.step-dot svg {
  width: 28px;
  height: 28px;
  stroke: #111;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-dot img {
  width: 40px;
  height: auto;
}

@media (max-width: 575.98px) {
  .step-dot img {
    width: 32px;
  }
}

.step-number {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 8px;
}

.step-title {
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: #666;
  line-height: 1.7;
}

/* Espaciado vertical entre pasos en mobile */
@media (max-width: 767px) {
  .step {
    margin-bottom: 36px;
  }
  .step:last-child {
    margin-bottom: 0;
  }
}

/* Botones */
/* From Uiverse.io by WhiteNervosa */
.button-white {
  font-size: 18px;
  color: #e1e1e1;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.button-black {
  font-size: 18px;
  color: #2c2c2c;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.button-white:focus,
.button-white:hover {
  color: #fff;
}

.button-black:focus,
.button-black:hover {
  color: #2c2c2c;
}

.button-white:focus:after,
.button-white:hover:after,
.button-black:focus::after,
.button-black:hover::after {
  width: 100%;
  left: 0%;
}

.button-white:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

.button-black:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #2c2c2c;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}

.button-white {
  font-size: 18px;
  color: #e1e1e1;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.button-whatsapp {
  font-size: 18px;
  color: #2c2c2c;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  border: none;
  background: none;
  text-transform: uppercase;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: color;
}

.button-whatsapp:focus,
.button-whatsapp:hover {
  color: #fff;
}

.button-whatsapp:focus::after,
.button-whatsapp:hover::after {
  width: 100%;
  left: 0%;
}

.button-whatsapp:after {
  content: "";
  pointer-events: none;
  bottom: -2px;
  left: 50%;
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #fff;
  transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
  transition-duration: 400ms;
  transition-property: width, left;
}
