:root {
  --deep: #004c48;
  --green: #007f76;
  --orange: #f58220;
  --lime: #9cc52b;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
}

::selection {
  background: var(--lime);
  color: var(--deep);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #e9efeb;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #e9efeb;
  border-radius: 999px;
  background: var(--green);
}

#header.header-hidden {
  transform: translateY(-120%);
}

.brand-symbol {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  transform: rotate(-18deg);
}

.brand-symbol i {
  position: absolute;
  width: 24px;
  height: 12px;
  border-radius: 20px 20px 5px 20px;
  transform-origin: 6px 6px;
}

.brand-symbol i:nth-child(1) {
  left: 14px;
  top: 1px;
  background: #ffd100;
  transform: rotate(8deg);
}

.brand-symbol i:nth-child(2) {
  left: 22px;
  top: 18px;
  background: #75be24;
  transform: rotate(128deg);
}

.brand-symbol i:nth-child(3) {
  left: 3px;
  top: 23px;
  background: #f58220;
  transform: rotate(244deg);
}

.brand-symbol-small {
  width: 34px;
  height: 34px;
  transform: rotate(-18deg) scale(.82);
}

.nav-link {
  position: relative;
  padding: 26px 0;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
  font-weight: 600;
  transition: color .25s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  background: var(--lime);
  content: '';
  transform: scaleX(0);
  transition: transform .25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.whatsapp-button {
  align-items: center;
  gap: .55rem;
  border-radius: 999px;
  background: var(--orange);
  padding: .8rem 1.2rem;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(245, 130, 32, .25);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(245, 130, 32, .38);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger i {
  display: block;
  width: 21px;
  height: 2px;
  border-radius: 9px;
  background: #fff;
  transition: transform .3s ease, opacity .3s ease;
}

#menuToggle.is-open .hamburger i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#menuToggle.is-open .hamburger i:nth-child(2) {
  opacity: 0;
}

#menuToggle.is-open .hamburger i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s ease, opacity .3s ease;
}

.mobile-menu.is-open {
  max-height: 430px;
  opacity: 1;
}

.mobile-menu nav > a:not(:last-child) {
  border-radius: .75rem;
  padding: .8rem 1rem;
  color: rgba(255, 255, 255, .8);
  font-weight: 600;
}

.hero {
  background-image: linear-gradient(90deg, rgba(0, 45, 43, .92) 0%, rgba(0, 62, 59, .7) 45%, rgba(0, 34, 32, .28) 100%), url('img/6.jpeg');
  background-position: center;
  background-size: cover;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 25%;
  background: linear-gradient(to top, rgba(0, 46, 43, .45), transparent);
  content: '';
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(4px);
  opacity: .5;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb-one {
  top: 20%;
  right: 8%;
  width: 180px;
  height: 180px;
  background: rgba(156, 197, 43, .15);
}

.hero-orb-two {
  bottom: 12%;
  left: -70px;
  width: 220px;
  height: 220px;
  background: rgba(245, 130, 32, .18);
  animation-delay: -3s;
}

@keyframes floatOrb {
  50% { transform: translate3d(20px, -25px, 0) scale(1.08); }
}

.text-gradient {
  background: linear-gradient(90deg, #b5db3b, #f7c74d, #ff9b42);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-primary,
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  border-radius: 999px;
  padding: 1rem 1.6rem;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.cta-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 15px 35px rgba(245, 130, 32, .3);
}

.cta-primary:hover,
.cta-secondary:hover {
  transform: translateY(-3px);
}

.cta-secondary {
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  backdrop-filter: blur(14px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, .18);
}

.metric-card {
  display: flex;
  min-height: 105px;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, .1);
  padding: 1rem;
  color: #fff;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px);
}

.metric-card strong {
  font-family: Manrope, sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.metric-card span {
  margin-top: .5rem;
  color: rgba(255, 255, 255, .7);
  font-size: .72rem;
  line-height: 1.3;
}

.scroll-indicator {
  position: absolute;
  z-index: 20;
  bottom: 26px;
  left: 50%;
  display: none;
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: #fff;
  transform: translateX(-50%);
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  70% { opacity: 0; transform: translate(-50%, 15px); }
}

.section-space {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  background: var(--orange);
  content: '';
}

.eyebrow-light {
  color: #b9d84a;
}

.section-title {
  margin-top: 1rem;
  color: var(--deep);
  font-family: Manrope, sans-serif;
  font-size: clamp(2.15rem, 4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.section-title span {
  color: var(--orange);
}

.image-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 2rem;
  box-shadow: 0 35px 80px rgba(0, 76, 72, .17);
}

.image-frame::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: inherit;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .12);
  content: '';
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.floating-note {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, .82);
  padding: .9rem 1.1rem;
  box-shadow: 0 20px 50px rgba(0, 76, 72, .15);
  backdrop-filter: blur(18px);
}

.quality-pill {
  border: 1px solid rgba(0, 127, 118, .16);
  border-radius: 999px;
  background: rgba(0, 127, 118, .06);
  padding: .55rem 1rem;
  color: var(--deep);
  font-size: .82rem;
  font-weight: 700;
}

.decor-circle {
  position: absolute;
  border: 1px solid rgba(0, 127, 118, .08);
  border-radius: 999px;
}

.decor-circle-one {
  top: -220px;
  right: -180px;
  width: 520px;
  height: 520px;
  box-shadow: inset 0 0 0 70px rgba(156, 197, 43, .025);
}

.service-bg {
  background-color: var(--deep);
  background-image: radial-gradient(circle at 15% 20%, rgba(53, 201, 194, .16), transparent 30%), radial-gradient(circle at 90% 80%, rgba(245, 130, 32, .13), transparent 28%);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, .085);
  padding: 2rem;
  color: #fff;
  backdrop-filter: blur(16px);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .13);
  transform: translateY(-10px);
}

