/* ============================================================
   MIGUELEC ELECTRICIDAD — Sistema de diseño
   Paleta de marca actual: naranja #ff6700 + grises
   Mobile-first · responsive PC/tablet/móvil · accesible AA
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --brand:        #ff6700;
  --brand-600:    #e85d00;
  --brand-700:    #c44e00;
  --brand-50:     #fff0e6;
  --brand-100:    #ffe0cc;

  --ink:          #1b1e1e;
  --ink-700:      #2c3131;
  --ink-500:      #4c5151;
  --muted:        #6b7280;

  --bg:           #ffffff;
  --bg-soft:      #f6f7f8;
  --bg-softer:    #eef0f1;
  --line:         #e5e7eb;
  --white:        #ffffff;

  --ok:           #16a34a;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    26px;
  --shadow-sm:    0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.10);
  --shadow-md:    0 8px 24px rgba(16,24,40,.10);
  --shadow-lg:    0 24px 60px rgba(16,24,40,.16);
  --shadow-brand: 0 12px 30px rgba(255,103,0,.30);

  --container:    1180px;
  --gap:          clamp(1rem, 2.4vw, 1.6rem);

  --ff-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-fast: .18s ease;
  --t-med:  .32s cubic-bezier(.22,.61,.36,1);
}

/* ---------- Dark mode ---------- */
:root[data-theme="dark"] {
  --ink:        #f2f4f4;
  --ink-700:    #dfe3e3;
  --ink-500:    #b9bfbf;
  --muted:      #9aa3a3;
  --bg:         #14181a;
  --bg-soft:    #1b2023;
  --bg-softer:  #232a2d;
  --line:       #2c3438;
  --white:      #1b2023;
  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 10px 28px rgba(0,0,0,.5);
  --shadow-lg:  0 24px 60px rgba(0,0,0,.6);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 1.4rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.7rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .7vw, 1.45rem); }
p  { color: var(--ink-500); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--ff-head); font-weight: 700; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brand-600);
  background: var(--brand-50); padding: .4rem .8rem; border-radius: 999px; margin-bottom: 1rem;
}
:root[data-theme="dark"] .eyebrow { background: rgba(255,103,0,.14); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.22rem); color: var(--ink-500); margin-top: .9rem; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--brand); --fg-btn: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--bg-btn); color: var(--fg-btn);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-brand); background: var(--brand-600); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg-btn: transparent; --fg-btn: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { background: var(--bg-soft); box-shadow: none; border-color: var(--brand); color: var(--brand-600); }
.btn--light { --bg-btn: #fff; --fg-btn: var(--ink); }
.btn--light:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn--wa { --bg-btn: #25d366; --fg-btn: #fff; }
.btn--wa:hover { background: #1eb858; box-shadow: 0 12px 30px rgba(37,211,102,.35); }
.btn svg { width: 1.15em; height: 1.15em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 86px; }
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 54px; width: auto; }
:root[data-theme="dark"] .nav__logo img { filter: brightness(0) invert(1); }
.nav__menu { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav__link {
  font-family: var(--ff-head); font-weight: 600; font-size: .98rem;
  padding: .5rem .85rem; border-radius: 10px; color: var(--ink-700);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--brand-600); background: var(--brand-50); }
:root[data-theme="dark"] .nav__link:hover, :root[data-theme="dark"] .nav__link[aria-current="page"] { background: rgba(255,103,0,.14); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }

/* lang + theme controls */
.icon-btn {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink-700);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--bg-soft); border-color: var(--brand); color: var(--brand-600); }
.icon-btn svg { width: 20px; height: 20px; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--ff-head); font-weight: 700; font-size: .9rem;
  padding: .5rem .7rem; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink-700); text-transform: uppercase; }
.lang__btn:hover { border-color: var(--brand); color: var(--brand-600); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + .5rem); min-width: 168px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all var(--t-fast); z-index: 70;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__opt { display: flex; align-items: center; gap: .6rem; width: 100%; text-align: left;
  padding: .55rem .7rem; border-radius: 10px; font-weight: 600; font-size: .95rem; color: var(--ink-700); }
