/* ===== RESET & TOKENS ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #0891b2;
  --primary-dark: #0e7490;
  --primary-light: #e0f7fb;
  --accent: #06b6d4;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #475569;
  --gray-light: #94a3b8;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15,23,42,0.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,0.12);
  --transition: 0.3s ease;
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'Open Sans', sans-serif; color: var(--dark); line-height: 1.65; background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 52px; }
.section-head h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; line-height: 1.15; margin-bottom: 14px; letter-spacing: -0.02em; }
.section-head p { color: var(--gray); font-size: 1.04rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.text-link { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 700; font-size: 0.93rem; }
.text-link:hover { color: var(--primary-dark); }
.center-cta { text-align: center; margin-top: 36px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: all var(--transition); border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(8,145,178,0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: all var(--transition); }
.site-header.scrolled { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 2px 20px rgba(15,23,42,0.06); padding: 12px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: 'Montserrat', sans-serif; font-weight: 900; font-size: 1.7rem; letter-spacing: -0.02em; color: var(--white); transition: color var(--transition); }
.logo span { color: var(--accent); }
.site-header.scrolled .logo { color: var(--dark); }
.site-header.scrolled .logo span { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 0.92rem; color: rgba(255,255,255,0.9); transition: color var(--transition); position: relative; }
.nav-links a:not(.nav-cta)::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.site-header.scrolled .nav-links a { color: var(--gray); }
.site-header.scrolled .nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { background: var(--primary); color: var(--white) !important; padding: 10px 22px; border-radius: 8px; }
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.menu-btn { display: none; font-size: 1.7rem; color: var(--white); line-height: 1; padding: 4px; }
.site-header.scrolled .menu-btn { color: var(--dark); }

/* ===== HERO ===== */
.hero { position: relative; height: min(78vh, 760px); min-height: 560px; overflow: hidden; background: #0b1220; margin-top: 0; }
.hero-slider, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; transition: opacity 0.8s ease; display: flex; align-items: center; overflow: hidden; }
.slide.active { opacity: 1; z-index: 1; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.slide-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(15,23,42,0.62) 0%, rgba(15,23,42,0.38) 45%, rgba(15,23,42,0.18) 100%); }
.slide-content { position: relative; z-index: 2; color: var(--white); max-width: 680px; padding-top: 40px; }

