/*
  Saipa Ostovar — public site layout.
  Builds on design-system/tokens/tokens.css and design-system/css/components.css.
  Every colour, radius, space and shadow reads a token. RTL-first: logical properties only.
*/

html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body { margin: 0; min-height: 100vh; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
ul[role="list"], ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .container { padding-inline: var(--space-6); } }

.icon {
  width: 20px; height: 20px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.so-btn .icon { width: 16px; height: 16px; }
a.so-btn { text-decoration: none; }
.so-btn--lg { min-height: 48px; padding-inline: var(--space-6); font-size: 15px; }

.skip-link {
  position: absolute; inset-inline-start: var(--space-4); top: -100px; z-index: 100;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-xl);
  background: var(--navy-900); color: #ffffff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

/* Icon tile: navy-900 with brand-400 ink (the workspace's signature) */
.tile {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; border-radius: var(--radius-xl);
  background: var(--navy-900); color: var(--brand-400);
}

.text-link {
  display: inline-flex; align-items: center; gap: var(--space-1);
  color: var(--brand-700); font-weight: 700; text-decoration: none;
}
.text-link .icon { width: 16px; height: 16px; transition: transform 150ms; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover .icon { transform: translateX(-3px); }

/* Outline button for navy grounds */
.btn-outline-light {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1-5);
  min-height: 48px; padding: 10px var(--space-6); border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.28); color: #ffffff;
  font-weight: 500; text-decoration: none; transition: background-color 150ms, border-color 150ms;
}
.btn-outline-light .icon { width: 16px; height: 16px; }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }

/* ---------- Open / closed badge (hours card) ---------- */
.open-badge {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-inline-start: auto;
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  background: var(--navy-100); color: var(--navy-700); font-size: 12px; font-weight: 500;
}
.open-status__dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--navy-400); }
.open-badge[data-state="open"] { background: var(--ok-soft); color: var(--ok); }
.open-badge[data-state="open"] .open-status__dot { background: #22c55e; }
.open-badge[data-state="closed"] { background: var(--rose-50); color: var(--rose-700); }
.open-badge[data-state="closed"] .open-status__dot { background: var(--rose-400); }

/* ---------- Floating capsule header ---------- */
.site-header { position: fixed; inset-inline: 0; top: var(--space-6); z-index: 50; pointer-events: none; transition: top 250ms; }
.site-header.is-scrolled { top: var(--space-3); }
.site-header .container { max-width: 1040px; }
.site-header__bar {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; gap: var(--space-4);
  min-height: 56px; padding-block: var(--space-1-5); padding-inline: var(--space-4) var(--space-1-5);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 12px 32px -14px rgba(7, 21, 48, 0.55);
  transition: background-color 200ms, box-shadow 200ms;
}
.site-header.is-scrolled .site-header__bar {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 40px -16px rgba(7, 21, 48, 0.35), 0 0 0 1px var(--navy-200);
}
.site-header .so-lockup { flex-shrink: 0; gap: var(--space-2); text-decoration: none; }
.site-header .so-lockup img { width: 30px; height: auto; }
.site-header .so-lockup__rule { height: 28px; }
.site-header .so-lockup__name { font-size: 17px; }
.site-header .so-lockup__sub { font-size: 11px; }
.so-lockup__name, .so-lockup__sub { display: block; }

/* scroll progress along the bottom edge of the capsule */
.site-header__progress {
  position: absolute; inset-inline: 36px; bottom: 0; height: 3px; border-radius: var(--radius-full);
  background: var(--brand-500); transform: scaleX(var(--progress, 0)); transform-origin: right center;
  opacity: 0; transition: opacity 200ms;
}
.site-header.is-scrolled .site-header__progress { opacity: 1; }

.site-nav {
  position: relative; display: flex; gap: var(--space-0-5); margin-inline: auto;
  padding: var(--space-1); border-radius: var(--radius-full); background: var(--navy-50);
}
.site-nav__indicator {
  position: absolute; top: var(--space-1); bottom: var(--space-1); left: 0; width: 0;
  border-radius: var(--radius-full); background: var(--navy-900);
  box-shadow: 0 4px 12px -4px rgba(13, 32, 65, 0.5);
  opacity: 0; transition: left 350ms cubic-bezier(.3, .7, .2, 1), width 350ms cubic-bezier(.3, .7, .2, 1), opacity 200ms;
}
.site-nav__indicator.is-on { opacity: 1; }
.site-nav a {
  position: relative; z-index: 1;
  padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full);
  color: var(--navy-700); font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: color 250ms;
}
.site-nav a:hover { color: var(--navy-900); }
.site-nav a[aria-current="true"] { color: #ffffff; }

.site-header__current { display: none; }

.site-header__cta {
  display: inline-flex; align-items: center; gap: var(--space-2); flex-shrink: 0;
  min-height: 42px; padding-inline: var(--space-4) var(--space-1); font-size: 13.5px;
  border-radius: var(--radius-full); background: var(--navy-900); color: #ffffff;
  font-weight: 700; text-decoration: none; transition: background-color 150ms;
}
.site-header__cta .icon {
  order: 2; width: 34px; height: 34px; padding: 9px; border-radius: var(--radius-full);
  background: var(--brand-600); color: #ffffff;
}
.site-header__cta:hover { background: var(--navy-800); }
.site-header__toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 0; border-radius: var(--radius-full);
  background: var(--navy-900); color: #ffffff; cursor: pointer;
}
.site-header__toggle .icon { width: 22px; height: 22px; }

