:root{
    --bg:#0D0D0D;
    --bg-alt:#161616;
    --bg-card:#1A1A1A;
    --bg-warm:#2A2A2A;
    --ink:#F5F5F0;
    --ink-dim:rgba(245,245,240,0.62);
    --ink-faint:rgba(245,245,240,0.36);
    --orange:#FF6B1A;
    --orange-dim:rgba(255,107,26,0.14);
    --blue:#4A90D9;
    --blue-dim:rgba(74,144,217,0.14);
    --line:rgba(245,245,240,0.1);
    --sans:'Hanken Grotesk', -apple-system, sans-serif;
    --serif: Georgia, 'Times New Roman', serif;
    --ease: cubic-bezier(.22,.61,.36,1);
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  @media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto;}
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
  }

  body{
    background:var(--bg);
    color:var(--ink);
    font-family:var(--sans);
    line-height:1.5;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }

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

  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  @media (max-width:680px){ .wrap{padding:0 22px;} }

  /* ---------- Ambient glow signature ---------- */
  .glow{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
    pointer-events:none;
    z-index:0;
  }
  .glow-orange{background:radial-gradient(circle, rgba(255,107,26,0.55) 0%, rgba(255,107,26,0) 70%);}
  .glow-blue{background:radial-gradient(circle, rgba(74,144,217,0.45) 0%, rgba(74,144,217,0) 70%);}

  @keyframes drift{
    0%,100%{ transform: translate(0,0) scale(1); }
    50%{ transform: translate(30px,-24px) scale(1.08); }
  }
  .glow{ animation: drift 16s ease-in-out infinite; }

  /* ---------- Header ---------- */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:rgba(13,13,13,0.72);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    height:76px;
  }
  .brand{
    font-weight:700; letter-spacing:0.02em; font-size:16px;
    display:flex; align-items:center; gap:10px;
  }
  .brand .dot{ color:var(--orange); }
  .navlinks{ display:flex; gap:34px; align-items:center; }
  .navlinks a{
    font-size:14.5px; color:var(--ink-dim); font-weight:500;
    transition:color .25s var(--ease);
    position:relative;
  }
  .navlinks a:hover{ color:var(--ink); }
  .nav-cta{
    padding:10px 20px; border:1px solid var(--orange); border-radius:100px;
    font-size:14px; font-weight:600; color:var(--orange);
    transition:all .25s var(--ease);
    white-space:nowrap;
  }
  .nav-cta:hover{ background:var(--orange); color:#0D0D0D; }
  .navtoggle{ display:none; background:none; border:none; color:var(--ink); font-size:26px; cursor:pointer; }

  @media (max-width:900px){
    .navlinks{
      position:fixed; top:76px; left:0; right:0; bottom:0;
      background:var(--bg); flex-direction:column; justify-content:flex-start;
      padding:40px 32px; gap:26px; transform:translateX(100%);
      transition:transform .35s var(--ease); border-top:1px solid var(--line);
    }
    .navlinks.open{ transform:translateX(0); }
    .navlinks a{ font-size:20px; }
    .navtoggle{ display:block; }
    .nav-cta{ margin-top:4px; align-self:flex-start; }
  }

  /* ---------- Hero ---------- */
  .hero{
    position:relative;
    padding:168px 0 100px;
    overflow:hidden;
    isolation:isolate;
  }
  .hero .glow-orange{ width:520px; height:520px; top:-160px; left:-160px; }
  .hero .glow-blue{ width:380px; height:380px; bottom:-120px; right:-80px; animation-delay:-8s; }

  .hero-grid{
    position:relative; z-index:2;
    display:grid; grid-template-columns:1.15fr 0.85fr; gap:60px; align-items:center;
  }
  .eyebrow{
    font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
    color:var(--orange); font-weight:600; margin-bottom:22px;
    display:flex; align-items:center; gap:10px;
  }
  .eyebrow::before{ content:''; width:22px; height:1px; background:var(--orange); }

  h1{
    font-size:clamp(40px, 5.4vw, 66px);
    font-weight:800; letter-spacing:-0.02em; line-height:1.05;
    max-width:16ch;
  }
  h1 em{
    font-style:normal; color:var(--orange);
  }
  .hero-sub{
    font-family:var(--serif); font-style:italic; font-size:19px;
    color:var(--ink-dim); max-width:44ch; margin:26px 0 38px; line-height:1.6;
  }
  .hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; }
  .btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:15px 26px; border-radius:100px; font-weight:600; font-size:15px;
    transition:all .25s var(--ease);
    cursor:pointer; border:1px solid transparent;
  }
  .btn-primary{ background:var(--orange); color:#0D0D0D; }
  .btn-primary:hover{ background:#ff7d34; transform:translateY(-2px); }
  .btn-outline{ border-color:var(--line); color:var(--ink); }
  .btn-outline:hover{ border-color:var(--ink-dim); background:rgba(245,245,240,0.05); }

  .hero-photo{
    position:relative; z-index:2;
    border-radius:20px;
    overflow:hidden;
    aspect-ratio:4/5;
  }
  .hero-photo img{
    width:100%; height:100%; object-fit:cover; object-position:50% 12%;
    -webkit-mask-image:linear-gradient(to bottom, black 68%, transparent 100%);
    mask-image:linear-gradient(to bottom, black 68%, transparent 100%);
  }
  .hero-photo::after{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(180deg, rgba(13,13,13,0) 0%, rgba(13,13,13,0.15) 60%, var(--bg) 100%);
  }
  .hero-photo-cap{
    position:absolute; bottom:18px; left:18px; z-index:3;
    font-size:12.5px; color:var(--ink-faint); letter-spacing:0.04em;
  }

  @media (max-width:900px){
    .hero{ padding:130px 0 70px; }
    .hero-grid{ grid-template-columns:1fr; gap:44px; }
    .hero-photo{ order:-1; max-width:340px; margin:0 auto; aspect-ratio:1/1; }
    h1{ max-width:none; }
  }

  /* ---------- Section scaffolding ---------- */
  section{ position:relative; padding:110px 0; }
  @media (max-width:680px){ section{ padding:74px 0; } }

  .section-head{ max-width:640px; margin-bottom:56px; }
  .kicker{
    font-size:13px; letter-spacing:0.16em; text-transform:uppercase;
    color:var(--orange); font-weight:600; margin-bottom:16px;
  }
  h2{
    font-size:clamp(28px, 3.6vw, 42px); font-weight:800; letter-spacing:-0.015em; line-height:1.12;
  }
  .section-lede{
    font-family:var(--serif); font-style:italic; color:var(--ink-dim); font-size:18px;
    margin-top:18px; line-height:1.6;
  }

  hr.rule{ border:none; border-top:1px solid var(--line); }

  /* ---------- Sobre mi ---------- */
  .about{ background:var(--bg-alt); }
  .about-grid{
    display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; align-items:start;
  }
  .about-photo{
    border-radius:18px; overflow:hidden; position:sticky; top:110px;
  }
  .quote-block{
    font-family:var(--serif); font-style:italic; font-size:24px; line-height:1.5;
    color:var(--ink); border-left:2px solid var(--orange); padding-left:24px;
    margin-bottom:34px;
  }
  .about-body p{ color:var(--ink-dim); font-size:16.5px; line-height:1.75; margin-bottom:18px; max-width:58ch; }
  .about-body strong{ color:var(--ink); font-weight:600; }

  .chip-row{ display:flex; flex-wrap:wrap; gap:10px; margin-top:32px; }
  .chip{
    font-size:13px; padding:9px 16px; border-radius:100px;
    border:1px solid var(--line); color:var(--ink-dim);
    background:rgba(245,245,240,0.03);
  }

  @media (max-width:860px){
    .about-grid{ grid-template-columns:1fr; gap:36px; }
    .about-photo{ position:static; max-width:320px; }
  }

  /* ---------- Foco / especialidades ---------- */
  .foco-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
    background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden;
  }
  .foco-card{
    background:var(--bg); padding:34px 26px; min-height:230px;
    display:flex; flex-direction:column; justify-content:space-between;
    transition:background .3s var(--ease);
  }
  .foco-card:hover{ background:var(--bg-card); }
  .foco-num{ font-size:13px; color:var(--orange); font-weight:700; letter-spacing:0.06em; }
  .foco-title{ font-size:19px; font-weight:700; margin:20px 0 10px; line-height:1.25; }
  .foco-text{ font-size:14.5px; color:var(--ink-dim); line-height:1.6; }

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

  /* ---------- Contenido ---------- */
  .channels{ background:var(--bg-alt); }
  .channel-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .channel-card{
    background:var(--bg-card); border:1px solid var(--line); border-radius:18px;
    padding:32px; display:flex; flex-direction:column; gap:18px;
    transition:transform .3s var(--ease), border-color .3s var(--ease);
  }
  .channel-card:hover{ transform:translateY(-4px); border-color:rgba(255,107,26,0.4); }
  .channel-icon{
    width:44px; height:44px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    background:var(--orange-dim); color:var(--orange);
  }
  .channel-icon svg{ width:22px; height:22px; }
  .channel-card h3{ font-size:19px; font-weight:700; }
  .channel-freq{ font-size:12.5px; color:var(--orange); font-weight:600; letter-spacing:0.04em; text-transform:uppercase; }
  .channel-card p{ font-size:14.5px; color:var(--ink-dim); line-height:1.65; flex-grow:1; }
  .channel-link{ font-size:14px; font-weight:600; color:var(--ink); display:flex; align-items:center; gap:6px; margin-top:6px; }
  .channel-link svg{ width:14px; height:14px; transition:transform .25s var(--ease); }
  .channel-card:hover .channel-link svg{ transform:translate(3px,-3px); }

  .pull-quote{
    margin-top:64px; padding:44px; border-radius:18px;
    background:linear-gradient(135deg, rgba(255,107,26,0.08), rgba(74,144,217,0.05));
    border:1px solid var(--line);
    display:grid; grid-template-columns:auto 1fr; gap:24px; align-items:center;
  }
  .pull-quote .mark{ font-family:var(--serif); font-size:64px; color:var(--orange); line-height:1; }
  .pull-quote p{ font-family:var(--serif); font-style:italic; font-size:21px; line-height:1.5; }
  .pull-quote cite{ display:block; font-style:normal; font-family:var(--sans); font-size:13px; color:var(--ink-faint); margin-top:14px; }

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

  /* ---------- Real embeds carousel ---------- */
  .post-icon{ width:26px; height:26px; border-radius:7px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .post-icon svg{ width:14px; height:14px; }
  .post-icon.li{ background:var(--blue-dim); color:var(--blue); }
  .post-icon.ig{ background:var(--orange-dim); color:var(--orange); }
  .embed-carousel{
    margin-top:64px; position:relative;
    border:1px solid var(--line); border-radius:20px;
    background:var(--bg-card); overflow:hidden;
  }
  .embed-track{
    display:flex; transition:transform .55s var(--ease);
  }
  .embed-slide{
    flex:0 0 100%; display:flex; flex-direction:column; align-items:center;
    padding:32px 20px 40px; min-height:660px;
  }
  .embed-slide-head{
    display:flex; align-items:center; gap:10px; margin-bottom:20px;
    font-size:14px; font-weight:600; color:var(--ink-dim); align-self:center;
  }
  .embed-frame{
    width:100%; display:flex; justify-content:center; align-items:flex-start;
    border-radius:12px; overflow:hidden;
  }
  .embed-frame-li{ max-width:504px; max-height:420px; overflow:hidden; background:#fff; border-radius:12px; position:relative; }
  .embed-frame-li iframe{ width:100%; border:none; display:block; pointer-events:none; }
  .embed-frame-ig{ max-width:540px; max-height:420px; overflow:hidden; position:relative; }
  .embed-frame-ig iframe{ pointer-events:none; }
  .embed-frame-yt{ max-width:640px; aspect-ratio:16/9; }
  .embed-frame-yt iframe{ width:100%; height:100%; border:none; }
  .embed-fade{
    position:absolute; left:0; right:0; bottom:0; height:110px;
    background:linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.94) 70%);
    display:flex; align-items:flex-end; justify-content:center; padding-bottom:16px;
  }
  .embed-fade a{
    background:#0D0D0D; color:#F5F5F0; font-size:13px; font-weight:600;
    padding:10px 18px; border-radius:100px; display:inline-flex; align-items:center; gap:6px;
    transition:background .2s var(--ease);
  }
  .embed-fade a:hover{ background:var(--orange); color:#0D0D0D; }

  .embed-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:40px; height:40px; border-radius:50%; border:1px solid var(--line);
    background:rgba(13,13,13,0.7); backdrop-filter:blur(6px); color:var(--ink);
    font-size:20px; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:all .25s var(--ease); z-index:5;
  }
  .embed-nav:hover{ border-color:var(--orange); color:var(--orange); }
  .embed-nav.prev{ left:14px; }
  .embed-nav.next{ right:14px; }

  .embed-dots{ position:absolute; bottom:14px; left:0; right:0; display:flex; justify-content:center; gap:8px; z-index:5; }
  .embed-dot{
    width:8px; height:8px; border-radius:50%; border:none; background:var(--line);
    cursor:pointer; transition:all .25s var(--ease); padding:0;
  }
  .embed-dot.active{ background:var(--orange); width:22px; border-radius:4px; }

  @media (max-width:640px){
    .embed-slide{ padding:24px 14px 44px; min-height:auto; }
    .embed-frame-li{ max-height:340px; }
    .embed-frame-ig{ max-height:340px; }
  }

  /* ---------- Prueba social ---------- */
  .proof-photo{
    border-radius:18px; overflow:hidden; margin-bottom:48px; position:relative;
  }
  .proof-photo .cap{
    position:absolute; bottom:0; left:0; right:0;
    background:linear-gradient(0deg, rgba(13,13,13,0.92), transparent);
    padding:36px 28px 20px;
  }
  .proof-photo .cap .event{ font-weight:700; font-size:17px; }
  .proof-photo .cap .meta{ font-size:13.5px; color:var(--ink-dim); margin-top:4px; }

  .proof-cols{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
  .roles-list{ display:flex; flex-direction:column; gap:0; }
  .role-item{
    display:flex; gap:18px; padding:20px 0; border-top:1px solid var(--line);
  }
  .role-item:last-child{ border-bottom:1px solid var(--line); }
  .role-year{ font-size:13px; color:var(--orange); font-weight:700; min-width:64px; }
  .role-title{ font-size:15.5px; font-weight:600; }
  .role-sub{ font-size:13.5px; color:var(--ink-dim); margin-top:3px; }

  .credencial-img{
    border-radius:14px; overflow:hidden;
    max-width:260px; margin-left:auto;
    box-shadow:0 20px 50px rgba(0,0,0,0.4);
  }
  @media (max-width:860px){ .credencial-img{ max-width:200px; margin:0 auto; } }

  /* ---------- Testimonials (real IG comment screenshots) ---------- */
  .testimonials{ margin-top:80px; }
  .testimonials-head{ margin-bottom:28px; }
  .testimonials-head h3{ font-size:24px; font-weight:800; letter-spacing:-0.01em; margin-top:8px; }
  .t-carousel{
    position:relative; overflow:hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 4%, black 96%, transparent);
  }
  .t-track{
    display:flex; align-items:center; gap:18px; width:max-content;
    animation: t-marquee 46s linear infinite;
  }
  @media (hover:hover) and (pointer:fine){
    .t-carousel:hover .t-track{ animation-play-state:paused; }
  }
  @keyframes t-marquee{
    from{ transform:translateX(0); }
    to{ transform:translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce){
    .t-track{ animation:none; overflow-x:auto; }
  }
  .t-shot{
    flex:0 0 auto; width:340px; height:auto; max-width:80vw;
    border-radius:12px; border:1px solid var(--line);
    display:block;
  }
  .t-fade{
    position:absolute; top:0; bottom:0; width:60px; z-index:3; pointer-events:none;
  }
  .t-fade.left{ left:0; background:linear-gradient(90deg, var(--bg) 0%, transparent 100%); }
  .t-fade.right{ right:0; background:linear-gradient(270deg, var(--bg) 0%, transparent 100%); }
  @media (max-width:640px){
    .t-shot{ width:270px; }
  }

  @media (max-width:860px){
    .proof-cols{ grid-template-columns:1fr; }
  }

  /* ---------- FAQ ---------- */
  .faq-list{ max-width:820px; }
  .faq-item{ border-top:1px solid var(--line); }
  .faq-item:last-child{ border-bottom:1px solid var(--line); }
  .faq-q{
    width:100%; text-align:left; background:none; border:none; color:var(--ink);
    font-family:var(--sans); font-size:17px; font-weight:600;
    padding:26px 0; display:flex; justify-content:space-between; align-items:center;
    gap:20px; cursor:pointer;
  }
  .faq-q .plus{
    font-size:20px; color:var(--orange); transition:transform .3s var(--ease); flex-shrink:0;
  }
  .faq-item.open .plus{ transform:rotate(45deg); }
  .faq-a{
    max-height:0; overflow:hidden; transition:max-height .35s var(--ease);
  }
  .faq-a p{ padding-bottom:26px; color:var(--ink-dim); font-size:15.5px; line-height:1.7; max-width:70ch; }

  /* ---------- Contacto ---------- */
  .contact{ background:var(--bg-alt); position:relative; overflow:hidden; }
  .contact .glow-orange{ width:460px; height:460px; top:-140px; right:-140px; }
  .contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; position:relative; z-index:2; }
  .contact-card{
    background:var(--bg-card); border:1px solid var(--line); border-radius:20px;
    padding:34px; display:flex; flex-direction:column; gap:14px;
  }
  .contact-card h3{ font-size:19px; font-weight:700; line-height:1.25; }
  .contact-card p{ font-size:14px; color:var(--ink-dim); line-height:1.65; flex-grow:1; }
  .contact-num{ font-size:13px; color:var(--orange); font-weight:700; letter-spacing:0.06em; }
  .contact-links{ display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
  .contact-inline-link{
    font-size:13.5px; font-weight:600; color:var(--ink-faint);
    text-decoration:underline; text-underline-offset:3px;
    transition:color .2s var(--ease);
  }
  .contact-inline-link:hover{ color:var(--orange); }
  .contact-grid-3{ grid-template-columns:repeat(3,1fr); }

  @media (max-width:760px){ .contact-grid{ grid-template-columns:1fr; } }
  @media (max-width:1000px){ .contact-grid-3{ grid-template-columns:1fr; } }

  /* ---------- Footer ---------- */
  footer{ padding:48px 0; border-top:1px solid var(--line); }
  .foot-row{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px; }
  .foot-brand{ font-size:14px; color:var(--ink-faint); }
  .social-row{ display:flex; gap:16px; }
  .social-row a{
    width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
    display:flex; align-items:center; justify-content:center;
    color:var(--ink-dim); transition:all .25s var(--ease);
  }
  .social-row a:hover{ border-color:var(--orange); color:var(--orange); }
  .social-row svg{ width:16px; height:16px; }

  /* ---------- Reveal on scroll ---------- */
  .reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
  .reveal.in{ opacity:1; transform:translateY(0); }

  /* ---------- Keyboard focus ---------- */
  a:focus-visible, button:focus-visible{
    outline:2px solid var(--orange); outline-offset:3px; border-radius:6px;
  }
  .embed-dot:focus-visible{ outline-offset:2px; }
