*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #D4376E;        /* Magenta/hot-pink  — "DISEÑO GRÁFICO" del logo */
  --cyan:      #00B4C8;        /* Cyan              — barra web de la tarjeta   */
  --red-acc:   #E5173B;        /* Rojo letra "V"    — acento extra              */
  --primary-lt:#FDF0F5;        /* Rosa muy claro                                */
  --dark:      #2C2C2C;        /* Gris oscuro texto — tarjeta de presentación   */
  --dark-sec:  #3D3D3D;        /* Gris oscuro fondo — sección derecha tarjeta   */
  --gray:      #6B7280;
  --light:     #F8F9FA;
  --white:     #FFFFFF;
  --icon-bg:   #FDE8F1;        /* Rosa claro para fondos de íconos              */
  --border:    #E5E7EB;
  --font:      'Poppins', sans-serif;
  --cursive:   'Dancing Script', cursive;
  --radius:    12px;
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --grad-brand: linear-gradient(135deg, #E5173B 0%, #D4376E 35%, #9B2DB3 65%, #3A7FDD 100%);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); line-height: 1.6; overflow-x: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-title { text-align: center; margin-bottom: 56px; }
.section-title .label {
  font-family: var(--cursive);
  color: var(--primary);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 10px;
}
.section-title h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }

/* ── Accent line under section titles ── */
.section-title h2::after {
  content: '';
  display: block;
  width: 48px; height: 3px;
  background: var(--grad-brand);
  border-radius: 2px;
  margin: 10px auto 0;
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 6px;
  font-weight: 600; font-size: .95rem; cursor: pointer;
  transition: all .25s ease; border: 2px solid transparent;
}
.btn-primary   { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #b52d5e; }
.btn-outline   { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }
.btn-white     { background: #fff; color: var(--primary); }
.btn-white:hover { background: var(--primary); color: #fff; }

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; overflow: hidden; }
.nav-logo img { height: 34px; max-height: 34px; width: auto; object-fit: contain; display: block; }

.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { font-size: .95rem; font-weight: 500; color: var(--dark); position: relative; }
.nav-menu a::after {
  content:''; position: absolute; bottom:-4px; left:0;
  width:0; height:2px;
  background: var(--grad-brand);
  transition: width .25s;
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 1.5rem; color: var(--dark); }
.mobile-menu { display: none; }

/* ── HERO ── */
.hero {
  background: var(--primary-lt);
  padding: 80px 0 0;
  position: relative; overflow: hidden;
}
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.hero-text { padding-bottom: 80px; }
.hero-text .label {
  font-family: var(--cursive);
  color: var(--primary);
  font-size: 1.4rem; display: block; margin-bottom: 14px;
}
.hero-text h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero-text p { color: var(--gray); font-size: 1rem; max-width: 480px; margin-bottom: 36px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-star {
  position: absolute; top: 60px; left: 50%;
  width: 36px; height: 36px; color: var(--primary); opacity: .6;
}
.hero-image { position: relative; }
.hero-image img { border-radius: 20px 20px 0 0; }
.hero-blob {
  position: absolute; width: 360px; height: 360px;
  background: var(--grad-brand);
  border-radius: 50%; top: 20px; right: -60px;
  opacity: .14; filter: blur(64px);
}

/* ── QUICK SERVICES ── */
.quick-services { padding: 60px 0; }
.qs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.qs-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 28px; border-radius: var(--radius);
  border: 1px solid var(--border);
}
.qs-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--icon-bg); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.qs-icon i { font-size: 1.4rem; color: var(--primary); }
.qs-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.qs-card p { color: var(--gray); font-size: .9rem; margin-bottom: 12px; }
.qs-link { color: var(--primary); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ── WHY CHOOSE US ── */
.why { background: var(--light); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-text .label { font-family: var(--cursive); color: var(--primary); font-size: 1.25rem; display: block; margin-bottom: 10px; }
.why-text h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); font-weight: 700; margin-bottom: 20px; line-height: 1.2; }
.why-text h2::after { display: none; }
.why-text p { color: var(--gray); margin-bottom: 28px; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 36px; }
.why-list li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; }
.why-list li i { color: var(--primary); font-size: 1.1rem; }
.why-images { position: relative; }
.why-images .img-main { border-radius: var(--radius); width: 100%; height: 340px; object-fit: cover; object-position: center; }
.why-images .img-secondary {
  position: absolute; bottom: -24px; left: -24px;
  width: 200px; height: 180px; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff;
  box-shadow: var(--shadow);
}
.why-badge {
  position: absolute; bottom: 16px; right: 0;
  background: var(--dark-sec); color: #fff;
  padding: 18px 22px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow);
}
.why-badge .num { font-size: 2rem; font-weight: 800; line-height: 1; }
.why-badge .unit { font-size: .75rem; font-weight: 500; opacity: .7; }
.why-badge .text { font-size: .8rem; opacity: .9; max-width: 90px; line-height: 1.3; }