@media (max-width: 1060px) { .site-nav a { padding-inline: var(--space-2-5, 10px); } .site-header__cta span { display: none; } .site-header__cta { padding-inline: var(--space-2); } }
@media (max-width: 960px) {
  .site-header { top: var(--space-5); }
  .site-header.is-scrolled { top: var(--space-2); }
  .site-header__bar { min-height: 56px; padding-inline: var(--space-4) var(--space-1-5); gap: var(--space-2); }
  .site-header__cta { display: none; }
  .site-header__toggle { display: inline-flex; margin-inline-start: auto; }
  .site-header__current:not(:empty) {
    display: inline-flex; align-items: center; gap: var(--space-1-5); margin-inline-start: auto; margin-inline-end: calc(-1 * var(--space-2) + var(--space-1));
    padding: var(--space-1-5) var(--space-3); border-radius: var(--radius-full);
    background: var(--brand-50); color: var(--brand-800); font-size: 13px; font-weight: 700;
    animation: current-in 300ms ease;
  }
  .site-header__current:not(:empty)::before { content: ""; width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--brand-500); }
  .site-header__current:not(:empty) + .site-nav + .site-header__cta + .site-header__toggle { margin-inline-start: 0; }
  .site-header__progress { inset-inline: 28px; }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: calc(100% + var(--space-2));
    flex-direction: column; gap: var(--space-1); margin: 0; padding: var(--space-2);
    border-radius: 24px; background: var(--surface); box-shadow: var(--shadow-lift);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__indicator { display: none; }
  .site-nav a { padding: var(--space-3) var(--space-4); min-height: 48px; border-radius: var(--radius-2xl); }
  .site-nav a[aria-current="true"] { background: var(--navy-900); color: #ffffff; }
}
@keyframes current-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Hero (compact) ---------- */
.hero {
  position: relative; overflow: hidden; color: #ffffff;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%);
  padding-block: 112px 28px;
  width: calc(100% - 2 * var(--space-4)); max-width: 1180px; margin: var(--space-3) auto 0; border-radius: 32px;
}
.hero > .container { max-width: 1040px; }
.hero__inner { display: grid; align-items: center; gap: var(--space-6); }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.1fr 1fr; gap: 32px; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--brand-300); font-size: 14px; font-weight: 700;
}
.hero__eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: var(--radius-full); background: var(--brand-500); }
.hero__title {
  margin-top: var(--space-4); font-size: clamp(28px, 3.4vw, 44px); line-height: 1.35;
  font-weight: 900; letter-spacing: -0.03em; text-wrap: balance;
}
.hero__title span { color: var(--brand-400); }
.hero__lead { margin-top: var(--space-4); max-width: 50ch; color: var(--navy-200); font-size: 16px; line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__actions .so-btn, .hero__actions .btn-outline-light { min-height: 50px; padding-inline: var(--space-6); border-radius: var(--radius-full); }

.hero__car { position: relative; display: grid; place-items: center; max-width: 540px; width: 100%; margin-inline: auto; }
.hero__word {
  position: absolute; inset-inline: -12%; top: 4%; direction: ltr; text-align: center;
  font-family: "Estedad Latin", var(--font-sans); font-size: clamp(56px, 8vw, 120px); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13); user-select: none;
}
.hero__car img { position: relative; width: 100%; height: auto; }

/* ---------- Hero quick services ---------- */
.hero-services {
  display: grid; gap: var(--space-3); margin-top: var(--space-6);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hs {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4); border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff; text-decoration: none;
  transition: background-color 300ms, border-color 300ms, transform 300ms;
}
.hs:hover, .hs.is-active { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 121, 0, 0.45); }
.hs:hover { transform: translateY(-3px); }
.hs__icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.07); color: var(--brand-400);
  transition: background-color 300ms, color 300ms;
}
.hs.is-active .hs__icon, .hs:hover .hs__icon { background: var(--brand-600); color: #ffffff; }
.hs__icon .icon { width: 22px; height: 22px; }
.hs__text { display: grid; gap: 2px; min-width: 0; }
.hs__text strong { font-size: 15px; }
.hs__text small { font-size: 12px; line-height: 1.6; color: var(--navy-300); }
.hs__arrow { margin-inline-start: auto; width: 18px; height: 18px; color: var(--navy-400); transition: transform 300ms, color 300ms; }
.hs:hover .hs__arrow, .hs.is-active .hs__arrow { color: var(--brand-400); transform: translateX(-3px); }

/* the timer line fills while a card is highlighted, then the next card takes over */
.hs__timer {
  position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--brand-500);
  transform: scaleX(0); transform-origin: right center;
}
.hs.is-active .hs__timer { animation: hs-timer var(--hs-time, 3200ms) linear forwards; }
.hero-services.is-paused .hs__timer { animation-play-state: paused; }
@keyframes hs-timer { to { transform: scaleX(1); } }

/* icon motion when a card becomes active */
.hs.is-active[data-anim="ring"] .hs__icon .icon { animation: hs-ring 700ms ease; }
.hs.is-active[data-anim="flip"] .hs__icon .icon { animation: hs-flip 700ms ease; }
.hs.is-active[data-anim="pulse"] .hs__icon .icon { animation: hs-pulse 700ms ease; }
.hs.is-active[data-anim="bounce"] .hs__icon .icon { animation: hs-bounce 700ms ease; }
@keyframes hs-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
@keyframes hs-flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(180deg); } 100% { transform: rotateX(360deg); } }
@keyframes hs-pulse { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25); } 70% { transform: scale(0.95); } }
@keyframes hs-bounce { 0%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } 55% { transform: translateY(0); } 75% { transform: translateY(-3px); } }

/* entrance */
@keyframes hero-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes hero-car { from { opacity: 0; transform: translateX(-48px); } to { opacity: 1; transform: none; } }
.hero__text > * { animation: hero-up 650ms cubic-bezier(.2, .7, .2, 1) both; }
.hero__text > :nth-child(2) { animation-delay: 70ms; }
.hero__text > :nth-child(3) { animation-delay: 140ms; }
.hero__text > :nth-child(4) { animation-delay: 210ms; }
.hero__car img { animation: hero-car 850ms cubic-bezier(.2, .7, .2, 1) 120ms both; }
.hs { animation: hero-up 600ms cubic-bezier(.2, .7, .2, 1) both; }
.hs:nth-child(1) { animation-delay: 300ms; }
.hs:nth-child(2) { animation-delay: 380ms; }
.hs:nth-child(3) { animation-delay: 460ms; }
.hs:nth-child(4) { animation-delay: 540ms; }

