/*
Theme Name: Rivers Colors Functional
Theme URI: https://riverscolors.com
Author: OpenAI
Description: Tema funcional y editable para Rivers Colors, basado en los mockups aprobados.
Version: 2.0.0
Text Domain: rivers-colors-functional
*/
:root{--violet:#6420b7;--violet2:#6c28c4;--yellow:#f6c313;--text:#17152c;--muted:#625c74;--line:#ece6f4;--soft:#faf8ff;--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.5}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.wrap{width:min(1320px,calc(100% - 48px));margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{height:86px;display:flex;align-items:center;gap:26px}.brand{font-size:29px;font-weight:900;color:var(--violet);letter-spacing:-1px;white-space:nowrap}.site-nav{flex:1}.site-nav ul{display:flex;justify-content:center;gap:34px;list-style:none;margin:0;padding:0}.site-nav a{display:block;padding:31px 0 26px;border-bottom:3px solid transparent;font-size:14px;font-weight:700}.site-nav a:hover,.site-nav .current-menu-item>a{color:var(--violet);border-color:var(--yellow)}.menu-toggle{display:none;border:0;background:none;font-size:26px}.btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 24px;border-radius:11px;font-weight:800;border:2px solid transparent;cursor:pointer}.btn-purple{background:var(--violet);color:#fff}.btn-yellow{background:var(--yellow);color:#191919}.btn-outline{background:#fff;color:var(--violet);border-color:#e2b91a}.actions{display:flex;gap:16px;flex-wrap:wrap}
.hero{padding:34px 0 0;background:#fff}.hero.small{padding-top:24px}.hero-grid{display:grid;grid-template-columns:43% 57%;gap:18px;align-items:center;min-height:330px;border-bottom:1px solid var(--line)}.eyebrow{color:var(--violet);font-size:14px;font-weight:900;margin:0 0 14px}.hero h1{font-size:clamp(52px,5.7vw,74px);line-height:.98;letter-spacing:-2.6px;margin:0 0 18px}.hero h1 span{color:var(--violet)}.lead{font-size:18px;color:#4c465f;max-width:580px;margin:0 0 28px}.hero-products{display:flex;align-items:flex-end;justify-content:flex-end;gap:10px;min-height:300px}.hero-products img{object-fit:contain;filter:drop-shadow(0 14px 22px rgba(0,0,0,.08))}.hero-products img:nth-child(1){height:250px}.hero-products img:nth-child(2){height:285px}.hero-products img:nth-child(3){height:185px}.hero-products img:nth-child(4){height:245px}.hero-products img:nth-child(5){height:210px}.hero-products.four img{height:230px}.hero-products.four img:last-child{height:250px}.hero-products.five img{height:210px}
.section{padding:26px 0}.section.compact{padding-top:10px}.section h2{color:var(--violet);font-size:24px;margin:0 0 18px}.center{text-align:center}.product-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}.product-card{border:1px solid var(--line);border-radius:var(--radius);padding:14px;text-align:center;background:#fff;min-height:220px;display:flex;flex-direction:column;justify-content:space-between}.product-card img{height:145px;object-fit:contain;margin:auto}.product-card h3{font-size:15px;margin:10px 0 0}.split{display:grid;grid-template-columns:42% 58%;gap:32px}.tech-row{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.tech-row>div{padding:18px;border-right:1px solid var(--line)}.tech-row>div:last-child{border-right:0}.tech-row b{color:var(--violet)}.tech-row p{font-size:13px;color:var(--muted);margin:6px 0 0}.thumb-row{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}.thumb-row img{height:102px;width:100%;object-fit:cover;border-radius:10px}.cta{margin-top:24px;margin-bottom:0;background:linear-gradient(90deg,var(--violet),var(--violet2));color:#fff;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.cta h2{margin:0 0 2px;color:#fff}.cta p{margin:0;color:#f0eaff}
.technique-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.tech-card{display:grid;grid-template-columns:52px 1fr 120px;gap:16px;border:1px solid var(--line);border-radius:var(--radius);padding:20px}.tech-icon{width:48px;height:48px;border:2px solid var(--violet);border-radius:13px;display:grid;place-items:center;color:var(--violet);font-size:24px}.tech-card h3{color:var(--violet);margin:0 0 6px}.tech-card p{margin:0 0 8px;color:var(--muted)}.tech-card ul{margin:0;padding-left:18px;font-size:14px}.tech-card img{height:150px;object-fit:contain;align-self:center}.band{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;border:1px solid var(--line);border-radius:var(--radius);background:var(--soft);padding:18px}.band b{color:var(--violet)}.band p{font-size:13px;color:var(--muted);margin:4px 0 0}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.steps>div{padding:18px}.steps span{width:40px;height:40px;background:var(--violet);color:#fff;border-radius:50%;display:grid;place-items:center;font-weight:900}.steps h3{color:var(--violet);margin:10px 0 5px}.steps p{margin:0;color:var(--muted)}.apps-title{margin-top:10px!important}.apps{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.apps>div{border:1px solid var(--line);border-radius:14px;padding:10px;text-align:center}.apps img{height:58px;object-fit:contain;margin:auto}.apps span{font-size:13px;font-weight:700}
.tabs{display:flex;justify-content:center;margin-bottom:22px;border:1px solid var(--line);border-radius:13px;overflow:hidden}.tabs button{flex:1;padding:14px;border:0;background:#fff;font-weight:700}.tabs button.active{background:var(--violet);color:#fff}.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.gallery-item img{width:100%;height:180px;object-fit:cover;border-radius:14px;border:1px solid var(--line)}.gallery-item.hidden{display:none}.idea-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.idea-grid article{border:1px solid var(--line);border-radius:var(--radius);padding:20px}.idea-grid h3{color:var(--violet);margin:0 0 5px}.idea-grid p{margin:0;color:var(--muted)}
.contact-grid{display:grid;grid-template-columns:1.25fr .72fr .85fr;gap:22px}.panel{border:1px solid var(--line);border-radius:var(--radius);padding:24px}.panel h2{margin:0 0 16px}.panel form{display:grid;gap:11px}.panel input,.panel textarea{width:100%;border:1px solid #ddd4e9;border-radius:9px;padding:12px 14px;font:inherit}.panel textarea{min-height:110px;resize:vertical}.panel.whatsapp{background:var(--soft);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}.wa-dot{font-size:60px;color:var(--yellow);line-height:1}.success{padding:10px;background:#eaf8ee;border-radius:8px;margin-bottom:12px}.contact-lower{display:grid;grid-template-columns:62% 38%;gap:24px}.five-cols{grid-template-columns:repeat(5,1fr)}details{border:1px solid var(--line);border-radius:9px;padding:0 12px;margin-bottom:8px}summary{cursor:pointer;padding:13px 0;font-weight:700}details p{color:var(--muted)}
.site-footer{border-top:1px solid var(--line);padding:28px 0 18px}.footer-grid{display:grid;grid-template-columns:1.1fr .8fr .8fr 1fr;gap:28px}.footer-grid>div{display:flex;flex-direction:column;gap:7px}.footer-brand{font-size:28px;font-weight:900;color:var(--violet)}.site-footer h4{color:var(--violet);margin:0 0 6px}.site-footer p,.site-footer span,.site-footer a{font-size:14px;color:var(--muted)}.footer-bottom{text-align:center;border-top:1px solid var(--line);margin-top:20px;padding-top:14px;font-size:12px;color:#8d879c}
@media(max-width:1050px){.hero-grid,.split,.contact-lower{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(3,1fr)}.technique-grid{grid-template-columns:1fr}.gallery-grid{grid-template-columns:repeat(3,1fr)}.contact-grid{grid-template-columns:1fr 1fr}.contact-grid>:first-child{grid-column:1/-1}.apps{grid-template-columns:repeat(3,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.menu-toggle{display:block}.site-nav{display:none;position:absolute;top:86px;left:0;right:0;background:#fff;padding:18px 24px;border-bottom:1px solid var(--line)}.site-nav.open{display:block}.site-nav ul{display:grid;gap:8px}.site-nav a{padding:8px 0;border:0}.header-cta{display:none}.hero-products{justify-content:center;flex-wrap:wrap}.hero-products img,.hero-products.four img,.hero-products.five img{height:170px}.product-grid,.gallery-grid,.idea-grid,.band,.steps,.contact-grid,.apps,.five-cols,.footer-grid{grid-template-columns:1fr}.contact-grid>:first-child{grid-column:auto}.tech-row{grid-template-columns:1fr}.tech-row>div{border-right:0;border-bottom:1px solid var(--line)}.thumb-row{grid-template-columns:repeat(3,1fr)}.cta{align-items:flex-start;flex-direction:column}.tech-card{grid-template-columns:48px 1fr}.tech-card img{grid-column:1/-1}.tabs{overflow:auto;justify-content:flex-start}.tabs button{min-width:110px}}
@media(max-width:520px){.wrap{width:min(100% - 28px,1320px)}.header-inner{height:74px}.site-nav{top:74px}.brand{font-size:24px}.hero h1{font-size:44px}.lead{font-size:17px}.product-grid,.thumb-row{grid-template-columns:1fr}.product-card img{height:190px}.actions{flex-direction:column;align-items:flex-start}}

/* Version 2: corrección de composición para igualar los mockups */
.hero-grid{grid-template-columns:42% 58%;min-height:330px;padding:26px 0 22px;overflow:visible}
.hero-composite{display:flex;align-items:center;justify-content:flex-end;min-width:0}
.hero-composite img{width:100%;max-width:760px;height:auto;object-fit:contain;filter:none;box-shadow:none}
.hero h1{max-width:640px}
.product-card{min-height:190px;padding:12px 12px 14px}
.product-card img{height:128px;width:100%;object-fit:contain;margin:auto;border-radius:10px}
.section{padding:22px 0}
.section h2{font-size:23px}
.cta{border-radius:0;padding:18px 28px;margin-top:20px}
.technique-grid{align-items:stretch}
.tech-card{min-height:210px}
.contact-grid{align-items:stretch}
.gallery-grid{align-items:stretch}
.gallery-item img{background:#fff}
@media(max-width:1050px){
  .hero-grid{grid-template-columns:1fr;gap:14px}
  .hero-composite{justify-content:center}
  .hero-composite img{max-width:820px}
}
@media(max-width:800px){
  .hero-grid{padding-top:12px}
  .hero-composite img{width:100%}
}
