/* ============================================
   PETTERSEN VVS & INDUSTRISERVICE AS
   Premium Website Styles
   Design: Industrial Precision meets Scandinavian Warmth
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Brand Colors */
  --primary: #1E3A5F;
  --primary-dark: #152942;
  --primary-light: #2d5a8a;
  --secondary: #4A7C59;
  --secondary-dark: #3a6147;
  --secondary-light: #5a9669;
  --accent: #D97706;
  --accent-light: #F59E0B;
  --accent-dark: #B45309;
  --technical: #64748B;
  --technical-light: #94A3B8;
  --technical-dark: #475569;
  --light: #F8FAFC;
  --light-warm: #FEF3C7;
  --dark: #0F172A;
  --dark-soft: #1E293B;

  /* Neutral Grays */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* Typography */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1), 0 2px 4px -1px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 40px rgba(217, 119, 6, 0.3);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 300ms var(--ease-out);
  --transition-slow: 500ms var(--ease-out);

  /* Layout */
  --container-max: 1400px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--light);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

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

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

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

.section {
  padding: var(--space-5xl) 0;
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--light);
}

.section--dark p {
  color: var(--gray-300);
}

.section--gray {
  background: var(--gray-100);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

/* Blueprint Grid Background */
.blueprint-bg {
  position: relative;
  background:
    linear-gradient(90deg, rgba(30, 58, 95, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(30, 58, 95, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.blueprint-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(90deg, rgba(30, 58, 95, 0.05) 2px, transparent 2px),
    linear-gradient(rgba(30, 58, 95, 0.05) 2px, transparent 2px);
  background-size: 200px 200px;
  pointer-events: none;
}

/* Pipe Decorations */
.pipe-decoration {
  position: absolute;
  background: var(--technical);
  border-radius: var(--radius-full);
}

.pipe-h {
  height: 6px;
  width: 100px;
}

.pipe-v {
  width: 6px;
  height: 100px;
}

.pipe-joint {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 4px solid var(--technical);
  background: var(--light);
}

/* Flow Lines */
.flow-line {
  position: absolute;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: flowPulse 3s ease-in-out infinite;
}

@keyframes flowPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
  50% { opacity: 1; transform: scaleX(1); }
}

/* Gauge Element */
.gauge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid var(--technical);
  background: var(--light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 30px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transform-origin: bottom center;
  animation: gaugeNeedle 4s ease-in-out infinite;
}

@keyframes gaugeNeedle {
  0%, 100% { transform: rotate(-45deg); }
  50% { transform: rotate(45deg); }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--gray-200);
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
}

.logo__icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo__icon::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 6px;
  background: var(--accent);
  border-radius: var(--radius-full);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo__icon::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 20px;
  background: var(--light);
  border-radius: var(--radius-full);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo__tagline {
  font-size: 0.7rem;
  color: var(--technical);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-lg);
}

.nav__link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn--secondary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn--secondary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn--outline-light {
  background: transparent;
  color: white;
  border-color: white;
}

.btn--outline-light:hover {
  background: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn--small {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.85rem;
}

.btn--large {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.1rem;
}

.btn__icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   HERO SECTION
   ============================================ */

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

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74, 124, 89, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(30, 58, 95, 0.2) 0%, transparent 50%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-soft) 100%);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Animated Pipe System */
.hero__pipes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.15;
}

.hero__pipe {
  position: absolute;
  background: var(--technical-light);
}

.hero__pipe--h1 {
  top: 20%;
  left: 0;
  width: 40%;
  height: 8px;
  border-radius: 0 4px 4px 0;
}

.hero__pipe--v1 {
  top: 20%;
  left: 40%;
  width: 8px;
  height: 30%;
  border-radius: 0 0 4px 4px;
}

.hero__pipe--h2 {
  top: 50%;
  left: 40%;
  width: 25%;
  height: 8px;
  transform: translateY(-50%);
}

