/* ========================================
   JN COMMERCIAL PLUMBING — Deep Ocean Precision
   Premium Industrial Design System
   ======================================== */

/* ===== CSS Variables ===== */
:root {
  /* Colors — Deep Ocean & Copper */
  --ocean: #0B1A2B;
  --ocean-2: #0F2438;
  --ocean-3: #14304A;
  --ocean-light: #1A3A55;
  --copper: #C8804A;
  --copper-light: #E09B5F;
  --copper-dark: #A66838;
  --copper-glow: rgba(200, 128, 74, 0.15);
  --steel: #4A6B85;
  --steel-light: #6B8AA3;
  --ice: #E8F0F7;
  --cream: #F5F7FA;
  --white: #FFFFFF;
  --text-dark: #1A2B3C;
  --text-mid: #5A6B7E;
  --text-light: #FFFFFF;
  --text-dim: #8A9BAE;
  --border: #E2E8F0;
  --border-dark: rgba(255,255,255,0.08);
  --success: #2ECC71;
  --danger: #E74C3C;

  /* Typography */
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --header-h: 80px;
  --section-py: 100px;
  --container-max: 1280px;

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-base: 0.3s ease;
  --t-slow: 0.5s ease;
  --t-cubic: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== Layout ===== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 32px; }
.section { padding: var(--section-py) 0; }
.section-sm { padding: 64px 0; }
.bg-ocean { background: var(--ocean); color: var(--text-light); }
.bg-ocean-2 { background: var(--ocean-2); color: var(--text-light); }
.bg-cream { background: var(--cream); }
.bg-ice { background: var(--ice); }
.bg-white { background: var(--white); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-8 { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mt-16 { margin-top: 64px; }
.mb-8 { margin-bottom: 32px; }
.mb-12 { margin-bottom: 48px; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--copper);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--copper);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--copper);
  display: inline-block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: 16px;
}
.bg-ocean .section-title, .bg-ocean-2 .section-title { color: var(--white); }
.section-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.7;
}
.bg-ocean .section-desc, .bg-ocean-2 .section-desc { color: var(--text-dim); }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: all var(--t-base);
  background: transparent;
}
.header.scrolled {
  background: rgba(11, 26, 43, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px rgba(200, 128, 74, 0.3);
}
.logo span { line-height: 1.2; }
.logo small { display: block; font-size: 0.65rem; font-weight: 400; color: var(--copper-light); letter-spacing: 0.08em; text-transform: uppercase; }

.nav-desktop { display: flex; align-items: center; gap: 36px; }
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  padding: 4px 0;
  transition: color var(--t-base);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--copper);
  border-radius: 2px;
}

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--t-base);
}
.header-phone:hover { color: var(--copper-light); }
.header-phone svg { color: var(--copper); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all var(--t-cubic);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-copper {
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(200, 128, 74, 0.35);
}
.btn-copper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 128, 74, 0.45);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper-light);
  background: var(--copper-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--copper);
  border-color: var(--copper);
}
.btn-ghost:hover {
  background: var(--copper);
  color: var(--white);
}
.btn-dark {
  background: var(--ocean);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--ocean-2);
  transform: translateY(-2px);
}

/* ===== Mobile Menu Toggle ===== */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 1001;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--t-base);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Mobile Menu ===== */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: var(--ocean);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 40px;
  gap: 8px;
  transform: translateX(100%);
  transition: transform var(--t-cubic);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color var(--t-base);
}
.mobile-menu a:hover { color: var(--copper-light); }
.mobile-menu .btn { margin-top: 24px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ocean);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(200, 128, 74, 0.12), transparent),
    radial-gradient(ellipse 60% 50% at 20% 70%, rgba(74, 107, 133, 0.15), transparent),
    linear-gradient(180deg, var(--ocean) 0%, var(--ocean-2) 50%, var(--ocean) 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}

