/* =========================
   VARIABLES Y BASE GLOBAL
========================= */
:root {
  --bg-main: #07050d;
  --bg-soft: #0f0a1f;
  --bg-card: rgba(18, 14, 32, 0.78);
  --bg-card-solid: #120e20;
  --color-primary: #6c3bff;
  --color-accent: #2d8cff;
  --color-text: #f5f7ff;
  --color-text-soft: #b8bfd3;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.35);
  --glow-primary: 0 0 24px rgba(108, 59, 255, 0.18);
  --glow-accent: 0 0 24px rgba(45, 140, 255, 0.18);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --transition: 0.28s ease;
  
}

[hidden] {
  display: none !important;
}

/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

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

button {
  border: none;
  background: none;
  cursor: pointer;
}

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

body {
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(108, 59, 255, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(45, 140, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #090611 0%, #07050d 100%);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
}

#page-transition {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-transition .pt-inner {
  width: 100%;
  height: 100%;
  background: #07050d;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1);
}

#page-transition.pt-in .pt-inner {
  transform: scaleY(1);
  transform-origin: bottom center;
}

/* =========================
   UTILIDADES
========================= */
.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-label,
.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.section-heading h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-heading p:not(.section-label) {
  color: var(--color-text-soft);
  max-width: 640px;
}

.section-action {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  transition:
    transform var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    color var(--transition);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #2d8cff 0%, #3e7dff 100%);
  color: #ffffff;
  box-shadow: var(--glow-accent);
}

.btn-primary:hover {
  box-shadow:
    0 12px 28px rgba(45, 140, 255, 0.22),
    0 0 28px rgba(45, 140, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

/* =========================
   WHATSAPP FLOTANTE
========================= */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem 0.75rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.whatsapp-label {
  line-height: 1;
}

/* =========================
   VIDEOS REALES
========================= */
.hero-video-element,
.project-video,
.immersive-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-element {
  position: absolute;
  inset: 0;
}

.project-media,
.immersive-media,
.hero-video {
  overflow: hidden;
}

.project-video,
.immersive-video {
  position: absolute;
  inset: 0;
}

.project-media,
.immersive-media {
  position: relative;
}

.project-media::before,
.immersive-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08),
    rgba(0, 0, 0, 0.28)
  );
  z-index: 0;
  pointer-events: none;
}

.media-badge,
.media-label,
.project-media-overlay {
  z-index: 2;
}

.immersive-media::after {
  z-index: 2;
}


/* =========================
   HEADER
========================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(18px);
  background: rgba(7, 5, 13, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(108, 59, 255, 0.24),
    rgba(45, 140, 255, 0.18),
    transparent
  );
  opacity: 0.7;
  pointer-events: none;
}

.header-content {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.logo-mark {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  box-shadow:
    0 0 18px rgba(108, 59, 255, 0.28),
    0 0 12px rgba(45, 140, 255, 0.18);
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.main-nav {
  justify-self: center;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.9rem;
  border-radius: 999px;
  font-size: 0.93rem;
  color: var(--color-text-soft);
  transition:
    color var(--transition),
    background-color var(--transition),
    box-shadow var(--transition);
}

.nav-link:hover {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

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

.header-cta {
  min-height: 44px;
  padding-inline: 1.1rem;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: var(--color-text);
  font-size: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}
/* =========================
   HERO
========================= */
/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-video,
.hero-overlay,
.hero-noise,
.hero-orb {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: 0;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, rgba(108, 59, 255, 0.18), rgba(45, 140, 255, 0.08)),
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.08), transparent 24%),
    radial-gradient(circle at 80% 30%, rgba(45, 140, 255, 0.10), transparent 18%),
    linear-gradient(180deg, #140f25 0%, #090611 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 5, 13, 0.34) 0%, rgba(7, 5, 13, 0.60) 52%, rgba(7, 5, 13, 0.95) 100%);
}

.hero-noise {
  z-index: 2;
  opacity: 0.08;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(255,255,255,0.6) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 85%);
}

.hero-orb {
  z-index: 2;
  pointer-events: none;
  filter: blur(70px);
  opacity: 0.55;
}

.hero-orb-1 {
  inset: auto auto 12% -8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(108, 59, 255, 0.22);
}