@media (max-width: 959px) {
  .hero { padding-block: 84px 16px; width: calc(100% - 2 * var(--space-2)); margin-top: var(--space-2); border-radius: 24px; }
  .hero__inner { gap: var(--space-3); }
  .hero__car { order: -1; max-width: 300px; }
  .hero__word { font-size: 64px; }
  .hero__title { margin-top: var(--space-3); font-size: 26px; }
  .hero__lead { margin-top: var(--space-3); font-size: 14px; line-height: 1.85; }
  .hero__actions { margin-top: var(--space-4); }
  .hero__actions .so-btn, .hero__actions .btn-outline-light { flex: 1; min-height: 48px; padding-inline: var(--space-4); }
  .hero-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); margin-top: var(--space-5); }
  .hs { gap: var(--space-2); padding: var(--space-2) var(--space-3) var(--space-2) var(--space-2); border-radius: 16px; }
  .hs__arrow, .hs__text small { display: none; }
  .hs__icon { width: 36px; height: 36px; border-radius: 10px; }
  .hs__icon .icon { width: 18px; height: 18px; }
  .hs__text strong { font-size: 13px; }
}

/* ---------- Features rail ---------- */
.features { padding-block: 56px 8px; }
.features__rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-4); }
/* the line that connects the four steps; it draws from right to left when the rail comes into view */
.features__rail::before {
  content: ""; position: absolute; top: 31px; inset-inline: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--navy-200), var(--brand-500), var(--navy-200));
  transform: scaleX(0); transform-origin: right center;
  transition: transform 1400ms cubic-bezier(.4, 0, .2, 1);
}
.features.is-in .features__rail::before { transform: scaleX(1); }
.feature { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--space-2); }
.feature__icon {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: var(--space-2); border-radius: 20px;
  background: var(--surface); border: 1px solid var(--navy-200); color: var(--navy-400);
  box-shadow: 0 0 0 8px var(--page);
  transform: scale(0.85); opacity: 0.4;
  transition: background-color 400ms, color 400ms, border-color 400ms, transform 500ms cubic-bezier(.3, 1.6, .5, 1), opacity 400ms;
  transition-delay: calc(var(--i) * 320ms + 200ms);
}
.feature__icon .icon { width: 26px; height: 26px; stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 900ms ease; transition-delay: calc(var(--i) * 320ms + 350ms); }
.features.is-in .feature__icon { background: var(--navy-900); border-color: var(--navy-900); color: var(--brand-400); transform: none; opacity: 1; }
.features.is-in .feature__icon .icon { stroke-dashoffset: 0; }
.feature__title, .feature__body {
  opacity: 0; transform: translateY(8px);
  transition: opacity 500ms, transform 500ms; transition-delay: calc(var(--i) * 320ms + 400ms);
}
.features.is-in .feature__title, .features.is-in .feature__body { opacity: 1; transform: none; }
.feature__title { font-size: 16px; font-weight: 900; color: var(--navy-900); }
.feature__body { font-size: 13px; color: var(--navy-500); }
.feature__code {
  display: inline-block; min-width: 3ch; margin-inline-start: var(--space-1); padding: 0 var(--space-2);
  border-radius: var(--radius-full); background: var(--brand-50); color: var(--brand-700); font-weight: 900;
}
@media (max-width: 760px) {
  .features { padding-block: 40px 0; }
  .features__rail { grid-template-columns: 1fr; gap: var(--space-5); }
  .features__rail::before { top: 32px; bottom: 32px; inset-inline: auto; inset-inline-start: 31px; width: 2px; height: auto; transform: scaleY(0); transform-origin: center top; background: linear-gradient(180deg, var(--navy-200), var(--brand-500), var(--navy-200)); }
  .features.is-in .features__rail::before { transform: scaleY(1); }
  .feature { grid-template-columns: 64px 1fr; justify-items: start; text-align: start; column-gap: var(--space-4); row-gap: 0; }
  .feature__icon { grid-row: span 2; margin: 0; }
  .feature__title { align-self: end; }
  .feature__body { align-self: start; }
}

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section--tight { padding-block: 24px; }
.section--surface { background: var(--surface); }
.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: var(--space-4); margin-bottom: 32px;
}
.eyebrow-bar {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: 13px; line-height: 16px; font-weight: 700; color: var(--brand-700);
}
.eyebrow-bar::before { content: ""; width: 20px; height: 3px; border-radius: var(--radius-full); background: var(--brand-500); }
.section__title { margin-top: var(--space-2); font-size: clamp(24px, 3vw, 34px); line-height: 1.45; font-weight: 900; letter-spacing: -0.025em; color: var(--navy-900); }
.section__desc { margin-top: var(--space-2); color: var(--navy-500); font-size: 15px; line-height: 1.8; }
@media (max-width: 640px) { .section { padding-block: 56px; } }