/* ── SERVICES GRID ── */
.services { background: #fff; }
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.srv-card { text-align: center; padding: 32px 20px; }
.srv-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--icon-bg); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 18px;
}
.srv-icon i { font-size: 1.8rem; color: var(--primary); }
.srv-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.srv-card p { color: var(--gray); font-size: .9rem; }

/* ── STATS ── */
.stats { background: var(--dark-sec); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-card { text-align: center; }
.stat-icon {
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center;
  justify-content: center; margin: 0 auto 16px;
  border: 2px solid rgba(255,255,255,.15);
}
.stat-icon i { font-size: 1.6rem; color: #fff; }
.stat-num { font-size: 2.5rem; font-weight: 800; color: #fff; }
.stat-label { color: rgba(255,255,255,.65); font-size: .9rem; margin-top: 4px; }

/* Highlight one stat with cyan */
.stat-card:nth-child(3) .stat-icon { background: rgba(0,180,200,.2); border-color: var(--cyan); }
.stat-card:nth-child(3) .stat-icon i { color: var(--cyan); }

/* ── FAQ ── */
.faq { background: var(--light); }
.faq-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.faq-text .label { font-family: var(--cursive); color: var(--primary); font-size: 1.25rem; display: block; margin-bottom: 10px; }
.faq-text h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 32px; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 18px 0; background: none;
  border: none; cursor: pointer; font-family: var(--font);
  font-size: 1rem; font-weight: 600; color: var(--dark);
  text-align: left;
}
.accordion-icon {
  width: 32px; height: 32px; border-radius: 6px;
  background: var(--dark-sec); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .9rem;
}
.accordion-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-body p { color: var(--gray); padding-bottom: 18px; font-size: .95rem; }
.accordion-item.open .accordion-icon { background: var(--primary); transform: rotate(45deg); }
.faq-image img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }

/* ── PORTFOLIO ── */
.portfolio { background: #fff; }
.portfolio-slider { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 16px; scroll-snap-type: x mandatory; }
.portfolio-slider::-webkit-scrollbar { height: 4px; }
.portfolio-slider::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
.port-item {
  min-width: 260px; border-radius: var(--radius);
  overflow: hidden; position: relative; scroll-snap-align: start;
  flex-shrink: 0;
}
.port-item img { width: 100%; height: 300px; object-fit: cover; transition: transform .4s; }
.port-item:hover img { transform: scale(1.06); }
.port-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(212,55,110,.88) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 20px;
  opacity: 0; transition: opacity .3s;
}
.port-item:hover .port-overlay { opacity: 1; }
.port-overlay span { color: #fff; font-weight: 700; font-size: 1.1rem; }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--light); }
.testi-track { position: relative; overflow: hidden; }
.testi-cards { display: flex; transition: transform .4s ease; }
.testi-card { min-width: 100%; padding: 0 40px; text-align: center; }
.testi-avatars { display: flex; justify-content: center; gap: 14px; margin-bottom: 28px; }
.testi-avatars img {
  width: 60px; height: 60px; border-radius: 50%; object-fit: cover;
  opacity: .5; transform: scale(.85); transition: all .3s;
  border: 3px solid transparent;
}
.testi-avatars img.active { opacity: 1; transform: scale(1.1); border-color: var(--primary); }
.testi-quote {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  font-style: italic; color: var(--gray);
  max-width: 680px; margin: 0 auto 24px; line-height: 1.8;
}
.testi-quote::before { content: '\201C'; font-size: 3rem; color: var(--primary); line-height: 0; vertical-align: -.4em; margin-right: 6px; }
.testi-name { font-weight: 700; font-size: 1.05rem; }
.testi-role { color: var(--gray); font-size: .85rem; }
.testi-nav { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.testi-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: background .25s; }
.testi-dot.active { background: var(--primary); }

/* ── BLOG ── */
.blog { background: #fff; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 220px; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--gray); margin-bottom: 12px; }
.blog-date-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--primary); color: #fff;
  padding: 6px 12px; border-radius: 6px;
  font-size: .78rem; font-weight: 700; line-height: 1.2; text-align: center;
}
.blog-date-badge .day { font-size: 1.2rem; display: block; }
.blog-img-wrap { position: relative; }
.blog-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; line-height: 1.4; }
.blog-card h3 a:hover { color: var(--primary); }
.blog-read { color: var(--primary); font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }

