/* ============================================
   BERGEN BYGG OG VÅTROM AS
   Premium Nordic Wet Room & Construction
   Design: Maritime Minimalism meets Craftsmanship
   ============================================ */

/* === CSS Custom Properties === */
:root {
  /* Colors - Bergen Maritime Palette */
  --slate-deep: #1e2a38;
  --slate-primary: #2C3E50;
  --slate-soft: #3d5166;
  --concrete: #8E9AAF;
  --concrete-light: #b8c1cf;
  --teal-accent: #5BA4A4;
  --teal-bright: #6ec4c4;
  --teal-dark: #4a8a8a;
  --off-white: #F8F9FA;
  --warm-white: #FEFEFE;
  --charcoal: #1A1A2E;
  --charcoal-soft: #2d2d42;

  /* Gradients */
  --gradient-hero: linear-gradient(165deg, #1e2a38 0%, #2C3E50 50%, #3d5166 100%);
  --gradient-teal: linear-gradient(135deg, #5BA4A4 0%, #4a8a8a 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  --gradient-overlay: linear-gradient(180deg, rgba(30,42,56,0.85) 0%, rgba(44,62,80,0.7) 100%);

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --font-accent: 'Outfit', sans-serif;

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

  /* Sizing */
  --max-width: 1400px;
  --header-height: 90px;

  /* Effects */
  --shadow-soft: 0 4px 20px rgba(30,42,56,0.08);
  --shadow-medium: 0 8px 40px rgba(30,42,56,0.12);
  --shadow-strong: 0 20px 60px rgba(30,42,56,0.18);
  --shadow-teal: 0 8px 30px rgba(91,164,164,0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--slate-deep);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-accent);
}

p {
  font-size: 1.1rem;
  color: var(--charcoal-soft);
  max-width: 65ch;
}

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

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

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

.section--slate {
  background: var(--gradient-hero);
  color: var(--off-white);
}

.section--slate h2,
.section--slate h3,
.section--slate h4 {
  color: var(--off-white);
}

.section--slate p {
  color: var(--concrete-light);
}

/* === Noise Texture Overlay === */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* === Header === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-smooth);
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(254, 254, 254, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.header.scrolled::before {
  opacity: 1;
}

.header.scrolled {
  box-shadow: 0 1px 0 rgba(30,42,56,0.08);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  z-index: 10;
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-teal);
}

.header__logo-icon svg {
  width: 28px;
  height: 28px;
  fill: white;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--slate-deep);
  transition: color var(--transition-fast);
}