/* ---------- Notices ---------- */
.nfilter {
  position: relative; display: inline-flex; flex-wrap: nowrap; gap: var(--space-0-5); max-width: 100%; overflow-x: auto; scrollbar-width: none;
  padding: var(--space-1); border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--navy-200);
}
.nfilter__indicator {
  position: absolute; top: var(--space-1); bottom: var(--space-1); left: 0; width: 0;
  border-radius: var(--radius-full); background: var(--navy-900);
  transition: left 350ms cubic-bezier(.3, .7, .2, 1), width 350ms cubic-bezier(.3, .7, .2, 1);
}
.nfilter button {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: var(--space-1-5);
  min-height: 40px; padding-inline: var(--space-4); border: 0; border-radius: var(--radius-full);
  background: transparent; color: var(--navy-600); font: inherit; font-weight: 500; cursor: pointer; transition: color 250ms;
}
.nfilter button:hover { color: var(--navy-900); }
.nfilter button[aria-checked="true"] { color: #ffffff; }
.nfilter__count {
  min-width: 20px; padding: 0 var(--space-1-5); border-radius: var(--radius-full);
  background: var(--navy-100); color: var(--navy-600); font-size: 11px; line-height: 20px; text-align: center;
  transition: background-color 250ms, color 250ms;
}
.nfilter__count:empty { display: none; }
.nfilter::-webkit-scrollbar { display: none; }
@media (max-width: 640px) { .nfilter button { flex-shrink: 0; padding-inline: var(--space-3); min-height: 38px; } }
.nfilter button[aria-checked="true"] .nfilter__count { background: var(--brand-600); color: #ffffff; }

.notices { display: grid; gap: var(--space-5); align-items: stretch; }
@media (min-width: 960px) { .notices { grid-template-columns: 5fr 7fr; } }

.ncat {
  display: inline-flex; align-items: center; gap: var(--space-1); padding: var(--space-1) var(--space-2-5, 10px);
  border-radius: var(--radius-full); font-size: 12px; font-weight: 700;
}
.ncat .icon { width: 14px; height: 14px; }
.ncat--sale { background: var(--brand-50); color: var(--brand-800); }
.ncat--service { background: var(--navy-100); color: var(--navy-800); }
.ncat--general { background: var(--attention-soft); color: var(--attention); }

/* pinned notice */
.nfeature {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-4);
  padding: 32px; border-radius: 24px; background: var(--navy-900); color: var(--navy-200);
  min-height: 100%;
}
.nfeature__art {
  position: absolute; inset-inline-start: -36px; bottom: -40px; width: 220px; height: 220px;
  fill: none; stroke: rgba(255, 255, 255, 0.06); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round;
  transform: rotate(-12deg); transition: transform 600ms cubic-bezier(.2, .7, .2, 1);
}
.nfeature:hover .nfeature__art { transform: rotate(-4deg) scale(1.05); }
.nfeature__meta { position: relative; display: flex; align-items: center; justify-content: space-between; }
.pin-tag { display: inline-flex; align-items: center; gap: var(--space-1); color: var(--brand-300); font-size: 12px; font-weight: 700; }
.pin-tag .icon { width: 16px; height: 16px; }
.nfeature .ncat--sale { background: rgba(255, 121, 0, 0.16); color: var(--brand-300); }
.nfeature__title { position: relative; font-size: 24px; line-height: 1.55; font-weight: 900; color: #ffffff; }
.nfeature__body { position: relative; line-height: 1.95; }
.nfeature__foot {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-top: auto; padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px;
}
.nfeature__date { display: inline-flex; align-items: center; gap: var(--space-1-5); }
.nfeature__date .icon { width: 16px; height: 16px; color: var(--brand-400); }
.nfeature__btn {
  display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 44px; padding-inline: var(--space-5);
  border-radius: var(--radius-full); background: var(--brand-600); color: #ffffff; font-weight: 700; text-decoration: none;
  transition: background-color 150ms, gap 200ms;
}
.nfeature__btn:hover { background: var(--brand-700); gap: var(--space-2-5, 10px); }
.nfeature__btn .icon { width: 16px; height: 16px; }

/* notice cards */
.ngrid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .ngrid { grid-template-columns: 1fr; } }
.ncard { display: flex; }
.ncard.is-in { animation: ncard-in 450ms cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--n, 0) * 70ms); }
@keyframes ncard-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.ncard__link {
  position: relative; display: flex; flex-direction: column; gap: var(--space-2); width: 100%;
  padding: var(--space-5); border-radius: 20px; background: var(--surface); border: 1px solid var(--navy-200);
  text-decoration: none; color: inherit;
  transition: transform 250ms, box-shadow 250ms, border-color 250ms;
}
.ncard__link:hover { transform: translateY(-4px); border-color: var(--brand-300); box-shadow: var(--shadow-lift); }
.ncard__top { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-1); }
.ncard__date { margin-inline-start: auto; font-size: 12px; color: var(--navy-500); white-space: nowrap; }
.ncard__new {
  display: none; align-items: center; gap: var(--space-1); font-size: 11px; font-weight: 700; color: var(--brand-700);
}
.ncard__new::before {
  content: ""; width: 7px; height: 7px; border-radius: var(--radius-full); background: var(--brand-500);
  animation: new-dot 1.8s ease-out infinite;
}
.ncard.is-new .ncard__new { display: inline-flex; }
@keyframes new-dot { 0% { box-shadow: 0 0 0 0 rgba(255, 121, 0, 0.5); } 100% { box-shadow: 0 0 0 8px rgba(255, 121, 0, 0); } }
.ncard__title { font-size: 16px; line-height: 1.65; font-weight: 900; color: var(--navy-900); transition: color 200ms; }
.ncard__link:hover .ncard__title { color: var(--brand-700); }
.ncard__body {
  flex: 1; font-size: 13px; line-height: 1.85; color: var(--navy-600);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ncard__more {
  display: flex; align-items: center; justify-content: space-between; margin-top: var(--space-2); padding-top: var(--space-3);
  border-top: 1px dashed var(--navy-200); font-size: 13px; font-weight: 700; color: var(--navy-700);
}
.ncard__arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
  border-radius: var(--radius-full); background: var(--navy-50); color: var(--navy-700);
  transition: background-color 250ms, color 250ms, transform 250ms;
}
.ncard__arrow .icon { width: 16px; height: 16px; }
.ncard__link:hover .ncard__arrow { background: var(--brand-600); color: #ffffff; transform: translateX(-4px); }
.notice-empty { grid-column: 1 / -1; }
.nfeature[hidden] + .ngrid { grid-column: 1 / -1; }

/* ---------- Models showcase ---------- */
.round-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--navy-200); border-radius: var(--radius-full); background: var(--surface);
  color: var(--navy-700); cursor: pointer; transition: background-color 150ms, border-color 150ms, color 150ms;
}
.round-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #ffffff; }

