.service-detail {
  padding: 2.5rem 0;
}

@media (max-width: 768px) {
  .slide {
    min-height: auto;
  }
}

.service-detail .container.split {
  gap: 1.75rem;
  align-items: flex-start;
}

.service-detail p {
  margin-bottom: 0.85rem;
}

.service-detail .card-grid {
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-detail .card {
  padding: 1.25rem;
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  background: #fafafa;
}

.service-detail ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service-detail li {
  margin-bottom: 0.45rem;
}
:root {
  --color-primary: #0a4d2e;
  --color-accent: #1a7f4f;
  --color-light: #e8f5f0;
  --color-dark: #0d1f0f;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-success: #2d7a2d;
  --color-warning: #8b6914;
  --color-error: #a02c2c;
  --color-muted: #f5f5f5;
  --color-border: #e0e0e0;
  --color-shadow: rgba(0, 0, 0, 0.1);
  --color-gradient-start: #0a4d2e;
  --color-gradient-end: #1a7f4f;
  --border: rgba(16, 19, 24, 0.08);
  --radius: 18px;
  --shadow-lg: 0 25px 80px rgba(16, 19, 24, 0.2);
  --shadow-sm: 0 15px 35px rgba(16, 19, 24, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", -apple-system, sans-serif;
  color: var(--color-dark);
  background: var(--color-light);
  min-height: 100vh;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Newsreader", "Space Grotesk", serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding-bottom: 4rem;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: none;
}

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

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

.btn.ghost {
  background: var(--color-light);
  color: var(--color-primary);
}

.btn:hover {
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #efefef;
}

.top-bar {
  background: #f5f5f5;
  color: #333;
  font-size: 0.85rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.top-info {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: flex-start;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-info-item svg {
  color: #6b7280;
  flex-shrink: 0;
}

.top-info-item a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.top-info-item a:hover {
  color: var(--color-primary);
}

.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.5rem 0;
}

.nav-wrapper .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1rem 0;
}

.top-info,
.top-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-actions a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.top-actions a::before {
  font-size: 0.95rem;
  line-height: 1;
}

.top-actions a[href^="tel"]::before {
  content: "☎";
}

.top-actions a[href^="mailto"]::before {
  content: "✉";
}

.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: var(--color-primary);
  transform: scale(1.05);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -8px);
  background: white;
}

.site-nav .mobile-header,
.site-nav .mobile-close {
  display: none;
}