/* ── NEWSLETTER ── */
.newsletter { background: var(--primary-lt); padding: 80px 0; text-align: center; }
.newsletter h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.newsletter h2::after { margin: 10px auto 0; }
.newsletter p { color: var(--gray); max-width: 560px; margin: 0 auto 36px; }
.nl-form { display: flex; gap: 12px; max-width: 540px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 14px 20px; border: 1px solid var(--border);
  border-radius: 6px; font-family: var(--font); font-size: .95rem;
  outline: none;
}
.nl-form input:focus { border-color: var(--primary); }

/* ── FOOTER ── */
.footer { background: var(--dark-sec); color: #fff; padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 50px; }
.footer-logo { display: flex; align-items: center; margin-bottom: 16px; }
.footer-logo img { height: 56px; width: auto; object-fit: contain; }
.footer-about p { color: rgba(255,255,255,.65); font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 6px;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); transition: all .25s;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content:''; position: absolute; bottom:0; left:0; width: 32px; height: 2px; background: var(--primary); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 14px; }
.footer-contact li i { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,.5); font-size: .85rem;
}
.footer-bottom a { color: var(--cyan); }

/* ── BACK TO TOP ── */
#back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 4px 14px rgba(212,55,110,.45);
}
#back-top.show { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); }

/* ══════════════════════════════════════════════
   RESPONSIVE — DISEÑO ADAPTABLE
══════════════════════════════════════════════ */

/* Elementos solo visibles en móvil */
.hero-mobile-img { display: none; }
.swipe-hint      { display: none; }
.fc-toggle       { display: none; font-size: 1.25rem; font-weight: 300; color: var(--primary); margin-left: auto; line-height: 1; }

/* Overlay del menú — siempre fixed para no romper el layout en desktop */
#nav-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,.52);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  backdrop-filter: blur(2px);
}
#nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ── Tablet ≤ 1024px ── */
@media (max-width: 1024px) {
  .srv-grid    { grid-template-columns: repeat(2, 1fr); }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .hero-text h1 { font-size: 2.6rem; }
}