/* ===== PAGE HERO ===== */
.page-hero { padding: 150px 0 72px; background: linear-gradient(135deg, #0f172a 0%, #164e63 100%); color: var(--white); }
.page-hero .eyebrow { color: #67e8f9; }
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.1; margin-bottom: 16px; letter-spacing: -0.02em; }
.page-hero p { max-width: 720px; font-size: 1.08rem; color: rgba(255,255,255,0.86); }
.badge { display: inline-block; padding: 8px 16px; background: rgba(6,182,212,0.18); border: 1px solid rgba(6,182,212,0.4); color: #67e8f9; border-radius: 999px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; backdrop-filter: blur(4px); }
.slide-content h1 { font-family: 'Montserrat', sans-serif; font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; line-height: 1.08; margin-bottom: 20px; letter-spacing: -0.03em; }
.slide-content p { font-size: 1.12rem; color: rgba(255,255,255,0.88); max-width: 580px; margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: var(--white); font-size: 1.1rem; display: flex; align-items: center; justify-content: center; transition: all var(--transition); backdrop-filter: blur(4px); }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); }
.slider-btn.prev { left: 24px; }
.slider-btn.next { right: 24px; }
.slider-dots { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 10px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; padding: 0; transition: all var(--transition); }
.slider-dots button.active { background: var(--white); width: 32px; border-radius: 6px; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--dark); color: var(--white); padding: 36px 0; position: relative; z-index: 2; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: 2rem; font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 6px; }
.trust-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ===== CARDS / GRIDS ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: var(--white); padding: 36px 30px; border-radius: var(--radius); border: 1px solid var(--border); transition: all var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(8,145,178,0.2); }
.card-icon { width: 60px; height: 60px; border-radius: 14px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 22px; }
.card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--gray); font-size: 0.95rem; margin-bottom: 18px; }
.check-list li { position: relative; padding-left: 24px; color: var(--gray); font-size: 0.92rem; margin-bottom: 8px; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== PRODUCT CARDS ===== */
.product-card { background: var(--white); padding: 32px 24px; border-radius: var(--radius); border: 1px solid var(--border); text-align: center; transition: all var(--transition); }
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(8,145,178,0.25); }
.product-icon { font-size: 2.4rem; margin-bottom: 16px; line-height: 1; }
.product-card h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.product-card p { color: var(--gray); font-size: 0.92rem; line-height: 1.6; }
.chem-cta { margin-top: 48px; background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--white); padding: 36px 40px; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.chem-cta h3 { font-family: 'Montserrat', sans-serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.chem-cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.chem-cta .btn { flex-shrink: 0; }

/* ===== PROCESS ===== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light)); z-index: 0; }
.step { text-align: center; position: relative; z-index: 1; }
.step-num { width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 3px solid var(--primary); color: var(--primary); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; box-shadow: 0 4px 16px rgba(8,145,178,0.15); }
.step h3 { font-family: 'Montserrat', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.step p { color: var(--gray); font-size: 0.92rem; line-height: 1.6; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; max-height: 420px; object-fit: contain; background: #111; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.02); }
.gallery-item figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 40px 20px 20px; background: linear-gradient(transparent, rgba(15,23,42,0.8)); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.05rem; }
.gallery-note { margin-top: 24px; color: var(--gray); text-align: center; font-size: 0.95rem; }

/* ===== SPLIT / CTA BANNER ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-content h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.15; margin-bottom: 18px; letter-spacing: -0.02em; }
.split-content p { color: var(--gray); margin-bottom: 16px; }
.split-content .btn { margin-top: 8px; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-height: 460px; object-fit: cover; }
.cta-banner { padding: 56px 0; background: var(--bg-alt); }
.cta-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(135deg, var(--dark) 0%, #164e63 100%); color: var(--white); padding: 40px 44px; border-radius: var(--radius); }
.cta-banner-inner h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 6px; }
.cta-banner-inner p { color: rgba(255,255,255,0.82); }
.cta-banner-inner .btn { flex-shrink: 0; }

/* ===== CONTACT ===== */
.contact-section { background: var(--bg); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .eyebrow { margin-bottom: 12px; }
.contact-info h2 { font-family: 'Montserrat', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-info > p { color: var(--gray); margin-bottom: 32px; font-size: 1rem; max-width: 520px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.service-area { margin-top: 32px; padding: 24px; background: var(--bg-alt); border-radius: 12px; border: 1px solid var(--border); }
.service-area h3 { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.service-area p { color: var(--gray); font-size: 0.93rem; margin: 0; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.detail-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-light); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 0.85rem; font-weight: 700; color: var(--dark); margin-bottom: 2px; }
.contact-detail span, .contact-detail a { color: var(--gray); font-size: 0.95rem; }
.contact-detail a:hover { color: var(--primary); }
.contact-form-wrap { background: var(--white); padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow-lg); border: 1px solid var(--border); }
.form-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 18px 20px; border-radius: 10px; margin-bottom: 24px; }
.form-success strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.form-success p { font-size: 0.92rem; margin: 0; color: #047857; }
.form-error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; padding: 18px 20px; border-radius: 10px; margin-bottom: 24px; }
.form-error strong { display: block; margin-bottom: 4px; font-size: 1rem; }
.form-error p { font-size: 0.92rem; margin: 0; color: #b91c1c; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; }
.contact-form label span { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.95rem; color: var(--dark); background: var(--bg-alt); transition: all var(--transition); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 4px rgba(8,145,178,0.1); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }

/* ===== FOOTER ===== */
.site-footer { background: #0b1220; color: rgba(255,255,255,0.72); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; font-size: 1.6rem; }
.footer-brand p { font-size: 0.93rem; line-height: 1.7; max-width: 300px; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-family: 'Montserrat', sans-serif; color: var(--white); font-size: 0.95rem; font-weight: 700; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 0.9rem; color: rgba(255,255,255,0.62); margin-bottom: 10px; transition: color var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { padding: 24px 0; text-align: center; font-size: 0.85rem; color: rgba(255,255,255,0.45); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-grid::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .menu-btn { display: block; z-index: 1001; }
  .nav-links { position: fixed; top: 0; right: 0; width: min(320px, 85vw); height: 100vh; background: var(--white); flex-direction: column; align-items: stretch; padding: 90px 28px 32px; gap: 0; box-shadow: -10px 0 40px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform var(--transition); }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--dark) !important; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .nav-links a::after { display: none !important; }
  .nav-cta { margin-top: 16px; text-align: center; padding: 14px 22px !important; border-bottom: none !important; }
  .grid-3, .contact-wrap { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .contact-wrap { gap: 40px; }
  .cta-banner-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .grid-4, .form-row { grid-template-columns: 1fr; }
  .slider-btn { width: 40px; height: 40px; font-size: 0.95rem; }
  .slider-btn.prev { left: 12px; }
  .slider-btn.next { right: 12px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .chem-cta { flex-direction: column; text-align: center; padding: 30px 24px; }
  .contact-form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .slide-content p { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}