/* ============================================================
   SECURITY INTEGRAL EMUNA SRL — V3 Design System
   Awwwards Typography: Space Grotesk + DM Serif Display + Syne
   Palette: #0c0c0c + #F6D752
   ============================================================ */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0c0c0c;
  --black-mid: #141414;
  --black-light: #1e1e1e;
  --gold: #F6D752;
  --gold-soft: #e8c840;
  --gold-glow: rgba(246, 215, 82, 0.2);
  --white: #f0ede8;
  --grey: #666;
  --font-display: 'DM Serif Display', serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-accent: 'Syne', sans-serif;
  --transition: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Awwwards-style type hierarchy */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}

.label, .eyebrow {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

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

/* ============================================================
   PRELOADER MÁGICO (SPLIT EFFECT)
   ============================================================ */
.loader-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  pointer-events: auto; /* Bloquear clicks hasta que desaparezca */
}

.loader-half {
  position: absolute;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--black);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  will-change: transform;
}

/* Recortamos la mitad de cada lado para hacer una sola pantalla unida */
.loader-half.left {
  left: 0;
  clip-path: inset(0 50% 0 0); /* Deja visible la izquierda 50% */
}

.loader-half.right {
  left: 0;
  clip-path: inset(0 0 0 50%); /* Deja visible la derecha 50% */
}

/* Contenido interno clonado en ambas mitades, perfectamente centrado en pantalla completa */
.loader-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-logo {
  width: 280px; 
  max-width: 80vw;
  margin-bottom: 2rem;
  /* Shadow para simular el relieve en fondo oscuro */
  filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8));
}

.loader-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.loader-subtitle {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-family: var(--font-accent);
  color: var(--gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
}

/* Botón Deslizar abajo */
.loader-hint-btn {
  margin-top: 3rem;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--black);
  background: var(--gold);
  padding: 1rem 3rem;
  border-radius: 50px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(246, 215, 82, 0.4);
  animation: pulse-gold 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@keyframes pulse-gold {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.95); box-shadow: 0 0 40px rgba(246, 215, 82, 0.8); }
}
ul { list-style: none; }
img { display: block; max-width: 100%; }

.gold { color: var(--gold); }

/* ----- SCROLLBAR ----- */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 3rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all 0.5s ease;
}

.navbar.scrolled {
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(246, 215, 82, 0.12);
  padding: 0.8rem 3rem;
}

.nav-logo img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: all 0.4s;
}
.nav-logo img:hover { transform: scale(1.08); box-shadow: 0 0 24px var(--gold-glow); }

.nav-links {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, 0.7);
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 0.55rem 1.5rem;
  border-radius: 2px;
  font-weight: 700 !important;
  letter-spacing: 0.12em;
  transition: all 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white) !important; transform: translateY(-2px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  border-radius: 1px;
  transition: all 0.3s;
}

/* ============================================================
   HERO — CINEMATIC CANVAS (Scroll driven)
   ============================================================ */
.hero-pinned {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
}

#hero-canvas {
  display: block;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Hero hint layout removed, using the bottom layout definition below */

.hint-text {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(0,0,0,0.65);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(246,215,82,0.25);
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.hint-arrow {
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  position: relative;
  overflow: hidden;
}

.hint-arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scroll-hint-anim 2s infinite;
}

@keyframes scroll-hint-anim {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* Hero exit — applied by JS when sequence completes */
.hero-exited {
  display: none !important;
  pointer-events: none !important;
}


/* ============================================================
   EXPANDABLE SERVICE PANELS
   ============================================================ */
.services-wrapper {
  background: var(--black);
  padding: 5rem 2rem;
  overflow: hidden;
}

.panels-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.service-panel {
  position: relative;
  height: 220px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s var(--ease-out-expo), transform 0.4s, border-color 0.3s;
  border: 1px solid rgba(246,215,82,0.08);
  will-change: height;
}

.service-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(246,215,82,0.25);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

/* Background — less blur, very visible */
.panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: transform 0.9s var(--ease-out-expo);
  filter: brightness(0.7);
}
.service-panel:hover .panel-bg { transform: scale(1.07); filter: brightness(0.85); }
.service-panel.expanded .panel-bg { filter: brightness(0.4); transform: scale(1); }

/* Subtle gradient overlay — not fully opaque */
.panel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    rgba(12,12,12,0.75) 0%,
    rgba(12,12,12,0.35) 55%,
    rgba(12,12,12,0.15) 100%);
  transition: background 0.6s;
}
.service-panel.expanded .panel-overlay {
  background: rgba(8, 8, 8, 0.78);
  backdrop-filter: blur(4px);
}

/* Header bar (collapsed state) */
.panel-header {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 3.5rem;
  z-index: 5;
  transition: opacity 0.35s, transform 0.35s;
}

.panel-num {
  font-family: var(--font-accent);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(246,215,82,0.12);
  margin-right: 2.5rem;
  line-height: 1;
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
}

