/* v1.3: progressive motion + original, admin-managed photography. */
.theme-v13 .hero { background: #081b2d; }
.theme-v13 .button--whatsapp { background: #117b51; color: #fff; border-color: #117b51; }
.theme-v13 .button--whatsapp:hover { background: #09633e; }
.theme-v13 .button, .theme-v13 .nav-cta, .theme-v13 .mobile-actions a { position: relative; }
.theme-v13 .button svg, .theme-v13 .nav-cta svg, .theme-v13 .mobile-actions svg { flex: 0 0 22px; width: 22px; height: 22px; }
.theme-v13 .mobile-actions .quick-quote { color: #fff; background: #087e9e; }
.theme-v13 .mobile-actions a[href*="wa.me/"] { background: #117b51; color: #fff; }
.theme-v13 .mobile-actions a { box-shadow: 0 8px 24px rgba(8,27,45,.2); }
.theme-v13 .hero-video-toggle { position: absolute; right: 24px; bottom: 18px; z-index: 3; min-height: 44px; border: 1px solid #9aebf9; border-radius: 6px; padding: 10px 16px; background: #081b2d; color: #fff; font: inherit; font-size: .85rem; cursor: pointer; }
.theme-v13 .hero-video-toggle:disabled { opacity: .7; cursor: wait; }
.theme-v13 [hidden] { display: none !important; }
.theme-v13 .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.theme-v13 .hero__video.is-playing { opacity: 1; }
.theme-v13 .hero__overlay { z-index: 1; }
.theme-v13 .hero__content { position: relative; z-index: 2; }
.theme-v13 .media-video { display: block; width: 100%; max-height: 640px; aspect-ratio: 16 / 9; background: #081b2d; object-fit: contain; }
.theme-v13 .video-frame > video { position: static; height: auto; border-radius: 8px; }
.theme-v13 .gallery-item--video video, .theme-v13 .gallery-item--video iframe { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; border: 0; }
.theme-v13 .home-gallery__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.theme-v13 .home-gallery .gallery-item { margin: 0; overflow: hidden; border: 1px solid #dce6ec; border-radius: 8px; background: #fff; }
.theme-v13 .home-gallery .gallery-item > a { display: block; overflow: hidden; }
.theme-v13 .home-gallery .gallery-item img { display: block; width: 100%; height: 290px; object-fit: cover; object-position: center 58%; }
.theme-v13 .home-gallery figcaption { padding: 16px 18px; font-weight: 700; color: #132e42; font-size: .95rem; }
.theme-v13 .gallery-grid .gallery-item img { object-position: center 58%; }
.theme-v13 .media-empty { min-height: 360px; display: grid; place-items: center; background: #e8f0f4; color: #087e9e; }
.theme-v13 .media-empty svg { width: 96px; height: 96px; }
.theme-v13.photo-polish .hero__media > img,
.theme-v13.photo-polish .theme-banner__image,
.theme-v13.photo-polish .split-layout__media > img,
.theme-v13.photo-polish .theme-service-card > img,
.theme-v13.photo-polish .gallery-item img,
.theme-v13.photo-polish .theme-detail-cover { filter: brightness(1.04) contrast(1.025) saturate(1.035); }
@media (prefers-reduced-motion: no-preference) {
  .theme-v13.motion-enabled .nav-cta,
  .theme-v13.motion-enabled .quick-quote,
  .theme-v13.motion-enabled .button--whatsapp,
  .theme-v13.motion-enabled .mobile-actions a[href*="wa.me/"] { animation: contact-glow 1.5s ease-out 3; }
  .theme-v13.motion-enabled .nav-cta svg,
  .theme-v13.motion-enabled .quick-quote svg { animation: quote-nudge 1.5s ease-in-out 3; }
  .theme-v13.motion-enabled .button--whatsapp svg,
  .theme-v13.motion-enabled .mobile-actions a[href*="wa.me/"] svg { animation: message-greet 1.5s ease-in-out 3; }
  .theme-v13.motion-enabled .button,
  .theme-v13.motion-enabled .nav-cta,
  .theme-v13.motion-enabled .mobile-actions a,
  .theme-v13.motion-enabled .theme-service-card__icon,
  .theme-v13.motion-enabled .home-gallery img { transition: transform .22s ease, box-shadow .22s ease; }
  .theme-v13.motion-enabled .button:hover,
  .theme-v13.motion-enabled .mobile-actions a:hover { transform: translateY(-3px); }
  .theme-v13.motion-enabled .theme-service-card:hover .theme-service-card__icon { transform: translateY(-4px) rotate(-5deg); }
  .theme-v13.motion-enabled .home-gallery a:hover img,
  .theme-v13.motion-enabled .home-gallery a:focus-visible img { transform: scale(1.025); }
}
/* Initial attention cues finish after 4.5 seconds; no endless flashing or bouncing. */
@keyframes contact-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(16,168,210,0); } 50% { box-shadow: 0 0 0 7px rgba(16,168,210,.16); } }
@keyframes quote-nudge { 0%,65%,100% { transform: translateX(0); } 35% { transform: translateX(4px); } }
@keyframes message-greet { 0%,65%,100% { transform: rotate(0); } 25% { transform: rotate(-10deg); } 45% { transform: rotate(7deg); } }
.theme-v13:not(.motion-enabled) *, .theme-v13:not(.motion-enabled) *::before, .theme-v13:not(.motion-enabled) *::after { animation: none !important; transition: none !important; }
@media (max-width: 900px) {
  .theme-v13 .home-gallery__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
  .theme-v13 .home-gallery .gallery-item img { height: 270px; }
}
@media (max-width: 680px) {
  .theme-v13 .mobile-actions { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .theme-v13 .mobile-actions a { min-width: 0; gap: 6px; padding-inline: 8px; font-size: .8rem; box-shadow: none; }
  .theme-v13 .mobile-actions svg { width: 20px; height: 20px; flex-basis: 20px; }
  .theme-v13 .hero__content { padding-bottom: 100px; }
  .theme-v13 .hero-video-toggle { bottom: 20px; right: 16px; left: 16px; font-size: .8rem; }
  .theme-v13 .home-gallery__grid { grid-template-columns: 1fr; }
  .theme-v13 .home-gallery .gallery-item img { height: auto; aspect-ratio: 4 / 3; }
  .theme-v13 .media-empty { min-height: 250px; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-v13 *, .theme-v13 *::before, .theme-v13 *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .theme-v13 .hero__video, .theme-v13 .hero-video-toggle { display: none !important; } }