/* Mobile Menu Styles - Clean Version */
@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  
  .nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .nav-wrapper .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
  }
  
  .brand img {
    width: clamp(150px, 25vw, 200px);
    height: auto;
  }
  
  .animated-logo {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
  }
  
  .logo-icon {
    width: 50px;
    height: 50px;
  }
  
  .energy-ring {
    width: 50px;
    height: 50px;
  }
  
  .home-icon {
    width: 30px;
    height: 30px;
  }
  
  .home-roof {
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 15px solid #3498db;
    top: 2px;
  }
  
  .home-body {
    width: 22px;
    height: 16px;
    top: 15px;
  }
  
  .home-door {
    width: 7px;
    height: 10px;
  }
  
  .home-window {
    width: 4px;
    height: 4px;
    top: 2px;
  }
  
  .home-window-left {
    left: 2px;
  }
  
  .home-window-right {
    right: 2px;
  }
  
  .water-drop-detail {
    width: 8px;
    height: 10px;
    right: -3px;
    top: 6px;
  }
  
  .leaf-detail {
    width: 7px;
    height: 9px;
    left: -3px;
    bottom: 6px;
  }
  
  .logo-text {
    font-size: 24px;
    letter-spacing: 0.5px;
    margin-left: 0;
  }
  
  .nav-toggle {
    display: flex;
    margin-left: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    transition: all 0.3s ease;
  }
  
  .nav-toggle:hover {
    background: var(--color-primary);
    transform: scale(1.05);
  }
  
  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: white;
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
    background: white;
  }
  
  .mobile-nav-extra {
    display: block;
  }
  
  .mobile-nav-phone a {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .mobile-nav-phone .eyebrow {
    color: #7a8697;
    letter-spacing: 0.08em;
  }
  
  .mobile-nav-phone strong {
    font-size: 1.2rem;
    color: var(--color-primary);
  }
  
  .mobile-nav-cta {
    border: none;
    padding: 1.5rem;
  }
  
  .mobile-nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .site-nav {
    position: fixed !important;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: white;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
  }
  
  .site-nav.active {
    left: 0;
  }
  
  .site-nav .mobile-header {
    background: var(--color-primary);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .site-nav .mobile-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
  }
  
  .site-nav .mobile-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
  }
  
  .site-nav .mobile-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
  }
  
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .site-nav li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
  }
  
  .site-nav li:hover {
    background: #f8f9fa;
  }
  
  .site-nav li:last-child {
    border-bottom: none;
  }
  
  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
  }
  
  .site-nav a:hover,
  .site-nav a.active {
    background: var(--color-primary);
    color: white;
    padding-left: 2rem;
  }
  
  .dropdown > a::after {
    content: "▼";
    font-size: 0.7rem;
    transition: transform 0.3s ease;
  }
  
  .dropdown.active > a::after {
    transform: rotate(180deg);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8f8f8;
    margin: 0;
    border-radius: 0;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li {
    border-bottom: 1px solid #e0e0e0;
    background: white;
  }
  
  .dropdown-menu li:hover {
    background: #f0f0f0;
  }
  
  .dropdown-menu a {
    padding: 1rem 1.5rem 1rem 2.5rem;
    font-size: 0.9rem;
    background: transparent;
    color: #666;
  }
  
  .dropdown-menu a:hover {
    background: var(--color-primary);
    color: white;
    padding-left: 3rem;
  }
  
  .nav-cta {
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    width: 100%;
  }
  
  .phone-number {
    font-size: 1.1rem;
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .quick-contact {
    width: 100%;
  }
  
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.25rem;
    align-items: stretch;
  }
  
  .cta-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  }
  
  .cta-highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-highlights li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
  }
  
  .cta-highlights li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
  }
  
  .contact-form {
    background: #fff;
    border-radius: 30px;
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: var(--color-dark);
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.18);
  }
  
  .contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
  
  .contact-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-weight: 500;
  }
  
  .contact-form input,
  .contact-form textarea {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .contact-form textarea {
    border-radius: 22px;
    min-height: 140px;
    resize: vertical;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(66, 255, 174, 0.2);
  }
  
  .contact-form .btn.primary {
    align-self: flex-start;
    padding-inline: 2.75rem;
  }
  
  @media (max-width: 960px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }
  
    .contact-form .form-row {
      grid-template-columns: 1fr;
    }
  }
  
  @media (max-width: 768px) {
    .contact-form {
      padding: 1.75rem;
    }
  }
  
  /* Overlay */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  /* Body scroll lock */
  body.menu-open {
    overflow: hidden;
  }
}

.nav-wrapper {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0.25rem 0.75rem;
}

.nav-wrapper .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  padding: 0 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Animated Logo Styles */
.animated-logo {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  margin-left: 30px;
}

.logo-icon {
  position: relative;
  width: 70px;
  height: 70px;
}

.energy-ring {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  opacity: 0.8;
}

.energy-ring-1 {
  border: 3px solid rgba(52, 152, 219, 0.3);
  animation: ringPulse 3s ease-in-out infinite;
}

.energy-ring-2 {
  border: 3px solid rgba(39, 174, 96, 0.5);
  transform: scale(0.85);
  animation: ringPulse 3s ease-in-out infinite 0.5s;
}

.energy-ring-3 {
  border: 3px solid rgba(39, 174, 96, 0.7);
  transform: scale(0.7);
  animation: ringPulse 3s ease-in-out infinite 1s;
}

.home-icon {
  position: absolute;
  width: 40px;
  height: 40px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.home-roof {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 22px solid #3498db;
  left: 50%;
  transform: translateX(-50%);
  top: 3px;
}

.home-body {
  position: absolute;
  width: 30px;
  height: 22px;
  background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
  left: 50%;
  transform: translateX(-50%);
  top: 22px;
}

.home-door {
  position: absolute;
  width: 9px;
  height: 14px;
  background: linear-gradient(180deg, #2980b9 0%, #21618c 100%);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.home-window {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid #2980b9;
  top: 3px;
}

.home-window-left {
  left: 2px;
}

.home-window-right {
  right: 2px;
}

.water-drop-detail {
  position: absolute;
  width: 16px;
  height: 20px;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.4), rgba(41, 128, 185, 0.6));
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
  right: -6px;
  top: 12px;
}

