/* Zak's Pawn Shop theme. Mobile-first. Design tokens come from the original design. */

/* Fonts: self-hosted (see assets/fonts). Fallback stacks keep layout close if files are missing. */
@font-face{font-family:"Archivo";font-style:normal;font-weight:400 900;font-stretch:62% 125%;font-display:swap;src:url("../fonts/archivo-var.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/atkinson-400.woff2") format("woff2")}
@font-face{font-family:"Atkinson Hyperlegible";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/atkinson-700.woff2") format("woff2")}

:root{
  color-scheme:dark;
  --bg:#0B1713; --surface:#13241D; --ink:#EAF2EC; --muted:#A7BAAF; --line:#2B4036;
  --green:#1E6B50; --on-green:#F3F8F4;
  --gold:#F2B705; --gold-deep:#D99E00; --on-gold:#231A00;
  --ticket:#F3CDD1; --ticket-ink:#3A1218; --ticket-line:#C98F97;
  --danger:#FF8A80; --focus:#9CC2FF;
  --footer-bg:#071410; --footer-ink:#F3F8F4; --footer-muted:#B9CDC2; --footer-line:#24382F;
  --display:"Archivo","Arial Narrow","Helvetica Neue",Arial,sans-serif;
  --body:"Atkinson Hyperlegible",Verdana,"Segoe UI",Arial,sans-serif;
}
/* Light mode (the dark values above are the default; the header button and the Customizer switch between them) */
:root[data-theme="light"]{
  color-scheme:light;
  --bg:#EDF2EE; --surface:#FFFFFF; --ink:#10261E; --muted:#47594F; --line:#C5D1C9;
  --green:#14523D; --on-green:#F3F8F4;
  --gold-deep:#8A6400;
  --ticket:#F8D9DC; --ticket-ink:#3A1218; --ticket-line:#D9A3AA;
  --danger:#A8201A; --focus:#0B57D0;
  --footer-bg:#0E2F24; --footer-line:#2F5A4A;
}
/* The logo has dark-green text: give it a light badge on dark backgrounds */
/* Logo variants: the dark-background logo shows in dark mode, the light one in light mode */
.brand-logo.logo-dark{display:none}
:root:not([data-theme="light"]) .brand-logo.logo-dark{display:block}
:root:not([data-theme="light"]) .brand-logo.logo-light{display:none}
/* Only one logo uploaded: give it a light badge on dark backgrounds */
:root:not([data-theme="light"]) .brand-logo.needs-badge{display:block;background:#EDF2EE;border-radius:10px;padding:.3rem .6rem;height:2.75rem;box-sizing:content-box}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:1rem}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.125rem;line-height:1.5;overflow-wrap:break-word}
img,svg,video{max-width:100%;height:auto}
a{color:inherit}
h1,h2,h3{font-family:var(--display);margin:0;line-height:1.05}
p{margin:0}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:6px}
[hidden]{display:none!important}
.wrap{max-width:68rem;margin:0 auto;padding:0 1.25rem}
.screen-reader-text,.hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hp{left:-9999px}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:var(--bg);padding:.75rem 1rem;z-index:100}
.skip-link:focus{left:.5rem;top:.5rem}

/* header */
.top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem 1rem;padding:.75rem 0}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;margin-right:auto;flex:none}
.brand svg{width:2.6rem;height:2.6rem;flex:none}
.brand-logo{width:auto;height:2rem;max-width:100%;display:block}
@media (min-width:40rem){.brand-logo{height:2.9rem}}
.brand span{font-family:var(--display);font-stretch:112%;font-weight:800;font-size:1.25rem;letter-spacing:-.01em}
.lang{display:flex;border:2px solid var(--ink);border-radius:999px;overflow:hidden;flex:none}
.lang a{display:flex;align-items:center;font:700 1rem var(--body);color:var(--ink);text-decoration:none;padding:.55rem .95rem;min-height:44px}
.lang a[aria-current="true"]{background:var(--ink);color:var(--bg)}
/* language switch with full names: on phones and tablets it sits on its own row under the logo and buttons */
.lang-header{display:flex;order:5;flex:0 0 100%;max-width:22rem}
.lang-header a{flex:1;justify-content:center}

/* round icon buttons (menu, close) */
.nav-toggle,.drawer-close{display:none;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:2px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
html.js .nav-toggle,html.js .drawer-close{display:inline-flex}
.nav-toggle svg,.drawer-close svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.nav-toggle:hover,.drawer-close:hover{background:var(--ink);color:var(--bg)}

/* menu: without JS it is a plain list under the logo */
.site-nav{order:3;width:100%}
.site-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.site-nav a{display:block;padding:.7rem .25rem;min-height:44px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--line)}
.site-nav a:hover{text-decoration:underline}
.drawer-head,.lang-drawer,.nav-backdrop,.site-nav .drawer-call{display:none}

/* phones and tablets (JS on): the menu is a drawer that slides in from the right */
@media (max-width:63.99rem){
  html.js .site-nav{position:fixed;top:0;right:0;bottom:0;order:0;width:min(88vw,22rem);margin:0;z-index:200;padding:1rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom,0px));overflow-y:auto;background:var(--surface);border-left:2px solid var(--line);box-shadow:-14px 0 36px rgba(0,0,0,.4);transform:translateX(105%);visibility:hidden;transition:transform .3s ease,visibility 0s linear .3s}
  html.js .site-nav.is-open{transform:none;visibility:visible;transition:transform .3s ease}
  html.js .site-nav a{font-size:1.15rem}
  html.js .drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
  html.js .drawer-title{font:800 1.3rem var(--display);font-stretch:108%}
  html.js .lang-drawer{display:flex;width:fit-content;margin-bottom:.75rem}
  html.js .site-nav .drawer-call{display:flex;margin-top:1.5rem}
  html.js .nav-backdrop{display:block;position:fixed;inset:0;z-index:190;background:rgba(0,0,0,.6);opacity:0;visibility:hidden;transition:opacity .3s ease,visibility 0s linear .3s}
  html.js .nav-backdrop.is-on{opacity:1;visibility:visible;transition:opacity .3s ease}
  html.nav-open,html.nav-open body{overflow:hidden}
}
@media (prefers-reduced-motion:reduce){html.js .site-nav,html.js .nav-backdrop{transition:none}}

/* 64rem+: menu always visible, on its own row under the logo and language switch (works for long Spanish labels too; never squeezes the logo) */
@media (min-width:64rem){
  .lang-header{order:0;flex:none;max-width:none}
  .lang-header a{flex:none}
  html.js .nav-toggle{display:none}
  .site-nav{display:block;order:3;width:100%;border-top:1px solid var(--line)}
  .site-nav ul{display:flex;flex-wrap:wrap;gap:0 1.5rem}
  .site-nav a{border:0;padding:.6rem 0;white-space:nowrap}
}

