/* =========================================
   Design System & Tokens
   ========================================= */
:root {
    /* Color Palette */
    --clr-primary-500: #b89f82; /* Warm Gold / Medspa vibe */
    --clr-primary-600: #a38c71;
    --clr-secondary-500: #2c3e50; /* Deep Slate Blue */
    --clr-background: #faf9f7; /* Very light warm gray */
    --clr-surface: #ffffff;
    --clr-text-main: #333333;
    --clr-text-muted: #666666;
    --clr-border: #eaeaea;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;

    /* Styling */
    --radius-md: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed headers if added later */
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-background);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--clr-secondary-500);
    margin-bottom: var(--space-md);
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0.5px; text-transform: uppercase;}

p {
    margin-bottom: var(--space-lg);
    color: var(--clr-text-muted);
}

a {
    color: var(--clr-primary-500);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--clr-primary-600);
}

ul {
    list-style: none;
}

/* =========================================
   Layout
   ========================================= */
.container {
    max-width: 1050px; /* Wider for bolder widget display */
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.layout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
    align-items: start;
}

/* Empty layout updates since container removed the 300px sidebar */

/* =========================================
   Components
   ========================================= */

/* Hero Section */
.hero {
    background-color: var(--clr-surface);
    padding: calc(var(--space-xl) * 1.5) var(--space-lg);
    text-align: center;
    border-bottom: 1px solid var(--clr-border);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Sidebar styles removed */

.nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 0;
    background-color: var(--clr-primary-500);
    transition: height var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-primary-500);
    padding-left: 1.5rem;
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 100%;
}

/* Content Sections */
.financing-section {
    padding: 0;
    margin-bottom: var(--space-xl);
    scroll-margin-top: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
    text-align: center;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--clr-primary-500);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: var(--clr-primary-600);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-secondary-500);
    border: 2px solid var(--clr-secondary-500);
}

.btn-secondary:hover {
    background-color: var(--clr-secondary-500);
    color: white;
    transform: translateY(-2px);
}

/* Contact Info Area */
.contact-info {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--clr-border);
}

.text-link {
    position: relative;
    display: inline-block;
    color: var(--clr-text-main);
    font-weight: 500;
}

.text-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--clr-primary-500);
    transform-origin: bottom right;
    transition: transform var(--transition-base);
}

.text-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Footer */
.site-footer {
    background-color: var(--clr-secondary-500);
    color: white;
    padding: var(--space-xl) 0;
    margin-top: var(--space-xl);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.site-footer h4 {
    color: white;
}

.site-footer p {
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--space-sm);
}

.footer-links ul li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255,255,255,0.7);
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    grid-column: 1 / -1;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    margin-top: var(--space-md);
}

/* =========================================
   Cherry Widget Specific Styles
   ========================================= */
.cherry-widget-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    gap: 3rem;
    margin-top: 2rem;
    background: #ffffff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

@media (min-width: 900px) {
    .cherry-widget-container {
        flex-direction: row;
        align-items: stretch;
    }
}

.cherry-col-image {
    flex: 0 0 45%;
}

.cherry-model-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 40px;
    min-height: 480px;
}

.cherry-col-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
}

.cherry-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.cherry-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cherry-lang-btn {
    background: white;
    border: 1px solid #1C0B43;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.cherry-lang-btn:hover {
    background: #f0ecf9;
}

.cherry-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #111;
    font-family: var(--font-body);
    margin-bottom: 1.25rem;
    letter-spacing: -0.5px;
}

.cherry-feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.cherry-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #444;
}

.cherry-check {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 4px;
}
.cherry-check path {
    stroke: #1C0B43;
}

.cherry-action-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.w-full {
    width: 100%;
}

.btn-cherry {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-cherry-primary {
    background-color: #1C0B43;
    color: white;
    border: 1px solid #1C0B43;
}

.btn-cherry-primary:hover {
    background-color: #2e176b;
}

.btn-cherry-secondary {
    background-color: white;
    color: #1C0B43;
    border: 1px solid #cbd5e1;
}

.btn-cherry-secondary:hover {
    border-color: #1C0B43;
    background-color: #f8fafc;
}

.cherry-example-section {
    padding-top: 1rem;
}

.cherry-sub-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #111;
    font-family: var(--font-body);
    margin-bottom: 1.2rem;
    letter-spacing: -0.3px;
}

.cherry-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: #333;
}

.cherry-input-box {
    display: inline-flex;
    align-items: center;
    border: 1px solid #94a3b8;
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    background: white;
    gap: 0.25rem;
}

.cherry-input-box input {
    border: none;
    outline: none;
    width: 45px;
    font-weight: 800;
    font-size: 0.95rem;
    color: #111;
    font-family: var(--font-body);
}

.cherry-results-hidden {
    display: none;
}
.cherry-results-visible {
    display: block;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

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

.payment-plan {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #1C0B43;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
}
.payment-plan:hover {
    background-color: #f1f5f9;
    transform: translateX(4px);
    box-shadow: -4px 0 0 0 #1C0B43;
}
.payment-plan:last-child {
    border-bottom: none;
}

/* Payment Checkout Form Styles */
.checkout-form {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    animation: fadeIn 0.4s ease;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.checkout-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s;
}
.checkout-back-link:hover {
    color: #1C0B43;
}

.checkout-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1C0B43;
}

.checkout-subtitle {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 1.5rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-full {
    grid-column: 1 / -1;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.35rem;
}

.input-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-body);
    transition: border-color var(--transition-fast);
}

.input-group input:focus {
    outline: none;
    border-color: #1C0B43;
    box-shadow: 0 0 0 3px rgba(28, 11, 67, 0.1);
}

.btn-submit-payment {
    background-color: #0f9d58; /* Match standard green */
    color: white;
    font-weight: 700;
    border: none;
    margin-top: 0.5rem;
    border-radius: 6px;
    padding: 0.85rem 1rem;
}

.btn-submit-payment:hover {
    background-color: #0b8043;
}

.checkout-lock-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 1rem;
}

/* FAQ Section Options */
.financing-faq {
    margin-top: 4rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.financing-faq h3 {
    margin-bottom: 1.5rem;
    color: #1C0B43; /* Cherry brand color */
    font-size: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--clr-border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--clr-text-title);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: #1C0B43;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--clr-text-body);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: #1C0B43;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
