/* ===================================
   D12t Cheap Cars — Stylesheet
   Classic & Elegant Design
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --teal-900: #0a3d4a;
    --teal-800: #0f4c5c;
    --teal-700: #146172;
    --teal-600: #1a7a8e;
    --teal-500: #2194a8;
    --teal-100: #b8dce4;
    --teal-50:  #e8f4f7;
    --slate-950: #0c1520;
    --slate-900: #132033;
    --slate-800: #1e3048;
    --slate-700: #2d4460;
    --slate-600: #4a6274;
    --slate-500: #6b8294;
    --slate-400: #93a7b8;
    --slate-300: #b8c5d0;
    --slate-200: #d4dce5;
    --slate-100: #eef1f5;
    --slate-50:  #f6f8fb;
    --gold-500:  #c9a227;
    --gold-400:  #d4b34a;
    --gold-100:  #f5ecd3;
    --white:     #ffffff;
    --cream:     #fafcfd;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm:  0 1px 3px rgba(12, 21, 32, 0.06), 0 1px 2px rgba(12, 21, 32, 0.04);
    --shadow-md:  0 4px 16px rgba(12, 21, 32, 0.08), 0 2px 6px rgba(12, 21, 32, 0.04);
    --shadow-lg:  0 12px 40px rgba(12, 21, 32, 0.12), 0 4px 12px rgba(12, 21, 32, 0.06);
    --shadow-xl:  0 24px 60px rgba(12, 21, 32, 0.16), 0 8px 20px rgba(12, 21, 32, 0.08);
    
    --radius-sm:  6px;
    --radius-md:  10px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    color: var(--slate-800);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--slate-900);
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   NAVBAR
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--teal-800);
}

.logo-icon {
    color: var(--teal-700);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--teal-700);
    background: var(--teal-50);
}

.nav-link--cta {
    background: var(--teal-800);
    color: var(--white) !important;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--teal-700);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--slate-700);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 50%, var(--slate-900) 100%);
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(33, 148, 168, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(201, 162, 39, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 50px;
    color: var(--gold-400);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.12;
}

.hero-headline .accent {
    color: var(--gold-400);
    font-style: italic;
    font-weight: 400;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--slate-300);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--gold-500);
    color: var(--slate-900);
}

.btn--primary:hover {
    background: var(--gold-400);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--outline-dark {
    background: var(--slate-800);
    color: var(--white);
    border: 1.5px solid var(--slate-700);
}

.btn--outline-dark:hover {
    background: var(--slate-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Hero Visual --- */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-card--main {
    width: 100%;
    aspect-ratio: 3/2;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(10, 61, 74, 0.95) 0%, transparent 100%);
}

.hero-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gold-500);
    color: var(--slate-900);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.hero-card-overlay p {
    color: var(--slate-200);
    font-size: 0.9rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.stat-card--accent {
    background: rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.3);
}

.stat-icon {
    color: var(--gold-400);
    margin-bottom: 8px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--slate-300);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===================================
   SECTION COMMON
   =================================== */
.section-header {
    margin-bottom: 56px;
}

.section-header--center {
    text-align: center;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--slate-900);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 600px;
}

.section-header--center .section-subtitle {
    margin: 0 auto;
}

/* ===================================
   INVENTORY
   =================================== */
.inventory {
    padding: 100px 0;
    background: var(--cream);
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 56px;
}

.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.vehicle-img {
    position: relative;
    aspect-ratio: 3/2;
    overflow: hidden;
}

.vehicle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.vehicle-card:hover .vehicle-img img {
    transform: scale(1.05);
}

.vehicle-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    background: var(--teal-800);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.vehicle-info {
    padding: 24px;
}

.vehicle-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--slate-900);
}

.vehicle-info p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.65;
    margin-bottom: 20px;
}

.inventory-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
}

.inventory-cta p {
    font-size: 1rem;
    color: var(--slate-600);
    margin-bottom: 20px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* ===================================
   ABOUT
   =================================== */
.about {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 8/10;
}

.about-img-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--teal-800);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.about-experience-badge .exp-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold-400);
    line-height: 1;
}

.about-experience-badge .exp-text {
    font-size: 0.65rem;
    color: var(--slate-300);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-align: center;
    line-height: 1.3;
    margin-top: 4px;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--teal-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
}

.value-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--slate-900);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.88rem;
    color: var(--slate-500);
}

/* ===================================
   WHY US / FEATURES
   =================================== */
.why-us {
    padding: 100px 0;
    background: var(--slate-50);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--teal-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--teal-800) 0%, var(--teal-600) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--slate-900);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--slate-50);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--gold-500);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--slate-700);
    line-height: 1.75;
    flex: 1;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--teal-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-700);
    flex-shrink: 0;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--slate-900);
}

.author-detail {
    font-size: 0.8rem;
    color: var(--slate-500);
}

/* ===================================
   CONTACT
   =================================== */
.contact {
    padding: 100px 0;
    background: var(--slate-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact .section-tag {
    color: var(--gold-400);
}

.contact .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--slate-400);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--gold-400);
}

.contact-item span {
    white-space: pre-line;
}

/* --- Contact Form --- */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    color: var(--slate-900);
}

.form-note {
    font-size: 0.88rem;
    color: var(--slate-500);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--slate-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--slate-800);
    background: var(--slate-50);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(33, 148, 168, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--slate-400);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    border-radius: var(--radius-sm);
    color: var(--teal-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ===================================
   MAP
   =================================== */
.map-section {
    background: var(--slate-200);
}

.map-container {
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--slate-950);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--slate-800);
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--slate-500);
    line-height: 1.75;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-logo-icon {
    color: var(--gold-400);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--slate-500);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold-400);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--slate-500);
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold-400);
}

.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--slate-600);
}

.footer-bottom a {
    color: var(--slate-500);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--gold-400);
}

/* ===================================
   SCROLL TO TOP
   =================================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--teal-800);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--teal-700);
    transform: translateY(-4px);
}

/* ===================================
   MOBILE MENU OVERLAY
   =================================== */
.nav-menu.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 8px;
    z-index: 999;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===================================
   SCROLL REVEAL (progressive enhancement)
   =================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        max-width: 560px;
        margin: 0 auto;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        max-width: 480px;
        margin: 0 auto;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }
    
    .hero-headline {
        font-size: 2rem;
    }
    
    .stat-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat-card {
        padding: 14px 8px;
    }
    
    .stat-number {
        font-size: 1.35rem;
    }
    
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .about-img-accent {
        right: -16px;
        bottom: -20px;
    }
    
    .about-experience-badge {
        width: 96px;
        height: 96px;
        top: -12px;
        left: -12px;
    }
    
    .about-experience-badge .exp-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stat-cards {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        display: flex;
        align-items: center;
        gap: 14px;
        text-align: left;
        padding: 16px 20px;
    }
    
    .stat-icon {
        margin-bottom: 0;
    }
    
    .stat-number {
        margin-bottom: 0;
    }
    
    .inventory-cta {
        padding: 28px 20px;
    }
    
    .inventory-cta .btn {
        width: 100%;
        justify-content: center;
    }
}
