:root {
  --primary-color: #FFC107;
  --primary-dark: #FF8F00;
  --secondary-color: #FF6F00;
  --accent-color: #FFD700;
  --warning-color: #FF5722;
  --text-primary: #0a0a0a;
  --text-secondary: #4a4a4a;
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-dark: #0a0a0a;
  --bg-yellow-light: #fffef5;
  --gradient-1: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
  --gradient-2: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
  --gradient-3: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%);
  --gradient-construction: linear-gradient(135deg, #FFD700 0%, #FFC107 50%, #FF8F00 100%);
  --gradient-modern: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);
  --shadow-yellow: 0 8px 24px rgba(255, 193, 7, 0.25);
  --shadow-glow: 0 0 30px rgba(255, 193, 7, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .navbar .container {
    padding: 1rem 12px 1rem 4px;
  }
  .nav-brand {
    left: 12px;
  }
  .nav-menu {
    width: 85%;
    padding: 70px 0 2rem 0;
  }
  .nav-menu a {
    padding: 1.25rem 1rem;
    font-size: 1.05rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  height: 72px;
  min-height: 72px;
  box-sizing: border-box;
}

/* Lang selector + burger grouped at far right */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 0;
  text-decoration: none;
  transition: opacity 0.3s ease;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 72px;
  overflow: hidden;
}

.nav-brand:hover {
  color: var(--primary-dark);
}

.nav-logo {
  height: 52px;
  max-height: 72px;
  width: auto;
  display: block;
  vertical-align: middle;
  object-fit: contain;
  border-radius: 12px;
}

.nav-brand:hover .nav-logo {
  opacity: 0.85;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-right: 4rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  letter-spacing: -0.01em;
}

.nav-menu a:focus,
.btn-primary:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-construction);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

/* Language selector dropdown */
.lang-selector {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-selector .lang-dropdown {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 0.35em 1.75em 0.35em 0.6em;
  font-size: inherit;
  font-weight: 600;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5em center;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-selector .lang-dropdown:hover,
.lang-selector .lang-dropdown:focus {
  color: var(--primary-color);
  border-color: var(--primary-color);
  outline: none;
}

@media (max-width: 968px) {
  .navbar .container {
    width: 100%;
    max-width: none;
    padding-left: 16px;
    padding-right: 6px;
    justify-content: flex-end;
  }
  .nav-right {
    gap: 0.5rem;
    margin-left: auto;
    margin-right: 0;
    padding-right: 0;
  }
  .lang-selector { margin-right: 0; font-size: 0.9rem; }
  .lang-selector .lang-dropdown { padding: 0.4em 1.5em 0.4em 0.5em; }
}

/* Burger Menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  position: relative;
}

.burger-menu:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background: #000000;
  border-radius: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

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

.burger-menu.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

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

.nav-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: -1;
}

@media (max-width: 968px) {
  .nav-menu.active::before {
    opacity: 0.5;
    visibility: visible;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 0 2rem 0;
    gap: 0;
    margin-right: 0;
    border-left: 2px solid #000000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid #000000;
    transition: all 0.3s ease;
  }
  .nav-menu li:first-child {
    border-top: 1px solid #000000;
  }
  .nav-menu li:hover {
    background: #f5f5f5;
  }
  .nav-menu a {
    display: block;
    padding: 1.5rem 1.25rem;
    font-size: 1.15rem;
    width: 100%;
    color: var(--text-primary);
    font-weight: 700;
    transition: all 0.3s ease;
    letter-spacing: -0.01em;
    position: relative;
  }
  .nav-menu a::before {
    display: none;
  }
  .nav-menu a:hover {
    color: #000000;
    padding-left: 1.75rem;
  }
  .nav-menu a::after {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .burger-menu.active span {
    background: #000000;
  }
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.5rem;
  }
}

.btn-primary {
  background: var(--gradient-construction);
  color: var(--text-primary);
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 12rem;
  background: #ffffff;
  z-index: 1;
  margin-bottom: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.gradient-orb {
  display: none;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--gradient-construction);
  top: -200px;
  left: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--gradient-2);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: var(--gradient-3);
  top: 50%;
  right: 10%;
  animation-delay: 10s;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #000000;
}

.hero-visual {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}

.title-line {
  display: block;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}

.title-line:nth-child(2) {
  animation-delay: 0.4s;
  color: var(--text-primary);
  font-weight: 900;
}

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

.hero-subtitle {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: #000000;
  margin-bottom: 1rem;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: #000000;
  margin-bottom: 2rem;
  line-height: 1.7;
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.hero-work-showcase {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  max-width: 900px;
}

.hero-work-main {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: white;
  opacity: 0;
  animation: fadeInScale 0.8s ease forwards;
  animation-delay: 0.3s;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-work-main:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

/* Loader shown until hero video starts playing */
.hero-video-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary, #f5f5f5);
  border-radius: 24px;
  z-index: 1;
  transition: opacity 0.35s ease-out, visibility 0.35s ease-out;
}

.hero-video-loader.hero-video-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hero-video-loader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--primary-color, #0d6efd);
  border-radius: 50%;
  animation: hero-video-loader-spin 0.85s linear infinite;
}

