/* ==========================================================================
   LION 360 · SOLUCIONES INTEGRALES
   Editorial Minimalist & Fine Typography Stylesheet
   ========================================================================== */

:root {
  /* Official LION 360 Brand Palette — Deep Navy, Metallic Silver & Ice White */
  --bg-primary: #ffffff;
  --bg-soft: #f4f7fa;
  --bg-subtle: #e9eff5;
  --bg-dark: #072240;
  --bg-dark-elevated: #0b2d54;

  --ink-primary: #072240;
  --ink-secondary: #3c4e63;
  --ink-muted: #6c7a89;
  --ink-on-dark: #ffffff;
  --ink-on-dark-muted: rgba(232, 239, 247, 0.78);

  --accent: #184b84;         /* Corporate Cobalt-Navy Accent */
  --accent-deep: #082d54;    /* Official LION 360 Banner Navy */
  --accent-silver: #878a90;  /* Official LION 360 Orbital Silver */
  --accent-on-dark: #9ec0e6; /* Crisp Luminous Ice-Blue on Navy */
  --accent-soft: rgba(8, 45, 84, 0.08);
  --fresh: #0f3d6e;
  --whatsapp: #082d54;       /* Brand Navy Primary CTA */
  --whatsapp-hover: #14467d;
  --wa-green: #186b4f;       /* Subtle Floating WhatsApp Shortcut */
  --wa-green-hover: #12563f;

  --border: rgba(7, 34, 64, 0.11);
  --border-strong: rgba(7, 34, 64, 0.22);
  --border-dark: rgba(255, 255, 255, 0.14);

  /* Fine Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Spacing & Layout */
  --container-max: 1220px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --section-pad: clamp(4.5rem, 8vw, 7.5rem);
  --header-height: 78px;

  /* Motion & Shape */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-subtle: 0 12px 36px -16px rgba(15, 26, 36, 0.1);
  --shadow-card: 0 20px 50px -24px rgba(15, 26, 36, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 1.5px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* Typography Hierarchy — Ultra-Fine & Editorial */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--accent-silver);
}

.eyebrow--light {
  color: var(--accent-on-dark);
}

.eyebrow--light::before {
  background-color: var(--accent-on-dark);
}

.section-title {
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

.section-title--light {
  color: var(--ink-on-dark);
}

.section-title--light em {
  color: var(--accent-on-dark);
}

.section-lead {
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.section-header--center {
  margin-inline: auto;
  text-align: center;
}

.section-header--center .eyebrow {
  justify-content: center;
}

.section-header--center .eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background-color: var(--accent-silver);
}

.section-header--center .section-lead {
  margin-inline: auto;
}

/* Sections */
.section {
  padding-block: var(--section-pad);
  position: relative;
}

.section--soft {
  background-color: var(--bg-soft);
}

.section--dark {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark-muted);
}

/* Buttons — Crisp Hairlines & Fine Weight */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.92rem 1.75rem;
  border-radius: var(--radius-xs);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark);
  border-color: var(--bg-dark);
}

.btn--primary:hover {
  background-color: var(--accent-deep);
  border-color: var(--accent-deep);
  transform: translateY(-1px);
}

.btn--whatsapp {
  background-color: var(--whatsapp);
  color: #ffffff;
  border-color: var(--whatsapp);
}

.btn--whatsapp:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  transform: translateY(-1px);
}

.btn--outline {
  background-color: transparent;
  color: var(--ink-primary);
  border-color: var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--ink-primary);
  background-color: rgba(15, 26, 36, 0.03);
}

.btn--outline-light {
  background-color: transparent;
  color: var(--ink-on-dark);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn--outline-light:hover {
  border-color: var(--accent-on-dark);
  color: var(--accent-on-dark);
}

.btn--sm {
  padding: 0.7rem 1.25rem;
  font-size: 0.74rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-primary);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--accent);
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.link-arrow:hover {
  color: var(--accent-deep);
  gap: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px -14px rgba(15, 26, 36, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 44px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-primary);
  text-transform: uppercase;
}

.brand-name span {
  color: var(--accent);
  font-weight: 300;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-silver);
  margin-top: 0.22rem;
}

.brand--light .brand-name {
  color: var(--ink-on-dark);
}

.brand--light .brand-name span {
  color: var(--accent-on-dark);
}

.brand--light .brand-sub {
  color: rgba(182, 192, 204, 0.85);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.2vw, 2.2rem);
}

