:root {--tesla-red: #e82127; --dark: #171a20; --grey-text: #393c41; --light-bg: #f4f4f4; --white: #ffffff; --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);}
* {margin: 0; padding: 0; box-sizing: border-box;}
html {scroll-behavior: smooth;}
body {font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; color: var(--dark); background-color: var(--white); overflow-x: hidden;}
ul {list-style-position: outside; padding-left: 30px;}
ul.inside {list-style-position: inside;}
.navbar {position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem 5%; background: transparent; z-index: 1000; transition: var(--transition); min-height: 100px;}
.navbar.scrolled {background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 0.5rem 5%; min-height: 60px; border-bottom: 1px solid #eee;}
.logo img {height: 80px; width: auto; display: block; transition: var(--transition);}
.navbar.scrolled .logo img {height: 50px;}
.logo a:hover img {transform: scale(1.05);}
.visually-hidden {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.model-info {padding: 1.5rem; display: flex; flex-direction: column; align-items: center;}
.h2modelos{margin-top:30px !important; margin-bottom:10px;}
.pmodelos{text-align: center;margin-bottom:2rem;}
.btn-model {display: block; width: 100%; max-width: 250px; padding: 0.8rem; margin-top: 1rem; background-color: var(--dark); color: var(--white); text-decoration: none; border-radius: 4px; font-weight: 600; text-transform: uppercase; font-size: 0.85rem; transition: var(--transition);}
.btn-model:hover {background-color: var(--tesla-red); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(232, 33, 39, 0.2);}
.main-footer {background: var(--dark); color: var(--white); padding: 60px 10% 20px;}
.footer-container {display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; align-items: center; text-align: center;}
.footer-col {display: flex; flex-direction: column; align-items: center; gap: 15px;}
.footer-logo-small {height: 30px; width: auto; opacity: 0.8;}
.legal-link {color: var(--white); font-size: 16px; opacity: 0.6; text-decoration: none; cursor: pointer; transition: all 0.3s ease; display: inline-block;}
.legal-link:hover {opacity: 1; color: var(--tesla-red); text-decoration: none;}
.feedback-card {background: rgba(255,255,255,0.05); padding: 20px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);}
.forum-link {display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 600;}
.forum-logo {height: 25px; filter: grayscale(1) brightness(2);}
.modal-overlay {display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); z-index: 2000; backdrop-filter: blur(5px);}
.modal-content {background: var(--white); color: var(--dark); width: 90%; max-width: 900px; margin: 15vh auto; padding: 30px; border-radius: 12px; position: relative; text-align: left;}
.close-modal {position: absolute; top: 15px; right: 20px; font-size: 24px; cursor: pointer;}
.footer-bottom {border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; margin-top: 30px; text-align: center;}
.legal-minimal {font-size: 14px; opacity: 0.6; line-height: 1.6; margin-bottom: 10px;}
.made-by {font-size: 14px; color: #ffffff; opacity: 0.9;}
@media (max-width: 768px) {.footer-container {grid-template-columns: 1fr; gap: 50px;}}
.navbar.scrolled .logo {color: var(--dark);}
.logo span {color: var(--tesla-red);}
.nav-links {display: flex; list-style: none;}
.nav-links li a {text-decoration: none; color: var(--white); font-weight: 600; margin-left: 2rem; font-size: 0.9rem; transition: var(--transition); text-shadow: 0 1px 3px rgba(0,0,0,0.4); text-transform: uppercase; letter-spacing: 1.2px;}
.navbar.scrolled .nav-links li a {color: var(--dark); text-shadow: none;}
.nav-links li a:hover {color: var(--tesla-red) !important;}
.menu-toggle {display: none; flex-direction: column; cursor: pointer; gap: 5px; z-index: 1002;}
.bar {width: 25px; height: 3px; background-color: var(--white); border-radius: 3px; transition: var(--transition);}
.navbar.scrolled .bar {background-color: var(--dark);}
.hero {position: relative; height: 100vh; width: 100%; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); padding: 0 5%; background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden;}
.hero::before {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1;}
.star-rating {
    display: flex;               /* Activa Flexbox */
    flex-direction: row-reverse; /* ¡ESTA ES LA MAGIA! Invierte el orden visual */
    justify-content: center;     /* Las centra en la columna */
    gap: 5px;                    /* Espacio entre estrellas */
}
.star-rating button {background: none; border: none; cursor: pointer; font-size: 35px; color: rgba(255, 255, 255, 0.2); transition: transform 0.2s, color 0.2s; padding: 0; line-height: 1;}
.star-rating button.active {color: #ffc107; text-shadow: 0 0 10px rgba(255, 193, 7, 0.4);}
.star-rating button:hover, .star-rating button:hover ~ button {color: #ffc107 !important; transform: scale(1.2); text-shadow: 0 0 15px rgba(255, 193, 7, 0.6);}
.hero-content {z-index: 2; max-width: 900px;}
.hero-content h1 {font-size: clamp(2.5rem, 4vw, 4.5rem); font-weight: 700; margin-bottom: 1rem;}
.hero-content p {font-size: clamp(1.1rem, 3vw, 1.5rem); margin-bottom: 2rem;}
.btn-main {display: inline-block; background: var(--tesla-red); color: var(--white); padding: 1.2rem 3.5rem; text-decoration: none; border-radius: 4px; font-weight: 700; text-transform: uppercase; transition: var(--transition);}
.btn-main:hover {background: #b01a1e; transform: translateY(-3px);}
section {padding: 30px 10% 80px;}
section h2 {text-align: center; font-size: 2.5rem; margin-bottom: 3.5rem; font-weight: 700;}
.grid-steps {display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem;}
.step-card {text-align: center; padding: 3.5rem 2rem; background: var(--light-bg); border-radius: 12px;}
.step-card span {display: inline-block; width: 50px; height: 50px; background: var(--tesla-red); color: var(--white); border-radius: 50%; line-height: 50px; font-weight: 700; margin-bottom: 1.5rem;}
.models-grid {display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 3rem;}
.model-card {border: 1px solid #eee; border-radius: 12px; overflow: hidden; text-align: center; background: #fff;}
.model-card img {width: 100%; height: auto; display: block;}
.faq-container {max-width: 1100px; margin: 0 auto;}
.faq-item {border-bottom: 1px solid #eee;}
.faq-question {width: 100%; padding: 1.8rem 0; display: flex; justify-content: space-between; align-items: center; background: none; border: none; font-size: 1.15rem; font-weight: 600; cursor: pointer; color: var(--dark);}
.faq-question::after {content: '+'; font-size: 1.5rem; color: var(--tesla-red); transition: transform 0.3s;}
.faq-item.active .faq-question::after {transform: rotate(45deg);}
.faq-answer {max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out;}
.faq-answer p {padding-bottom: 1.8rem; color: var(--grey-text);}
.step-emoji {display: block; font-size: 3.5rem; margin-bottom: 1.5rem; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1)); transition: transform 0.3s ease;}
.step-card:hover .step-emoji {transform: scale(1.2) rotate(5deg);}
.step-card h3 {margin-bottom: 1rem; font-size: 1.5rem; color: var(--dark);}
.cta-container {text-align: center; margin-top: 30px;}
.btn-secondary-action {display: inline-block; background-color: #000000; color: #ffffff; padding: 18px 35px; font-size: 1.1rem; font-weight: bold; text-transform: uppercase; text-decoration: none; border-radius: 5px; transition: all 0.3s ease; border: 2px solid #000000;}
.btn-secondary-action:hover {background-color: var(--tesla-red); border-color: var(--tesla-red); color: #ffffff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(227, 25, 55, 0.3);}
.cta-note {font-size: 0.8rem; color: #666; margin-top: 10px; font-style: italic;}
.btn-forum-small {display: inline-block; padding: 8px 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: #ffffff; background-color: transparent; border: 2px solid #ffffff; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; margin-top: 10px;}
.btn-forum-small:hover {background-color: #ffffff; color: #171a20; transform: translateY(-2px); box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);}
.email-dark a {color: #333333 !important; text-decoration: underline; opacity: 1 !important; font-weight: 500;}
.email-dark a:hover {color: var(--tesla-red, #cc0000);}
.forum-description {font-size: 16px; opacity: 0.8; margin-bottom: 20px; line-height: 1.4; color: #ffffff; max-width: 350px; margin-left: auto; margin-right: auto;}
h3-footer {color: var(--white); padding-bottom: 30px; font-size: 1.1rem;}
footer {background: var(--dark); color: var(--white); padding: 60px 10% 30px; text-align: center;}
.legal {font-size: 0.8rem; opacity: 0.5; margin-top: 3rem;}
#scrollToTop {display: none; position: fixed; bottom: 25px; right: 25px; z-index: 99; width: 45px; height: 45px; border-radius: 8px; display: flex; align-items: center; justify-content: center; border: none; outline: none; background-color: var(--tesla-red); color: white; cursor: pointer; font-size: 22px; font-weight: bold; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 15px rgba(227, 25, 55, 0.3);}
#scrollToTop:hover {background-color: #000000; transform: translateY(-5px) scale(1.05); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);}
#scrollToTop:active {transform: translateY(0) scale(0.95);}
@media (max-width: 768px) {.menu-toggle {display: flex;} .nav-links {position: fixed; right: -100%; top: 0; height: 100vh; width: 80%; background-color: var(--white); flex-direction: column; align-items: center; justify-content: center; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.1); z-index: 1001;} .nav-links.active {right: 0;} .nav-links li a {color: var(--dark) !important; margin: 1.5rem 0; font-size: 1.3rem; text-shadow: none; margin-left: 0;} .menu-toggle.active .bar:nth-child(2) {opacity: 0;} .menu-toggle.active .bar:nth-child(1) {transform: translateY(8px) rotate(45deg);} .menu-toggle.active .bar:nth-child(3) {transform: translateY(-8px) rotate(-45deg);} .menu-toggle.active .bar {background-color: var(--dark) !important;} section {padding: 60px 5%;} .hero-content h1 {font-size: 2.2rem;}}