/* Components CSS */
@import url('variables.css');
@import url('base.css');

/* Header */
.header { background-color: var(--white); border-bottom: 1px solid var(--neutral-200); position: sticky; top: 0; z-index: 1000; }
.header-container { padding: 1rem 0; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-logo { margin: 0; }
.header-nav { display: flex; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-item { margin-left: 1.5rem; position: relative; }
.nav-link { font-family: var(--font-secondary); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; color: var(--neutral-700); }
.nav-link:hover { color: var(--primary); }
.contact-bar { display: flex; align-items: center; margin-bottom: 1rem; }
.contact-item { display: flex; align-items: center; margin-left: 1.5rem; font-size: 0.875rem; color: var(--neutral-600); }
.contact-item i { margin-right: 0.5rem; color: var(--primary); }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--neutral-700); cursor: pointer; }

@media (max-width: 992px) {
.header-contact { display: none; }
.hamburger { display: block; }
.nav-menu { position: fixed; top: 70px; left: -100%; width: 100%; height: calc(100vh - 70px); background-color: var(--white); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 2rem; transition: var(--transition-normal); }
.nav-menu.active { left: 0; }
.nav-item { margin: 1rem 0; }
.nav-link { font-size: 1.1rem; }
}

/* Hero Banner */
.hero { position: relative; height: 500px; overflow: hidden; background-color: var(--neutral-800); }
.hero-slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); }
.hero-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 1rem; }
.hero-title { font-size: 3.5rem; font-weight: 800; color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); line-height: 1.1; }
.hero-subtitle { font-size: 1.4rem; color: var(--white); margin-bottom: 2.5rem; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn { font-size: 1.125rem; padding: 1rem 2.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 8px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); }
.hero-buttons .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); }

@media (max-width: 768px) {
.hero { height: 400px; }
.hero-title { font-size: 2.5rem; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 2rem; }
.hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
.hero-buttons .btn { width: 100%; max-width: 280px; font-size: 1rem; padding: 0.875rem 2rem; }
}

@media (max-width: 576px) {
.hero-title { font-size: 2rem; }
.hero-subtitle { font-size: 1.1rem; }
}

/* Search Section */
.search-section { background-color: var(--neutral-800); padding: 1.5rem 0; margin-top: -1px; }
.search-container { max-width: 800px; margin: 0 auto; }
.search-form { display: flex; gap: 0.5rem; }
.search-input { flex: 1; padding: 0.75rem 1rem; border: none; border-radius: var(--border-radius); font-size: 1rem; }
.search-input:focus { outline: none; box-shadow: 0 0 0 2px var(--primary); }
.search-btn { background-color: var(--primary); color: var(--white); border: none; border-radius: var(--border-radius); padding: 0.75rem 1.5rem; font-weight: 600; cursor: pointer; }
.search-btn:hover { background-color: var(--primary-dark); }

@media (max-width: 576px) {
.search-form { flex-direction: column; }
}

/* Featured Vehicles */
.featured-section { padding: 4rem 0; background-color: var(--neutral-50); }
.section-title { text-align: center; margin-bottom: 3rem; position: relative; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; color: var(--neutral-800); margin-bottom: 1rem; }
.section-title p { font-size: 1.125rem; color: var(--neutral-600); max-width: 600px; margin: 0 auto; }
.section-title::after { content: ""; display: block; width: 80px; height: 4px; background-color: var(--primary); margin: 1rem auto 0; }
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.vehicle-card { background-color: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition-normal); }
.vehicle-card:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-md); }
.vehicle-image { height: 180px; overflow: hidden; }
.vehicle-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.vehicle-card:hover .vehicle-image img { transform: scale(1.05); }
.vehicle-details { padding: 1.5rem; }
.vehicle-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; }
.vehicle-subtitle { font-size: 0.875rem; color: var(--neutral-500); margin-bottom: 0.5rem; }
.vehicle-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.view-all { text-align: center; margin-top: 3rem; }

