/* ===== WaterSys Integrated – Main Styles ===== */
:root {
  --navy: #0F1B3D;
  --blue: #1E5BCE;
  --blue-soft: #EAF1FB;
  --slate-200: #E2E8F0;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --white: #FFFFFF;
  --font-sans: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(226,232,240,0.7);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo img { width: 40px; height: 40px; }
.logo-text { line-height: 1.2; }
.logo-title { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
.logo-blue { color: var(--blue); }
.logo-sub { font-size: 10px; font-weight: 600; letter-spacing: 0.25em; color: var(--slate-500); }

.main-nav { display: none; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--slate-700); padding: 8px 16px; transition: color 0.2s; }
.main-nav a:hover { color: var(--blue); }
@media (min-width: 768px) { .main-nav { display: flex; align-items: center; gap: 8px; } }

.phone-btn {
  display: none; align-items: center; gap: 8px;
  background: var(--blue); color: var(--white);
  padding: 10px 20px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(30,91,206,0.2);
  transition: opacity 0.2s;
}
.phone-btn:hover { opacity: 0.9; }
@media (min-width: 768px) { .phone-btn { display: inline-flex; } }

/* ===== HERO ===== */
.hero-section {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #EAF1FB 0%, #F6F9FE 50%, #FFFFFF 100%);
}

.hero-grid { display: grid; gap: 40px; padding: 80px 24px; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; padding: 112px 32px; } }

.hero-text { display: flex; flex-direction: column; justify-content: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  border: 1px solid #BFDBFE; background: rgba(255,255,255,0.7);
  padding: 6px 16px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; color: var(--blue);
  margin-bottom: 24px;
}

.hero-badge svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-heading {
  font-size: 48px; font-weight: 900; line-height: 0.95; letter-spacing: -0.02em;
  color: var(--navy);
}
@media (min-width: 768px) { .hero-heading { font-size: 72px; } }

.text-blue { color: var(--blue); }

.hero-divider {
  width: 80px; height: 4px; background: var(--blue); border-radius: 999px;
  margin-top: 24px;
}

.hero-subtext {
  max-width: 540px; font-size: 18px; line-height: 1.7; color: var(--slate-600);
  margin-top: 32px;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  transition: all 0.2s; cursor: pointer; border: none;
}

.btn-navy { background: var(--navy); color: var(--white); box-shadow: 0 4px 12px rgba(15,27,61,0.2); }
.btn-navy:hover { opacity: 0.9; }

.btn-outline {
  background: var(--white); color: var(--slate-700);
  border: 2px solid #CBD5E1;
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }

.btn-white { background: var(--white); color: var(--navy); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.btn-white:hover { transform: scale(1.01); }

.btn-outline-white { border: 2px solid rgba(255,255,255,0.4); color: var(--white); }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-arrow { transition: margin 0.2s; }
.btn:hover .btn-arrow { margin-left: 4px; }

.hero-image-wrap { position: relative; }
.hero-image-glow {
  position: absolute; inset: -16px; z-index: -1;
  border-radius: 40px;
  background: linear-gradient(to bottom right, rgba(191,219,254,0.6), transparent);
  filter: blur(40px);
}
.hero-image-frame {
  border-radius: 32px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(15,23,42,0.05);
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-slideshow { position: relative; aspect-ratio: 800 / 550; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; z-index: 1; }
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-slide-dots {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.4); cursor: pointer; padding: 0;
  transition: background 0.3s, transform 0.2s;
}
.hero-dot.active { background: var(--white); transform: scale(1.25); }
.hero-dot:hover { background: rgba(255,255,255,0.8); }

.hero-stat {
  display: none; position: absolute; bottom: -24px; left: -24px;
  background: var(--white); padding: 20px; border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid var(--slate-200);
}
@media (min-width: 768px) { .hero-stat { display: block; } }
.hero-stat-value { font-size: 32px; font-weight: 900; color: var(--navy); }
.hero-stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--slate-500); }

.wave-divider { display: block; width: 100%; height: 80px; }
.wave-divider path { fill: var(--navy); }

/* ===== TRUST STRIP ===== */
.trust-strip { background: var(--navy); color: var(--white); }
.trust-grid { display: grid; gap: 24px; padding: 48px 24px; }
@media (min-width: 768px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

.trust-item { display: flex; align-items: flex-start; gap: 16px; }
.trust-icon {
  display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0;
  border-radius: 16px; background: rgba(255,255,255,0.08);
}
.trust-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; }
.trust-desc { margin-top: 4px; font-size: 14px; color: rgba(219,234,254,0.8); }

/* ===== ABOUT ===== */
.section-about { padding: 96px 0; }
.about-grid { display: grid; gap: 64px; padding: 0 24px; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }

.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.25em;
  color: var(--blue); margin-bottom: 16px;
}
.label-blue { color: #7FB2FF; }

.section-heading {
  font-size: 36px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy);
}
@media (min-width: 768px) { .section-heading { font-size: 48px; } }
.text-white { color: var(--white); }