.showcase { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 960px) { .showcase { grid-template-columns: 1.6fr 1fr; } }
.showcase__stage {
  position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden;
  border-radius: 28px; background: radial-gradient(80% 70% at 50% 75%, #ffffff 0%, var(--navy-50) 55%, var(--navy-100) 100%);
  perspective: 1200px;
}
.showcase__word {
  position: absolute; inset-inline: 0; top: 10%; direction: ltr; text-align: center; white-space: nowrap;
  font-family: "Estedad Latin", var(--font-sans); font-size: clamp(56px, 10vw, 150px); font-weight: 900; letter-spacing: -0.04em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--navy-200);
  transition: opacity 300ms, transform 500ms cubic-bezier(.2, .7, .2, 1);
}
.showcase__car {
  position: relative; z-index: 1; width: 78%; height: auto; max-height: 82%; object-fit: contain;
  transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)) translateZ(40px);
  transition: transform 300ms ease-out, opacity 350ms ease;
  filter: drop-shadow(0 22px 18px rgba(13, 32, 65, 0.22));
}
.showcase__car.is-flat { mix-blend-mode: multiply; filter: none; width: 64%; }
.showcase__floor {
  position: absolute; bottom: 12%; width: 60%; height: 18px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(13, 32, 65, 0.22), transparent);
}
.showcase.is-out .showcase__car { opacity: 0; transform: translateX(-80px) translateZ(0) scale(.94); transition-duration: 260ms; }
.showcase.is-out .showcase__word { opacity: 0; transform: translateX(40px); }
.showcase.is-in .showcase__car { animation: car-enter 650ms cubic-bezier(.2, .7, .2, 1); }
@keyframes car-enter { from { opacity: 0; transform: translateX(90px) scale(.94); } to { opacity: 1; transform: translateZ(40px); } }

.showcase__info { display: grid; justify-items: start; gap: var(--space-3); }
.showcase__index { font-family: "Estedad Latin", var(--font-sans); font-size: 13px; font-weight: 700; color: var(--navy-400); direction: ltr; }
.showcase__name { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.3; font-weight: 900; color: var(--navy-900); }
.showcase__nav { display: flex; gap: var(--space-2); margin-top: var(--space-2); }

.showcase__thumbs {
  display: flex; gap: var(--space-2); margin-top: var(--space-6); padding-block: var(--space-2);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.showcase__thumbs::-webkit-scrollbar { display: none; }
.thumb {
  flex: 0 0 132px; scroll-snap-align: start; display: grid; gap: var(--space-1); justify-items: center;
  padding: var(--space-2) var(--space-2) var(--space-3); border-radius: 18px; border: 1px solid var(--navy-200);
  background: var(--surface); color: var(--navy-700); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
  transition: border-color 200ms, transform 200ms, box-shadow 200ms, background-color 200ms;
}
.thumb img { width: 100%; height: 64px; object-fit: contain; }
.thumb img.is-flat { mix-blend-mode: multiply; }
.thumb:hover { transform: translateY(-3px); border-color: var(--brand-300); }
.thumb[aria-current="true"] { border-color: var(--navy-900); box-shadow: 0 0 0 1px var(--navy-900), var(--shadow-card); background: var(--navy-50); }
@media (max-width: 640px) {
  .showcase__stage { border-radius: 20px; aspect-ratio: 4 / 3; }
  .thumb { flex-basis: 108px; }
}

/* ---------- Services: 3D flip cards ---------- */
.flip-grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .flip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.flip { display: block; width: 100%; aspect-ratio: 1 / 1.05; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; perspective: 1000px; }
.flip__inner {
  position: relative; display: block; width: 100%; height: 100%;
  transform-style: preserve-3d; transition: transform 700ms cubic-bezier(.3, .7, .2, 1);
}
.flip:hover .flip__inner, .flip:focus-visible .flip__inner, .flip[aria-pressed="true"] .flip__inner { transform: rotateY(180deg); }
.flip__face {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-4);
  padding: var(--space-5); border-radius: 24px; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center;
}
.flip__front { background: var(--surface); border: 1px solid var(--navy-200); transform-style: preserve-3d; }
.flip__front strong { font-size: 17px; font-weight: 900; color: var(--navy-900); transform: translateZ(30px); }
.flip__back {
  transform: rotateY(180deg); background: var(--navy-900); color: var(--navy-200); gap: var(--space-2);
}
.flip__back strong { color: #ffffff; font-size: 17px; font-weight: 900; }
.flip__back span { font-size: 14px; line-height: 1.8; }

/* the 3D cube that floats on each card */
.cube {
  position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950)); color: var(--brand-400);
  transform: translateZ(50px) rotateX(14deg) rotateY(-18deg);
  box-shadow: 8px 10px 0 -2px var(--brand-600), 18px 26px 30px -10px rgba(13, 32, 65, 0.45);
  animation: cube-float 4s ease-in-out infinite;
}
.flip-grid li:nth-child(2) .cube { animation-delay: -1s; }
.flip-grid li:nth-child(3) .cube { animation-delay: -2s; }
.flip-grid li:nth-child(4) .cube { animation-delay: -3s; }
.cube .icon { width: 32px; height: 32px; }
@keyframes cube-float {
  0%, 100% { transform: translateZ(50px) rotateX(14deg) rotateY(-18deg) translateY(0); }
  50% { transform: translateZ(50px) rotateX(8deg) rotateY(-8deg) translateY(-8px); }
}

