/* ============================================
   Menzel Enterprises - Modern CSS
   Mobile-first responsive design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #1a2332;
  --primary-light: #243347;
  --primary-dark: #0f1620;
  --accent: #ffd01e;
  --accent-hover: #e6bb00;
  --accent-light: #fff9e0;
  --secondary: #734694;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --red: #dc2626;
  --green: #16a34a;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --max-width: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }
body { font-family: var(--font); color: var(--gray-700); line-height: 1.6; background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); color: var(--gray-900); line-height: 1.2; font-weight: 700; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* --- Top Bar --- */
.top-bar { background: var(--primary); color: var(--gray-300); font-size: 0.85rem; padding: 8px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: var(--gray-300); }
.top-bar a:hover { color: var(--accent); }
.top-bar__contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.top-bar__social { display: flex; gap: 12px; align-items: center; }
.top-bar__social a { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.1); transition: background var(--transition); }
.top-bar__social a:hover { background: var(--accent); color: var(--primary); }

/* --- Navigation --- */
.navbar { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 1000; transition: box-shadow var(--transition); }
.navbar.scrolled { box-shadow: var(--shadow-lg); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; padding-top: 0; padding-bottom: 0; min-height: 70px; }
.navbar__logo img { height: 50px; width: auto; }
.navbar__links { display: flex; gap: 0; align-items: center; }
.navbar__links a { color: var(--gray-700); font-weight: 500; font-size: 0.9rem; padding: 24px 12px; position: relative; transition: color var(--transition); }
.navbar__links a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--accent); transition: width var(--transition); border-radius: 3px 3px 0 0; }
.navbar__links a:hover, .navbar__links a.active { color: var(--primary); }
.navbar__links a:hover::after, .navbar__links a.active::after { width: 100%; }
.navbar__cta { background: var(--accent); color: var(--primary) !important; padding: 10px 20px !important; border-radius: var(--radius); font-weight: 700 !important; margin-left: 8px; }
.navbar__cta::after { display: none !important; }
.navbar__cta:hover { background: var(--accent-hover); color: var(--primary) !important; }

.navbar__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.navbar__toggle span { display: block; width: 24px; height: 2px; background: var(--gray-700); transition: var(--transition); border-radius: 2px; }