.panel-hint {
  margin-left: auto;
  font-family: var(--font-accent);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.2em;
  opacity: 0;
  transition: opacity 0.3s;
}
.service-panel:hover .panel-hint { opacity: 0.8; }

/* Arrow indicator on collapsed panel */
.panel-header::after {
  content: '↓';
  margin-left: 1rem;
  font-size: 1.2rem;
  color: rgba(246,215,82,0.5);
  transition: transform 0.4s, opacity 0.3s;
  opacity: 0;
}
.service-panel:hover .panel-header::after { opacity: 1; }

/* EXPANDED STATE */
.service-panel.expanded {
  cursor: default;
  z-index: 50;
  border-color: rgba(246,215,82,0.2);
}
.service-panel.expanded:hover { transform: none; }

.service-panel.expanded .panel-header {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-15px);
}

/* Content area */
.panel-content {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  padding: 5rem 4rem 4rem;
  z-index: 10;
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
  overflow: hidden;
}

.service-panel.expanded .panel-content {
  opacity: 1;
  visibility: visible;
}

/* Content layout: text col + image col */
.content-inner {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  flex-shrink: 0; /* Prevent squashing */
}

.content-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.content-image-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: stretch;
}

.action-wrapper {
  display: flex;
  justify-content: center;
}

.action-wrapper .cta-lux {
  width: 100%;
}

.content-text-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* More gap between blocks */
}

/* Expanded title — DM Serif Display editorial style */
.expanded-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.8rem;
}

.section-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(240,237,232,0.7);
  max-width: 580px;
}

/* Service list */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(240,237,232,0.85);
  letter-spacing: 0.02em;
}
.gold-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* CTA button */
/* CTA LUX button style */
.cta-lux {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-accent);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  box-shadow: 0 10px 30px rgba(246, 215, 82, 0.3);
  transition: all 0.3s var(--ease-out-expo);
  text-align: center;
}

.cta-lux:hover {
  background: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 15px 45px rgba(246, 215, 82, 0.5);
}
.cta-large { padding: 1.1rem 2.8rem; font-size: 0.9rem; }

/* Close button */
.close-panel {
  position: absolute;
  top: 2rem; right: 2.5rem;
  background: none;
  border: 1px solid rgba(246,215,82,0.5);
  color: rgba(246,215,82,0.7);
  padding: 0.5rem 1.2rem;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s;
}
.close-panel:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

/* Visual image within expanded panel */
.content-visual {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(246,215,82,0.18);
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  height: 380px;
  z-index: 2;
  flex-shrink: 0;
}

.panel-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
  position: relative;
  z-index: 1;
}
.content-visual:hover .panel-visual-img { transform: scale(1.04); }

/* Gold shimmer overlay on image */
.content-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(246,215,82,0.07) 0%, transparent 55%);
  pointer-events: none;
  z-index: 2;
}

/* ============================================================
   HEXAGONAL SERVICES GRID
   ============================================================ */
.servicios-hex {
  padding: 8rem 3rem;
  background: var(--black-mid);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(246,215,82,0.08);
}

.hex-header { margin-bottom: 5rem; }
.hex-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.hex-header p {
  color: rgba(240,237,232,0.35);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-family: var(--font-accent);
  font-weight: 700;
}

.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hex-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transition: transform 0.35s;
}
.hex-item:hover { transform: translateY(-10px); }

.hex-shape {
  width: 100px;
  height: 100px;
  background: var(--black);
  border: 1.5px solid rgba(246,215,82,0.18);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s;
  font-size: 2.4rem;
}
.hex-item:hover .hex-shape {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 30px var(--gold-glow);
}

