/* ============================================================
   LYNORA Marketing y Publicidad — Main Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Custom Properties ---- */
:root {
  --yellow: #F5B800;
  --yellow-dark: #D4A000;
  --yellow-light: #FFF3C4;
  --dark: #0A0A0A;
  --dark-2: #141414;
  --dark-3: #1E1E1E;
  --dark-4: #2A2A2A;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --light: #F8F8F8;
  --white: #FFFFFF;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-dark: 0 10px 40px rgba(0,0,0,0.25);
  --shadow-yellow: 0 8px 30px rgba(245,184,0,0.25);
  --container: 1200px;
  --nav-h: 80px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.15; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { color: var(--gray); line-height: 1.8; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.section-title { color: var(--dark); margin-bottom: 16px; }
.section-title span { color: var(--yellow); }
.section-desc { font-size: 1.0625rem; max-width: 580px; }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease-out);
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(245,184,0,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.0625rem; }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37,211,102,0.45);
}

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.9s var(--ease-in-out), opacity 0.3s ease;
}
.preloader.hide {
  transform: translateY(-100%);
}
.preloader__logo {
  width: 180px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderLogoIn 0.7s var(--ease-out) 0.3s forwards;
}
.preloader__bar-wrap {
  width: 200px;
  height: 2px;
  background: var(--dark-4);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.5s ease 0.8s forwards;
}
.preloader__bar {
  height: 100%;
  width: 0;
  background: var(--yellow);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.preloader__text {
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0;
  animation: fadeIn 0.5s ease 0.9s forwards;
}
@keyframes preloaderLogoIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding-top: 7px;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}
.navbar.transparent { background: transparent; }
.navbar.scrolled {
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
  height: 68px;
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo img { height: 40px; width: auto; }
.navbar__logo:hover { opacity: 0.85; }

.navbar__nav { display: flex; align-items: center; gap: 8px; }
.navbar__link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  padding: 8px 14px;
  border-radius: 6px;
  transition: color 0.25s ease, background 0.25s ease;
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease-out);
  border-radius: 2px;
}
.navbar__link:hover { color: var(--white); }
.navbar__link:hover::after,
.navbar__link.active::after { transform: scaleX(1); }
.navbar__link.active { color: var(--yellow); }

.navbar__cta {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--yellow);
  padding: 10px 22px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-out);
  margin-left: 8px;
}
.navbar__cta:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-yellow);
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.navbar__mobile.open { display: flex; opacity: 1; }
.navbar__mobile .navbar__link {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  padding: 12px 24px;
}
.navbar__mobile .navbar__link:hover { color: var(--yellow); }
.navbar__mobile .navbar__cta {
  margin-top: 16px;
  font-size: 1rem;
  padding: 14px 36px;
}

/* ============================================================
   PAGE HERO (shared)
   ============================================================ */
.page-hero {
  min-height: 40vh;
  background: var(--dark);
  display: flex;
  align-items: flex-end;
  padding-top: var(--nav-h);
  padding-bottom: 64px;
}
.page-hero .section-label { color: var(--yellow); }
.page-hero h1 { color: var(--white); }

/* ============================================================
   HERO SECTION (index)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
}
.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark) 40%, rgba(245,184,0,0.08) 100%);
}
.hero__grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,184,0,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
}
.hero__text { max-width: 600px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 24px;
}
.hero__eyebrow-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--yellow);
}
.hero__title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.5vw, 5rem);
  line-height: 1.05;
}
.hero__title .highlight {
  color: var(--yellow);
  position: relative;
}
.hero__desc {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.75;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero__tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.hero__tag:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid rgba(255,255,255,0.06);
}
.hero__image-placeholder svg { opacity: 0.2; }
.hero__image-placeholder span {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  text-align: center;
  padding: 0 20px;
}
.hero__badge {
  position: absolute;
  background: var(--yellow);
  color: var(--dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-dark);
  animation: float 3s ease-in-out infinite;
}
.hero__badge-main {
  bottom: -20px;
  left: -30px;
}
.hero__badge-main .badge-number {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.hero__badge-main .badge-label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.75;
}
.hero__badge-secondary {
  top: 30px;
  right: -20px;
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: 1.5s;
}
.hero__badge-secondary .badge-dot {
  width: 10px;
  height: 10px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero__badge-secondary .badge-text {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
}

/* ============================================================
   PAIN POINTS SECTION
   ============================================================ */