@keyframes hero-video-loader-spin {
  to { transform: rotate(360deg); }
}

.hero-work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.hero-work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease-out;
  display: block;
}

/* Hidden until playing so we don't show a static first frame */
.hero-work-video.hero-work-video--loading {
  opacity: 0;
  pointer-events: none;
}

.hero-work-main:hover .hero-work-image,
.hero-work-main:hover .hero-work-video {
  transform: scale(1.05);
}

.hero-work-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-work-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: white;
  flex: 1;
  opacity: 0;
  animation: fadeInScale 0.8s ease forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-work-item:nth-child(1) {
  animation-delay: 0.5s;
}

.hero-work-item:nth-child(2) {
  animation-delay: 0.7s;
}

.hero-work-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: var(--shadow-xl);
}

.hero-work-item .hero-work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-secondary);
  border-radius: 15px;
  position: relative;
}

.mouse::before {
  content: '';
  width: 4px;
  height: 10px;
  background: var(--text-secondary);
  border-radius: 2px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

/* Hero responsive 768px */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 100px;
    padding-bottom: 2rem;
    overflow: visible;
    position: relative;
    z-index: 2;
  }
  .hero-background {
    overflow: visible;
  }
  .hero .container {
    padding-top: 2rem;
    padding-bottom: 3rem;
    overflow: visible;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    min-height: auto;
    overflow: visible;
  }
  .hero-text {
    order: 3;
    width: 100%;
    padding-bottom: 3rem;
    margin-bottom: 0;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-align: center;
    margin-bottom: 1rem;
    opacity: 1 !important;
    color: var(--text-primary) !important;
  }
  .hero-description {
    font-size: clamp(0.9rem, 2vw, 1rem);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    opacity: 1 !important;
    color: var(--text-secondary) !important;
    line-height: 1.7;
  }
  .scroll-indicator {
    display: none;
  }
  .hero-title {
    order: 1;
    font-size: clamp(3rem, 12vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    font-weight: 900;
    color: #000000 !important;
  }
  .hero-visual {
    order: 2;
    height: auto;
    margin: 0;
    width: 100%;
  }
  .hero-text {
    order: 3;
    width: 100%;
    padding-bottom: 3rem;
    margin-bottom: 0;
    position: relative;
    z-index: 5;
  }
  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    text-align: center;
    margin-bottom: 1rem;
    opacity: 1 !important;
    color: #000000 !important;
    font-weight: 700 !important;
  }
  .hero-description {
    font-size: 1.1rem !important;
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    opacity: 1 !important;
    color: #000000 !important;
    line-height: 1.8 !important;
    background: #ffffff !important;
    border: 2px solid #000000 !important;
    font-weight: 500 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
  }
}

