/* ===== Creek Villa Center — Design System ===== */
:root {
    --primary: #059669;
    --primary-light: #a7f3d0;
    --primary-dark: #065f46;
    --accent: #f59e0b;
    --accent-light: #fef3c7;
    --bg: #0f1a14;
    --bg-alt: #f0fdf4;
    --bg-card: #ffffff;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-on-dark: #f0fdf4;
    --border: #d1fae5;
    --radius: 12px;
    --shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
    --shadow-lg: 0 12px 40px rgba(5, 150, 105, 0.12);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.7; background: #fff; }

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

/* ===== Trust Marquee ===== */
.trust-marquee { background: var(--primary-dark); color: var(--text-on-dark); padding: 10px 0; overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 500; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 30s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 6px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== Header ===== */
.site-header { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-size: 18px; }
.main-nav { display: flex; gap: 32px; }
.main-nav a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 15px; transition: var(--transition); }
.main-nav a:hover { color: var(--primary); }
.header-cta { display: inline-flex; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.mobile-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.mobile-toggle span:nth-child(1) { top: 0; }
.mobile-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.mobile-toggle span:nth-child(3) { bottom: 0; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15px; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); font-family: var(--font); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 8px 20px; font-size: 13px; }

/* ===== Hero ===== */
.hero { padding: 80px 0 60px; background: linear-gradient(135deg, var(--bg-alt) 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-label { font-size: 14px; font-weight: 600; color: var(--primary); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; color: var(--text); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-trust { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.hero-image img { width: 100%; border-radius: 16px; box-shadow: var(--shadow-lg); }

/* ===== Stats ===== */
.stats { padding: 60px 0; background: var(--bg); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--primary-light); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section-label { display: inline-block; padding: 6px 16px; background: var(--primary-light); color: var(--primary-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; border-radius: 20px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 12px; line-height: 1.2; }
.section-subtitle { font-size: 16px; color: var(--text-muted); max-width: 620px; line-height: 1.7; margin-bottom: 48px; }

/* ===== Program Cards ===== */
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: left; margin-top: 40px; }
.program-card { background: var(--bg-card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { position: relative; overflow: hidden; height: 200px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.program-card:hover .card-img img { transform: scale(1.05); }
.program-badge { position: absolute; top: 12px; left: 12px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 6px; text-transform: uppercase; }
.card-body { padding: 24px; }
.card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.program-price { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.program-price small { font-size: 13px; font-weight: 400; color: var(--text-muted); }

/* ===== Feature Cards ===== */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; margin-top: 40px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 20px; transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { font-size: 2rem; margin-bottom: 16px; width: 56px; height: 56px; margin: 0 auto 16px; background: var(--bg-alt); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; margin-top: 40px; }
.testimonial-card { background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); transition: var(--transition); }
.testimonial-card:hover { box-shadow: var(--shadow); }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 16px; }
.testimonial-card blockquote { font-size: 14px; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; background: var(--primary-light); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.testimonial-name { font-weight: 600; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ===== CTA ===== */
.cta-section { padding: 80px 0; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); text-align: center; color: #fff; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 17px; opacity: 0.9; max-width: 540px; margin: 0 auto 32px; }
.cta-section .btn { background: #fff; color: var(--primary-dark); }
.cta-section .btn:hover { background: var(--primary-light); transform: translateY(-2px); }

/* ===== About ===== */
.about-hero { padding: 60px 0 40px; background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-content h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 20px; }
.about-content p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.about-grid img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.team-card { text-align: center; padding: 24px; }
.avatar { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 12px; }
.team-card h4 { font-size: 15px; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-muted); }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; margin-top: 40px; }
.value-card { background: var(--bg-card); padding: 32px; border-radius: var(--radius); border: 1px solid var(--border); }
.value-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.contact-form { background: var(--bg-card); padding: 40px; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; font-size: 15px; font-family: var(--font); transition: var(--transition); background: #f8faf9; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-info h3 { font-size: 1.3rem; margin-bottom: 24px; }
.info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.info-icon { width: 40px; height: 40px; background: var(--bg-alt); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.info-item h4 { font-size: 14px; margin-bottom: 2px; }
.info-item p { font-size: 13px; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; padding: 20px 0; background: none; border: none; font-size: 16px; font-weight: 600; cursor: pointer; font-family: var(--font); color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.faq-question::after { content: "+"; font-size: 20px; color: var(--primary); transition: var(--transition); }
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 0 20px; font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== Legal ===== */
.legal-page { padding: 60px 0; }
.legal-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--text-muted); margin-bottom: 32px; }
.legal-page h2 { font-size: 1.25rem; font-weight: 700; margin: 32px 0 12px; }
.legal-page h3 { font-size: 1.05rem; font-weight: 600; margin: 20px 0 8px; }
.legal-page p { font-size: 15px; color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }
.legal-page ul { padding-left: 24px; margin-bottom: 16px; }
.legal-page li { font-size: 14px; color: var(--text-muted); line-height: 1.8; margin-bottom: 4px; }

/* ===== Cookie Banner ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--bg-card); border-top: 1px solid var(--border); padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 13px; color: var(--text-muted); z-index: 999; box-shadow: 0 -2px 12px rgba(0,0,0,0.06); }
.cookie-banner a { color: var(--primary); }
.cookie-banner.hidden { display: none; }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .programs-grid, .features-grid, .testimonials-grid, .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .main-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; padding: 24px; flex-direction: column; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); }
    .main-nav.active { display: flex; }
    .header-cta { display: none; }
    .mobile-toggle { display: block; }
}
