/* ==========================================================================
   Serendipia Creaciones - Sistema de Diseño y Estilos Modernos
   ========================================================================== */
:root {
  /* Paleta Base y Superficies */
  --bg-dark: #0a0e17;
  --bg-primary: #0f1626;
  --bg-secondary: #162035;
  --bg-card: rgba(22, 32, 53, 0.7);
  --bg-card-hover: rgba(30, 43, 70, 0.85);
  --bg-glass: rgba(15, 22, 38, 0.85);

  /* Bordes */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(139, 92, 246, 0.6);

  /* Texto */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-light: #ffffff;

  /* Colores Oficiales del Logo Serendipia Creaciones */
  --color-magenta: #e33391;
  --color-magenta-light: #f05cae;
  --color-magenta-glow: rgba(227, 51, 145, 0.35);
  --color-cyan: #00b0d0;
  --color-cyan-light: #33c9e6;
  --color-cyan-glow: rgba(0, 176, 208, 0.35);

  --color-violet: #8b5cf6;
  --color-indigo: #6366f1;
  --color-amber: #f59e0b;
  --color-emerald: #10b981;
  --color-whatsapp: #25d366;

  /* Gradientes Inspirados en el Logo (Magenta #e33391 y Cyan #00b0d0) */
  --grad-brand: linear-gradient(135deg, #e33391 0%, #9333ea 50%, #00b0d0 100%);
  --grad-cyan: linear-gradient(135deg, #33c9e6 0%, #00b0d0 100%);
  --grad-magenta: linear-gradient(135deg, #f05cae 0%, #e33391 100%);
  --grad-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --grad-card: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.7) 100%);

  /* Sombras y Luces */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  --shadow-glow-brand: 0 0 30px rgba(227, 51, 145, 0.38);
  --shadow-glow-cyan: 0 0 30px rgba(0, 176, 208, 0.38);
  --shadow-glow-wa: 0 0 25px rgba(37, 211, 102, 0.4);

  /* Tipografía y Dimensiones */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --nav-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transiciones */
  --trans-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reseteo General & Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Fondo con efecto resplandor dinámico */
body::before {
  content: "";
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 51, 145, 0.14) 0%, rgba(0, 176, 208, 0.09) 40%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--trans-fast);
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Contenedores y Tipografía Global
   ========================================================================== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c084fc;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: var(--grad-cyan);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Barra de Navegación (Header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(10, 14, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--trans-smooth);
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.95);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  transition: transform var(--trans-smooth);
  flex-shrink: 0;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin: 0;
  padding: 0;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--grad-brand);
  border-radius: var(--radius-full);
  transition: width var(--trans-smooth);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 8px 16px;
  font-size: 0.88rem;
}

.mobile-nav-actions {
  display: none;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-smooth);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-brand);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #0b1e13;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  font-weight: 800;
}

.btn-whatsapp:hover {
  background: #22c55e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-wa);
  color: #06140b;
}

.btn-whatsapp svg {
  fill: currentColor;
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  border: none;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--trans-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 70px;
  position: relative;
  text-align: center;
}

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

/* Logotipo Oficial Grande Destacado en Hero */
.hero-logo-box {
  margin: 0 auto 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px;
}

.hero-logo-box::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 160px;
  background: radial-gradient(ellipse, rgba(227, 51, 145, 0.35) 0%, rgba(0, 176, 208, 0.22) 50%, transparent 75%);
  filter: blur(35px);
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.hero-logo-main {
  position: relative;
  z-index: 1;
  width: clamp(260px, 45vw, 420px);
  height: auto;
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 25px rgba(227, 51, 145, 0.35));
  transition: transform var(--trans-smooth), filter var(--trans-smooth);
}

.hero-logo-main:hover {
  transform: translateY(-4px) scale(1.03);
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 35px rgba(227, 51, 145, 0.5));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(227, 51, 145, 0.12);
  border: 1px solid rgba(227, 51, 145, 0.35);
  color: #f05cae;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Barra de beneficios rápidos en Hero */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.pill-item svg {
  color: #38bdf8;
}

/* ==========================================================================
   Alerta Destacada: Prendas Propias o de Terceros (Requisito Clave)
   ========================================================================== */
.third-party-callout {
  background: linear-gradient(135deg, rgba(227, 51, 145, 0.12) 0%, rgba(0, 176, 208, 0.12) 100%);
  border: 1px solid rgba(227, 51, 145, 0.35);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.third-party-callout::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--grad-brand);
}