/* Welcome Section Styles */
.welcome-section { padding: 5rem 0; position: relative; background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), url('/images/home-background.jpg'); background-repeat: no-repeat; background-size: cover; }
.welcome-container { display: flex; align-items: center; gap: 4rem; }
.welcome-content { flex: 1; position: relative; }
.welcome-badge { display: inline-block; background: var(--primary); color: white; font-size: 0.875rem; font-weight: 700; padding: 0.5rem 1rem; border-radius: 30px; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.5px; }
.welcome-title { font-size: 2.5rem; font-weight: 800; color: #333; margin-bottom: 1.5rem; line-height: 1.2; }
.welcome-text { font-size: 1.125rem; color: #555; margin-bottom: 2rem; line-height: 1.7; }
.welcome-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.welcome-features li { margin-bottom: 0.75rem; display: flex; align-items: center; }
.welcome-features i { color: var(--primary); margin-right: 0.75rem; font-size: 1.125rem; }
.welcome-btn { display: inline-block; background-color: var(--primary); color: white; font-weight: 700; padding: 0.875rem 1.75rem; border-radius: 4px; text-decoration: none; transition: all 0.3s ease; font-size: 1.125rem; }
.welcome-btn:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); color: white; }

/* Modern Promo Card */
.promo-card { display: flex; flex-direction: column; width: 380px; background: #ffffff; border-radius: 12px; overflow: hidden; box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18); }
.promo-image { position: relative; height: 200px; overflow: hidden; }
.promo-image img { width: 100%; height: 100%; object-fit: cover; object-position: center right; transition: transform 0.5s ease; }
.promo-card:hover .promo-image img { transform: scale(1.05); }
.promo-tag { position: absolute; top: 16px; right: 16px; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; padding: 6px 12px; border-radius: 30px; letter-spacing: 0.5px; }
.promo-content { padding: 24px; }
.promo-title { color: #333333; font-size: 1.75rem; font-weight: 800; margin: 0 0 4px 0; }
.promo-subtitle { color: var(--accent); font-size: 1.125rem; font-weight: 600; margin: 0 0 24px 0; }
.promo-features { margin-bottom: 24px; }
.promo-feature { display: flex; align-items: center; margin-bottom: 16px; }
.feature-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(212, 175, 55, 0.1); border-radius: 50%; margin-right: 16px; flex-shrink: 0; }
.feature-icon i { color: var(--primary); font-size: 16px; }
.feature-text { color: #555555; font-weight: 500; }
.promo-button { display: flex; align-items: center; justify-content: center; background: var(--accent); color: white; font-weight: 700; padding: 14px 24px; border-radius: 6px; text-decoration: none; transition: all 0.3s ease; }
.promo-button span { margin-right: 8px; }
.promo-button i { font-size: 14px; transition: transform 0.2s ease; }
.promo-button:hover { background: var(--accent-dark); color: white; }
.promo-button:hover i { transform: translateX(4px); }

@media (max-width: 1200px) {
.welcome-title { font-size: 2.25rem; }
}

@media (max-width: 992px) {
.welcome-container { flex-direction: column; gap: 3rem; }
.welcome-title { font-size: 2rem; }
.welcome-content, .promo-block { width: 100%; max-width: 100%; }
.promo-card { width: 100%; max-width: 500px; margin: 0 auto; }
}

@media (max-width: 768px) {
.welcome-section { padding: 4rem 0; }
.welcome-title { font-size: 1.875rem; }
.welcome-text { font-size: 1rem; }
}

@media (max-width: 576px) {
.welcome-section { padding: 3rem 0; }
.welcome-badge { font-size: 0.75rem; }
.welcome-title { font-size: 1.75rem; }
.promo-image { height: 160px; }
.promo-title { font-size: 1.5rem; }
.promo-subtitle { font-size: 1rem; margin-bottom: 20px; }
.promo-content { padding: 20px; }
.feature-icon { width: 32px; height: 32px; }
.feature-text { font-size: 0.95rem; }
.welcome-btn { display: block; text-align: center; width: 100%; }
}


/* Body Type Section Styles */
.body-type-section { padding: 5rem 0; background-color: #eaeaea; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--mbr-black); margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: var(--neutral-600); max-width: 800px; margin: 0 auto 1rem; line-height: 1.6; }
.accent-line { width: 80px; height: 3px; background-color: var(--accent); margin: 0 auto; }
.body-type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 800px; margin: 0 auto; }
.body-type-item { display: flex; justify-content: center; transition: transform 0.3s ease; }
.body-type-item:hover { transform: translateY(-5px); }
.body-type-link { display: flex; flex-direction: column; align-items: center; text-decoration: none; width: 100%; }
.body-type-icon-wrapper { display: flex; justify-content: center; align-items: center; width: 160px; height: 160px; background-color: var(--white); border-radius: 50%; box-shadow: var(--box-shadow); margin-bottom: 15px; transition: all 0.3s ease; position: relative; overflow: hidden; }
.body-type-item:hover .body-type-icon-wrapper { box-shadow: var(--box-shadow-md); background-color: rgba(65, 105, 225, 0.05); }
.body-type-icon { max-width: 100%; max-height: 100%; transition: transform 0.3s ease; }
.body-type-item:hover .body-type-icon { transform: scale(.95); }
.body-type-label { font-size: 1rem; font-weight: 600; color: var(--mbr-black); text-align: center; margin-top: 5px; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s ease; }
.body-type-item:hover .body-type-label { color: var(--accent); }

@media (max-width: 768px) {
    .body-type-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .body-type-icon-wrapper { width: 100px; height: 100px; }
    .body-type-label { font-size: 0.9rem; }
}
@media (max-width: 576px) {
    .body-type-section { padding: 4rem 0; }
    .body-type-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .body-type-icon-wrapper { width: 90px; height: 90px; }
}


/* Buttons and Navigation Links */
.nav-cards-section { padding: 5rem 0; background: ; position: relative; background: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.5)), url('/web/images/stockbackground-cars-04.jpg'); background-repeat: no-repeat; background-size: cover; background-attachment: fixed;}
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: #333; margin-bottom: 1rem; }
.section-header p { font-size: 1.125rem; color: #666; max-width: 700px; margin: 0 auto 1rem; }
.accent-line { width: 80px; height: 3px; background-color: var(--primary); margin: 0 auto; }
.nav-cards-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.nav-card { position: relative; height: 100%; transition: transform 0.3s ease; }
.nav-card:hover { transform: translateY(-5px); }
.nav-card-inner { background-color: #ffffff; border-radius: 10px; padding: 30px; height: 100%; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); }
.nav-card-icon { width: 70px; height: 70px; background-color: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: all 0.3s ease; }
.nav-card-icon i { font-size: 28px; color: var(--primary); transition: all 0.3s ease; }
.nav-card:hover .nav-card-icon { background-color: var(--primary); }
.nav-card:hover .nav-card-icon i { color: #ffffff; }
.nav-card-title { font-size: 1.25rem; font-weight: 700; color: #333; margin-bottom: 1rem; }
.nav-card-divider { width: 40px; height: 2px; background-color: var(--primary); margin-bottom: 1rem; transition: width 0.3s ease; }
.nav-card:hover .nav-card-divider { width: 60px; }
.nav-card-text { font-size: 1rem; color: #666; line-height: 1.6; margin-bottom: 1.5rem; flex-grow: 1; }
.nav-card-button { display: inline-block; padding: 0.75rem 1.5rem; background-color: transparent; color: var(--accent); border: 2px solid var(--accent); border-radius: 4px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; text-align: center; }
.nav-card-button:hover { background-color: var(--accent); color: white; }

/* Team Section */
.team-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; text-align: center; position: relative; }
.team-title::after { content: ''; display: block; width: 80px; height: 3px; background-color: var(--primary); margin: 1rem auto 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.team-member { background-color: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); transition: var(--transition-normal); }
.team-member:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-md); }
.team-member-image { height: 250px; overflow: hidden; }
.team-member-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.team-member:hover .team-member-image img { transform: scale(1.05); }
.team-member-info { padding: 1.5rem; }
.team-member-info h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.25rem; color: var(--neutral-800); }
.team-member-title { font-size: 0.95rem; color: var(--primary); font-weight: 600; margin-bottom: 1rem; }
.team-member-contact { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--neutral-200); }
.team-contact-link { display: flex; align-items: center; font-size: 0.9rem; color: var(--neutral-700); text-decoration: none; transition: var(--transition-normal); }
.team-contact-link i { color: var(--primary); margin-right: 0.5rem; }
.team-contact-link:hover { color: var(--primary); transform: translateY(-2px); }
.team-member-bio { font-size: 0.95rem; color: var(--neutral-600); margin-bottom: 0.75rem; line-height: 1.6; }
.team-empty { grid-column: 1 / -1; text-align: center; padding: 2rem; background-color: var(--neutral-50); border-radius: var(--border-radius); color: var(--neutral-600); }
.team-bio-container { position: relative; }
.team-bio-short, .team-bio-full { margin-bottom: 0.5rem; }
.team-read-more, .team-read-less { display: inline-block; font-size: 0.85rem; font-weight: 600; color: var(--primary); text-decoration: none; padding: 0.25rem 0; margin-bottom: 0.75rem; transition: all 0.2s ease; }
.team-read-more i, .team-read-less i { font-size: 0.75rem; margin-left: 0.25rem; transition: transform 0.2s ease; }
.team-read-more:hover, .team-read-less:hover { color: var(--primary-dark); }
.team-read-more:hover i, .team-read-less:hover i { transform: translateY(2px); }

