/* --- Clean Construction Variables --- */
:root {
    --bg-main: #FFFFFF;
    --bg-alt: #F8FAFC; /* Very light, cool gray */
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --accent: #F97316; /* Vibrant Safety Orange */
    --accent-hover: #EA580C;
    --border-color: #E2E8F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1250px; margin: 0 auto; padding: 0 5%; }
.section-padding { padding: 100px 0; }
.bg-main { background-color: var(--bg-main); }
.bg-alt { background-color: var(--bg-alt); }
.text-accent { color: var(--accent); }
.mt-4 { margin-top: 2rem; }
.w-100 { width: 100%; }
.noselect { user-select: none; -webkit-user-select: none; }
img { pointer-events: none; }

/* --- Disclaimer Banner --- */
.josef-preview-banner { background: var(--text-dark); color: #fff; text-align: center; padding: 10px; font-size: 13px; position: relative; z-index: 2000; }

/* --- Glass Header --- */
.glass-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; }
.header-flex { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
.desktop-nav a { text-decoration: none; color: var(--text-dark); font-weight: 500; margin: 0 1.5rem; transition: color 0.2s; }
.desktop-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.link-back { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.link-back:hover { color: var(--text-dark); }

/* Buttons */
.btn-accent { background: var(--accent); color: white; padding: 0.8rem 1.8rem; border-radius: 6px; text-decoration: none; font-weight: 600; border: none; cursor: pointer; transition: all 0.3s ease; display: inline-block; }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2); }
.btn-outline { background: transparent; color: var(--text-dark); border: 1px solid var(--border-color); padding: 0.8rem 1.8rem; border-radius: 6px; text-decoration: none; font-weight: 600; transition: all 0.3s; display: inline-block; }
.btn-outline:hover { border-color: var(--text-dark); background: var(--bg-alt); }

/* --- Modern Split Hero --- */
.hero-clean { padding: 80px 0 120px 0; background: var(--bg-main); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.pill-badge { display: inline-block; background: rgba(249, 115, 22, 0.1); color: var(--accent); padding: 0.5rem 1rem; border-radius: 50px; font-weight: 600; font-size: 0.85rem; margin-bottom: 1.5rem; }
.hero-text h1 { font-size: clamp(3rem, 5vw, 4.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -1px; margin-bottom: 1.5rem; color: var(--text-dark); }
.hero-text p { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; }

/* The Cool Overlapping Image Setup */
.hero-visual { position: relative; height: 600px; width: 100%; }
.image-wrapper { border-radius: 16px; overflow: hidden; position: absolute; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.main-img { width: 80%; height: 80%; top: 0; right: 0; z-index: 2; }
.overlap-img { width: 50%; height: 45%; bottom: 10%; left: 0; z-index: 3; border: 8px solid var(--bg-main); }
.accent-square { position: absolute; width: 40%; height: 40%; background: var(--accent); bottom: 5%; right: 10%; border-radius: 16px; z-index: 1; opacity: 0.1; }

/* --- Stats Bar --- */
.stats-section { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); padding: 3rem 0; }
.stats-flex { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; text-align: center; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--text-dark); line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.9rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

/* --- Animated Services --- */
.section-title { text-align: center; margin-bottom: 4rem; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.clean-card { background: var(--bg-main); border: 1px solid var(--border-color); padding: 3rem 2rem; border-radius: 16px; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative; overflow: hidden; }

/* Smooth hover reveal */
.clean-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.hover-lift:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: transparent; }
.hover-lift:hover::before { transform: scaleX(1); }

.card-icon-wrapper { width: 60px; height: 60px; background: var(--bg-alt); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; font-size: 1.5rem; border: 1px solid var(--border-color); }
.clean-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--text-dark); }
.clean-card p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.card-link { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; transition: gap 0.3s; gap: 5px; }
.clean-card:hover .card-link { gap: 10px; }

/* --- Contact Area --- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.contact-info h2 { font-size: 3rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; letter-spacing: -1px; }
.contact-info p { color: var(--text-muted); font-size: 1.1rem; max-width: 400px; }
.contact-details p { margin-bottom: 0.5rem; color: var(--text-dark); }

.clean-form { background: var(--bg-main); padding: 3rem; border-radius: 16px; border: 1px solid var(--border-color); box-shadow: 0 10px 30px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 1.25rem; }
.input-row { display: flex; gap: 1rem; }
.clean-form input, .clean-form select { width: 100%; padding: 1rem 1.25rem; border: 1px solid var(--border-color); border-radius: 8px; font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.3s; background: var(--bg-alt); }
.clean-form input:focus, .clean-form select:focus { border-color: var(--accent); background: var(--bg-main); }

/* --- Footer --- */
.clean-footer { background: var(--text-dark); color: white; padding: 60px 0; text-align: center; }
.legal-text { color: #94A3B8; font-size: 0.85rem; margin-top: 10px; }

/* --- Clean Animations --- */
.stagger-up > * { opacity: 0; animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; }
.stagger-up .pill-badge { animation-delay: 0.1s; }
.stagger-up h1 { animation-delay: 0.2s; }
.stagger-up p { animation-delay: 0.3s; }
.stagger-up .hero-actions { animation-delay: 0.4s; }

.slide-in-right { opacity: 0; animation: slideRightFade 1s cubic-bezier(0.165, 0.84, 0.44, 1) 0.3s forwards; }
.fade-in-delayed { opacity: 0; animation: simpleFade 1s ease 0.8s forwards; }

@keyframes slideUpFade { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes slideRightFade { 0% { opacity: 0; transform: translateX(40px); } 100% { opacity: 1; transform: translateX(0); } }
@keyframes simpleFade { 0% { opacity: 0; } 100% { opacity: 1; } }

/* Mobile */
@media (max-width: 900px) {
    .hero-grid, .contact-split { grid-template-columns: 1fr; }
    .hero-visual { height: 400px; margin-top: 2rem; }
    .input-row { flex-direction: column; }
    .desktop-nav { display: none; }
}
/* --- Leadership Team --- */
.team-grid-clean { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.team-profile { background: var(--bg-alt); border-radius: 16px; overflow: hidden; border: 1px solid var(--border-color); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; }
.profile-img-wrapper { height: 320px; width: 100%; overflow: hidden; }
.profile-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; pointer-events: none; }
.team-profile:hover .profile-img-wrapper img { transform: scale(1.05); }
.profile-info { padding: 2rem; text-align: center; background: var(--bg-main); flex-grow: 1; border-top: 1px solid var(--border-color); }
.profile-info h3 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 0.25rem; }
.profile-info .role { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0; }

/* --- Clean FAQ Section --- */
.faq-accordion { display: flex; flex-direction: column; gap: 1.5rem; }
.faq-card { background: var(--bg-main); padding: 2rem; border-radius: 12px; border: 1px solid var(--border-color); box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: border-color 0.3s ease; }
.faq-card:hover { border-color: var(--accent); }
.faq-card h4 { font-size: 1.15rem; color: var(--text-dark); margin-bottom: 1rem; font-weight: 700; }
.faq-card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0; }