.hex-item p {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(240,237,232,0.5);
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact-section {
  padding: 6rem 3rem;
  background: var(--black);
  color: var(--white);
  border-top: 1px solid rgba(246,215,82,0.1);
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
}

.contact-text h2 {
  font-size: 3.5rem;
  font-family: var(--font-accent);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.contact-text p {
  font-size: 1.1rem;
  color: rgba(240,237,232,0.6);
  margin-bottom: 2.5rem;
}

.contact-data {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item span:last-child {
  opacity: 0.9;
  line-height: 1.4;
}

.contact-item:hover, .contact-item:hover span {
  color: var(--gold);
}

.contact-icon {
  font-size: 1.3rem;
  color: var(--gold);
}

.contact-logo {
  flex-shrink: 0;
}

.contact-logo img {
  width: 450px;
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 4rem 3rem;
  background: #000;
  border-top: 1px solid rgba(240,237,232,0.05);
  text-align: center;
}
.footer-logo {
  height: 56px;
  width: 56px;
  border-radius: 50%;
  border: 2px solid rgba(246,215,82,0.4);
  margin: 0 auto 2rem;
  object-fit: cover;
  display: block;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(240,237,232,0.3);
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(240,237,232,0.18);
  margin-top: 1.5rem;
  border-top: 1px solid rgba(240,237,232,0.04);
  padding-top: 1.5rem;
  font-family: var(--font-body);
}

/* ============================================================
   WHATSAPP WIDGET
   ============================================================ */
.wa-widget {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.5rem 0.8rem 1rem;
  background: #25D366;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 10px 40px rgba(37,211,102,0.35);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.wa-widget:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 20px 60px rgba(37,211,102,0.55);
}
.wa-icon { width: 26px; height: 26px; fill: #fff; flex-shrink: 0; }
.wa-label { white-space: nowrap; }
.wa-pulse {
  position: absolute;
  inset: -5px;
  border: 1.5px solid #25D366;
  border-radius: 50px;
  animation: wa-pulse 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.14); opacity: 0; }
  100% { transform: scale(1.14); opacity: 0; }
}

/* ============================================================
   SCROLL HINT (HERO)
   ============================================================ */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 60;
  pointer-events: none;
  opacity: 0.8;
  color: var(--gold);
}
.scroll-hint .hint-text {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  /* Orientación vertical estilo japonés hacia abajo */
  writing-mode: vertical-rl;
  text-orientation: upright;
}
.scroll-hint .hint-arrow {
  width: 2px;
  height: 50px;
  background: var(--gold);
  position: relative;
  animation: bounce-hint 2s infinite ease-in-out;
}
.scroll-hint .hint-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
@keyframes bounce-hint {
  0%, 100% { height: 50px; transform: translateY(0); }
  50% { height: 75px; transform: translateY(10px); }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .content-grid { gap: 3rem; }
  .panel-content { padding: 3rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Navbar */
  .navbar { padding: 0.9rem 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,0.97);
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; letter-spacing: 0.2em; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hero { height: 100vh; }
  .quad-float-asset { display: none; }
  .quad-content { padding: 1rem; }
  .quad-content h2 { font-size: 1rem; }
  .quad-reveal, .quad-btn { display: none; }
  #center-logo { width: 80px; height: 80px; }
  .logo-ring { width: 110px; height: 110px; }

  /* Panels */
  .services-wrapper { padding: 3rem 1rem; }
  .panels-container { gap: 0.8rem; }
  .service-panel { height: 130px; border-radius: 12px; }
  .panel-header { padding: 0 1.5rem; }
  .panel-title { font-size: 1.2rem; }
  .panel-num { font-size: 3rem; margin-right: 1.2rem; }
  .panel-hint { display: block; font-size: 0.75rem; color: var(--gold); margin-top: 0.4rem; opacity: 0.8; }

  /* Expanded panel — full screen takeover */
  .service-panel.expanded {
    position: fixed;
    inset: 0;
    height: 100dvh;
    border-radius: 0;
    z-index: 500;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: var(--black); /* asegurar fondo opaco */
  }
  .service-panel.expanded::-webkit-scrollbar {
    display: none;
  }
  .panel-content {
    position: relative;
    height: auto;
    min-height: 100%;
    overflow: visible;
    padding: 4rem 1.5rem 8rem;
    align-items: flex-start;
  }
  .content-grid { 
    display: flex !important; 
    flex-direction: column !important; 
    gap: 1.5rem; 
  }
  .content-text-col, .content-image-col { display: contents; }
  .expanded-title { order: 1; font-size: 2rem; line-height: 1.2; margin-bottom: 0.5rem; }
  .content-visual { order: 2; height: auto; max-height: 250px; width: 100%; border-radius: 12px; overflow: hidden; margin-bottom: 0.5rem; }
  .panel-visual-img { width: 100%; height: 100%; object-fit: cover; }
  .section-body { order: 3; font-size: 0.95rem; line-height: 1.5; color: rgba(240,237,232,0.8); }
  .service-list { order: 4; margin-bottom: 1rem; }
  .action-wrapper { 
    width: 100%; 
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: var(--black);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.8);
    z-index: 550;
    margin-top: 0;
  }
  .cta-lux { 
    width: 100%; 
    text-align: center; 
    padding: 0.9rem; 
    font-size: 0.82rem; 
    letter-spacing: 0.08em; 
    line-height: 1.2;
    border-radius: 6px;
  }
  .close-panel { 
    position: fixed; 
    top: 1.2rem; 
    right: 1.5rem; 
    z-index: 600;
  }

  /* Grid & Contact */
  .servicios-hex { padding: 5rem 1.5rem; }
  .hex-grid { gap: 1rem; }
  .hex-shape { width: 80px; height: 80px; font-size: 1.8rem; }
  .contact-section { padding: 6rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 0; }
  .contact-text h2 { font-size: 2.5rem; }
  .contact-logo { display: none; }

  /* Footer */
  .site-footer { padding: 3rem 1.5rem; }
  .footer-links { gap: 1.5rem; }

  /* WhatsApp */
  .wa-widget { padding: 0.9rem; border-radius: 50%; }
  .wa-label { display: none; }
}

@media (max-width: 480px) {
  .panel-title { font-size: 1rem; }
  .panel-num { display: none; }
  .expanded-title { font-size: 1.7rem; }
  .hex-shape { width: 68px; height: 68px; font-size: 1.5rem; }
}