/* Responsive Styles */
@media (max-width: 1200px) {
.nav-cards-container { gap: 20px; }
}

@media (max-width: 992px) { 
.nav-cards-container { grid-template-columns: repeat(2, 1fr); }
.team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
.section-header h2 { font-size: 2rem; }
.section-header p { font-size: 1rem; }
.nav-card-inner { padding: 25px; }
.nav-card-icon { width: 60px; height: 60px; }
.nav-card-icon i { font-size: 24px; }
}

@media (max-width: 576px) {
.nav-cards-section { padding: 4rem 0; }
.section-header h2 { font-size: 1.75rem; }
.nav-cards-container { grid-template-columns: 1fr; }
.team-grid { grid-template-columns: 1fr; }
.team-member-contact { flex-direction: column; gap: 0.5rem; }
}

/* Shop By Price */
.shop-price-section { padding: 5rem 0; background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/web/images/stockbackground-cars-07bw.jpg'); background-repeat: no-repeat; background-size: cover; position: relative; overflow: hidden; }
h2.shop-price-title { color: var(--white) }
p.shop-price-subtitle { color: var(--neutral-300) }
.price-options { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 2rem; margin-top: 3rem; }
.price-option { background-color: var(--white); border-radius: var(--border-radius); overflow: hidden; position: relative; transition: var(--transition-normal); }
.price-option:hover { transform: translateY(-10px); box-shadow: var(--box-shadow-lg); }
.price-badge { position: absolute; top: 1rem; right: 1rem; background-color: var(--accent); color: var(--white); font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem; border-radius: var(--border-radius-full); }
.price-link { display: block; padding: 2rem; text-align: center; color: var(--neutral-800); }
.price-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background-color: var(--primary); color: var(--white); border-radius: 50%; margin-bottom: 1.5rem; font-size: 1.5rem; }
.price-value { font-size: 1.5rem; font-weight: 800; color: var(--neutral-800); margin-bottom: 1rem; }
.price-desc { color: var(--neutral-600); }