.about-image { margin-top: 32px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.about-image img { width: 100%; height: auto; display: block; border-radius: 16px; }

.about-text { color: var(--slate-600); }
.about-p1 { font-size: 18px; line-height: 1.7; margin-bottom: 20px; }

.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.about-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--slate-700);
}
.about-list svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ===== SERVICES ===== */
.section-services { background: rgba(248,250,252,0.7); padding: 96px 0; }
.services-header { max-width: 560px; margin-bottom: 64px; padding: 0 24px; }

.services-list { display: flex; flex-direction: column; gap: 24px; }

.service-card {
  display: grid; overflow: hidden; border-radius: 24px;
  background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid rgba(226,232,240,0.7);
  transition: box-shadow 0.3s;
}
.service-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
@media (min-width: 768px) { .service-card { grid-template-columns: 1fr 1.4fr; } }

.service-info {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 32px;
}
@media (min-width: 768px) { .service-info { padding: 40px; } }

.service-info.order-2 { background: var(--white); }
.service-info:not(.order-2) { background: linear-gradient(180deg, #F2F6FD, var(--white)); }

.service-num-row { display: flex; align-items: center; gap: 12px; }
.service-num {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 8px; background: var(--blue);
  font-size: 13px; font-weight: 900; color: var(--white);
}
.service-scene { font-size: 11px; font-weight: 700; letter-spacing: 0.25em; color: var(--slate-500); }

.service-title {
  font-size: 30px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy); margin-top: 24px;
}

.service-desc { max-width: 460px; line-height: 1.7; color: var(--slate-600); margin-top: 16px; }

.service-cta {
  display: inline-flex; align-items: center; gap: 4px; width: fit-content;
  font-size: 14px; font-weight: 700; color: var(--blue);
  margin-top: 32px; transition: gap 0.2s;
}
.service-cta:hover { gap: 12px; }

.service-image { position: relative; min-height: 260px; }
.service-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.order-1 { order: -1; }
.order-2 {  }
@media (min-width: 768px) { .order-1 { order: 1; } .order-2 { order: 2; } }

/* ===== WHY US ===== */
.section-why { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 96px 0; }
.why-glow {
  position: absolute; top: -128px; right: -128px;
  width: 384px; height: 384px; border-radius: 50%;
  opacity: 0.2; filter: blur(64px);
  background: var(--blue); pointer-events: none;
}
.why-header { max-width: 560px; margin-bottom: 64px; padding: 0 24px; }
.why-grid { display: grid; gap: 24px; padding: 0 24px; }
@media (min-width: 768px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

.why-card {
  border-radius: 24px; background: rgba(255,255,255,0.05);
  padding: 32px; border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.why-card:hover { background: rgba(255,255,255,0.1); }
.why-card h3 { font-size: 20px; font-weight: 700; margin-top: 24px; }
.why-card p { font-size: 14px; line-height: 1.7; color: rgba(219,234,254,0.8); margin-top: 12px; }

/* ===== CTA ===== */
.section-cta { padding: 96px 0; }

.cta-card {
  border-radius: 32px; padding: 40px;
  background: linear-gradient(135deg, #1E5BCE 0%, #0F1B3D 100%);
  color: var(--white);
}
@media (min-width: 768px) { .cta-card { padding: 64px; } }

@media (min-width: 768px) {
  .cta-card { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 40px; }
}

.cta-heading { font-size: 36px; font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; }
@media (min-width: 768px) { .cta-heading { font-size: 48px; } }

.cta-subtext { color: rgba(219,234,254,0.9); margin-top: 20px; max-width: 540px; }

.cta-details { margin-top: 32px; }
.cta-detail { display: flex; align-items: flex-start; gap: 12px; margin-top: 12px; font-size: 14px; }
.cta-detail svg { width: 20px; height: 20px; color: #93C5FD; flex-shrink: 0; margin-top: 1px; }

.cta-social { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.social-link { display: inline-flex; align-items: center; gap: 8px; color: #93C5FD; font-size: 14px; transition: color 0.2s; }
.social-link:hover { color: var(--white); }

.cta-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
@media (min-width: 768px) { .cta-buttons { margin-top: 0; } }

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--slate-200); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 16px; padding: 32px 24px;
}
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }

.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; }
.footer-title { font-weight: 700; color: var(--navy); font-size: 14px; }
.footer-sub { font-size: 12px; color: var(--slate-500); }
.footer-copy { font-size: 12px; color: var(--slate-500); }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero-heading { font-size: 36px; }
  .section-heading { font-size: 28px; }
  .service-title { font-size: 24px; }
  .cta-heading { font-size: 28px; }
  .about-list { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-image { min-height: 200px; }
  .hero-stat { display: none; }
  .hero-section { padding: 0; }
  .hero-grid { display: flex; flex-direction: column-reverse; padding: 60px 24px; }
  .hero-slideshow { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .hero-heading { font-size: 28px; }
  .logo-title { font-size: 14px; }
  .container { padding: 0 16px; }
}