/* Hero responsive 480px */
@media (max-width: 480px) {
  .hero-description {
    font-size: 0.95rem !important;
    padding: 1.25rem !important;
    margin-bottom: 1.25rem !important;
    line-height: 1.7 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-title {
    font-size: clamp(2rem, 10vw, 4rem) !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-subtitle {
    font-size: clamp(0.95rem, 3vw, 1.1rem) !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-work-main {
    min-height: 200px;
  }
  .hero-work-item {
    min-height: 120px;
  }
  .title-line {
    display: block;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .hero-cta {
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 10;
    margin-top: 1rem;
    margin-bottom: 0 !important;
  }
  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    position: relative;
    z-index: 10;
  }
  .btn-primary {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }
  .hero-work-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    max-width: 100%;
  }
  .hero-work-main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    min-height: 250px;
  }
  .hero-work-secondary {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    flex-direction: row;
    gap: 0.75rem;
  }
  .hero-work-item {
    min-height: 150px;
  }
  .hero-work-image,
  .hero-work-video {
    max-width: 100%;
    height: auto;
  }
}

/* Content sections */
.section {
  padding: 4rem 0;
  background: var(--bg-primary);
}

.section-alt {
  background: var(--bg-secondary);
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 720px;
}

/* ESTO credit calculator block */
.esto-calc-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
.esto-iframe {
  border: 0;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 480px) {
  .esto-iframe {
    width: 100%;
    min-height: 320px;
  }
}

/* Google reviews */
.reviews-section .section-lead {
  margin-bottom: 1.5rem;
}
.reviews-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.reviews-summary-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.reviews-score {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--text-primary);
}
.reviews-count,
.reviews-source {
  margin: 0.15rem 0 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}
.review-card {
  background: var(--bg-primary);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
}
.review-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 143, 0, 0.15));
  color: var(--text-primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-author {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}
.review-rating-line {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.review-stars {
  color: var(--primary-color, #ffc107);
  letter-spacing: 0.02em;
}
.review-text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
.reviews-cta {
  margin-top: 2rem;
}
@media (max-width: 600px) {
  .reviews-add-btn {
    width: 100%;
    text-align: center;
  }
}

.subsection-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 2.5rem 0 1.5rem;
  color: var(--text-primary);
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Services grid */
.services-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 0;
}

.services-grid li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.services-grid li:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.services-grid-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255,193,7,0.12), rgba(255,143,0,0.08));
  border-radius: 12px;
  overflow: hidden;
}

.services-grid-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.services-grid-label {
  color: var(--text-primary);
}

/* Pipes grid */
.pipes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .pipes-grid {
    grid-template-columns: 1fr;
  }
}

.pipe-card {
  background: var(--bg-primary);
  border: 2px solid #e8e8e8;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.pipe-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.pipe-card-featured {
  border-color: var(--primary-color);
  background: var(--bg-yellow-light);
  box-shadow: var(--shadow-yellow);
}

.pipe-diameter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.pipe-badge {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 600;
}

/* Well summary */
.well-summary {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #e8e8e8;
}

.well-summary h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.well-summary-list {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.well-summary-list li {
  margin-bottom: 0.5rem;
}

/* Why list */
.why-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.why-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-primary);
  font-weight: 500;
}

.why-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  background: var(--gradient-construction);
  border-radius: 50%;
}

/* Info cards */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 968px) {
  .cards-row {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-primary);
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  padding: 0;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.info-card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-secondary);
}

.info-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem 1.5rem 0.75rem;
  color: var(--text-primary);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 1.5rem 1.5rem;
}

.info-card h4:first-child {
  margin-top: 1.5rem;
}

.info-card:has(.info-card-img-wrap) h4 {
  margin-top: 1rem;
}

/* Artēziskā dziļurbuma detail section */
.artez-wrap {
  margin: 2.5rem 0 1rem;
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.artez-hero {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
}

.artez-hero--summary {
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
}

@media (max-width: 900px) {
  .artez-hero {
    grid-template-columns: 1fr;
  }
}

.artez-img-col {
  overflow: hidden;
  background: #f0ede8;
  min-height: 320px;
}

.artez-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .artez-img-col {
    min-height: 240px;
  }
}

.artez-intro-col {
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: center;
}

.artez-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--primary-color);
}

.artez-intro-col > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.artez-pipes {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.artez-pipes strong {
  color: var(--text-primary);
  font-weight: 600;
  width: 100%;
}

.artez-pipe-badge {
  background: var(--primary-color);
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

.artez-pipe-note {
  font-style: italic;
  font-size: 0.8rem;
}

.artez-depth-table {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1px;
  background: #e8e8e8;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
}

.artez-depth-cell {
  background: var(--bg-primary);
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.artez-depth-cell--gold {
  background: rgba(255, 193, 7, 0.08);
  min-width: 130px;
  text-align: center;
  align-items: center;
}

.artez-depth-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.artez-depth-val {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.artez-depth-cell--gold .artez-depth-val {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Feature columns */
.artez-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid #e8e8e8;
}

@media (max-width: 900px) {
  .artez-features {
    grid-template-columns: 1fr;
  }
}

.artez-feature-col {
  padding: 1.75rem 1.75rem;
  border-right: 1px solid #e8e8e8;
}

.artez-feature-col:last-child {
  border-right: none;
}

@media (max-width: 900px) {
  .artez-feature-col {
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }
  .artez-feature-col:last-child {
    border-bottom: none;
  }
}

.artez-feature-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
}

.artez-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.artez-list li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  padding-left: 1.2rem;
  position: relative;
}

.artez-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-dark);
}

