:root {
  --primary: #0f766e;
  --primary-dark: #0a4f4a;
  --bg: #f5f8fb;
  --text: #1f2937;
  --muted: #5b6472;
  --white: #ffffff;
  --card: #eef3f8;
  --shadow: 0 14px 30px rgba(15, 118, 110, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent !important;
  border-bottom: 1px solid transparent !important;
  backdrop-filter: none !important;
  transition: transform 0.28s ease, opacity 0.28s ease, background 0.25s ease, border-color 0.25s ease;
}

.header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header.scrolled {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 128px;
  max-width: 100%;
}

.brand {
  padding: 10px 0;
}

.menu {
  display: flex;
  gap: 22px;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  transition: color 0.2s, text-shadow 0.2s;
}

.menu a:hover {
  color: #d1fae5;
}

.header.scrolled .menu a {
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.header.scrolled .menu a:hover {
  color: #d1fae5;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.header.scrolled .menu-toggle {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding-top: calc(110px + env(safe-area-inset-top));
  padding-bottom: 56px;
  background: url("back-hero.jpg") center/cover no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(7, 43, 62, 0.9), rgba(15, 118, 110, 0.45));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 720px;
}

.badge,
.section-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2rem, 4.1vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 14px;
}

.hero p {
  font-size: 1.05rem;
  max-width: 640px;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--white);
}

.section-tag {
  background: #dff6f3;
  border: 1px solid #b5ebe5;
  color: var(--primary-dark);
}

