:root {
  --teal: #35bfb5;
  --teal-dark: #137a77;
  --teal-soft: #e7fbf8;
  --aqua-light: #f3fffd;
  --gray: #74797d;
  --ink: #173132;
  --muted: #637171;
  --white: #ffffff;
  --line: #d9eeee;
  --shadow: 0 18px 46px rgba(19, 122, 119, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #f7fffd 0%, #ffffff 42%, #f3fbfa 100%);
}

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

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

.site-header {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background:
    linear-gradient(112deg, rgba(53, 191, 181, 0.16) 0 22%, transparent 22% 100%),
    linear-gradient(135deg, #ffffff 0%, #ecfbf8 58%, #d7f4ef 100%);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--teal-dark);
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: contain;
  background: var(--white);
  padding: 5px;
  box-shadow: 0 8px 26px rgba(23, 49, 50, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(19, 122, 119, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(19, 122, 119, 0.08);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.nav-links .nav-cta {
  background: var(--teal-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(23, 49, 50, 0.12);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--teal-dark);
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 48px;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 42px 0 84px;
}

.hero-content {
  max-width: 760px;
}

.logo-card {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  margin-bottom: 26px;
  border: 1px solid rgba(19, 122, 119, 0.14);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.logo-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-text {
  max-width: 690px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.72;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  background: var(--teal-dark);
  color: var(--white);
  box-shadow: 0 16px 35px rgba(19, 122, 119, 0.28);
}

.btn.secondary {
  background: var(--white);
  color: var(--teal-dark);
  border-color: rgba(19, 122, 119, 0.18);
}

.btn.ghost {
  background: transparent;
  color: var(--teal-dark);
  border-color: rgba(19, 122, 119, 0.26);
}

.hero-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(19, 122, 119, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.panel-row {
  padding: 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f0fffc);
  border: 1px solid var(--line);
}

.panel-row span {
  display: block;
  margin-bottom: 8px;
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-row a,
.panel-row p {
  margin: 0;
  color: var(--teal-dark);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(19, 122, 119, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-visual > img {
  width: 100%;
  height: 588px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--aqua-light);
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.centered {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(19, 122, 119, 0.08);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.intro-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-weight: 900;
}

.intro-grid h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.services {
  width: 100%;
  max-width: none;
  padding: 96px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, #e9fbf7, #ffffff);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.service-card {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(19, 122, 119, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(19, 122, 119, 0.08);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card span {
  display: block;
  margin-bottom: 14px;
  color: var(--teal-dark);
  font-size: 1.05rem;
  font-weight: 900;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  margin: 0;
  border-radius: 8px;
  background: var(--teal-soft);
  box-shadow: 0 16px 36px rgba(19, 122, 119, 0.1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 774px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f4fbfa;
}

.contact {
  padding-top: 36px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(19, 122, 119, 0.92), rgba(53, 191, 181, 0.86)),
    var(--teal-dark);
  color: var(--white);
  box-shadow: var(--shadow);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-enabled .intro-grid article,
.js-enabled .service-card,
.js-enabled .gallery-item,
.js-enabled .contact-card {
  opacity: 0;
  transform: translateY(18px);
}

.intro-grid article.is-visible,
.service-card.is-visible,
.gallery-item.is-visible,
.contact-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-card .eyebrow,
.contact-card h2,
.contact-card p {
  color: var(--white);
}

.contact-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.contact-text {
  margin: 18px 0 0;
  line-height: 1.7;
}

.contact-card .btn.secondary {
  color: var(--teal-dark);
}

.contact-card .btn.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 52px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #20b45b;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(32, 180, 91, 0.32);
}

.footer {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 44px 16px 72px;
  text-align: center;
  color: var(--muted);
}

.footer img {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.footer p {
  margin: 0;
  color: var(--teal-dark);
  font-weight: 900;
}

.footer span {
  line-height: 1.5;
}

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

  .hero-panel {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-visual > img {
    height: min(680px, 74vh);
  }

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

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

  .gallery-item.large {
    grid-row: auto;
    min-height: 520px;
  }

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

@media (max-width: 760px) {
  .navbar {
    align-items: flex-start;
  }

  .brand span {
    max-width: 170px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
  }

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

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.7rem);
  }

  .logo-card {
    width: 96px;
    height: 96px;
  }

  .logo-card img {
    width: 76px;
    height: 76px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro-grid,
  .service-list,
  .gallery {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 68px 0;
  }

  .services {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .gallery-item,
  .gallery-item.large {
    min-height: 520px;
  }

  .contact-card {
    padding: 28px;
    border-radius: 8px;
  }

  .floating-whatsapp {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .footer {
    padding-bottom: 92px;
  }
}

@media (max-width: 420px) {
  .gallery-item,
  .gallery-item.large {
    min-height: 460px;
  }

  .panel-row {
    padding: 16px;
  }
}