/* hero */
.hero{display:grid;gap:2rem;padding:1.5rem 0 3rem}
.hero h1{font-stretch:118%;font-weight:900;font-size:clamp(2.6rem,10.5vw,5.4rem);letter-spacing:-.035em;line-height:.95;text-wrap:balance}
.hero p{font-size:1.2rem;color:var(--muted);max-width:32rem;margin-top:1.25rem}
.actions{display:grid;gap:.75rem;align-content:start}
.act{display:grid;grid-template-columns:1fr auto;align-items:center;gap:.25rem 1rem;text-decoration:none;padding:1.15rem 1.25rem;border-radius:14px;border:2px solid var(--ink);background:var(--surface);color:var(--ink)}
.act b{font-family:var(--display);font-stretch:108%;font-weight:800;font-size:1.45rem;line-height:1.1}
.act small{grid-column:1;font-size:1rem;color:var(--muted)}
.act svg{grid-row:1 / span 2;grid-column:2;width:1.6rem;height:1.6rem}
.act.primary{background:var(--gold);border-color:var(--gold);color:var(--on-gold);padding:1.5rem 1.25rem}
.act.primary b{font-size:1.75rem}
.act.primary small{color:var(--on-gold)}
.act.green{background:var(--green);border-color:var(--green);color:var(--on-green)}
.act.green small{color:var(--on-green)}
.act:active{transform:translateY(1px)}
@media (min-width:56rem){
  .hero{grid-template-columns:1.25fr 1fr;align-items:center;gap:3.5rem;padding:3rem 0 5rem}
}

