/*
Theme Name: Garaje Claro
Theme URI: https://garaje.corandar.com
Author: Corandar
Description: Tema editorial ligero para guías de compra de equipo de coche y garaje.
Version: 1.0.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: garaje-claro
*/

:root {
  --ink: #15231d;
  --muted: #5c6b64;
  --cream: #f5f2e9;
  --paper: #fffefa;
  --line: #d9ddd5;
  --green: #1f5b43;
  --green-dark: #123b2c;
  --lime: #c9f368;
  --orange: #ff6b3d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { height: auto; max-width: 100%; }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; width: 1px; }

.notice { align-items: center; background: var(--ink); color: #f4f7f1; display: flex; font-size: 12px; gap: 12px; justify-content: center; min-height: 36px; padding: 8px 24px; }
.notice span { background: var(--lime); border-radius: 999px; color: var(--ink); font-weight: 800; padding: 4px 9px; text-transform: uppercase; }
.site-header { align-items: center; backdrop-filter: blur(16px); background: rgba(255,254,250,.94); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; min-height: 82px; padding: 0 clamp(24px,6vw,92px); position: sticky; top: 0; z-index: 20; }
.brand, .footer-brand { align-items: center; display: flex; gap: 12px; }
.brand-mark { align-items: center; background: var(--green); border-radius: 50%; color: #fff; display: inline-flex; font-size: 13px; font-weight: 900; height: 42px; justify-content: center; letter-spacing: -.04em; width: 42px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 16px; }
.brand small { color: var(--muted); font-size: 10px; letter-spacing: .08em; margin-top: 2px; text-transform: uppercase; }
.site-header nav { display: flex; font-size: 13px; font-weight: 700; gap: 34px; }
.site-header nav a:hover { color: var(--green); }
.header-cta { background: var(--green); border-radius: 999px; color: #fff; font-size: 12px; font-weight: 800; justify-self: end; padding: 13px 20px; }

.hero { align-items: center; background: radial-gradient(circle at 10% 10%,rgba(201,243,104,.22),transparent 28%),var(--cream); display: grid; gap: clamp(50px,8vw,120px); grid-template-columns: 1.06fr .94fr; min-height: 650px; overflow: hidden; padding: 74px clamp(24px,7vw,110px) 88px; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .14em; margin: 0 0 18px; text-transform: uppercase; }
.hero h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(46px,5.5vw,78px); font-weight: 500; letter-spacing: -.055em; line-height: .98; margin: 0; max-width: 760px; }
.hero-lead { color: var(--muted); font-size: clamp(16px,1.4vw,20px); line-height: 1.62; margin: 28px 0 0; max-width: 640px; }
.hero-actions { align-items: center; display: flex; gap: 28px; margin-top: 34px; }
.primary-button, .amazon-button { background: var(--orange); border: 0; border-radius: 5px; color: #fff; display: inline-block; font-size: 13px; font-weight: 900; padding: 16px 23px; }
.text-link { align-items: center; display: inline-flex; font-size: 13px; font-weight: 800; gap: 8px; }
.text-link span, .guide-content a span { color: var(--orange); }
.trust-list { display: flex; flex-wrap: wrap; gap: 14px 24px; list-style: none; margin: 36px 0 0; padding: 0; }
.trust-list li { color: var(--muted); font-size: 12px; font-weight: 700; }
.trust-list span { color: var(--green); margin-right: 5px; }
.hero-visual { background: var(--green-dark); border-radius: 8px; box-shadow: 0 34px 80px rgba(24,46,37,.24); min-height: 465px; overflow: hidden; padding: 30px; position: relative; transform: rotate(1.5deg); }
.garage-grid { background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px); background-size: 28px 28px; inset: 0; position: absolute; }
.visual-label { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 800; letter-spacing: .16em; position: relative; text-transform: uppercase; }
.tool-card { align-items: center; background: var(--paper); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; box-shadow: 0 16px 32px rgba(0,0,0,.18); display: flex; gap: 14px; position: absolute; }
.tool-card small, .tool-card strong { display: block; }
.tool-card small { color: var(--muted); font-size: 10px; margin-bottom: 5px; }
.tool-card strong { font-size: 16px; }
.tool-card p { color: var(--muted); font-size: 10px; margin: 7px 0 0; }
.tool-card-main { left: 13%; padding: 24px; right: 13%; top: 29%; }
.tool-card-left, .tool-card-right { bottom: 22%; padding: 16px 18px; width: 42%; }
.tool-card-left { left: 6%; } .tool-card-right { right: 6%; }
.tool-icon, .mini-icon { align-items: center; background: var(--lime); border-radius: 7px; display: flex; justify-content: center; }
.tool-icon { font-size: 26px; height: 64px; width: 64px; }
.mini-icon { font-size: 18px; height: 42px; width: 42px; }
.score { align-items: center; background: var(--green); border-radius: 50%; color: #fff; display: flex; font-weight: 900; height: 38px; justify-content: center; margin-left: auto; width: 38px; }
.visual-footer { bottom: 26px; color: rgba(255,255,255,.72); display: flex; font-size: 10px; justify-content: space-between; left: 30px; position: absolute; right: 30px; }
.pulse-dot { background: var(--lime); border-radius: 50%; display: inline-block; height: 6px; margin-left: auto; margin-right: 5px; width: 6px; }

.section-shell { padding: 96px clamp(24px,7vw,110px); }
.section-heading { align-items: end; display: flex; gap: 40px; justify-content: space-between; margin-bottom: 46px; }
.section-heading h2, .newsletter h2 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(34px,4vw,54px); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 380px; }
.selector-layout { display: grid; gap: 54px; grid-template-columns: .82fr 1.18fr; }
.need-grid { display: grid; gap: 10px; }
.need-button { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); cursor: pointer; display: flex; font-size: 15px; font-weight: 800; gap: 16px; padding: 18px 20px; text-align: left; transition: .2s ease; width: 100%; }
.need-button span { align-items: center; background: var(--cream); border-radius: 5px; display: flex; font-size: 19px; height: 38px; justify-content: center; width: 38px; }
.need-button:hover, .need-button.active { background: var(--green); border-color: var(--green); color: #fff; transform: translateX(5px); }
.need-button.active span { background: var(--lime); color: var(--ink); }
.recommendation { background: var(--cream); border-radius: 8px; min-height: 360px; padding: clamp(28px,4vw,48px); }
.recommendation-top { align-items: center; display: flex; gap: 18px; }
.recommendation-icon { align-items: center; background: var(--lime); border-radius: 7px; display: flex; font-size: 27px; height: 62px; justify-content: center; width: 62px; }
.recommendation small { color: var(--muted); font-size: 10px; }
.recommendation h3 { font-family: Georgia,"Times New Roman",serif; font-size: 32px; font-weight: 500; margin: 4px 0 0; }
.recommendation > p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 24px 0; }
.check-title { font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.recommendation ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 14px 0 26px; padding: 0; }
.recommendation li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 11px; font-weight: 700; padding: 8px 11px; }
.affiliate-note { color: var(--muted); display: block; font-size: 10px; line-height: 1.45; margin-top: 12px; }
.method-strip { background: var(--green); color: #fff; display: grid; grid-template-columns: repeat(3,1fr); padding: 66px clamp(24px,7vw,110px); }
.method-strip > div { border-right: 1px solid rgba(255,255,255,.18); padding: 0 44px; }
.method-strip > div:first-child { padding-left: 0; } .method-strip > div:last-child { border: 0; padding-right: 0; }
.method-number { color: var(--lime); font-size: 11px; font-weight: 900; }
.method-strip h3 { font-size: 17px; margin: 16px 0 10px; }
.method-strip p { color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.6; margin: 0; max-width: 310px; }
.guides { background: var(--cream); }
.guide-grid { display: grid; gap: 22px; grid-template-columns: repeat(3,1fr); }
.guide-card { background: var(--paper); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.guide-art { align-items: flex-end; display: flex; height: 190px; justify-content: space-between; overflow: hidden; padding: 22px; position: relative; }
.guide-art::before { border: 1px solid rgba(21,35,29,.14); border-radius: 50%; content: ""; height: 210px; position: absolute; right: -60px; top: -70px; width: 210px; }
.guide-art > span { align-items: center; background: var(--paper); border-radius: 50%; display: flex; font-size: 38px; height: 90px; justify-content: center; position: relative; width: 90px; }
.guide-art small { font-weight: 900; letter-spacing: .12em; position: relative; }
.art-1 { background: var(--lime); } .art-2 { background: #b7d8cd; } .art-3 { background: #ffc4a9; }
.guide-content { padding: 24px; }
.guide-meta { color: var(--muted); display: flex; font-size: 10px; font-weight: 800; justify-content: space-between; text-transform: uppercase; }
.guide-content h3 { font-family: Georgia,"Times New Roman",serif; font-size: 23px; font-weight: 500; line-height: 1.2; margin: 17px 0 12px; }
.guide-content p { color: var(--muted); font-size: 12px; line-height: 1.6; margin: 0 0 22px; }
.guide-content a { font-size: 12px; font-weight: 900; }
.newsletter { align-items: center; background: var(--lime); display: grid; gap: 80px; grid-template-columns: 1fr 1fr; padding: 76px clamp(24px,7vw,110px); }
.newsletter > div > p:last-child { line-height: 1.6; max-width: 560px; }
.newsletter .status-card { background: var(--paper); border: 1px solid var(--ink); border-radius: 7px; padding: 26px; }
.newsletter .status-card strong { display: block; margin-bottom: 8px; }
.newsletter .status-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 0; }
.site-footer { background: var(--ink); color: #fff; display: grid; gap: 34px; grid-template-columns: 1fr auto; padding: 62px clamp(24px,7vw,110px) 36px; }
.footer-brand .brand-mark { background: var(--lime); color: var(--ink); }
.footer-brand p { color: rgba(255,255,255,.58); font-size: 11px; margin: 5px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; font-size: 11px; font-weight: 800; gap: 24px; }
.footer-disclosure, .copyright { border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.58); font-size: 10px; grid-column: 1/-1; line-height: 1.6; margin: 0; padding-top: 22px; }
.copyright { border: 0; padding: 0; }

.content-shell { margin: 0 auto; max-width: 900px; padding: 76px 24px 110px; }
.content-shell .kicker { color: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.content-shell h1 { font-family: Georgia,"Times New Roman",serif; font-size: clamp(38px,5vw,62px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; margin: 16px 0 22px; }
.content-shell h2 { font-family: Georgia,"Times New Roman",serif; font-size: 31px; font-weight: 500; margin-top: 46px; }
.content-shell h3 { font-size: 18px; margin-top: 34px; }
.content-shell p, .content-shell li { color: #3c4c45; font-size: 17px; line-height: 1.78; }
.content-shell .post-meta { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; margin-bottom: 36px; padding-bottom: 18px; }
.content-shell .affiliate-box { background: var(--cream); border-left: 4px solid var(--orange); margin: 30px 0; padding: 22px; }
.archive-grid { display: grid; gap: 22px; grid-template-columns: repeat(2,1fr); margin-top: 40px; }
.archive-card { border: 1px solid var(--line); border-radius: 7px; padding: 26px; }
.archive-card h2 { font-size: 27px; margin: 10px 0 12px; }
.archive-card p { font-size: 14px; line-height: 1.6; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; width: 100%; }
  .selector-layout, .newsletter { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .method-strip { gap: 34px; grid-template-columns: 1fr; }
  .method-strip > div, .method-strip > div:first-child, .method-strip > div:last-child { border-bottom: 1px solid rgba(255,255,255,.18); border-right: 0; padding: 0 0 30px; }
  .method-strip > div:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 650px) {
  .notice { align-items: flex-start; font-size: 10px; justify-content: flex-start; line-height: 1.4; }
  .site-header { min-height: 70px; padding: 0 18px; }
  .brand small, .header-cta { display: none; }
  .hero { min-height: auto; padding: 56px 20px 64px; }
  .hero h1 { font-size: 46px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 390px; padding: 22px; transform: none; }
  .tool-card-main { left: 7%; right: 7%; }
  .tool-card-left, .tool-card-right { width: 44%; }
  .tool-card strong { font-size: 13px; }
  .section-shell { padding: 68px 20px; }
  .section-heading { align-items: flex-start; flex-direction: column; margin-bottom: 32px; }
  .guide-grid, .archive-grid { grid-template-columns: 1fr; }
  .newsletter { gap: 34px; padding: 62px 20px; }
  .site-footer { grid-template-columns: 1fr; padding: 52px 20px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
