
  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  :root {
    --pink:  #E6007E;
    --navy:  #2A2C62;
    --white: #FFFFFF;
    --gray:  #EDEDED;
  }
  html { scroll-behavior: smooth; }
  body { font-family: 'Montserrat', sans-serif; background: var(--white); color: var(--navy); overflow-x: hidden; }
  ::-webkit-scrollbar { width: 4px; }
  ::-webkit-scrollbar-track { background: var(--navy); }
  ::-webkit-scrollbar-thumb { background: var(--pink); }

  /* ══ NAV ══ */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 6vw;
    background: rgba(42,44,98,.97);
    border-bottom: 2px solid var(--pink);
  }

  /* ─── LOGO PLACEHOLDER ─── 
     Reemplaza la etiqueta <img> con tu logo.
     Tamaño recomendado: 160x50px en PNG con fondo transparente.
     Ejemplo: <img src="tu-logo.png" alt="Logo" style="height:50px"> */
  .logo-placeholder {
    display: flex; flex-direction: column; line-height: 1; text-decoration: none;
    cursor: pointer;
  }
  .logo-placeholder .logo-top {
    background: var(--pink); color: var(--white);
    font-size: 20px; font-weight: 900; letter-spacing: 2px;
    padding: 4px 10px; border-radius: 3px 3px 0 0;
    display: flex; align-items: center; gap: 2px;
  }
  .logo-arrow {
    display: inline-block; width: 0; height: 0;
    border-top: 6px solid transparent; border-bottom: 6px solid transparent;
    border-left: 9px solid white; margin: 0 2px;
  }
  .logo-placeholder .logo-bottom {
    background: var(--navy); border: 1px solid var(--pink);
    color: var(--white); font-size: 7px; font-weight: 700;
    letter-spacing: 3px; padding: 3px 10px;
    border-radius: 0 0 3px 3px; text-align: center;
  }

  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    color: var(--white); text-decoration: none;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    position: relative; padding-bottom: 4px; transition: color .2s;
  }
  .nav-links a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:2px; background:var(--pink); transition:width .3s; }
  .nav-links a:hover { color: var(--pink); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: var(--pink); color: var(--white);
    padding: 10px 22px; border: 2px solid var(--pink); border-radius: 2px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; transition: all .2s;
  }
  .nav-cta:hover { background: transparent; color: var(--pink); }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
  .hamburger span { width: 24px; height: 2px; background: white; display: block; }

  /* ══ MOBILE MENU ══ */
  .mob-menu {
    display: none; position: fixed; inset: 0; z-index: 199;
    background: var(--navy);
    flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  }
  .mob-menu.open { display: flex; }
  .mob-menu a { color: white; text-decoration: none; font-size: 24px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; transition: color .2s; }
  .mob-menu a:hover { color: var(--pink); }
  .mob-close { position: absolute; top: 20px; right: 6vw; background: none; border: none; color: white; font-size: 30px; cursor: pointer; }

  /* ══ COMMON ══ */
  section { padding: 110px 6vw 90px; }
  .tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 4px; text-transform: uppercase; color: var(--pink); margin-bottom: 12px; }
  .title { font-size: clamp(30px,4vw,58px); font-weight: 900; line-height: 1.08; letter-spacing: -1px; margin-bottom: 16px; }
  .sub { font-size: 14px; font-weight: 400; line-height: 1.75; color: #666; max-width: 500px; margin-bottom: 52px; }

  /* ══ INICIO / HERO ══ */
  #inicio {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden;

    /* ─── FONDO HERO ───
       Reemplaza la URL por la ruta de tu imagen de fondo.
       Ejemplo: background-image: url('tu-imagen-hero.jpg');
       Tamaño recomendado: 1920x1080px JPG o WebP. */
    background-color: var(--navy);
    background-image: var(--hero-bg, url(''));
    /* ✅ INSTRUCCIÓN: Pon la ruta de tu imagen aquí:
       Opción 1 - Imagen local: url('hero.jpg')
       Opción 2 - URL externa: url('https://tu-sitio.com/hero.jpg')
       Opción 3 - Video de fondo: Ver el elemento #hero-video en el HTML */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  /* Overlay oscuro sobre la imagen de fondo */
  #inicio::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(42,44,98,.82);
    z-index: 1;
  }

  .hero-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
  .hs { position: absolute; opacity: .05; border-radius: 12px; }
  .hs1 { width: 380px; height: 380px; border: 55px solid var(--pink); transform: rotate(18deg); top: -80px; right: -60px; animation: fl 9s ease-in-out infinite; }
  .hs2 { width: 220px; height: 220px; border: 36px solid var(--pink); transform: rotate(-12deg); bottom: 80px; right: 22vw; animation: fl2 12s ease-in-out infinite; }
  .hs3 { width: 110px; height: 110px; background: var(--pink); transform: rotate(30deg); bottom: -20px; left: 35vw; animation: fl 15s ease-in-out infinite reverse; }
  @keyframes fl  { 0%,100%{transform:rotate(18deg) translateY(0)} 50%{transform:rotate(18deg) translateY(-18px)} }
  @keyframes fl2 { 0%,100%{transform:rotate(-12deg) translateY(0)} 50%{transform:rotate(-12deg) translateY(16px)} }

  .hero-inner { position: relative; z-index: 2; max-width: 680px; animation: fadeUp .9s cubic-bezier(.16,1,.3,1) both; }
  @keyframes fadeUp { from{opacity:0;transform:translateY(36px)} to{opacity:1;transform:translateY(0)} }

  .hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(230,0,126,.15); border: 1px solid var(--pink);
    color: var(--pink); font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
    padding: 6px 14px; border-radius: 2px; margin-bottom: 28px;
  }
  .hero-badge::before { content:''; width:6px; height:6px; border-radius:50%; background:var(--pink); animation:pulse 1.5s infinite; }
  @keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.2} }

  .hero-h1 { font-size: clamp(36px,5.5vw,78px); font-weight: 900; line-height: 1.05; color: white; margin-bottom: 22px; letter-spacing: -1px; }
  .hero-h1 em { font-style: normal; color: var(--pink); border-bottom: 4px solid var(--pink); }
  .hero-p { font-size: clamp(13px,1.3vw,17px); color: rgba(255,255,255,.7); line-height: 1.75; max-width: 500px; margin-bottom: 40px; }
  .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
  .btn-fill {
    background: var(--pink); color: white; padding: 15px 34px;
    border: 2px solid var(--pink); border-radius: 2px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; transition: all .2s; box-shadow: 0 0 28px rgba(230,0,126,.4);
  }
  .btn-fill:hover { background: transparent; color: var(--pink); box-shadow: none; }
  .btn-ghost {
    background: transparent; color: white; padding: 15px 34px;
    border: 2px solid rgba(255,255,255,.3); border-radius: 2px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    text-decoration: none; transition: border-color .2s;
  }
  .btn-ghost:hover { border-color: white; }

  .hero-stats {
    position: absolute; bottom: 48px; right: 6vw; z-index: 2;
    display: flex; gap: 40px; animation: fadeUp 1s .3s cubic-bezier(.16,1,.3,1) both;
  }
  .stat { text-align: center; }
  .stat-n { font-size: clamp(26px,3vw,44px); font-weight: 900; color: var(--pink); line-height: 1; }
  .stat-l { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-top: 4px; }

  .scroll-hint { position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; animation: bounce 2s infinite; }
  .scroll-hint span { font-size: 8px; font-weight: 700; letter-spacing: 3px; color: rgba(255,255,255,.35); text-transform: uppercase; }
  .scroll-arr { width: 16px; height: 16px; border-right: 2px solid rgba(255,255,255,.3); border-bottom: 2px solid rgba(255,255,255,.3); transform: rotate(45deg); }
  @keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

  /* ══ SERVICIOS ══ */
  #servicios { background: white; }
  .srv-header { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 52px; }
  .srv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
  .srv-card {
    background: var(--gray); padding: 44px 32px;
    position: relative; overflow: hidden; cursor: default; transition: box-shadow .35s;
  }
  .srv-card::before {
    content:''; position:absolute; inset:0; background:var(--navy);
    transform:translateY(102%); transition:transform .4s cubic-bezier(.4,0,.2,1);
  }
  .srv-card:hover::before { transform: translateY(0); }
  .srv-card:hover { box-shadow: 0 16px 50px rgba(42,44,98,.25); }
  .srv-card > * { position: relative; z-index: 1; }
  .srv-num { position:absolute; top:20px; right:24px; font-size:10px; font-weight:800; letter-spacing:2px; color:rgba(0,0,0,.1); transition:color .35s; }
  .srv-card:hover .srv-num { color: rgba(255,255,255,.1); }
  .srv-ico { width:50px; height:50px; background:var(--pink); border-radius:4px; display:flex; align-items:center; justify-content:center; margin-bottom:24px; transition:transform .35s; }
  .srv-card:hover .srv-ico { transform: rotate(-8deg) scale(1.1); }
  .srv-ico svg { width:24px; height:24px; stroke:white; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .srv-name { font-size:17px; font-weight:800; margin-bottom:10px; transition:color .35s; }
  .srv-card:hover .srv-name { color: white; }
  .srv-desc { font-size:12.5px; line-height:1.65; color:#777; transition:color .35s; }
  .srv-card:hover .srv-desc { color: rgba(255,255,255,.65); }

  /* ══ PORTAFOLIO ══ */
  #portafolio { background: var(--navy); }
  #portafolio .title { color: white; }
  #portafolio .sub   { color: rgba(255,255,255,.5); }

  .port-grid {
    display: grid;
    grid-template-columns: repeat(12,1fr);
    gap: 14px;
  }

  /* ─── PLACEHOLDERS DE PORTAFOLIO ───
     Cada .port-item tiene un comentario indicando qué va ahí.
     Para poner una IMAGEN: <img src="tu-foto.jpg" class="port-media">
     Para poner un VIDEO:   <video src="tu-video.mp4" class="port-media" autoplay muted loop playsinline></video>
     La clase .port-media ya tiene los estilos necesarios. */

  .port-item { position: relative; overflow: hidden; border-radius: 2px; cursor: pointer; }
  .port-item.a { grid-column: span 7; height: 360px; }
  .port-item.b { grid-column: span 5; height: 360px; }
  .port-item.c { grid-column: span 4; height: 230px; }
  .port-item.d { grid-column: span 4; height: 230px; }
  .port-item.e { grid-column: span 4; height: 230px; }

  /* Media real (imagen o video) */
  .port-media {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
  }
  .port-item:hover .port-media { transform: scale(1.06); }

  /* Placeholder visual cuando aún no hay imagen/video */
  .port-ph {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    border: 2px dashed rgba(255,255,255,.2);
    transition: transform .5s cubic-bezier(.4,0,.2,1);
  }
  .port-item:hover .port-ph { transform: scale(1.03); }

  .ph-icon { font-size: 32px; opacity: .5; }
  .ph-label {
    font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,.4); text-align: center; padding: 0 16px; line-height: 1.5;
  }
  .ph-sub {
    font-size: 9px; color: rgba(255,255,255,.25);
    text-align: center; padding: 0 16px;
  }
  /* ✅ Estilos para labels de instrucciones en portafolio */
  .ph-instr {
    font-size: 8px; color: rgba(230,0,126,.6); letter-spacing:1px;
    text-align:center; padding: 0 12px; margin-top: 4px;
    border: 1px dashed rgba(230,0,126,.3); border-radius: 3px; padding: 4px 8px;
  }

  /* Colores de fondo por slot */
  .ph-bg1 { background: linear-gradient(135deg, #1a1c42, #2A2C62); }
  .ph-bg2 { background: linear-gradient(135deg, #3d0030, #E6007E22); }
  .ph-bg3 { background: linear-gradient(135deg, #111, #1a1c42); }
  .ph-bg4 { background: linear-gradient(135deg, #2A2C62, #111); }
  .ph-bg5 { background: linear-gradient(135deg, #1a003a, #E6007E18); }

  /* Overlay de info */
  .port-ov {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(42,44,98,.95) 0%, transparent 55%);
    opacity: 0; transition: opacity .35s;
    display: flex; align-items: flex-end; padding: 24px;
  }
  .port-item:hover .port-ov { opacity: 1; }
  .p-cat { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--pink); margin-bottom: 5px; }
  .p-ttl { font-size: 17px; font-weight: 800; color: white; }

  /* ══ CONTACTOS ══ */
  #contactos { background: var(--gray); }
  .ct-wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
  .ct-info { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
  .ci-block { display: flex; align-items: flex-start; gap: 14px; }
  .ci-ico { width:42px; height:42px; flex-shrink:0; background:var(--navy); border-radius:3px; display:flex; align-items:center; justify-content:center; }
  .ci-ico svg { width:18px; height:18px; stroke:var(--pink); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .ci-lbl { font-size:9px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:#999; margin-bottom:3px; }
  .ci-val { font-size:13px; font-weight:600; color:var(--navy); }

  /* ─── WHATSAPP / WALINK ───
     Reemplaza el href con tu enlace de Walink o WhatsApp.
     Ejemplo Walink:    https://wa.link/XXXXXX
     Ejemplo directo:   https://wa.me/593999999999
     El botón ya tiene el estilo verde de WhatsApp. */
  .wa-btn {
    display: inline-flex; align-items: center; gap: 12px;
    background: #25D366; color: white;
    padding: 14px 24px; border-radius: 4px;
    font-size: 13px; font-weight: 700; letter-spacing: 1px;
    text-decoration: none;
    transition: background .2s, transform .2s;
    box-shadow: 0 4px 20px rgba(37,211,102,.35);
    margin-top: 4px;
  }
  .wa-btn:hover { background: #1ebe5d; transform: translateY(-2px); }
  .wa-btn svg { width: 22px; height: 22px; fill: white; flex-shrink: 0; }
  .wa-badge {
    font-size: 9px; font-weight: 800; letter-spacing: 2px;
    text-transform: uppercase; color: rgba(255,255,255,.7);
    margin-bottom: 8px; display: block;
  }

  /* ══ FORM ══ */
  .form-box { background: white; padding: 44px; border-radius: 4px; box-shadow: 0 16px 50px rgba(0,0,0,.08); }
  .steps { display: flex; align-items: center; margin-bottom: 28px; }
  .step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
  .step:not(:last-child)::after { content:''; position:absolute; top:14px; left:50%; right:-50%; height:2px; background:var(--gray); z-index:0; }
  .step.done::after { background: var(--pink); }
  .step-dot { width:28px; height:28px; border-radius:50%; border:2px solid var(--gray); background:white; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; color:#bbb; position:relative; z-index:1; transition:all .3s; }
  .step.active .step-dot { border-color:var(--pink); color:var(--pink); }
  .step.done   .step-dot { border-color:var(--pink); background:var(--pink); color:white; }
  .step-lbl { font-size:8px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color:#bbb; margin-top:6px; text-align:center; transition:color .3s; }
  .step.active .step-lbl { color: var(--pink); }
  .step.done   .step-lbl { color: var(--navy); }

  .prog-bar { height:3px; background:var(--gray); border-radius:2px; margin-bottom:28px; overflow:hidden; }
  .prog-fill { height:100%; background:var(--pink); border-radius:2px; transition:width .6s cubic-bezier(.4,0,.2,1); width:0%; }

  .alert-box { background:rgba(230,0,126,.07); border:1px solid var(--pink); border-radius:2px; padding:12px 16px; font-size:12px; font-weight:600; color:var(--pink); margin-bottom:16px; display:none; align-items:center; gap:10px; }
  .alert-box.show { display: flex; }
  .alert-box::before { content:'⚠'; font-size:16px; }

  .f-panel { display: none; }
  .f-panel.active { display: block; }
  .f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .fg { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
  .fg label { font-size:9px; font-weight:800; letter-spacing:2px; text-transform:uppercase; color:#888; }
  .fg input, .fg select, .fg textarea { padding:12px 14px; border:2px solid var(--gray); border-radius:2px; font-family:'Montserrat',sans-serif; font-size:13px; font-weight:500; color:var(--navy); outline:none; transition:border-color .2s, box-shadow .2s; background:white; }
  .fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--pink); box-shadow:0 0 0 4px rgba(230,0,126,.07); }
  .fg textarea { resize:vertical; min-height:90px; }
  .fg.err input, .fg.err select, .fg.err textarea { border-color: var(--pink); }
  .err-msg { font-size:10px; font-weight:700; color:var(--pink); display:none; }
  .fg.err .err-msg { display: block; }

  .f-btn { width:100%; padding:15px; background:var(--pink); color:white; border:2px solid var(--pink); border-radius:2px; font-family:'Montserrat',sans-serif; font-size:11px; font-weight:800; letter-spacing:3px; text-transform:uppercase; cursor:pointer; transition:all .25s; box-shadow:0 6px 24px rgba(230,0,126,.28); margin-top:8px; }
  .f-btn:hover { background:var(--navy); border-color:var(--navy); box-shadow:none; }

  .sending-steps { display:flex; flex-direction:column; gap:14px; padding:10px 0; }
  .send-step { display:flex; align-items:center; gap:14px; padding:12px 16px; border-radius:3px; background:var(--gray); opacity:.4; transition:all .4s; }
  .send-step.active { background:rgba(42,44,98,.06); opacity:1; }
  .send-step.done   { background:rgba(230,0,126,.08); opacity:1; }
  .send-icon { width:32px; height:32px; border-radius:50%; background:var(--gray); display:flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; transition:background .4s; }
  .send-step.active .send-icon { background: var(--navy); }
  .send-step.done   .send-icon { background: var(--pink); }
  .send-lbl { font-size:11px; font-weight:700; color:var(--navy); }
  .send-sub { font-size:10px; color:#999; }

  .success-screen { text-align:center; padding:24px 0; }
  .success-check { width:70px; height:70px; background:var(--pink); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:32px; color:white; margin:0 auto 20px; animation:popIn .4s cubic-bezier(.175,.885,.32,1.275) both; }
  @keyframes popIn { from{transform:scale(0)} to{transform:scale(1)} }
  .success-title { font-size:22px; font-weight:900; color:var(--navy); margin-bottom:10px; }
  .success-sub   { font-size:13px; color:#888; line-height:1.6; }

  /* ══ FOOTER ══ */
  footer { background: var(--navy); padding: 56px 6vw 28px; }
  .ft-top { display:flex; justify-content:space-between; flex-wrap:wrap; gap:36px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.1); margin-bottom:24px; }
  .ft-brand p { font-size:12px; color:rgba(255,255,255,.45); max-width:260px; line-height:1.65; margin-top:14px; }
  .ft-col h4  { font-size:9px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:white; margin-bottom:16px; }
  .ft-col ul  { list-style:none; display:flex; flex-direction:column; gap:9px; }
  .ft-col a   { color:rgba(255,255,255,.45); text-decoration:none; font-size:12px; font-weight:500; transition:color .2s; }
  .ft-col a:hover { color: var(--pink); }
  .socials { display:flex; gap:8px; }
  .soc-btn { width:36px; height:36px; border:1px solid rgba(255,255,255,.15); border-radius:3px; display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,.45); text-decoration:none; transition:all .2s; }
  .soc-btn:hover { border-color:var(--pink); color:var(--pink); }
  .soc-btn svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
  .ft-bottom { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; font-size:10px; color:rgba(255,255,255,.3); }
  .ft-bottom span { color: var(--pink); }

  /* ══ RESPONSIVE ══ */
  @media (max-width: 1024px) {
    .srv-grid { grid-template-columns: repeat(2,1fr); }
    .port-item.a, .port-item.b { grid-column: span 12; height: 260px; }
    .port-item.c, .port-item.d, .port-item.e { grid-column: span 12; height: 210px; }
    .ct-wrap { grid-template-columns: 1fr; }
  }
  @media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .srv-grid { grid-template-columns: 1fr; }
    .f-row { grid-template-columns: 1fr; }
    .form-box { padding: 24px; }
    .hero-stats { position:relative; bottom:auto; right:auto; margin-top:40px; flex-wrap:wrap; }
    #inicio { padding-bottom: 60px; flex-direction: column; justify-content: center; }
    .scroll-hint { display: none; }
  }