.artez-list--numbered {
  counter-reset: artez-counter;
}

.artez-list--numbered li {
  counter-increment: artez-counter;
  padding-left: 1.6rem;
}

.artez-list--numbered li::before {
  content: counter(artez-counter) '.';
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.8rem;
}

.artez-list--check li::before {
  content: '';
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  border-radius: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 12' fill='none'%3E%3Cpath d='M1.05 5.17L6.4 10.41 15.4 1.41' stroke='%2316a34a' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.artez-ideal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e8e8e8;
}

.artez-ideal-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.artez-ideal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.artez-ideal ul li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 1.1rem;
  position: relative;
}

.artez-ideal ul li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary-color);
}

/* Connection type cards */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 1024px) {
  .conn-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .conn-grid {
    grid-template-columns: 1fr;
  }
}

.conn-card {
  background: var(--bg-primary);
  border: 1px solid #e8e8e8;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.conn-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f0;
}

.conn-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.conn-card:hover .conn-img {
  transform: scale(1.04);
}

.conn-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.conn-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-color);
}

.conn-desc-wrap {
  flex: 1;
}

.conn-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 0 0.6rem;
}

.conn-pros,
.conn-cons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.conn-list-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
}

.conn-pros-label {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.conn-cons-label {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
}

.conn-pros ul,
.conn-cons ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.conn-pros ul li,
.conn-cons ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 1.35rem;
  position: relative;
}

.conn-pros ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 12' fill='none'%3E%3Cpath d='M1.05 5.17L6.4 10.41 15.4 1.41' stroke='%2316a34a' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.conn-cons ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 2l8 8M10 2L2 10' stroke='%23dc2626' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Kanalizācija teaser on main page */
.kanal-teaser {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, #fffef5 0%, #fff8e1 100%);
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
}

@media (max-width: 860px) {
  .kanal-teaser {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.kanal-teaser-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.kanal-teaser-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.kanal-teaser-text > p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.kanal-teaser-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.kanal-teaser-list li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.3rem;
  position: relative;
}

.kanal-teaser-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 12' fill='none'%3E%3Cpath d='M1.05 5.17L6.4 10.41 15.4 1.41' stroke='%2316a34a' stroke-width='2'/%3E%3C/svg%3E") center/contain no-repeat;
}

.kanal-teaser-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.kanal-ti {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid rgba(255,193,7,0.25);
  border-radius: 14px;
  padding: 1.25rem 0.75rem;
  text-align: center;
  color: var(--primary-dark);
}

.kanal-ti img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.kanal-ti span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Active nav link */
.nav-active {
  color: var(--primary-color) !important;
}

/* How to order — visual step flow (black on white) */
.steps-section {
  background: var(--bg-primary);
  padding: 5rem 0 4rem;
}

.steps-section-title {
  color: var(--text-primary) !important;
  text-align: center;
  margin-bottom: 3rem;
}

.steps-scroll-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
}

.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 0 0.5rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 120px;
  min-width: 100px;
}

.step-top {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.step-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25), 0 4px 16px rgba(255, 143, 0, 0.35);
}

.step-circle .step-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.step-arr {
  color: rgba(0, 0, 0, 0.25);
  font-size: 1.5rem;
  padding: 0 6px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: -2px;
}

.step-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.step-label {
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  display: block;
  margin-bottom: 0.5rem;
}

.step-note {
  color: var(--text-secondary);
  font-size: 0.75rem;
  line-height: 1.45;
  margin: 0;
  margin-top: 0.25rem;
}

.steps-phone {
  text-align: center;
  margin-top: 2.5rem;
}

.steps-phone a {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.step-note .step-phone-inline {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
}
.step-note .step-phone-inline:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .step-circle {
    width: 58px;
    height: 58px;
  }
  .step-item {
    min-width: 88px;
    max-width: 105px;
  }
  .step-label {
    font-size: 0.75rem;
  }
  .step-note {
    font-size: 0.7rem;
  }
}

