/* Estudio Raíz — demo de Pathma. Identidad propia: verde petróleo, arena y menta. */
:root{
  --ink:#0e2a2f; --teal:#14565e; --teal-d:#0f444b; --sand:#f4f0e8; --paper:#fbf9f4; --mint:#7fd1b9; --mint-100:#dcf1ea;
  --brass:#8a5d0f; --muted:#4f6468; --line:#ddd6c6;
  --serif:"Newsreader",Georgia,"Times New Roman",serif; --sans:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --r:18px; --shadow:0 10px 28px rgb(14 42 47 / .10); --wrap:1100px; --gut:clamp(1.1rem,4vw,2rem);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:90px}
body{margin:0;background:var(--sand);color:var(--ink);font:400 1.0625rem/1.6 var(--sans);-webkit-font-smoothing:antialiased}
svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.12;margin:0;letter-spacing:-.01em}
p{margin:0} ul,ol{list-style:none;margin:0;padding:0}
:focus-visible{outline:3px solid var(--teal);outline-offset:3px;border-radius:6px}
.wrap{width:min(100% - 2*var(--gut),var(--wrap));margin-inline:auto}
.narrow{max-width:760px}
.skip{position:absolute;left:-999px;top:0;background:var(--ink);color:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:8px;top:8px}