.header__logo-tagline {
  font-size: 0.7rem;
  color: var(--concrete);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.header--dark .header__logo-name {
  color: var(--off-white);
}

.header--dark .header__logo-tagline {
  color: var(--concrete-light);
}

.header.scrolled .header__logo-name {
  color: var(--slate-deep);
}

.header.scrolled .header__logo-tagline {
  color: var(--concrete);
}

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

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

.nav__link {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--slate-primary);
  position: relative;
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.header--dark .nav__link {
  color: var(--off-white);
}

.header.scrolled .nav__link {
  color: var(--slate-primary);
}

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

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

.nav__link:hover {
  color: var(--teal-accent);
}

/* CTA Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-teal);
  color: white;
  box-shadow: var(--shadow-teal);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91,164,164,0.4);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--outline {
  background: transparent;
  color: var(--slate-deep);
  border: 2px solid var(--slate-deep);
}

.btn--outline:hover {
  background: var(--slate-deep);
  color: white;
}

.btn--white {
  background: white;
  color: var(--slate-deep);
  box-shadow: var(--shadow-soft);
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn--large {
  padding: 1.25rem 2.5rem;
  font-size: 0.9rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--slate-deep);
  transition: all var(--transition-fast);
}

.header--dark .nav__toggle span {
  background: var(--off-white);
}

.header.scrolled .nav__toggle span {
  background: var(--slate-deep);
}

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

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

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

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

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

.hero__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-overlay);
}

/* Animated water ripple effect */
.hero__ripples {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  overflow: hidden;
  opacity: 0.15;
}

.hero__ripple {
  position: absolute;
  bottom: -50%;
  left: 50%;
  width: 200%;
  padding-bottom: 200%;
  border-radius: 45%;
  background: linear-gradient(0deg, var(--teal-accent) 0%, transparent 70%);
  transform: translateX(-50%);
  animation: ripple 8s linear infinite;
}

.hero__ripple:nth-child(2) {
  animation-delay: -4s;
  opacity: 0.7;
}

.hero__ripple:nth-child(3) {
  animation-delay: -2s;
  opacity: 0.5;
}

@keyframes ripple {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* Bergen mountain silhouette */
.hero__mountains {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  opacity: 0.08;
}

.hero__mountains svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: auto;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: calc(var(--header-height) + var(--space-xl)) var(--space-lg) var(--space-xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero__text {
  color: var(--off-white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: rgba(91,164,164,0.2);
  border: 1px solid rgba(91,164,164,0.3);
  border-radius: 50px;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out;
}

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

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

.hero__title {
  color: var(--off-white);
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__title-accent {
  color: var(--teal-bright);
  font-style: italic;
}

.hero__subtitle {
  font-size: 1.25rem;
  color: var(--concrete-light);
  margin-bottom: var(--space-lg);
  max-width: 50ch;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

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

.hero__stat {
  text-align: left;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--teal-bright);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: var(--concrete-light);
  margin-top: var(--space-xs);
}

/* Hero Visual */
.hero__visual {
  position: relative;
  animation: fadeInRight 1s ease-out 0.5s both;
}

.hero__image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.hero__image-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  z-index: 2;
  pointer-events: none;
}

.hero__image {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.hero__floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-medium);
  animation: float 4s ease-in-out infinite;
}

.hero__floating-card--top {
  top: -20px;
  right: -40px;
  animation-delay: 0s;
}

.hero__floating-card--bottom {
  bottom: 40px;
  left: -60px;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero__card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

.hero__card-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.hero__card-title {
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-deep);
}

.hero__card-text {
  font-size: 0.8rem;
  color: var(--concrete);
}

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

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

/* === Section Headers === */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header__eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-accent);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-md);
}

.section-header__description {
  font-size: 1.15rem;
  margin: 0 auto;
}

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

.service-card {
  position: relative;
  background: var(--gradient-card);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(30,42,56,0.05);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

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

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

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

.service-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(91,164,164,0.1) 0%, rgba(91,164,164,0.05) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  transition: all var(--transition-smooth);
}

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

.service-card__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--teal-accent);
  transition: fill var(--transition-smooth);
}

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

.service-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-deep);
  margin-bottom: var(--space-sm);
}

.service-card__text {
  font-size: 1rem;
  color: var(--charcoal-soft);
  margin-bottom: var(--space-md);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-accent);
  transition: gap var(--transition-fast);
}

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

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

/* Featured Service */
.service-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  background: var(--slate-deep);
  color: var(--off-white);
}

.service-card--featured .service-card__title {
  color: var(--off-white);
}

.service-card--featured .service-card__text {
  color: var(--concrete-light);
}

.service-card--featured .service-card__icon {
  background: rgba(91,164,164,0.2);
}

.service-card--featured .service-card__link {
  color: var(--teal-bright);
}

.service-card__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

/* === Why Choose Us === */
.why-section {
  background: linear-gradient(180deg, var(--off-white) 0%, white 100%);
}

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

.why-content__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.why-item {
  display: flex;
  gap: var(--space-md);
}

.why-item__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--gradient-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.why-item__content h3 {
  font-family: var(--font-accent);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-deep);
  margin-bottom: var(--space-xs);
}

.why-item__content p {
  font-size: 1rem;
}

/* Why Visual */
.why-visual {
  position: relative;
}

.why-visual__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.why-visual__main img {
  width: 100%;
  display: block;
}

.why-visual__accent {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  background: var(--gradient-teal);
  border-radius: var(--radius-xl);
  opacity: 0.2;
  z-index: -1;
}

.why-visual__badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  box-shadow: var(--shadow-medium);
  text-align: center;
}