.lang__opt:hover { background: var(--bg-soft); }
.lang__opt[aria-current="true"] { color: var(--brand-600); background: var(--brand-50); }
.lang__opt .flag { font-size: 1.15rem; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); position: relative; }
.burger span, .burger span::before, .burger span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transform: translate(-50%,-50%); transition: var(--t-fast);
}
.burger span::before { transform: translate(-50%,-7px); }
.burger span::after  { transform: translate(-50%,5px); }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translate(-50%,-50%) rotate(45deg); }
body.nav-open .burger span::after  { transform: translate(-50%,-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem); }
.hero__title span { color: var(--brand); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.trust__item { display: flex; flex-direction: column; }
.trust__num { font-family: var(--ff-head); font-weight: 800; font-size: 1.7rem; color: var(--ink); line-height: 1; }
.trust__lbl { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__media::after { content: ""; position: absolute; inset: auto -8% -10% auto; width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,103,0,.22), transparent 70%); z-index: -1; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px; background: var(--bg); border-radius: 16px; padding: .9rem 1.1rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .7rem; max-width: 250px;
  border: 1px solid var(--line);
}
.hero__badge .dot { width: 38px; height: 38px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 20px; height: 20px; }
.hero__badge strong { font-family: var(--ff-head); display: block; font-size: .95rem; }
.hero__badge small { color: var(--muted); font-size: .8rem; }
.hero__blob { position: absolute; top: -20%; right: -10%; width: 50vw; max-width: 640px; aspect-ratio: 1;
  background: radial-gradient(circle, var(--brand-50), transparent 65%); z-index: -2; }

/* ---------- Logos / strip ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-soft); }
.marquee__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem; padding-block: 1.3rem; }
.marquee__row span { font-family: var(--ff-head); font-weight: 700; color: var(--muted); font-size: .92rem;
  display: inline-flex; align-items: center; gap: .5rem; }
.marquee__row span svg { width: 18px; height: 18px; color: var(--brand); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__media { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card__icon { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-50); color: var(--brand-600);
  display: grid; place-items: center; margin-bottom: .3rem; }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.18rem; }
.card p { font-size: .96rem; }
.card__link { margin-top: auto; font-family: var(--ff-head); font-weight: 700; color: var(--brand-600);
  display: inline-flex; align-items: center; gap: .4rem; padding-top: .4rem; }
.card__link svg { width: 16px; transition: transform var(--t-fast); }
.card:hover .card__link svg { transform: translateX(4px); }

/* feature card (icon only, no image) */
.feature { padding: 1.6rem; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
  transition: transform var(--t-med), box-shadow var(--t-med); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .card__icon { margin-bottom: .8rem; }
.feature h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { font-size: .94rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.checklist { display: grid; gap: .8rem; margin-top: 1.4rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-700); }
.checklist svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: .15rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: var(--gap); }
.step { display: flex; gap: 1.1rem; align-items: flex-start; }
.step__num { counter-increment: step; flex: none; width: 48px; height: 48px; border-radius: 14px;
  background: var(--ink); color: #fff; font-family: var(--ff-head); font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step:nth-child(1) .step__num { background: var(--brand); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2rem,5vw,3.6rem); position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -60px; width: 280px; height: 280px;
  background: rgba(255,255,255,.10); border-radius: 50%; }