.pain-points {
  padding: 100px 0;
  background: var(--light);
}
.pain-points__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.pain-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.35s var(--ease-out);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.pain-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--yellow);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-out);
  border-radius: 0 2px 2px 0;
}
.pain-card:hover { box-shadow: var(--shadow); border-color: rgba(245,184,0,0.15); }
.pain-card:hover::before { transform: scaleY(1); }
.pain-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: var(--yellow-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.pain-card__title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.pain-card p { font-size: 0.9375rem; }
.pain-points__cta {
  text-align: center;
  margin-top: 56px;
  padding: 48px;
  background: var(--dark);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.pain-points__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(245,184,0,0.08) 0%, transparent 70%);
}
.pain-points__cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.0625rem;
  margin-bottom: 24px;
  position: relative;
}
.pain-points__cta strong {
  color: var(--yellow);
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 800;
  display: block;
  margin-bottom: 8px;
  position: relative;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview {
  padding: 100px 0;
  background: var(--white);
}
.about-preview__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-preview__visual {
  position: relative;
}
.about-preview__image-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.about-preview__image-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-preview__image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 55%;
  aspect-ratio: 1;
  background: var(--yellow-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid var(--white);
  z-index: -1;
}
.about-preview__stat {
  position: absolute;
  top: 24px;
  left: -24px;
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-dark);
}
.about-preview__stat .stat-number {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.about-preview__stat .stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  opacity: 0.75;
}
.about-preview__content .section-desc { margin-bottom: 32px; }
.about-preview__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--light);
  position: relative;
}
.timeline-item:last-child { border-bottom: none; }
.timeline-year {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--yellow);
  min-width: 44px;
  padding-top: 2px;
}
.timeline-content h4 {
  color: var(--dark);
  margin-bottom: 4px;
  font-size: 1rem;
}
.timeline-content p { font-size: 0.875rem; line-height: 1.6; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}
.services-section .section-title { color: var(--white); }
.services-section .section-desc { color: rgba(255,255,255,0.5); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
}
.service-card {
  background: var(--dark-3);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}
.service-card:hover {
  border-color: rgba(245,184,0,0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.service-card:hover::after { transform: scaleX(1); }
.service-card__icon {
  width: 60px;
  height: 60px;
  background: rgba(245,184,0,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 24px;
  transition: background 0.3s ease;
}
.service-card:hover .service-card__icon { background: rgba(245,184,0,0.2); }
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card__desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.9375rem;
  margin-bottom: 24px;
  line-height: 1.75;
}
.service-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.service-card__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  background: rgba(245,184,0,0.08);
  border: 1px solid rgba(245,184,0,0.15);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  padding: 80px 0;
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.stat-item {
  text-align: center;
  padding: 32px 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%; bottom: 25%;
  width: 1px;
  background: rgba(0,0,0,0.12);
}
.stat-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(0,0,0,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   PORTFOLIO PREVIEW
   ============================================================ */
.portfolio-preview {
  padding: 100px 0;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
  cursor: pointer;
  background: var(--light);
  border: 1px solid rgba(0,0,0,0.06);
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-dark); }
.portfolio-card__image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.portfolio-card:hover .portfolio-card__image img { transform: scale(1.06); }
.portfolio-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray);
  transition: background 0.3s ease;
}
.portfolio-card:hover .portfolio-card__placeholder { background: var(--dark-3); }
.portfolio-card__placeholder svg { opacity: 0.25; transition: opacity 0.3s ease; }
.portfolio-card:hover .portfolio-card__placeholder svg { opacity: 0.4; }
.portfolio-card__placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 16px;
  transition: color 0.3s ease;
}
.portfolio-card:hover .portfolio-card__placeholder span { color: rgba(255,255,255,0.3); }
.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card__overlay-cta {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--yellow);
  display: flex;
  align-items: center;
  gap: 6px;
}
.portfolio-card__info { padding: 24px; }
.portfolio-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}
.portfolio-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.portfolio-card__desc { font-size: 0.875rem; line-height: 1.6; }
.portfolio-preview__footer {
  text-align: center;
  margin-top: 48px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section__glow {
  position: absolute;
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(245,184,0,0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: 20px; }
.cta-section p { color: rgba(255,255,255,0.6); margin-bottom: 40px; font-size: 1.0625rem; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-section__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #060606;
  padding: 72px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__brand img { height: 36px; margin-bottom: 20px; }
.footer__brand p { font-size: 0.9375rem; line-height: 1.75; max-width: 280px; }
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.footer__social-link {
  width: 38px; height: 38px;
  background: var(--dark-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.25s ease;
  font-size: 0.9375rem;
}
.footer__social-link:hover { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer__link:hover { color: var(--yellow); }
.footer__link::before { content: '→'; opacity: 0; transition: all 0.25s ease; transform: translateX(-8px); }
.footer__link:hover::before { opacity: 1; transform: translateX(0); }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
}
.footer__contact-icon {
  color: var(--yellow);
  font-size: 1rem;
  margin-top: 2px;
  min-width: 20px;
}
.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom a { color: var(--yellow); }
.footer__bottom a:hover { text-decoration: underline; }

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 14px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: all 0.3s var(--ease-out);
  text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(37,211,102,0.5); }
.whatsapp-float__icon { font-size: 1.25rem; }
.whatsapp-float__pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: waPulse 2s ease-in-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.1); }
}