.demo-bar{background:var(--ink);color:#fff;font-size:.875rem;display:flex;gap:.75rem 1.25rem;flex-wrap:wrap;justify-content:center;align-items:center;padding:.55rem var(--gut);text-align:center}
.demo-bar a{color:var(--mint);font-weight:600}

.site-header{position:sticky;top:0;z-index:50;background:rgb(244 240 232 / .94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.bar{display:flex;align-items:center;justify-content:space-between;min-height:68px}
.brand{display:flex;align-items:center;gap:.6rem;text-decoration:none;font:600 1.3rem var(--serif)}
.menu{display:flex;gap:1.5rem;align-items:center}
.menu a{text-decoration:none;font-weight:500;font-size:.96rem}
.menu a:not(.btn):hover{color:var(--teal)}
.menu-btn{display:none;background:none;border:0;width:44px;height:44px;cursor:pointer;position:relative}
.menu-btn span{position:absolute;left:11px;right:11px;height:2px;background:var(--ink);transition:transform .25s,top .25s}
.menu-btn span:first-child{top:18px}.menu-btn span:last-child{top:26px}
.menu-btn[aria-expanded="true"] span:first-child{top:22px;transform:rotate(45deg)}
.menu-btn[aria-expanded="true"] span:last-child{top:22px;transform:rotate(-45deg)}

.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:.75rem 1.6rem;border-radius:999px;border:2px solid var(--teal);background:var(--teal);color:#fff;font:600 1rem var(--sans);text-decoration:none;cursor:pointer;transition:background .2s,transform .2s}
.btn:hover{background:var(--teal-d);border-color:var(--teal-d);transform:translateY(-1px)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-ghost:hover{background:var(--ink);border-color:var(--ink);color:#fff}
.btn-sm{min-height:42px;padding:.5rem 1.2rem;font-size:.95rem}
.menu a.btn{color:#fff}

.hero{padding:clamp(2.5rem,6vw,4.8rem) 0}
.hero-grid{display:grid;gap:2.5rem;align-items:center}
.eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brass);margin-bottom:.9rem}
.hero h1{font-size:clamp(2.2rem,5.4vw,3.8rem);margin-bottom:1.1rem}
.lead{font-size:clamp(1.05rem,1.6vw,1.2rem);color:var(--muted);max-width:36rem}
.cta-row{display:flex;gap:.8rem;flex-wrap:wrap;margin:1.7rem 0 1.4rem}
.trust{display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;font-size:.9rem;color:var(--muted)}
.trust li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--teal);margin-right:.5rem;vertical-align:middle}
.card-pro{background:var(--ink);color:#e8f1ef;border-radius:24px;padding:clamp(1.6rem,3vw,2.2rem);box-shadow:var(--shadow);max-width:430px;width:100%;margin-inline:auto}
.avatar{width:72px;height:72px;border-radius:50%;background:var(--mint);color:var(--ink);display:grid;place-items:center;font:600 1.6rem var(--serif);margin-bottom:1.1rem}
.card-pro h2{font-size:1.5rem;color:#fff;margin-bottom:.5rem}
.card-pro p{color:#c3d5d2;font-size:.98rem}
.card-pro dl{margin:1.2rem 0 0}
.card-pro dl div{padding:.7rem 0;border-top:1px solid rgb(255 255 255 / .14)}
.card-pro dt{font-size:.8rem;color:#9fbbb7}
.card-pro dd{margin:0;font-weight:600}

.section{padding:clamp(3rem,7vw,5rem) 0}
.tint{background:var(--paper);border-block:1px solid var(--line)}
.head{max-width:40rem;margin-bottom:2rem}
.head h2,.two h2{font-size:clamp(1.8rem,4vw,2.6rem);margin-bottom:.8rem}
.head p:last-child{color:var(--muted)}
.warn{background:#fff4d6;border:1px solid #ecd48f;border-radius:12px;padding:.6rem .9rem;color:#5c3f00!important;font-size:.95rem}

.cards{display:grid;gap:1rem}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;display:flex;flex-direction:column;gap:.5rem;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.card svg{width:44px;height:44px;padding:9px;border-radius:12px;background:var(--mint-100);fill:none;stroke:var(--teal);stroke-width:2;stroke-linecap:round;stroke-linejoin:round;margin-bottom:.4rem}
.card h3{font-size:1.3rem}
.card p{color:var(--muted);flex:1;font-size:.97rem}
.card span{font-size:.82rem;font-weight:600;color:var(--teal);border-top:1px dashed var(--line);padding-top:.7rem;margin-top:.4rem}

.steps{display:grid;gap:1rem}
.steps li{background:var(--sand);border:1px solid var(--line);border-radius:var(--r);padding:1.5rem}
.steps b{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--teal);color:#fff;margin-bottom:.8rem}
.steps h3{font-size:1.3rem;margin-bottom:.3rem}
.steps p{color:var(--muted)}

.quotes{display:grid;gap:1rem}
figure{margin:0;background:#fff;border:1px solid var(--line);border-left:5px solid var(--mint);border-radius:var(--r);padding:1.5rem}
figure blockquote{margin:0;font:500 1.25rem/1.4 var(--serif)}
figcaption{margin-top:.8rem;font-size:.9rem;color:var(--muted)}

details{border-bottom:1px solid var(--line);padding:1rem 0}
summary{cursor:pointer;font-weight:600;list-style:none;display:flex;justify-content:space-between;gap:1rem;min-height:32px}
summary::after{content:"+";font-size:1.4rem;line-height:1;color:var(--teal)}
details[open] summary::after{content:"–"}
details p{color:var(--muted);margin-top:.5rem}

.two{display:grid;gap:2.2rem}
form,.done{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(1.2rem,3vw,2rem);box-shadow:var(--shadow)}
.field{margin-bottom:1.1rem}
label{display:block;font-weight:600;margin-bottom:.4rem}
input,select{width:100%;min-height:48px;border:1.5px solid #b9b19e;border-radius:12px;padding:.7rem 1rem;font:inherit;background:#fff;color:var(--ink)}
fieldset{border:0;margin:0 0 1.1rem;padding:0;min-width:0}
legend{font-weight:600;margin-bottom:.5rem;padding:0}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}
.chip{border:1.5px solid var(--line);background:var(--sand);color:var(--ink);border-radius:999px;padding:.5rem 1rem;font:500 .95rem var(--sans);cursor:pointer;min-height:44px}
.chip:hover:not([disabled]){border-color:var(--teal)}
.chip[aria-checked="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.hint{color:var(--muted);font-size:.92rem}
.err{color:#a32217;font-size:.92rem;min-height:1.3em;margin-bottom:.4rem}
.done{display:grid;gap:.9rem}
.done[hidden],form[hidden]{display:none}
.ok{font-weight:600;color:var(--teal-d)}
.done blockquote{margin:0;background:var(--mint-100);border-left:4px solid var(--teal);border-radius:0 12px 12px 0;padding:.9rem 1rem;font-size:.97rem}
.link{background:none;border:0;color:var(--ink);text-decoration:underline;font:500 .95rem var(--sans);cursor:pointer;padding:.5rem;justify-self:start}

.site-footer{padding:2rem 0;font-size:.9rem;color:var(--muted);text-align:center}
.site-footer a{color:var(--ink);font-weight:600}

@media (min-width:700px){.cards{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:repeat(3,1fr)}.quotes{grid-template-columns:1fr 1fr}}
@media (min-width:900px){.hero-grid{grid-template-columns:1.15fr .85fr}.cards{grid-template-columns:repeat(4,1fr)}.two{grid-template-columns:.8fr 1.2fr;align-items:start}}
@media (max-width:819px){
  .menu-btn{display:block}
  .menu{position:absolute;left:0;right:0;top:100%;background:var(--sand);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:0;padding:.5rem var(--gut) 1.2rem;display:none}
  .menu.open{display:flex}
  .menu li a{display:flex;padding:.9rem 0;border-bottom:1px solid var(--line)}
  .menu li:last-child a{border:0;margin-top:.7rem;justify-content:center;padding:.5rem}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
