/*
Theme Name: DigitalProDesign
Author: DigitalProDesign
Description: Prototipo de estudio creativo con tarjetas animadas, carruseles y diseño adaptable a móvil.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digitalprodesign
*/
:root{--ink:#172126;--blue:#2349ed;--lime:#dbff73;--paper:#f6f8fc}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;font-size:16px}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}.dp-header{max-width:1440px;margin:auto;height:100px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;gap:25px}.logo{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.04em;font-weight:800}.logo>span:last-child>span{display:block;font-weight:500;letter-spacing:.31em;font-size:12px}.symbol{font-size:44px;line-height:1;font-family:Manrope;letter-spacing:-.12em;color:var(--blue)}.symbol span{color:var(--ink)}.dp-nav{display:flex;gap:32px;font-size:14px}.dp-nav a:hover{color:var(--blue)}.button{background:var(--blue);border:0;color:white;padding:18px 26px;border-radius:100px;display:inline-flex;justify-content:center;align-items:center;font-weight:600;transition:transform .2s,background .2s}.button:hover{transform:translateY(-3px);background:#163aca}.button.small{padding:13px 24px;font-size:14px}.dp-menu-toggle{display:none}.hero{max-width:1440px;margin:auto;padding:55px 5% 75px;display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.eyebrow{font-size:12px;letter-spacing:.12em;font-weight:700;margin:0 0 24px}h1,h2,h3{font-family:Manrope,sans-serif}h1{font-size:clamp(58px,6.1vw,88px);font-weight:600;line-height:1.03;letter-spacing:-.065em;margin:0;position:relative}h1>span{color:var(--blue)}h1 i{font-style:normal;font-size:64px;color:var(--blue);display:inline-block;margin-left:15px;animation:turn 18s linear infinite}.lead{max-width:420px;font-size:17px;line-height:1.65;color:#586267;margin:28px 0}.hero-actions{display:flex;align-items:center;gap:24px;font-size:14px}.text-link{border-bottom:1px solid;padding:5px 0}.footnote{display:flex;gap:15px;align-items:center;margin-top:40px;font-size:12px}.footnote span{color:#79838b;font-size:10px;letter-spacing:.09em}.hero-visual{background:#e3eafa;border-radius:24px;min-height:515px;position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:25px;overflow:hidden}.visual-top,.visual-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;letter-spacing:.07em}.browser{background:white;border-radius:12px;box-shadow:0 25px 45px #25437525;width:92%;margin:auto;transform:rotate(-7deg);transition:transform .25s;position:relative}.browser-bar{display:flex;justify-content:space-between;padding:12px 16px;font-size:10px;color:#9cabb4}.browser-bar>span:nth-child(2){background:#f3f5f7;border-radius:8px;padding:3px 20px}.demo-web{background:#294e44;color:#f8f5e8;padding:25px;border-radius:0 0 10px 10px}.demo-nav{display:flex;justify-content:space-between;font-size:10px;align-items:center}.demo-nav b{font-size:22px}.demo-web p{font-family:Georgia;font-size:46px;line-height:1.1;margin:30px 0 36px}.demo-web em{color:#deedac;font-weight:normal}.demo-bottom{display:flex;justify-content:space-between;align-items:center;font-size:10px}.pill{background:#deedac;color:#294e44;padding:12px;border-radius:30px}.floating{position:absolute;box-shadow:0 10px 25px #192d5515;animation:float 6s ease-in-out infinite}.tag-one{right:12px;top:105px;background:var(--lime);padding:14px 18px;border-radius:8px;font-size:13px;transform:rotate(8deg)}.tag-two{bottom:63px;left:15px;background:white;border-radius:12px;padding:18px;display:flex;gap:12px;align-items:center;font-size:12px;line-height:1.6;animation-delay:-3s}.mini-icon{width:40px;height:40px;background:#e8edff;color:var(--blue);border-radius:10px;display:grid;place-items:center;font-size:26px}.hero-next{border:0;border-radius:50%;width:35px;height:35px;background:white;font-size:22px}.ticker{background:var(--lime);padding:22px 0;overflow:hidden;transform:rotate(-1.5deg);margin:0 0 20px}.ticker div{display:flex;align-items:center;gap:36px;width:max-content;font-size:16px;font-weight:700;letter-spacing:.04em;animation:marquee 35s linear infinite}.ticker span{font-size:28px}.section{max-width:1440px;padding:90px 5%;margin:auto}.section-head{display:flex;justify-content:space-between;gap:40px;align-items:end;margin-bottom:40px}h2{font-size:clamp(34px,4vw,56px);font-weight:500;line-height:1.12;letter-spacing:-.045em;margin:0}h2 span{color:var(--blue)}.section-head>p{max-width:310px;color:#677179;line-height:1.7;font-size:15px;margin:0}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.service{background:white;text-align:left;border:1px solid #e2e7ef;padding:26px;border-radius:18px;color:var(--ink);transition:transform .25s,box-shadow .25s;transform-style:preserve-3d}.service:hover{box-shadow:0 20px 30px #2349ed15}.service:nth-child(2){background:var(--blue);color:white}.service:nth-child(3){background:var(--lime)}.service-top{display:flex;justify-content:space-between;font-size:12px}.service-top>span{font-size:22px}.service-icon{font-size:54px;font-family:Manrope;letter-spacing:-.04em;margin:30px 0;color:var(--blue)}.service:nth-child(2) .service-icon{color:var(--lime)}.service:nth-child(3) .service-icon{color:var(--ink)}.service h3{font-size:24px;letter-spacing:-.04em;margin:0 0 15px}.service p{font-size:15px;line-height:1.7;opacity:.8;min-height:77px}.service-end{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #8892a044;padding-top:20px;margin-top:28px;font-size:12px}.service-end b{font-size:22px}.projects{padding-top:35px}.carousel{display:flex;gap:24px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px}.carousel::-webkit-scrollbar{display:none}.project{flex:0 0 calc(50% - 12px);scroll-snap-align:start;min-width:0}.project-art{height:350px;border-radius:17px;padding:28px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;transition:transform .3s}.project:hover .project-art{transform:scale(.985)}.cherry{background:#f0bdd4;color:#663044}.pulse{background:#292e40;color:var(--lime)}.forma{background:#d9e6de;color:#244c40}.art-nav{font-size:21px;display:flex;justify-content:space-between;font-weight:700;align-items:center;letter-spacing:-.05em}.art-nav>span{font-size:12px;letter-spacing:.05em}.art-nav b{font-size:10px;font-weight:500;letter-spacing:0}.project-art h3{font-size:43px;letter-spacing:-.05em;line-height:1.12;margin:30px 0}.project-art h3 em{font-family:Georgia;font-weight:normal}.art-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.06em}.art-bottom span{font-size:65px;line-height:1;font-weight:700;letter-spacing:-.08em}.project-caption{display:flex;justify-content:space-between;gap:15px;margin-top:20px;align-items:center}.project-caption h3{font-size:16px;margin:0;letter-spacing:-.03em}.project-caption span{font-size:12px;color:#68737b}.carousel-controls{display:flex;gap:9px}.carousel-controls button{border:1px solid #cfd6df;background:transparent;border-radius:50%;width:46px;height:46px;font-size:20px;color:var(--ink)}.carousel-controls button:hover{background:var(--blue);border-color:var(--blue);color:white}.carousel-meta{display:flex;justify-content:space-between;font-size:12px;color:#737e86;margin-top:25px}.process{display:grid;grid-template-columns:1fr 1fr;gap:100px;padding-top:40px}.process>div>p:last-child{max-width:370px;line-height:1.7;color:#677179}.steps details{border-bottom:1px solid #d6dde5;padding:22px 0}.steps summary{display:flex;align-items:center;gap:24px;cursor:pointer;font-family:Manrope;font-size:23px;list-style:none}.steps summary::-webkit-details-marker{display:none}.steps summary span{font-size:12px;color:#77848e}.steps summary b{margin-left:auto;font-size:24px;font-weight:400}.steps details[open] summary b{transform:rotate(45deg)}.steps details p{line-height:1.7;color:#677179;margin-left:40px;font-size:15px}.inspiration{margin:20px 5%;max-width:none;background:var(--blue);color:white;border-radius:24px;padding:40px 50px}.inspiration-top,.inspiration-bottom{display:flex;justify-content:space-between;align-items:center}.inspiration .eyebrow{margin:0;color:#c3d1ff}.inspiration button{color:white;border-color:#ffffff55}.inspiration blockquote{font-family:Manrope;font-size:clamp(32px,4.7vw,66px);letter-spacing:-.045em;line-height:1.15;margin:55px 0}.inspiration blockquote em{font-family:Georgia;color:var(--lime)}.inspiration-bottom{font-size:11px;letter-spacing:.05em}.inspiration-bottom div{display:flex;gap:7px}.inspiration-bottom i{width:7px;height:7px;border-radius:50%;background:#ffffff55}.inspiration-bottom i.active{background:var(--lime);width:24px;border-radius:10px}.contact{text-align:center;padding-top:100px}.contact h2{font-size:clamp(40px,5vw,70px)}.contact>p:not(.eyebrow){color:#65727c;line-height:1.7;max-width:450px;margin:25px auto}.contact-options{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:30px 0}.contact-options button{border-radius:100px;border:1px solid #d0d8e2;padding:12px 18px;background:transparent;font-size:14px}.contact-options button.active{background:var(--lime);border-color:var(--lime)}footer{margin:0 5%;border-top:1px solid #dce1e8;padding:35px 0;display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:12px;color:#68737b}footer p{font-size:14px}dialog{border:0;border-radius:22px;padding:38px;width:min(540px,92vw);color:var(--ink);background:var(--paper);box-shadow:0 30px 100px #16244f40}dialog::backdrop{background:#15264388;backdrop-filter:blur(5px)}dialog h2{font-size:34px;margin-bottom:24px}dialog>p{line-height:1.7}dialog ul{padding-left:20px;line-height:2;margin:25px 0}.close{position:absolute;right:15px;top:12px;border:0;background:none;font-size:30px}label{display:block;margin:18px 0;font-size:14px}input,textarea{display:block;width:100%;border:1px solid #d6dce6;background:white;padding:13px;border-radius:10px;margin-top:8px;color:var(--ink)}textarea{resize:vertical}.form-note{font-size:12px;line-height:1.6;color:#677179}#copy-status{font-size:14px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ee80b1;outline-offset:5px}@keyframes turn{to{transform:rotate(360deg)}}@keyframes marquee{to{transform:translateX(-50%)}}@keyframes float{50%{translate:0 -12px}}@media(min-width:1600px){.inspiration{max-width:1296px;margin:20px auto}}@media(max-width:1000px){.dp-header .dp-nav{gap:16px}.hero{gap:20px}.hero-visual{min-height:460px}.demo-web p{font-size:35px}.hero-actions{gap:15px;flex-wrap:wrap}.services .service{padding:20px}.project-caption{display:block}.project-caption span{display:block;margin-top:8px}.process{gap:40px}.project-art h3{font-size:35px}.footnote{flex-wrap:wrap}footer p{display:none}}@media(max-width:700px){.dp-header{height:82px;gap:15px;position:relative}.logo{font-size:11px}.logo>span:last-child>span{font-size:10px}.symbol{font-size:36px}.dp-header .small{margin-left:auto;padding:11px 17px}.dp-menu-toggle{display:block;background:none;border:0;font-size:22px}.dp-nav{display:none;position:absolute;top:75px;left:5%;right:5%;background:white;padding:25px;z-index:9;border-radius:15px;box-shadow:0 10px 30px #18274a20}.dp-nav.open{display:flex;flex-direction:column}.hero{padding-top:30px;grid-template-columns:1fr;gap:40px;padding-bottom:45px}h1{font-size:64px}h1 i{font-size:44px}.eyebrow{font-size:10px}.lead{font-size:16px}.hero-visual{min-height:440px}.demo-web p{font-size:42px}.footnote{margin-top:25px}.section{padding:60px 5%}.section-head{display:block;margin-bottom:28px}.section-head>p{margin-top:24px;max-width:100%}.services{grid-template-columns:1fr}.service p{min-height:0}.service-icon{margin:20px 0}.service-end{margin-top:20px}.service{padding:25px}.projects .section-head{display:flex;align-items:end}.projects h2{font-size:34px}.carousel-controls button{width:38px;height:38px}.project{flex-basis:88%}.project-art{height:300px;padding:23px}.project-art h3{font-size:37px}.carousel-meta{gap:25px;line-height:1.6}.process{grid-template-columns:1fr;gap:20px}.inspiration{padding:28px;margin:10px 5%}.inspiration blockquote{margin:40px 0;font-size:37px}.inspiration-bottom{font-size:9px;gap:12px}.contact{padding-top:70px}footer{align-items:center;flex-wrap:wrap}footer>span{font-size:10px}.art-nav b{font-size:9px}dialog{padding:30px 24px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Encabezado aislado de los estilos generales de WordPress y plugins. */
body .dp-header{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:24px;width:100%;height:auto;min-height:100px;padding:20px 5%;position:relative;z-index:20;}
body .dp-header>.logo{flex:0 0 auto;white-space:nowrap;}
body .dp-header .dp-nav{display:block;position:static;width:auto;margin-left:auto;}
body .dp-nav .dp-nav-list{display:flex;flex-direction:row;align-items:center;gap:28px;list-style:none;padding:0;margin:0;}
body .dp-nav .dp-nav-list>li{position:relative;list-style:none;margin:0;padding:0;}
body .dp-nav a{display:block;padding:8px 0;font-size:14px;line-height:1.5;white-space:nowrap;text-decoration:none;}
body .dp-header>.small{flex:0 0 auto;margin:0;}
body .dp-header .dp-menu-toggle{display:none;}
body .dp-nav .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:200px;background:white;list-style:none;padding:15px;box-shadow:0 12px 30px #18274a20;border-radius:12px;}
body .dp-nav li:hover>.sub-menu,body .dp-nav li:focus-within>.sub-menu{display:block;}
@media(max-width:1000px){body .dp-nav .dp-nav-list{gap:16px;}}
@media(max-width:800px){
body .dp-header{min-height:82px;gap:14px;padding:18px 5%;}
body .dp-header>.small{margin-left:auto;}
body .dp-header .dp-menu-toggle{display:block;background:transparent;border:0;font-size:24px;line-height:1;padding:6px;color:var(--ink);}
body .dp-header .dp-nav{display:none;position:absolute;top:100%;left:5%;right:5%;width:auto;background:white;padding:20px;border-radius:15px;box-shadow:0 12px 30px #18274a20;margin:0;}
body .dp-header .dp-nav.open{display:block;}
body .dp-nav .dp-nav-list{flex-direction:column;align-items:stretch;gap:10px;}
body .dp-nav a{white-space:normal;padding:8px;}
body .dp-nav .sub-menu{display:block;position:static;min-width:0;box-shadow:none;padding:0 0 0 16px;}
}

/* Portfolio: enlaces completos, nombres largos y destinos visibles. */
.project-link{display:block;color:inherit;text-decoration:none;}
.project-website h3{font-size:clamp(30px,3.5vw,48px);line-height:1.15;overflow-wrap:anywhere;max-width:100%;}
.project-website .art-nav>span{font-size:12px;letter-spacing:.08em;}
.project-website .art-bottom{gap:15px;flex-wrap:wrap;}
.project-website .art-bottom .project-domain{font-size:12px;letter-spacing:0;font-weight:400;line-height:1.5;overflow-wrap:anywhere;}
.project-website .art-bottom .visit-label{font-size:12px;font-weight:600;letter-spacing:0;line-height:1.5;border:1px solid currentColor;padding:8px 14px;border-radius:30px;}
.project-link:focus-visible{outline:3px solid #ee80b1;outline-offset:3px;border-radius:17px;}
/* Portada móvil: conserva la inclinación y las etiquetas flotantes. */
@media(max-width:700px){
.hero-visual{min-height:550px;height:auto;padding:25px 18px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;}
.hero-visual .visual-top{font-size:9px;line-height:1.5;gap:18px;position:relative;z-index:2;}
.hero-visual .visual-top>span:first-child{max-width:75%;}
.hero-visual .visual-top>span:last-child{white-space:nowrap;}
.hero-visual .browser{width:90%;margin:90px auto 110px;transform:rotate(-7deg);position:relative;}
.hero-visual .browser-bar{padding:10px;font-size:9px;gap:6px;align-items:center;}
.hero-visual .browser-bar>span:nth-child(2){padding:4px 8px;min-width:0;overflow-wrap:anywhere;}
.hero-visual .demo-web{padding:24px 18px;}
.hero-visual .demo-nav{gap:12px;flex-wrap:wrap;}
.hero-visual .demo-nav b{font-size:22px;line-height:1.2;overflow-wrap:anywhere;max-width:100%;}
.hero-visual .demo-nav>span{font-size:10px;line-height:1.5;}
.hero-visual .demo-web p{font-size:clamp(28px,8vw,38px);line-height:1.15;margin:28px 0;}
.hero-visual .demo-bottom{gap:12px;flex-wrap:wrap;}
.hero-visual .demo-bottom>span{font-size:10px;line-height:1.5;}
.hero-visual .pill{padding:10px 12px;font-size:10px;}
.hero-visual .floating{position:absolute;z-index:3;animation:none;}
.hero-visual .tag-one{top:70px;right:15px;bottom:auto;left:auto;transform:rotate(8deg);font-size:12px;padding:12px 15px;max-width:85%;}
.hero-visual .tag-two{bottom:70px;left:15px;right:auto;top:auto;max-width:calc(100% - 30px);padding:14px;font-size:12px;line-height:1.5;}
.hero-visual .tag-two .mini-icon{flex-shrink:0;}
.hero-visual .visual-bottom{gap:15px;position:relative;z-index:2;font-size:9px;}
.project-website{height:auto;min-height:300px;gap:24px;}
.project-website h3{font-size:34px;margin:16px 0;}
.project-website .art-nav{gap:15px;flex-wrap:wrap;}
.project-caption h3{overflow-wrap:anywhere;}
}
@media(max-width:360px){body .dp-header{gap:8px;padding:16px 4%;}body .dp-header>.small{padding:10px 12px;font-size:12px;}.hero h1{font-size:clamp(44px,16vw,58px);}.project-website h3{font-size:30px;}}

/* Safari móvil: mantiene tamaños estables y espacios para los rótulos. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;}
@media(max-width:700px){
.hero-visual{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:0;min-height:0;height:auto;padding:26px 20px;}
.hero-visual .visual-top,.hero-visual .visual-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:5;gap:16px;min-height:36px;line-height:1.6;}
.hero-visual .visual-top{grid-row:1;}
.hero-visual .visual-top>span:first-child{flex:1;max-width:none;font-size:10px;white-space:normal;}
.hero-visual .visual-top>span:last-child{flex:0 0 auto;font-size:10px;white-space:nowrap;}
.hero-visual .browser{grid-row:2;align-self:center;width:90%;margin:105px auto 135px;transform:rotate(-7deg);}
.hero-visual .visual-bottom{grid-row:3;}
.hero-visual .visual-bottom>span{font-size:10px;white-space:normal;}
.hero-visual .visual-bottom .hero-next{flex:0 0 35px;}
.hero-visual .tag-one{top:92px;right:18px;font-size:12px;padding:12px 15px;max-width:calc(100% - 36px);}
.hero-visual .tag-two{bottom:89px;left:18px;max-width:calc(100% - 36px);font-size:12px;padding:14px;}
.hero-visual .demo-nav b{font-size:20px;line-height:1.25;}
.hero-visual .demo-nav{align-items:start;}
.hero-visual .demo-web p{font-size:clamp(26px,7.4vw,36px);line-height:1.2;}
}