.callout-content {
  flex: 1;
}

.callout-tag {
  display: inline-block;
  background: #e33391;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.callout-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-light);
  margin-bottom: 8px;
}

.callout-desc {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.btn-callout-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #03200c;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  margin-top: 16px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--trans-smooth);
}

.btn-callout-wa:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.btn-hero-wa {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #022c22 !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
  font-weight: 800 !important;
}

.btn-hero-wa:hover {
  background: #20ba59 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6) !important;
}

.callout-badge-circle {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.callout-badge-circle span:first-child {
  font-size: 1.4rem;
}

.callout-badge-circle span:last-child {
  font-size: 0.65rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   Sección: Confección Textil (Buzos y Ropa de Trabajo)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--trans-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--trans-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.service-card:hover::after {
  opacity: 1;
}

.service-header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-primary);
}

.service-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-specs {
  margin-top: auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: #cbd5e1;
}

.spec-item svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Sección: Personalización (Bordado Industrial & Estampado DTF)
   ========================================================================== */
.customization-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1322 100%);
}

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

.custom-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
}

.custom-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.custom-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #090d16;
  border-bottom: 1px solid var(--border-subtle);
}

.custom-media img,
.custom-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.custom-card:hover .custom-media img,
.custom-card:hover .custom-media svg {
  transform: scale(1.03);
}

.custom-badge-tech {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
}

.custom-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.custom-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.custom-text {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.custom-highlight-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-highlight-box svg {
  width: 22px;
  height: 22px;
  color: #34d399;
  flex-shrink: 0;
}

.custom-highlight-box span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #a7f3d0;
}

.custom-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* ==========================================================================
   Sección: Portafolio (Terminaciones y Matrices Digitalizadas)
   ========================================================================== */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.filter-btn.active {
  background: var(--grad-brand);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-smooth);
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow: var(--shadow-md);
}

.portfolio-media {
  height: 240px;
  background: #0d121f;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.portfolio-media img,
.portfolio-media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.portfolio-item:hover .portfolio-media img,
.portfolio-item:hover .portfolio-media svg {
  transform: scale(1.04);
}

.portfolio-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #f05cae;
  text-transform: uppercase;
}

.portfolio-body {
  padding: 28px;
}

.portfolio-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #93c5fd;
  font-weight: 600;
}

/* ==========================================================================
   Sección: Proceso de Trabajo
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  position: relative;
  transition: all var(--trans-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.35);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Sección: Contacto, Cotización & Pie de Página
   ========================================================================== */
.contact-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding-bottom: 60px;
}

/* ==========================================================================
   Hub de Cotización Directa por WhatsApp (Reemplazo del Formulario)
   ========================================================================== */
.wa-hub-container {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.wa-options-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.wa-options-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-chips-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.wa-chip-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  transition: all var(--trans-smooth);
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.wa-chip-btn:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.5);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.wa-chip-icon {
  font-size: 1.8rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-chip-texts {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wa-chip-texts strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.wa-chip-texts span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.wa-chip-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  color: #25d366;
  opacity: 0.7;
  transition: transform var(--trans-fast);
}

.wa-chip-btn:hover .wa-chip-arrow {
  opacity: 1;
  transform: translate(3px, -3px);
}

/* Tarjeta Principal de Contacto WhatsApp */
.wa-main-card {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.95) 0%, rgba(22, 32, 53, 0.9) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4), 0 0 40px rgba(37, 211, 102, 0.12);
}

.wa-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.wa-pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.3);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.wa-card-profile {
  margin-bottom: 28px;
}

.wa-card-avatar {
  width: 140px;
  height: 75px;
  border-radius: 16px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(227, 51, 145, 0.4);
  margin: 0 auto 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wa-card-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.wa-card-phone {
  font-size: 1.25rem;
  font-weight: 800;
  color: #4ade80;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}

.wa-card-city {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.wa-card-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 28px;
}

.wa-card-perks {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: left;
}

.wa-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* Botón de Cotización Directa dentro de las Tarjetas */
.btn-card-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4ade80;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  margin-top: 20px;
  transition: all var(--trans-smooth);
  text-decoration: none;
}

.btn-card-wa:hover {
  background: #25d366;
  color: #06140b;
  border-color: #25d366;
  transform: translateY(-2px);
}

/* ==========================================================================
   Sección: Preguntas Frecuentes (FAQ Accordion & SEO)
   ========================================================================== */
.faq-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1220 100%);
  position: relative;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--trans-smooth);
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
  background: rgba(17, 24, 39, 0.85);
}

