/* ============================================
   MS Water Filters — Premium Website Stylesheet
   Created by: Jenny (AI Orchestrator) | 2026-09-23
   Purpose: Full site styling for mswaterfilters.com
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Color Palette — Clean Water Feel */
  --aqua-50:  #f0fbff;
  --aqua-100: #e0f7fa;
  --aqua-200: #b2ebf2;
  --aqua-300: #80deea;
  --aqua-400: #4dd0e1;
  --aqua-500: #26c6da;
  --teal-400: #26a69a;
  --teal-500: #009688;
  --teal-600: #00897b;
  --teal-700: #00796b;
  --blue-400: #42a5f5;
  --blue-500: #2196f3;
  --blue-600: #1e88e5;
  --blue-700: #1976d2;
  --blue-800: #1565c0;
  --blue-900: #0d47a1;
  --navy:     #0a2540;
  --navy-deep: #061a30;
  --ocean:    #006994;
  --white:    #ffffff;
  --off-white: #f8fbfd;
  --gray-50:  #f7f9fb;
  --gray-100: #eef3f7;
  --gray-200: #dde6ee;
  --gray-300: #c4d2df;
  --gray-400: #9fb3c8;
  --gray-500: #7a91a8;
  --gray-600: #5a7088;
  --gray-700: #3e556d;
  --gray-800: #27384a;
  --gray-900: #1a2a38;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #006994 0%, #009688 50%, #26c6da 100%);
  --grad-hero: linear-gradient(160deg, #061a30 0%, #0a2540 30%, #006994 70%, #009688 100%);
  --grad-aqua: linear-gradient(135deg, #26c6da 0%, #009688 100%);
  --grad-blue: linear-gradient(135deg, #1565c0 0%, #26c6da 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 100%);
  --grad-cta: linear-gradient(135deg, #009688 0%, #006994 50%, #1565c0 100%);
  --grad-deep: linear-gradient(180deg, #061a30 0%, #0a2540 100%);
  --grad-card: linear-gradient(160deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(6, 26, 48, 0.06);
  --shadow-md: 0 8px 30px rgba(6, 26, 48, 0.08);
  --shadow-lg: 0 16px 50px rgba(6, 26, 48, 0.12);
  --shadow-xl: 0 24px 80px rgba(6, 26, 48, 0.18);
  --shadow-glow: 0 0 40px rgba(38, 198, 218, 0.25);
  --shadow-glow-blue: 0 0 40px rgba(21, 101, 192, 0.25);

  /* Layout */
  --max-width: 1280px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --header-height: 80px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
}

ul { list-style: none; }

/* --- Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

.text-center { text-align: center; }
.text-grad {
  background: var(--grad-aqua);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--grad-cta);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(0, 105, 148, 0.08);
  color: var(--ocean);
  border: 2px solid rgba(0, 105, 148, 0.15);
}

.btn-ghost:hover {
  background: rgba(0, 105, 148, 0.12);
  border-color: var(--aqua-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-lg { padding: 18px 42px; font-size: 1.05rem; }

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all var(--transition);
  background: transparent;
}

.site-header.scrolled {
  background: rgba(10, 37, 64, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
  height: 68px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.logo-svg {
  height: 42px;
  width: auto;
  transition: transform var(--transition);
}

.logo-wrap:hover .logo-svg {
  transform: scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.logo-text span {
  color: var(--aqua-300);
}

/* --- Navigation --- */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--aqua-300);
  border-radius: 2px;
}

.nav-cta {
  margin-left: 12px;
  padding: 10px 24px !important;
  background: var(--grad-cta);
  color: var(--white) !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--grad-cta) !important;
}

.nav-cta.active::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 2;
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.nav-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--navy-deep);
  backdrop-filter: blur(20px);
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--transition);
  z-index: 999;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
}

.nav-mobile.open {
  transform: translateX(0);
}

.nav-mobile a {
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.nav-mobile a:hover, .nav-mobile a.active {
  color: var(--aqua-300);
  background: rgba(38, 198, 218, 0.06);
  padding-left: 24px;
}

.nav-mobile .nav-cta {
  margin-top: 16px;
  text-align: center;
  justify-content: center;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(38, 198, 218, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(0, 105, 148, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(38, 166, 154, 0.1) 0%, transparent 50%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1559827260-dc66d52bef19?w=1920&q=80') center/cover;
  opacity: 0.12;
  mix-blend-mode: luminosity;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(38, 198, 218, 0.1);
  border: 1px solid rgba(38, 198, 218, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--aqua-200);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 .text-grad {
  display: block;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 36px;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: left;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--aqua-300);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* Water wave decoration */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* --- Page Banner (inner pages) --- */
.page-banner {
  position: relative;
  padding: 160px 0 80px;
  background: var(--grad-hero);
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(38, 198, 218, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(0, 105, 148, 0.12) 0%, transparent 50%);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-banner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb a:hover { color: var(--aqua-200); }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-500);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-500);
}

/* --- Cards / Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--grad-aqua);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--aqua-200);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(38, 198, 218, 0.1) 0%, rgba(0, 150, 136, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 30px;
  height: 30px;
  color: var(--teal-500);
}

.card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ocean);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.card:hover .card-link { gap: 12px; }

/* --- Feature Highlights --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-item .icon-circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(38, 198, 218, 0.2);
}

.feature-item .icon-circle svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* --- Service Area --- */
.service-area-section {
  background: var(--grad-deep);
  position: relative;
  overflow: hidden;
}

.service-area-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(38, 198, 218, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(0, 105, 148, 0.08) 0%, transparent 40%);
}

.service-area-section .section-header h2 { color: var(--white); }
.service-area-section .section-header p { color: rgba(255,255,255,0.5); }
.service-area-section .section-header .eyebrow { color: var(--aqua-300); }

.county-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}