.nav-link {
  font-size: 0.76rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-secondary);
  position: relative;
  padding-block: 0.35rem;
  transition: color 0.25s var(--ease);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background-color: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ink-primary);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  cursor: pointer;
  color: var(--ink-primary);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background-color: rgba(15, 26, 36, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 86vw);
  background-color: var(--bg-primary);
  padding: 1.5rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.75rem;
}

.mobile-nav a {
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--ink-primary);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--accent-deep);
  padding-left: 0.4rem;
}

.mobile-drawer__footer {
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer__meta {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + clamp(2.5rem, 5vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-title {
  font-size: clamp(2.55rem, 4.9vw, 4.15rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 1.35rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  font-weight: 400;
  color: var(--ink-primary);
  letter-spacing: 0.01em;
  margin: 0 0 1rem;
}

.hero-copy {
  font-size: 0.96rem;
  font-weight: 300;
  line-height: 1.82;
  color: var(--ink-secondary);
  margin: 0 0 1.4rem;
  max-width: 56ch;
}

.hero-cta-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink-primary);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  padding-top: 1.65rem;
  border-top: 1px solid var(--border);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-meta-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.hero-meta-value {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink-primary);
}

.hero-media {
  position: relative;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xs);
  background-color: var(--bg-subtle);
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--shadow-card);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.hero-frame:hover img {
  transform: scale(1.025);
}

.hero-badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  padding: 1.1rem 1.45rem;
  max-width: 260px;
  box-shadow: var(--shadow-subtle);
}

.hero-badge__kicker {
  display: block;
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.3rem;
}

.hero-badge__text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--ink-primary);
  margin: 0;
}

/* ==========================================================================
   SOBRE NOSOTROS
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
  margin-bottom: clamp(3rem, 5vw, 4.5rem);
}

.about-body p {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  font-weight: 300;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.mv-stack {
  display: grid;
  gap: 1.5rem;
}

.mv-card {
  padding: 1.85rem 2rem;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
}

.mv-card__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.65rem;
}

.mv-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--ink-primary);
  font-weight: 300;
}

/* Valores */
.values-wrap {
  padding-top: 2.75rem;
  border-top: 1px solid var(--border);
}

.values-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.values-heading h3 {
  font-size: clamp(1.65rem, 2.6vw, 2.15rem);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.value-card {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--border);
  background-color: var(--bg-primary);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.value-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.value-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--accent-deep);
  margin-bottom: 0.75rem;
}

.value-card__title {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin: 0 0 0.55rem;
}

.value-card__desc {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* ==========================================================================
   SERVICIOS (6 Editorial Cards)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.service-card:hover {
  border-color: rgba(24, 75, 132, 0.42);
  box-shadow: var(--shadow-card);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-subtle);
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.04);
}

.service-card__index {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--ink-primary);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.25rem 0.7rem;
  letter-spacing: 0.08em;
  border: 1px solid var(--border);
}

.service-card__body {
  padding: clamp(1.65rem, 2.8vw, 2.25rem);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: clamp(1.55rem, 2.2vw, 1.9rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.service-card__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--accent-deep);
  margin: 0 0 1rem;
}

.service-card__desc {
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--ink-secondary);
  margin: 0 0 1.25rem;
}

.service-card__list-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-primary);
  margin: 0 0 0.65rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.42rem;
}

.service-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 6px;
  height: 1px;
  background-color: var(--accent);
}

.service-card__footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.service-card__cta-note {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ==========================================================================
   ¿POR QUÉ ELEGIR LION 360? (Dark Editorial Section)
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.why-intro p {
  color: var(--ink-on-dark-muted);
  font-size: 0.98rem;
  line-height: 1.82;
  margin: 1.35rem 0 2rem;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.why-item {
  padding: 1.65rem;
  border: 1px solid var(--border-dark);
  background-color: rgba(255, 255, 255, 0.025);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.why-item:hover {
  border-color: rgba(158, 192, 230, 0.45);
  background-color: rgba(255, 255, 255, 0.045);
}

.why-item--wide {
  grid-column: 1 / -1;
}

.why-item__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-on-dark);
  margin-bottom: 1rem;
}

.why-item__title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--ink-on-dark);
  margin: 0 0 0.55rem;
}

.why-item__desc {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.72;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   NUESTROS TRABAJOS — Interactive Before & After Showcase
   ========================================================================== */
.works-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 3.75rem);
}

.works-intro__right p {
  margin: 0 0 0.85rem;
  font-size: 0.96rem;
  line-height: 1.8;
}

.works-intro__right p:last-child {
  margin-bottom: 0;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.ba-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
  overflow: hidden;
}

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  background-color: var(--bg-subtle);
  --pos: 50%;
}