.faq-item[open] {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(17, 24, 39, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--trans-smooth), background-color var(--trans-smooth);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--text-secondary);
  transition: transform var(--trans-smooth), stroke var(--trans-smooth);
}

.faq-item[open] .faq-icon {
  background: var(--grad-brand);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon svg {
  stroke: #ffffff;
}

.faq-answer {
  padding: 0 24px 22px;
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
  padding-top: 16px;
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */
.footer-bottom {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo-main {
  width: 190px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.45));
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-link:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   Botón Flotante de WhatsApp
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all var(--trans-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  background: #20ba59;
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.floating-whatsapp-tooltip {
  position: absolute;
  right: 74px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--trans-fast);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   Sección: Instagram y Videos en Acción
   ========================================================================== */
.instagram-section {
  background: linear-gradient(180deg, rgba(13, 19, 34, 0.7) 0%, var(--bg-dark) 100%);
  position: relative;
}

.ig-profile-header {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.ig-profile-info {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ig-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ig-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #111827;
  padding: 4px;
}

.ig-handle {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ig-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(220, 39, 67, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-instagram:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(220, 39, 67, 0.5);
  filter: brightness(1.1);
}

.ig-reels-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.ig-reel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--trans-smooth);
  text-decoration: none;
  color: inherit;
}

.ig-reel-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(227, 51, 145, 0.5);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(227, 51, 145, 0.25);
}

.ig-reel-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 12;
  overflow: hidden;
  background: #0b0f19;
}

.ig-reel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-smooth);
}

.ig-reel-card:hover .ig-reel-thumb img {
  transform: scale(1.06);
}

.ig-reel-info {
  padding: 18px 20px;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.ig-reel-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.ig-reel-tag {
  font-size: 0.8rem;
  color: #f05cae;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Cuadrícula de Publicaciones y Videos Incrustados de Instagram */
.ig-embeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  justify-items: center;
  align-items: start;
  width: 100%;
  margin-top: 24px;
}

.ig-embed-item {
  width: 100%;
  max-width: 480px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--trans-smooth);
  display: flex;
  flex-direction: column;
}

.ig-embed-item:hover {
  transform: translateY(-5px);
  border-color: rgba(227, 51, 145, 0.45);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.ig-embed-top-bar {
  padding: 12px 18px;
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ig-badge-pill {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(227, 51, 145, 0.15);
  border: 1px solid rgba(227, 51, 145, 0.35);
  color: #f05cae;
  white-space: nowrap;
}

.ig-post-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.ig-embed-iframe {
  width: 100%;
  min-height: 560px;
  height: 580px;
  border: none;
  background: #ffffff;
  display: block;
}

.ig-embed-footer {
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
}

.ig-embed-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f05cae;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--trans-fast);
}

.ig-embed-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Diseño Adaptativo (Responsive Breakpoints)
   ========================================================================== */

/* 1. Laptops y Pantallas Medianas (1180px) */
@media (max-width: 1180px) {
  .nav-btn-quote {
    display: none;
  }

  .nav-links {
    gap: 14px;
  }
}

/* 2. Tablets y Pantallas Compactas (1024px) */
@media (max-width: 1024px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px 48px;
    gap: 12px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--trans-smooth);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-nav-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-actions .btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 0.95rem;
  }

  .nav-actions {
    display: flex;
    gap: 8px;
  }

  .nav-btn-quote {
    display: none;
  }

  .nav-btn-wa {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* 3. Smartphones y Pantallas Pequeñas (640px) */
@media (max-width: 640px) {
  :root {
    --nav-height: 70px;
  }

  .navbar {
    gap: 10px;
  }

  .brand-sub {
    display: none;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-logo-img {
    height: 38px;
    width: auto;
    max-width: 100px;
  }

  .nav-btn-wa .btn-wa-text {
    display: none;
  }

  .nav-btn-wa {
    padding: 8px 10px;
    border-radius: var(--radius-full);
  }

  .hero {
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 45px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 36px;
  }

  .hero-cta .btn {
    width: 100%;
    padding: 13px 20px;
  }

  .hero-pills {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pill-item {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    padding: 8px 12px;
  }

  .third-party-callout {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .third-party-callout::before {
    width: 100%;
    height: 4px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-box {
    padding: 24px;
  }

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

  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
}