.hero-orb-2 {
  inset: 8% -6% auto auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(45, 140, 255, 0.16);
}

.hero-layout {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 760px);
  align-items: end;
  padding: 7rem clamp(1rem, 3vw, 2.25rem) 5rem;
}

.hero-content {
  max-width: 760px;
  padding-left: clamp(0rem, 1vw, 0.5rem);
}

.hero h1 {
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 0.93;
  letter-spacing: -0.055em;
  margin-bottom: 0.75rem;
  max-width: 12ch;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 650px;
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-text);
  text-wrap: balance;
}

.hero-text {
  max-width: 600px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-panel {
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 430px;
}

.hero-panel-inner {
  position: relative;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    linear-gradient(180deg, rgba(20, 15, 35, 0.78), rgba(11, 9, 20, 0.92));
  backdrop-filter: blur(16px);
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.36),
    0 0 28px rgba(108, 59, 255, 0.08);
}

.panel-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.78rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(45, 140, 255, 0.10);
  border: 1px solid rgba(45, 140, 255, 0.24);
  color: #dcecff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: 1.42rem;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.hero-panel p {
  color: var(--color-text-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}

.hero-panel-metrics {
  display: grid;
  gap: 0.9rem;
}

.metric {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 0.28rem;
}

.metric span {
  display: block;
  color: var(--color-text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}
/* =========================
   TARJETAS / GRID BASE
========================= */
.projects-grid,
.services-grid,
.immersive-grid {
  display: grid;
  gap: 1.5rem;
}

.projects-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.immersive-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-card,
.service-card,
.immersive-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(20, 15, 35, 0.94), rgba(11, 9, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    background var(--transition);
  backdrop-filter: blur(14px);
}

.project-card::before,
.service-card::before,
.immersive-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
  pointer-events: none;
}

.project-card:hover,
.service-card:hover,
.immersive-card:hover {
  transform: translateY(-6px);
  border-color: rgba(108, 59, 255, 0.24);
  box-shadow:
    0 26px 58px rgba(0, 0, 0, 0.40),
    0 0 24px rgba(108, 59, 255, 0.10);
}

/* =========================
   PROYECTOS
========================= */
.project-media {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 59, 255, 0.20), transparent 28%),
    radial-gradient(circle at 82% 30%, rgba(45, 140, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #1a1329 0%, #0e0a19 100%);
}

.project-media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 28%),
    linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.42) 100%);
}

.media-badge,
.media-label {
  position: relative;
  z-index: 1;
}

.media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.media-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.project-info {
  padding: 1.25rem 1.2rem 1.35rem;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.project-category,
.project-year {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-category {
  color: var(--color-accent);
  font-weight: 700;
}

.project-year {
  color: rgba(255, 255, 255, 0.5);
}

.project-info h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin-bottom: 0.6rem;
}

.project-info p {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.62;
}

.featured-projects-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.5rem;
  align-items: end;
  margin-bottom: 2.2rem;
}

.featured-note {
  padding: 1.2rem 1.15rem;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(18, 14, 32, 0.86), rgba(11, 9, 20, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow-soft);
}

.featured-note-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.28rem 0.62rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(108, 59, 255, 0.10);
  border: 1px solid rgba(108, 59, 255, 0.2);
  color: #e9e1ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-note p {
  color: var(--color-text-soft);
  font-size: 0.93rem;
  line-height: 1.6;
}

.project-card-large {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

.project-card-clickable {
  display: block;
}

.project-card-link {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-card-link-stacked {
  grid-template-columns: 1fr;
}

.project-card-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: -6px;
}

.project-card-clickable:hover .project-media-overlay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent 28%),
    linear-gradient(180deg, transparent 46%, rgba(0,0,0,0.58) 100%);
}

.project-card-large .project-media {
  min-height: 100%;
}

.project-card-large .project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1.35rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--transition), transform var(--transition);
}

.project-link::after {
  content: "→";
  transition: transform var(--transition);
}

.project-link:hover {
  color: var(--color-accent);
}

.project-link:hover::after {
  transform: translateX(4px);
}

.project-detail-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 4rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(108, 59, 255, 0.20), transparent 30%),
    radial-gradient(circle at 78% 36%, rgba(45, 140, 255, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(7, 6, 14, 0.98), rgba(13, 10, 24, 1));
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
}