.hero__pipe--v2 {
  top: 50%;
  right: 25%;
  width: 8px;
  height: 35%;
  border-radius: 0 0 4px 4px;
}

.hero__pipe--h3 {
  bottom: 15%;
  right: 0;
  width: 30%;
  height: 8px;
  border-radius: 4px 0 0 4px;
}

.hero__pipe-joint {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--technical);
  border: 4px solid var(--technical-light);
}

.hero__pipe-joint--1 { top: calc(20% - 8px); left: calc(40% - 8px); }
.hero__pipe-joint--2 { top: calc(50% - 12px); left: calc(40% - 8px); }
.hero__pipe-joint--3 { top: calc(50% - 12px); right: calc(25% - 8px); }

/* Flow animation */
.hero__flow {
  position: absolute;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent);
  border-radius: var(--radius-full);
  animation: heroFlow 4s ease-in-out infinite;
}

.hero__flow--1 {
  top: calc(20% + 2px);
  left: 0;
  width: 100px;
}

.hero__flow--2 {
  top: calc(50% - 2px);
  left: 40%;
  width: 80px;
  animation-delay: 1s;
}

.hero__flow--3 {
  bottom: calc(15% + 2px);
  right: 0;
  width: 120px;
  animation-delay: 2s;
}

@keyframes heroFlow {
  0% { transform: translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateX(300px); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-lg);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.3);
  color: var(--accent-light);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.hero__title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: white;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s var(--ease-out) 0.1s both;
}

.hero__title-accent {
  display: block;
  color: var(--accent);
  font-size: 0.6em;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray-300);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 500px;
  animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeIn 1s var(--ease-out) 0.4s both;
}

/* Split Visual - Residential/Industrial */
.hero__split {
  position: relative;
  width: 100%;
  max-width: 550px;
  aspect-ratio: 1;
}

.hero__split-card {
  position: absolute;
  width: 75%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-slow);
}

.hero__split-card--left {
  top: 0;
  left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero__split-card--right {
  bottom: 0;
  right: 0;
  transform: rotate(3deg);
  z-index: 1;
}

.hero__split-card:hover {
  z-index: 3;
}

.hero__split-card--left:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero__split-card--right:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero__split-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__split-label {
  position: absolute;
  bottom: var(--space-lg);
  left: var(--space-lg);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
}

.hero__split-label span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
}

/* Hero Stats */
.hero__stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.hero__stat {
  text-align: left;
}

.hero__stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-value span {
  color: var(--accent);
}

.hero__stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--gray-400);
  animation: fadeIn 1s var(--ease-out) 1s both;
}

.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   SERVICES PREVIEW SECTION
   ============================================ */

.services-preview {
  padding: var(--space-5xl) 0;
  background: var(--light);
  position: relative;
}

.services-preview__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.services-preview__title {
  margin-bottom: var(--space-lg);
}

