/*
Theme Name: Ilumina Comunicaciones 2025
Theme URI: https://iluminacomunicaciones.com
Author: Ilumina Comunicaciones
Author URI: https://iluminacomunicaciones.com
Description: Tema personalizado para Ilumina Comunicaciones. Diseño moderno con fondo blanco, tipografía Poppins y colores de marca #e80794 y #dffe0e.
Version: 1.0.0
Text Domain: ilumina2025
Tags: custom, marketing, digital-agency
*/

/* =========================================
   VARIABLES DE MARCA
   ========================================= */
:root {
  --rosa:      #e80794;
  --rosa-light:#fff0fa;
  --amarillo:  #dffe0e;
  --negro:     #111111;
  --gris:      #555555;
  --gris-light:#f7f7f7;
  --blanco:    #ffffff;
  --border:    #eeeeee;
  --font:      'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 50px;
  --shadow:    0 4px 24px rgba(232,7,148,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--blanco);
  color: var(--negro);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font); }

/* =========================================
   TIPOGRAFÍA GLOBAL
   ========================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  color: var(--negro);
}

h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
p  { font-size: 15px; color: var(--gris); line-height: 1.75; }

/* =========================================
   UTILIDADES
   ========================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-pad  { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }

.section-label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--rosa);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: var(--negro);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-title em {
  font-style: normal;
  color: var(--rosa);
}

.section-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--gris);
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 44px;
}

/* =========================================
   BOTONES
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: none;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); opacity: 0.92; }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--rosa); color: #fff; }
.btn-outline  { background: transparent; color: var(--negro); border: 1.5px solid var(--negro); }
.btn-yellow   { background: var(--amarillo); color: var(--negro); font-weight: 700; }
.btn-white    { background: #fff; color: var(--negro); }

/* =========================================
   HEADER / NAVEGACIÓN
   ========================================= */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--negro);
}
.site-logo span { color: var(--rosa); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #444;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--rosa); }

.nav-cta {
  background: var(--rosa);
  color: #fff !important;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 11px !important;
  font-weight: 600 !important;
}

/* Menú hamburguesa (móvil) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--negro);
  margin: 5px 0;
  transition: 0.3s;
}

/* =========================================
   HERO
   ========================================= */
#hero {
  background: var(--blanco);
  padding: 90px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-shape-1 {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--amarillo);
  opacity: 0.10;
  pointer-events: none;
}
.hero-shape-2 {
  position: absolute;
  right: 100px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--rosa);
  opacity: 0.07;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: var(--amarillo);
  color: var(--negro);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

#hero h1 {
  margin-bottom: 22px;
  max-width: 620px;
}

#hero .hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--gris);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* =========================================
   SECCIÓN VIDEO
   ========================================= */
#video-section {
  padding: 0 0 80px;
}

.video-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  position: relative;
  aspect-ratio: 16/7;
  background: var(--negro);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0010 0%, #2a0a1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.video-cover.hidden { opacity: 0; pointer-events: none; }

.play-btn {
  width: 72px;
  height: 72px;
  background: var(--rosa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 0 0 rgba(232,7,148,0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(232,7,148,0.4); }
  70%  { box-shadow: 0 0 0 18px rgba(232,7,148,0); }
  100% { box-shadow: 0 0 0 0 rgba(232,7,148,0); }
}

.play-btn svg { margin-left: 5px; }

.video-label-text {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.video-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--amarillo);
  color: var(--negro);
  font-size: 10px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================
   PROYECTOS
   ========================================= */
#proyectos { background: var(--blanco); }

.projects-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}

.proj-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  min-height: 220px;
}

.proj-card.span-1 { grid-row: span 1; }
.proj-card.span-2 { grid-row: span 2; }

.proj-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.proj-no-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.proj-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  transition: opacity 0.3s;
}

.proj-type {
  font-size: 10px;
  color: var(--amarillo);
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.proj-name {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rosa);
  margin-top: 32px;
  transition: gap 0.2s;
}
.proj-link:hover { gap: 12px; }

/* =========================================
   SERVICIOS
   ========================================= */
#servicios { background: var(--gris-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.serv-card {
  background: var(--blanco);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.serv-card:hover {
  border-color: var(--rosa);
  transform: translateY(-3px);
}

.serv-accent-bar {
  width: 40px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.serv-icon {
  font-size: 32px;
  margin-bottom: 14px;
  line-height: 1;
}

.serv-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: 10px;
  line-height: 1.35;
}

.serv-card p {
  font-size: 13px;
  font-weight: 300;
  color: #777;
  line-height: 1.7;
}

.serv-pill {
  display: inline-block;
  margin-top: 16px;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
}

/* =========================================
   QUIÉNES SOMOS
   ========================================= */
#nosotras { background: var(--blanco); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--negro);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--amarillo);
  color: var(--negro);
  font-size: 12px;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  line-height: 1.4;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.stat-box {
  background: var(--gris-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}

.stat-num {
  font-size: 30px;
  font-weight: 800;
  color: var(--rosa);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  margin-top: 4px;
}

/* =========================================
   EQUIPO
   ========================================= */
#equipo { background: var(--gris-light); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.team-card { text-align: center; }

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--rosa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 800;
  color: #fff;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--negro);
  margin-bottom: 3px;
}

.team-role {
  font-size: 11px;
  font-weight: 500;
  color: var(--rosa);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* =========================================
   BANDA CTA
   ========================================= */
#cta-band {
  background: var(--negro);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-shape-1 {
  position: absolute; left: -120px; top: -120px;
  width: 500px; height: 500px; border-radius: 50%;
  background: var(--rosa); opacity: 0.09;
}
.cta-shape-2 {
  position: absolute; right: -100px; bottom: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: var(--amarillo); opacity: 0.07;
}

#cta-band h2 {
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
#cta-band h2 span { color: var(--amarillo); }
#cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  margin-bottom: 32px;
  position: relative;
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--blanco);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--rosa); }

.footer-desc {
  font-size: 13px;
  font-weight: 300;
  color: #999;
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-socials { display: flex; gap: 10px; }

.soc-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  transition: border-color 0.2s, color 0.2s;
}
.soc-btn:hover { border-color: var(--rosa); color: var(--rosa); }

.footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--negro);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #999;
  font-weight: 300;
  margin-bottom: 9px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--rosa); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: 12px;
  color: #bbb;
  font-weight: 300;
}

.footer-badge {
  background: var(--amarillo);
  color: var(--negro);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .about-grid       { grid-template-columns: 1fr; }
  .projects-grid    { grid-template-columns: 1fr; }
  .proj-card.span-2 { grid-row: span 1; }
}

@media (max-width: 640px) {
  .container        { padding: 0 20px; }
  .section-pad      { padding: 56px 0; }
  .services-grid    { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: 1fr; }
  .hero-btns        { flex-direction: column; align-items: flex-start; }
  .main-nav         { display: none; }
  .menu-toggle      { display: block; }
  .main-nav.open    { display: flex; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 20px 32px; gap: 16px; }
}

/* =========================================
   CLIENTES — CARRUSEL
   ========================================= */
#clientes {
  background: var(--blanco);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

#clientes .section-label {
  text-align: center;
  display: block;
  margin-bottom: 36px;
}

.clientes-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Gradientes para difuminar los bordes */
.clientes-track-wrap::before,
.clientes-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clientes-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, transparent 100%);
}
.clientes-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, transparent 100%);
}

.clientes-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: scroll-logos 28s linear infinite;
}

.clientes-track:hover {
  animation-play-state: paused;
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cliente-logo {
  flex-shrink: 0;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-logo img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
}

.cliente-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}
