/* Konrad: glass belongs to navigation and secondary actions.
   Primary actions keep a solid surface and dependable contrast. */

.automotive-world .button,
.inside-page .btn,
.inside-page .site-nav nav .nav-contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 12px;
  line-height: 1.45;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 180ms ease-out, color 180ms ease-out,
    border-color 180ms ease-out, transform 180ms ease-out;
}

.automotive-world .button:not(.secondary):not(.white),
.inside-page .btn-blue,
.inside-page .site-nav nav .nav-contact {
  background: #174ce7;
  color: #fff;
  border-color: rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px rgba(255, 255, 255, .16);
}

.automotive-world .hero-actions > .button:first-child,
.automotive-world .button.white,
.inside-page .final-cta .btn-blue {
  background: #fff;
  color: #10171d;
  border-color: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px #fff;
}

/* Readable fallback where backdrop-filter is unavailable. */
.automotive-world .button.secondary,
.inside-page .btn-white {
  background: rgba(244, 247, 249, .94);
  color: #10171d;
  border-color: rgba(16, 23, 29, .24);
  box-shadow: inset 0 1px rgba(255, 255, 255, .9);
}

.automotive-world .hero .button.secondary,
.automotive-world .site-header .button,
.inside-page .subhero .btn-white,
.inside-page .final-cta .btn-white {
  background: rgba(16, 23, 29, .9);
  color: #fff;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, .48);
  box-shadow: inset 0 1px rgba(255, 255, 255, .15);
}

.automotive-world .site-header,
.inside-page .site-nav {
  background: rgba(7, 9, 11, .96);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: none;
}

.automotive-world .site-header .menu-toggle,
.inside-page .site-nav .menu-toggle {
  min-height: 48px;
  min-width: 48px;
  border-radius: 10px;
  color: #fff;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .automotive-world .button.secondary,
  .inside-page .btn-white {
    background: rgba(255, 255, 255, .68);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }

  .automotive-world .hero .button.secondary,
  .automotive-world .site-header .button,
  .inside-page .subhero .btn-white,
  .inside-page .final-cta .btn-white {
    background: rgba(7, 9, 11, .48);
    -webkit-backdrop-filter: blur(16px) saturate(125%);
    backdrop-filter: blur(16px) saturate(125%);
  }

  .automotive-world .site-header,
  .inside-page .site-nav {
    background: rgba(7, 9, 11, .78);
    -webkit-backdrop-filter: blur(18px) saturate(125%);
    backdrop-filter: blur(18px) saturate(125%);
  }
}

/* A brief reflection crosses the control only after deliberate hover. */
.automotive-world .button::before,
.inside-page .btn::before,
.inside-page .site-nav nav .nav-contact::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -35% auto -35% -65%;
  width: 48%;
  background: linear-gradient(100deg, transparent,
    rgba(255, 255, 255, .17), transparent);
  transform: translateX(0) skewX(-18deg);
  opacity: 0;
}

.automotive-world .button:focus-visible,
.inside-page .btn:focus-visible,
.automotive-world .site-header a:focus-visible,
.automotive-world .site-header button:focus-visible,
.inside-page .site-nav a:focus-visible,
.inside-page .site-nav button:focus-visible {
  outline: 3px solid #6c94ff;
  outline-offset: 4px;
}

.automotive-world .button:disabled,
.automotive-world .button[aria-disabled="true"],
.inside-page .btn:disabled,
.inside-page .btn[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .automotive-world .button:not(:disabled):not([aria-disabled="true"]):hover,
  .inside-page .btn:not(:disabled):not([aria-disabled="true"]):hover,
  .inside-page .site-nav nav .nav-contact:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .65);
  }

  .automotive-world .button:not(.secondary):not(.white):hover,
  .inside-page .btn-blue:hover,
  .inside-page .site-nav nav .nav-contact:hover {
    background: #123fc7;
    color: #fff;
  }

  .automotive-world .hero-actions > .button:first-child:hover,
  .automotive-world .button.white:hover,
  .inside-page .final-cta .btn-blue:hover {
    background: #edf2ff;
    color: #10171d;
  }

  .automotive-world .button.secondary:hover,
  .inside-page .btn-white:hover {
    background: rgba(236, 242, 255, .88);
    color: #10171d;
    border-color: rgba(23, 76, 231, .45);
  }

  .automotive-world .hero .button.secondary:hover,
  .automotive-world .site-header .button:hover,
  .inside-page .subhero .btn-white:hover,
  .inside-page .final-cta .btn-white:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border-color: rgba(255, 255, 255, .75);
  }

  .automotive-world .button:not(:disabled):not([aria-disabled="true"]):hover::before,
  .inside-page .btn:not(:disabled):not([aria-disabled="true"]):hover::before,
  .inside-page .site-nav nav .nav-contact:hover::before {
    opacity: 1;
    transform: translateX(460%) skewX(-18deg);
    transition: transform 650ms cubic-bezier(.16, 1, .3, 1), opacity 180ms ease-out;
  }
}