.why-visual__badge-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--teal-accent);
  line-height: 1;
}

.why-visual__badge-text {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
}

/* === Process Section === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + var(--space-lg));
  right: calc(12.5% + var(--space-lg));
  height: 2px;
  background: linear-gradient(90deg, var(--teal-accent) 0%, var(--concrete-light) 100%);
  z-index: 0;
}

.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
}

.process-step__number {
  width: 80px;
  height: 80px;
  background: white;
  border: 3px solid var(--teal-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--teal-accent);
  transition: all var(--transition-smooth);
}

.process-step:hover .process-step__number {
  background: var(--gradient-teal);
  color: white;
  border-color: transparent;
  transform: scale(1.1);
}

.process-step__title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate-deep);
  margin-bottom: var(--space-xs);
}

.process-step__text {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}

/* === Testimonials === */
.testimonials-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.testimonial-card__quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--teal-accent);
  line-height: 0;
  display: block;
  margin-bottom: var(--space-sm);
}

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

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}

.testimonial-card__info {
  text-align: left;
}

.testimonial-card__name {
  font-family: var(--font-accent);
  font-weight: 600;
  color: var(--off-white);
}

.testimonial-card__location {
  font-size: 0.9rem;
  color: var(--concrete-light);
}

/* === Projects Gallery === */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.project-card:hover img {
  transform: scale(1.1);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(30,42,56,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-lg);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: white;
  margin-bottom: var(--space-xs);
}

.project-card__location {
  font-size: 0.9rem;
  color: var(--concrete-light);
}

.project-card--large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal-accent) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.cta-content h2 {
  color: white;
}

.cta-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
}

/* === Contact Form === */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.contact-info {
  padding-right: var(--space-xl);
}

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

.contact-info__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(91,164,164,0.1) 0%, rgba(91,164,164,0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.contact-info__content h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--concrete);
  margin-bottom: var(--space-xs);
}

.contact-info__content p,
.contact-info__content a {
  font-size: 1.1rem;
  color: var(--slate-deep);
}

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

/* Areas served */
.contact-areas {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(30,42,56,0.1);
}

.contact-areas__title {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--concrete);
  margin-bottom: var(--space-md);
}

.contact-areas__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.contact-areas__tag {
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(91,164,164,0.1) 0%, rgba(91,164,164,0.05) 100%);
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--slate-deep);
}

/* Form */
.contact-form {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-medium);
}

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

.form-group--half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-label {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-deep);
  margin-bottom: var(--space-xs);
}

.form-label--required::after {
  content: '*';
  color: var(--teal-accent);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--off-white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal-accent);
  background: white;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--concrete);
}

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

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

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

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

.form-submit {
  width: 100%;
  margin-top: var(--space-md);
}

.form-message {
  margin-top: var(--space-md);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  display: none;
}

.form-message--success {
  background: rgba(91,164,164,0.1);
  color: var(--teal-dark);
  display: block;
}

.form-message--error {
  background: rgba(220,53,69,0.1);
  color: #dc3545;
  display: block;
}

/* === Footer === */
.footer {
  background: var(--slate-deep);
  color: var(--off-white);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand p {
  color: var(--concrete-light);
  font-size: 1rem;
  margin-top: var(--space-md);
  max-width: 35ch;
}

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

.footer__social-link {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

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

.footer__social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--off-white);
}

.footer__column h4 {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-white);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
}

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

.footer__links a {
  color: var(--concrete-light);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-lg);
  font-size: 0.9rem;
  color: var(--concrete);
}

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

.footer__legal a:hover {
  color: var(--teal-bright);
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  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; }

/* === Page Headers === */
.page-header {
  background: var(--gradient-hero);
  padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(91,164,164,0.15) 0%, transparent 60%);
}

.page-header__content {
  position: relative;
  z-index: 1;
}

.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--concrete-light);
  margin-bottom: var(--space-md);
}

.page-header__breadcrumb a {
  color: var(--concrete-light);
  transition: color var(--transition-fast);
}

.page-header__breadcrumb a:hover {
  color: var(--teal-bright);
}

