/* ==========================================================================
   CSS VARIABLES & BASE (HEBAFIM.ONE - VIBRANT TEAL)
   ========================================================================== */
:root {
    --primary-color: #14b8a6;    /* Teal 500 */
    --primary-light: #2dd4bf;    /* Teal 400 */
    --primary-dark: #0f766e;     /* Teal 700 */
    --bg-color: #f0fdfa;         /* Teal 50 */
    --bg-white: #ffffff;
    --text-main: #334155;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-white); color: var(--text-main);
    line-height: 1.75; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ==========================================================================
   LAYOUT & GRID
   ========================================================================== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-color); }
.text-center { text-align: center; }

.grid { display: grid; gap: 40px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); align-items: center; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   TYPOGRAPHY & BUTTONS
   ========================================================================== */
h1, h2, h3, h4 { color: var(--heading-color); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-title { font-size: 2.75rem; margin-bottom: 24px; }
.section-subtitle { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 48px; max-width: 800px; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 16px 36px; font-weight: 700; font-size: 1rem; border-radius: 50px; cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.btn-primary { background-color: var(--primary-color); color: var(--bg-white); box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4); }
.btn-outline { background-color: transparent; border-color: var(--primary-color); color: var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: var(--bg-white); }

/* ==========================================================================
   COMPONENTS (CARDS, FORMS)
   ========================================================================== */
.card { background: var(--bg-white); border: 1px solid var(--border-color); padding: 48px 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); }
.card-icon { width: 72px; height: 72px; background: var(--bg-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary-color); margin-bottom: 24px; }

.form-group { margin-bottom: 28px; text-align: left; }
.form-label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--heading-color); }
.form-input, .form-textarea { width: 100%; padding: 18px; border: 2px solid var(--border-color); border-radius: var(--radius-md); font-family: inherit; font-size: 1rem; transition: var(--transition); background: #f8fafc; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--primary-color); background: var(--bg-white); }
.form-textarea { min-height: 180px; resize: vertical; }

.faq-item { border-bottom: 1px solid var(--border-color); padding: 24px 0; }
.faq-question { font-size: 1.25rem; font-weight: 700; color: var(--heading-color); margin-bottom: 12px; }
.faq-answer { color: var(--text-muted); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header { background: var(--bg-white); position: sticky; top: 0; z-index: 1000; padding: 24px 0; border-bottom: 1px solid var(--border-color); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 2rem; font-weight: 900; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 1px; }
.logo span { color: var(--primary-color); }
.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-menu a { font-weight: 600; color: var(--text-main); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.5px; }
.nav-menu a:hover { color: var(--primary-color); }
.menu-toggle { display: none; }
.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 32px; height: 3px; background: var(--heading-color); border-radius: 3px; transition: 0.3s; }

@media (max-width: 992px) {
    .nav-menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-white); flex-direction: column; padding: 32px; border-bottom: 1px solid var(--border-color); gap: 20px; text-align: center; }
    .hamburger { display: flex; }
    .menu-toggle:checked ~ .nav-menu { display: flex; }
}

/* ==========================================================================
   HERO SECTION (SPLIT WITH IMAGE)
   ========================================================================== */
.hero { padding: 80px 0 120px; background: linear-gradient(to right, #ffffff, var(--bg-color)); overflow: hidden; }
.hero-wrapper { display: flex; flex-direction: column; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero-wrapper { flex-direction: row; } .hero-text { flex: 1; padding-right: 40px; } .hero-image-container { flex: 1; } }
.hero h1 { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 24px; color: var(--primary-dark); }
.hero p { font-size: 1.25rem; color: var(--text-main); margin-bottom: 40px; }
.hero-image-container img { width: 100%; border-radius: 32px; box-shadow: 0 20px 40px rgba(20, 184, 166, 0.2); transform: rotate(2deg); transition: transform 0.5s; }
.hero-image-container:hover img { transform: rotate(0deg); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: #0f172a; color: #f8fafc; padding: 100px 0 40px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 60px; margin-bottom: 60px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }
.footer-logo { font-size: 2rem; font-weight: 900; color: var(--primary-color); margin-bottom: 24px; display: inline-block; }
.footer-title { font-size: 1.25rem; margin-bottom: 24px; color: #fff; border-bottom: 2px solid var(--primary-dark); padding-bottom: 10px; display: inline-block; }
.footer-links li { margin-bottom: 16px; }
.footer-links a { color: #94a3b8; transition: 0.3s; }
.footer-links a:hover { color: var(--primary-light); padding-left: 8px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 32px; text-align: center; color: #64748b; font-size: 0.9rem; }

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
#cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 1200px; margin: 0 auto; background: var(--bg-white); color: var(--text-main); padding: 24px; z-index: 9999; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.2); border-radius: var(--radius-lg); border: 2px solid var(--primary-color); }
#cookie-banner.hidden { display: none; }
#cookie-banner p { flex: 1; min-width: 300px; margin: 0; font-size: 0.95rem; font-weight: 500; }
#cookie-banner a { color: var(--primary-dark); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 16px; }
.cookie-btn { padding: 12px 24px; border: none; border-radius: 50px; cursor: pointer; font-weight: 700; transition: 0.3s; }
.btn-accept { background: var(--primary-color); color: #fff; }
.btn-accept:hover { background: var(--primary-dark); }