/* ==========================================================================
   pages.css — logo, breadcrumbs, inner-page components
   (loaded after sections.css so it can refine hero/image rules)
   ========================================================================== */

/* Logo ------------------------------------------------------------------- */
.brand { background: var(--white); padding: 4px 8px; border-radius: 6px; }
.brand__logo { display: block; width: auto; height: 36px; }
.site-footer__logo {
  display: inline-block; margin-bottom: 0.75rem;
  padding: 6px 10px; background: var(--white); border-radius: 6px;
}
.site-footer__logo img { height: 38px; width: auto; }

/* Active nav link ---------------------------------------------------------- */
.site-nav__links a[aria-current="page"] { color: var(--white); background: rgba(255, 255, 255, 0.12); box-shadow: inset 0 -2px 0 var(--amber); }

/* Hero image: sized to the 600px source so it stays sharp ------------------- */
.hero__figure img { height: auto; aspect-ratio: 4 / 3; }

/* Breadcrumbs --------------------------------------------------------------- */
.breadcrumb { margin-bottom: 1.25rem; }
.breadcrumb__list { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem; font-size: 13px; }
.breadcrumb__list li { display: inline-flex; align-items: center; gap: 0.5rem; color: rgba(255, 255, 255, 0.55); }
.breadcrumb__list li + li::before { content: "›"; color: rgba(255, 255, 255, 0.35); }
.breadcrumb__list a { color: rgba(255, 255, 255, 0.8); font-weight: 600; transition: color .15s; }
.breadcrumb__list a:hover { color: var(--amber); }
.breadcrumb__list [aria-current="page"] { color: var(--amber); font-weight: 700; }

/* Inner-page hero ------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(1.5rem, 4vw, 2.5rem) clamp(2rem, 5vw, 3.5rem);
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.page-hero__title { margin-bottom: 0.75rem; max-width: 860px; font-size: clamp(28px, 5.5vw, 44px); line-height: 1.1; color: var(--white); }
.page-hero__title span { color: var(--amber); }
.page-hero__lead { max-width: 680px; margin-bottom: 1.5rem; font-size: clamp(14px, 3.4vw, 16px); line-height: 1.7; color: rgba(255, 255, 255, 0.72); }

/* Split blocks (image + copy) ---------------------------------------------------- */
.split { display: grid; gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__title { margin-bottom: 0.75rem; font-size: clamp(21px, 4vw, 30px); color: var(--navy); }
.split__title span { color: var(--blue); }
.split__text { margin-bottom: 1rem; font-size: 14.5px; line-height: 1.75; color: var(--muted); }
.split__price {
  display: inline-block; margin-bottom: 1rem; padding: 0.375rem 0.75rem;
  background: rgba(37, 99, 235, 0.08); border-radius: 5px;
  font-size: 13px; font-weight: 800; color: var(--navy);
}
.split__price small { font-weight: 600; color: var(--muted); }

.media {
  overflow: hidden; background: var(--navy);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px -8px rgba(10, 25, 49, 0.2);
}
.media img { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; }
.media figcaption { padding: 0.625rem 1rem; background: var(--white); font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.media--zoom img { transform: scale(1.45); transform-origin: var(--origin, 50% 50%); }

.check-list { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.check-list li { display: flex; gap: 0.625rem; font-size: 14px; line-height: 1.55; color: var(--ink); }
.check-list li::before {
  content: "✓"; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: 10px; font-weight: 900;
}
.split__actions { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.btn--outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }

/* Machine cards with photo (home + appliance page) ----------------------------------- */
.card--media { padding: 0; overflow: hidden; }
.card--media .card__media { height: 170px; overflow: hidden; background: var(--navy); }
.card--media .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card--media:hover .card__media img { transform: scale(1.04); }
.card--media .card__media--zoom img { transform: scale(1.5); transform-origin: var(--origin, 50% 50%); }
.card--media:hover .card__media--zoom img { transform: scale(1.58); transform-origin: var(--origin, 50% 50%); }
.card--media .card__body { padding: 1.25rem 1.5rem 1.5rem; }

/* Stats strip ------------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 1.25rem 1rem; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 4px solid var(--red); }
.stat:nth-child(2) { border-top-color: var(--amber); }
.stat:nth-child(3) { border-top-color: var(--blue); }
.stat:nth-child(4) { border-top-color: var(--green); }
.stat__num { display: block; font-size: clamp(26px, 5vw, 34px); font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; color: var(--navy); }
.stat__label { display: block; margin-top: 0.375rem; font-size: 12.5px; line-height: 1.4; color: var(--muted); }

/* Value cards -------------------------------------------------------------------------- */
.card--value { padding: 1.5rem; }
.card--value .card__icon { background: var(--navy); color: var(--white); }

/* Small service cards ----------------------------------------------------------------------- */
.service-card__body .service-card__text { margin-bottom: 0; }

/* Brand page ------------------------------------------------------------------------------------ */
.filter { position: relative; max-width: 480px; margin-bottom: 1.5rem; }
.filter .icon { position: absolute; left: 0.875rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--placeholder); pointer-events: none; }
.filter .form__control { padding-left: 2.5rem; background: var(--white); font-size: 14.5px; padding-block: 0.75rem; }
.filter__status { margin-top: 0.5rem; font-size: 12.5px; color: var(--muted); }
.group { margin-bottom: 2.25rem; }
.group[hidden] { display: none; }
.group__title { display: flex; align-items: baseline; gap: 0.625rem; margin-bottom: 0.875rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--line); font-size: 16px; color: var(--navy); }
.group__title small { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tile[hidden] { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { padding: 0.375rem 0.75rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.empty-note { padding: 1.25rem; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius-lg); color: var(--muted); }

/* Areas page ------------------------------------------------------------------------------------ */
.grid--areas { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
@media (min-width: 640px) { .grid--areas { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid--areas { grid-template-columns: repeat(5, 1fr); } }

/* Contacts page ------------------------------------------------------------------------------------ */
.contact--page { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
@media (min-width: 900px) { .contact--page { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.hours { width: 100%; margin-top: 0.5rem; font-size: 13.5px; }
.hours td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.hours td:last-child { text-align: right; font-weight: 700; color: var(--navy); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 0.625rem; margin-top: 1rem; }
.map--wide iframe { height: 320px; }
@media (min-width: 768px) { .map--wide iframe { height: 400px; } }
.form__row { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* Hero stays top-aligned on tablets with the shorter image */
@media (max-width: 991px) { .hero__media { align-self: auto; } }

/* ---- Revision: branding without outline, round icon buttons ---- */
.brand { background: none; padding: 0; border-radius: 0; }
.brand__logo { height: 38px; }
.site-footer__logo { padding: 0; background: none; border-radius: 0; }
.site-footer__logo img { height: 42px; }

/* Header call / WhatsApp: round, icon only, visible at every width */
.site-nav__actions .btn--nav {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
}

/* Single round call button, bottom left */
.floating-call {
  position: fixed; left: 20px; bottom: 20px; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red); color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: background-color .15s, transform .15s;
}
.floating-call:hover { background: var(--red-dark); transform: scale(1.06); }
.site-footer { padding-bottom: 5rem; }