.service-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: '';
}

.service-icon {
  display: flex;
  width: 78px;
  height: 78px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, .1);
}

.service-icon svg {
  margin: 0;
}

.card-number {
  position: absolute;
  top: 1.8rem;
  right: 1.8rem;
  color: rgba(255, 255, 255, .16);
  font-family: Manrope, sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
}

.service-card h3 {
  margin-top: 3.2rem;
  font-family: Manrope, sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
}

.service-card p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, .68);
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 260px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: #dfe8e4;
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  inset: 30% 0 0;
  background: linear-gradient(to top, rgba(0, 43, 40, .78), transparent);
  content: '';
  opacity: .85;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.gallery-item span {
  position: absolute;
  z-index: 2;
  right: 1.3rem;
  bottom: 1.2rem;
  left: 1.3rem;
  color: #fff;
  font-family: Manrope, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
}

.contact-wrap {
  box-shadow: 0 35px 80px rgba(0, 76, 72, .14);
}

.contact-list {
  display: grid;
  gap: 1.2rem;
}

.contact-list div {
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  padding-bottom: 1.05rem;
}

.contact-list dt {
  margin-bottom: .3rem;
  color: rgba(255, 255, 255, .52);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact-list dd {
  color: rgba(255, 255, 255, .92);
  line-height: 1.55;
}

footer a,
footer button {
  transition: color .2s ease;
}

footer a:hover,
footer button:hover {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  z-index: 40;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
  transition: transform .25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-5px) scale(1.04);
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  visibility: hidden;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 35, 33, .78);
  backdrop-filter: blur(10px);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 90vh;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 1.75rem;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  transform: translateY(25px) scale(.98);
  transition: transform .35s ease;
}

.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close,
.lightbox-close {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: #edf3ef;
  color: var(--deep);
}

.lightbox img {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .45);
}

.lightbox-close {
  position: fixed;
  z-index: 3;
  top: 1.2rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .95);
  color: var(--deep);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .section-space {
    padding: 8rem 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .gallery-tall {
    grid-row: span 2;
  }

  .scroll-indicator {
    display: block;
  }
}

@media (max-width: 767px) {
  .hero {
    background-image: linear-gradient(180deg, rgba(0, 55, 51, .55) 0%, rgba(0, 45, 42, .96) 68%, rgba(0, 45, 42, 1) 100%), url('img/6.jpeg');
    background-position: 58% center;
  }

  .metric-card {
    min-height: 96px;
    padding: .85rem;
  }

  .metric-card strong {
    font-size: 1.35rem;
  }

  .metric-card span {
    font-size: .64rem;
  }

  .floating-note {
    right: -.4rem;
    bottom: 1.25rem;
  }

  .service-card {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