/* ── Mobile ≤ 768px ── */
@media (max-width: 768px) {
  .section-pad { padding: 52px 0; }
  .container   { padding: 0 16px; }

  /* ─ Navbar ─ */
  .nav-inner    { height: 56px; }
  .nav-logo img { height: 28px; max-height: 28px; }
  .nav-menu     { display: none; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--primary-lt); color: var(--primary);
    font-size: 1.25rem;
  }

  /* ─ Menú lateral (panel derecho) ─ */
  .mobile-menu {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(300px, 88vw);
    background: #fff; z-index: 999; padding: 0;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.16,1,.3,1);
    box-shadow: -10px 0 48px rgba(0,0,0,.2);
    overflow-y: auto;
  }
  .mobile-menu.open { transform: translateX(0); }
  /* Barra de color de marca al tope del panel */
  .mobile-menu::before {
    content: ''; display: block;
    height: 4px; flex-shrink: 0;
    background: var(--grad-brand);
  }
  .mobile-menu a {
    display: flex; align-items: center;
    padding: 15px 22px; font-size: 1rem; font-weight: 500;
    border-bottom: 1px solid var(--border); min-height: 52px;
    transition: background .2s, color .2s;
  }
  .mobile-menu a:hover,
  .mobile-menu a:active { background: var(--primary-lt); color: var(--primary); }
  .mobile-menu .btn { margin: 20px 22px; width: calc(100% - 44px); justify-content: center; min-height: 50px; }

  /* ─ Hero ─ */
  .hero { padding: 44px 0 0; text-align: center; }
  .hero-inner  { grid-template-columns: 1fr; gap: 0; }
  .hero-image  { display: none; }
  .hero-text   { padding-bottom: 0; }
  .hero-text .label { font-size: 1.15rem; }
  .hero-text h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .hero-text p  { margin-left: auto; margin-right: auto; }
  .hero-btns    { justify-content: center; }
  .hero-btns .btn { min-height: 50px; }

  /* Logo decorativo en el hero en móvil */
  .hero-mobile-img {
    display: flex; justify-content: center;
    padding: 28px 0 48px;
  }
  .hero-mobile-img img {
    height: 100px; width: auto;
    filter: drop-shadow(0 8px 24px rgba(212,55,110,.22));
    animation: float 4s ease-in-out infinite;
  }

  /* ─ Quick Services ─ */
  .qs-grid { grid-template-columns: 1fr; gap: 12px; }
  .qs-card { padding: 18px 16px; }

  /* ─ Why section ─ */
  .why-inner { grid-template-columns: 1fr; gap: 24px; }
  .why-images .img-secondary { display: none; }
  .why-images .img-main { height: 210px; }
  .why-badge  { position: static; width: 100%; margin-top: 12px; border-radius: var(--radius); }
  .why-list   { grid-template-columns: 1fr 1fr; }

  /* ─ Services ─ */
  .srv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .srv-card { padding: 20px 12px; }

  /* ─ Stats ─ */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-num   { font-size: 2rem; }

  /* ─ FAQ ─ */
  .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .faq-image { display: none; }

  /* ─ Portfolio swipe hint ─ */
  .swipe-hint {
    display: flex; align-items: center; gap: 6px;
    font-size: .8rem; color: var(--gray);
    justify-content: flex-end; margin-bottom: 10px;
  }

  /* ─ Testimonials ─ */
  .testi-card   { padding: 0 8px; }
  .testi-quote  { font-size: .93rem; }
  .testi-avatars img { width: 46px; height: 46px; }

  /* ─ Blog ─ */
  .blog-grid { grid-template-columns: 1fr; gap: 16px; }

  /* ─ Newsletter ─ */
  .newsletter    { padding: 48px 0; }
  .nl-form       { flex-direction: column; }
  .nl-form input { width: 100%; }
  .nl-form .btn  { width: 100%; justify-content: center; min-height: 50px; }

  /* ─ Footer ─ */
  .footer        { padding: 40px 0 0; }
  .footer-grid   { grid-template-columns: 1fr; gap: 0; padding-bottom: 0; }
  .footer-logo img { height: 48px; }
  .footer-about  { padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }

  /* Footer accordion en móvil */
  .fc-toggle { display: inline-block; }
  .footer-col h4 {
    display: flex; align-items: center; cursor: pointer;
    margin-bottom: 0; padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .footer-col h4::after { display: none; }
  .footer-col ul { overflow: hidden; transition: max-height .35s ease; }

  .footer-bottom { justify-content: center; text-align: center; padding: 18px 0; }
}