/* Finance Section - Carreño's Custom Styling */
.finance-section { padding: 5rem 0; background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%); }
.finance-container { display: flex; align-items: center; gap: 4rem; }
.finance-image { flex: 1; position: relative; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow); height: 450px; }
.finance-image img { width: 100%; height: 100%; object-fit: cover; }
.finance-badge { position: absolute; top: 1rem; right: 1rem; background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); color: var(--white); font-size: 0.875rem; font-weight: 700; padding: 0.6rem 1.2rem; border-radius: 25px; text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.finance-content { flex: 1; }
.finance-title { font-size: 2.5rem; font-weight: 800; margin-bottom: 1.5rem; }
.finance-title span { color: var(--primary); background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.finance-features { margin: 1rem 0; }
.finance-feature { display: flex; align-items: flex-start; padding: 1.5rem; border-radius: 12px; transition: all 0.3s ease; border-left: 4px solid transparent; background: var(--white); margin-bottom: 1.5rem; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
.finance-feature:hover { border-left-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15); background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%); }
.finance-feature-icon { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.4rem; margin-right: 1.25rem; flex-shrink: 0; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.finance-feature-content { flex: 1; }
.finance-feature-title { color: var(--neutral-800); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.finance-feature-desc { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.finance-cta { margin-top: 1rem; }
.finance-cta .btn { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); border: none; color: var(--white); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 1rem 2.5rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); transition: all 0.3s ease; }
.finance-cta .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4); color: var(--white); }

