/* Concesionarios — estilos alineados con carnovo.com (funnel.css: /es/{marca}/ofertas-promociones) */
:root {
  --navy: #1d428a;
  --navy-dark: #1a3b7c;
  --text: #455a64;
  --text-dark: #37474f;
  --mute: #78909c;
  --line: #cfd8dc;
  --soft: #f5f7f8;
  --soft-blue: #f1f5ff;
  --teal: #009688;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.5 Lato, Helvetica, Arial, sans-serif; color: var(--text); background: #fff; }
a { color: var(--navy); }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 3px solid #8ea1c5; outline-offset: 2px; }
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.center { text-align: center; }

/* Cabecera de Carnovo */
.top { background: #fff; border-bottom: 1px solid #e8ecf3; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.top img { display: block; height: auto; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.top nav a { color: var(--text-dark); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover { color: var(--navy); }
.burger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; cursor: pointer; }
.burger span { display: block; width: 24px; height: 3px; border-radius: 2px; background: var(--navy); transition: transform .15s, opacity .15s; }
.burger[aria-expanded=true] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Migas y título, como en la página de marca de Carnovo */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 8px 0 0; font-size: .75rem; }
.crumbs li:not(:last-child)::after { content: "›"; color: #607d8b; margin: 0 .25rem; }
.crumbs a { font-weight: 700; color: var(--text); text-decoration: none; }
.crumbs span { color: #607d8b; }
.page-head { text-align: center; padding-top: 22px; padding-bottom: 8px; }
.page-head h1 { color: var(--navy); font-size: 2rem; font-weight: 700; line-height: 1.2; }
.page-head p { margin-top: 6px; }

/* Buscador */
.finder { padding-top: 18px; padding-bottom: 36px; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; background: var(--soft); border-radius: .375rem; padding: 12px; }
.filters label { display: flex; flex-direction: column; gap: 3px; font-size: .75rem; font-weight: 700; color: var(--text); }
.filters .grow { flex: 1 1 260px; }
select, input[type=search] { height: 42px; border: 1px solid var(--line); border-radius: .375rem; background: #fff; color: var(--text-dark); font: inherit; padding: 0 10px; width: 100%; }
.btn { display: inline-block; font: 700 .875rem Lato, Helvetica, Arial, sans-serif; color: #fff; background: var(--navy); border: 1.5px solid var(--navy); border-radius: .375rem; padding: 11px 18px; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--navy-dark); }
.btn-line { color: var(--navy); background: #fff; border-color: var(--line); height: 42px; padding: 0 16px; }
.btn-line:hover { background: var(--soft-blue); border-color: #bbc6dc; }
.status { margin: 14px 0 0; font-weight: 700; min-height: 0; }
.status:empty { margin: 0; }
.mapwrap { margin-top: 14px; }
.map { height: 420px; border-radius: .375rem; background: var(--soft); z-index: 0; }

/* Listas */
.finder h2, .guide h2, .faq h2, .band h2 { font-size: 1.3rem; font-weight: 600; color: var(--text); margin: 28px 0 12px; }
.group { margin-top: 22px; }
.group h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #e8ecf3; }
.group h3 a { color: var(--text-dark); text-decoration: none; }
.group h3 a:hover { color: var(--navy); text-decoration: underline; }
.group h3 span { font-weight: 400; color: var(--mute); font-size: .875rem; margin-left: 4px; }
.results { margin-top: 14px; }
.dealers { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.dealer { display: flex; flex-direction: column; gap: 4px; border: 1.5px solid #e8ecf3; border-radius: .375rem; padding: 12px 14px; background: #fff; }
.dealer:hover { border-color: var(--line); }
.dealer h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark); line-height: 1.3; }
.dealer-brand { display: block; font-size: .75rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: .03em; }
.dist { font-weight: 400; font-size: .8rem; color: var(--mute); margin-left: 6px; white-space: nowrap; }
.addr { font-size: .875rem; }
.tags { display: flex; gap: 5px; }
.tag { font-size: .7rem; font-weight: 700; color: var(--text); background: var(--soft); border-radius: 4px; padding: 1px 7px; }
.acts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 4px; font-size: .875rem; font-weight: 700; }
.acts a { text-decoration: none; }
.acts a:hover { text-decoration: underline; }
.pop { display: block; min-width: 240px; }
.pop .dealer { border: 0; padding: 0; }

.link-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.link-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: .375rem; background: var(--soft); color: var(--text-dark); font-weight: 700; font-size: .9rem; text-decoration: none; }
.link-grid a:hover { background: var(--soft-blue); color: var(--navy); }
.link-grid span { font-weight: 400; color: var(--mute); font-size: .8rem; }

/* Modelos: mismo diseño que .brand-model-card de Carnovo */
.band { background: var(--soft); padding: 3rem 0; }
.band h2 { margin-top: 0; margin-bottom: 4px; }
.band .sub { margin-bottom: 16px; }
.models { list-style: none; margin: 0 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.model-card a { position: relative; display: flex; flex-direction: column; height: 100%; padding: .6rem; border: 1.5px solid #fff; border-radius: .375rem; background: #fff; color: var(--text); text-decoration: none; }
.model-card a:hover { border-color: var(--line); }
.model-card h3 { align-self: flex-start; max-width: 75%; font-size: 1.125rem; font-weight: 700; color: var(--text-dark); background: var(--soft); padding: 4px 8px; border-radius: 4px; margin-bottom: .5rem; }
.model-card a:hover h3 { background: #eff6ff; }
.model-card .eco { position: absolute; top: 10px; right: 10px; width: 35px; height: auto; border: 2px solid #fff; border-radius: 50%; }
.model-card figure { display: flex; align-items: center; justify-content: center; height: 200px; margin: 0 0 .5rem; overflow: hidden; }
.model-card figure img { width: 90%; height: 90%; object-fit: contain; }
.model-card .cta { display: flex; align-items: center; margin-top: auto; padding: .4rem .6rem; border-radius: .375rem; background: var(--soft); font-size: .875rem; }
.model-card a:hover .cta { background: var(--soft-blue); }
.model-card .cta > span { flex: 1; display: flex; flex-direction: column; }
.model-card .cta b { font-weight: 700; }
.model-card .cta small { margin-top: 4px; font-size: .75rem; color: var(--mute); }
.model-card .cta i { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-left: 16px; border-radius: 50%; background: #fff; color: var(--navy); font-style: normal; font-weight: 700; }

/* Texto y FAQ */
.guide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding-top: 12px; padding-bottom: 8px; }
.guide p { line-height: 1.65; max-width: 38em; }
.guide p + p { margin-top: 10px; }
.faq { padding-bottom: 48px; }
details { border-bottom: 1px solid #e8ecf3; padding: 11px 0; }
summary { font-weight: 700; color: var(--text-dark); cursor: pointer; }
details p { margin-top: 7px; max-width: 42em; }

/* Pie de Carnovo */
.foot { background: var(--navy); }
.list-footer { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 12px; }
.foot-row { display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 16px 12px; }
.foot-row ul { list-style: none; margin: 8px 0 24px; padding: 0; }
.foot-row li { line-height: 2rem; white-space: nowrap; }
.foot-row ul a { display: block; color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
.foot-row ul a:hover { opacity: .6; }
.foot-logo { display: block; line-height: 0; margin: 16px 0 8px; }
.foot-social { display: flex; }
.foot-social li { padding-right: 32px; }
.foot-social li:last-child { padding-right: 0; }
.foot-enisa { display: block; margin: 8px 0 16px; }

@media (max-width: 960px) {
  .top { position: relative; }
  .burger { display: flex; }
  .top nav { display: none; }
  .top nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0; z-index: 1200; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(29, 66, 138, .18); }
  .top nav a { padding: 14px 24px; font-size: 16px; }
  .top nav a + a { border-top: 1px solid #e8ecf3; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .page-head h1 { font-size: 1.5rem; }
  .filters label { flex: 1 1 45%; }
  .filters .grow { flex-basis: 100%; }
  .filters .btn { flex: 1 1 45%; }
  .models { grid-template-columns: minmax(0, 1fr); }
  .map { height: 320px; }
  .foot-row { flex-direction: column; justify-content: center; }
  .foot-row li { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
#static > h2:first-child { margin-top: 26px; }
.more-links { padding-bottom: 8px; }
.qbox { display: block; position: relative; }
.sug { position: absolute; z-index: 1100; top: calc(100% + 4px); left: 0; right: 0; max-height: 340px; overflow-y: auto; background: #fff; border: 1px solid var(--line); border-radius: .375rem; box-shadow: 0 8px 24px rgba(29, 66, 138, .14); font-size: .9rem; font-weight: 400; }
.sug-o { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; color: var(--text-dark); cursor: pointer; }
.sug-o b { font-weight: 700; color: var(--navy); }
.sug-o small { color: var(--mute); font-size: .78rem; white-space: nowrap; }
.sug-o:hover, .sug-o[aria-selected=true] { background: var(--soft-blue); }
.sug-h { padding: 6px 12px 2px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