/* Steps: vertical card layout on mobile */
@media (max-width: 768px) {
  .steps-section {
    padding: 3rem 0 3rem;
  }
  .steps-section-title {
    margin-bottom: 2rem;
    padding: 0 0.5rem;
  }
  .steps-scroll-wrap {
    overflow-x: visible;
    padding-bottom: 0;
    -webkit-overflow-scrolling: auto;
  }
  .steps-flow {
    flex-direction: column;
    align-items: stretch;
    min-width: auto;
    padding: 0;
    gap: 0.75rem;
  }
  .step-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    max-width: none;
    min-width: 0;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-primary);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    gap: 0;
  }
  .step-top {
    margin-bottom: 0;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .step-arr {
    display: none;
  }
  .step-item .step-circle {
    width: 52px;
    height: 52px;
  }
  .step-item .step-circle .step-icon {
    width: 28px;
    height: 28px;
  }
  .step-content {
    flex: 1;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .step-label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  .step-note {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 0.25rem;
  }
  .steps-phone {
    margin-top: 2rem;
    padding: 0 0.5rem;
  }
  .steps-phone a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    min-height: 48px;
    line-height: 1.4;
    -webkit-tap-highlight-color: transparent;
  }
}

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

.gallery-item {
  overflow: hidden;
  position: relative;
  background: #111;
}

.gallery-item-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery-item:hover .gallery-item-img {
  transform: scale(1.05);
  opacity: 0.88;
}

.gallery-item-hidden {
  display: none;
}

.gallery-more-wrap {
  text-align: center;
  margin-top: 2rem;
}

.gallery-more-count {
  font-weight: 400;
  color: var(--text-secondary);
  font-size: 0.9em;
  margin-left: 0.3rem;
}

.gallery-item-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem;
  border: 1px solid #e8e8e8;
}

.gallery-item-empty p {
  margin: 0;
  color: var(--text-secondary);
}

/* Lightbox */
.lb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lb-overlay.is-open {
  display: flex;
}

.lb-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  user-select: none;
}

.lb-close {
  position: fixed;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 9001;
  opacity: 0.75;
  transition: opacity 0.2s;
  padding: 0.25rem 0.5rem;
}

.lb-close:hover {
  opacity: 1;
}

.lb-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 9001;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.5rem 1rem;
  user-select: none;
}

.lb-arrow:hover {
  opacity: 1;
}

.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

.lb-arrow:disabled {
  opacity: 0.15;
  cursor: default;
}

/* Steps list */
.steps-list {
  margin: 0;
  padding-left: 1.5rem;
  max-width: 640px;
  line-height: 1.9;
  color: var(--text-primary);
}

.steps-list li {
  margin-bottom: 0.75rem;
}

.phone-highlight {
  margin-top: 2rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.phone-highlight a {
  color: var(--primary-dark);
  text-decoration: none;
}

.phone-highlight a:hover {
  text-decoration: underline;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.faq-item[open] {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 3.25rem 1.125rem 1.5rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -5px;
  border-right: 2.5px solid var(--text-secondary);
  border-bottom: 2.5px solid var(--text-secondary);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(-135deg);
  border-color: var(--primary-dark);
}

.faq-item summary h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
  display: inline;
  line-height: 1.45;
}

.faq-item summary:focus {
  outline: none;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.faq-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  padding: 0 1.5rem 1.25rem 1.5rem;
  border-top: 1px solid #eee;
}

.faq-item[open] p {
  padding-top: 0.25rem;
}

/* Contact */
.contact-section {
  padding-bottom: 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.contact-block p {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-block a {
  color: var(--primary-dark);
  text-decoration: none;
}

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

.contact-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--primary-dark);
}

.social-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  min-height: 24px;
  max-height: 24px;
  flex-shrink: 0;
  display: block;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e8e8e8;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

.footer-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: left;
}

.footer-company strong {
  color: var(--text-primary);
  font-weight: 700;
}

.footer-tagline {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: right;
  max-width: 320px;
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-tagline {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  .section-cta {
    flex-direction: column;
    align-items: stretch;
  }
}

/* --- Modal overlay (Order + Calculator) --- */
.calc-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  overflow-y: auto;
}