.county-card {
  background: var(--grad-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px 20px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.county-card:hover {
  background: rgba(38, 198, 218, 0.08);
  border-color: rgba(38, 198, 218, 0.25);
  transform: translateY(-4px);
}

.county-card svg {
  width: 32px;
  height: 32px;
  color: var(--aqua-300);
  margin-bottom: 12px;
}

.county-card h4 {
  color: var(--white);
  font-size: 1.05rem;
}

/* --- Testimonials --- */
.testimonial-section {
  background: var(--gray-50);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--aqua-200);
  margin-bottom: -20px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--white);
  font-size: 1.1rem;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.testimonial-author-info span {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.stars svg {
  width: 18px;
  height: 18px;
  color: var(--aqua-400);
}

/* --- FAQ --- */
.faq-section { background: var(--white); }

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
}

.faq-item:hover {
  border-color: var(--aqua-300);
  box-shadow: var(--shadow-sm);
}

.faq-item.active {
  border-color: var(--aqua-400);
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
  user-select: none;
  transition: color var(--transition-fast);
}

.faq-question:hover { color: var(--ocean); }

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-left: 16px;
  color: var(--teal-500);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition), padding var(--transition);
  padding: 0 28px;
  color: var(--gray-500);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 28px 24px;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 80px 0;
  background: var(--grad-cta);
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(38, 198, 218, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(21, 101, 192, 0.15) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-inner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.6);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--aqua-300);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--aqua-300);
  flex-shrink: 0;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-wrap .logo-text {
  font-size: 1.2rem;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links a:hover {
  background: rgba(38, 198, 218, 0.15);
  border-color: rgba(38, 198, 218, 0.3);
  transform: translateY(-3px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.5);
}

.social-links a:hover svg { color: var(--aqua-300); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--aqua-300); }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

.gallery-placeholder svg {
  width: 40px;
  height: 40px;
  opacity: 0.7;
}

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6, 26, 48, 0.7) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.gallery-filter button {
  padding: 8px 20px;
  border: 2px solid var(--gray-200);
  background: transparent;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-filter button:hover,
.gallery-filter button.active {
  border-color: var(--teal-500);
  color: var(--teal-600);
  background: rgba(38, 198, 218, 0.06);
}

/* --- Contact Form --- */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--grad-deep);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(38, 198, 218, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(0, 105, 148, 0.1) 0%, transparent 50%);
}

.contact-info-card > * { position: relative; z-index: 1; }

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-info-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info-item .icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(38, 198, 218, 0.1);
  border: 1px solid rgba(38, 198, 218, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item .icon-circle svg {
  width: 20px;
  height: 20px;
  color: var(--aqua-300);
}

.contact-info-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

.contact-info-item .value {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--gray-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--aqua-400);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(38, 198, 218, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-top: 12px;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 200px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.blog-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 50%);
}

.blog-card-img svg {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.blog-card-body {
  padding: 28px;
}

.blog-card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.blog-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* --- About --- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-img {
  border-radius: var(--radius-xl);
  background: var(--grad-primary);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-hero-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.about-hero-img svg {
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.value-card {
  text-align: center;
  padding: 36px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .icon-circle {
  margin: 0 auto 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--grad-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: 0 12px 30px rgba(38, 198, 218, 0.2);
}

.team-card h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.85rem;
  color: var(--teal-500);
  font-weight: 500;
  margin-bottom: 8px;
}

/* --- Financing/Warranty banner --- */
.feature-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-banner-item {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.feature-banner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--aqua-200);
}

.feature-banner-item .icon-circle {
  flex-shrink: 0;
}

.feature-banner-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.feature-banner-item p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-section { grid-template-columns: 1fr; }
  .about-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
  
  .section { padding: 60px 0; }
  
  .hero { min-height: 90vh; }
  .hero p { font-size: 1.05rem; }
  .hero-stats { gap: 32px; }
  .hero-stat-num { font-size: 2rem; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .form-row { grid-template-columns: 1fr; }
  
  .card { padding: 28px; }
  
  .page-banner { padding: 130px 0 60px; }
  
  .contact-info-card, .contact-form-card { padding: 28px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; gap: 24px; }
}

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.scroll-top svg {
  width: 22px;
  height: 22px;
  color: var(--white);
}