.project-detail-copy h1 {
  max-width: 720px;
  margin: 0.85rem 0 1.2rem;
  font-size: clamp(2.7rem, 6vw, 6.8rem);
  line-height: 0.92;
}

.project-detail-copy p {
  max-width: 620px;
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.project-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.project-detail-media {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: var(--shadow-card);
  background: #090711;
}

.project-detail-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), transparent 32%),
    linear-gradient(180deg, transparent 52%, rgba(0,0,0,0.42));
  pointer-events: none;
}

.project-detail-video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.project-detail-section {
  padding-top: 4.5rem;
}

.project-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2rem;
  align-items: start;
}

.project-detail-content article {
  max-width: 760px;
}

.detail-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-content h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

.project-detail-content p {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.project-detail-facts {
  display: grid;
  gap: 0.85rem;
}

.project-detail-facts div {
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(20, 15, 35, 0.94), rgba(11, 9, 20, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-detail-facts span {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-detail-facts strong {
  color: #ffffff;
  font-size: 1rem;
}
/* =========================
   SERVICIOS
========================= */
.service-card {
  display: flex;
  flex-direction: column;
}

.service-media {
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 70% 28%, rgba(0, 224, 255, 0.18), transparent 28%),
    radial-gradient(circle at top left, rgba(108, 59, 255, 0.18), transparent 40%),
    linear-gradient(180deg, #171124 0%, #0f0a1d 100%);
}

.service-media::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(18deg);
}

.service-icon {
  display: inline-flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.32),
    0 0 28px rgba(108, 59, 255, 0.28);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-icon small {
  position: absolute;
  right: -0.45rem;
  bottom: -0.45rem;
  display: grid;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  border-radius: 999px;
  background: var(--color-accent);
  color: #080610;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
}

.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.04);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.36),
    0 0 36px rgba(0, 224, 255, 0.24);
}

.service-body {
  padding: 1.2rem 1.2rem 1.4rem;
}

.service-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}

.service-body p {
  color: var(--color-text-soft);
  line-height: 1.62;
}


/* =========================
   EXPERIENCIAS
========================= */
.immersive {
  position: relative;
}

.immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(108, 59, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 30%, rgba(45, 140, 255, 0.06), transparent 22%);
  pointer-events: none;
}

.immersive .container {
  position: relative;
  z-index: 1;
}

.immersive-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}

.immersive-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(45, 140, 255, 0.12), transparent 35%),
    linear-gradient(135deg, rgba(108, 59, 255, 0.18), rgba(18, 14, 32, 0.94));
}

.immersive-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.immersive-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10),
    rgba(0, 0, 0, 0.30)
  );
  pointer-events: none;
}

.immersive-media::after {
  content: "Preview inmersivo";
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.immersive-info {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(16, 12, 28, 0.96), rgba(10, 8, 18, 0.98));
}

.immersive-info h3 {
  margin: 0 0 0.8rem;
  font-size: 1.36rem;
}

.immersive-info p {
  margin-bottom: 1.35rem;
  color: var(--color-text-soft);
  line-height: 1.64;
}

/* =========================
   AJUSTES PREMIUM EXTRA
========================= */
.section-heading h2,
.hero h1,
.project-info h3,
.service-body h3,
.immersive-info h3,
.hero-panel h2 {
  text-wrap: balance;
}

.project-card,
.service-card,
.immersive-card,
.hero-panel-inner,
.final-cta-content {
  overflow: hidden;
}

.featured-projects .section-heading,
.services .section-heading,
.immersive .section-heading,
.about .section-heading {
  margin-bottom: 2.2rem;
}

/* =========================
   ABOUT
========================= */
.about-shell {
  display: grid;
  gap: 2.2rem;
}

.about-intro {
  max-width: 820px;
}

.about-intro h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.about-lead {
  max-width: 720px;
  color: var(--color-text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 0.8fr 0.8fr;
  gap: 1.25rem;
  align-items: stretch;
}

.about-card,
.about-stat {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.about-card {
  padding: 1.5rem;
  background:
    linear-gradient(180deg, rgba(19, 15, 34, 0.94), rgba(10, 8, 18, 0.98));
  box-shadow: var(--shadow-card);
}

.about-card::before,
.about-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), transparent 24%);
  pointer-events: none;
}