@media (max-width: 992px) {
.finance-container { flex-direction: column; gap: 3rem; }
.finance-image { width: 100%; height: 350px; order: -1; }
}

@media (max-width: 768px) {
.finance-section { padding: 4rem 0; }
.finance-feature { padding: 1.25rem; margin-bottom: 1rem; }
.finance-feature-icon { width: 45px; height: 45px; font-size: 1.2rem; margin-right: 1rem; }
.finance-feature-title { font-size: 1.2rem; }
}

/* About Features */
.about-features { margin: 2.5rem 0; }
.about-feature { display: flex; align-items: flex-start; margin-bottom: 1.5rem; padding: 1.5rem; border-radius: var(--border-radius); background-color: var(--neutral-50); transition: var(--transition-normal); }
.about-feature:hover { transform: translateY(-5px); box-shadow: var(--box-shadow); background-color: rgba(212, 175, 55, 0.05); }
.about-feature-icon { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: var(--primary); color: var(--white); border-radius: 50%; margin-right: 1.25rem; flex-shrink: 0; font-size: 1.25rem; }
.about-feature-content { flex: 1; }
.about-feature-content h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--neutral-800); }
.about-feature-content p { color: var(--neutral-600); margin-bottom: 0; }

/* FAQS Section */
.faq-section { margin: 4rem 0; }
.faq-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; text-align: center; position: relative; }
.faq-title::after { content: ''; display: block; width: 80px; height: 3px; background-color: var(--primary); margin: 1rem auto 0; }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--box-shadow-sm); background-color: var(--white); border-left: 4px solid transparent; transition: var(--transition-normal); }
.faq-item:hover { border-left-color: var(--primary); }
.faq-item.active { border-left-color: var(--primary); box-shadow: var(--box-shadow); }
.faq-question { padding: 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; background-color: var(--neutral-50); transition: var(--transition-normal); }
.faq-item.active .faq-question { background-color: rgba(212, 175, 55, 0.1); }
.faq-question h4 { margin: 0; font-size: 1.1rem; font-weight: 700; color: var(--neutral-800); }
.faq-icon { color: var(--primary); font-size: 0.875rem; transition: var(--transition-normal); }
.faq-answer { padding: 0 1.25rem; transition: max-height 0.3s ease-out;  }
.faq-answer p { padding: 0.5rem 0 1.25rem; color: var(--neutral-600); margin: 0; }

@media (max-width: 768px) {
.about-feature { padding: 1.25rem; }
.about-feature-icon { width: 40px; height: 40px; font-size: 1rem; }
.about-feature-content h4 { font-size: 1.1rem; }
.faq-question h4 { font-size: 1rem; }
}