/* booking: three isometric steps */
.book {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5);
  margin-top: var(--space-6); padding: var(--space-5) var(--space-6); border-radius: 24px; background: var(--navy-900); color: #ffffff;
}
.book__label { font-size: 17px; font-weight: 900; }
.book__steps { display: flex; align-items: center; gap: 40px; }
.book__steps li { display: flex; align-items: center; gap: var(--space-3); font-weight: 700; color: var(--navy-200); position: relative; }
.book__steps li + li::before { content: ""; position: absolute; inset-inline-end: calc(100% + 8px); width: 24px; height: 2px; background: rgba(255, 255, 255, 0.2); }
.iso {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--brand-600);
  transform: rotate(45deg); box-shadow: 3px 3px 0 var(--brand-800), 7px 7px 12px rgba(0, 0, 0, 0.3);
  transition: transform 400ms cubic-bezier(.3, 1.4, .5, 1);
}
.iso b { transform: rotate(-45deg); font-size: 16px; }
.book__steps li:hover .iso { transform: rotate(45deg) translate(-3px, -3px); box-shadow: 6px 6px 0 var(--brand-800), 12px 12px 16px rgba(0, 0, 0, 0.3); }
@media (max-width: 640px) { .book { padding: var(--space-5); } .book__steps { gap: 28px; } }

/* ---------- Warning & channels ---------- */
.channels {
  display: grid; gap: var(--space-5); align-items: center;
  padding-block: var(--space-6); border-block: 1px solid var(--navy-200);
}
@media (min-width: 960px) { .channels { grid-template-columns: 1.3fr 1fr; } }
.channels__warn { display: flex; gap: var(--space-4); align-items: flex-start; color: var(--navy-600); line-height: 1.8; }
.channels__warn-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 48px; height: 48px; border-radius: var(--radius-xl); background: var(--warn-soft); color: var(--warn);
}
.channels__title { margin-bottom: var(--space-1); font-size: 17px; font-weight: 900; color: var(--navy-900); }
.channels__label { margin-bottom: var(--space-3); font-weight: 500; color: var(--navy-700); }
.channels__links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.channel {
  display: inline-flex; align-items: center; gap: var(--space-2); min-height: 44px;
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full);
  border: 1px solid var(--navy-200); background: var(--surface);
  color: var(--navy-800); font-weight: 500; text-decoration: none; transition: border-color 150ms, background-color 150ms;
}
.channel .icon { width: 18px; height: 18px; color: var(--brand-600); }
.channel:hover { border-color: var(--brand-300); background: var(--brand-50); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-layout { grid-template-columns: 7fr 4fr; } .faq-layout > .faq-side { order: 2; position: sticky; top: 120px; align-self: start; } }
.faq__cta { margin-top: var(--space-5); min-height: 44px; }
.faq { display: grid; gap: var(--space-3); }
.faq__item { border: 1px solid var(--navy-200); border-radius: var(--radius-2xl); background: var(--surface); transition: border-color 150ms, box-shadow 150ms; }
.faq__item[open] { border-color: var(--brand-200); box-shadow: var(--shadow-card); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5); cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 700; color: var(--navy-900);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: var(--navy-400); transition: transform 200ms; }
.faq__item[open] summary .icon { transform: rotate(180deg); color: var(--brand-600); }
.faq__item p { padding: 0 var(--space-5) var(--space-5); color: var(--navy-600); line-height: 1.9; }

/* ---------- Visit: map, hours, contact ---------- */
.visit { display: grid; gap: var(--space-5); }
@media (min-width: 960px) { .visit { grid-template-columns: 7fr 5fr; } }
.visit__side { display: grid; gap: var(--space-5); }
.map-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-hero); border: 1px solid var(--navy-200); background: var(--surface); }
.map-card__map { position: relative; flex: 1; min-height: 320px; background: #e8edf3; }
.map-card__streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-card__streets path { fill: none; stroke: #ffffff; stroke-width: 14; stroke-linecap: round; }
.map-card__streets path.minor { stroke-width: 6; }
.map-card__pin {
  position: absolute; inset-inline-start: 50%; top: 46%; translate: 50% -100%;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--brand-600); box-shadow: var(--shadow-lift);
}
.map-card__pin img { width: 28px; rotate: 45deg; }
.map-card__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 400ms; }
.map-card__frame.is-loaded { opacity: 1; }
.map-card__pin::after {
  content: ""; position: absolute; inset: -10px; border-radius: inherit; border: 2px solid var(--brand-500);
  opacity: 0; animation: ping 2.4s ease-out infinite;
}
@keyframes ping { 0% { opacity: .7; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.5); } }
.map-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: var(--space-4); border-top: 1px solid var(--navy-100); }
.map-card__actions .so-btn { min-height: 44px; }