.cta-band h2, .cta-band p { color: #fff; position: relative; }
.cta-band p { opacity: .92; }
.cta-band .hero__cta { margin-top: 1.6rem; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.2rem); align-items: start; }
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); color: var(--ink); transition: border-color var(--t-fast), box-shadow var(--t-fast); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-50); }
.field--check { flex-direction: row; align-items: flex-start; gap: .6rem; }
.field--check input { width: auto; margin-top: .2rem; }
.contact-info { display: grid; gap: 1rem; }
.info-item { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--bg); }
.info-item .card__icon { flex: none; margin: 0; }
.info-item strong { font-family: var(--ff-head); display: block; }
.info-item a, .info-item span { color: var(--ink-500); }
.info-item a:hover { color: var(--brand-600); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: .4rem; }
.map-embed iframe { width: 100%; height: 260px; border: 0; display: block; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-ok { background: var(--brand-50); color: var(--brand-700); border-radius: 12px; padding: 1rem 1.2rem;
  font-family: var(--ff-head); font-weight: 600; display: none; }

/* ---------- Page hero (subpáginas) ---------- */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding-block: clamp(2.6rem,5vw,4rem); }
.breadcrumb { display: flex; gap: .5rem; font-size: .85rem; color: var(--muted); margin-bottom: .8rem; }
.breadcrumb a:hover { color: var(--brand-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfd4d4; padding-block: clamp(3rem,5vw,4.5rem) 2rem; margin-top: 2rem; }
:root[data-theme="dark"] .site-footer { background: #0e1112; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer__brand { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; }
.footer__brand .iso { width: 40px; height: 40px; border-radius: 11px; background: var(--brand); display: grid; place-items: center; }
.footer__brand .iso img { width: 26px; height: 26px; }
.footer__brand b { font-family: var(--ff-head); font-size: 1.2rem; color: #fff; letter-spacing: -.01em; }
.footer p { color: #aab1b1; font-size: .94rem; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer__links { display: grid; gap: .6rem; }
.footer__links a { color: #c3c9c9; font-size: .95rem; }
.footer__links a:hover { color: var(--brand); }
.footer__contact a { color: #c3c9c9; display: flex; gap: .5rem; align-items: center; margin-bottom: .6rem; }
.footer__contact svg { width: 17px; color: var(--brand); flex: none; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.4rem; padding-top: 1.4rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #9aa1a1; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center; color: #cfd4d4; transition: var(--t-fast); }
.footer__social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer__social svg { width: 18px; }

/* ---------- Floating WhatsApp ---------- */
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform var(--t-fast); }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 1.4rem; } .mt-3 { margin-top: 2rem; }
.text-brand { color: var(--brand-600); }
.hide { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav__menu, .nav__actions .desktop-only { display: none; }
  .burger { display: inline-flex; }
  .hero__grid, .split, .split--rev .split__media, .contact__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero__media { order: -1; }

  /* mobile menu panel */
  .nav__menu {
    position: fixed; inset: 86px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 1rem clamp(1.1rem,4vw,2rem) 1.6rem;
    gap: .2rem; margin: 0; transform: translateY(-130%); transition: transform var(--t-med); box-shadow: var(--shadow-md);
    max-height: calc(100vh - 86px); overflow-y: auto;
  }
  body.nav-open .nav__menu { display: flex; transform: translateY(0); }
  .nav__menu .nav__link { padding: .85rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .nav__menu .btn { margin-top: .6rem; }
}
@media (max-width: 560px) {
  .nav__logo img { height: 44px; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__badge { left: 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band .btn { width: auto; }
}

/* ============================================================
   AÑADIDO: reseñas · galería · FAQ · poblaciones · perks solar
   ============================================================ */
.demo-tag { display:inline-block; font-family:var(--ff-head); font-weight:700; font-size:.66rem;
  letter-spacing:.08em; text-transform:uppercase; color:var(--brand-700); background:var(--brand-50);
  border:1px dashed var(--brand); border-radius:999px; padding:.2rem .6rem; }

.stars { display:inline-flex; gap:2px; color:var(--brand); }
.stars svg { width:18px; height:18px; }

.reviews__top { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:.7rem; margin-top:1rem; }
.reviews__score { font-family:var(--ff-head); font-weight:800; font-size:1.25rem; color:var(--ink); }
.review-card { background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:1.5rem;
  display:flex; flex-direction:column; gap:.8rem; transition:transform var(--t-med), box-shadow var(--t-med); }
.review-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); }
.review-card p { color:var(--ink-700); font-size:.98rem; }
.review-card__who { display:flex; align-items:center; gap:.7rem; margin-top:auto; }
.review-card__av { width:42px; height:42px; border-radius:50%; background:var(--brand-50); color:var(--brand-700);
  display:grid; place-items:center; font-family:var(--ff-head); font-weight:800; flex:none; }
.review-card__who b { font-family:var(--ff-head); font-size:.95rem; display:block; }
.review-card__who small { color:var(--muted); font-size:.82rem; }

.faq { max-width:820px; margin-inline:auto; display:grid; gap:.8rem; }
.faq__item { border:1px solid var(--line); border-radius:var(--radius); background:var(--bg); overflow:hidden; }
.faq__q { list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:1.1rem 1.3rem; font-family:var(--ff-head); font-weight:700; font-size:1.02rem; color:var(--ink); }
.faq__q::-webkit-details-marker { display:none; }
.faq__q:hover { color:var(--brand-600); }
.faq__q .ic { flex:none; width:26px; height:26px; border-radius:50%; background:var(--brand-50); color:var(--brand-600);
  display:grid; place-items:center; font-weight:800; line-height:1; transition:transform var(--t-fast); }
.faq__item[open] .faq__q .ic { transform:rotate(45deg); }
.faq__a { padding:0 1.3rem 1.2rem; }
.faq__a p { font-size:.96rem; }

.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:var(--gap); }
.gallery figure { position:relative; margin:0; border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); aspect-ratio:4/3; }
.gallery img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.gallery figure:hover img { transform:scale(1.06); }
.gallery figcaption { position:absolute; inset:auto 0 0 0; padding:.7rem .9rem; color:#fff; font-family:var(--ff-head);
  font-weight:600; font-size:.9rem; background:linear-gradient(transparent, rgba(0,0,0,.65)); }

.towns { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:1.2rem; }
.towns span { font-family:var(--ff-head); font-weight:600; font-size:.88rem; color:var(--ink-700);
  background:var(--bg-soft); border:1px solid var(--line); border-radius:999px; padding:.42rem .85rem; }
.towns span.is-main { background:var(--brand-50); color:var(--brand-700); border-color:var(--brand-100); }

.perk { padding:1.5rem; border-radius:var(--radius); background:var(--bg-soft); border:1px solid var(--line); }
.perk .card__icon { margin-bottom:.7rem; }
.perk h3 { font-size:1.06rem; margin-bottom:.3rem; }
.perk p { font-size:.92rem; }

@media (max-width:880px){ .gallery { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .gallery { grid-template-columns:1fr; } }

.footer__legal { display:inline-flex; flex-wrap:wrap; gap:.5rem; }
.footer__legal a:hover { color:var(--brand); }