.about-card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(108, 59, 255, 0.10);
  border: 1px solid rgba(108, 59, 255, 0.18);
  color: #ece4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-card h3 {
  font-size: 1.2rem;
  line-height: 1.2;
  margin-bottom: 0.8rem;
  text-wrap: balance;
}

.about-card p {
  color: var(--color-text-soft);
  line-height: 1.68;
}

.about-stat {
  padding: 1.35rem 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(135deg, rgba(108, 59, 255, 0.12), rgba(45, 140, 255, 0.06)),
    linear-gradient(180deg, rgba(18, 14, 32, 0.92), rgba(10, 8, 18, 0.98));
  box-shadow: var(--shadow-soft);
}

.about-stat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.about-stat span {
  color: var(--color-text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================
   CTA FINAL
========================= */
.final-cta {
  padding-top: 5rem;
}

.final-cta-content {
  background:
    linear-gradient(135deg, rgba(108, 59, 255, 0.18), rgba(45, 140, 255, 0.10)),
    linear-gradient(180deg, rgba(17, 13, 30, 0.95), rgba(10, 8, 18, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-card);
}

.final-cta h2 {
  max-width: 820px;
  margin-bottom: 1.5rem;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4rem 0 2rem;
  margin-top: 2rem;
  background:
    linear-gradient(180deg, rgba(10, 8, 18, 0.55), rgba(8, 6, 14, 0.92));
}

.footer-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-description {
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--color-text-soft);
  font-size: 0.9rem;
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.footer-socials a:hover {
  color: #ffffff;
  border-color: rgba(45, 140, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--color-text-soft);
  transition:
    color var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    transform var(--transition);
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover {
  color: #ffffff;
  border-color: rgba(45, 140, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.footer-links-group h3,
.footer-contact h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links-group ul,
.footer-contact {
  display: grid;
  gap: 0.75rem;
}

.footer-links-group a {
  color: var(--color-text-soft);
  transition: color var(--transition);
}

.footer-links-group a:hover {
  color: #ffffff;
}

.footer-contact p {
  color: var(--color-text-soft);
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  color: var(--color-text-soft);
  font-size: 0.92rem;
}

.footer-bottom a {
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* =============================================
   AGREGAR AL FINAL DE style.css
   WhatsApp float — versión con SVG real
============================================= */

/* Reemplaza el bloque .whatsapp-float existente */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem 0.75rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 8px 28px rgba(37, 211, 102, 0.32),
    0 2px 8px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow:
    0 14px 36px rgba(37, 211, 102, 0.38),
    0 4px 12px rgba(0, 0, 0, 0.28);
}

.whatsapp-float:active {
  transform: translateY(-1px) scale(0.99);
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* En móvil: solo ícono, sin texto */
@media (max-width: 640px) {
  .whatsapp-float {
    padding: 0.85rem;
    border-radius: 50%;
    right: 1rem;
    bottom: 1rem;
  }

  .whatsapp-label {
    display: none;
  }

  .whatsapp-icon {
    width: 24px;
    height: 24px;
  }
}

/* =========================
   MENÚ
========================= */
body.menu-open {
  overflow: hidden;
}

@media (max-width: 820px) {
  .site-header {
    position: sticky;
    top: 0;
    overflow: visible;
  }

  body.menu-open .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .header-content {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1102;
  }

  .main-nav.nav-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1100;
    background: linear-gradient(180deg, rgba(7, 5, 13, 0.97), rgba(7, 5, 13, 0.99));
    padding: 6.5rem 1.25rem 2rem;
    overflow: hidden;
  }

  .main-nav.nav-open ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
  }

  .main-nav.nav-open .nav-link {
    width: 100%;
    min-height: 64px;
    border-radius: 18px;
    padding: 0 1.25rem;
    justify-content: flex-start;
    font-size: 1.25rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
  }

  .main-nav.nav-open .nav-link.active {
    background: rgba(255, 255, 255, 0.06);
  }
}
/* =========================
   ESPACIADO Y RITMO VISUAL
========================= */
.featured-projects,
.services,
.immersive,
.about,
.final-cta {
  position: relative;
}

.featured-projects::before,
.services::before,
.about::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  pointer-events: none;
}

/* =========================
   REVEAL ON SCROLL
========================= */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

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


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.75rem;
    padding: 6rem 0 4rem;
  }

  .hero-panel {
    max-width: 560px;
  }

  .featured-projects-top {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-grid,
  .immersive-grid {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .project-card-link {
    grid-template-columns: 1fr;
  }

  .project-card-large .project-media {
    min-height: 240px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .immersive-card {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-detail-grid,
  .project-detail-content {
    grid-template-columns: 1fr;
  }

  .project-detail-media,
  .project-detail-video {
    min-height: 360px;
  }

  .footer-shell {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 820px) {
  body.menu-open {
    overflow: hidden;
  }

  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .section {
    padding: 4rem 0;
  }

  .header-content {
    grid-template-columns: 1fr auto;
    min-height: 78px;
  }

  .header-actions {
    justify-self: end;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1101;
  }

  .main-nav {
    display: none;
  }

  .main-nav.nav-open {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 1100;
    background:
      linear-gradient(180deg, rgba(7, 5, 13, 0.96), rgba(7, 5, 13, 0.985));
    backdrop-filter: blur(18px);
    padding: 6.5rem 1.25rem 2rem;
    overflow: hidden;
  }

  .main-nav.nav-open ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .main-nav.nav-open .nav-link {
    width: 100%;
    min-height: 64px;
    padding: 0 1.25rem;
    border-radius: 18px;
    justify-content: flex-start;
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
  }

  .main-nav.nav-open .nav-link.active {
    background: rgba(255, 255, 255, 0.06);
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 4.75rem 0 3rem;
  }

  .hero-content {
    max-width: 100%;
    padding-inline: 0.25rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
    line-height: 0.95;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    max-width: 100%;
    font-size: 1.2rem;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-panel {
    max-width: 100%;
  }

  .hero-panel-inner {
    padding: 1.2rem;
    border-radius: 20px;
  }

  .project-card,
  .project-card-large {
    grid-template-columns: 1fr;
  }

  .project-card-link {
    grid-template-columns: 1fr;
  }

  .project-card-large .project-info,
  .project-info {
    padding: 1rem 1rem 1.2rem;
  }

  .project-info h3 {
    font-size: 1.08rem;
  }

  .project-info p {
    font-size: 0.94rem;
    line-height: 1.55;
  }

  .project-detail-hero {
    min-height: auto;
    padding: 7rem 0 3.5rem;
  }

  .project-detail-media,
  .project-detail-video {
    min-height: 300px;
  }

  .project-detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .immersive-info {
    padding: 1.2rem 1rem 1.25rem;
  }

  .immersive-info h3 {
    font-size: 1.18rem;
  }

  .immersive-info p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .about-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .final-cta-content {
    padding: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.2rem, var(--container));
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2,
  .final-cta h2,
  .about-intro h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.05;
  }

  .eyebrow,
  .section-label {
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .hero-layout {
    padding: 4.2rem 0 2.5rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 14vw, 3.7rem);
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-panel h2 {
    font-size: 1.15rem;
  }

  .hero-panel-inner {
    padding: 1rem;
    border-radius: 18px;
  }

  .project-media,
  .service-media,
  .immersive-media {
    min-height: 200px;
  }

  .featured-note {
    padding: 1rem;
    border-radius: 18px;
  }

  .project-info,
  .project-card-large .project-info {
    padding: 0.95rem 0.95rem 1.1rem;
  }

  .project-info h3 {
    font-size: 1rem;
  }

  .project-info p {
    font-size: 0.92rem;
  }

  .service-body {
    padding: 1rem 1rem 1.2rem;
  }

  .immersive-info {
    padding: 1rem 0.95rem 1.15rem;
  }

  .about-card,
  .about-stat {
    border-radius: 20px;
  }

  .about-card {
    padding: 1.15rem;
  }

  .final-cta-content {
    padding: 1.5rem;
    border-radius: 22px;
  }

  .btn {
    width: 100%;
  }

  .whatsapp-float {
    right: 0.8rem;
    bottom: 0.8rem;
    padding: 0.85rem 1rem;
  }
}