.info-card { padding: var(--space-6); border-radius: var(--radius-hero); }
.info-card__head { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.info-card__title { font-size: 18px; line-height: 1.5; font-weight: 900; color: var(--navy-900); }
.info-card__note { margin-top: var(--space-4); font-size: 12px; line-height: 1.8; color: var(--navy-500); }

.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: var(--space-3) var(--space-2); border-bottom: 1px solid var(--navy-100); text-align: start; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table th { font-weight: 500; color: var(--navy-700); }
.hours-table td { text-align: end; font-weight: 700; color: var(--navy-900); }
.hours-table td.muted { color: var(--navy-500); font-weight: 500; }
.hours-table tr.is-today { background: var(--brand-50); }
.hours-table tr.is-today th { color: var(--brand-800); font-weight: 700; }
.hours-table tr.is-today th::after { content: " (امروز)"; font-weight: 500; font-size: 12px; }

.contact-list { display: grid; gap: var(--space-3); }
.contact-list li { display: flex; align-items: flex-start; gap: var(--space-3); padding-bottom: var(--space-3); border-bottom: 1px solid var(--navy-100); }
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list .icon { margin-top: 2px; color: var(--brand-600); }
.contact-list__label { display: block; font-size: 12px; color: var(--navy-500); }
.contact-list div > :not(.contact-list__label) { font-weight: 500; color: var(--navy-900); text-decoration: none; }
.contact-list a:hover { color: var(--brand-700); }

/* ---------- Notices: calm list (overrides the card grid) ---------- */
.ngrid {
  grid-template-columns: 1fr; gap: 0; align-content: start;
  border: 1px solid var(--navy-200); border-radius: 24px; background: var(--surface); overflow: hidden;
}
.ncard + .ncard .ncard__link { border-top: 1px solid var(--navy-100); }
.ncard__link {
  display: grid; grid-template-columns: 1fr auto; gap: var(--space-1) var(--space-4); align-items: center;
  padding: var(--space-4) var(--space-5); border: 0; border-radius: 0; background: transparent;
}
.ncard__link:hover { transform: none; box-shadow: none; background: var(--navy-50); border-color: transparent; }
.ncard__top { grid-column: 1; margin: 0; gap: var(--space-2); }
.ncard__title { grid-column: 1; font-size: 15px; line-height: 1.7; }
.ncard__body { display: none; }
.ncard__more { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0; border: 0; font-size: 0; }
.ncard__arrow { width: 36px; height: 36px; }
.ncard__date { margin-inline-start: 0; }
.ncard__top .ncat { padding: 2px var(--space-2); font-size: 11px; }
.ncard__new::before { animation: none; }
.ncard.is-collapsed { display: none; }
.ngrid__more { border-top: 1px solid var(--navy-100); }
.ngrid__more button {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; min-height: 52px;
  border: 0; background: transparent; color: var(--navy-700); font: inherit; font-weight: 700; cursor: pointer;
}
.ngrid__more button:hover { background: var(--navy-50); color: var(--navy-900); }
.ngrid__more .icon { width: 18px; height: 18px; transition: transform 250ms; }
.ngrid__more [aria-expanded="true"] .icon { transform: rotate(180deg); }
.nfeature__body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Safe registration ---------- */
.safe {
  display: grid; gap: var(--space-5); padding: 32px; border-radius: 28px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-950)); color: var(--navy-200);
}
@media (min-width: 960px) { .safe { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.safe__main { display: flex; gap: var(--space-4); align-items: flex-start; }
.safe__badge {
  display: grid; place-items: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px;
  background: var(--brand-600); color: #ffffff; box-shadow: 0 10px 24px -10px rgba(255, 121, 0, 0.8);
}
.safe__badge .icon { width: 28px; height: 28px; }
.safe__title { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.5; font-weight: 900; color: #ffffff; }
.safe__title span { display: block; color: var(--brand-300); font-size: 0.75em; }
.safe__text { margin-top: var(--space-2); line-height: 1.9; }
.safe__domain {
  display: inline-flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3);
  padding: var(--space-2) var(--space-4); border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.35); color: #ffffff; font-family: var(--font-mono); font-size: 15px; text-decoration: none;
}
.safe__domain .icon { width: 18px; height: 18px; color: #4ade80; }
.safe__domain:hover { background: rgba(255, 255, 255, 0.14); }
.safe__rules { display: grid; gap: var(--space-2); }
.safe__rules li {
  display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4);
  border-radius: 16px; background: rgba(255, 255, 255, 0.05); font-size: 14px;
}
.safe__rules .icon { flex-shrink: 0; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(251, 113, 133, 0.18); color: var(--rose-400); box-sizing: content-box; }
.safe__rules .is-ok .icon { background: rgba(255, 121, 0, 0.18); color: var(--brand-400); }
.safe__follow {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
  padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 14px;
}
.safe__follow span { margin-inline-end: auto; }
.safe .channel { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); color: #ffffff; }
.safe .channel:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--brand-500); }
@media (max-width: 640px) { .safe { padding: var(--space-5); } .safe__main { flex-direction: column; } .safe__follow span { width: 100%; } }