/* Communities We Serve Section */
.communities-section { padding: var(--section-padding) 0; background: linear-gradient(135deg, var(--white) 0%, var(--neutral-50) 100%); position: relative; overflow: hidden; }
.communities-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e5e5e5" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'); opacity: 0.3; }
.communities-header { text-align: center; margin-bottom: 4rem; position: relative; z-index: 2; }
.communities-title { font-size: var(--font-size-4xl); font-weight: var(--font-weight-bold); color: var(--heading-color); margin-bottom: 1rem; position: relative; }
.communities-title::after { content: ''; position: absolute; bottom: -0.5rem; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--accent); border-radius: 2px; }
.communities-subtitle { font-size: var(--font-size-lg); color: var(--neutral-600); max-width: 600px; margin: 0 auto; line-height: var(--line-height-relaxed); }
.communities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-bottom: 3rem; position: relative; z-index: 2; }
.community-card { background: var(--white); border-radius: var(--border-radius-lg); padding: 2rem; text-align: center; box-shadow: var(--box-shadow); transition: var(--transition-normal); position: relative; overflow: hidden; border: 1px solid var(--border-color); }
.community-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%); transform: scaleX(0); transition: var(--transition-normal); }
.community-card:hover { transform: translateY(-8px); box-shadow: var(--box-shadow-lg); }
.community-card:hover::before { transform: scaleX(1); }
.community-icon { display: inline-flex; align-items: center; justify-content: center; width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%); color: var(--white); border-radius: 50%; margin-bottom: 1.5rem; font-size: 2rem; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); transition: var(--transition-normal); }
.community-card:hover .community-icon { transform: scale(1.1) rotate(5deg); box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4); }
.community-name { font-size: var(--font-size-xl); font-weight: var(--font-weight-semibold); color: var(--heading-color); margin-bottom: 0.5rem; }
.community-distance { font-size: var(--font-size-sm); color: var(--accent); font-weight: var(--font-weight-medium); margin-bottom: 1rem; }
.community-description { font-size: var(--font-size-base); color: var(--neutral-600); line-height: var(--line-height-relaxed); margin-bottom: 1.5rem; }
.community-features { list-style: none; padding: 0; margin: 0; }
.community-features li { display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; font-size: var(--font-size-sm); color: var(--neutral-700); }
.community-features i { color: var(--primary); margin-right: 0.5rem; font-size: var(--font-size-xs); }
.communities-cta { text-align: center; position: relative; z-index: 2; padding: 3rem 2rem; background: var(--white); border-radius: var(--border-radius-lg); box-shadow: var(--box-shadow-md); margin: 0 1rem; }
.communities-cta-title { font-size: var(--font-size-2xl); font-weight: var(--font-weight-semibold); color: var(--heading-color); margin-bottom: 1rem; }
.communities-cta-text { font-size: var(--font-size-lg); color: var(--neutral-600); margin-bottom: 2rem; line-height: var(--line-height-relaxed); }
.communities-cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Responsive Design */
@media (max-width: 992px) {
.communities-title { font-size: var(--font-size-3xl); }
.communities-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
}

@media (max-width: 768px) {
.communities-section { padding: 3rem 0; }
.communities-header { margin-bottom: 3rem; }
.communities-title { font-size: var(--font-size-2xl); }
.community-card { padding: 1.5rem; }
.community-icon { width: 60px; height: 60px; font-size: 1.5rem; }
.communities-cta { margin: 0; padding: 2rem 1rem; }
.communities-cta-buttons { flex-direction: column; max-width: 300px; margin: 0 auto; }
}

