:root {
--primary-color: #ffffff;
--secondary-color: #e74c3c;
--accent-color: #3ca241;
--light-color: #ffffff;
--dark-color: #0e0e0e;
--gray-color: #f4f4f4;
--transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Montserrat', sans-serif;
}
body {
background-color: var(--light-color);
color: var(--dark-color);
overflow-x: hidden;
scroll-behavior: smooth;
}
/* Header Styles */
header {
position: relative;
top: 0;
left: 0;
width: 100%;
z-index: 1000;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 20px 0;
transition: var(--transition);
box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}
header.scrolled {
padding: 15px 0;
background: rgba(255, 255, 255, 0.98);
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
box-sizing: border-box;
}
.logo img {
box-sizing: border-box;
width: 150px;
height: auto;
object-fit: cover;
margin: auto;
}
.nav-menu {
display: flex;
list-style: none;
flex-wrap: wrap;
}
.nav-menu li {
margin-left: 54px;
}
.nav-menu a {
color: #219652;
text-decoration: none;
font-weight: 500;
font-size: 1.1rem;
transition: var(--transition);
position: relative;
padding: 5px 0;
}
.nav-menu a:hover {
color: #494949;
}
.nav-menu a::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: #333;
transition: var(--transition);
}
.nav-menu a:hover::after {
width: 100%;
}
/* Enhanced Language Selector */
.language-selector {
position: relative;
margin-left: 25px;
}
.language-toggle {
background: #3ca241;
border: none;
color: white;
padding: 10px 15px;
border-radius: 8px;
cursor: pointer;
font-weight: 600;
transition: var(--transition);
font-size: 0.95rem;
display: flex;
align-items: center;
gap: 8px;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}
.language-toggle:hover {
background: #219652;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}
.language-toggle i {
transition: var(--transition);
}
.language-toggle:hover i {
transform: rotate(180deg);
}
.language-dropdown {
position: absolute;
top: 100%;
right: 0;
background: white;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
padding: 15px 0;
min-width: 180px;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: var(--transition);
z-index: 1001;
border: 1px solid rgba(39, 174, 96, 0.2);
}
.language-selector:hover .language-dropdown {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.language-option {
padding: 12px 25px;
cursor: pointer;
display: flex;
align-items: center;
gap: 12px;
color: var(--dark-color);
transition: var(--transition);
position: relative;
}
.language-option:not(:last-child)::after {
content: '';
position: absolute;
bottom: 0;
left: 25px;
right: 25px;
height: 1px;
background: rgba(13, 43, 69, 0.1);
}
.language-option:hover {
background: rgba(39, 174, 96, 0.1);
transform: translateX(5px);
}
.language-option.active {
background: rgba(39, 174, 96, 0.2);
font-weight: 600;
color: var(--accent-color);
}
.flag-icon {
width: 24px;
height: 18px;
object-fit: cover;
border-radius: 3px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.language-name {
font-weight: 500;
font-size: 0.95rem;
}
.check-icon {
margin-left: auto;
color: var(--accent-color);
font-size: 1rem;
opacity: 0;
transition: var(--transition);
}
.language-option.active .check-icon {
opacity: 1;
}
.mobile-toggle {
display: none;
color: #219652;
font-size: 1.5rem;
cursor: pointer;
}



/* Libro de Reclamaciones*/

.politica-p {

width: 100%;
height: auto;
}

.container-p {
width: 90%;
max-width: 1200px;
margin: 0 auto;
margin-bottom: 110px;
}
.politica-pa {
margin-top: 25px;
margin: 25px;

}
.header-container-p {
display: flex;
justify-content: space-between;
align-items: center;
}

.term-1 {

margin: 50px;
margin-top: 97px;
text-align: center;
text-transform: uppercase;
font-size: 1.8rem;
font-weight: 600;
}


.term-2 {

color: #219652;
}

.sepa-2 {

width: 50px;
margin: auto;
height: 5px;
border: none;
background-color: #219652;
margin-top: 25px;
border-radius: 5px;
}

.p-3 {

margin-bottom: 35px;
font-size: 1.1rem;

}

.buttom-lr {

display: flex;
justify-content: center;
align-items: center;
margin: auto;
background-color: #16af56; 
width: 200px;
height: 50px;
border-radius: 15px;
position: relative;
top: 20px;
margin-top: 100px;
margin-bottom: 150px;
font-weight: 500;
color: white;
font-size: 1.2rem;
cursor: pointer;
transition: ease-in-out 0.2s;

}

.buttom-lr:hover {
transform: translateY(-5px);
background-color: #219652;


}


/* Contact Section */
.contact {
position: relative;
padding: 100px 0;
background: #3ca241;
color: white;
overflow: hidden;

}
.contact::before {
content: "";
position: absolute;
inset: 0;
background-image: url('img/fondo-contact.webp');
background-attachment: fixed;
background-position: center;
background-size: cover;
z-index: 0;
}
.contact::after {
content: "";
position: absolute;
inset: 0;
background: rgb(0 0 0 / 73%);
z-index: 1;
}
.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
position: relative;
z-index: 2;
}
.contact-info h2 {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 30px;
position: relative;
display: inline-block;
}
.contact-info h2::after {
content: '';
position: absolute;
bottom: -15px;
left: 0;
width: 80px;
height: 4px;
background: var(--accent-color);
}
.contact-info p {
margin-bottom: 40px;
line-height: 1.7;
font-size: 1.1rem;
font-weight: 300;
}
.contact-details {
margin-top: 40px;
}
.contact-item {
display: flex;
align-items: flex-start;
margin-bottom: 30px;
}
.contact-icon {
width: 60px;
height: 60px;
background: rgb(255, 255, 255);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
color: var(--accent-color);
font-size: 1.3rem;
flex-shrink: 0;
}
.contact-text h4 {
font-size: 1.2rem;
font-weight: 600;
margin-bottom: 8px;
}
.contact-text p {
margin-bottom: 0;
font-weight: 300;
}
.contact-form {
background: rgba(255, 255, 255, 0.05);
padding: 50px;
border-radius: 25px;
backdrop-filter: blur(10px);
}
.titulo-contact {
font-size: 2rem;
margin-bottom: 35px;
font-weight: 800;
display: flex;
gap: 10px;
}
.vertical-verde {
width: 50px;
margin-top: -21px;
margin-bottom: 45px;
height: 5px;
background-color: #16af56;
border: none;
}
.verde-ahora {
color: #16af56;
}
.form-group {
margin-bottom: 25px;
}
.form-label {
display: block;
margin-bottom: 10px;
font-weight: 500;
color: rgba(255, 255, 255, 0.9);
}
.form-control {
width: 100%;
padding: 16px 20px;
border: none;
border-radius: 12px;
background: rgba(255, 255, 255, 0.227);
color: white;
font-size: 1rem;
transition: var(--transition);
font-weight: 400;
}
.form-control::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.form-control:focus {
outline: none;
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.3);
}
textarea.form-control {
min-height: 160px;
resize: vertical;
padding: 15px 20px;
}
.submit-btn {
background: #2A7B9B;
background: linear-gradient(90deg,rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
color: white;
padding: 16px 40px;
border-radius: 50px;
border: none;
font-weight: 700;
font-size: 1.1rem;
cursor: pointer;
transition: var(--transition);
width: 100%;
margin-top: 45px;
letter-spacing: 0.5px;
box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}
.submit-btn:hover {
background: #3ca241;
color: white;
transform: translateY(-3px);
box-shadow: 0 8px 25px #3ca241;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: white;
  color: #333;
  border-radius: 8px;
  position: absolute;
  width: calc(100% - 99px); /* coincide con padding del input */
  max-height: 150px;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 10;
  display: none; /* inicialmente oculta */
}

.autocomplete-list li {
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.autocomplete-list li:hover {
  background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(87, 199, 133, 1) 50%);
  color: white;
}




/* Footer */
footer {
background: var(--dark-color);
color: white;
padding: 100px 0 30px;
position: relative;
overflow: hidden;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 50px;
margin-bottom: 70px;
position: relative;
z-index: 2;
}
.footer-col h3 {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 30px;
position: relative;
padding-bottom: 15px;
}
.footer-col h3::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 3px;
background: var(--accent-color);
}
.footer-about p {
line-height: 1.7;
margin-bottom: 30px;
font-weight: 300;
}
.social-links {
display: flex;
gap: 15px;
}
.social-link {
width: 45px;
height: 45px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: flex;
align-items: center;
justify-content: center;
color: white;
transition: var(--transition);
text-decoration: none;
font-size: 1.1rem;
}
.social-link:hover {
background: var(--accent-color);
transform: translateY(-5px);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 18px;
}
.footer-links a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: var(--transition);
display: flex;
align-items: center;
font-weight: 400;
}
.footer-links a i {
margin-right: 12px;
color: var(--accent-color);
font-size: 0.8rem;
transition: var(--transition);
}
.footer-links a:hover {
color: white;
padding-left: 5px;
}
.footer-links a:hover i {
transform: translateX(5px);
}
.footer-newsletter p {
margin-bottom: 25px;
line-height: 1.7;
font-weight: 300;
}
.newsletter-form {
display: flex;
margin-bottom: 20px;
}
.newsletter-input {
flex-grow: 1;
padding: 15px 20px;
border: none;
border-radius: 8px 0 0 8px;
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 1rem;
}
.newsletter-input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.newsletter-btn {
background: var(--accent-color);
color: white;
border: none;
padding: 0 25px;
border-radius: 0 8px 8px 0;
cursor: pointer;
transition: var(--transition);
font-weight: 600;
}
.newsletter-btn:hover {
background: #219652;
}
.footer-bottom {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.7);
font-size: 0.95rem;
position: relative;
z-index: 2;
}
/* WhatsApp Button */
.whatsapp-btn {
position: fixed;
bottom: 30px;
right: 30px;
width: 75px;
height: 75px;
background: #25D366;
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 2.2rem;
z-index: 1000;
text-decoration: none;
animation: whatsappPulse 3s ease-in-out infinite,
whatsappFloat 4s ease-in-out infinite;
box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
border: 4px solid white;
overflow: visible;
transition:
transform 0.4s ease,
box-shadow 0.4s ease,
background-color 0.4s ease;
}
.whatsapp-btn::before {
content: '';
position: absolute;
top: -8px;
left: -8px;
right: -8px;
bottom: -8px;
border-radius: 50%;
background: #25D366;
z-index: -1;
opacity: 0.6;
animation: whatsappRipple 3s ease-in infinite;
}
.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
transform: scale(1.08) translateY(-8px);
box-shadow: 0 12px 35px rgba(37, 211, 102, 0.9);
background: #128C7E;
animation-play-state: paused;
}
.whatsapp-btn:hover::before,
.whatsapp-btn:focus-visible::before {
animation-play-state: paused;
}
@keyframes whatsappPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
@keyframes whatsappFloat {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-6px); }
}
@keyframes whatsappRipple {
0% {
transform: scale(0.8);
opacity: 0.6;
}
100% {
transform: scale(2.2);
opacity: 0;
}
}
/* Scroll to Top Button */
.scroll-top {
position: fixed;
bottom: 130px;
right: 30px;
width: 55px;
height: 55px;
background: var(--primary-color);
color: #3ca241;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.3rem;
box-shadow: 0 5px 20px rgba(13, 43, 69, 0.4);
z-index: 999;
cursor: pointer;
opacity: 0;
visibility: hidden;
transition: var(--transition);
border: 2px solid white;
}
.scroll-top.show {
opacity: 1;
visibility: visible;
}
.scroll-top:hover {
background: var(--accent-color);
transform: translateY(-5px);
color: #ffffff;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(40px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 992px) {
.hero-content h1 {
font-size: 3.2rem;
}
.section-title {
font-size: 2.5rem;
}
}
@media (max-width: 768px) {
.nav-menu {
position: fixed;
top: 124px;
left: -100%;
width: 100%;
height: calc(100vh - 85px);
background: #3ca241;
flex-direction: column;
align-items: center;
justify-content: center;
transition: var(--transition);
z-index: 999;
}
.nav-menu.active {
left: 0;
}
.nav-menu li {
margin: 20px 0;
}
.nav-menu a {
color: white;
font-size: 1.5rem;
}
.mobile-toggle {
display: block;
}
.hero-content h1 {
font-size: 2.5rem;
}
.hero-btns {
flex-direction: column;
gap: 15px;
}
.stats-container {
flex-direction: column;
gap: 40px;
}
.contact-grid {
grid-template-columns: 1fr;
}
.contact-form {
padding: 30px 20px;
}
.language-dropdown {
right: -20px;
}
}
@media (max-width: 576px) {
.hero-content h1 {
font-size: 2.2rem;
}
.section-title {
font-size: 2rem;
}
.cta-title {
font-size: 2.2rem;
}
.testimonial-card {
padding: 30px 20px;
}
.whatsapp-btn {
width: 65px;
height: 65px;
font-size: 1.8rem;
}
.scroll-top {
width: 50px;
height: 50px;
font-size: 1.2rem;
}
.language-toggle {
padding: 8px 12px;
font-size: 0.9rem;
}
.language-option {
padding: 10px 20px;
}
}
/* Ensure carousel arrows are always visible and properly positioned on small screens */
@media (max-width: 480px) {
.prev-carousel, .next-carousel {
display: block !important;
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 11;
width: 40px;
height: 40px;
font-size: 1rem;
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.prev-carousel {
left: 5px;
}
.next-carousel {
right: 5px;
}
}
/* Language Content */
.lang-es { display: block; }
.lang-en { display: none; }
.lang-active-es .lang-es { display: block; }
.lang-active-es .lang-en { display: none; }
.lang-active-en .lang-es { display: none; }
.lang-active-en .lang-en { display: block; }

/* Filter Buttons */
.filter-buttons {
display: flex;
justify-content: center;
gap: 15px;
margin-bottom: 40px;
flex-wrap: wrap;
}
.filter-btn {
padding: 10px 25px;
background: #f0f0f0;
border: none;
border-radius: 50px;
font-weight: 600;
cursor: pointer;
transition: var(--transition);
color: #555;
}
.filter-btn.active, .filter-btn:hover {
background: var(--accent-color);
color: white;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

/* Fixed car card styling to prevent expansion */
.car-card {
min-height: 580px;
display: flex;
flex-direction: column;
}
.car-content {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.car-specs {
margin: 20px 0;
}
.car-price {
margin-top: auto;
padding-top: 20px;
}

/* Ensure consistent card height across all screen sizes */
.all-cars-grid {
grid-auto-rows: 1fr;
}
.car-card {
height: 100%;
min-height: 580px;
}
@media (max-width: 768px) {
.car-card {
min-height: 560px;
}
}
@media (max-width: 576px) {
.car-card {
min-height: 540px;
}
}



/* === Libro Wizard (3 pasos) === */
.lr-steps{
  display:flex;
  gap:10px;
  margin: 10px 0 20px;
  flex-wrap: wrap;
}
.lr-step{
  padding:10px 14px;
  border:1px solid rgba(60,162,65,.25);
  border-radius:10px;
  color:#1f1f1f;
  background:#fff;
  font-weight:600;
  font-size: .95rem;
}
.lr-step.active{
  background: rgba(60,162,65,.12);
  border-color: rgba(60,162,65,.55);
}

.lr-form{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.lr-title{ margin: 0 0 12px; font-size: 1.1rem; color:#111; }
.lr-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.lr-grid .lr-full{ grid-column: 1 / -1; }
.lr-form label{ display:block; font-weight:600; margin-bottom:6px; font-size:.92rem; color:#1b1b1b; }
.lr-form input, .lr-form select, .lr-form textarea{
  width:100%;
  padding:10px 12px;
  border:1px solid rgba(0,0,0,.15);
  border-radius:10px;
  outline:none;
}
.lr-form textarea{ resize: vertical; }
.lr-actions{ display:flex; gap:10px; justify-content:flex-end; margin-top: 14px; flex-wrap: wrap; }
.lr-btn{
  background:#3ca241;
  color:#fff;
  border:none;
  padding:10px 16px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.lr-btn.secondary{ background:#f2f2f2; color:#1f1f1f; border:1px solid rgba(0,0,0,.12); }
.lr-btn:hover{ filter: brightness(0.96); }
.lr-alert{
  background: rgba(231,76,60,.12);
  border: 1px solid rgba(231,76,60,.25);
  color:#7a1f16;
  padding:12px 14px;
  border-radius:12px;
  margin: 10px 0 14px;
  font-weight:600;
}
.lr-success{
  background: rgba(60,162,65,.10);
  border: 1px solid rgba(60,162,65,.25);
  padding: 14px;
  border-radius: 16px;
}
.lr-summary{ background:#fafafa; border:1px solid rgba(0,0,0,.08); padding:12px; border-radius:12px; margin: 10px 0 12px; }
.lr-check{ display:flex; align-items:flex-start; gap:10px; margin: 10px 0; font-weight:500; }
.lr-check input{ width:auto; margin-top: 3px; }
.lr-hint{ font-size:.9rem; color:#444; margin-top:10px; }
.lr-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.lr-minor{ margin-top: 16px; border-top:1px dashed rgba(0,0,0,.15); padding-top: 12px; }

@media (max-width: 900px){
  .lr-grid{ grid-template-columns: 1fr; }
}