.page-header__breadcrumb span {
  color: var(--off-white);
}

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

.page-header__description {
  font-size: 1.25rem;
  color: var(--concrete-light);
  max-width: 60ch;
}

/* === Services Page Specific === */
.services-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  padding: var(--space-2xl) 0;
}

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

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

.services-detail__content h3 {
  margin-bottom: var(--space-md);
}

.services-detail__list {
  list-style: none;
  margin-top: var(--space-lg);
}

.services-detail__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
  font-size: 1.05rem;
}

.services-detail__list li::before {
  content: '';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--gradient-teal);
  border-radius: 50%;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-detail__list li::after {
  content: '✓';
  position: absolute;
  left: 0;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
}

.services-detail__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.services-detail__visual img {
  width: 100%;
  display: block;
}

/* Price indication */
.price-indication {
  background: linear-gradient(135deg, rgba(91,164,164,0.1) 0%, rgba(91,164,164,0.05) 100%);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.price-indication__label {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
  margin-bottom: var(--space-xs);
}

.price-indication__range {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-deep);
}

.price-indication__note {
  font-size: 0.85rem;
  color: var(--concrete);
  margin-top: var(--space-xs);
}

/* === About Page Specific === */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-intro__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.about-intro__image img {
  width: 100%;
  display: block;
}

.team-section {
  background: white;
}

.team-card {
  background: var(--off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition: all var(--transition-smooth);
}

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

.team-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

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

.team-card__content {
  padding: var(--space-lg);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-deep);
  margin-bottom: var(--space-xs);
}

.team-card__role {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-accent);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.value-card {
  text-align: center;
  padding: var(--space-xl);
}

.value-card__icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-teal);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-card__icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-deep);
  margin-bottom: var(--space-sm);
}

/* Certifications */
.certifications {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition-smooth);
}

.certification-badge:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.certification-badge__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(91,164,164,0.1) 0%, rgba(91,164,164,0.05) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-badge__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--teal-accent);
}

.certification-badge__text {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-deep);
  text-align: center;
}

/* === Projects Page Specific === */
.projects-filter {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-accent);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  background: transparent;
  border: 2px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--teal-accent);
}

.filter-btn.active {
  background: var(--gradient-teal);
  color: white;
}

/* Before/After Slider */
.before-after {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: ew-resize;
}

.before-after__image {
  width: 100%;
  display: block;
}

.before-after__slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.before-after__slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  background: white;
  left: 50%;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.before-after__handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-medium);
}

.before-after__handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  color: var(--slate-deep);
}

.before-after__label {
  position: absolute;
  bottom: var(--space-md);
  padding: 0.5rem 1rem;
  background: rgba(0,0,0,0.7);
  color: white;
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
}

.before-after__label--before {
  left: var(--space-md);
}

.before-after__label--after {
  right: var(--space-md);
}

/* === Contact Page Specific === */
.contact-map {
  height: 400px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* === Responsive Design === */
@media (max-width: 1200px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .hero__ctas {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

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

  .service-card--featured {
    grid-column: span 2;
  }
}

@media (max-width: 992px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--slate-deep);
    flex-direction: column;
    justify-content: center;
    gap: var(--space-xl);
    transition: right var(--transition-smooth);
  }

  .nav.active {
    right: 0;
  }

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

  .nav__link {
    color: var(--off-white);
    font-size: 1.25rem;
  }

  .nav__toggle {
    display: flex;
  }

  .why-grid,
  .about-intro,
  .services-detail,
  .contact-section {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

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

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

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

  .process-grid::before {
    display: none;
  }

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

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

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

  .service-card--featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

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

  .project-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-lg);
  }

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

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

@media (max-width: 576px) {
  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
  }

  .hero__stat {
    text-align: center;
  }

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

  .hero__ctas .btn {
    width: 100%;
  }

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

  .project-card--large {
    grid-column: span 1;
  }

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

  .projects-filter {
    flex-wrap: wrap;
  }
}

/* === Print Styles === */
@media print {
  .header,
  .footer,
  .btn,
  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }

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