h2 {
  font-size: clamp(1.65rem, 3.4vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.cards {
  display: grid;
  gap: 14px;
}

.mini-card,
.service-card,
.testimonial-grid blockquote,
.faq-list details {
  background: var(--white);
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  padding: 20px;
}

.mini-card h3 {
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.card-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--card);
}

.service-card h3 {
  margin-bottom: 8px;
}

.highlights {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.highlights div {
  background: linear-gradient(180deg, #0f766e 0%, #0a4f4a 100%);
  color: var(--white);
  border-radius: 16px;
  padding: 22px;
}

.highlights h3 {
  margin-bottom: 6px;
}

.testimonial-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testimonial-grid blockquote {
  background: #f8fafc;
}

.testimonial-grid cite {
  display: block;
  margin-top: 10px;
  color: var(--primary-dark);
  font-style: normal;
  font-weight: 600;
}

.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin-top: 8px;
  color: var(--muted);
}

.map-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 18px;
}

.units-map {
  width: 100%;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #dbe2ea;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.map-popup {
  display: grid;
  gap: 6px;
}

.map-wa-link {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.84rem;
}

.map-wa-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.units-intro {
  max-width: 760px;
  color: var(--muted);
  margin-bottom: 22px;
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.unit-card {
  background: var(--white);
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.unit-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.unit-body {
  padding: 16px;
}

.unit-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.chip {
  background: #e8f3f1;
  color: var(--primary-dark);
  border: 1px solid #cbe7e3;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}

.unit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.unit-card p {
  color: var(--muted);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.unit-card .btn {
  width: 100%;
}

.assistant-highlight {
  margin-top: 30px;
}

.assistant-intro {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 16px;
}

.assistant-card {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px;
  border: 1px solid #dbe2ea;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.assistant-card img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #f4f7fb;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.1);
}

.assistant-card-info h3 {
  margin-bottom: 6px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.assistant-role {
  color: var(--primary);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  margin-bottom: 6px;
}

.assistant-meta {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.3rem);
}

.assistant-call-btn {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #2563eb, #1d4ed8);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.assistant-call-btn:hover {
  background: linear-gradient(180deg, #3b82f6, #1d4ed8);
}

.cta {
  background: linear-gradient(120deg, #072b3e, #0f766e);
  color: var(--white);
}

.cta .section-tag {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.15);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-copy {
  max-width: 720px;
}

.cta-proof {
  margin-top: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.cta-action {
  min-width: 320px;
  display: grid;
  gap: 8px;
}

.cta-main-btn {
  font-size: 1.02rem;
  padding: 15px 24px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  box-shadow: 0 16px 34px rgba(34, 197, 94, 0.36);
  animation: ctaPulse 2.1s ease-in-out infinite;
}

.cta-main-btn:hover {
  background: linear-gradient(180deg, #34d399, #16a34a);
  box-shadow: 0 20px 38px rgba(34, 197, 94, 0.44);
}

.cta-action small {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

.footer {
  background: #0f172a;
  color: #cfd6e4;
  padding: 28px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.93rem;
}

.footer-signature {
  width: 100%;
  text-align: center;
}

.footer-signature-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.whatsapp-widget {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  background: linear-gradient(180deg, #22c55e, #16a34a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  color: #04321a;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.5);
}

.whatsapp-float-btn svg {
  width: 28px;
  height: 28px;
}

.whatsapp-bubble {
  position: relative;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.93));
  border-radius: 16px 16px 16px 6px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.3);
  max-width: 290px;
  margin-bottom: 12px;
  padding: 14px 34px 14px 14px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.whatsapp-bubble.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-bubble::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 12px solid rgba(15, 23, 42, 0.95);
}

.whatsapp-bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-bubble-close:hover {
  color: rgba(255, 255, 255, 0.94);
}

.whatsapp-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
}

.whatsapp-typing .w-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: wappDot 1.2s ease-in-out infinite both;
}

.whatsapp-typing .w-dot:nth-child(1) {
  background: #22c55e;
  animation-delay: 0s;
}

.whatsapp-typing .w-dot:nth-child(2) {
  background: rgba(34, 197, 94, 0.75);
  animation-delay: 0.2s;
}

.whatsapp-typing .w-dot:nth-child(3) {
  background: rgba(34, 197, 94, 0.56);
  animation-delay: 0.4s;
}

@keyframes wappDot {
  0%,
  80%,
  100% {
    transform: scale(0.75);
    opacity: 0.7;
  }
  40% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.whatsapp-message {
  font-size: 0.92rem;
  color: rgba(248, 250, 252, 0.94);
  line-height: 1.45;
  min-height: 20px;
  display: none;
}

.whatsapp-message.visible {
  display: block;
}

.whatsapp-typing.hidden {
  display: none;
}

@media (max-width: 1200px) {
  .nav {
    gap: 14px;
  }

  .menu {
    gap: 12px;
  }

  .menu a {
    font-size: 0.94rem;
  }

  .section {
    padding: 72px 0;
  }

  .units-map {
    height: 470px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(1120px, 94%);
  }

  .nav {
    min-height: 72px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(7, 43, 62, 0.96);
    border-bottom: 1px solid #e5e8ef;
    padding: 16px 4%;
    flex-direction: column;
    gap: 12px;
  }

  .menu a {
    color: var(--white);
    text-shadow: none;
  }

  .brand img {
    width: 116px;
  }

  .brand {
    padding: 14px 0;
  }

  .menu.open {
    display: flex;
  }

  .grid-2,
  .card-grid,
  .units-grid,
  .highlights,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .units-map {
    height: 430px;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(150px + env(safe-area-inset-top));
    padding-bottom: 74px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .assistant-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .assistant-card img {
    width: 132px;
    height: 132px;
  }

  .assistant-card-info h3 {
    font-size: 1.45rem;
  }

  .assistant-role {
    font-size: 1.08rem;
  }

  .assistant-meta {
    font-size: 1rem;
  }

  .cta-action {
    width: 100%;
    min-width: 0;
  }

  .cta-action .btn {
    width: 100%;
  }

  .whatsapp-widget {
    bottom: 16px;
    right: 16px;
  }

  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }

  .whatsapp-bubble {
    max-width: 250px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 0;
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(164px + env(safe-area-inset-top));
    padding-bottom: 88px;
  }

  .hero p,
  .units-intro,
  .map-intro,
  .assistant-intro {
    font-size: 0.96rem;
  }

  .btn {
    width: 100%;
  }

  .units-map {
    height: 360px;
    border-radius: 14px;
  }

  .assistant-card {
    padding: 14px;
    gap: 14px;
  }

  .assistant-card img {
    width: 108px;
    height: 108px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(1120px, 95%);
  }

  .brand img {
    width: 106px;
  }

  .brand {
    padding: 16px 0;
  }

  .menu-toggle {
    padding: 8px 12px;
    font-size: 0.9rem;
  }

  .hero h1 {
    font-size: clamp(1.65rem, 8vw, 2rem);
  }

  .hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(172px + env(safe-area-inset-top));
    padding-bottom: 96px;
  }

  .units-map {
    height: 320px;
  }

  .whatsapp-widget {
    bottom: 12px;
    right: 12px;
  }

  .whatsapp-bubble {
    max-width: 215px;
    padding: 12px 30px 12px 12px;
  }
}