/* --- Hero --- */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; background: var(--primary); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 1; background-size: cover; background-position: center; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,35,50,0.92) 0%, rgba(26,35,50,0.65) 100%); z-index: 2; }
.hero__content { position: relative; z-index: 3; color: var(--white); max-width: 750px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,208,30,0.15); border: 1px solid rgba(255,208,30,0.4); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 20px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.5rem); color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero__title span { color: var(--accent); }
.hero__text { font-size: 1.1rem; color: rgba(255,255,255,0.85); margin-bottom: 32px; line-height: 1.7; max-width: 600px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); font-family: var(--font); text-align: center; justify-content: center; }
.btn--primary { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--primary); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255,208,30,0.4); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.3); }
.btn--outline:hover { background: var(--white); color: var(--primary); border-color: var(--white); transform: translateY(-2px); }
.btn--dark { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--dark:hover { background: var(--primary-light); transform: translateY(-2px); color: var(--white); box-shadow: var(--shadow-lg); }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Stats Bar --- */
.stats-bar { background: var(--white); padding: 0; margin-top: -60px; position: relative; z-index: 10; }
.stats-bar__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; }
.stats-bar__item { padding: 32px 24px; text-align: center; border-right: 1px solid var(--gray-100); transition: background var(--transition); }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__item:hover { background: var(--gray-50); }
.stats-bar__number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stats-bar__label { font-size: 0.85rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* --- Sections --- */
.section { padding: 80px 0; }
.section--gray { background: var(--gray-50); }
.section--dark { background: var(--primary); color: var(--white); }
.section__header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__label { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 12px; padding: 4px 12px; background: rgba(255,208,30,0.1); border-radius: 4px; }
.section__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.section--dark .section__title { color: var(--white); }
.section__subtitle { font-size: 1.05rem; color: var(--gray-500); line-height: 1.7; }
.section--dark .section__subtitle { color: rgba(255,255,255,0.7); }

/* --- Service/Feature Cards --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: var(--accent); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 56px; height: 56px; background: var(--accent-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; color: var(--primary); }
.service-card__title { font-size: 1.2rem; margin-bottom: 12px; }
.service-card__text { font-size: 0.95rem; color: var(--gray-500); line-height: 1.7; }

/* --- About Section --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-grid--reversed .about__content { order: 2; }
.about__image { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; }
.about__image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.about__image-badge { position: absolute; bottom: 24px; left: 24px; background: var(--accent); color: var(--primary); padding: 12px 20px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; box-shadow: var(--shadow-lg); }
.about__content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 20px; }
.about__content p { margin-bottom: 16px; color: var(--gray-600); line-height: 1.8; }
.about__features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.about__feature { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gray-700); font-size: 0.95rem; }
.about__feature-icon { width: 32px; height: 32px; background: var(--accent-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; font-weight: 700; }

/* --- Team Member Cards --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.team-card { text-align: center; transition: transform var(--transition); }
.team-card:hover { transform: translateY(-6px); }
.team-card__photo { width: 200px; height: 200px; margin: 0 auto 20px; border-radius: 50%; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--white); position: relative; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__name { font-size: 1.2rem; margin-bottom: 4px; color: var(--primary); }
.team-card__role { font-size: 0.85rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.team-card__bio { font-size: 0.9rem; color: var(--gray-500); line-height: 1.6; max-width: 280px; margin: 0 auto; }

/* --- CTA Banner --- */
.cta-banner { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; top: -50%; right: -10%; width: 500px; height: 500px; background: rgba(255,208,30,0.05); border-radius: 50%; }
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 12px; position: relative; z-index: 2; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 28px; position: relative; z-index: 2; }
.cta-banner .container > div { position: relative; z-index: 2; }

/* --- Page Header (inner pages) --- */
.page-header { background: var(--primary); padding: 80px 0 60px; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(255,208,30,0.1) 0%, transparent 70%); }
.page-header__content { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 0.85rem; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.breadcrumb .current { color: var(--accent); }

/* --- Quote/Testimonial Block --- */
.quote-block { background: var(--white); border-left: 4px solid var(--accent); padding: 32px 40px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; box-shadow: var(--shadow); margin: 32px 0; font-size: 1.15rem; line-height: 1.7; color: var(--gray-700); font-style: italic; position: relative; }
.quote-block::before { content: '\201C'; position: absolute; top: -10px; left: 20px; font-size: 5rem; color: var(--accent); font-family: Georgia, serif; line-height: 1; opacity: 0.3; }
.quote-block cite { display: block; margin-top: 16px; font-size: 0.9rem; font-style: normal; color: var(--gray-500); font-weight: 600; }
.quote-block cite strong { color: var(--primary); display: block; font-size: 1rem; }

/* --- Locations --- */
.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.location-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--gray-100); transition: all var(--transition); text-align: center; }
.location-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--accent); }
.location-card__icon { width: 64px; height: 64px; background: var(--accent-light); color: var(--primary); border-radius: 50%; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; }
.location-card h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--primary); }
.location-card p { color: var(--gray-500); font-size: 0.95rem; line-height: 1.6; }

/* --- Footer --- */
.footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer__brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer__title { color: var(--white); font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer__links a { display: block; color: rgba(255,255,255,0.6); padding: 6px 0; font-size: 0.9rem; transition: all var(--transition); }
.footer__links a:hover { color: var(--accent); padding-left: 4px; }
.footer__contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.footer__contact-icon { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.footer__contact-item a { color: rgba(255,255,255,0.6); }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__bottom a { color: rgba(255,255,255,0.5); }
.footer__bottom a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.footer__social a:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }

/* --- Scroll to Top --- */
.scroll-top { position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px; background: var(--accent); color: var(--primary); border: none; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--transition); z-index: 999; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-hover); transform: translateY(-4px); }

