/*
Theme Name: Vending Store 2026
Author: Vending Store
Description: Tema editorial para el nuevo sitio de Vending Store.
Version: 1.5.0
Requires at least: 6.5
Text Domain: vendingstore
*/

:root{--ink:#102b3f;--muted:#526876;--teal:#0fae9a;--mint:#d8f7ee;--orange:#ff865d;--cream:#f7f8f4;--line:#d9e5e5;--white:#fff;--radius:22px;--shadow:0 22px 60px rgba(16,43,63,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}a{color:inherit}img{max-width:100%;height:auto}button,input,textarea{font:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.1;letter-spacing:-.035em}h1{font-size:clamp(3.2rem,7vw,6.5rem)}h2{font-size:clamp(2.2rem,4vw,4.2rem)}h3{font-size:clamp(1.35rem,2vw,1.8rem)}p{color:var(--muted)}.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}.eyebrow{display:inline-flex;align-items:center;gap:.55rem;color:#087d74;font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow:before{content:"";width:22px;height:2px;background:var(--orange)}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;border:0;border-radius:999px;padding:15px 24px;background:var(--ink);color:#fff!important;font-size:.95rem;font-weight:750;text-decoration:none;line-height:1.2;transition:transform .2s,background .2s}.button:hover,.wp-block-button__link:hover{background:#174560;transform:translateY(-2px)}.button--accent{background:var(--orange);color:var(--ink)!important}.button--accent:hover{background:#ff9c79}.button--outline{background:transparent;color:var(--ink)!important;border:1px solid #a9c2c6}.button--outline:hover{background:#e9f4f2}.button--light{background:#fff;color:var(--ink)!important}.button-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}.site-header{position:sticky;top:0;z-index:50;background:rgba(247,248,244,.95);backdrop-filter:blur(16px);border-bottom:1px solid rgba(16,43,63,.08)}.site-header__inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:1.25rem;font-weight:900;letter-spacing:-.045em;line-height:1}.brand__mark{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:var(--ink);color:var(--mint)}.brand__mark svg{width:27px;height:27px}.brand span span{color:var(--teal)}.site-nav{display:flex;align-items:center;gap:25px}.site-nav a{text-decoration:none;font-size:.91rem;font-weight:700;color:#335261}.site-nav a:hover,.site-nav .current_page_item a{color:var(--teal)}.site-nav .nav-cta{background:var(--ink);color:#fff;padding:12px 18px;border-radius:999px}.site-nav .nav-cta:hover{color:#fff;background:#174560}.menu-toggle{display:none;background:none;border:0;padding:8px;color:var(--ink);font-size:1.5rem}.site-main{min-height:65vh}.hero{position:relative;overflow:hidden;background:var(--ink);color:#fff}.hero:before{content:"";position:absolute;inset:auto -14% -70% auto;width:70%;aspect-ratio:1;border:1px solid rgba(255,255,255,.14);border-radius:50%;box-shadow:0 0 0 80px rgba(255,255,255,.025),0 0 0 160px rgba(255,255,255,.025)}.hero__inner{position:relative;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:54px;padding-block:104px 100px}.hero h1{max-width:760px;margin:20px 0 24px}.hero h1 em{font-style:normal;color:#6fe0c9}.hero p{max-width:580px;color:#c9dada;font-size:1.14rem}.hero .eyebrow{color:#74e6cf}.hero__art{position:relative;min-height:470px;display:grid;place-items:center}.hero__art img{width:min(100%,580px);filter:drop-shadow(0 24px 40px rgba(0,0,0,.18))}.hero__tag{position:absolute;right:0;bottom:25px;background:#fff;color:var(--ink);border-radius:16px;padding:16px 20px;box-shadow:var(--shadow);font-size:.87rem;font-weight:800;transform:rotate(4deg)}.trust-strip{background:#e8f6f2;border-bottom:1px solid #d0e8e2}.trust-strip__inner{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 34px;padding:18px 0;color:#28545b;font-size:.86rem;font-weight:750}.trust-strip span:before{content:"✓";display:inline-grid;place-items:center;width:22px;height:22px;margin-right:8px;border-radius:50%;background:#b9eadb;color:#087d74}.section{padding-block:100px}.section--white{background:#fff}.section--soft{background:#eaf5f0}.section-heading{max-width:730px;margin-bottom:42px}.section-heading p{font-size:1.08rem}.section-heading h2{margin:14px 0 20px}.grid{display:grid;gap:22px}.grid--3{grid-template-columns:repeat(3,1fr)}.grid--2{grid-template-columns:repeat(2,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px;box-shadow:0 8px 30px rgba(16,43,63,.035)}.card h3{margin:18px 0 12px}.card p{margin-bottom:18px}.card a:not(.button){color:#087d74;font-weight:800;text-decoration:none}.card a:not(.button):after{content:" ↗"}.card__icon{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--mint);color:#087d74;font-size:1.6rem}.card--dark{background:var(--ink);color:#fff;border-color:var(--ink)}.card--dark p{color:#c9dada}.split{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:center}.split__visual{min-height:420px;border-radius:28px;background:#d7e9e5;overflow:hidden;display:grid;place-items:center}.split__visual img{width:100%;height:100%;object-fit:cover}.check-list{padding:0;margin:28px 0 0;list-style:none}.check-list li{position:relative;margin:12px 0;padding-left:32px;color:#395664;font-weight:600}.check-list li:before{content:"✓";position:absolute;left:0;top:2px;color:#087d74;font-weight:900}.metric-row{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}.metric{border-top:2px solid var(--teal);padding-top:15px}.metric strong{display:block;font-size:1.6rem;line-height:1.1}.metric span{font-size:.83rem;color:var(--muted)}.cta-band{position:relative;overflow:hidden;background:var(--teal);color:var(--ink);border-radius:32px;padding:58px 64px;display:flex;align-items:center;justify-content:space-between;gap:30px}.cta-band:after{content:"";position:absolute;right:-80px;bottom:-180px;width:320px;height:320px;border:40px solid rgba(255,255,255,.18);border-radius:50%}.cta-band h2{max-width:650px;margin:12px 0 0}.cta-band .button{position:relative;z-index:1;white-space:nowrap}.page-hero{background:var(--ink);color:#fff;padding-block:88px 86px}.page-hero .eyebrow{color:#74e6cf}.page-hero h1{max-width:850px;margin:16px 0 18px;font-size:clamp(3rem,6vw,5.5rem)}.page-hero p{max-width:750px;color:#c9dada;font-size:1.12rem}.feature-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.feature{display:flex;gap:18px;padding:26px;border:1px solid var(--line);border-radius:18px;background:#fff}.feature strong{display:block;font-size:1.08rem}.feature p{margin:6px 0 0}.feature__number{flex:0 0 40px;width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:var(--mint);color:#087d74;font-weight:900}.machine-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.machine{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:24px}.machine__image{height:280px;display:grid;place-items:center;background:#eaf3f1;padding:18px}.machine__image img{height:100%;width:100%;object-fit:contain;mix-blend-mode:multiply}.machine__body{padding:24px}.machine__body h3{margin:0 0 8px}.machine__body p{margin:0;font-size:.94rem}.machine__type{color:#087d74;font-size:.73rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.steps{counter-reset:step;display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.step{padding:30px;border-radius:20px;background:#fff;border:1px solid var(--line)}.step:before{counter-increment:step;content:"0" counter(step);display:block;font-weight:900;font-size:2rem;color:var(--teal);line-height:1;margin-bottom:22px}.step h3{margin:0 0 10px}.step p{margin:0}.site-footer{background:#0b2232;color:#d5e5e8;padding:64px 0 24px}.site-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px}.site-footer .brand{color:#fff}.site-footer p{color:#b2c8cf;max-width:360px}.site-footer h3{color:#fff;font-size:1rem;letter-spacing:0}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin:9px 0}.site-footer a{text-decoration:none}.site-footer li a:hover{color:#6fe0c9}.site-footer__bottom{border-top:1px solid #284354;margin-top:56px;padding-top:24px;font-size:.8rem;color:#a2bbc2}.post-content{padding-block:70px;max-width:800px}.post-content h1{font-size:clamp(2.5rem,5vw,4.5rem)}.post-content h2{font-size:2rem;margin-top:2rem}.post-content p{font-size:1.05rem}.notice{padding:22px 26px;background:#fff5e6;border-left:4px solid var(--orange);border-radius:12px}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.screen-reader-text:focus{clip:auto;width:auto;height:auto;z-index:1000;background:#fff;padding:1rem}
@media(max-width:960px){.site-nav{gap:15px}.site-nav a{font-size:.84rem}.hero__inner{gap:20px}.hero__art{min-height:360px}.split{gap:34px}.machine-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.container{width:min(100% - 32px,1180px)}.site-header__inner{min-height:70px}.menu-toggle{display:block}.site-nav{display:none;position:absolute;left:0;right:0;top:70px;background:var(--cream);padding:20px 16px 26px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch;gap:0}.site-nav.is-open{display:flex}.site-nav a{padding:12px 8px;font-size:1rem}.site-nav .nav-cta{text-align:center;margin-top:8px}.hero__inner{grid-template-columns:1fr;padding-block:72px 60px}.hero__art{min-height:300px}.hero__art img{max-height:340px}.hero__tag{right:5px;bottom:0}.section{padding-block:72px}.grid--3,.grid--2,.split,.feature-list,.machine-grid,.steps,.site-footer__grid{grid-template-columns:1fr}.split__visual{min-height:320px}.cta-band{padding:38px 28px;display:block}.cta-band .button{margin-top:24px}.page-hero{padding-block:70px}.metric-row{gap:10px}.metric strong{font-size:1.2rem}.site-footer__grid{gap:26px}.site-footer__bottom{margin-top:35px}}

/* Brand palette from the supplied Vending Store logo. */
:root{--ink:#0d3440;--teal:#3f7f81;--mint:#e3f1ef;--orange:#ffd51e;--cream:#f8faf8}
.site-header{background:rgba(255,255,255,.96)}.brand__logo{display:block;width:72px;height:72px;object-fit:contain}.brand__logo--footer{width:98px;height:98px;background:#fff;border-radius:12px}.site-header__inner{min-height:84px}.hero h1 em{color:#ffdc32}.hero .eyebrow,.page-hero .eyebrow{color:#ffdc32}.button--accent:hover{background:#ffe266}.card__icon,.feature__number{color:var(--ink)}.cta-band{background:#ffd51e}.site-nav .nav-cta{background:var(--teal)}.site-nav .nav-cta:hover{background:var(--ink)}

/* Keep tall product photos inside their allotted image panel. */
.machine__image{overflow:hidden}
.machine__image img{display:block;width:auto;height:auto;max-width:100%;max-height:244px;object-fit:contain}
@media(max-width:720px){.site-header__inner{min-height:70px}.brand__logo{width:60px;height:60px}}

/* Motion is enabled only on selected pages. Content stays visible without JavaScript. */
@media (prefers-reduced-motion:no-preference){
  body.vs-motion-page .vs-reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.65,.25,1),box-shadow .25s ease,border-color .25s ease;transition-delay:var(--reveal-delay,0ms),var(--reveal-delay,0ms),0ms,0ms}
  body.vs-motion-page .vs-reveal.is-visible{opacity:1;transform:translateY(0)}
  body.vs-motion-page .card:hover,body.vs-motion-page .feature:hover,body.vs-motion-page .step:hover,body.vs-motion-page .machine:hover{box-shadow:0 18px 42px rgba(13,52,64,.12);border-color:#9fc7c2}
}

/* WordPress news archive, latest posts and article content. */
.site-nav a[aria-current="page"]{color:var(--teal)}
.news-grid{align-items:stretch}
.news-preview{background:#f0f6f2}
.news-preview__empty{max-width:720px;padding:24px 30px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.news-preview__empty p{margin:0}
.news-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.news-card__image{display:grid;place-items:center;aspect-ratio:16/10;background:#e3f1ef;overflow:hidden}
.news-card__image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.news-card:hover .news-card__image img{transform:scale(1.04)}
.news-card__placeholder{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#e3f1ef,#b9d8d3);color:var(--ink);font-size:3.2rem;font-weight:900;letter-spacing:-.08em}
.news-card__body{display:flex;flex:1;flex-direction:column;padding:28px}
.news-card h3{margin:14px 0 12px}
.news-card p{margin-bottom:24px}
.news-card__more{margin-top:auto}
.news-card .news-card__image:after,.news-card h3 a:after{content:none!important}
.news-empty{max-width:720px;padding:56px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
.news-empty h2{font-size:clamp(2rem,4vw,3rem)}
.news-empty p{margin-bottom:0}
.navigation.pagination{margin-top:40px}
.navigation.pagination .nav-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.navigation.pagination a,.navigation.pagination .current{display:inline-flex;min-width:42px;justify-content:center;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none;font-weight:700}
.navigation.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}
.news-article__header{padding-block:64px 70px}
.news-article__header h1{max-width:980px}
.news-back{display:block;width:max-content;margin-bottom:25px;color:#c9dada;text-decoration:none;font-weight:700}
.news-back:hover{color:#fff}
.news-article__image{max-width:940px;margin-top:52px}
.news-article__image img{display:block;width:100%;height:auto;max-height:640px;object-fit:cover;border-radius:24px}
.news-article__body{padding-top:56px;padding-bottom:24px}
.news-article__body img{border-radius:16px}
.news-article__body .wp-block-gallery{margin-block:32px}
.news-article__footer{max-width:800px;padding-bottom:88px}
@media(max-width:720px){.news-empty{padding:32px}.news-article__image{margin-top:30px}.news-article__body{padding-top:36px}.news-article__footer{padding-bottom:64px}}

/* Social links in the footer, visible on every page. */
.footer-social{margin-top:26px}
.footer-social h3{margin-bottom:12px}
.footer-social__links{display:flex;flex-wrap:wrap;gap:10px}
.footer-social__links a{display:inline-flex;align-items:center;min-height:40px;padding:8px 14px;border:1px solid #526d79;border-radius:999px;color:#fff;font-size:.88rem;font-weight:700;text-decoration:none;transition:background .2s,border-color .2s,transform .2s}
.footer-social__links a:hover,.footer-social__links a:focus-visible{background:#285362;border-color:#82aaa9;transform:translateY(-2px)}
.footer-maps{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:22px}
.footer-maps a{color:#d5e5e8;font-size:.9rem;font-weight:700;text-decoration:underline;text-decoration-color:#52727a;text-underline-offset:4px}
.footer-maps a:hover,.footer-maps a:focus-visible{color:#fff;text-decoration-color:#ffd51e}
