/* ==========================================================================
   LAND ROVER APPROVED — Landing Page CSS
   Design: Dark canvas LR 2026 · Gold accents · Sans-serif ultralight
   ========================================================================== */

:root {
   --lra-canvas: #0C121C;
   --lra-canvas-deep: #060A10;
   --lra-green: #0C381F;
   --lra-green-light: #1A5032;
   --lra-gold: #C9A961;
   --lra-gold-light: #E5D4A8;
   --lra-gold-dark: #9A7B3C;
   --lra-white: #FFFFFF;
   --lra-white-soft: rgba(255,255,255,0.85);
   --lra-white-muted: rgba(255,255,255,0.5);
   --lra-beige: #F5F5F0;
   --lra-gray: #666666;
   --lra-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ---------- HERO ---------- */
.lra-hero {
   position: relative;
   width: 100%;
   height: 90vh;
   min-height: 700px;
   overflow: hidden;
   background: var(--lra-canvas);
}
.lra-hero__bg {
   position: absolute;
   inset: 0;
   background-size: cover;
   background-position: center;
   z-index: 1;
   animation: lraKenBurns 25s ease-in-out infinite alternate;
}
@keyframes lraKenBurns {
   0% { transform: scale(1); }
   100% { transform: scale(1.06); }
}
.lra-hero__overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(160deg, rgba(12,18,28,0.75) 0%, rgba(12,56,31,0.45) 100%);
   z-index: 2;
}
.lra-hero__content {
   position: relative;
   z-index: 3;
   padding: 40px 20px;
}
.lra-hero__logos {
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 50px;
   margin-bottom: 0;
   line-height: 0;
}
.lra-hero__logo-item {
   width: 200px;
   height: auto;
   margin-top: -40px;
   margin-bottom: -40px;
   filter: brightness(0) invert(1);
   opacity: 0.9;
   transition: all 0.4s ease;
}
.lra-hero__logo-item:hover {
   opacity: 1;
   transform: scale(1.05);
}
.lra-hero__title {
   font-family: var(--lra-font);
   font-size: clamp(52px, 8vw, 96px);
   font-weight: 300;
   color: var(--lra-white);
   letter-spacing: 0.2em;
   margin: 0 0 8px;
   line-height: 1;
}
.lra-hero__claim {
   font-family: var(--lra-font);
   font-size: clamp(14px, 2vw, 20px);
   font-weight: 400;
   color: var(--lra-gold);
   letter-spacing: 0.35em;
   margin: 0 0 32px;
}
.lra-hero__subtitle {
   font-family: var(--lra-font);
   font-size: clamp(15px, 1.8vw, 18px);
   font-weight: 300;
   color: var(--lra-white-soft);
   letter-spacing: 0.03em;
   line-height: 1.8;
   max-width: 600px;
   margin: 0 auto 40px;
}
.lra-hero__cta {
   margin-top: 32px;
}

/* Scroll indicator */
.lra-scroll {
   position: absolute;
   bottom: 36px;
   left: 50%;
   transform: translateX(-50%);
   z-index: 3;
   cursor: pointer;
   animation: lraFloat 2s ease-in-out infinite;
}
@keyframes lraFloat {
   0%, 100% { transform: translateX(-50%) translateY(0); }
   50% { transform: translateX(-50%) translateY(10px); }
}
.lra-scroll__dot {
   animation: lraScrollDot 2s ease-in-out infinite;
}
@keyframes lraScrollDot {
   0%, 100% { cy: 15; opacity: 1; }
   50% { cy: 35; opacity: 0.3; }
}