/* --- Content Prose --- */
.prose h2 { font-size: 1.6rem; margin: 32px 0 16px; }
.prose h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.prose p { margin-bottom: 16px; color: var(--gray-600); line-height: 1.8; }
.prose ul { margin: 16px 0; }
.prose ul li { padding: 6px 0 6px 28px; position: relative; color: var(--gray-600); }
.prose ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 800; background: var(--accent-light); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; top: 8px; }

.info-box { background: var(--accent-light); border-left: 4px solid var(--accent); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.info-box strong { color: var(--primary); }

/* --- Forms --- */
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--gray-700); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--gray-200); border-radius: var(--radius); font-size: 1rem; font-family: var(--font); transition: border-color var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,208,30,0.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

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

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid--reversed .about__content { order: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .top-bar { display: none; }
  .navbar__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; box-shadow: var(--shadow-lg); border-top: 1px solid var(--gray-100); }
  .navbar__links.open { display: flex; }
  .navbar__links a { padding: 16px 24px; border-bottom: 1px solid var(--gray-100); width: 100%; }
  .navbar__links a::after { display: none; }
  .navbar__cta { margin: 12px 24px; text-align: center; }
  .navbar__toggle { display: flex; }

  .hero { min-height: 70vh; }
  .hero__actions { flex-direction: column; }
  .stats-bar { margin-top: -30px; }
  .stats-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__item { padding: 20px 16px; }
  .stats-bar__number { font-size: 1.8rem; }
  .about__features { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { min-height: 60vh; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .stats-bar__item { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .stats-bar__item:last-child { border-bottom: none; }
  .contact-form { padding: 24px; }
  .quote-block { padding: 24px; font-size: 1rem; }
}

/* --- iOS Mobile App Style --- */
@media (max-width: 768px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); -webkit-overflow-scrolling: touch; }
  body::-webkit-scrollbar { display: none; }
  body { -ms-overflow-style: none; scrollbar-width: none; }

  .navbar { background: rgba(255,255,255,0.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 0.5px solid rgba(0,0,0,0.1); box-shadow: none; min-height: 56px; }
  .navbar .container { min-height: 56px; }
  .navbar__logo img { height: 38px; }

  .tab-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-top: 0.5px solid rgba(0,0,0,0.12); padding: 6px 0 calc(6px + env(safe-area-inset-bottom, 0px)); justify-content: space-around; align-items: center; }
  .tab-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; padding: 4px 12px; min-width: 56px; gap: 2px; -webkit-tap-highlight-color: transparent; }
  .tab-bar__item svg { width: 24px; height: 24px; stroke-width: 1.8; color: #8e8e93; transition: color 0.2s ease, transform 0.15s ease; }
  .tab-bar__item span { font-size: 10px; font-weight: 500; color: #8e8e93; transition: color 0.2s ease; }
  .tab-bar__item.active svg { color: var(--primary); }
  .tab-bar__item.active span { color: var(--primary); font-weight: 700; }
  .tab-bar__item:active svg { transform: scale(0.85); }

  .tab-bar__call .tab-call-icon { width: 44px; height: 44px; background: #34c759; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: -18px; box-shadow: 0 4px 12px rgba(52,199,89,0.4); }
  .tab-bar__call .tab-call-icon svg { color: #fff; width: 22px; height: 22px; stroke-width: 2.2; }
  .tab-bar__call:active .tab-call-icon { transform: scale(0.9); }
  .tab-bar__call span { color: #34c759; margin-top: 2px; }

  .scroll-top { display: none !important; }
  .footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

.tab-bar { display: none; }