.leaf-detail {
  position: absolute;
  width: 14px;
  height: 18px;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.6), rgba(39, 174, 96, 0.8));
  border-radius: 0 50% 50% 0;
  left: -6px;
  bottom: 12px;
}

.logo-text {
  display: flex;
  align-items: center;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: 'Arial', sans-serif;
  text-transform: uppercase;
  margin-left: 15px;
}

.logo-text .letter {
  display: inline-block;
  animation: letterReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  color: #2c3e50;
}

.letter-m { animation-delay: 1.8s; }
.letter-i { animation-delay: 2s; }
.letter-n { animation-delay: 2.2s; }
.letter-o { animation-delay: 2.4s; }
.letter-v { animation-delay: 2.6s; }
.letter-a { animation-delay: 2.8s; }

@keyframes ringPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes letterReveal {
  from {
    opacity: 0;
    transform: translateY(30px) rotateX(-90deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.brand img {
  height: 52px;
  width: auto;
  transition: transform 0.3s ease;
  display: block;
}

.brand img:first-child {
  height: 90px;
  width: auto;
}

.brand .logo-text {
  height: 120px;
  margin-left: 0.5rem;
}

.brand-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: 4rem;
  flex: 1;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

.site-nav li {
  position: relative;
}

.mobile-nav-extra {
  display: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e0e0e0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #efefef;
  color: #333;
  padding-left: 1.25rem;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.dropdown > a::after {
  content: "▼";
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.site-nav a {
  font-weight: 500;
  display: inline-flex;
  padding-bottom: 0.2rem;
  position: relative;
  color: #333;
  transition: color 0.2s ease;
  align-items: center;
}

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

.site-nav a.active {
  color: var(--color-primary);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border: 1px solid #e0e0e0;
  margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}

.dropdown-menu li:last-child a {
  border-bottom: none;
}

.dropdown-menu a:hover {
  background: #efefef;
  color: #333;
  padding-left: 1.25rem;
}

.dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.dropdown > a::after {
  content: "▼";
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::after {
  transform: rotate(180deg);
}

.site-nav a {
  font-weight: 500;
  display: inline-flex;
  padding-bottom: 0.2rem;
  position: relative;
  color: #333;
  transition: color 0.2s ease;
  align-items: center;
}

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

.site-nav a.active {
  color: var(--color-primary);
}

.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: 2rem;
}

.phone-number {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #10b981;
  font-size: 1rem;
}

.quick-contact {
  position: relative;
}

.quick-contact .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  background: var(--color-primary);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quick-contact .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.8), transparent);
  transition: left 1.5s ease;
}

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

.quick-contact .btn:hover {
  background: #000000;
  color: white;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.9rem;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.quick-contact .btn:hover .btn-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

.call-module {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: none;
  min-width: 250px;
  z-index: 1000;
}

.quick-contact:hover .call-module {
  display: block;
}

.call-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.call-btn {
  width: 100%;
  padding: 0.5rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.call-btn:hover {
  background: var(--color-accent);
}

.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: #000;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.hero-slider {
  background: var(--color-dark);
  color: white;
  padding: 2rem 0 3rem;
  min-height: 80vh;
}

.hero-slider .slide-content {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  min-height: 60vh;
}

.hero-slider .slide-text {
  flex: 1;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-slider .slide-panel {
  flex: 0.75;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-panel h4 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.slide-panel ul {
  margin: 0;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.slide-panel li {
  margin-bottom: 0.35rem;
}

.hero-slider .slide-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.hero-slider .slide-actions .btn {
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
}

.slider-dots button.active {
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: auto;
    padding: 1rem 0 1.5rem;
  }

  .hero-slider .slide-content {
    flex-direction: column;
    min-height: auto;
    gap: 1.25rem;
  }

  .hero-slider .slide-text,
  .hero-slider .slide-panel {
    padding: 1.5rem;
    border-radius: 18px;
  }

  .hero-slider .slide-panel {
    flex: unset;
  }

  .hero-slider .slide-actions {
    flex-wrap: wrap;
  }
}

.slide {
  flex: 0 0 100%;
  position: relative;
  background-image: var(--slide-image);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: stretch;
  min-height: 80vh;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25));
}

.slide-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 2rem;
  padding: clamp(0.5rem, 3vh, 2.5rem) clamp(1.5rem, 8vw, 6rem);
  color: #fff;
}

.slide-panel {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px 0 0 30px;
  padding: 2rem;
  display: flex;
  justify-content: center;
}

.slide-panel img {
  max-width: 180px;
}

.slide-text h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

.slide-text p {
  max-width: 520px;
}

.slide-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-dark);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
}