.services-preview__subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Service Tabs */
.services-tabs {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.services-tab {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  color: var(--gray-600);
}

.services-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.services-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.services-tab.active[data-tab="naering"] {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

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

.service-card[data-category="naering"]::before {
  background: var(--secondary);
}

.service-card[data-category="naering"]:hover {
  border-color: var(--secondary);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: var(--primary);
}

.service-card:hover .service-card__icon svg {
  stroke: white;
}

.service-card[data-category="naering"]:hover .service-card__icon {
  background: var(--secondary);
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--transition-base);
}

.service-card__title {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.service-card__description {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  transition: gap var(--transition-base);
}

.service-card[data-category="naering"] .service-card__link {
  color: var(--secondary);
}

.service-card__link:hover {
  gap: var(--space-md);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ============================================
   USP SECTION
   ============================================ */

.usp-section {
  padding: var(--space-5xl) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.usp-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74, 124, 89, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.usp-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.usp-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.usp-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: rgba(217, 119, 6, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.usp-card__icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px dashed rgba(217, 119, 6, 0.3);
  border-radius: 50%;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.usp-card__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.usp-card__title {
  font-size: 1.2rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.usp-card__text {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  padding: var(--space-5xl) 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(217, 119, 6, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(74, 124, 89, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

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

.cta-content h2 {
  color: white;
  margin-bottom: var(--space-lg);
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-2xl);
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
  padding: var(--space-5xl) 0;
  background: var(--gray-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.testimonial-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: var(--gray-200);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.testimonial-card__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.testimonial-card__text {
  font-size: 1rem;
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
}

.testimonial-card__info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.testimonial-card__info span {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ============================================
   SERVICE AREA SECTION
   ============================================ */

.area-section {
  padding: var(--space-5xl) 0;
  background: white;
}

.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-top: var(--space-3xl);
}

.area-map {
  position: relative;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  overflow: hidden;
}

.area-map__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-md);
  color: var(--gray-500);
}

.area-map__placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--gray-400);
  stroke-width: 1;
  fill: none;
}

.area-list {
  list-style: none;
}

.area-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--gray-200);
}

.area-list__item:last-child {
  border-bottom: none;
}

.area-list__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.area-list__icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
}

.area-list__content h4 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
  text-transform: none;
  letter-spacing: 0;
}

.area-list__content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: var(--gray-300);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer__logo-icon::before {
  content: '';
  width: 16px;
  height: 4px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.footer__logo-icon::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 16px;
  background: white;
  border-radius: var(--radius-full);
}

.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer__social {
  display: flex;
  gap: var(--space-sm);
}

.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer__social a:hover {
  background: var(--accent);
}

.footer__social svg {
  width: 20px;
  height: 20px;
  fill: var(--gray-400);
  transition: fill var(--transition-base);
}

.footer__social a:hover svg {
  fill: white;
}

.footer__column h4 {
  font-size: 0.9rem;
  color: white;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-sm);
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 0;
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-lg);
}

.footer__bottom-links a {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer__bottom-links a:hover {
  color: var(--accent);
}

/* ============================================
   PAGE HEADERS
   ============================================ */

.page-header {
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 100%, rgba(74, 124, 89, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 0%, rgba(30, 58, 95, 0.2) 0%, transparent 50%);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-header__title {
  color: white;
  margin-bottom: var(--space-md);
}

.page-header__subtitle {
  font-size: 1.2rem;
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.breadcrumbs a {
  color: var(--gray-400);
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.breadcrumbs span {
  color: var(--gray-500);
}

.breadcrumbs__current {
  color: white;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-detail {
  padding: var(--space-5xl) 0;
}

.services-detail__intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-4xl);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
  padding-bottom: var(--space-4xl);
  border-bottom: 1px solid var(--gray-200);
}

.service-detail-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even) > * {
  direction: ltr;
}

.service-detail-card__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}

.service-detail-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-card__content h3 {
  margin-bottom: var(--space-md);
}

.service-detail-card__content p {
  margin-bottom: var(--space-lg);
}

.service-detail-card__list {
  list-style: none;
  margin-bottom: var(--space-xl);
}

.service-detail-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.service-detail-card__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-intro {
  padding: var(--space-5xl) 0;
}

.about-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--gray-200);
  position: relative;
}

.about-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--accent);
  color: white;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
}

.about-intro__badge-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.about-intro__badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.about-intro__content h2 {
  margin-bottom: var(--space-lg);
}

.about-intro__content p {
  margin-bottom: var(--space-md);
  font-size: 1.05rem;
}

/* Values Section */
.values-section {
  padding: var(--space-5xl) 0;
  background: var(--gray-100);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.value-card {
  background: white;
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.value-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-lg);
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.value-card__title {
  margin-bottom: var(--space-sm);
}

.value-card__text {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   REFERENCES PAGE
   ============================================ */

.references-section {
  padding: var(--space-5xl) 0;
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
}

.reference-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
}

.reference-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.reference-card__image {
  aspect-ratio: 16/10;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
}

.reference-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.reference-card:hover .reference-card__image img {
  transform: scale(1.05);
}

.reference-card__category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--primary);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.reference-card__category--naering {
  background: var(--secondary);
}