/* ── Small mobile ≤ 480px ── */
@media (max-width: 480px) {
  .section-pad  { padding: 40px 0; }
  .hero-btns    { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .qs-grid      { grid-template-columns: 1fr; }
  .srv-grid     { grid-template-columns: 1fr; }
  .why-list     { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 1.5rem; }
  .btn          { padding: 12px 20px; font-size: .9rem; }
  .nav-logo img { height: 26px; max-height: 26px; }
  .stat-num     { font-size: 1.8rem; }
}

/* ── Extra small ≤ 360px ── */
@media (max-width: 360px) {
  .stats-grid { grid-template-columns: 1fr; }
  .srv-grid   { grid-template-columns: 1fr; }
  .port-item  { min-width: 190px; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-mobile-img img { height: 80px; }
}


/* ══════════════════════════════════════════════
   REDES SOCIALES — SOCIAL CTA
══════════════════════════════════════════════ */
.social-cta { background: var(--light); }

.social-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.social-cards { max-width: 560px; margin-left: auto; margin-right: auto; }

.social-card {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 20px 20px 18px;
  border-radius: 14px; text-decoration: none; color: #fff;
  position: relative; overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.social-card:hover { transform: translateY(-5px); }

.social-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(255,255,255,.18) 0%, transparent 60%);
  pointer-events: none;
}

.social-fb {
  background: #1877F2;
  box-shadow: 0 8px 24px rgba(24,119,242,.35);
}
.social-ig {
  background: linear-gradient(145deg, #f09433 0%, #e6683c 20%, #dc2743 45%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 24px rgba(188,24,136,.32);
}

.soc-icon   { font-size: 1.9rem; margin-bottom: 7px; opacity: .95; }
.soc-name   { font-size: 1rem; font-weight: 700; margin-bottom: 3px; }
.soc-handle { font-size: .76rem; opacity: .82; margin-bottom: 8px; font-weight: 500; }
.soc-copy   { font-size: .75rem; opacity: .85; line-height: 1.5; max-width: 240px; margin-bottom: 14px; }

.soc-btn {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
  padding: 6px 16px; border-radius: 50px;
  font-size: .74rem; font-weight: 600;
  transition: background .25s;
  backdrop-filter: blur(4px);
}
.social-card:hover .soc-btn { background: rgba(255,255,255,.32); }

@media (max-width: 640px) {
  .social-cards { grid-template-columns: 1fr; gap: 12px; max-width: 340px; }
  .social-card  { padding: 18px 18px 16px; }
}


/* ══════════════════════════════════════════════
   EFECTOS & TRANSICIONES MODERNAS
══════════════════════════════════════════════ */

/* ── Preloader ── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
#preloader img { height: 72px; width: auto; }
.pre-ring {
  width: 48px; height: 48px;
  border: 3px solid var(--primary-lt);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* ── Scroll progress — multicolor del logo ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9998;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #E5173B 0%, #D4376E 40%, #9B2DB3 70%, var(--cyan) 100%);
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
}

/* ── Navbar glassy on scroll ── */
.navbar { transition: background .3s, box-shadow .3s; }
.navbar.scrolled {
  background: rgba(255,255,255,.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}

/* ── Scroll reveal ── */
.auto-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.auto-reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Button shimmer ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transform: skewX(-18deg);
  transition: left .55s ease;
}
.btn:hover::after { left: 160%; }

/* ── Button ripple ── */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.38);
  transform: scale(0);
  animation: ripple-anim .55s linear;
  pointer-events: none;
}

/* ── Card lift ── */
.qs-card   { transition: box-shadow .3s ease, transform .3s ease; }
.qs-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); }

.blog-card { transition: transform .35s ease, box-shadow .35s ease; }
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,0,0,.13); }

.srv-card  { transition: transform .3s ease; border-radius: var(--radius); }
.srv-card:hover { transform: translateY(-6px); }

/* ── Icon hover float ── */
.qs-icon   { transition: transform .3s ease; }
.srv-icon  { transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.stat-icon { transition: transform .3s ease, background .3s ease; }

.qs-card:hover  .qs-icon  { transform: translateY(-5px); }
.srv-card:hover .srv-icon { transform: translateY(-8px) rotate(8deg); }
.stat-card:hover .stat-icon { transform: scale(1.12); background: rgba(212,55,110,.2); }

/* ── Hero h1 gradient — colores del logo ── */
.hero-text h1 {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Hero animated bg ── */
.hero {
  background: linear-gradient(135deg, #FDF0F5 0%, #F4EAFA 50%, #FDF0F5 100%);
  background-size: 250% 250%;
  animation: heroGradient 7s ease infinite;
}

/* ── Stat numbers color ── */
.stat-num { font-size: 2.5rem; font-weight: 800; color: #fff; }

/* ── Why badge pulse ── */
.why-badge { animation: badgePulse 3.5s ease infinite; }

/* ── Social icons hover ── */
.social-links a:hover { transform: translateY(-3px) rotate(-5deg); }

/* ── Portfolio item ── */
.port-item { transition: transform .3s ease; }
.port-item:hover { transform: scale(1.03); }

/* ── Accordion icon ── */
.accordion-icon { transition: background .25s, transform .35s cubic-bezier(.34,1.56,.64,1); }

/* ── Brand gradient bar — decorative divider ── */
.brand-bar {
  height: 4px;
  background: var(--grad-brand);
}

/* ── Keyframes ── */
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50%       { background-position: 100% 50%; }
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
  50%       { box-shadow: 0 8px 32px rgba(61,61,61,.3); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