.slider-dots button.active {
  background: var(--color-accent);
}

.intro-strip {
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  margin: -3rem auto 0;
  width: min(1100px, calc(100% - 3rem));
  padding: 2.5rem;
}

.intro-strip .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.stats {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
}

.stats div {
  text-align: center;
}

.stats dt {
  font-size: 2rem;
  font-weight: 700;
}

.stats dd {
  margin: 0;
  color: var(--color-muted);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.services {
  padding-top: 4rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.service-card {
  position: relative;
  min-height: 320px;
  background-image: var(--card-image);
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.5rem;
  isolation: isolate;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.8));
  transition: opacity 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.service-card:hover::after {
  opacity: 0.9;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card h3 { margin-top: auto; }

.card-with-media {
  display: grid;
  gap: 1rem;
}

.card-media {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.4));
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.card-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.card-with-media:hover .card-media img {
  transform: scale(1.05);
  filter: saturate(1.2);
}

.card-with-media:hover .card-media::after {
  opacity: 1;
}

.projects {
  background: #fff;
  padding: 4rem 0;
}

.projects .project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.project-grid article {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  background: var(--color-light);
}

.project-grid span {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-muted);
}

.contact-cta {
  background: linear-gradient(135deg, #0f161e, #1d2a3c);
  color: #fff;
  padding: 4rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
}

.cta-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
}

.cta-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cta-highlights li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-highlights li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-form {
  background: #fff;
  border-radius: 32px;
  padding: 2.5rem;
  color: var(--color-dark);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 45px 120px rgba(0, 0, 0, 0.18);
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  padding: 0.95rem 1.2rem;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  border-radius: 20px;
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(66, 255, 174, 0.2);
}

.contact-form .btn.primary {
  align-self: flex-start;
  padding-inline: 2.75rem;
}

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

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

@media (max-width: 640px) {
  .contact-form {
    padding: 1.75rem;
  }
}

.site-footer {
  background: #1c2125;
  color: var(--color-white);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  align-items: flex-start;
}

.footer-brand img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.75);
}

.footer-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.footer-list li,
.footer-list a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.footer-list a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.floating-cta {
  display: none;
}

@media (max-width: 768px) {
  .floating-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 0.25rem;
    padding: 0.5rem 0.5rem calc(0.5rem + env(safe-area-inset-bottom));
    background: transparent;
    backdrop-filter: none;
    z-index: 40;
  }

  .floating-cta a {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 0.35rem 0.75rem;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    text-transform: none;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }

  .floating-cta a span {
    display: none;
  }

  .floating-cta a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .floating-cta .cta-home { background: var(--color-dark); }
  .floating-cta .cta-phone { background: var(--color-primary); }
  .floating-cta .cta-whatsapp { background: #1faf54; }
  .floating-cta .cta-mail { background: var(--color-accent); }
  .floating-cta .cta-nav { background: #333; }
}

.page-hero {
  background: linear-gradient(135deg, rgba(13, 31, 15, 0.7), rgba(26, 127, 79, 0.7)),
    url('../images/hero-banner.jpg') center/cover;
  color: var(--color-white);
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-hero .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-panel {
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
}

.hero-panel ul {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .page-hero .hero-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.content-section {
  padding: 3rem 0;
}

.content-section .container {
  display: grid;
  gap: 2rem;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.timeline {
  border-left: 2px solid var(--border);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-panel {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-panel form {
  display: grid;
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.95rem;
}

input,
textarea {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: #fdfdfd;
}

.map-frame {
  border: none;
  min-height: 320px;
  border-radius: var(--radius);
  width: 100%;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1100px) {
  .nav-cta { display: none; }
}

@media (max-width: 900px) {
  .site-nav ul {
    position: absolute;
    right: 1.5rem;
    top: calc(100% + 0.5rem);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.96);
    transform-origin: top right;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav ul[data-open="true"] {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }
}

@media (max-width: 640px) {
  .stats { flex-direction: column; }
  .site-nav { margin-left: 0; }
  .floating-cta {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}