.reference-card__content {
  padding: var(--space-xl);
}

.reference-card__title {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.reference-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
}

.reference-card__location svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.reference-card__description {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-section {
  padding: var(--space-5xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
}

.contact-info {
  background: var(--dark);
  color: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
}

.contact-info h3 {
  color: white;
  margin-bottom: var(--space-xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  background: rgba(217, 119, 6, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
}

.contact-info__content h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: var(--space-xs);
  text-transform: none;
  letter-spacing: 0;
}

.contact-info__content p {
  color: var(--gray-400);
  font-size: 0.95rem;
  margin: 0;
}

.contact-info__content a {
  color: var(--accent);
}

.contact-info__content a:hover {
  text-decoration: underline;
}

.contact-info__hours {
  margin-top: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info__hours h4 {
  color: white;
  margin-bottom: var(--space-md);
}

.contact-info__hours-list {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.contact-info__hours-list div {
  display: flex;
  justify-content: space-between;
  padding: var(--space-xs) 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: white;
  padding: var(--space-3xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-form__tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.contact-form__tab {
  flex: 1;
  padding: var(--space-md);
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.contact-form__tab:hover {
  background: var(--gray-200);
}

.contact-form__tab.active {
  background: white;
  border-color: var(--primary);
}

.contact-form__tab-icon {
  width: 32px;
  height: 32px;
  margin: 0 auto var(--space-sm);
}

.contact-form__tab-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gray-500);
  stroke-width: 1.5;
  fill: none;
  transition: stroke var(--transition-base);
}

.contact-form__tab.active .contact-form__tab-icon svg {
  stroke: var(--primary);
}

.contact-form__tab-label {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  transition: color var(--transition-base);
}

.contact-form__tab.active .contact-form__tab-label {
  color: var(--primary);
}

.form-panel {
  display: none;
}

.form-panel.active {
  display: block;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700);
  margin-bottom: var(--space-sm);
}

.form-label span {
  color: var(--accent);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  padding-right: var(--space-3xl);
}

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

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-checkbox span {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.form-radio-group {
  display: flex;
  gap: var(--space-lg);
}

.form-radio {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-radio input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-radio span {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.form-submit {
  margin-top: var(--space-xl);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

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

@media (max-width: 1200px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero__subtitle {
    margin: 0 auto var(--space-2xl);
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__stats {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .usp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 968px) {
  .nav__list {
    display: none;
  }

  .nav__cta .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Mobile Menu */
  .nav__mobile {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    padding: var(--space-xl);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: 999;
  }

  .nav__mobile.open {
    transform: translateX(0);
  }

  .nav__mobile-list {
    list-style: none;
    margin-bottom: var(--space-xl);
  }

  .nav__mobile-list li {
    border-bottom: 1px solid var(--gray-200);
  }

  .nav__mobile-list a {
    display: block;
    padding: var(--space-md) 0;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-800);
  }

  .about-intro__grid,
  .area-grid,
  .contact-grid,
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-detail-card:nth-child(even) {
    direction: ltr;
  }

  .testimonials-grid,
  .values-grid,
  .references-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 5rem;
    --space-4xl: 4rem;
    --space-3xl: 3rem;
  }

  .services-grid,
  .testimonials-grid,
  .values-grid,
  .references-grid,
  .usp-grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .hero__stat {
    text-align: center;
  }

  .services-tabs {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form__tabs {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .btn {
    width: 100%;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
  }

  .logo__text {
    display: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .header,
  .hero__pipes,
  .hero__scroll,
  .btn,
  .footer__social {
    display: none;
  }

  body {
    font-size: 12pt;
    color: black;
    background: white;
  }

  .hero {
    min-height: auto;
    padding: 2rem 0;
    background: white;
  }

  .hero__title,
  .hero__subtitle,
  h1, h2, h3, h4 {
    color: black;
  }
}