/* sections */
.band{padding:3rem 0;border-top:2px solid var(--ink)}
.band h2,.content h2{font-stretch:112%;font-weight:800;font-size:clamp(1.7rem,5vw,2.4rem);letter-spacing:-.02em;margin-bottom:1.5rem}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:1.5rem;counter-reset:s}
.steps li{counter-increment:s;display:grid;grid-template-columns:3rem 1fr;gap:1rem}
.steps li::before{content:counter(s);font-family:var(--display);font-weight:900;font-stretch:118%;font-size:2.4rem;line-height:1;color:var(--gold-deep)}
.steps h3{font-size:1.25rem;font-weight:800;font-stretch:105%;margin-bottom:.3rem}
.steps p{color:var(--muted)}
@media (min-width:56rem){.steps{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
@media (min-width:40rem){.items{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}}
@media (min-width:56rem){.items{grid-template-columns:repeat(4,minmax(0,1fr))}}
.items>li{display:flex;min-width:0}
.item{display:flex;flex-direction:column;min-width:0;overflow-wrap:anywhere;align-items:flex-start;gap:.75rem;width:100%;min-height:8.5rem;padding:1rem;background:var(--surface);border:2px solid var(--line);border-radius:14px;font-family:var(--display);font-stretch:108%;font-weight:800;font-size:1.1rem;line-height:1.15}
.item-icon{display:grid;place-items:center;flex:none;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--gold);color:var(--on-gold)}
.item-icon svg{width:1.5rem;height:1.5rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.item-name{margin-top:auto}
.item-more{text-decoration:none;background:var(--green);border-color:var(--green);color:var(--on-green)}
.item-more .item-sub{font-family:var(--body);font-weight:400;font-size:1rem;text-decoration:underline}
.item-more-wrap{grid-column:1/-1}
.item-more{flex-direction:row;flex-wrap:wrap;align-items:center;min-height:0;gap:.5rem 1rem;padding:1rem 1.25rem}
.item-more .item-name{margin:0}
.item-more .item-sub{margin-left:auto}
.item-more:hover{filter:brightness(1.1)}
.take-note{margin-top:1.25rem;color:var(--muted)}
.visit{display:grid;gap:1.5rem}
.visit address{font-style:normal;font-size:1.3rem;line-height:1.35}
.visit dl,.contact-facts{margin:1rem 0 0;display:grid;gap:.75rem}
.visit dt{font-weight:700}
.visit dd{margin:0;color:var(--muted)}
@media (min-width:56rem){.visit{grid-template-columns:1fr 1fr}}
.quotes{display:grid;gap:1rem}
@media (min-width:56rem){.quotes{grid-template-columns:repeat(3,1fr)}}
.quote{margin:0;background:var(--surface);border:2px solid var(--line);border-radius:14px;padding:1.25rem}
.quote blockquote{margin:0 0 .75rem}
.quote figcaption{font-weight:700;color:var(--muted)}
.faq{display:grid;gap:.6rem}
.faq details{background:var(--surface);border:2px solid var(--line);border-radius:12px}
.faq summary{cursor:pointer;font-weight:700;padding:1rem 1.1rem;min-height:56px;display:flex;align-items:center}
.faq-answer{padding:0 1.1rem 1rem;color:var(--muted)}

/* visit section */
.visit-grid{display:grid;gap:1.75rem}
.visit-info address{font-style:normal;font-size:1.3rem;line-height:1.35}
.facts{margin:1.25rem 0 0;display:grid;gap:.6rem}
.fact{display:flex;align-items:flex-start;gap:.9rem;padding:.85rem 1rem;background:var(--surface);border:2px solid var(--line);border-radius:12px}
.fact-icon{display:grid;place-items:center;flex:none;width:2.5rem;height:2.5rem;border-radius:50%;background:var(--gold);color:var(--on-gold)}
.fact-icon svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.fact dt{font-weight:700}
.fact dd{margin:0;color:var(--muted)}
.fact dd a{display:inline-block;padding:.15rem 0}
.visit-map{display:grid;gap:.5rem;align-content:start}
.map{position:relative;aspect-ratio:4/3;width:100%;min-height:16rem;border:2px solid var(--ink);border-radius:14px;overflow:hidden;background:var(--surface)}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-link{justify-self:start;padding:.5rem 0;min-height:44px;font-weight:700}
@media (min-width:56rem){
  .visit-grid.has-map{grid-template-columns:1fr 1.1fr;gap:2.5rem;align-items:stretch}
  .visit-grid.has-map .map{aspect-ratio:auto;height:calc(100% - 3rem);min-height:26rem}
  .visit-grid:not(.has-map){grid-template-columns:1fr}
}

/* footer */
.site-footer{background:var(--footer-bg);color:var(--footer-ink);margin-top:3rem;padding:3rem 0 calc(1.5rem + env(safe-area-inset-bottom,0px));font-size:1rem}
.site-footer a{color:inherit}
.site-footer a:focus-visible{outline-color:#9CC2FF}
.footer-grid{display:grid;gap:2rem}
.footer-brand .brand-logo{height:2.9rem}
.footer-brand .brand-logo.needs-badge{background:#EDF2EE;border-radius:10px;padding:.4rem .7rem;box-sizing:content-box}
.footer-brand .brand-logo.logo-dark{display:block}
.footer-brand p{margin-top:1rem;max-width:22rem;color:var(--footer-muted)}
.footer-brand .brand-footer span{color:#fff}
.footer-social{list-style:none;margin:1rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.footer-social a{display:inline-flex;align-items:center;min-height:44px;padding:0 1rem;border:2px solid var(--footer-line);border-radius:999px;text-decoration:none;font-weight:700}
.footer-social a:hover{border-color:var(--gold);color:var(--gold)}
.footer-col h2{font-size:1.1rem;font-stretch:108%;font-weight:800;letter-spacing:.01em;margin-bottom:.9rem;color:#fff}
.footer-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.15rem}
.footer-col li a{display:inline-block;padding:.5rem 0;min-height:44px;text-decoration:none}
.footer-col li a:hover,a.footer-line:hover{text-decoration:underline;color:var(--gold)}
.footer-col address{font-style:normal;display:grid;gap:.6rem}
.footer-line{display:block;color:var(--footer-muted)}
a.footer-line{color:var(--footer-ink);padding:.2rem 0;font-weight:700;text-decoration:none}
.footer-bar{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid var(--footer-line);color:var(--footer-muted);font-size:.95rem}
.footer-copy{display:flex;flex-wrap:wrap;gap:.25rem 1rem;margin-right:auto}
.footer-bar ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 1.25rem}
.footer-bar ul a,.to-top{display:inline-block;padding:.6rem 0;min-height:44px}
.to-top{font-weight:700;color:var(--footer-ink)}
@media (min-width:48rem){.footer-grid{grid-template-columns:1.3fr 1fr 1.2fr;gap:3rem}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:56px;padding:.9rem 1.4rem;border-radius:12px;border:2px solid var(--ink);background:var(--surface);color:var(--ink);font:700 1.125rem var(--body);text-decoration:none;cursor:pointer;width:100%}
.btn.gold{background:var(--gold);border-color:var(--gold);color:var(--on-gold)}
.btn.plain{border-color:transparent;background:transparent;text-decoration:underline;min-height:48px}
.btn:active{transform:translateY(1px)}
@media (min-width:40rem){.stack .btn{width:auto}}

/* pages and posts */
.content{padding:1rem 0 4rem;max-width:48rem}
.page-title{font-stretch:114%;font-weight:900;font-size:clamp(1.9rem,7vw,2.8rem);letter-spacing:-.025em;margin:.75rem 0 1rem}
.crumbs p{font-size:.95rem;color:var(--muted)}
.crumbs a{padding:.4rem 0;display:inline-block}
.meta{color:var(--muted);font-size:1rem;margin-bottom:1rem}
.entry-thumb{margin:0 0 1.5rem}
.entry-thumb img{border-radius:12px}
.entry-content>*+*{margin-top:1rem}
.entry-content h2,.entry-content h3{margin-top:2rem}
.entry-content ul,.entry-content ol{padding-left:1.4rem}
.entry-content img{border-radius:8px}
.entry-content table{display:block;overflow-x:auto;border-collapse:collapse}
.entry-content th,.entry-content td{border:1px solid var(--line);padding:.5rem .75rem;text-align:left}
.entry-content blockquote{border-left:4px solid var(--gold-deep);margin-left:0;padding-left:1rem;color:var(--muted)}
.alignwide{max-width:none}
.cards{display:grid;gap:1rem;margin-top:1.5rem}
.card{background:var(--surface);border:2px solid var(--line);border-radius:14px;padding:1.25rem}
.card h2{font-size:1.4rem;margin:.75rem 0 .25rem}
.card h2 a{text-decoration:none}
.card-thumb{display:block}
.card-thumb img{width:100%;border-radius:8px}
.post-nav{display:flex;justify-content:space-between;gap:1rem;margin-top:2rem}
.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
.pagination .page-numbers{display:inline-flex;align-items:center;min-height:44px;min-width:44px;justify-content:center;padding:0 .75rem;border:2px solid var(--ink);border-radius:10px;text-decoration:none}
.pagination .current{background:var(--ink);color:var(--bg)}
.search-form{display:grid;gap:.5rem;margin:1rem 0}
.search-form input{width:100%;font:400 1.125rem var(--body);color:var(--ink);background:var(--surface);border:2px solid var(--ink);border-radius:10px;padding:.85rem 1rem;min-height:56px}

/* forms */
.flow{max-width:34rem;padding:1rem 0 4rem}
.content .flow{padding:0}
.lede{color:var(--muted);margin-bottom:1.5rem}
.count{color:var(--muted);font-size:1rem}
.step-title{font-family:var(--display);font-stretch:114%;font-weight:900;font-size:clamp(1.6rem,6vw,2.2rem);letter-spacing:-.02em;line-height:1.05;margin:.75rem 0 .5rem;padding:0}
fieldset{border:0;padding:0;margin:0;min-width:0}
.zps-form.is-stepped .step:not(.is-current){display:none}
.zps-form:not(.is-stepped) [data-next],.zps-form:not(.is-stepped) [data-prev]{display:none}
.zps-form .step+.step{margin-top:2rem}
.zps-form.is-stepped .step+.step{margin-top:0}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.tile{position:relative;display:flex;align-items:center;min-height:76px;padding:1rem;border-radius:12px;border:2px solid var(--ink);background:var(--surface);color:var(--ink);font:700 1.1rem var(--body);cursor:pointer}
.tile input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.tile.is-checked,.tile:has(input:checked){background:var(--green);border-color:var(--green);color:var(--on-green)}
.tile:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}
.field{display:grid;gap:.4rem;margin-bottom:1.25rem}
.field label,.field legend{font-weight:700;padding:0}
.field .hint{color:var(--muted);font-size:1rem}
input[type=text],input[type=tel],input[type=email],input[type=search],textarea{width:100%;font:400 1.125rem var(--body);color:var(--ink);background:var(--surface);border:2px solid var(--ink);border-radius:10px;padding:.85rem 1rem;min-height:56px}
textarea{min-height:6.5rem;resize:vertical}
input[type=file]{font:400 1rem var(--body);color:var(--ink);max-width:100%}
input[aria-invalid="true"],textarea[aria-invalid="true"]{border-color:var(--danger)}
.opts{display:grid;gap:.6rem}
.opt{display:flex;align-items:center;gap:.8rem;padding:.9rem 1rem;border:2px solid var(--ink);border-radius:10px;background:var(--surface);cursor:pointer;min-height:56px;font-weight:400}
.opt input{width:1.35rem;height:1.35rem;accent-color:var(--green);flex:none;margin:0}
.opt span{display:grid}
.opt em{font-style:normal;color:var(--muted);font-size:1rem}
.opt:has(input:checked){box-shadow:inset 0 0 0 2px var(--green);border-color:var(--green)}
.err{color:var(--danger);font-weight:700;margin:0 0 1rem}
.stack{display:grid;gap:.6rem;margin-top:1.5rem}
@media (min-width:40rem){.stack{display:flex;flex-wrap:wrap}}
.note{border-left:4px solid var(--gold-deep);padding:.25rem 0 .25rem 1rem;color:var(--muted);margin:1.25rem 0}

/* quote page */
.quote-page{padding:1rem 0 4rem}
.quote-head{margin-bottom:1.5rem;max-width:40rem}
.quote-head .page-title{margin:.5rem 0 .6rem}
.quote-head .lede{margin:0;font-size:1.2rem}
.quote-layout{display:grid;gap:1.5rem;align-items:start}
.quote-card{background:var(--surface);border:2px solid var(--ink);border-radius:18px;padding:1.25rem}
.quote-card .step-title{font-size:clamp(1.5rem,5vw,2rem)}
.progress{display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem;margin-bottom:.6rem}
.progress span{height:.5rem;border-radius:999px;background:var(--line)}
.progress span.is-on{background:var(--gold)}
.quote-card .tiles{grid-template-columns:repeat(auto-fill,minmax(7.5rem,1fr))}
.quote-card .tile{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.7rem;min-height:7.5rem;font-size:1.05rem;line-height:1.15}
.tile-icon{display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:50%;background:var(--gold);color:var(--on-gold)}
.tile-icon svg{width:1.4rem;height:1.4rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tile-name{margin-top:auto}
.quote-card .step .stack{margin-top:1.5rem}
.quote-aside{display:grid;gap:1rem}
.aside-card{background:var(--surface);border:2px solid var(--line);border-radius:18px;padding:1.25rem}
.aside-card h2{font-size:1.3rem;font-stretch:108%;font-weight:800;letter-spacing:-.01em;margin-bottom:1rem}
.mini-steps{list-style:none;margin:0;padding:0;display:grid;gap:1rem;counter-reset:m}
.mini-steps li{counter-increment:m;display:grid;grid-template-columns:2rem 1fr;gap:0 .75rem}
.mini-steps li::before{content:counter(m);grid-row:1 / span 2;display:grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:var(--green);color:var(--on-green);font:800 1rem var(--display)}
.mini-steps b{font-weight:700}
.mini-steps span{color:var(--muted);font-size:1rem}
.aside-contact{background:var(--green);border-color:var(--green);color:var(--on-green)}
.aside-contact h2{color:var(--on-green)}
.aside-contact p{color:var(--on-green);opacity:.9;margin-top:.4rem}
.aside-phone{display:inline-block;font:900 1.9rem var(--display);font-stretch:108%;text-decoration:none;color:var(--gold);padding:.15rem 0}
.aside-contact .map-link{color:var(--on-green)}
@media (min-width:56rem){
  .quote-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:2rem}
  .quote-card{padding:2rem}
  .quote-aside{position:sticky;top:1rem}
}

/* the pawn ticket */
.ticket{position:relative;background:var(--ticket);color:var(--ticket-ink);padding:1.5rem 1.25rem;margin:1.75rem 0}
.ticket::before,.ticket::after{content:"";position:absolute;left:0;right:0;height:14px;background:radial-gradient(circle at 10px 7px,var(--bg) 6px,transparent 6.6px) repeat-x;background-size:20px 14px}
.ticket::before{top:-7px}.ticket::after{bottom:-7px}
.ticket .shop{font-family:var(--display);font-stretch:118%;font-weight:900;font-size:1.05rem;letter-spacing:-.01em}
.ticket .num{font-family:var(--display);font-stretch:70%;font-weight:800;font-size:2.6rem;line-height:1;font-variant-numeric:tabular-nums;margin:.35rem 0 0}
@media (prefers-reduced-motion:no-preference){
  #zps-done+.lede+.ticket{animation:print .45s cubic-bezier(.2,.8,.2,1)}
  @keyframes print{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
}
.quote-card .ticket::before,.quote-card .ticket::after{background-image:radial-gradient(circle at 10px 7px,var(--surface) 6px,transparent 6.6px)}

/* form alignment fixes */
.field label.opt,label.opt{padding:.9rem 1.1rem;font-weight:400;gap:.9rem}
.opt input{align-self:center}
.opt span{gap:.15rem}
fieldset.field{display:block}
fieldset.field>legend{display:block;margin:0 0 .6rem;padding:0;float:none;width:100%}
.field{gap:.4rem}
.field .hint{line-height:1.35}
input[type=file]{width:100%;padding:.6rem;border:2px dashed var(--ink);border-radius:10px;background:var(--surface);color:var(--muted);font:400 1rem var(--body)}
input[type=file]::file-selector-button{font:700 1rem var(--body);margin-right:.9rem;padding:.65rem 1.1rem;border:2px solid var(--ink);border-radius:8px;background:var(--surface);color:var(--ink);cursor:pointer}
.quote-card .stack{align-items:center}
@media (max-width:39.99rem){.quote-card .stack .btn.plain{width:100%}}

/* visit page */
.page-wide{padding:1rem 0 4rem}
.visit-page .map{min-height:20rem}
@media (min-width:56rem){.visit-page .visit-grid.has-map .map{min-height:30rem}}
.page-wide .band{margin-top:2.5rem}
.cta-band{display:grid;gap:1rem;align-items:center;margin-top:1rem;padding:1.5rem;background:var(--green);color:var(--on-green);border-radius:18px}
.cta-band h2{font-size:1.6rem;font-stretch:108%;font-weight:800;letter-spacing:-.01em;margin-bottom:.4rem}
.cta-band p{opacity:.92}
@media (min-width:48rem){.cta-band{grid-template-columns:1fr auto;padding:2rem}.cta-band .btn{width:auto}}

/* how-it-works page */
.how-page h2{font-stretch:112%;font-weight:800;font-size:clamp(1.7rem,5vw,2.4rem);letter-spacing:-.02em;margin-bottom:1.5rem}
.steps-cards{gap:1rem}
.steps-cards li{background:var(--surface);border:2px solid var(--line);border-radius:16px;padding:1.5rem;grid-template-columns:1fr;gap:.75rem}
.steps-cards li::before{font-size:3rem}
.steps-cards h3{font-size:1.4rem}
.steps-cards p{font-size:1.1rem}
@media (min-width:56rem){.steps-cards{gap:1.25rem}}
.facts-wide{margin-top:0}
@media (min-width:48rem){.facts-wide{grid-template-columns:repeat(3,minmax(0,1fr))}}
.cta-actions{display:grid;gap:.6rem}
@media (min-width:40rem){.cta-actions{display:flex;flex-wrap:wrap}.cta-actions .btn{width:auto}}
.cta-band .btn:not(.gold){background:transparent;color:var(--on-green);border-color:var(--on-green)}
.items-page{margin-top:0}
.page-wide .items-page+.band{margin-top:2.5rem}

/* what-we-take photo cards */
.item.has-photo{padding:0;gap:0;min-height:0;overflow:hidden;align-items:stretch}
.item-photo{display:block;aspect-ratio:4/3;width:100%;overflow:hidden;background:var(--line)}
.item-img{display:block;width:100%;height:100%;object-fit:cover}
.item-img-empty{display:grid;place-items:center;background:var(--green);color:var(--gold)}
.item-img-empty svg{width:3.5rem;height:3.5rem;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.item-body{display:flex;align-items:center;gap:.75rem;padding:.85rem 1rem}
.item-body .item-icon{width:2.4rem;height:2.4rem}
.item-body .item-name{margin:0;font-size:1.05rem}
@media (prefers-reduced-motion:no-preference){
  .item-img{transition:transform .35s ease}
  .item.has-photo:hover .item-img{transform:scale(1.05)}
}
.item-body .item-name{overflow-wrap:break-word;word-break:normal;hyphens:manual;min-width:0}
@media (max-width:39.99rem){.item-body .item-icon{display:none}.item-body{padding:.8rem .9rem}}
@media (max-width:39.99rem){.item-body .item-name{font-size:.95rem;font-stretch:100%}}
.aside-contact .map-link{display:inline-block;margin-top:.6rem}

/* theme toggle */
.theme-toggle{display:none;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:0;border:2px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
html.js .theme-toggle{display:inline-flex}
.theme-toggle svg{width:1.3rem;height:1.3rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .icon-sun{display:none}
:root:not([data-theme="light"]) .theme-toggle .icon-sun{display:block}
:root:not([data-theme="light"]) .theme-toggle .icon-moon{display:none}
:root[data-theme="light"] .theme-toggle .icon-moon{display:block}
.theme-toggle:hover{background:var(--ink);color:var(--bg)}
@media (prefers-reduced-motion:no-preference){body,.item,.fact,.quote-card,.aside-card{transition:background-color .2s,border-color .2s,color .2s}}

/* what-we-take on phones: even label area, tidy CTA bar, proper button */
.items-more{margin-top:1.25rem}
@media (min-width:40rem){.items-more .btn{width:auto}}
@media (max-width:39.99rem){
  .item-body{min-height:3.75rem;padding:.6rem .9rem}
  .item-body .item-name{line-height:1.2}
  .item-more{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.15rem 1rem;padding:1rem}
  .item-more .item-icon{grid-row:1 / span 2}
  .item-more .item-name{margin:0;font-size:1.1rem;font-stretch:100%}
  .item-more .item-sub{margin:0;grid-column:2;justify-self:start}
}

/* quote tiles with photo backgrounds and a dark overlay */
.quote-card .tile{position:relative;overflow:hidden;isolation:isolate;min-height:8.5rem;color:#fff;border-color:var(--line);background:linear-gradient(135deg,#14523D,#0B2E22)}
.tile-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .35s ease}
.quote-card .tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(5,15,11,.92) 0%,rgba(5,15,11,.6) 55%,rgba(5,15,11,.3) 100%);transition:background .2s}
.quote-card .tile .tile-name{text-shadow:0 1px 3px rgba(0,0,0,.6)}
.quote-card .tile:hover .tile-bg{transform:scale(1.06)}
.quote-card .tile.is-checked,.quote-card .tile:has(input:checked){background:linear-gradient(135deg,#14523D,#0B2E22);border-color:var(--gold);box-shadow:0 0 0 3px var(--gold);color:#fff}
.quote-card .tile.is-checked::before,.quote-card .tile:has(input:checked)::before{background:linear-gradient(to top,rgba(20,82,61,.94) 0%,rgba(20,82,61,.7) 55%,rgba(20,82,61,.45) 100%)}
.quote-card .tile.is-checked::after,.quote-card .tile:has(input:checked)::after{content:"";position:absolute;top:.6rem;right:.6rem;width:1.5rem;height:1.5rem;border-radius:50%;background:var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231A00' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/70% no-repeat}
@media (prefers-reduced-motion:reduce){.tile-bg{transition:none}.quote-card .tile:hover .tile-bg{transform:none}}
/* language switch placement by screen size: own row on phones, in the top row from 40rem up */
@media (min-width:40rem){.lang-header{order:0;flex:none;max-width:none}.lang-header a{flex:none}}
@media (max-width:22.5rem){.brand-logo{height:1.6rem}.top{column-gap:.5rem}.theme-toggle,.nav-toggle{width:40px;height:40px}}

/* ============ client content: promotion, why choose us, shop, announcement bar, trust logos ============ */
.hero .terms{font-size:.95rem;margin-top:.75rem}
.why{list-style:none;margin:0;padding:0;display:grid;gap:1rem}
.why li{background:var(--surface);border:2px solid var(--line);border-left:6px solid var(--gold);border-radius:14px;padding:1.25rem}
.why h3{font-size:1.3rem;font-weight:800;font-stretch:105%;margin-bottom:.35rem}
.why p{color:var(--muted)}
@media (min-width:56rem){.why{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}}
.shop-p{color:var(--muted);max-width:40rem}
.soon{display:grid;gap:.75rem;margin:1.5rem 0}
.soon>div{background:var(--green);color:var(--on-green);border-radius:16px;padding:1.4rem}
.soon h3{font-size:1.45rem;font-weight:800;font-stretch:108%;margin:.6rem 0 .3rem}
.soon .tag{display:inline-block;background:var(--gold);color:var(--on-gold);font-weight:700;border-radius:999px;padding:.15rem .75rem;font-size:.9rem}
@media (min-width:56rem){.soon{grid-template-columns:repeat(2,minmax(0,1fr))}}
.notify{max-width:36rem}
.notify>label[for]{display:block;font-weight:700;margin-bottom:.5rem}
.notify-row{display:grid;gap:.6rem}
.notify .opt{margin-top:.75rem}
@media (min-width:40rem){.notify-row{grid-template-columns:1fr auto}.notify-row .btn{width:auto}}
.review-links{margin-top:1.25rem}

/* announcement bar */
.ticker{background:var(--gold);color:var(--on-gold);overflow:hidden;font:800 .9rem var(--display);letter-spacing:.01em}
.ticker-track{display:flex;width:max-content}
.ticker-list{display:flex;flex:none;list-style:none;margin:0;padding:0}
.ticker-list li{white-space:nowrap;padding:.5rem 0 .5rem 1.5rem}
.ticker-list li::after{content:"\2022";margin-left:1.5rem;opacity:.55}
@media (prefers-reduced-motion:no-preference){
  .ticker-track{animation:zpsticker 48s linear infinite}
  .ticker:hover .ticker-track{animation-play-state:paused}
  @keyframes zpsticker{to{transform:translateX(-25%)}}
}
@media (prefers-reduced-motion:reduce){
  .ticker-track{width:auto;justify-content:center}
  .ticker-list[aria-hidden]{display:none}
  .ticker-list{flex-wrap:wrap;justify-content:center}
}
@media print{.ticker,.scroll-progress{display:none}}

/* reading progress line */
.scroll-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:var(--gold);transform:scaleX(0);transform-origin:0 50%;z-index:300;pointer-events:none}

/* pay-my-loan links */
.site-nav a.nav-pay{background:var(--gold);color:var(--on-gold);border-radius:999px;padding:.5rem 1rem;border-bottom:0;text-align:center}
@media (min-width:64rem){.site-nav a.nav-pay{padding:.45rem 1.1rem}}
.footer-col li a.nav-pay{color:var(--gold);font-weight:800}
.site-nav .drawer-pay{display:none}
@media (max-width:63.99rem){
  html.js .site-nav .drawer-pay{display:flex;margin-top:1.25rem}
  html.js .site-nav .drawer-pay + .drawer-call{margin-top:.6rem}
  html.js .site-nav a.nav-pay{margin:.5rem 0;font-size:1.1rem}
}

/* ============ interactivity (kept light: CSS plus a few lines of JS) ============ */
@media (prefers-reduced-motion:no-preference){
  .act,.item.has-photo,.why li,.soon>div,.quote,.fact{transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
  .act:hover,.item.has-photo:hover,.why li:hover,.soon>div:hover,.quote:hover{transform:translateY(-4px);box-shadow:0 12px 26px rgba(0,0,0,.24)}
  .act svg{transition:transform .22s ease}
  .act:hover svg{transform:translateX(6px)}
  .act.primary:hover{box-shadow:0 12px 28px rgba(242,183,5,.35)}
  .btn{transition:transform .15s ease,filter .15s ease}
  .btn:hover{filter:brightness(1.07)}
  /* scroll reveal: JS adds .reveal, then .in when the element enters the screen */
  html.js .reveal{opacity:0;translate:0 24px;transition:opacity .6s ease,translate .6s ease;transition-delay:var(--d,0s)}
  html.js .reveal.in{opacity:1;translate:0 0}
}

/* reviews as a swipeable row with arrows */
.quotes{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(86%,22rem);gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;padding-bottom:.5rem;overscroll-behavior-x:contain}
.quote{scroll-snap-align:start}
@media (min-width:56rem){.quotes{grid-template-columns:none;grid-auto-columns:calc((100% - 2rem) / 3)}}
.car-nav{display:flex;gap:.5rem;margin:-.5rem 0 1rem}
.car-nav[hidden]{display:none}
.car-btn{display:grid;place-items:center;width:44px;height:44px;border:2px solid var(--ink);border-radius:50%;background:transparent;color:var(--ink);cursor:pointer}
.car-btn svg{width:1.3rem;height:1.3rem;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.car-btn:disabled{opacity:.35;cursor:default}
.car-btn:not(:disabled):hover{background:var(--ink);color:var(--bg)}
/* elements waiting to be revealed must never catch taps meant for what is beneath them; print shows everything */
html.js .reveal:not(.in){pointer-events:none}
@media print{html.js .reveal{opacity:1!important;translate:none!important}}
/* in the phone drawer the dedicated "Pay my loan online" button replaces the menu pill */
@media (max-width:63.99rem){html.js .site-nav a.nav-pay{display:none}}

/* "Insured by / Bonded by" inside the footer: white logos straight on the dark background */
.footer-trust{display:flex;flex-wrap:wrap;align-items:flex-end;gap:1.25rem 2.5rem;margin-top:2rem;padding-top:1.5rem;border-top:1px solid var(--footer-line)}
.footer-trust-item{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem}
.footer-trust-item+.footer-trust-item{padding-left:2.5rem;border-left:1px solid var(--footer-line)}
.footer-trust-label{font:700 .78rem var(--body);color:var(--footer-muted);text-transform:uppercase;letter-spacing:.1em;white-space:nowrap}
.footer-trust-logo{display:flex;align-items:center;height:4.2rem}
.footer-trust-logo img{display:block;width:auto;height:3rem;max-width:100%;opacity:.95}
.footer-trust-logo.trust-hartford img{height:4rem}
/* full-color style: original logos on white plates */
.footer-trust.is-color .footer-trust-logo{padding:.45rem .9rem;background:#fff;border-radius:10px}
.footer-trust.is-color .footer-trust-logo img{height:2.4rem;opacity:1}
.footer-trust.is-color .footer-trust-logo.trust-hartford img{height:2.7rem}
@media (max-width:39.99rem){
  .footer-trust{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
  .footer-trust-item+.footer-trust-item{padding-left:1.25rem}
  .footer-trust-logo img{height:2.4rem}
  .footer-trust-logo.trust-hartford img{height:3.6rem}
}

/* logos live in the left footer column, under the social buttons */
.footer-brand .footer-trust{margin-top:1.5rem;padding-top:1.25rem;gap:1rem 1.5rem}
.footer-brand .footer-trust-item+.footer-trust-item{padding-left:1.5rem}

/* Shop section: livelier cards and sign-up panel */
.soon>div{position:relative;overflow:hidden}
.soon>div::after{content:"";position:absolute;right:-2.5rem;top:-2.5rem;width:9rem;height:9rem;border-radius:50%;background:rgba(255,255,255,.07);pointer-events:none}
.soon-ico{position:absolute;right:1.2rem;top:1.2rem;opacity:.85}
.soon .tag{position:relative;padding-left:1.5rem}
.soon .tag::before{content:"";position:absolute;left:.65rem;top:50%;width:.5rem;height:.5rem;margin-top:-.25rem;border-radius:50%;background:currentColor}
.notify-card{background:var(--surface,rgba(255,255,255,.04));border:1px solid var(--line,rgba(255,255,255,.18));border-top:3px solid var(--gold);border-radius:16px;padding:1.4rem;max-width:40rem}
.notify-card .notify{max-width:none}
.notify-card input[type=tel]{transition:border-color .2s ease,box-shadow .2s ease}
.notify-card input[type=tel]:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(242,181,0,.28);outline:0}
.notify-card input[type=checkbox]{accent-color:var(--gold)}
.notify-card .btn{transition:transform .2s ease,box-shadow .2s ease}
.notify-card .btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.28)}
.notify-card .btn span{display:inline-block;transition:transform .2s ease}
.notify-card .btn:hover span{transform:translateX(4px)}
.notify-card .notify-consent{border:0;background:none;padding:0}
@media (prefers-reduced-motion:no-preference){
  .soon .tag::before{animation:zpsPulse 1.8s ease-in-out infinite}
  @keyframes zpsPulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.35;transform:scale(.7)}}
}
@media (prefers-reduced-motion:reduce){.notify-card .btn,.notify-card .btn span{transition:none}}

/* Why choose us: icon badges and hover feedback */
.why li{position:relative;padding-left:5rem;transition:border-color .22s ease,background-color .22s ease}
.why-ico{position:absolute;left:1.1rem;top:1.15rem;width:2.8rem;height:2.8rem;border-radius:50%;background:var(--gold);color:var(--on-gold);display:grid;place-items:center;transition:transform .3s ease}
.why li:hover,.why li:focus-within{border-color:var(--gold)}
.why li:hover .why-ico{transform:rotate(-8deg) scale(1.1)}
@media (max-width:30rem){.why li{padding-left:1.25rem;padding-top:4.4rem}}
@media (prefers-reduced-motion:reduce){.why-ico,.why li{transition:none}.why li:hover .why-ico{transform:none}}

/* "Ready to start?" band: photo behind a green overlay, like the Shop cards */
.cta-band{position:relative;overflow:hidden;isolation:isolate;background:linear-gradient(90deg,var(--green) 0%,color-mix(in srgb,var(--green) 92%,transparent) 30%,color-mix(in srgb,var(--green) 45%,transparent) 100%),var(--green) url("../img/items/gold.webp") center/cover no-repeat}
.cta-band::after{content:"";position:absolute;right:-3rem;top:-3.5rem;width:11rem;height:11rem;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none;z-index:-1}
.cta-band>*{position:relative}

/* Contact page: cards, icons and hover feedback */
.visit .contact-card,.contact-card{background:var(--surface);border:1px solid var(--line);border-top:3px solid var(--gold);border-radius:16px;padding:1.4rem!important;align-self:start}
.contact-card input:not([type=checkbox]):not([type=hidden]),.contact-card textarea{transition:border-color .2s ease,box-shadow .2s ease}
.contact-card input:not([type=checkbox]):focus,.contact-card textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(242,181,0,.28);outline:0}
.contact-card input[type=checkbox]{accent-color:var(--gold)}
.contact-card .btn{transition:transform .2s ease,box-shadow .2s ease}
.contact-card .btn:hover,.contact-info~.stack .btn:hover{transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.28)}
.contact-info{display:grid;gap:.6rem}
.contact-info>address,.contact-facts>div{position:relative;display:block;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:.9rem 1rem .9rem 4rem;font-style:normal;margin:0;transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease}
.contact-info .ci{position:absolute;left:.9rem;top:.85rem;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--gold);color:var(--on-gold);display:grid;place-items:center;transition:transform .3s ease}
.contact-info>address:hover,.contact-facts>div:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:0 8px 18px rgba(0,0,0,.2)}
.contact-info>address:hover .ci,.contact-facts>div:hover .ci{transform:rotate(-8deg) scale(1.1)}
.contact-facts{margin-top:0}
.contact-facts dt{font-weight:700}
.contact-facts dd{margin:0}
.contact-facts a{font-weight:700}
.contact-info~.stack{margin-top:.9rem}
.visit .map,.visit iframe{transition:box-shadow .25s ease}
.visit .map:hover,.visit iframe:hover{box-shadow:0 10px 24px rgba(0,0,0,.3)}
@media (prefers-reduced-motion:reduce){.contact-info>*,.contact-info .ci,.contact-card .btn{transition:none}.contact-info>*:hover,.contact-info>*:hover .ci,.contact-card .btn:hover{transform:none}}

/* Contact page uses the full page width instead of a narrow left column */
.content-wide{max-width:none}
.content-wide .contact-card{max-width:none}
@media (min-width:56rem){.content-wide .visit{gap:2rem;grid-template-columns:1.1fr 1fr}}

.contact-info~.stack{margin-bottom:1.25rem}

/* Footer columns spread across the full width instead of bunching on the left */
@media (min-width:48rem){.footer-grid{grid-template-columns:minmax(0,24rem) auto auto;justify-content:space-between;gap:3rem}}

/* Header: breathing room so the "Pay my loan" button does not touch the divider line */
@media (min-width:64rem){
  .site-nav{padding:.6rem 0 .5rem}
  .site-nav ul{align-items:center}
}

/* Very wide screens: full-width header, one row: logo, menu right after it, language and theme at the far right.
   (Narrower screens keep the two-row header, because long Spanish labels need the room.) */
@media (min-width:96rem){
  .wrap-top{max-width:none;padding:0 2rem}
  .top{flex-wrap:nowrap;gap:0 1.5rem}
  .brand{margin-right:0}
  .site-nav{order:1;width:auto;flex:1 1 auto;border-top:0;padding:0}
  .site-nav ul{flex-wrap:nowrap;gap:0 1.1rem;align-items:center}
  .lang-header{order:2;margin-left:1.5rem}
  .theme-toggle{order:3}
  /* links sit centered between logo and the right-hand buttons; "Pay my loan" sits on the right beside the language switch */
  .site-nav ul{width:100%}
  .site-nav li:first-child{margin-left:auto}
  .site-nav li:last-child{margin-left:auto}
  .site-nav li:nth-last-child(2){margin-right:auto}
}

/* Carousel hero banner */
.hb{position:relative;margin:.5rem 0 1.5rem;border-radius:20px;overflow:hidden;background:var(--green);color:var(--on-green);isolation:isolate}
.hb-track{display:grid}
.hb-slide{grid-area:1/1;position:relative;display:flex;align-items:center;min-height:23rem;opacity:0;visibility:hidden;transition:opacity .6s ease,visibility 0s linear .6s}
.hb-slide.is-active{opacity:1;visibility:visible;transition:opacity .6s ease}
.hb-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hb-slide::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--green) 0%,color-mix(in srgb,var(--green) 88%,transparent) 36%,color-mix(in srgb,var(--green) 8%,transparent) 100%)}
.hb-copy{padding:2.25rem 1.5rem 4.5rem;max-width:34rem}
.hb-title{font-family:var(--display);font-stretch:116%;font-weight:900;font-size:clamp(1.9rem,6vw,3.2rem);line-height:1.02;letter-spacing:-.03em;margin:0 0 .8rem;text-wrap:balance}
.hb-copy p{font-size:1.15rem;margin:0 0 1.4rem;opacity:.95}
.hb-copy .btn span{display:inline-block;transition:transform .2s ease}
.hb-copy .btn:hover span{transform:translateX(4px)}
.hb-controls{position:absolute;left:0;right:0;bottom:1rem;display:flex;align-items:center;gap:.6rem;padding:0 1.5rem}
.hb-controls[hidden]{display:none}
.hb-btn{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid var(--on-green);background:rgba(0,0,0,.25);color:var(--on-green);cursor:pointer;padding:0;transition:background-color .2s ease,color .2s ease,transform .2s ease}
.hb-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--on-gold);transform:scale(1.07)}
.hb-btn svg{fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.hb-toggle .i-play{display:none;fill:currentColor}
.hb.is-paused .hb-toggle .i-play{display:block}
.hb.is-paused .hb-toggle .i-pause{display:none}
.hb-dots{display:flex;gap:.2rem}
.hb-dot{width:44px;height:44px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}
.hb-dot::before{content:"";width:.7rem;height:.7rem;border-radius:999px;background:rgba(255,255,255,.55);transition:width .3s ease,background-color .3s ease}
.hb-dot[aria-current="true"]::before{width:1.9rem;background:var(--gold)}
.hb-dot:hover::before{background:var(--gold)}
.hb-bar{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.18)}
.hb-bar span{display:block;height:100%;width:0;background:var(--gold)}
.hb.is-playing .hb-bar span{animation:hbBar var(--hb-ms,6500ms) linear forwards}
@keyframes hbBar{to{width:100%}}
@media (min-width:48rem){.hb-slide{min-height:27rem}.hb-copy{padding:3rem 3rem 5rem}.hb-controls{padding:0 3rem;bottom:1.25rem}}
@media (prefers-reduced-motion:reduce){.hb-slide,.hb-slide.is-active{transition:none}.hb-bar{display:none}}
@media print{.hb-controls,.hb-bar{display:none}}

