about,
html {
  background-color: #034c25;
}

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 24px;
  right: 24px;
  background: #22c55e;
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.whatsapp-float:hover {
  filter: brightness(0.95);
}

.whatsapp-qr-box {
  position: fixed;
  right: 24px;
  bottom: 92px;
  width: 148px;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-qr-box.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-qr-img {
  width: 132px;
  height: 132px;
  border-radius: 8px;
  display: block;
}

.whatsapp-qr-label {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.whatsapp-qr-welcome {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #334155;
  text-align: center;
}

@media (max-width: 640px) {
  .whatsapp-qr-box {
    width: 120px;
    right: 16px;
    bottom: 86px;
    padding: 6px;
  }

  .whatsapp-qr-img {
    width: 106px;
    height: 106px;
  }

  .site-brand-logo {
    width: 3.1rem;
    height: 3.1rem;
  }

  .site-brand-tagline {
    display: none;
  }
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: #f8fafc;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.site-brand-logo {
  width: 3.8rem;
  height: 3.8rem;
  object-fit: cover;
  border-radius: 9999px;
  background: #ffffff;
  padding: 0.12rem;
  box-shadow: 0 8px 18px rgba(2, 44, 34, 0.35);
  flex-shrink: 0;
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.site-brand:hover,
.site-brand:focus {
  color: #ffffff;
  transform: translateY(-1px);
  filter: drop-shadow(0 8px 14px rgba(16, 185, 129, 0.2));
}

.site-brand:focus-visible {
  outline: 2px solid rgba(52, 211, 153, 0.95);
  outline-offset: 4px;
  border-radius: 10px;
}

.site-brand-mark {
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, #10b981, #065f46);
  color: #ffffff;
  font-size: 0.88rem;
  box-shadow: 0 8px 16px rgba(2, 44, 34, 0.4);
}

.site-brand-name {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: #f8fafc;
  text-shadow: 0 2px 8px rgba(15, 23, 42, 0.5);
}

.site-brand-tagline {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.site-brand-accent {
  margin-left: 0.18rem;
  color: #6ee7b7;
}

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

.footer-brand-logo {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: cover;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  padding: 0.12rem;
}

.hero-title-slide-left {
  opacity: 0;
  transform: translateX(-48px);
  animation: heroSlideLeftIn 0.42s ease-out forwards;
}

.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  text-decoration: none;
  line-height: 1.1;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.26);
}

.hero-cta-primary {
  color: #ffffff;
  border: 2px solid transparent;
  background-image: linear-gradient(90deg, #10b981, #059669);
}

.hero-cta-primary:hover,
.hero-cta-primary:focus {
  color: #ffffff;
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.hero-cta-secondary {
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(2px);
}

.hero-cta-secondary:hover,
.hero-cta-secondary:focus {
  color: #0f172a;
  background-color: #ffffff;
  transform: translateY(-2px);
}

.hero-cta-btn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
  color: #ecfdf5;
  text-align: center;
  pointer-events: auto;
  animation: loaderHide 3s linear forwards;
}

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

.loader-logo {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 0.25rem solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: logoPulse 2.5s ease-in-out infinite alternate;
}

.loader-text {
  margin: 0;
  font-size: 1rem;
  max-width: 24rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #d1fae5;
}

@keyframes loaderHide {
  0%, 99.999% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

@keyframes logoPulse {
  from {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(16, 185, 129, 0));
  }
  to {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(16, 185, 129, 0.6));
  }
}


@keyframes heroSlideLeftIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-up-card {
  opacity: 0;
  transform: translateY(60px);
}

.slide-up-card.is-visible {
  animation: slideUp 0.6s ease forwards;
}

.hero-slide.is-visible {
  animation: slideUp 0.72s ease forwards;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid .slide-up-card:nth-child(1) { animation-delay: 0.05s; }
.services-grid .slide-up-card:nth-child(2) { animation-delay: 0.1s; }
.services-grid .slide-up-card:nth-child(3) { animation-delay: 0.15s; }
.services-grid .slide-up-card:nth-child(4) { animation-delay: 0.2s; }
.services-grid .slide-up-card:nth-child(5) { animation-delay: 0.25s; }
.services-grid .slide-up-card:nth-child(6) { animation-delay: 0.3s; }

.services-page-grid .slide-up-card:nth-child(1) { animation-delay: 0.05s; }
.services-page-grid .slide-up-card:nth-child(2) { animation-delay: 0.1s; }
.services-page-grid .slide-up-card:nth-child(3) { animation-delay: 0.15s; }

.services-intro-box {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 18px;
  padding: 1.2rem 1rem;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.services-intro-slide-right {
  opacity: 0;
  transform: translateX(60px);
  animation: servicesSlideInRight 0.62s ease-out forwards;
}

@keyframes servicesSlideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.faq-hover-animate {
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.faq-hover-animate:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 14px 30px rgba(6, 78, 59, 0.35);
}

.faq-hover-animate > summary {
  transition: background-color 0.2s ease;
}

.faq-hover-animate > div {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.faq-hover-animate[open] > div {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: hover) {
  .services-grid .service-gradient-card {
    transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
  }

  .services-grid .service-gradient-card:hover {
    transform: translateY(-6px) scale(1.01);
    filter: saturate(1.12) brightness(1.06);
  }

  .services-grid:hover > .service-gradient-card:not(:hover) {
    filter: blur(1.8px) saturate(0.85);
    transform: scale(0.97);
    opacity: 0.8;
  }

  .services-grid .service-card img {
    transform: scale(1.08);
    transition: transform 0.4s ease;
  }

  .services-grid .service-gradient-card:hover .service-card img {
    transform: scale(1);
  }

  .services-grid .service-card {
    transition: box-shadow 0.25s ease;
  }

  .services-grid .service-gradient-card:hover .service-card {
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.22);
  }
}

.faq-pop-btn.btn {
  border: 0;
  color: #fff;
  font-weight: 600;
  border-radius: 14px;
  padding: 0.8rem 1rem;
  background-image: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.faq-pop-btn.btn:hover,
.faq-pop-btn.btn:focus {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.contact-input {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-input:focus {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
  outline: none;
}

.contact-submit-btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-submit-btn:hover,
.contact-submit-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(6, 95, 70, 0.24);
}

.project-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card-image {
  transition: transform 0.4s ease;
}

.project-card-title {
  color: #0f172a;
  line-height: 1.2;
}

.project-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
}

.project-card-description {
  line-height: 1.65;
  color: #475569;
}

.map-section-wrap {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.map-video-section {
  background-color: #0f172a;
}

.map-section-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.map-section-inner {
  position: relative;
  z-index: 2;
}

.map-details-shell {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(3px);
  border-radius: 1rem;
  padding: 1.25rem;
}

.map-lead-copy {
  opacity: 0.95;
}

.map-eyebrow {
  color: #f8fafc !important;
  text-shadow: 0 2px 8px rgba(2, 6, 23, 0.6);
}

.map-focus-btn {
  width: 100%;
  max-width: 420px;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(255, 255, 255, 0.94);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.map-focus-btn:hover,
.map-focus-btn:focus {
  transform: translateY(-1px);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.map-focus-pin {
  font-size: 1rem;
}

.map-focus-title {
  color: #0f172a;
}

.map-focus-subtitle {
  line-height: 1.35;
}

.map-card {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
}

.about-team-map-bg {
  background-image: linear-gradient(rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.92)), url('/static/images/geographical.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero-copy {
  opacity: 0;
  animation: aboutFadeIn 0.9s ease 0.22s forwards;
}

.about-accent-surface {
  background-image: radial-gradient(circle at 6% 5%, rgba(16, 185, 129, 0.08), transparent 36%), radial-gradient(circle at 96% 12%, rgba(14, 165, 233, 0.07), transparent 38%);
}

.about-title-accent {
  background-image: linear-gradient(90deg, #065f46, #0f766e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.about-pillar-card {
  border-color: rgba(16, 185, 129, 0.2);
}

.about-pillar-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
}

.about-pillars-grid .slide-up-card:nth-child(1) { animation-delay: 0.05s; }
.about-pillars-grid .slide-up-card:nth-child(2) { animation-delay: 0.14s; }
.about-pillars-grid .slide-up-card:nth-child(3) { animation-delay: 0.23s; }

.about-team-card {
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.about-team-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

@keyframes aboutFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-services-compact .service-card img {
  height: 8rem !important;
}

.home-services-compact .service-card .p-4,
.home-services-compact .service-card .p-6 {
  padding: 0.75rem !important;
}

.home-services-compact .service-card h3 {
  font-size: 1rem;
  line-height: 1.3;
}

.home-services-compact .service-card p {
  font-size: 0.82rem;
  line-height: 1.35;
}

.home-services-tight .services-grid {
  align-items: stretch;
}

.home-services-tight .service-gradient-card {
  height: 100%;
}

.home-services-tight .service-card {
  height: 100%;
  min-height: 255px;
}

.home-services-tight .service-card img {
  height: 5rem !important;
}

.home-services-tight .service-card .p-4,
.home-services-tight .service-card .p-6 {
  padding: 0.65rem !important;
}

.home-services-tight .service-card h3 {
  font-size: 0.95rem !important;
  line-height: 1.25;
  margin-bottom: 0.35rem !important;
}

.home-services-tight .service-card p {
  font-size: 0.78rem !important;
  line-height: 1.3;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (hover: hover) {
  .projects-grid .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.16);
  }

  .projects-grid .project-card:hover .project-card-image {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-grid .service-gradient-card {
    animation: none;
    transform: none;
  }

  .slide-up-card {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .slide-up-card.is-visible {
    animation: none;
  }

  .hero-title-slide-left {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .project-card,
  .project-card-image {
    transition: none;
    transform: none;
  }

  .map-section-video {
    display: none;
  }

  .map-video-section {
    background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.75)), url('/static/images/geographical.png');
    background-size: cover;
    background-position: center;
  }
}

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
    font-size: 22px;
  }

  .site-nav-inner {
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .site-brand {
    max-width: calc(100% - 54px);
  }

  .site-brand-name {
    font-size: 1rem;
  }

  .site-brand-mark {
    width: 1.58rem;
    height: 1.58rem;
    font-size: 0.78rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .site-nav-links {
    width: 100%;
    display: none !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding-top: 0.5rem;
  }

  .site-nav-links a {
    display: block;
    width: 100%;
  }

  .site-nav-links.is-open {
    display: flex !important;
  }

  .hero-bg {
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center top;
    min-height: auto;
    height: auto;
    padding: 4.5rem 0 2.5rem;
  }

  .hero-title-slide-left {
    font-size: 2.25rem;
    line-height: 1.08;
  }

  .hero-cta-group {
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-cta-group a {
    width: 100%;
  }

  .hero-cta-btn {
    min-width: 0;
  }

  .services-grid {
    gap: 1rem;
  }

  .service-card img {
    height: 10rem !important;
  }

  .service-card .p-6 {
    padding: 1rem;
  }

  .faq-pop-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .carousel-slide {
    height: 20rem !important;
  }

  .carousel-slide > div:last-child {
    padding: 1rem;
    max-width: 100%;
  }

  .map-container {
    height: 320px;
  }

  .contact-form-shell {
    padding: 1.25rem;
  }

  .faq-popover-group {
    width: 100%;
  }

  .faq-pop-btn.btn {
    width: 100%;
  }
}