/* Water ripple animation */
.hero-ripple {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(200, 128, 74, 0.06);
  z-index: 0;
  animation: ripple-expand 8s ease-out infinite;
}
.hero-ripple:nth-child(2) { animation-delay: 2.7s; }
.hero-ripple:nth-child(3) { animation-delay: 5.4s; }
@keyframes ripple-expand {
  0% { transform: translateX(-50%) scale(0.3); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateX(-50%) scale(1.5); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  padding-top: var(--header-h);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(200, 128, 74, 0.12);
  border: 1px solid rgba(200, 128, 74, 0.3);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--copper-light);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
}
.hero-title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-title .copper { color: var(--copper-light); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-emergency {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 520px;
  backdrop-filter: blur(8px);
}
.hero-emergency-icon {
  width: 52px; height: 52px;
  background: rgba(231, 76, 60, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FF6B5A;
  flex-shrink: 0;
}
.hero-emergency-text { color: var(--text-dim); font-size: 0.85rem; }
.hero-emergency-text strong {
  display: block;
  color: var(--white);
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 700;
}

/* ===== Animations ===== */
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fade-in 1s ease forwards; }
.animate-fade-in-up { animation: fade-in-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards; opacity: 0; }
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

/* ===== Service Cards ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all var(--t-cubic);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-cubic);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(11, 26, 43, 0.1);
  border-color: var(--copper);
}
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--copper);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.service-icon {
  width: 60px; height: 60px;
  background: var(--copper-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: 24px;
  transition: all var(--t-cubic);
}
.service-card:hover .service-icon {
  background: var(--copper);
  color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.service-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}
.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--copper);
  transition: gap var(--t-base);
}
.service-card:hover .service-link { gap: 12px; }

/* ===== Service Detail (services.html) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;
}
.service-detail:last-child { margin-bottom: 0; }
.service-detail.reverse .service-detail-text { order: 2; }
.service-detail-visual {
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.service-detail-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.service-detail-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 26, 43, 0.2), rgba(15, 36, 56, 0.4));
  z-index: 2;
}
.service-detail-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(200, 128, 74, 0.08), transparent 50%);
  z-index: 3;
}
.service-detail-visual .visual-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  color: rgba(200, 128, 74, 0.3);
  z-index: 4;
}
.service-detail-text h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.service-detail-text p {
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-detail-text ul {
  margin-top: 16px;
}
.service-detail-text ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  color: var(--text-mid);
  font-size: 0.95rem;
}
.service-detail-text ul li svg {
  color: var(--copper);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ===== Project Cards ===== */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  height: 380px;
  background: var(--ocean-2);
}
.project-card .project-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.project-card .project-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-visual img {
  transform: scale(1.08);
}
.project-card .project-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 26, 43, 0.3) 0%, rgba(11, 26, 43, 0.6) 100%);
  z-index: 2;
}
.project-card .project-visual svg {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  color: rgba(200, 128, 74, 0.2);
  z-index: 3;
}
.project-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  background: linear-gradient(0deg, rgba(11, 26, 43, 0.95) 0%, transparent 100%);
  z-index: 4;
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--t-cubic);
}
.project-card:hover .project-overlay {
  transform: translateY(0);
  opacity: 1;
}
.project-tag {
  display: inline-block;
  background: var(--copper);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.project-overlay h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 6px;
}
.project-overlay p {
  color: var(--text-dim);
  font-size: 0.88rem;
}
.project-card .project-label {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 4;
  background: rgba(11, 26, 43, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--copper-light);
}

/* ===== Project Filter ===== */
.project-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--border);
  transition: all var(--t-base);
}
.filter-tab.active, .filter-tab:hover {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}

/* ===== Stats ===== */
.stat-block { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--copper);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-top: 12px;
}

/* ===== Advantage Cards ===== */
.advantage-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--t-cubic);
}
.advantage-card:hover {
  background: rgba(200, 128, 74, 0.06);
  border-color: rgba(200, 128, 74, 0.3);
  transform: translateY(-4px);
}
.adv-icon {
  width: 52px; height: 52px;
  background: rgba(200, 128, 74, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  margin-bottom: 20px;
}
.advantage-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.advantage-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  transition: all var(--t-cubic);
}
.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(11, 26, 43, 0.08);
  transform: translateY(-3px);
}
.testimonial-quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--copper);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 8px;
}
.testimonial-text {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--copper), var(--copper-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name { font-weight: 600; color: var(--text-dark); font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: var(--text-mid); }

/* ===== CTA Section ===== */
.cta-section {
  position: relative;
  padding: 100px 0;
  background: var(--ocean);
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 50%, rgba(200, 128, 74, 0.1), transparent),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(74, 107, 133, 0.12), transparent);
}
.cta-content { position: relative; z-index: 2; }

/* ===== Forms ===== */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--t-base);
  outline: none;
}
.form-control:focus { border-color: var(--copper); }
.form-control::placeholder { color: var(--text-dim); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%235A6B7E' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 10px;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--t-cubic);
}
.card:hover {
  box-shadow: 0 12px 40px rgba(11, 26, 43, 0.08);
}

/* ===== About Page ===== */
.about-hero {
  position: relative;
  padding: 160px 0 100px;
  background: var(--ocean);
  overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(200, 128, 74, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(74, 107, 133, 0.12), transparent);
}
.about-hero .container { position: relative; z-index: 2; }

.credential-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all var(--t-cubic);
}
.credential-badge:hover {
  border-color: var(--copper);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 26, 43, 0.08);
}
.credential-badge .badge-icon {
  width: 48px; height: 48px;
  background: var(--copper-glow);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}
