/* =============================================
   ANDRÉS LÓPEZ — MARKETING DIGITAL
   style.css
   =============================================
   Table of contents:
   1. Variables & Reset
   2. Base Typography
   3. Utilities (buttons, labels, fade-in)
   4. Navigation
   5. Hero
   6. About / Video
   7. Services
   8. Proceso
   9. Casos de Estudio
   10. Modal
   11. FAQ
   12. Precio
   13. Footer
   14. Responsive
============================================= */

/* ─── 1. VARIABLES & RESET ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:        #C9A84C;
  --gold-light:  #E2B94A;
  --gold-dark:   #A07828;
  --dark:        #2a2a2a;
  --dark-mid:    #3a3a3a;
  --dark-light:  #4a4a4a;
  --charcoal:    #232323;
  --section-bg:  #2f2f2f;
  --text-base:   #e8e4dc;
  --text-muted:  #b5b0a5;
  --text-dim:    #888;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-pill: 999px;
  --transition:  0.22s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--dark);
  color: var(--text-base);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: inherit; }

ul { list-style: none; }

/* ─── 2. BASE TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: #f0ebe0;
}

h1  { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 900; }
h2  { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; margin-bottom: 1.4rem; }
h3  { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
h4  { font-size: 0.95rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; }

p { color: var(--text-muted); }
p + p { margin-top: 0.9rem; }

strong { color: var(--text-base); font-weight: 700; }

/* ─── 3. UTILITIES ─── */

/* Layout container */
.container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 2rem;
}

/* Section top label */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-weight: 700;
}

/* Primary button (gold fill) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gold);
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-primary .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #1a1a1a;
  border-radius: 50%;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Secondary button (gold outline) */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--gold); color: #1a1a1a; }

/* Scroll-triggered fade in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* Muted text helper */
.text-muted { color: var(--text-muted) !important; margin-bottom: 2rem; }

/* Section padding */
section { padding: 5rem 2rem; }

/* ─── 4. NAVIGATION ─── */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
}

.nav-logo {
  width: 46px;
  height: 46px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.nav-logo:hover { background: var(--gold); color: #1a1a1a; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold-light); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-nav {
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.3rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--gold); color: #1a1a1a; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #ccc;
  transition: all 0.2s;
}

/* ─── 5. HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 2rem 3rem;
  position: relative;
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(201,168,76,0.07) 0%, transparent 70%),
    var(--dark);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  opacity: 1;
  transform: none;
}

.hero-tag {
  display: inline-block;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 2rem;
}

h1 { margin-bottom: 1.4rem; }
h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.8rem;
  line-height: 1.8;
}

/* Textured strip at bottom of hero */
.hero-texture {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, rgba(42,42,42,0.6));
  pointer-events: none;
  z-index: 0;
}

.btn-primary,
.precio-cta {
  display: inline-flex;
  align-items: center;
}

/* ARROW */

.btn-arrow {
  display: inline-block;

  margin-left: 12px;

  font-size: 1.15rem;
  font-weight: 900;

  line-height: 1;

  transform-origin: center;

  transition:
    transform 0.28s cubic-bezier(.2,.9,.2,1),
    text-shadow 0.28s ease,
    letter-spacing 0.28s ease,
    filter 0.28s ease;

  text-shadow:
    0 0 0 currentColor;
}

/* HOVER EFFECT */

.btn-primary:hover .btn-arrow,
.precio-cta:hover .btn-arrow {

  transform:
    translateX(10px)
    translateY(-1px)
    scale(1.4);

  text-shadow:
    0 0 1px currentColor,
    0 0 2px currentColor,
    0 0 4px currentColor;

  letter-spacing: 1px;

  filter: brightness(1.2);
}

/* OPTIONAL BUTTON LIFT */

.btn-primary:hover,
.precio-cta:hover {
  transform: translateY(-2px);
}

/* ─── LOGO ─── */

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* ─── HERO TYPEWRITER ─── */

.hero-typing {

  margin-top: 1.4rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.95);
  text-shadow:
  0 0 8px rgba(201,168,76,0.18),
  0 0 18px rgba(201,168,76,0.08);

animation: subtleGlow 3.5s ease-in-out infinite;
}

.typing-cursor {
  animation: blink 1s infinite;
  opacity: 0.7;
}

@keyframes blink {

  0%, 50% {
    opacity: 1;
  }

  51%, 100% {
    opacity: 0;
  }
}