/* Banner runs edge to edge with square corners; its text lines up with the page content */
.hb{margin:0 0 1.5rem;border-radius:0}
.hb-slide{min-height:24rem}
.hb-copy{--hb-pad:max(1.25rem,calc((100% - 68rem)/2 + 1.25rem));padding:2.5rem 1.25rem 5rem var(--hb-pad);max-width:none;width:100%}
.hb-copy>*{max-width:34rem}
.hb-copy .btn{width:auto;display:inline-flex}
.hb-controls{padding:0 1.25rem 0 max(1.25rem,calc((100% - 68rem)/2 + 1.25rem))}
@media (min-width:48rem){.hb-slide{min-height:30rem}.hb-copy{padding:3rem 1.25rem 5.5rem var(--hb-pad)}.hb-controls{padding:0 1.25rem 0 max(1.25rem,calc((100% - 68rem)/2 + 1.25rem))}}

/* Reviews carousel */
.rv-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem 2rem;margin-bottom:1.5rem}
.rv-head h2{margin:0}
.rv-sum{display:flex;align-items:center;gap:.9rem;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:.7rem 1.1rem}
.rv-score{font-family:var(--display);font-stretch:112%;font-weight:900;font-size:2.4rem;line-height:1}
.rv-sub{display:block;color:var(--muted);font-size:.95rem}
.stars{--r:5;position:relative;display:inline-block;font-size:1.15rem;letter-spacing:.12em;line-height:1;white-space:nowrap}
.stars-bg{color:var(--line)}
.stars-fg{position:absolute;left:0;top:0;overflow:hidden;width:calc(var(--r) / 5 * 100%);color:var(--gold)}
.rv-wrap{position:relative}
.rv-track{display:flex;align-items:flex-start;gap:1rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:.4rem .2rem 1rem;margin:0 -.2rem;scrollbar-width:none;cursor:grab;outline-offset:4px}
.rv-track::-webkit-scrollbar{display:none}
.rv-track.is-drag{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}
.rv-card{flex:0 0 min(86%,22rem);scroll-snap-align:start;margin:0;display:flex;flex-direction:column;gap:.7rem;background:var(--surface);border:2px solid var(--line);border-radius:16px;padding:1.25rem;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media (min-width:56rem){.rv-card{flex-basis:calc((100% - 2rem) / 3)}}
.rv-card:hover{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 12px 26px rgba(0,0,0,.24)}
.rv-top{display:flex;align-items:center;gap:.75rem}
.rv-av{display:grid;place-items:center;flex:none;width:2.8rem;height:2.8rem;border-radius:50%;color:#fff;font-weight:800;font-size:1.2rem}
.rv-name{font-weight:800;color:var(--ink)}
.rv-meta{display:block;color:var(--muted);font-size:.9rem}
.rv-text{margin:0;color:var(--ink)}
.rv-text p{margin:0 0 .6rem}
.rv-text.is-clamped{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden}
.rv-more{align-self:flex-start;background:none;border:0;padding:.4rem 0;min-height:44px;color:var(--gold);font:700 1rem var(--body);cursor:pointer;text-decoration:underline}
.rv-nav{display:flex;align-items:center;justify-content:center;gap:.8rem}
.rv-nav[hidden]{display:none}
.rv-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:.1rem;max-width:60%}
.rv-dot{width:30px;height:44px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center}
.rv-dot::before{content:"";width:.6rem;height:.6rem;border-radius:999px;background:var(--line);transition:width .3s ease,background-color .3s ease}
.rv-dot[aria-current="true"]::before{width:1.5rem;background:var(--gold)}
.rv-dot:hover::before{background:var(--gold)}
.review-links{margin-top:1.25rem}
@media (prefers-reduced-motion:reduce){.rv-track{scroll-behavior:auto}.rv-card,.rv-card:hover{transition:none;transform:none}}

/* Review photos and enlarge view */
.rv-photos{display:flex;gap:.5rem;flex-wrap:wrap}
.rv-ph{padding:0;border:2px solid var(--line);border-radius:10px;overflow:hidden;background:none;cursor:zoom-in;width:calc(50% - .25rem);aspect-ratio:1/1;transition:border-color .2s ease,transform .2s ease}
.rv-ph:only-child{width:100%;aspect-ratio:4/3}
.rv-ph:hover,.rv-ph:focus-visible{border-color:var(--gold);transform:scale(1.02)}
.rv-ph img{display:block;width:100%;height:100%;object-fit:cover}
.rv-lb{border:0;padding:0;background:transparent;max-width:min(94vw,56rem);max-height:92vh;overflow:visible}
.rv-lb::backdrop{background:rgba(0,0,0,.82)}
.rv-lb img{display:block;max-width:100%;max-height:86vh;margin:0 auto;border-radius:12px}
.rv-lb-x{position:absolute;right:-.4rem;top:-3rem;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;border:2px solid #fff;background:rgba(0,0,0,.5);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer}
.rv-lb-x:hover{background:var(--gold);border-color:var(--gold);color:#000}
@media (prefers-reduced-motion:reduce){.rv-ph{transition:none}.rv-ph:hover{transform:none}}

/* Banner controls: arrows on the left and right edges (vertically centered), dots centered at the bottom */
.hb-controls{inset:0;display:block;padding:0;pointer-events:none}
.hb-controls>*{pointer-events:auto}
.hb-prev,.hb-next{position:absolute;top:50%;transform:translateY(-50%)}
.hb-prev{left:1rem}
.hb-next{right:1rem}
.hb-prev:hover,.hb-next:hover{transform:translateY(-50%) scale(1.07)}
.hb-dots{position:absolute;left:50%;bottom:.9rem;transform:translateX(-50%)}
@media (max-width:47.99rem){.hb-prev,.hb-next{display:none}.hb-copy{padding-bottom:4.5rem}}
@media (min-width:48rem){.hb-prev{left:1.5rem}.hb-next{right:1.5rem}.hb-controls{padding:0}.hb-dots{bottom:1.1rem}}

/* Banner dots: smaller and closer together (still a comfortable 26px tap area) */
.hb-dots{gap:0}
.hb-dot{width:26px;height:30px}
.hb-dot::before{width:.55rem;height:.55rem}
.hb-dot[aria-current="true"]::before{width:1.5rem}
.hb-dots{bottom:.6rem}
@media (min-width:48rem){.hb-dots{bottom:.8rem}}

/* Footer: full width, copyright line centered */
.wrap-foot{max-width:none}
@media (min-width:48rem){.wrap-foot{padding:0 2.5rem}}
.footer-bar{justify-content:center;text-align:center}
.footer-copy{margin:0 auto 0 auto;justify-content:center}
.footer-bar ul{justify-content:center}

/* Footer columns stay boxed (same width as the page); only the bottom bar spans the full width */
.footer-grid{max-width:68rem;margin-left:auto;margin-right:auto}

/* Why choose us on phones and small tablets: icon and heading side by side, text underneath */
@media (max-width:55.99rem){
  .why li{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:.5rem .9rem;padding:1.1rem 1.1rem 1.1rem 1.1rem}
  .why-ico{position:static;width:2.6rem;height:2.6rem;grid-column:1;grid-row:1}
  .why li h3{grid-column:2;grid-row:1;margin:0;font-size:1.2rem;line-height:1.2}
  .why li p{grid-column:1 / -1;grid-row:2;margin:0}
}

/* Footer social buttons: one row on phones */
@media (max-width:47.99rem){
  .footer-social{flex-wrap:nowrap;gap:.4rem}
  .footer-social li{min-width:0}
  .footer-social a{padding:0 .8rem;font-size:.92rem;white-space:nowrap}
}
@media (max-width:22.5rem){.footer-social a{padding:0 .6rem;font-size:.85rem}}

/* Taller banner on phones */
@media (max-width:47.99rem){
  .hb-slide{min-height:min(34rem,76svh)}
  .hb-copy{padding-top:3rem;padding-bottom:5rem}
}

/* Slide-out menu: the two bottom buttons keep a full, even border (the menu-link divider line was overriding their bottom edge) */
.site-nav a.btn{border:2px solid var(--ink);padding:.9rem 1.4rem;border-radius:12px}
.site-nav a.btn.gold{border-color:var(--gold)}

/* Reviews: every card is as tall as the tallest one; photos sit at the bottom of the card */
.rv-track{align-items:stretch}
.rv-photos{margin-top:auto}
.rv-more{margin-top:-.2rem}

/* Review photos: one fixed-height row on every card (1 photo = full width, 2+ = side by side), so cards line up with no gap */
.rv-photos{flex-wrap:nowrap;height:9.5rem}
.rv-ph,.rv-ph:only-child{flex:1 1 0;min-width:0;width:auto;height:100%;aspect-ratio:auto}

/* Photos sit right under the review text (no gap in the middle); any spare room goes at the bottom of the card */
.rv-photos{margin-top:.2rem}

/* Reviews: 2 lines of text on every card, fixed rows so every card is identical */
.rv-text.is-clamped{-webkit-line-clamp:2;line-clamp:2}
.rv-text{min-height:3.2em}
@supports (min-height:1lh){.rv-text{min-height:2lh}}
.rv-text p:last-child{margin-bottom:0}
.rv-row{display:flex;align-items:center;min-height:2rem;margin-top:-.2rem}
.rv-more{min-height:32px;padding:.2rem 0;margin:0}
.rv-count{display:none;font-weight:700;color:var(--muted);min-width:4.5rem;text-align:center}
.rv-many .rv-dots{display:none}
.rv-many .rv-count{display:inline-block}

/* SMS shortcut in mobile navigation */
.site-nav .drawer-text{display:none}
@media(max-width:63.99rem){html.js .site-nav .drawer-text{display:flex;margin-top:.6rem}}