/* Payment Calculator Section */
.payment-calculator-section { padding: 3rem 0; background-color: var(--white); margin: 0 auto;}
.calculator-container { max-width: 1000px; margin: 0 auto; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--box-shadow-md); overflow: hidden; font-family: var(--font-secondary); }
.calculator-header { padding: 2rem; background: var(--neutral-50); color: var(--neutral-800); text-align: center; border-bottom: 1px solid var(--neutral-200); }
.calculator-title { margin: 0; font-size: 1.75rem; font-weight: 700; }
.calculator-form-results { display: flex; flex-wrap: wrap; }
.calculator-form { flex: 1; min-width: 300px; padding: 2rem; }
.calculator-results { flex: 1; min-width: 300px; background: var(--white); border-left: 1px solid var(--neutral-200); padding: 2rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-group { flex: 1; min-width: 200px; }
.input-group { display: flex; align-items: stretch; position: relative; }
.input-prefix { display: flex; align-items: center; background: var(--neutral-100); border: 1px solid var(--neutral-300); border-right: none; padding: 0 0.75rem; border-radius: var(--border-radius) 0 0 var(--border-radius); color: var(--neutral-700); font-weight: 600; }
label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--neutral-700); font-size: 0.95rem; }
.form-control { width: 100%; padding: 0.875rem; border: 1px solid var(--neutral-300); border-radius: 0 var(--border-radius) var(--border-radius) 0; font-size: 1rem; color: var(--neutral-800); transition: var(--transition-normal); }
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px rgba(var(--primary-rgb), 0.1); }
select.form-control { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23666" d="M0 0l6 6 6-6z"/></svg>'); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; border-radius: var(--border-radius); }
.calculator-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.calculate-btn, .reset-btn { padding: 1rem 1.5rem; border: none; border-radius: var(--border-radius); cursor: pointer; font-weight: 600; font-family: var(--font-secondary); transition: var(--transition-normal); font-size: 1rem; }
.calculate-btn { background: var(--primary); color: var(--white); flex: 2; }
.calculate-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); }
.reset-btn { background: var(--neutral-200); color: var(--neutral-700); flex: 1; }
.reset-btn:hover { background: var(--neutral-300); }
.results-header { margin-bottom: 1.5rem; padding-bottom: 1rem; position: relative; }
.results-header:after { content: ''; position: absolute; bottom: 0; left: 0; width: 80px; height: 3px; background-color: var(--primary); }
.results-title { font-size: 1.25rem; font-weight: 700; color: var(--neutral-800); }
.payment-highlight { text-align: center; background: var(--white); padding: 1.5rem; border-radius: var(--border-radius); margin-bottom: 2rem; box-shadow: 0 3px 8px rgba(0,0,0,0.05); border: 2px solid var(--primary-light); }
.payment-amount { display: block; font-size: 2.5rem; font-weight: 800; color: var(--primary); line-height: 1.2; margin-bottom: 0.25rem; }
.payment-label { font-size: 1.1rem; color: var(--neutral-600); font-weight: 500; }
.result-details { margin-bottom: 1.5rem; }
.result-item { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--neutral-100); position: relative; }
.result-item.total { border-top: 2px solid var(--neutral-200); border-bottom: none; margin-top: 0.75rem; padding-top: 1.25rem; font-size: 1.1rem; }
.result-label { color: var(--neutral-700); }
.total .result-label, .total .result-value { font-weight: 700; color: var(--neutral-900); }
.result-value { font-weight: 600; color: var(--neutral-800); }
.tooltip-container { position: relative; cursor: help; }
.tooltip-container:hover .tooltip-text { visibility: visible; opacity: 1; }
.tooltip-text { visibility: hidden; width: 280px; background-color: var(--neutral-800); color: #fff; text-align: center; border-radius: var(--border-radius); padding: 0.75rem; position: absolute; z-index: 10; top: -80px; right: 0; opacity: 0; transition: opacity 0.3s; font-size: 0.85rem; font-weight: 400; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.tooltip-text::after { content: ""; position: absolute; top: 100%; right: 20px; margin-left: -5px; border-width: 5px; border-style: solid; border-color: var(--neutral-800) transparent transparent transparent; }
.disclaimer { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--neutral-200); }
.disclaimer p { font-size: 0.8rem; color: var(--neutral-500); margin: 0; line-height: 1.5; }
.sold { color: #e53935; font-weight: 700; }

/* Responsive Styles */
@media (max-width: 991px) { 
.calculator-form-results { flex-direction: column; }
.calculator-results { border-left: none; border-top: 1px solid var(--neutral-200); }
.tooltip-text { left: 50%; transform: translateX(-50%); right: auto; }
.tooltip-text::after { left: 50%; right: auto; transform: translateX(-50%); }
}

@media (max-width: 767px) {
.form-row { flex-direction: column; gap: 1.25rem; }
.form-group { min-width: auto; }
.payment-amount { font-size: 2rem; }
}

/* Finance Benefits */
.finance-benefits { margin: 3rem 0; }
.benefits-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; color: var(--neutral-800); text-align: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.benefit-card { background: var(--white); padding: 2rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; border-top: 4px solid var(--primary); }
.benefit-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15); }
.benefit-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: white; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.benefit-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--neutral-800); }
.benefit-card p { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.process-section { margin: 4rem 0; background: var(--neutral-50); padding: 3rem 2rem; border-radius: 12px; }
.process-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2.5rem; color: var(--neutral-800); text-align: center; }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.process-step { text-align: center; position: relative; }
.step-number { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; margin: 0 auto 1.5rem; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.process-step h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--neutral-800); }
.process-step p { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.requirements-section { margin: 3rem 0; padding: 2rem; background: var(--white); border-radius: 12px; border-left: 4px solid var(--primary); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.requirements-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; color: var(--neutral-800); }
.requirements-list h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 1rem; color: var(--neutral-700); }
.requirements-list ul { list-style: none; padding: 0; margin: 0; }
.requirements-list li { display: flex; align-items: center; margin-bottom: 0.75rem; color: var(--neutral-600); }
.requirements-list li i { color: var(--primary); margin-right: 0.75rem; font-size: 0.9rem; }
.finance-cta-section { margin: 4rem 0; padding: 3rem; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; text-align: center; color: white; box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3); }
.cta-content h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta-content p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.9; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-buttons .btn { background: white; color: var(--primary); font-weight: 700; border: none; padding: 1rem 2rem; border-radius: 8px; transition: all 0.3s ease; }
.cta-buttons .btn:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* Sell Page Styles */
.sell-benefits { margin: 3rem 0; }
.sell-benefit-card { background: var(--white); padding: 2rem; border-radius: 12px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; border-top: 4px solid var(--accent); }
.sell-benefit-card:hover { transform: translateY(-8px); box-shadow: 0 8px 25px rgba(218, 165, 32, 0.15); }
.sell-benefit-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--accent), var(--primary)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: white; font-size: 1.5rem; box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3); }
.sell-benefit-card h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--neutral-800); }
.sell-benefit-card p { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.what-we-buy { margin: 4rem 0; background: var(--neutral-50); padding: 3rem 2rem; border-radius: 12px; }
.buy-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 2rem; }
.buy-category { text-align: center; background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.buy-category:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.category-icon { width: 70px; height: 70px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; color: white; font-size: 1.8rem; box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); }
.buy-category h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--neutral-800); }
.buy-category p { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.sell-process { margin: 4rem 0; }
.sell-step { text-align: center; position: relative; background: var(--white); padding: 2rem; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.sell-step:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.sell-step h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 1rem; color: var(--neutral-800); }
.sell-step p { color: var(--neutral-600); line-height: 1.6; margin: 0; }
.sell-requirements { margin: 3rem 0; padding: 2rem; background: var(--white); border-radius: 12px; border-left: 4px solid var(--accent); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.sell-cta-section { margin: 4rem 0; padding: 3rem; background: linear-gradient(135deg, var(--accent), var(--primary)); border-radius: 12px; text-align: center; color: white; box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3); }

/* Responsive Media Queries for Finance/Sell Pages */
@media (max-width: 768px) {
.benefits-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.process-steps { grid-template-columns: 1fr; gap: 2rem; }
.process-section { padding: 2rem 1rem; margin: 3rem 0; }
.finance-cta-section { padding: 2rem; margin: 3rem 0; }
.cta-content h3 { font-size: 1.75rem; }
.cta-buttons { flex-direction: column; align-items: center; }
.cta-buttons .btn { width: 100%; max-width: 280px; }
.buy-categories { grid-template-columns: 1fr; gap: 1.5rem; }
.what-we-buy { padding: 2rem 1rem; margin: 3rem 0; }
.sell-cta-section { padding: 2rem; margin: 3rem 0; }
}

/* Footer */
.footer { background-color: var(--neutral-800); color: var(--neutral-300); padding: 4rem 0 2rem; }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.footer-container p, .footer-container span {font-size: .9rem!important; margin: 0 0 0.5rem;}
.footer-column { }
.footer-title { color: var(--white); font-size: 1.25rem; margin-bottom: 1.5rem; position: relative; }
.footer-title::after { content: ""; display: block; width: 40px; height: 3px; background-color: var(--primary); margin-top: 0.75rem; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-link { display: block; color: var(--neutral-200); padding: 0.25rem 0; transition: var(--transition-normal); }
.footer-link:hover { color: var(--white); transform: translateX(5px); }
.footer-contact-item { display: flex; align-items: flex-start; margin-bottom: 1rem; }
.footer-contact-icon { color: var(--primary); margin-right: 1rem; font-size: 1rem; flex-shrink: 0; }
.footer-contact-text { flex: 1; }
.footer-social { display: flex; gap: 1rem; margin-top: 1.5rem; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); color: var(--white); border-radius: 50%; transition: var(--transition-normal); }
.footer-social-link:hover { background-color: var(--primary); transform: translateY(-5px); }
.footer-bottom { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-copyright { font-size: 0.875rem; color: var(--neutral-200); }
.footer-copyright a {color:var(--warning-light);}