@keyframes subtleGlow {

  0% {
    text-shadow:
      0 0 8px rgba(201,168,76,0.12),
      0 0 18px rgba(201,168,76,0.04);
  }

  50% {
    text-shadow:
      0 0 12px rgba(201,168,76,0.24),
      0 0 28px rgba(201,168,76,0.1);
  }

  100% {
    text-shadow:
      0 0 8px rgba(201,168,76,0.12),
      0 0 18px rgba(201,168,76,0.04);
  }
}

/* ─── 6. ABOUT / VIDEO ─── */


/* #about {
  background: #272727;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
} */

/* Vimeo video wrapper */
/* .about-video-wrap {
  width: 100%;
}

.video-frame {
  position: relative;
  width: 100%;

  /* MÁS ALTO para evitar crop de la cabeza */
  /* padding-top: 70%;

  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
} */

/* #vimeo-player,
#vimeo-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
} */

/* .video-frame iframe {
  border: none;
  display: block;
} */ 

/* ─── 6. ABOUT / IMAGE ─── */

#about {
  background: #272727;
  padding: 6rem 0;
}

/* GRID */

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

/* IMAGE */

.about-video-wrap {
  width: 100%;
}

.about-image-placeholder {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;

  overflow: hidden;
  border-radius: var(--radius-md);

  border: 1px solid rgba(201,168,76,0.2);

  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.about-image-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* TEXT */

.about-text {
  padding-left: 0.5rem;
}

.about-text p {
  margin-bottom: 0.9rem;
}

.about-list {
  list-style: none;
  margin: 1rem 0 1.2rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #ccc;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.about-list li::before {
  content: '▸';
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* ─── CONTACTO CTA PREMIUM ─── */

.contacto-cta {
  display: inline-flex;
  align-items: center;
}

/* ARROW */

.contacto-cta .btn-arrow {
  display: inline-block;

  margin-left: 12px;

  font-size: 1.15rem;
  font-weight: 900;

  line-height: 1;

  transform-origin: center;

  transition:
    transform 0.28s cubic-bezier(.2,.9,.2,1),
    text-shadow 0.28s ease,
    letter-spacing 0.28s ease,
    filter 0.28s ease;

  text-shadow:
    0 0 0 currentColor;
}

/* HOVER */

.contacto-cta:hover .btn-arrow {

  transform:
    translateX(10px)
    translateY(-1px)
    scale(1.4);

  text-shadow:
    0 0 1px currentColor,
    0 0 2px currentColor,
    0 0 4px currentColor;

  letter-spacing: 1px;

  filter: brightness(1.2);
}

/* BUTTON LIFT */

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


/* MOBILE */

@media (max-width: 768px) {

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

  .about-text {
    padding-left: 0;
  }

}

/* ─── 7. SERVICES ─── */
#services { background: var(--section-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  transition: border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-3px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.4rem;
}

.service-list { margin-top: 0.8rem; }
.service-list li {
  color: #999;
  font-size: 0.92rem;
  padding: 0.2rem 0;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.service-list li::before { content: '·'; color: var(--gold); }

/* ─── 8. PROCESO ─── */
#proceso { background: #272727; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

/* Connecting line */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 34px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.3), transparent);
  pointer-events: none;
}

.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

.step-num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.4rem;
}

.step-card p { color: #999; font-size: 0.9rem; }

/* ─── 9. CASOS DE ESTUDIO ─── */
#casos { background: var(--section-bg); }

.casos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.caso-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}