/* ---------- FAQ: numbered accordion and call card ---------- */
.faq-side .section__title { margin-bottom: var(--space-5); }
.call-card { padding: var(--space-5); border-radius: 24px; background: var(--navy-900); color: var(--navy-200); }
.call-card__label { font-weight: 700; color: #ffffff; margin-bottom: var(--space-4); }
.call-btn {
  position: relative; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2);
  padding-inline-end: var(--space-5); border-radius: var(--radius-full); background: var(--brand-600); color: #ffffff;
  text-decoration: none; transition: background-color 200ms, transform 200ms;
}
.call-btn:hover { background: var(--brand-700); transform: translateY(-2px); }
.call-btn__icon {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #ffffff; color: var(--brand-600);
}
.call-btn__icon::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ffffff;
  animation: ring-out 2s ease-out infinite;
}
@keyframes ring-out { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.call-btn__icon .icon { width: 22px; height: 22px; animation: phone-shake 2s ease-in-out infinite; }
@keyframes phone-shake { 0%, 60%, 100% { transform: rotate(0); } 65%, 75%, 85% { transform: rotate(-14deg); } 70%, 80% { transform: rotate(14deg); } }
.call-btn__text { display: grid; line-height: 1.4; }
.call-btn__text small { font-size: 12px; opacity: .85; }
.call-btn__text strong { font-size: 19px; font-weight: 900; direction: ltr; text-align: start; }
.call-card__hint { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-top: var(--space-4); font-size: 13px; }
.call-card__hint .open-badge { margin: 0; }

.faq__item summary { justify-content: flex-start; gap: var(--space-3); }
.faq__n { flex-shrink: 0; font-family: "Estedad Latin", var(--font-sans); font-size: 13px; color: var(--brand-600); }
.faq__plus { position: relative; flex-shrink: 0; width: 28px; height: 28px; margin-inline-start: auto; border-radius: 50%; background: var(--navy-50); transition: background-color 200ms, transform 300ms; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--navy-700); }
.faq__plus::after { transform: rotate(90deg); transition: transform 300ms; }
.faq__item[open] .faq__plus { background: var(--brand-600); transform: rotate(180deg); }
.faq__item[open] .faq__plus::before, .faq__item[open] .faq__plus::after { background: #ffffff; }
.faq__item[open] .faq__plus::after { transform: rotate(0); }
.faq__item p { padding-inline-start: calc(var(--space-5) + 30px); }

/* ---------- Visit: map with floating panel ---------- */
.visit2 { position: relative; display: grid; border-radius: 28px; overflow: hidden; border: 1px solid var(--navy-200); background: var(--surface); }
.visit2__map { position: relative; min-height: 460px; background: #e8edf3; }
.visit2__panel { display: grid; gap: var(--space-4); padding: var(--space-6); }
@media (min-width: 960px) {
  .visit2__panel {
    position: absolute; top: var(--space-5); inset-inline-end: var(--space-5); width: 400px;
    align-content: start; border-radius: 24px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    box-shadow: var(--shadow-lift);
  }
}
@media (max-width: 959px) { .visit2__map { min-height: 300px; } }
.visit2__head { display: flex; align-items: center; justify-content: space-between; }
.visit2__city { font-size: 13px; font-weight: 700; color: var(--brand-700); }
.visit2__addr { font-size: 17px; line-height: 1.9; font-weight: 700; color: var(--navy-900); }
.visit2__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.route-btn {
  display: inline-flex; align-items: center; gap: var(--space-1-5); min-height: 44px; padding-inline: var(--space-4);
  border-radius: var(--radius-full); border: 1px solid var(--navy-200); background: var(--surface);
  color: var(--navy-800); font-weight: 700; font-size: 14px; text-decoration: none; transition: background-color 150ms, border-color 150ms;
}
.route-btn .icon { width: 18px; height: 18px; }
.route-btn:hover { background: var(--navy-50); border-color: var(--navy-300); }
.route-btn--primary { background: var(--navy-900); border-color: var(--navy-900); color: #ffffff; }
.route-btn--primary:hover { background: var(--navy-800); }
.visit2 .hours-table { margin-top: var(--space-1); }

@media (prefers-reduced-motion: reduce) { .call-btn__icon::after, .call-btn__icon .icon { animation: none; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 0; background: var(--navy-950); color: var(--navy-300); padding-block: 56px 24px; }
.site-footer__grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer__brand p { margin-top: var(--space-4); max-width: 38ch; font-size: 13px; line-height: 1.9; }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); font-size: 14px; }
.footer-col h2 { margin-bottom: var(--space-2); font-size: 14px; font-weight: 700; color: #ffffff; }
.footer-col a { color: var(--navy-300); text-decoration: none; }
.footer-col a:hover { color: #ffffff; }
.footer-channels { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.footer-channels a {
  padding: var(--space-1) var(--space-3); border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15); font-size: 12px;
}
.footer-channels a:hover { border-color: var(--brand-500); }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-top: 40px; padding-top: var(--space-5); border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 12px;
}
.to-top { display: inline-flex; align-items: center; gap: var(--space-1-5); color: var(--navy-200); text-decoration: none; }
.to-top:hover { color: #ffffff; }
.to-top .icon { width: 16px; height: 16px; }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 68px; }
  .action-bar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
    padding: var(--space-1-5) var(--space-2) calc(var(--space-1-5) + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--navy-200); box-shadow: 0 -8px 24px -12px rgba(13, 32, 65, 0.2);
  }
  .action-bar a {
    display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 52px; justify-content: center;
    border-radius: var(--radius-xl); color: var(--navy-700); font-size: 12px; font-weight: 500; text-decoration: none;
  }
  .action-bar a:first-child { background: var(--brand-600); color: #ffffff; }
  .action-bar .icon { width: 20px; height: 20px; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero__text > *, .hero__car img, .hs, .hs .icon, .site-header__current, .ncard, .ncard__new::before, .cube, .showcase__car { animation: none !important; }
  .flip__inner { transition: none; }
  .features__rail::before, .feature__icon, .feature__icon .icon, .feature__title, .feature__body { transition: none !important; }
  .map-card__pin::after { animation: none; }
}

@media print {
  .site-header, .hero-services, .action-bar, .map-card, .site-footer { display: none; }
  .hero { background: none; color: var(--navy-900); }
  .so-card, .ncard__link { box-shadow: none; border-color: var(--navy-300); break-inside: avoid; }
}

/* ---------- Leaflet map in the contact card ---------- */
.map-card__leaflet { position: absolute; inset: 0; z-index: 0; background: transparent; font-family: var(--font-sans); }
.map-card__leaflet .leaflet-control-attribution { font-size: 10px; }
.saipa-pin { background: none; border: 0; }
.saipa-pin__mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50% 50% 50% 0; rotate: -45deg;
  background: var(--brand-600); border: 2px solid #ffffff; box-shadow: 0 4px 10px rgba(13, 32, 65, 0.35);
}
.saipa-pin__mark img { width: 15px; rotate: 45deg; }

/* showcase auto-advance progress */
.showcase__progress {
  position: absolute; inset-inline: 24px; bottom: 16px; z-index: 2; height: 3px; border-radius: 3px;
  background: var(--brand-500); transform: scaleX(0); transform-origin: right center; opacity: 0.85;
}
.showcase__progress.is-running { animation: sc-progress linear forwards; }
@keyframes sc-progress { to { transform: scaleX(1); } }