.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-slider__before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 1.5px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 12px rgba(15, 26, 36, 0.35);
  pointer-events: none;
  transform: translateX(-50%);
}

.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 26, 36, 0.16);
  box-shadow: 0 6px 20px rgba(15, 26, 36, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-primary);
  pointer-events: none;
}

.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.ba-tag {
  position: absolute;
  top: 1rem;
  z-index: 3;
  padding: 0.28rem 0.72rem;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background-color: rgba(15, 26, 36, 0.78);
  color: #ffffff;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.ba-tag--before {
  left: 1rem;
}

.ba-tag--after {
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--ink-primary);
}

.ba-card__caption {
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border);
}

.ba-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.ba-card__sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.works-gallery-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
}

.gallery-mini {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  background-color: var(--bg-primary);
  border: 1px solid var(--border);
}

.gallery-mini img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
}

.gallery-mini__body {
  padding: 1.15rem 1.4rem;
}

.gallery-mini__kicker {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.25rem;
}

.gallery-mini__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.gallery-mini__desc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

.works-disclaimer {
  font-size: 0.82rem;
  font-style: italic;
  color: var(--ink-muted);
  text-align: center;
  margin: 1.5rem 0 0;
}

/* ==========================================================================
   CÓMO SOLICITAR NUESTROS SERVICIOS (4 Steps)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.step-card {
  position: relative;
  padding: 2rem 1.65rem;
  border: 1px solid var(--border);
  background-color: var(--bg-primary);
}

.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--accent-deep);
  margin-bottom: 1.35rem;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.7rem;
}

.step-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.72;
  color: var(--ink-secondary);
}

.steps-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 2.5rem;
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
}

.steps-banner__text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  color: var(--ink-primary);
  margin: 0;
}

.steps-banner__sub {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   PREGUNTAS FRECUENTES (Accordion)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 1.45rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.48rem);
  font-weight: 400;
  color: var(--ink-primary);
  line-height: 1.3;
  transition: color 0.25s ease;
}

.faq-trigger:hover .faq-question {
  color: var(--accent-deep);
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: var(--accent-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.faq-icon::before {
  width: 14px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-answer {
  margin: 0;
  padding-bottom: 1.5rem;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--ink-secondary);
}

/* ==========================================================================
   CONTACTO & COTIZADOR RÁPIDO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 5vw, 4.75rem);
  align-items: start;
}

.contact-details {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.85rem;
}

.contact-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 0.75rem;
  align-items: baseline;
  font-size: 0.92rem;
}

.contact-row__label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.contact-row__value {
  color: var(--ink-primary);
  font-weight: 400;
}

.contact-row__value a {
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact-row__value a:hover {
  color: var(--accent-deep);
  border-bottom-color: var(--accent);
}

.contact-closing {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink-primary);
}

.quote-card {
  background-color: var(--bg-soft);
  border: 1px solid var(--border);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
}

.quote-card__title {
  font-size: 1.85rem;
  margin-bottom: 0.45rem;
}

.quote-card__sub {
  margin: 0 0 1.75rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  padding: 0.8rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--ink-primary);
  transition: border-color 0.25s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-deep);
}

.form-field textarea {
  min-height: 112px;
  resize: vertical;
}

.form-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.form-note {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  padding-top: clamp(4rem, 6vw, 5.5rem);
  padding-bottom: 2.5rem;
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-desc {
  margin: 1.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.75;
  max-width: 42ch;
}

.footer-col__title {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  margin: 0 0 1.15rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.88rem;
}

.footer-links a {
  color: var(--ink-on-dark-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink-on-dark);
}

.footer-bottom {
  padding-top: 1.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(245, 244, 240, 0.56);
}

/* Floating WhatsApp Button */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: var(--wa-green);
  color: #ffffff;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(7, 34, 64, 0.35);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.wa-float:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-2px);
}

.wa-float svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1080px) {
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nav-desktop {
    gap: 1.15rem;
  }
}

@media (max-width: 920px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero-grid,
  .about-grid,
  .why-grid,
  .works-intro,
  .faq-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-frame {
    aspect-ratio: 16 / 10;
  }
  .hero-badge {
    left: 1rem;
    bottom: 1rem;
  }
  .services-grid,
  .ba-grid,
  .works-gallery-strip {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }
  .values-grid,
  .why-list,
  .steps-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-row {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .gallery-mini {
    grid-template-columns: 1fr;
  }
  .gallery-mini img {
    aspect-ratio: 16 / 9;
  }
  .steps-banner {
    padding: 1.5rem;
  }
  .wa-float span {
    display: none;
  }
  .wa-float {
    padding: 0.9rem;
  }
}