/* ---------- BUTTONS ---------- */
.lra-btn {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 16px 44px;
   font-family: var(--lra-font);
   font-size: 13px;
   font-weight: 500;
   letter-spacing: 0.18em;
   text-transform: uppercase;
   text-decoration: none;
   border: none;
   border-radius: 0;
   cursor: pointer;
   transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.lra-btn--gold {
   background: var(--lra-gold);
   color: var(--lra-canvas);
}
.lra-btn--gold:hover {
   background: var(--lra-gold-light);
   color: var(--lra-canvas);
   transform: translateY(-2px);
   box-shadow: 0 12px 36px rgba(201,169,97,0.3);
   text-decoration: none;
}
.lra-btn--outline {
   background: transparent;
   color: var(--lra-gold);
   border: 1.5px solid var(--lra-gold);
}
.lra-btn--outline:hover {
   background: var(--lra-gold);
   color: var(--lra-canvas);
   transform: translateY(-2px);
   text-decoration: none;
}
.lra-btn--dark {
   background: var(--lra-canvas);
   color: var(--lra-white);
   border: 1.5px solid rgba(255,255,255,0.2);
}
.lra-btn--dark:hover {
   border-color: var(--lra-gold);
   color: var(--lra-gold);
   transform: translateY(-2px);
   text-decoration: none;
}

/* ---------- INTRO ---------- */
.lra-intro {
   background: var(--lra-canvas);
   padding: 64px 0;
   border-bottom: 1px solid rgba(201,169,97,0.15);
}
.lra-intro__title {
   font-family: var(--lra-font);
   font-size: clamp(24px, 3.5vw, 36px);
   font-weight: 300;
   color: var(--lra-white);
   letter-spacing: 0.12em;
   margin: 0 0 16px;
}
.lra-intro__text {
   font-family: var(--lra-font);
   font-size: 16px;
   font-weight: 300;
   color: var(--lra-white-muted);
   line-height: 1.8;
   margin: 0;
}

/* ---------- LABELS & TITLES ---------- */
.lra-label {
   display: inline-block;
   font-family: var(--lra-font);
   font-size: 12px;
   font-weight: 500;
   letter-spacing: 0.3em;
   color: var(--lra-gold);
   margin-bottom: 12px;
}
.lra-section-title {
   font-family: var(--lra-font);
   font-size: clamp(24px, 4vw, 38px);
   font-weight: 300;
   color: var(--lra-canvas);
   letter-spacing: 0.08em;
   margin: 0 0 16px;
}
.lra-section-subtitle {
   font-family: var(--lra-font);
   font-size: 16px;
   color: var(--lra-gray);
   font-weight: 300;
   margin: 0;
}

/* ---------- BENEFITS ---------- */
.lra-benefits {
   background: var(--lra-beige);
   padding: 80px 0;
}
.lra-benefit {
   background: #fff;
   padding: 40px 28px;
   text-align: center;
   height: 100%;
   border: 1px solid transparent;
   transition: all 0.4s ease;
}
.lra-benefit:hover {
   transform: translateY(-6px);
   box-shadow: 0 20px 50px rgba(0,0,0,0.08);
   border-color: var(--lra-gold-light);
}
.lra-benefit__icon {
   width: 64px;
   height: 64px;
   margin: 0 auto 24px;
   display: flex;
   align-items: center;
   justify-content: center;
   background: var(--lra-canvas);
   border-radius: 50%;
}
.lra-benefit__icon i {
   font-size: 24px;
   color: var(--lra-gold);
}
.lra-benefit__title {
   font-family: var(--lra-font);
   font-size: 13px;
   font-weight: 600;
   letter-spacing: 0.12em;
   color: var(--lra-canvas);
   margin-bottom: 12px;
}
.lra-benefit__text {
   font-family: var(--lra-font);
   font-size: 14px;
   color: var(--lra-gray);
   line-height: 1.7;
   margin: 0;
}

/* ---------- VETTURE CAROUSEL ---------- */
.lra-vetture {
   background: var(--lra-beige);
   padding: 0 0 100px;
}
.lra-car-item {
   padding: 12px 0 0;
}
.lra-carousel .owl-stage-outer {
   overflow: visible;
   padding-top: 8px;
}
.lra-carousel .owl-item {
   overflow: visible;
}
.lra-carousel .owl-nav button {
   background: var(--lra-canvas) !important;
   color: var(--lra-white) !important;
   width: 48px !important;
   height: 48px !important;
   border-radius: 0 !important;
   transition: all 0.3s ease !important;
}
.lra-carousel .owl-nav button:hover {
   background: var(--lra-gold) !important;
   color: var(--lra-canvas) !important;
}
.lra-empty {
   font-family: var(--lra-font);
   font-size: 16px;
   color: var(--lra-gray);
   line-height: 1.7;
}

/* ---------- CTA FINALE ---------- */
.lra-cta {
   background: var(--lra-canvas);
   padding: 80px 0;
   position: relative;
   overflow: hidden;
}
.lra-cta::before {
   content: '';
   position: absolute;
   inset: 0;
   background: radial-gradient(ellipse at 50% 0%, rgba(201,169,97,0.06) 0%, transparent 70%);
}
.lra-cta__title {
   font-family: var(--lra-font);
   font-size: clamp(22px, 4vw, 34px);
   font-weight: 300;
   color: var(--lra-white);
   letter-spacing: 0.1em;
   margin: 0 0 20px;
}
.lra-cta__text {
   font-family: var(--lra-font);
   font-size: 16px;
   color: var(--lra-white-muted);
   line-height: 1.7;
   margin: 0 auto 36px;
   max-width: 560px;
}
.lra-cta__buttons {
   display: flex;
   justify-content: center;
   gap: 20px;
   flex-wrap: wrap;
   margin-bottom: 48px;
}
.lra-cta__contacts {
   padding-top: 36px;
   border-top: 1px solid rgba(255,255,255,0.1);
   display: flex;
   justify-content: center;
   gap: 40px;
   flex-wrap: wrap;
}
.lra-cta__contact {
   display: flex;
   align-items: center;
   gap: 8px;
   color: var(--lra-white-muted);
   text-decoration: none;
   font-family: var(--lra-font);
   font-size: 15px;
   transition: color 0.3s ease;
}
.lra-cta__contact:hover {
   color: var(--lra-gold);
   text-decoration: none;
}
.lra-cta__contact i {
   color: var(--lra-gold);
   font-size: 16px;
}

/* ---------- RIBBON SCONTO PERCENTUALE - CARD AUTO ---------- */
.boxauto-ribbon-sconto {
   position: absolute;
   bottom: 340px;
   right: 12px;
   background: linear-gradient(135deg, #28a745 0%, #218838 100%);
   color: white;
   padding: 8px 16px;
   font-size: 1.1rem;
   font-weight: 900;
   border-radius: 6px;
   box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
   z-index: 15;
   pointer-events: none;
   transition: all 0.3s ease;
   letter-spacing: 0.5px;
   text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.boxauto-card:hover .boxauto-ribbon-sconto {
   transform: scale(1.08);
   box-shadow: 0 6px 16px rgba(40, 167, 69, 0.6);
}
.boxauto-card .text-decoration-line-through {
   font-size: 0.85rem;
   color: #6c757d;
   line-height: 1.2;
}
.boxauto-card .h5.text-primary {
   line-height: 1;
   margin-top: 2px;
}
.boxauto-card .text-end {
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   gap: 2px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
   .lra-hero { height: 85vh; min-height: 600px; }
   .lra-hero__logos { gap: 30px; }
   .lra-hero__logo-item { width: 170px; margin-top: -35px; margin-bottom: -35px; }
   .lra-intro { text-align: center; }
   .lra-intro .text-lg-end { text-align: center !important; margin-top: 24px; }
}

@media (max-width: 991.98px) {
   .boxauto-ribbon-sconto {
      bottom: 340px;
      right: 10px;
      padding: 6px 12px;
      font-size: 0.95rem;
   }
}

@media (max-width: 767px) {
   .lra-hero { height: 100vh; min-height: 550px; }
   .lra-hero__logos { flex-direction: column; gap: 16px; }
   .lra-hero__logo-item { width: 150px; margin-top: -30px; margin-bottom: -30px; }
   .lra-hero__title { letter-spacing: 0.12em; }
   .lra-hero__claim { letter-spacing: 0.2em; }
   .lra-benefits { padding: 60px 0; }
   .lra-vetture { padding: 0 0 60px; }
   .lra-cta { padding: 60px 0; }
   .lra-cta__buttons { flex-direction: column; align-items: center; }
   .lra-btn { width: 100%; max-width: 300px; justify-content: center; }
   .lra-cta__contacts { flex-direction: column; gap: 16px; }
}

@media (max-width: 575px) {
   .boxauto-ribbon-sconto {
      bottom: 330px;
      right: 8px;
      padding: 5px 10px;
      font-size: 0.85rem;
      letter-spacing: 0.3px;
   }
   .boxauto-card .text-decoration-line-through {
      font-size: 0.75rem;
   }
   .boxauto-card .h5.text-primary {
      font-size: 1.1rem;
   }
}

/* ---------- ANIMATIONS ---------- */
.appear-animation {
   opacity: 0;
   animation: lraFadeInUp 0.8s ease forwards;
}
@keyframes lraFadeInUp {
   from { opacity: 0; transform: translateY(24px); }
   to { opacity: 1; transform: translateY(0); }
}
[data-appear-animation-delay="200"] { animation-delay: 0.2s; }
[data-appear-animation-delay="300"] { animation-delay: 0.3s; }
[data-appear-animation-delay="400"] { animation-delay: 0.4s; }
[data-appear-animation-delay="500"] { animation-delay: 0.5s; }
[data-appear-animation-delay="600"] { animation-delay: 0.6s; }
[data-appear-animation-delay="800"] { animation-delay: 0.8s; }