@media (max-width: 800px) {
  .automotive-world .site-header nav,
  .inside-page .site-nav nav {
    background: rgba(7, 9, 11, .98);
  }
}

@media (max-width: 600px) {
  .automotive-world .mobile-actions {
    background: rgba(7, 9, 11, .94);
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: #fff;
    box-shadow: none;
  }

  .automotive-world .mobile-actions a {
    min-height: 48px;
    border-radius: 12px;
    border-color: rgba(255, 255, 255, .34);
    color: #fff;
    background: rgba(255, 255, 255, .07);
  }

  .automotive-world .mobile-actions a:last-child {
    background: #174ce7;
    border-color: #174ce7;
    color: #fff;
  }

  .automotive-world .mobile-actions a:focus-visible {
    outline: 3px solid #8eaeff;
    outline-offset: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .automotive-world .button,
  .inside-page .btn,
  .inside-page .site-nav nav .nav-contact {
    transition: none;
  }

  .automotive-world .button::before,
  .inside-page .btn::before,
  .inside-page .site-nav nav .nav-contact::before {
    display: none;
  }

  .automotive-world .button:hover,
  .inside-page .btn:hover,
  .inside-page .site-nav nav .nav-contact:hover {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .automotive-world .button.secondary,
  .inside-page .btn-white {
    background: #f4f7f9;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .automotive-world .site-header,
  .inside-page .site-nav,
  .automotive-world .hero .button.secondary,
  .automotive-world .site-header .button,
  .inside-page .subhero .btn-white,
  .inside-page .final-cta .btn-white,
  .automotive-world .mobile-actions {
    background: #10171d;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

}

@media (forced-colors: active) {
  .automotive-world .button,
  .inside-page .btn,
  .inside-page .site-nav nav .nav-contact {
    border: 1px solid ButtonText;
    box-shadow: none;
  }

  .automotive-world .button::before,
  .inside-page .btn::before,
  .inside-page .site-nav nav .nav-contact::before {
    display: none;
  }
}

/* The page-end return sits in the footer, without covering the damage form. */
.back-to-top{display:inline-flex!important;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 18px!important;border:1px solid #81909d;border-radius:12px;color:#fff!important;background:#ffffff0d;font-family:inherit;font-size:13px;line-height:1.5;white-space:nowrap;text-decoration:none!important}
.back-to-top svg{flex:none;transition:transform .2s ease-out}
.back-to-top:hover svg{transform:translateY(-3px)}
.back-to-top:focus-visible{outline:3px solid #8eaeff;outline-offset:4px}
.inside-page .footer-bottom{align-items:center;flex-wrap:wrap}
.automotive-world .legal-links{align-items:center}
.automotive-world .home-whatsapp,.inside-page .whatsapp-float{display:flex;align-items:center;justify-content:center;gap:10px;width:auto;height:54px;padding:10px 17px;border:1px solid #b4e2c975;border-radius:16px;background:#0c4c35ed;color:#fff;box-shadow:0 8px 22px #0003;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-decoration:none;transition:background-color .2s,transform .2s;z-index:35}
.automotive-world .home-whatsapp svg,.inside-page .whatsapp-float svg{width:28px;height:28px}
.automotive-world .home-whatsapp::after,.inside-page .whatsapp-float::after{content:'WhatsApp';font-family:inherit;font-size:13px;font-weight:600;line-height:1.5}
.automotive-world .home-whatsapp:hover,.inside-page .whatsapp-float:hover{background:#0b6844;transform:translateY(-2px)}
@media(max-width:700px){.automotive-world .home-whatsapp,.inside-page .whatsapp-float{width:50px;height:50px;padding:10px;border-radius:50%;right:16px}.automotive-world .home-whatsapp::after,.inside-page .whatsapp-float::after{display:none}.inside-page .whatsapp-float{bottom:20px}.inside-page .footer-bottom .back-to-top{margin:0 0 12px}.automotive-world .legal-links .back-to-top{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.back-to-top svg,.automotive-world .home-whatsapp,.inside-page .whatsapp-float{transition:none}.back-to-top:hover svg,.automotive-world .home-whatsapp:hover,.inside-page .whatsapp-float:hover{transform:none}}