.calc-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.calc-modal {
  background: #fff;
  background: var(--bg-primary, #fff);
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  min-height: 0;
  flex-shrink: 0;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding: 28px 24px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  -webkit-overflow-scrolling: touch;
  margin: auto;
}

.calc-modal-steps {
  padding-bottom: 100px;
}

/* Keep form content above fixed nav bar so checkbox stays clickable on mobile */
.calc-modal-steps .calc-form {
  position: relative;
  z-index: 2;
}

.calc-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-secondary);
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-secondary);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
  z-index: 1;
}

.calc-close:hover {
  color: var(--text-primary);
  background: #e8e8e8;
}

.calc-title {
  margin: 0 0 20px;
  padding-right: 44px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Calculator step dots */
.calc-steps-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.calc-step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e0e0e0;
  transition: background 0.2s;
}

.calc-step-dot.is-active {
  background: var(--primary-color);
}

/* Panes: only active step visible */
.calc-pane {
  display: none;
}

.calc-pane.is-active {
  display: block;
  padding-bottom: 24px;
}

.calc-pane h3 {
  margin: 0 0 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-hint {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.calc-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-primary);
}

.calc-option input {
  flex-shrink: 0;
}

.calc-map {
  height: 280px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  margin-bottom: 12px;
  background: var(--bg-secondary);
}

.calc-coords {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-input {
  width: 100%;
  max-width: 200px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

.calc-summary {
  margin-bottom: 16px;
}

.calc-summary-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.calc-result-note {
  margin: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.calc-order-title {
  margin: 24px 0 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.calc-field {
  display: block;
  margin-bottom: 16px;
}

.calc-field span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-field input {
  width: 100%;
  padding: 12px;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
}

.calc-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.calc-checkbox input {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Order modal form */
.order-form .calc-field {
  margin-bottom: 20px;
}

.order-form .btn-primary {
  margin-top: 8px;
}

/* Nav buttons (Previous / Next) fixed at bottom of calculator modal */
.calc-nav-btns {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  padding: 16px 24px;
  background: var(--bg-primary);
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.calc-nav-btns .btn-primary,
.calc-nav-btns .btn-outline {
  min-width: 140px;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  padding: 0.875rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-block;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

/* Phone modal (desktop) */
.phone-modal .phone-modal-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 0.25rem;
  letter-spacing: 0.02em;
}

.phone-modal .phone-modal-note {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
}

/* Phone confirmation modal */
.phone-confirm-modal {
  max-width: 380px;
  text-align: center;
}

.phone-confirm-intro {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 0.35rem;
}

.phone-confirm-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  word-break: break-all;
}

.phone-confirm-note {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 1.75rem;
}

.phone-confirm-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.phone-modal .btn-primary {
  display: inline-block;
}

/* Message modal (replaces alerts) */
.msg-modal {
  max-width: 400px;
  text-align: center;
}

.msg-modal-title {
  margin-bottom: 0.5rem;
}

.msg-modal-body {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0 0 1.5rem;
  white-space: pre-line;
}

.msg-modal-btns {
  display: flex;
  justify-content: center;
}

.msg-modal-btns .btn-primary {
  min-width: 120px;
}

@media (max-width: 480px) {
  .calc-overlay {
    padding: 12px;
    align-items: flex-start;
    padding-top: 24px;
  }
  .calc-modal {
    max-height: calc(100vh - 24px);
    padding: 24px 16px 20px;
  }
  .calc-close {
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    font-size: 1.35rem;
  }
  .calc-modal-steps {
    padding-bottom: 220px;
  }
  .order-form .calc-checkbox,
  .calc-form .calc-checkbox {
    margin-top: 4px;
    margin-bottom: 1.25rem;
  }
  .order-form .btn-primary,
  .calc-form .calc-submit-in-form {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .calc-nav-btns {
    padding: 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .calc-nav-btns .btn-primary,
  .calc-nav-btns .btn-outline {
    min-width: 0;
    flex: 1;
  }
}

/* Floating buttons */
.floating-buttons {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
  pointer-events: none;
}

.floating-buttons > * {
  pointer-events: auto;
}

.floating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: #fff;
  position: relative;
}

.floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.floating-btn:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn:hover {
  background: #20bd5a;
}

.back-to-top {
  background: var(--primary-color);
  color: var(--bg-primary);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.4rem 0.75rem;
  background: var(--bg-dark);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
}