.credential-badge h4 { font-size: 1rem; margin-bottom: 2px; }
.credential-badge p { font-size: 0.82rem; color: var(--text-mid); }

/* Timeline */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--copper), var(--border));
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--copper);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--copper);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--copper);
  margin-bottom: 6px;
}
.timeline-item h4 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--text-mid); font-size: 0.92rem; line-height: 1.6; }

/* Team */
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all var(--t-cubic);
}
.team-card:hover {
  box-shadow: 0 16px 40px rgba(11, 26, 43, 0.1);
  transform: translateY(-4px);
}
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ocean-3), var(--steel));
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.team-card h4 { font-size: 1.1rem; margin-bottom: 4px; }
.team-role { font-size: 0.85rem; color: var(--copper); font-weight: 600; margin-bottom: 12px; }
.team-card p { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--ocean);
  border-radius: 20px;
  padding: 40px;
  color: var(--white);
}
.contact-info-card h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--white); }
.contact-info-card > p { color: var(--text-dim); margin-bottom: 32px; font-size: 0.95rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-dark);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(200, 128, 74, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--copper);
  flex-shrink: 0;
}
.contact-item-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 4px; }
.contact-item-value { font-size: 1rem; font-weight: 600; color: var(--white); }
.contact-item-value a { color: var(--white); transition: color var(--t-base); }
.contact-item-value a:hover { color: var(--copper-light); }

.map-embed {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ===== Service Area Page ===== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.area-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: all var(--t-base);
}
.area-tag:hover {
  border-color: var(--copper);
  background: var(--copper-glow);
  transform: translateX(4px);
}
.area-tag svg { color: var(--copper); flex-shrink: 0; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--t-base);
}
.faq-item.open { border-color: var(--copper); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  transition: color var(--t-base);
}
.faq-question:hover { color: var(--copper); }
.faq-question .faq-icon {
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--copper);
  transition: transform var(--t-base);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-cubic);
  padding: 0 28px;
}
.faq-answer p {
  padding-bottom: 22px;
  color: var(--text-mid);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--ocean);
  color: var(--text-dim);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .logo-mark { width: 40px; height: 40px; font-size: 0.9rem; }
.footer-brand span { color: var(--white); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--t-base);
}
.footer-social a:hover {
  background: var(--copper);
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-dim);
  transition: color var(--t-base);
}
.footer-col ul li a:hover { color: var(--copper-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
}
.footer-contact-item svg { color: var(--copper); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text-dim); transition: color var(--t-base); }
.footer-contact-item a:hover { color: var(--copper-light); }
.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--text-dim); transition: color var(--t-base); }
.footer-bottom-links a:hover { color: var(--copper-light); }
.footer-abn {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* ===== Page Banner (inner pages) ===== */
.page-banner {
  position: relative;
  padding: 140px 0 64px;
  background: var(--ocean);
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(200, 128, 74, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(74, 107, 133, 0.12), transparent);
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black, transparent);
}
.page-banner .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--copper-light); transition: color var(--t-base); }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { color: var(--text-dim); }
.page-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 12px;
}
.page-banner p {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== Emergency Banner ===== */
.emergency-banner {
  background: linear-gradient(135deg, #C0392B, #E74C3C);
  padding: 14px 0;
  position: relative;
  z-index: 998;
}
.emergency-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}
.emergency-banner-inner strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.emergency-banner-inner .divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.3);
}
.emergency-banner-inner a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 4px 14px;
  border-radius: 6px;
  font-weight: 700;
  transition: background var(--t-base);
}
.emergency-banner-inner a:hover { background: rgba(255,255,255,0.25); }

/* ===== Utility ===== */
.divider-line {
  height: 1px;
  background: var(--border);
  margin: 64px 0;
}
.bg-ocean .divider-line, .bg-ocean-2 .divider-line { background: var(--border-dark); }
.rounded-img { border-radius: 16px; overflow: hidden; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-copper { background: var(--copper-glow); color: var(--copper); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail.reverse .service-detail-text { order: 0; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 70px; --section-py: 64px; }
  .nav-desktop, .header-phone, .header-cta .btn { display: none; }
  .menu-toggle { display: flex; }
  .container { padding: 0 20px; }
  .header-inner { padding: 0 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .area-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-emergency { flex-direction: column; text-align: center; gap: 12px; }
  .service-detail-visual { height: 280px; }
  .cta-section .grid-2 { grid-template-columns: 1fr; }
  .emergency-banner-inner { flex-direction: column; gap: 8px; text-align: center; }
  .emergency-banner-inner .divider { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .section-title { font-size: 1.6rem; }
  .service-card, .advantage-card, .testimonial-card { padding: 28px 20px; }
  .contact-info-card { padding: 28px; }
}