/* Clickable case card */
.caso-clickable {
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.caso-clickable:hover {
  border-color: rgba(201,168,76,0.5);
  transform: translateY(-2px);
}
.caso-clickable:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.caso-header {
  background: rgba(201,168,76,0.06);
  padding: 1.8rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  border-bottom: 1px solid rgba(201,168,76,0.1);
}

.caso-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1.5px solid rgba(201,168,76,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.caso-meta h3 { font-size: 1.05rem; color: #f0ebe0; margin-bottom: 0.15rem; }
.caso-meta span { font-size: 0.8rem; color: var(--gold); letter-spacing: 0.05em; text-transform: uppercase; }

.caso-badge {
  margin-left: auto;
  font-size: 0.78rem;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.8rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.caso-body { padding: 1.8rem 2rem; }
.caso-body p { color: #999; font-size: 0.93rem; margin-bottom: 1rem; }

.caso-results li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #bbb;
  padding: 0.25rem 0;
}
.caso-results li::before { content: '✓'; color: var(--gold); font-weight: 700; }

.caso-placeholder { opacity: 0.45; pointer-events: none; }
.caso-placeholder-text { color: #555; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.caso-body-center { display: flex; align-items: center; justify-content: center; min-height: 140px; }


.case-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.case-stat {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.14);
  border-radius: 10px;
  padding: 0.9rem;
}

.case-stat-number {
  display: block;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.case-stat-text {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.45;
}

/* ─── REVIEWS ─── */

#reviews {
  background:
    linear-gradient(
      180deg,
      #1a1a1a 0%,
      #151515 100%
    );
  border-top:
    1px solid rgba(201,168,76,0.08);
}

.reviews-grid {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}

.review-card {
  position: relative;

  background:
    rgba(255,255,255,0.02);

  border:
    1px solid rgba(201,168,76,0.1);
  border-radius: 18px;
  padding: 2rem;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

/* Glow */

.review-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(
      circle,
      rgba(201,168,76,0.08) 0%,
      transparent 70%
    );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.review-card:hover {
  transform:
    translateY(-6px);
  border-color:
    rgba(201,168,76,0.22);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.28),
    0 0 30px rgba(201,168,76,0.06);
}

.review-card:hover::before {
  opacity: 1;
}

.review-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-bottom: 1.2rem;
}

.review-text {
  color: #c7c7c7;
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  color: #f5f5f5;
  font-size: 0.92rem;
}

.review-author span {
  color: #777;
  font-size: 0.82rem;
}

/* MOBILE */

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}



/* ─── 10. MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-overlay[aria-hidden="true"] { display: none; }
.modal-overlay.open[aria-hidden="false"] { display: flex; }

.modal-container {
  background: #1e1e1e;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 16px;
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-container { transform: none; }

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #ccc;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
  z-index: 10;
}
.modal-close:hover { background: rgba(201,168,76,0.15); color: var(--gold); }

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-left {
  padding: 3rem 2.5rem;
  border-right: 1px solid rgba(201,168,76,0.1);
}
.modal-left h2 {
  font-size: 1.6rem;
  color: #f0ebe0;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.modal-section { margin-bottom: 1.8rem; }
.modal-section h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-weight: 700;
}
.modal-section p { color: #aaa; font-size: 0.92rem; margin-bottom: 0.5rem; }

.modal-list { margin-top: 0.5rem; }
.modal-list li {
  color: #aaa;
  font-size: 0.9rem;
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.modal-list li::before {
  content: '·';
  color: var(--gold);
  position: absolute;
  left: 0;
}

.modal-right {
  padding: 3rem 2.5rem;
  background: rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-before-after { width: 100%; }

.modal-before-after-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.modal-before-after-sub {
  text-align: center;
  color: #aaa;
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

/* Browser-style mockup */
.modal-screen-mockup {
  background: #111;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.mockup-bar {
  background: #1a1a1a;
  height: 28px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.mockup-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.mockup-bar span:nth-child(1) { background: #e05c5c; }
.mockup-bar span:nth-child(2) { background: #d4a030; }
.mockup-bar span:nth-child(3) { background: #4caf6e; }

.mockup-content { padding: 1.2rem; }
.mockup-headline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}
.mockup-sub-red {
  font-size: 0.7rem;
  color: #ccc;
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.mockup-sub-red strong { color: #e05c5c; }
.mockup-cta {
  display: inline-block;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.mockup-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.7rem;
  color: #ccc;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.mockup-section-title span { color: var(--gold); }
.mockup-body-text { font-size: 0.6rem; color: #555; line-height: 1.5; }

.modal-link-out {
  display: block;
  text-align: center;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color var(--transition);
}
.modal-link-out:hover { color: var(--gold-light); text-decoration: underline; }

/* ─── NEW CASE STUDY STYLE ─── */

.new-case-style {
  background: linear-gradient(
    180deg,
    #171717 0%,
    #111111 100%
  );

  border: 1px solid rgba(201,168,76,0.12);

  padding: 2rem;

  border-radius: 14px;
}

.case-mini-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);

  margin-bottom: 1rem;

  font-weight: 700;
}

.case-title {
  font-size: 1.4rem;
  line-height: 1.35;

  color: #f5f5f5;

  margin-bottom: 1.2rem;
}

.case-text {
  color: #b8b8b8;

  line-height: 1.8;

  margin-bottom: 1.4rem;

  font-size: 0.95rem;
}

.case-list {
  list-style: none;

  padding: 0;
  margin: 0;
}

.case-list li {
  position: relative;

  padding-left: 1.2rem;

  margin-bottom: 0.9rem;

  color: #d6d6d6;

  line-height: 1.6;
}

.case-list li::before {
  content: '•';

  position: absolute;
  left: 0;

  color: var(--gold);
}

/* ─── 11. FAQ ─── */
#faq { background: #272727; }

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-base);
  font-weight: 700;
  font-size: 0.92rem;
  gap: 1rem;
  text-align: left;
  font-family: 'Lato', sans-serif;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--gold-light); }

.faq-toggle {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid rgba(201,168,76,0.4);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform 0.25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 1.5rem 1.4rem;
}
.faq-a a { color: var(--gold); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }

/* ─── 12. PRECIO ─── */
#precio {
  background: linear-gradient(160deg, #1a1a1a, #242116, #1a1a1a);
  border-top: 1px solid rgba(201,168,76,0.18);
}

.precio-intro {
  max-width: 680px;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.precio-card {
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
}

.precio-header {
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.04));
  border-bottom: 1px solid rgba(201,168,76,0.18);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.precio-tag {
  display: inline-block;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.precio-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.precio-desde {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.precio-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #f0ebe0;
}
.precio-note {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.precio-duration {
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.precio-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.precio-col { padding: 2.5rem 3rem; }
.precio-col-right {
  border-left: 1px solid rgba(201,168,76,0.1);
  background: rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.precio-col-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.precio-list { display: flex; flex-direction: column; gap: 1.2rem; }
.precio-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.precio-list li > div p {
  font-size: 0.87rem;
  color: #777;
  margin-top: 0.2rem;
}
.precio-list li > div strong {
  font-size: 0.93rem;
  color: var(--text-base);
}

.precio-check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.precio-highlight {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.precio-highlight-dark {
  background: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.06);
}
.precio-highlight-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.precio-highlight-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  opacity: 0.85;
}
.precio-highlight p { font-size: 0.9rem; color: #aaa; }
.precio-highlight p strong { color: var(--text-base); }

.precio-cta { justify-content: center; }

.precio-ps {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.6;
  text-align: center;
}
.precio-ps a { color: var(--gold); text-decoration: none; }
.precio-ps a:hover { text-decoration: underline; }


.precio-duration {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-left: auto;
  font-size: 0.88rem;
  color: var(--text-muted);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
}

.precio-duration img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.75;
}

/* ─── PROCESS STEPS HOVER EFFECT ─── */

.step-card {
  position: relative;

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.step-num {

  position: relative;

  transition:
    transform 0.35s ease,
    color 0.35s ease,
    text-shadow 0.35s ease;
}

/* Glow background */

.step-num::after {

  content: '';

  position: absolute;

  inset: -12px;

  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(201,168,76,0.22) 0%,
    rgba(201,168,76,0.08) 40%,
    transparent 75%
  );

  opacity: 0;

  transition: opacity 0.35s ease;

  z-index: -1;
}

/* Hover */

.step-card:hover {

  transform: translateY(-6px);

  border-color: rgba(201,168,76,0.25);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.28),
    0 0 30px rgba(201,168,76,0.08);
}

.step-card:hover .step-num {

  color: var(--gold-light);

  transform: scale(1.08);

  text-shadow:
    0 0 10px rgba(201,168,76,0.45),
    0 0 24px rgba(201,168,76,0.2);
}

.step-card:hover .step-num::after {
  opacity: 1;
}


.fade-in {

  opacity: 0;

  transform:
    translateY(40px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

/* ACTIVE */

.fade-in.visible {

  opacity: 1;

  transform:
    translateY(0);
}


/* ─── 13. FOOTER ─── */
footer {
  background: var(--charcoal);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { margin-bottom: 1.2rem; }
.footer-brand p { color: #888; font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.8rem; }

.contact-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  color: #888;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}
.contact-item a { color: var(--gold); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }

.footer-col h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--text-base);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: #777;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-privacy {
  color: #555;
  font-size: 0.78rem;
  margin-top: 1.2rem;
  line-height: 1.6;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #555;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ─── FOOTER LOGO ─── */

.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 80px;
  width: auto;
  display: block;
}

/* ─── FLOATING WHATSAPP ─── */

.floating-whatsapp {

  position: fixed;

  right: 24px;
  bottom: 24px;

  width: 62px;
  height: 62px;

  border-radius: 50%;

  background: #25D366;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  z-index: 999;

  box-shadow:
    0 10px 30px rgba(37,211,102,0.28),
    0 0 24px rgba(37,211,102,0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* ICON */

.floating-whatsapp img {

  width: 80px;
  height: 80px;

  object-fit: contain;

  display: block;
}

/* HOVER */

.floating-whatsapp:hover {

  transform:
    translateY(-5px)
    scale(1.06);

  box-shadow:
    0 16px 40px rgba(37,211,102,0.35),
    0 0 32px rgba(37,211,102,0.24);
}

/* MOBILE */

@media (max-width: 768px) {

  .floating-whatsapp {

    width: 56px;
    height: 56px;

    right: 18px;
    bottom: 18px;
  }

  .floating-whatsapp svg {

    width: 28px;
    height: 28px;
  }
}

/* ─── 14. RESPONSIVE ─── */

/* Tablet */
@media (max-width: 960px) {
  #navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: rgba(26,26,26,0.98);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(201,168,76,0.15);
    z-index: 199;
  }

  .about-grid       { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid    { grid-template-columns: 1fr; }
  .steps-grid       { grid-template-columns: 1fr 1fr; }
  .steps-grid::before { display: none; }
  .casos-grid       { grid-template-columns: 1fr; }
  .faq-grid         { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
  .modal-grid       { grid-template-columns: 1fr; }
  .modal-left       { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); }
  .precio-body      { grid-template-columns: 1fr; }
  .precio-col-right { border-left: none; border-top: 1px solid rgba(201,168,76,0.1); }
  .precio-header    { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .precio-duration  { margin-left: 0; }
}

/* Mobile */
@media (max-width: 520px) {
  section { padding: 3.5rem 1.2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .modal-container { margin: 0.5rem; max-height: 95vh; }
  .modal-left, .modal-right { padding: 2rem 1.5rem; }
  .precio-col { padding: 2rem 1.5rem; }
  .precio-num { font-size: 1.8rem; }
  #navbar { padding: 0 1rem; }
}

/* Logo responsive */
@media (max-width: 768px) {

  .logo img {
    height: 60px;
  }

  .footer-logo img {
    height: 34px;
  }

}

img {

  max-width: 100%;
  height: auto;
}

section {
  overflow: hidden;
}

/* ─── MOBILE FIXES — CASOS DE ESTUDIO ─── */

@media (max-width: 768px) {

  .casos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .caso-card {
    width: 100%;
    overflow: hidden;
  }

  .caso-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.4rem;
  }

  .caso-badge {
    margin-left: 0;
    align-self: flex-start;
    font-size: 0.72rem;
  }

  .caso-body {
    padding: 1.4rem;
  }

  .caso-meta h3 {
    font-size: 1rem;
  }

  .caso-body p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .caso-results li {
    font-size: 0.88rem;
    line-height: 1.6;
  }
}

/* ─── MOBILE FIXES — PRECIO ─── */

@media (max-width: 768px) {

  .precio-header {
    padding: 1.6rem 1.3rem;
    gap: 1rem;
  }

  .precio-body {
    grid-template-columns:
      1fr;
  }

  .precio-col,
  .precio-col-right {
    padding:
      1.7rem 1.3rem;
  }

  .precio-col-right {
    border-left: none;
    border-top:
      1px solid rgba(201,168,76,0.08);
  }

  .precio-list {
    gap: 1.4rem;
  }

  .precio-list li {
    gap: 0.75rem;
  }

  .precio-list li > div p {
    line-height: 1.7;
    font-size: 0.9rem;
  }

  .precio-highlight {
    padding:
      1rem;
    gap:
      0.7rem;
    align-items:
      flex-start;
  }

  .precio-highlight p {
    font-size: 0.88rem;
    line-height: 1.7;
  }

  /* ICONOS */

 .precio-highlight-icon {
  width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.precio-highlight-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  opacity: 0.9;
}

  /* DURACIÓN */

  .precio-duration {
    margin-left: 0;
    width: fit-content;
    font-size: 0.82rem;
  }

  .precio-duration img {
    width: 12px;
    height: 12px;
  }

  .precio-num {
    font-size: 1.9rem;
  }
}