@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Instrument+Serif:ital@0;1&display=swap');
:root{--blue:#064b91;--deep:#092b4d;--ink:#122a41;--muted:#5d6973;--paper:#f7f6f2;--pale:#edf3fa;--line:#d9e1e8;--gold:#e6bc70;--serif:'Instrument Serif',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid #e1a644;outline-offset:5px}img{max-width:100%;display:block}button{color:inherit}h1,h2,h3,p{margin:0}h1,h2{font-weight:400;line-height:1.04;letter-spacing:-.035em}h2{font-size:clamp(42px,4.4vw,68px);font-family:var(--serif)}h2 em{color:var(--blue);font-weight:400}p{text-wrap:pretty}h3{line-height:1.25}section{scroll-margin-top:20px}.header{height:84px;padding:0 4.5%;display:flex;align-items:center;justify-content:space-between;background:var(--paper);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.wordmark{font-size:26px;letter-spacing:-2px;font-weight:700}.wordmark span{color:var(--blue);margin-left:3px}nav{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:550}nav a:hover,.text-link:hover{color:var(--blue)}nav .nav-cv{border:1px solid #c5ced5;border-radius:30px;padding:10px 17px;display:flex;gap:23px}.menu-toggle{display:none}.hero{display:grid;grid-template-columns:43% 57%;min-height:680px}.hero-photo{position:relative;min-height:100%;overflow:hidden}.hero-photo>img{height:100%;width:100%;object-fit:cover;object-position:37% center;position:absolute}.hero-photo:after{content:'';position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#071f39aa)}.photo-caption{position:absolute;bottom:32px;left:36px;right:20px;z-index:1;color:white;display:grid;gap:5px;font-size:12px;letter-spacing:.12em}.photo-caption span:last-child{font-size:10px;opacity:.8}.hero-copy{padding:51px 10% 25px 9%}.eyebrow{font-size:10px;letter-spacing:.15em;font-weight:650;line-height:1.5}.dot{height:7px;width:7px;background:var(--blue);display:inline-block;border-radius:50%;margin-right:10px;box-shadow:0 0 0 5px #e2eaf1}.hero h1{font:400 clamp(53px,5.3vw,82px)/.96 var(--serif);letter-spacing:-.04em;margin:25px 0 20px}.surname{display:block;font-size:.42em;letter-spacing:-.015em;line-height:1.3;margin-top:8px}.hero-role{font:400 clamp(25px,2.6vw,40px)/1.12 var(--serif);letter-spacing:-.02em}.hero-role em{color:var(--blue)}.hero-intro{color:var(--muted);font-size:14px;max-width:420px;margin:22px 0 26px;line-height:1.75}.actions{display:flex;align-items:center;gap:25px}.button{display:inline-flex;align-items:center;gap:32px;padding:13px 21px;border-radius:28px;font-size:12px;font-weight:600}.primary{background:var(--blue);color:white;transition:background .2s}.primary:hover{background:var(--deep)}.text-link{font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:22px}.hero-note{border-top:1px solid var(--line);margin-top:34px;padding-top:17px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted)}.hero-note span:first-child{font-size:8px;letter-spacing:.1em}.sector-strip{background:var(--deep);color:white;padding:21px 6%;display:flex;gap:50px;align-items:center}.sector-strip>span{color:#a1bed9;font-size:8px;letter-spacing:.14em;white-space:nowrap}.sector-strip p{font-size:13px}.sector-strip i{font-style:normal;color:#688baa;margin:0 14px}.section{padding:98px 7%;max-width:1600px;margin:auto}.profile{display:grid;grid-template-columns:25% 75%;gap:0}.section-label>span{font-size:10px;letter-spacing:.13em;font-weight:600}.profile-body h2{margin-bottom:30px}.profile-text{display:grid;grid-template-columns:1fr 1fr;gap:35px;color:var(--muted);font-size:14px}.stats{display:grid;grid-template-columns:1fr 1fr 1.45fr;margin-top:40px;padding-top:26px;border-top:1px solid var(--line);gap:20px}.stats strong{font:400 30px/1.15 var(--serif);letter-spacing:-.03em;display:block}.stats span{display:block;font-size:13px;color:var(--muted);margin-top:7px}.source-note{font-size:10px;color:var(--muted);margin-top:20px}.skills-section{background:var(--pale);max-width:none}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:38px}.section-heading .eyebrow{margin-bottom:22px}.section-heading>p{max-width:280px;font-size:13px;color:var(--muted)}.skills-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.skill{border-radius:10px;background:white;border:1px solid #e4eaf2;padding:25px 28px 20px;box-shadow:0 6px 20px #13345504;transition:transform .2s,box-shadow .2s}.skill:hover{background:#dce9f8;transform:translateY(-4px);box-shadow:0 10px 24px #13345510}.skill-number{display:flex;justify-content:space-between;font-size:11px;color:var(--blue);margin-bottom:33px}.skill-number span{font-size:19px}.skill h3{font-size:23px;letter-spacing:-.035em;color:var(--blue);font-weight:600;min-height:58px}.skill p{font-size:12px;line-height:1.8;color:var(--muted);margin:18px 0 25px;min-height:65px}.skill-tag{font-size:10px;letter-spacing:.1em;border-top:1px solid #e3e9ef;padding-top:15px;display:block;color:var(--deep)}.portfolio-intro{max-width:550px;font-size:14px;color:var(--muted)}.filters{display:flex;gap:8px;margin:32px 0;flex-wrap:wrap}.filters button{font-size:11px;border:1px solid #cdd7df;border-radius:25px;background:none;padding:8px 17px}.filters button span{font-size:8px;margin-left:6px}.filters button.active{background:var(--deep);border-color:var(--deep);color:white}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:38px 24px}.project[hidden]{display:none}.project-open{border:0;background:none;text-align:left;padding:0;width:100%}.project-image{height:300px;position:relative;overflow:hidden;border-radius:5px}.project-arrow{position:absolute;right:14px;bottom:14px;border-radius:50%;background:white;width:33px;height:33px;display:grid;place-items:center;color:var(--deep);transition:transform .2s}.project-open:hover .project-arrow{transform:rotate(45deg)}.cover-image{display:flex;justify-content:center;align-items:center;padding:24px}.cover-image img{height:100%;width:auto;box-shadow:7px 10px 20px #142b4130;transition:transform .25s}.project-open:hover .cover-image img{transform:rotate(-2deg) scale(1.025)}.renault{background:#e6e4dc}.mercedes{background:#d9e6ed}.interview{background:#142e48;display:flex;align-items:center;padding:25px}.interview img{width:100%;box-shadow:0 10px 20px #0003;border-radius:6px}.play-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:white;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;font-size:15px;color:var(--blue);padding-left:3px}.project-meta{display:flex;justify-content:space-between;font-size:7px;letter-spacing:.06em;margin:17px 0 10px;color:var(--muted);gap:8px}.project h3{font-size:18px;font-weight:550;letter-spacing:-.025em;margin-bottom:7px}.project p{font-size:11px;color:var(--muted)}.graphic{padding:25px;color:white;display:flex;flex-direction:column;justify-content:space-between}.graphic-small{font-size:7px;letter-spacing:.12em}.graphic-title{font:400 43px/1.05 var(--serif);letter-spacing:-.03em;display:block}.graphic-bottom{font-size:7px;letter-spacing:.07em;max-width:80%}.brand-graphic{background:#07539b}.truck-graphic{background:#dee4b8;color:var(--deep)}.truck-word{font-size:49px;font-weight:700;font-style:italic;letter-spacing:-4px}.truck-word>span{display:inline-block;font-style:normal;font-size:44px;padding-left:7px}.event-graphic{background:#103349}.event-symbol{color:var(--gold);font:normal 70px/1 var(--sans);display:block;text-align:right;position:absolute;right:22px;top:148px}.experience{border-top:1px solid var(--line);display:grid;grid-template-columns:40% 60%;gap:0}.experience h2{margin:25px 0 28px;font-size:54px}.experience .section-label{padding-right:30px}.job{border-top:1px solid var(--line);padding:29px 0 34px}.job:first-child{border-top:2px solid var(--blue)}.job-date{font-size:10.35px;letter-spacing:.09em;color:var(--blue);margin-bottom:13px}.job h3{font-size:27.6px;font-weight:550;letter-spacing:-.025em;margin-bottom:7px}.job-role{font-weight:550;font-size:14.95px}.job-media{font-size:12.65px;color:var(--muted);margin:7px 0 20px}.job>p:last-child,.job>p:nth-last-child(2):not(.job-role){font-size:14.95px;color:var(--muted);margin-top:13px}.job ul{padding-left:17px;font-size:13.8px;color:var(--muted);margin:15px 0 0}.job li{padding-left:5px;margin-bottom:9px}.brands{padding-top:57px;padding-bottom:57px;background:#e9eef2;max-width:none}.brands h2{font-family:var(--sans);font-size:24px;letter-spacing:-.03em;margin:18px 0 10px;font-weight:550}.brands-context{color:var(--muted);font-size:12px}.brand-list{display:flex;flex-wrap:wrap;gap:17px 32px;margin-top:27px;align-items:center}.brand-list span{font-size:16px;font-weight:600;letter-spacing:-.03em;color:#36516b}.education{display:grid;grid-template-columns:1fr 1fr;gap:10%}.education .eyebrow{margin-bottom:24px}.education h2{font-size:55px}.education-intro{color:var(--muted);font-size:13px;margin:25px 0}.education img{width:100%;height:220px;object-fit:cover;object-position:center 40%;border-radius:4px}.course{display:grid;grid-template-columns:65px 1fr;gap:15px;border-top:1px solid var(--line);padding:20px 0}.course>span{font-size:10px;color:var(--blue);padding-top:3px}.course h3{font-size:16px;font-weight:550;letter-spacing:-.02em}.course p{font-size:11px;color:var(--muted);margin-top:5px}.languages{border-top:1px solid var(--line);padding-top:22px}.languages .eyebrow{margin-bottom:12px}.languages>p:not(.eyebrow){display:flex;justify-content:space-between;font-size:12px;margin-bottom:8px}.languages strong{font-weight:550}.languages span{color:var(--muted)}.additional{font-size:10px;color:var(--muted);margin-top:18px}.contact{background:var(--blue);color:white;display:grid;grid-template-columns:70% 30%;margin:0}.contact>div{padding:65px 10%}.contact .eyebrow{color:#b2cce5;margin-bottom:25px}.contact h2{font-size:clamp(40px,4.1vw,65px)}.contact h2 em{color:#d3e5f5}.contact>div>p:not(.eyebrow){font-size:12px;color:#d4e0ed;max-width:390px;margin:24px 0}.contact-email{font-size:clamp(16px,2vw,28px);letter-spacing:-.025em;display:flex;justify-content:space-between;border-bottom:1px solid #ffffff50;padding-bottom:17px;gap:15px}.contact-links{display:flex;flex-wrap:wrap;gap:22px;margin-top:22px;font-size:11px}.contact-links a{display:flex;gap:20px}.contact-links a:hover,.contact-email:hover{color:#ffdc9e}.contact>img{height:100%;width:100%;object-fit:cover;object-position:31% center}footer{display:flex;align-items:center;justify-content:space-between;padding:30px 7%;font-size:10px;gap:20px}footer p span{color:var(--muted);margin-left:20px}dialog{border:0;border-radius:12px;padding:32px;max-width:680px;width:calc(100% - 32px);max-height:90vh;color:var(--ink);background:var(--paper);box-shadow:0 20px 100px #001c3b44}dialog::backdrop{background:#071e38b8;backdrop-filter:blur(5px)}.dialog-close{display:flex;gap:30px;background:none;border:0;padding:0;margin-left:auto;align-items:center;font-size:11px}.dialog-close span{font-size:25px}dialog .eyebrow{color:var(--blue);margin:20px 0 15px}dialog h2{font-size:46px;margin-bottom:22px}dialog h3{font-size:11px;color:var(--blue);text-transform:uppercase;letter-spacing:.09em;margin:22px 0 7px}dialog p{font-size:14px;color:var(--muted)}.dialog-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.dialog-links a{background:var(--blue);color:white;padding:11px 17px;font-size:11px;border-radius:25px}.skip{position:fixed;top:-100px;left:10px;z-index:100;background:white;padding:15px}.skip:focus{top:10px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}body.dialog-open{overflow:hidden}
@media(min-width:1500px){.hero{min-height:780px}.hero-copy{padding-top:65px}.hero h1{font-size:88px}.hero-intro{font-size:16px}.hero-role{font-size:42px}.hero-note{margin-top:44px}.project-image{height:350px}}
@media(max-width:1050px){nav{gap:17px;font-size:11px}.hero{min-height:650px}.hero-copy{padding:43px 7% 25px}.hero h1{font-size:60px}.hero-role{font-size:30px}.hero-note{display:grid}.section{padding:75px 6%}.skill{padding:22px}.skill h3{font-size:21px}.project-image{height:250px}.graphic-title{font-size:35px}.truck-word{font-size:37px}.event-symbol{font-size:50px;top:130px}.contact>div{padding:55px 8%}.sector-strip{gap:25px}.sector-strip i{margin:0 6px}}
@media(max-width:760px){html{scroll-padding-top:78px}.header{height:68px;padding:0 6%}.menu-toggle{display:flex;align-items:center;gap:30px;border:0;background:none;font-size:12px}.menu-toggle span{font-size:21px}nav{display:none;position:absolute;left:0;right:0;top:68px;background:var(--paper);padding:20px 6% 30px;border-bottom:1px solid var(--line);box-shadow:0 16px 20px #001c3b10;flex-direction:column;align-items:stretch;gap:0;font-size:15px}nav.open{display:flex}nav a{padding:11px 0}nav .nav-cv{margin-top:14px;justify-content:space-between}.hero{grid-template-columns:1fr;min-height:0}.hero-photo{min-height:390px;order:1}.hero-photo>img{object-position:center 42%}.photo-caption{bottom:22px;left:6%}.hero-copy{padding:37px 6% 30px;order:0}.hero h1{font-size:68px;margin-top:25px}.hero h1 br{display:none}.surname{display:inline;font-size:1em;line-height:.96;margin:0 0 0 .15em}.hero-role{font-size:33px;margin-top:22px}.hero-intro{font-size:14px;max-width:430px}.hero-note{display:flex;justify-content:space-between;margin-top:30px;font-size:8px}.hero-note span:first-child{font-size:7px}.sector-strip{padding:20px 6%;display:block}.sector-strip>span{display:block;margin-bottom:9px}.sector-strip p{font-size:11px;line-height:2}.sector-strip i{margin:0 6px}.section{padding:62px 6%}.profile{grid-template-columns:1fr;gap:25px}h2{font-size:46px}.profile-text{grid-template-columns:1fr;gap:16px;font-size:13px}.stats{grid-template-columns:1fr 1fr;gap:25px}.stats>div:last-child{grid-column:1/-1}.stats strong{font-size:30px}.stats>div:last-child strong{font-size:30px}.section-heading{display:block;margin-bottom:28px}.section-heading>p{margin-top:22px}.section-heading>.text-link{margin-top:25px}.skills-grid{grid-template-columns:1fr 1fr;gap:12px}.skill{padding:20px 18px}.skill h3{font-size:20px;min-height:50px}.skill p{font-size:11px;min-height:100px}.skill-number{margin-bottom:23px}.skill-tag{font-size:8px;letter-spacing:.06em}.projects{grid-template-columns:1fr 1fr;gap:28px 15px}.project-image{height:255px}.cover-image{padding:20px}.interview{padding:14px}.play-icon{height:36px;width:36px;font-size:12px}.project-meta{font-size:6px;display:block;line-height:1.8}.project-meta span:last-child{display:none}.project h3{font-size:17px}.project p{font-size:10px}.graphic{padding:18px}.graphic-title{font-size:31px}.graphic-small{font-size:6px}.graphic-bottom{font-size:5px}.truck-word{font-size:32px;letter-spacing:-2px}.truck-word>span{font-size:25px}.event-symbol{font-size:45px;top:146px;right:15px}.project-arrow{width:28px;height:28px;right:10px;bottom:10px}.experience{grid-template-columns:1fr;gap:30px}.experience h2{font-size:46px}.job h3{font-size:26.45px}.brands h2{font-size:25px}.brand-list{gap:16px 23px}.brand-list span{font-size:14px}.education{grid-template-columns:1fr;gap:35px}.education h2{font-size:46px}.education img{height:250px}.contact{grid-template-columns:1fr}.contact>div{padding:54px 6%}.contact h2{font-size:43px}.contact-email{font-size:20px}.contact>img{height:260px;object-position:center 42%}.contact-links{font-size:10px;gap:18px}.contact-links a{gap:12px}footer{padding:25px 6%;flex-wrap:wrap}footer p{order:2;width:100%}dialog{padding:24px}dialog h2{font-size:38px}}
@media(max-width:380px){.hero h1{font-size:57px}.hero-role{font-size:29px}.projects{grid-template-columns:1fr}.project-image{height:300px}.graphic-title{font-size:45px}.project-meta{display:flex;font-size:7px}.project-meta span:last-child{display:block}.project h3{font-size:20px}.project p{font-size:12px}.skill{padding:18px 13px}.skill h3{font-size:18px}.contact-email{font-size:17px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.hero-copy,.hero-photo,.project,.skill,.education>div{min-width:0}@media(max-width:760px){.hero h1{font-size:61px}.surname{margin-left:0}}
/* Revisión del CV: apellidos, marcas e imágenes del portfolio. */
.hero h1 .surname{display:block;font-size:.78em;white-space:nowrap;letter-spacing:-.03em;line-height:1.1;margin:10px 0 0}
.truck-logo{width:100%;max-width:239px;height:auto;align-self:center;box-shadow:0 8px 18px #122a4115}
.event-graphic .graphic-title{font-size:35px;position:relative;padding-bottom:60px}
.event-illustration{position:absolute;width:125px;height:88px;object-fit:contain;right:0;bottom:-10px}
.brand-list{display:grid;grid-template-columns:repeat(7,max-content);justify-content:space-between;gap:20px 15px}
.contact>img{object-position:50% 25%}
@media(max-width:1050px){.hero h1 .surname{font-size:.74em}.brand-list{grid-template-columns:repeat(4,max-content);justify-content:space-between}.event-graphic .graphic-title{font-size:29px}.event-illustration{width:100px;height:70px}}
@media(max-width:760px){.hero h1{font-size:58px}.hero h1 .surname{font-size:.77em}.brand-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 20px}.event-graphic .graphic-title{font-size:28px;padding-bottom:78px}.event-illustration{width:100px;height:75px;bottom:-9px}.contact>img{height:350px;object-position:center 22%}.truck-logo{max-width:100%}}
@media(max-width:380px){.hero h1{font-size:52px}.hero h1 .surname{font-size:.75em}.event-graphic .graphic-title{font-size:39px}.event-illustration{width:145px;height:100px}}
@media(min-width:901px) and (max-width:1050px){.brand-list{grid-template-columns:repeat(7,max-content);gap:20px 12px}.brand-list span{font-size:14px}}

.job-media a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:#8ca5bb}.job-media a:hover{color:var(--blue);text-decoration-color:currentColor}.job-publications{font-size:14.95px;color:var(--muted);margin-top:13px}.job-publications strong{font-weight:550;color:var(--ink)}
/* Contacto: lectura y enlaces más visibles. */
.contact>div>p:not(.eyebrow){font-size:20px;line-height:1.65;max-width:550px;margin:28px 0}
.contact-links{font-size:20px;gap:18px 28px;margin-top:24px}
.contact-links a{min-height:44px;align-items:center;gap:16px;font-weight:550}
@media(max-width:760px){.contact>div>p:not(.eyebrow){font-size:18px}.contact-links{font-size:18px;gap:12px 24px}}
/* Portadas de cada etapa profesional. */
.experience{column-gap:0;row-gap:0}.experience>.section-label{grid-column:1;grid-row:1;padding-bottom:24px}
.experience .timeline,.experience .job{display:contents}
.job-copy{grid-column:2;border-top:1px solid var(--line);padding:29px 0 34px;min-width:0}
.job.featured .job-copy{grid-row:1 / span 2;border-top:2px solid var(--blue)}
.job-copy>p:not(.job-date):not(.job-role):not(.job-media){font-size:14.95px;color:var(--muted);margin-top:13px}
.job-covers{grid-column:1;margin:0 42px 0 0;padding:34px 0;align-self:start;min-width:0}
.job.featured .job-covers{grid-row:2;padding-top:0}
.cover-layout{background:#e9eef2;border:1px solid #e1e6eb;border-radius:5px;padding:22px 14px;display:flex;justify-content:center;align-items:center;gap:7px;min-height:142px}
.cover-layout img{height:115px;width:auto;min-width:0;max-width:100%;object-fit:contain;filter:drop-shadow(2px 4px 3px #0c2b4626)}
.covers-difundalia .cover-layout img{width:calc((100% - 28px)/5);height:auto;max-height:135px}
.single .cover-layout{background:transparent;border:0;justify-content:flex-end;padding:0 12px;min-height:130px}.single .cover-layout img{height:130px;max-width:160px}
.covers-tpi .cover-layout{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px 12px;padding:20px}
.covers-tpi .cover-layout img{width:100%;height:100px;object-fit:contain}
.job-covers figcaption{font-size:9.2px;color:var(--muted);letter-spacing:.03em;margin-top:11px;text-align:right;line-height:1.5}
@media(max-width:1050px){.job-covers{margin-right:28px}.cover-layout{padding:17px 10px;gap:5px}.covers-difundalia .cover-layout img{width:calc((100% - 20px)/5)}.covers-tpi .cover-layout{padding:16px 12px;gap:12px 8px}.covers-tpi .cover-layout img{height:85px}}
@media(max-width:760px){.experience .timeline{display:block}.experience .job{display:flex;flex-direction:column;border-top:0;padding:0}.experience .section-label{padding-bottom:0}.experience .job-copy{order:0;padding:26px 0 15px}.job.featured .job-copy{border-top:2px solid var(--blue)}.job-covers,.job.featured .job-covers{order:1;margin:0 0 27px;padding:8px 0 0;width:100%}.cover-layout{justify-content:flex-start;max-width:390px;min-height:0;padding:18px}.covers-difundalia .cover-layout img{max-height:135px;width:calc((100% - 20px)/5)}.single .cover-layout{justify-content:flex-start;min-height:0;padding:0}.single .cover-layout img{height:120px}.job-covers figcaption{text-align:left}.covers-tpi .cover-layout{grid-template-columns:repeat(3,minmax(0,1fr));max-width:350px}.covers-tpi .cover-layout img{height:105px}}
/* Portfolio: tarjetas destacadas y secuencia de fotogramas reales. */
.project{position:relative}.project-image{transition:transform .25s ease,box-shadow .25s ease,outline-color .25s;outline:1px solid transparent;outline-offset:3px}
.project h3{transition:color .25s}.project-open:focus-visible .project-image{transform:translateY(-5px) scale(1.035);box-shadow:0 14px 30px #092b4d30;outline-color:#5487b1}
.project:focus-within{z-index:2}.project-open:focus-visible h3{color:var(--blue)}
@media(hover:hover) and (pointer:fine){.project:hover{z-index:2}.project-open:hover .project-image{transform:translateY(-5px) scale(1.035);box-shadow:0 14px 30px #092b4d30;outline-color:#5487b1}.project-open:hover h3{color:var(--blue)}}
.video-preview{position:relative;width:100%;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:#102d46;box-shadow:0 10px 20px #0003}
.interview .video-preview img{width:100%;height:100%;object-fit:cover;box-shadow:none;border-radius:0}
.preview-poster{position:relative;transition:opacity .15s}.preview-frame{position:absolute;inset:0;opacity:0;transition:opacity .18s ease}
.interview .preview-frame{object-fit:cover}.preview-frame.is-current{opacity:1}.interview.is-previewing .preview-poster{opacity:0}.interview.is-previewing .play-icon{opacity:0;transform:translate(-50%,-50%) scale(.8)}.play-icon{transition:opacity .2s,transform .2s}
.preview-progress{position:absolute;left:10px;right:10px;bottom:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s}.is-previewing .preview-progress{opacity:1}.preview-progress i{height:3px;background:#ffffff55;flex:1;border-radius:3px}.preview-progress i.is-current{background:white}
@media(prefers-reduced-motion:reduce){.project-open:hover .project-image,.project-open:focus-visible .project-image{transform:none!important}}

@media(prefers-reduced-motion:reduce){.project-open:hover .project-image,.project-open:focus-visible .project-image{transform:scale(1.035)!important}.preview-frame{transition:none}}
/* Carrusel compacto de portadas de TRUCK. */
.covers-difundalia .truck-carousel{display:block;position:relative;padding:18px 37px 12px;min-height:0;max-width:100%}
.carousel-viewport{overflow:hidden;width:100%}.carousel-track{display:flex;transition:transform .45s ease;will-change:transform}
.carousel-slide{flex:0 0 100%;min-width:0;display:flex;align-items:center;justify-content:center;padding:0 7px 7px}
.covers-difundalia .carousel-slide img{height:150px;max-height:150px;max-width:100%;width:auto;object-fit:contain;flex:none}
.carousel-prev,.carousel-next{position:absolute;top:76px;border:1px solid #c6d2dd;width:27px;height:32px;padding:0;background:#f7f9fb;color:var(--blue);border-radius:4px;font-size:24px;line-height:1}.carousel-prev{left:10px}.carousel-next{right:10px}.carousel-prev:hover,.carousel-next:hover{background:white;border-color:var(--blue)}
.carousel-controls{display:flex;justify-content:center;align-items:center;gap:17px;margin-top:9px;min-height:22px}.carousel-dots{display:flex;gap:5px}.carousel-dot{height:20px;width:16px;padding:0;border:0;background:transparent;position:relative}.carousel-dot:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#a8b9c9;top:7px;left:5px}.carousel-dot[aria-pressed="true"]:after{background:var(--blue);width:7px;height:7px;top:6px;left:4px}
.carousel-toggle{border:0;background:transparent;color:var(--blue);font-size:12px;padding:1px 5px;min-width:22px;min-height:22px}.truck-carousel:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
@media(max-width:760px){.covers-difundalia .truck-carousel{max-width:350px;padding:18px 38px 12px}.covers-difundalia .carousel-slide img{height:165px;max-height:165px;width:auto}.carousel-prev,.carousel-next{top:82px}}
@media(prefers-reduced-motion:reduce){.carousel-track{transition:none}}
/* Portadas que se alternan al pasar el ratón, sin controles de carrusel. */
.covers-difundalia .cover-layout.truck-sequence{display:block;position:relative;height:190px;min-height:0;padding:0;cursor:default;overflow:hidden}
.covers-difundalia .truck-sequence .truck-sequence-frame{position:absolute;inset:18px 0;margin:auto;max-width:calc(100% - 28px);width:auto;height:154px;max-height:154px;object-fit:contain;opacity:0;transition:opacity .2s ease}
.covers-difundalia .truck-sequence .truck-sequence-frame.is-current{opacity:1}
.truck-sequence:focus-visible{outline:2px solid var(--blue);outline-offset:4px}
/* Tipos ampliados en los elementos señalados. */
.job-date{font-size:16.1px;letter-spacing:.07em}
.section-label>span,.skills-section .section-heading .eyebrow,.portfolio-section .section-heading .eyebrow,.education>div>.eyebrow,.contact>div>.eyebrow{font-size:16px;letter-spacing:.11em;font-weight:650}
.sector-strip>span{font-size:13px;letter-spacing:.035em}
.hero-note{font-size:15px;line-height:1.5;flex-wrap:wrap;gap:9px 20px}.hero-note span:first-child{font-size:14px;letter-spacing:.07em}
@media(max-width:760px){.sector-strip>span{font-size:11px}.hero-note{font-size:14px;display:grid;gap:8px}.hero-note span:first-child{font-size:13px}.section-label>span,.skills-section .section-heading .eyebrow,.portfolio-section .section-heading .eyebrow,.education>div>.eyebrow,.contact>div>.eyebrow{font-size:15px}.job-date{font-size:14.95px}}
@media(prefers-reduced-motion:reduce){.covers-difundalia .truck-sequence .truck-sequence-frame{transition:none}}
/* Montaje estático de los medios de Grupo Difundalia. */
.covers-difundalia .cover-layout.difundalia-montage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:14px 12px;padding:20px;min-height:0}
.covers-difundalia .difundalia-montage>img{width:100%;height:100px;max-height:100px;object-fit:contain}
.difundalia-montage .media-cover{min-width:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.difundalia-montage .web-cover{height:100px;background:white;border:1px solid #d8e0e7;border-radius:2px}
.covers-difundalia .difundalia-montage .web-cover img{width:194%;max-width:none;height:auto;max-height:none;flex:none;object-fit:contain;transform:translateY(-3%);filter:none}
.difundalia-montage .tv-cover{grid-column:1/-1;background:white;border:1px solid #d8e0e7;border-radius:2px;padding:5px 8px;margin-top:3px}
.covers-difundalia .difundalia-montage .tv-cover img{width:100%;height:auto;max-height:45px;object-fit:contain;filter:none}
.job.featured li strong{font-weight:700;color:var(--ink)}
@media(max-width:1050px){.covers-difundalia .cover-layout.difundalia-montage{padding:16px 12px;gap:12px 8px}.covers-difundalia .difundalia-montage>img,.difundalia-montage .web-cover{height:85px;max-height:85px}}
@media(max-width:760px){.covers-difundalia .cover-layout.difundalia-montage{max-width:350px}.covers-difundalia .difundalia-montage>img,.difundalia-montage .web-cover{height:105px;max-height:105px}}

/* Identidad JMH: monograma vectorial. */
.wordmark{display:inline-flex;align-items:center;flex-shrink:0;line-height:1}.wordmark img{display:block;width:112px;height:48px}.wordmark:hover img{opacity:.8}@media(max-width:760px){.wordmark img{width:96px;height:42px}}

/* Five unnumbered scenes, played only while hovered or focused. */
.stair-sequence{position:relative;width:100%;height:220px;overflow:hidden;border-radius:4px;background:#d4c3a3}
.stair-frame{position:absolute;inset:0;width:100%;height:100%;display:block;opacity:0;pointer-events:none}
.stair-frame.is-current{opacity:1}
.stair-sequence:focus-visible{outline:3px solid var(--blue);outline-offset:5px}
@media(max-width:760px){.stair-sequence{height:250px}}

.stair-sequence{height:auto;aspect-ratio:1.6}

/* Logotipo del usuario y ajustes de contacto. */
.keep-together{white-space:nowrap}
.skill:focus-visible,.skill.is-touch-active{outline:2px solid #5487b1;outline-offset:3px;transform:translateY(-4px);box-shadow:0 10px 24px #13345520}
.project:has(.is-touch-active){z-index:2}
.project-open.is-touch-active .project-image{transform:translateY(-5px) scale(1.035);box-shadow:0 14px 30px #092b4d30;outline-color:#5487b1}
.project-open.is-touch-active h3{color:var(--blue)}
@media(max-width:760px){
  .hero-intro,.profile-text p,.section-heading>p,.portfolio-intro,.job-copy>p:not(.job-date):not(.job-role):not(.job-media),.job-copy li,.education-intro,.contact>div>p:not(.eyebrow){text-align:justify;text-align-last:start;text-wrap:wrap;hyphens:none;word-break:normal;overflow-wrap:normal}
}
@media(max-width:480px){
  .skills-grid{grid-template-columns:1fr}
  .skill h3{min-height:0}
  .skill p{font-size:13px;min-height:0;text-align:justify;text-align-last:start;text-wrap:wrap;hyphens:none}
  .skill-tag{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.skill.is-touch-active,.project-open.is-touch-active .project-image{transform:none}}
.wordmark img{object-fit:cover;object-position:center;mix-blend-mode:multiply}
.contact{grid-template-columns:66% 34%}
.contact-links{font-size:19px}
.contact-phone{display:flex;align-items:center;min-height:44px;font-weight:550;white-space:nowrap}
@media(max-width:760px){.contact{grid-template-columns:1fr}.contact-links{font-size:17px}.contact>img{height:380px}}

/* Legibilidad: +2 px en textos descriptivos y +1 px en funciones profesionales. */
.skills-section .section-heading>p{font-size:15px}
.skill p{font-size:14px}
.portfolio-intro{font-size:16px}
.project p{font-size:13px}
.job-copy>p:not(.job-date):not(.job-role):not(.job-media){font-size:16.1px}
.job ul{font-size:14.95px}
.education-intro{font-size:15px}
.course p{font-size:13px}
.languages>p:not(.eyebrow){font-size:14px}
.additional{font-size:12px}
.contact>div>p:not(.eyebrow){font-size:22px}
@media(max-width:760px){
  .skill p{font-size:13px}
  .project p{font-size:12px}
  .contact>div>p:not(.eyebrow){font-size:20px}
}
@media(max-width:480px){.skill p{font-size:15px}}
@media(max-width:380px){.project p{font-size:14px}}

/* Ajustes de presentación y duración de cada etapa. */
.skill-tag{font-weight:700}
.hero-note{display:block}
.hero-note>span{display:block;margin-bottom:12px}
.hero-specialties{display:flex;align-items:center;flex-wrap:wrap;gap:12px 8px}
.specialty{display:flex;align-items:center;gap:6px;font-size:14px;line-height:1.4;white-space:nowrap}
.specialty img{width:32px;height:32px;flex:none}
.hero-specialties>i{font-style:normal;color:#8b9cac}
.job-duration{display:inline-block;font:400 12.65px/1.5 var(--sans);letter-spacing:0;color:var(--muted);text-transform:none;white-space:nowrap}
@media(max-width:760px){.hero-note>span{margin-bottom:10px}.specialty{font-size:13px}.specialty img{width:28px;height:28px}}

/* Ilustraciones y etiquetas de habilidades. */
.skill-number{align-items:center;min-height:36px}
.skill-icon{width:36px;height:36px;object-fit:contain}
.skill-tag{background:#e4eef9;border:1px solid #d1e0f0;border-radius:5px;padding:10px 12px;line-height:1.5}
.skill:hover .skill-tag{background:#c7dbf3;border-color:#afcbe9}
/* Movimiento discreto de las portadas durante el hover. */
@keyframes cover-drift{0%,100%{transform:translateY(-3px) rotate(-1deg) scale(1.025)}50%{transform:translateY(-10px) rotate(1deg) scale(1.04)}}
@media(hover:hover) and (pointer:fine){.project-open:hover .cover-image img{animation:cover-drift 2.4s ease-in-out infinite}}
.project-open:focus-visible .cover-image img{animation:cover-drift 2.4s ease-in-out infinite}
.covers-difundalia .difundalia-montage .tv-cover{width:76%;justify-self:center;padding:4px 6px}
.covers-difundalia .difundalia-montage .tv-cover img{max-height:32px}
.covers-transporte.single .cover-layout img,.covers-metalurgia.single .cover-layout img{height:110px;max-width:135px}
@media(max-width:760px){.covers-transporte.single .cover-layout img,.covers-metalurgia.single .cover-layout img{height:102px}.skill-icon{width:30px;height:30px}}
@media(prefers-reduced-motion:reduce){.project-open:hover .cover-image img,.project-open:focus-visible .cover-image img{animation:none;transform:none}}

/* Miniaturas de experiencia ligeramente ampliadas. */
@media(min-width:761px){.experience .job-covers{margin-right:32px}}
.covers-difundalia .cover-layout.difundalia-montage{padding:16px 14px;gap:12px 10px;max-width:375px}
.covers-difundalia .difundalia-montage>img,.difundalia-montage .web-cover{height:118px;max-height:118px}
.covers-difundalia .difundalia-montage .tv-cover img{max-height:36px}
.covers-transporte.single .cover-layout img,.covers-metalurgia.single .cover-layout img{height:123px;max-width:151px}
.covers-tpi .cover-layout img{height:112px}
@media(max-width:900px) and (min-width:761px){.experience .job-covers{margin-right:20px}.covers-tpi .cover-layout img{height:95px}}
@media(max-width:760px){.covers-transporte.single .cover-layout img,.covers-metalurgia.single .cover-layout img{height:114px}.covers-tpi .cover-layout img{height:118px}}

/* Fondo de movilidad atenuado para mantener la lectura de Formación. */
.education{position:relative;isolation:isolate;overflow:hidden}
.education-backdrop{position:absolute;inset:0;z-index:0;pointer-events:none;opacity:0;filter:saturate(.35)}
.education-video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.education::after{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,var(--paper) 0%,transparent 18%,transparent 80%,var(--paper) 100%)}
.education>div:not(.education-backdrop){position:relative;z-index:1}
.education-motion-toggle{position:absolute;right:7%;bottom:20px;z-index:2;display:flex;align-items:center;gap:8px;padding:5px 10px;border:1px solid var(--line);border-radius:20px;background:var(--paper);color:var(--muted);font-size:10px;line-height:1.5}
.education-motion-toggle[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.education-video,.education-motion-toggle{display:none}}

/* Mostrar el fondo únicamente cuando avanzan los fotogramas. */
.education.has-motion .education-backdrop{opacity:.10}
.education .languages .eyebrow{font-size:calc(10px + 1pt)}
.education .additional{font-size:calc(12px + 1pt)}
@media(prefers-reduced-motion:reduce){.education .education-backdrop{display:none}}

/* Movimiento breve de las dos portadas al entrar con ratón o teclado. */
@keyframes cover-hover-lift{
  0%{transform:translateY(0) rotate(0) scale(1)}
  30%{transform:translateY(-5px) rotate(-1.1deg) scale(1.03)}
  65%{transform:translateY(-8px) rotate(.5deg) scale(1.035)}
  100%{transform:translateY(-5px) rotate(-.6deg) scale(1.03)}
}
.project-open:is([data-project="renault"],[data-project="mercedes"]) .cover-image img{animation:none;transform:translateY(0) rotate(0) scale(1);transition:transform .4s ease,box-shadow .4s ease;will-change:transform}
.project-open:is([data-project="renault"],[data-project="mercedes"]):is(:hover,:focus-visible) .cover-image img{transform:translateY(-5px) rotate(-.6deg) scale(1.03);animation:cover-hover-lift 1.6s ease-in-out 1 both;box-shadow:9px 15px 24px #142b4140}
