*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #263238;
  background-color: #f5f7f8;
  line-height: 1.6;
}

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

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  padding: 4rem 0;
  background: #e8f8f6;
}

.section h2 {
  margin-top: 0;
  font-size: 2rem;
  color: #006d72;
}

.section-intro {
  max-width: 640px;
  margin: 0.5rem auto 2rem;
  text-align: center;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

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

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-weight: 700;
  font-size: 1.05rem;
  color: #006d72;
}

.logo-sub {
  font-size: 0.7rem;
  color: #607d8b;
}

.main-nav {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: #00b8a9;
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #006d72;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */

.hero {
  position: relative;
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 104, 116, 0.86), rgba(0, 220, 190, 0.7));
}

.hero-content {
  position: relative;
  padding: 5rem 0 4rem;
}

.hero-text {
  max-width: 620px;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  margin: 0 0 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.hero-list li::before {
  content: "★";
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

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

.hero-phone {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn.primary {
  background: #00b8a9;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 123, 108, 0.35);
}

.btn.primary:hover {
  background: #009387;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 123, 108, 0.4);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn.full-width {
  width: 100%;
}

.cta-centered {
  text-align: center;
  margin-top: 2rem;
}

/* Layout blocks */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.text-block p {
  margin-top: 0;
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.icon-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.4rem;
}

.icon-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.35rem;
  font-size: 0.45rem;
  color: #00b8a9;
}

.image-stack {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

.stack-img {
  border-radius: 18px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.stack-img.top {
  position: absolute;
  top: -12%;
  left: 8%;
  width: 72%;
  border: 4px solid #ffffff;
}

.stack-img.bottom {
  width: 88%;
  margin-left: auto;
}

/* Cards */

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

.card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem 1.2rem 1.4rem;
  font-size: 0.9rem;
}

.card-body h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: #006d72;
}

.card-body ul {
  padding-left: 1.1rem;
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
}

/* Gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
}

.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

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

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 200;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
}

.lightbox img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  color: #333;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Redes */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-card {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.social-card.fb {
  background: #e7f0ff;
  color: #1b4fa3;
}

.social-card.ig {
  background: #ffe9fb;
  color: #a1226a;
}

.social-embeds {
  display: flex;
  justify-content: center;
}

.fb-embed iframe {
  border-radius: 12px;
  background: #ffffff;
}

/* Video */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Contact */

.form-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.form-block h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #006d72;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #cfd8dc;
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-family: inherit;
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid #00b8a9;
  outline-offset: 1px;
  border-color: transparent;
}

.form-note {
  font-size: 0.8rem;
  color: #607d8b;
  margin-top: 0.75rem;
}

.cta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* WhatsApp floating button */

.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #00bfa5;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  z-index: 210;
}

.whatsapp-float .wa-icon {
  font-size: 1.5rem;
}

.whatsapp-float:hover {
  background: #009e86;
}

/* Footer */

.site-footer {
  padding: 1.5rem 0 2rem;
  background: #004d4f;
  color: #e0f2f1;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a {
  color: #a5f5ea;
}

/* Responsive */

@media (max-width: 960px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .image-stack {
    max-width: 100%;
  }

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

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

@media (max-width: 768px) {
  .header-content {
    padding: 0.4rem 0;
  }

  .main-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: rgba(255, 255, 255, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.6rem 4%;
    gap: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .main-nav.open {
    max-height: 260px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 4.5rem 0 3rem;
  }

  .hero-text {
    max-width: 100%;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

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

  .social-embeds {
    margin-top: 1.5rem;
  }
}

@media (max-width: 520px) {
  .hero-list {
    font-size: 0.9rem;
  }

  .gallery-item img {
    height: 140px;
  }
}