/* ============================================================
   PAGE: NOSOTROS
   ============================================================ */
.history-section {
  padding: 100px 0;
  background: var(--white);
}
.history-timeline {
  position: relative;
  padding-left: 40px;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow), rgba(245,184,0,0.1));
}
.history-item {
  position: relative;
  padding-bottom: 56px;
}
.history-item:last-child { padding-bottom: 0; }
.history-item::before {
  content: '';
  position: absolute;
  left: -47px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--yellow);
}
.history-item__year {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--yellow);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.history-item h3 { margin-bottom: 12px; }
.history-item p { max-width: 560px; }

.values-section {
  padding: 100px 0;
  background: var(--light);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  text-align: center;
  transition: all 0.35s var(--ease-out);
  border: 1px solid transparent;
}
.value-card:hover { box-shadow: var(--shadow); border-color: rgba(245,184,0,0.2); transform: translateY(-4px); }
.value-card__icon {
  width: 64px;
  height: 64px;
  background: var(--yellow-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}
.value-card h4 { color: var(--dark); margin-bottom: 12px; }
.value-card p { font-size: 0.9375rem; }

.clients-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}
.clients-section .section-header { margin-bottom: 48px; }
.clients-track-wrap { overflow: hidden; }
.clients-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: marquee 20s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
.client-logo {
  height: 48px;
  width: auto;
  filter: grayscale(1) opacity(0.4);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}
.client-logo:hover { filter: grayscale(0) opacity(1); }
.client-logo-placeholder {
  height: 48px;
  width: 140px;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.06);
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   PAGE: SERVICIOS
   ============================================================ */
.services-detail {
  padding: 100px 0;
}
.services-detail:nth-child(even) { background: var(--light); }
.service-detail__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail__inner.reverse { direction: rtl; }
.service-detail__inner.reverse > * { direction: ltr; }
.service-detail__icon {
  width: 72px;
  height: 72px;
  background: var(--yellow-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}
.service-detail h2 { margin-bottom: 16px; }
.service-detail p { margin-bottom: 24px; }
.service-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.service-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--dark);
  font-weight: 500;
}
.service-feature-check {
  width: 22px;
  height: 22px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--dark);
  font-weight: 700;
  flex-shrink: 0;
}
.service-detail__visual {
  aspect-ratio: 4/3;
  background: var(--light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
}
.service-detail__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gray);
  background: var(--light);
}
.img-placeholder svg { opacity: 0.25; }
.img-placeholder span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 0 24px;
}

/* ============================================================
   PAGE: PORTAFOLIO
   ============================================================ */
.portfolio-page {
  padding: 80px 0 100px;
  background: var(--white);
}
.portfolio-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--gray);
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--yellow);
  color: var(--dark);
  border-color: var(--yellow);
}
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.portfolio-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.07);
  transition: all 0.4s var(--ease-out);
}
.portfolio-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-dark); }
.portfolio-item__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--light);
}
.portfolio-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.portfolio-item:hover .portfolio-item__img img { transform: scale(1.05); }
.portfolio-item__body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.portfolio-item__cat {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.portfolio-item__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.portfolio-item__desc { font-size: 0.9rem; flex: 1; margin-bottom: 20px; }
.portfolio-item__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.portfolio-item__tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  background: var(--light);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ============================================================
   PAGE: CONTACTO
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: var(--white);
}
.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 40px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 48px;
  height: 48px;
  background: var(--yellow-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.contact-item__label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-item__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.contact-item__value a { color: var(--dark); transition: color 0.25s ease; }
.contact-item__value a:hover { color: var(--yellow); }

.contact-form {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.contact-form h3 { margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--dark);
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(245,184,0,0.12);
}
.form-textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%;
  padding: 16px 32px;
  background: var(--yellow);
  color: var(--dark);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  transition: all 0.3s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.form-submit:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-yellow);
}

/* ============================================================
   ANIMATIONS (AOS trigger classes)
   ============================================================ */
[data-aos] {
  transition-timing-function: var(--ease-out);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 9998;
  transition: width 0.1s linear;
  transform-origin: left;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(37,211,102,0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================================
   PAGE TRANSITION OVERLAY
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9998;
  pointer-events: none;
  transform: translateY(100%);
  transition: transform 0.6s var(--ease-in-out);
}
.page-transition.entering { transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__content { gap: 48px; }
  .about-preview__inner { gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 900px) {
  .hero__content { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .hero__text { max-width: 100%; }
  .about-preview__inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-full-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail__inner { grid-template-columns: 1fr; gap: 40px; }
  .service-detail__inner.reverse { direction: ltr; }
  .pain-points__grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section__inner { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .hero__badge-main { bottom: -10px; left: 8px; }
  .hero__badge-secondary { top: 16px; right: 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .pain-points__grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
