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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Josefin Sans", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #0F172A;
  background: #F0FDFA;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 16px;
  color: #0F172A;
}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
  font-style: italic;
  color: #0a5c58;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.2rem, 5vw + 0.5rem, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
}

h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.6rem);
  font-weight: 600;
}

h4 {
  font-size: 1.05rem;
  font-family: "Josefin Sans", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a5c58;
}

p {
  margin: 0 0 16px;
  color: #475569;
}

a {
  color: #0a5c58;
  text-decoration: none;
  transition: color 150ms cubic-bezier(0.33, 0, 0.67, 1);
}

a:hover {
  color: #073b37;
}

a:focus-visible {
  outline: 2px solid #0369A1;
  outline-offset: 2px;
  border-radius: 4px;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 860px) {
  .container {
    padding: 0 16px;
  }
}

.eyebrow {
  display: inline-block;
  font-family: "Josefin Sans", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0a5c58;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: rgba(10, 92, 88, 0.12);
  border: 1px solid rgba(10, 92, 88, 0.28);
  border-radius: 9999px;
}

/* ============================= BUTTONS ============================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.95rem;
  touch-action: manipulation;
  font-weight: 600;
  font-family: "Josefin Sans", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 0.03em;
  border-radius: 8px;
  transition: transform 150ms cubic-bezier(0.1, 0.9, 0.2, 1),
              box-shadow 200ms cubic-bezier(0.33, 0, 0.67, 1),
              background-color 150ms cubic-bezier(0.33, 0, 0.67, 1),
              color 150ms cubic-bezier(0.33, 0, 0.67, 1);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn:active {
  transform: scale(0.97);
}

.btn:focus-visible {
  outline: 2px solid #0369A1;
  outline-offset: 2px;
  border-radius: 4px;
}

.btn svg {
  flex-shrink: 0;
}

.btn--primary {
  background: #0369A1;
  color: #fff;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.2), 0 1px 2px rgba(3, 105, 161, 0.12);
}

.btn--primary:hover {
  background: #025a96;
  box-shadow: 0 6px 16px rgba(3, 105, 161, 0.28), 0 2px 4px rgba(3, 105, 161, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.btn--primary:active {
  transform: translateY(0) scale(0.97);
  background: #0c4a7a;
  box-shadow: 0 1px 4px rgba(3, 105, 161, 0.2);
}

.btn--secondary {
  background: rgba(10, 92, 88, 0.08);
  color: #0a5c58;
  border-color: rgba(10, 92, 88, 0.35);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.btn--secondary:hover {
  background: rgba(10, 92, 88, 0.14);
  border-color: #0a5c58;
  color: #0a5c58;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* ============================= NAVBAR ============================= */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 250ms, box-shadow 250ms, backdrop-filter 250ms;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav--solid {
  background: rgba(240, 253, 250, 0.94);
  backdrop-filter: saturate(200%) blur(14px);
  -webkit-backdrop-filter: saturate(200%) blur(14px);
  box-shadow: 0 1px 0 rgba(10, 92, 88, 0.15),
              0 4px 12px rgba(15, 23, 42, 0.08);
}

.nav--solid .nav__links a {
  color: #0F172A;
}

.nav--solid .nav__brand-main {
  color: #0F172A;
}

.nav--solid .nav__brand-sub {
  color: #64748B;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav__logo {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
  transition: filter 250ms;
}

.nav--solid .nav__logo {
  filter: none;
}

.nav__brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__brand-main {
  font-family: "Cinzel", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
}

.nav__brand-sub {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Josefin Sans", sans-serif;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__links a {
  padding: 9px 14px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 150ms, color 150ms;
}

.nav__links a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav--solid .nav__links a.is-active {
  color: #0a5c58;
  background: rgba(10, 92, 88, 0.12);
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav__links .nav__cta {
  margin-left: 8px;
  background: #0369A1;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(3, 105, 161, 0.3);
}

.nav__links .nav__cta:hover {
  background: #025a96;
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
  transform: translateY(-1px);
}

@media (max-width: 859px) {
  .nav__links {
    position: fixed;
    inset: 72px 0 0 0;
    flex-direction: column;
    align-items: stretch;
    background: #F0FDFA;
    padding: 32px 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 250ms cubic-bezier(0.1, 0.9, 0.2, 1);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(10, 92, 88, 0.08);
  }
  .nav__links a {
    color: #0F172A;
    font-size: 1.1rem;
    padding: 14px 16px;
  }
  .nav__links .nav__cta {
    margin: 16px 0 0;
  }
  .nav__links.is-open {
    transform: translateX(0);
  }
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 150ms, opacity 150ms;
}

@media (max-width: 859px) {
  .nav__toggle {
    display: flex;
  }
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav--solid .nav__toggle span {
  background: #0F172A;
}

/* ============================= HERO ============================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s ease-out forwards;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.62) 0%,
    rgba(15, 23, 42, 0.38) 45%,
    rgba(15, 23, 42, 0.78) 100%
  );
}

.hero__content {
  padding: 148px 24px 88px;
  max-width: 860px;
}

@media (min-width: 860px) {
  .hero__content {
    padding: 168px 24px 108px;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(3, 105, 161, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #BAE6FD;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 9999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 28px;
}

.hero__badge .dot {
  width: 8px;
  height: 8px;
  background: #38BDF8;
  border-radius: 9999px;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6);
  animation: pulse 2s infinite;
}

.hero__title {
  color: #fff;
  margin-bottom: 24px;
}

.hero__title em {
  color: #5EEAD4;
  font-weight: 500;
  font-size: 0.72em;
  display: block;
  margin-top: 0.3em;
  font-style: italic;
}

.hero__title .accent {
  color: #5EEAD4;
}

.hero__subtitle {
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 14px;
  margin-bottom: 32px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18), 0 1px 2px rgba(15, 23, 42, 0.12);
}

.hero__price-from {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.hero__price-value {
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(2rem, 3vw + 0.5rem, 3rem);
  font-weight: 700;
  color: #5EEAD4;
  line-height: 1.1;
  margin: 4px 0;
}

.hero__price-value small {
  font-size: 0.5em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  font-family: "Josefin Sans", sans-serif;
}

.hero__price-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.02em;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (min-width: 560px) {
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero__stats .stat strong {
  display: block;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem);
  color: #5EEAD4;
  line-height: 1;
  font-weight: 700;
}

.hero__stats .stat span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 5px;
  font-family: "Josefin Sans", sans-serif;
}

.hero__scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
}

.hero__scroll span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #fff;
  border-radius: 2px;
  animation: scrollHint 2s infinite;
}

@media (max-width: 559px) {
  .hero__scroll {
    display: none;
  }
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

@keyframes scrollHint {
  0%   { transform: translate(-50%, 0);    opacity: 1; }
  50%  { transform: translate(-50%, 14px); opacity: 0.3; }
  100% { transform: translate(-50%, 0);    opacity: 1; }
}

/* ============================= SECTIONS ============================= */

.section {
  padding: 96px 0;
}

@media (max-width: 859px) {
  .section {
    padding: 64px 0;
  }
}

.section--alt {
  background: #E6FEFA;
}

.section__head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__lede {
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  color: #475569;
  line-height: 1.7;
}

/* ============================= FEATURES ============================= */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature {
  padding: 32px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(10, 92, 88, 0.18);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 250ms cubic-bezier(0.1, 0.9, 0.2, 1),
              box-shadow 250ms,
              border-color 250ms;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.06);
  border-color: rgba(10, 92, 88, 0.38);
}

.feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(10, 92, 88, 0.12), rgba(20, 184, 166, 0.22));
  color: #0a5c58;
  border-radius: 10px;
  border: 1px solid rgba(10, 92, 88, 0.22);
}

.feature__icon svg {
  width: 28px;
  height: 28px;
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: #0F172A;
}

.feature p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ============================= GALLERY ============================= */

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  grid-auto-rows: auto;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 860px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #CCFBF1;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(10, 92, 88, 0.15);
  transition: transform 250ms cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 250ms;
}

.gallery__item img:not([src$=".jpg"]):not([src$=".png"]),
.gallery__item img[loading="lazy"]:not([complete]) {
  background: linear-gradient(
    90deg,
    #E0F8F6 0%,
    #D1F5F3 25%,
    #E0F8F6 50%,
    #D1F5F3 75%,
    #E0F8F6 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.gallery__item:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12), 0 2px 4px rgba(15, 23, 42, 0.08);
  border-color: rgba(10, 92, 88, 0.32);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.33, 0, 0.67, 1);
}

@media (min-width: 560px) {
  .gallery__item--wide {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
  }
}

/* ============================= TIPOLOGÍAS ============================= */

.types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 860px) {
  .types {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.type {
  position: relative;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 92, 88, 0.18);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 250ms cubic-bezier(0.1, 0.9, 0.2, 1), box-shadow 250ms;
}

.type:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.08);
}

.type--featured {
  background: linear-gradient(160deg, rgba(240, 253, 250, 0.95), rgba(204, 251, 241, 0.9));
  border-color: #0a5c58;
  border-width: 2px;
}

.type__ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  padding: 6px 16px;
  background: linear-gradient(90deg, #0a5c58, #0d8179);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(10, 92, 88, 0.35);
}

.type__head {
  border-bottom: 1px solid rgba(10, 92, 88, 0.15);
  padding-bottom: 16px;
}

.type__tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(10, 92, 88, 0.12);
  color: #0a5c58;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 8px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(10, 92, 88, 0.28);
}

.type__specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.type__specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.92rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(10, 92, 88, 0.15);
}

.type__specs li:last-child {
  border-bottom: 0;
}

.type__specs li span {
  color: #64748B;
}

.type__specs li strong {
  color: #0F172A;
  text-align: right;
}

.type__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(10, 92, 88, 0.12);
}

.type__features span {
  padding: 4px 12px;
  background: rgba(10, 92, 88, 0.1);
  color: #0a5c58;
  font-size: 0.76rem;
  border-radius: 9999px;
  border: 1px solid rgba(10, 92, 88, 0.22);
  font-weight: 500;
}

.note {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: rgba(209, 250, 229, 0.6);
  border-left: 4px solid #10B981;
  border-radius: 10px;
  margin-top: 32px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-left-width: 4px;
  border-left-color: #10B981;
}

.note svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #059669;
  margin-top: 2px;
}

.note p {
  margin: 0;
  color: #064E3B;
  font-size: 0.95rem;
}

/* ============================= UBICACIÓN ============================= */

.location {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 860px) {
  .location {
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
}

.location__map {
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1), 0 2px 4px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(10, 92, 88, 0.2);
}

.location__info h3 {
  margin-bottom: 24px;
}

.places {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.places li {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(10, 92, 88, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: transform 150ms, border-color 150ms, box-shadow 150ms;
}

.places li:hover {
  transform: translateX(4px);
  border-color: rgba(10, 92, 88, 0.32);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.07);
}

.places li strong {
  display: block;
  color: #0F172A;
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.places li p {
  margin: 0;
  font-size: 0.86rem;
  color: #64748B;
}

.places__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 92, 88, 0.1);
  border: 1px solid rgba(10, 92, 88, 0.22);
  border-radius: 10px;
  font-size: 1.4rem;
}

/* ============================= FICHA TÉCNICA ============================= */

.specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .specs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .specs {
    grid-template-columns: repeat(4, 1fr);
  }
}

.specs__col {
  padding: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(10, 92, 88, 0.15);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 200ms, border-color 200ms;
}

.specs__col:hover {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
  border-color: rgba(10, 92, 88, 0.28);
}

.specs__col h4 {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #0a5c58;
  color: #0a5c58;
  font-size: 0.8rem;
}

.specs__col dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.specs__col dt {
  font-size: 0.74rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.specs__col dd {
  margin: 2px 0 0;
  font-size: 0.93rem;
  color: #0F172A;
  font-weight: 500;
}

.specs__cta {
  margin-top: 48px;
  text-align: center;
}

.specs__cta p {
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ============================= CONTACTO ============================= */

.section--contact {
  background: radial-gradient(ellipse at top, rgba(10, 92, 88, 0.06), transparent 60%),
              linear-gradient(180deg, #E6FEFA, #F0FDFA);
}

.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 860px) {
  .contact {
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
  }
}

.contact__info h2 {
  text-align: left;
}

.contact__info .eyebrow {
  margin-bottom: 16px;
}

.contact__info p {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact__list li svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #0a5c58;
}

.contact__list li strong {
  display: block;
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.contact__list li a, .contact__list li span {
  font-size: 1.05rem;
  color: #0F172A;
  font-weight: 500;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 92, 88, 0.18);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
}

@media (max-width: 559px) {
  .contact__form {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: 0.02em;
}

.field input, .field select, .field textarea {
  font-family: "Josefin Sans", inherit;
  font-size: 0.95rem;
  padding: 12px 14px;
  background: rgba(240, 253, 250, 0.8);
  border: 1px solid rgba(10, 92, 88, 0.22);
  border-radius: 8px;
  color: #0F172A;
  transition: border-color 150ms, background 150ms, box-shadow 150ms;
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #0a5c58;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(10, 92, 88, 0.12);
}

.field input:invalid:not(:placeholder-shown):not(:focus),
.field select:invalid:not(:placeholder-shown):not(:focus),
.field textarea:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #DC2626;
}

.field textarea {
  resize: vertical;
  min-height: 80px;
}

.field--check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 0.86rem;
  color: #475569;
  cursor: pointer;
}

.field--check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #0a5c58;
  margin-top: 2px;
}

.form__note {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: #94A3B8;
  text-align: center;
}

/* ============================= FOOTER ============================= */

.footer {
  background: #0F172A;
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 24px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 560px) {
  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer__brand img {
  width: 64px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer__brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  margin: 0;
}

.footer__brand strong {
  color: #fff;
  font-size: 1rem;
}

.footer__col h5 {
  color: #5EEAD4;
  font-family: "Josefin Sans", "Segoe UI Variable", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col ul li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer__col ul a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 150ms;
}

.footer__col ul a:hover {
  color: #5EEAD4;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================= FAB WhatsApp ============================= */

.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: inline-flex;
  touch-action: manipulation;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: #25D366;
  color: #fff;
  border-radius: 9999px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12), 0 0 0 0 rgba(37, 211, 102, 0.5);
  font-weight: 600;
  font-size: 0.95rem;
  animation: fabPulse 3s infinite;
  transition: transform 150ms, background 150ms;
}

.fab svg {
  width: 22px;
  height: 22px;
}

.fab:hover {
  background: #128C7E;
  color: #fff;
  transform: scale(1.05);
}

@media (max-width: 559px) {
  .fab {
    padding: 14px;
  }
  .fab span {
    display: none;
  }
  .fab svg {
    width: 26px;
    height: 26px;
  }
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%       { box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================= LIGHTBOX ============================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 24px;
  /* visibility/opacity controlled by Phase 4 — no display toggle needed */
}

.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 32px 64px rgba(15, 23, 42, 0.4), 0 2px 8px rgba(15, 23, 42, 0.2);
  object-fit: contain;
}

.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 9999px;
  font-size: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 150ms, transform 150ms;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: scale(1.08);
}

.lightbox__close:focus-visible, .lightbox__prev:focus-visible, .lightbox__next:focus-visible {
  outline: 2px solid #0369A1;
  outline-offset: 2px;
  border-radius: 4px;
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox__next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* ============================= REVEAL ON SCROLL ============================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms cubic-bezier(0.1, 0.9, 0.2, 1),
              transform 420ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

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

/* ============================= PHASE 3 — SECONDARY SECTIONS ============================= */

/* --- Tipologías: specs strong highlight --- */
.type--featured .type__specs li strong {
  color: #0a5c58;
}

/* Tipo chips: hover state */
.type__features span {
  transition: background 150ms, border-color 150ms, color 150ms, transform 120ms;
  cursor: default;
}

.type__features span:hover {
  background: rgba(10, 92, 88, 0.15);
  border-color: rgba(10, 92, 88, 0.32);
  color: #0a5c58;
  transform: translateY(-1px);
}

/* Type button: enhanced press on featured */
.type--featured .btn--primary {
  background: linear-gradient(90deg, #0a5c58, #0369A1);
  box-shadow: 0 4px 14px rgba(3, 105, 161, 0.25);
}

.type--featured .btn--primary:hover {
  background: linear-gradient(90deg, #0a5c58, #025a96);
  box-shadow: 0 6px 20px rgba(3, 105, 161, 0.35);
  transform: translateY(-2px);
}

/* Type spec row: highlight on hover */
.type__specs li {
  transition: background 150ms;
  border-radius: 6px;
  padding-left: 6px;
  padding-right: 6px;
  margin-left: -6px;
  margin-right: -6px;
}

.type__specs li:hover {
  background: rgba(10, 92, 88, 0.04);
}

/* Note box: add icon background circle */
.note {
  position: relative;
  overflow: hidden;
}

.note::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Ubicación: map hover glow --- */
.location__map {
  transition: box-shadow 250ms, border-color 250ms;
}

.location__map:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14), 0 0 0 3px rgba(10, 92, 88, 0.12);
  border-color: rgba(10, 92, 88, 0.35);
}

/* Places icon: teal bg on hover */
.places li:hover .places__icon {
  background: rgba(10, 92, 88, 0.15);
  border-color: rgba(10, 92, 88, 0.28);
  transition: background 150ms, border-color 150ms;
}

/* Places stagger reveal */
.places li:nth-child(1) { transition-delay: 0s;     }
.places li:nth-child(2) { transition-delay: 0.06s;  }
.places li:nth-child(3) { transition-delay: 0.12s;  }
.places li:nth-child(4) { transition-delay: 0.18s;  }
.places li:nth-child(5) { transition-delay: 0.24s;  }

/* --- Ficha técnica: gradient border on specs__col h4 --- */
.specs__col h4 {
  background: linear-gradient(90deg, #0a5c58, #14B8A6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Firefox fallback */
  border-bottom: none;
  padding-bottom: 12px;
  position: relative;
}

.specs__col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #0a5c58, #14B8A6);
  border-radius: 2px;
}

/* Specs col: animated left accent on hover */
.specs__col {
  position: relative;
  overflow: hidden;
}

.specs__col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #0a5c58, #14B8A6);
  border-radius: 0 2px 2px 0;
  transition: height 250ms cubic-bezier(0.1, 0.9, 0.2, 1);
}

.specs__col:hover::before {
  height: 100%;
}

/* --- Formulario: accent line at top of form card --- */
.contact__form {
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  right: 32px;
  height: 3px;
  background: linear-gradient(90deg, #0a5c58, #14B8A6, #0369A1);
  border-radius: 0 0 6px 6px;
}

/* Form field: animated focus border sweep */
.field input,
.field select,
.field textarea {
  position: relative;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  transform: translateY(-1px);
  border-color: #0a5c58;
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1),
              0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Required asterisk via label attribute */
.field label[for="f-name"]::after,
.field label[for="f-phone"]::after,
.field label[for="f-consent"]::before {
  content: ' *';
  color: #0a5c58;
  font-size: 0.75rem;
}

/* Submit button: full gradient + stronger glow */
.contact__form .btn--primary {
  background: linear-gradient(90deg, #0a5c58 0%, #0369A1 100%);
  box-shadow: 0 4px 16px rgba(3, 105, 161, 0.22);
  letter-spacing: 0.04em;
  font-size: 1rem;
  padding: 15px 28px;
}

.contact__form .btn--primary:hover {
  background: linear-gradient(90deg, #0a5c58 0%, #025a96 100%);
  box-shadow: 0 6px 24px rgba(3, 105, 161, 0.32);
  transform: translateY(-2px);
}

/* Form note: subtle divider above */
.form__note {
  padding-top: 12px;
  border-top: 1px dashed rgba(10, 92, 88, 0.15);
}

/* Checkbox: teal accent on focus */
.field--check input[type="checkbox"]:focus-visible {
  outline: 2px solid #0369A1;
  outline-offset: 2px;
}

/* --- Footer: gradient top border + link polish --- */
.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #0a5c58 30%, #14B8A6 50%, #0a5c58 70%, transparent 100%);
  opacity: 0.6;
}

/* Footer links: arrow reveal on hover */
.footer__col ul a {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  transition: color 150ms, gap 150ms;
}

.footer__col ul a::after {
  content: ' →';
  opacity: 0;
  font-size: 0.8em;
  transition: opacity 150ms, transform 150ms;
  transform: translateX(-4px);
}

.footer__col ul a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.footer__col ul a:hover {
  gap: 4px;
}

/* Footer brand: subtle teal line under logo */
.footer__brand {
  padding-bottom: 4px;
}

.footer__brand img {
  margin-bottom: 20px;
}

/* Footer bottom: gradient separator */
.footer__bottom {
  background: linear-gradient(90deg, transparent 0%, rgba(10, 92, 88, 0.08) 50%, transparent 100%);
  padding: 20px 0 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* ============================= PHASE 2 POLISH ============================= */

/* --- Navbar: gradient bottom border on scroll --- */
.nav--solid::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(10, 92, 88, 0.35) 30%, rgba(20, 184, 166, 0.5) 50%, rgba(10, 92, 88, 0.35) 70%, transparent 100%);
}

/* Active nav link: subtle underline indicator */
.nav--solid .nav__links a.is-active {
  position: relative;
}

.nav--solid .nav__links a.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: linear-gradient(90deg, #0a5c58, #14B8A6);
  border-radius: 9999px;
}

/* --- Hero: decorative animated blob --- */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(10, 92, 88, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(3, 105, 161, 0.14) 0%, transparent 65%);
  animation: blobShift 14s ease-in-out infinite alternate;
}

@keyframes blobShift {
  0%   { opacity: 0.6; transform: scale(1)    translateX(0px); }
  50%  { opacity: 0.9; transform: scale(1.04) translateX(12px); }
  100% { opacity: 0.7; transform: scale(0.97) translateX(-8px); }
}

/* Hero content entrance animation */
.hero__badge,
.hero__title,
.hero__subtitle,
.hero__price,
.hero__ctas,
.hero__stats {
  animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero__badge    { animation-delay: 0.05s; }
.hero__title    { animation-delay: 0.15s; }
.hero__subtitle { animation-delay: 0.25s; }
.hero__price    { animation-delay: 0.33s; }
.hero__ctas     { animation-delay: 0.40s; }
.hero__stats    { animation-delay: 0.50s; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hero scroll indicator: teal glow */
.hero__scroll {
  border-color: rgba(94, 234, 212, 0.45);
}

/* --- Feature cards: stagger reveal delays --- */
.feature:nth-child(1) { transition-delay: 0s;     }
.feature:nth-child(2) { transition-delay: 0.04s;  }
.feature:nth-child(3) { transition-delay: 0.08s;  }
.feature:nth-child(4) { transition-delay: 0.12s;  }
.feature:nth-child(5) { transition-delay: 0.16s;  }
.feature:nth-child(6) { transition-delay: 0.20s;  }

/* Feature icon: teal glow on card hover */
.feature:hover .feature__icon {
  background: linear-gradient(135deg, rgba(10, 92, 88, 0.18), rgba(20, 184, 166, 0.28));
  border-color: rgba(10, 92, 88, 0.32);
  box-shadow: 0 0 0 4px rgba(10, 92, 88, 0.08);
  transition: background 200ms, box-shadow 200ms, border-color 200ms;
}

/* Feature numbering: subtle counter badge */
.feature {
  counter-increment: feature-count;
}

.features {
  counter-reset: feature-count;
}

/* --- Gallery: hover overlay with zoom icon --- */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0) 30%,
    rgba(10, 92, 88, 0.55) 100%
  );
  opacity: 0;
  transition: opacity 250ms ease-out;
  border-radius: inherit;
}

.gallery__item:hover::after {
  opacity: 1;
}

/* Zoom icon appears on hover */
.gallery__item::before {
  content: '⊕';
  position: absolute;
  bottom: 12px;
  right: 14px;
  z-index: 2;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0);
  transition: color 200ms ease-out, transform 200ms ease-out;
  pointer-events: none;
  line-height: 1;
}

.gallery__item:hover::before {
  color: rgba(255, 255, 255, 0.9);
  transform: scale(1.15);
}

/* Gallery section alt: slightly darker for contrast */
.section--alt .gallery__item {
  background: #CCFBF1;
}

/* --- Eyebrow: subtle shimmer on section heads --- */
.section__head .eyebrow {
  position: relative;
  overflow: hidden;
}

.section__head .eyebrow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: eyebrowShimmer 4s ease-in-out infinite;
}

@keyframes eyebrowShimmer {
  0%   { left: -100%; opacity: 0; }
  20%  { opacity: 1; }
  50%  { left: 130%; opacity: 0.6; }
  100% { left: 130%; opacity: 0; }
}

/* --- Specs col: number emphasis --- */
.specs__col dd {
  transition: color 150ms;
}

.specs__col:hover dd {
  color: #0a5c58;
}

/* --- Section divider: subtle teal line between sections --- */
.section + .section,
.section + .section--alt,
.section--alt + .section {
  border-top: 1px solid rgba(10, 92, 88, 0.08);
}

/* --- Contact form: input group focus glow --- */
.field input:focus,
.field select:focus,
.field textarea:focus {
  transform: translateY(-1px);
}

/* --- Button: WhatsApp CTA in hero gets extra punch --- */
.hero__ctas .btn--primary {
  padding: 14px 28px;
  font-size: 1rem;
}

/* --- Type featured: teal accent line at top --- */
.type--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, #0a5c58, #14B8A6, #0369A1);
  border-radius: 0 0 6px 6px;
}

/* ============================= PHASE 4 — MICRO-INTERACTIONS ============================= */

/* --- Hero stats: pop scale on entrance --- */
.hero__stats .stat {
  animation: statPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.hero__stats .stat:nth-child(1) { animation-delay: 0.55s; }
.hero__stats .stat:nth-child(2) { animation-delay: 0.62s; }
.hero__stats .stat:nth-child(3) { animation-delay: 0.69s; }
.hero__stats .stat:nth-child(4) { animation-delay: 0.76s; }

@keyframes statPop {
  from { opacity: 0; transform: scale(0.75) translateY(10px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Hero stats: strong number pops on hover */
.hero__stats .stat strong {
  transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1),
              color 200ms;
  display: block;
  cursor: default;
}

.hero__stats .stat:hover strong {
  transform: scale(1.12);
  color: #fff;
}

/* --- Gallery items: stagger reveal delays --- */
.gallery__item:nth-child(1)  { transition-delay: 0s;     }
.gallery__item:nth-child(2)  { transition-delay: 0.04s;  }
.gallery__item:nth-child(3)  { transition-delay: 0.08s;  }
.gallery__item:nth-child(4)  { transition-delay: 0.12s;  }
.gallery__item:nth-child(5)  { transition-delay: 0.16s;  }
.gallery__item:nth-child(6)  { transition-delay: 0.20s;  }
.gallery__item:nth-child(7)  { transition-delay: 0.24s;  }
.gallery__item:nth-child(8)  { transition-delay: 0.28s;  }
.gallery__item:nth-child(9)  { transition-delay: 0.32s;  }
.gallery__item:nth-child(10) { transition-delay: 0.36s;  }
.gallery__item:nth-child(11) { transition-delay: 0.40s;  }

/* --- Specs cols: stagger reveal delays --- */
.specs__col:nth-child(1) { transition-delay: 0s;    }
.specs__col:nth-child(2) { transition-delay: 0.08s; }
.specs__col:nth-child(3) { transition-delay: 0.16s; }
.specs__col:nth-child(4) { transition-delay: 0.24s; }

/* --- Lightbox: entrance & exit animation --- */
.lightbox {
  opacity: 0;
  transition: opacity 220ms cubic-bezier(0.16, 1, 0.3, 1);
  display: flex !important; /* ensure flex layout even in reduced-motion overrides */
  pointer-events: none;
  visibility: hidden;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.lightbox img {
  transform: scale(0.94);
  opacity: 0;
  transition: transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 220ms ease-out;
}

.lightbox.is-open img {
  transform: scale(1);
  opacity: 1;
}

/* Lightbox buttons: fade in after image --- */
.lightbox__close,
.lightbox__prev,
.lightbox__next,
.lightbox__counter {
  opacity: 0;
  transition: opacity 200ms ease-out 120ms,
              background 150ms,
              transform 150ms;
}

.lightbox.is-open .lightbox__close,
.lightbox.is-open .lightbox__prev,
.lightbox.is-open .lightbox__next,
.lightbox.is-open .lightbox__counter {
  opacity: 1;
}

/* --- Button: CSS ripple on active --- */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.28) 0%, transparent 65%);
  opacity: 0;
  transform: scale(0.5);
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 350ms ease-out;
}

.btn:active::after {
  opacity: 1;
  transform: scale(2.5);
  transition-duration: 0ms;
}

/* --- Section heads: refined entrance --- */
.section__head h2 {
  transition: opacity 400ms ease, transform 400ms ease;
}

/* Eyebrow: bounce-in on reveal */
.section__head.is-visible .eyebrow {
  animation: eyebrowBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes eyebrowBounce {
  from { opacity: 0; transform: scale(0.8) translateY(8px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* --- Nav toggle: smooth morph with color transition --- */
.nav__toggle {
  transition: background 150ms;
  border-radius: 8px;
}

.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav--solid .nav__toggle:hover {
  background: rgba(10, 92, 88, 0.08);
}

/* --- Scroll reveal: staggered wave for sections --- */
.reveal {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- FAB: entrance animation on load --- */
.fab {
  animation: fabPulse 3s infinite, fabEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 1s both;
}

@keyframes fabEnter {
  from { opacity: 0; transform: scale(0.5) translateY(20px); }
  to   { opacity: 1; transform: scale(1)   translateY(0); }
}

/* --- Dark mode support --- */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }

  body {
    background: #0B1120;
    color: #E2E8F0;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #F1F5F9;
  }

  h1 em, h2 em, h3 em, h4 em, h5 em, h6 em {
    color: #5EEAD4;
  }

  h4 { color: #5EEAD4; }

  p { color: #94A3B8; }

  a { color: #5EEAD4; }
  a:hover { color: #99F6E4; }
  a:focus-visible { outline-color: #38BDF8; }

  .eyebrow {
    color: #5EEAD4;
    background: rgba(94, 234, 212, 0.1);
    border-color: rgba(94, 234, 212, 0.2);
  }

  .section--alt {
    background: #0F1E2A;
  }

  .section--contact {
    background: radial-gradient(ellipse at top, rgba(10, 92, 88, 0.1), transparent 60%),
                linear-gradient(180deg, #0F1E2A, #0B1120);
  }

  .feature {
    background: rgba(15, 28, 46, 0.85);
    border-color: rgba(94, 234, 212, 0.12);
  }

  .feature:hover {
    border-color: rgba(94, 234, 212, 0.25);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .feature h3 { color: #F1F5F9; }
  .feature p  { color: #94A3B8; }

  .feature__icon {
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.08), rgba(20, 184, 166, 0.14));
    border-color: rgba(94, 234, 212, 0.15);
    color: #5EEAD4;
  }

  .gallery__item {
    background: #1E293B;
    border-color: rgba(94, 234, 212, 0.1);
  }

  .type {
    background: rgba(15, 28, 46, 0.9);
    border-color: rgba(94, 234, 212, 0.14);
  }

  .type--featured {
    background: linear-gradient(160deg, rgba(15, 40, 50, 0.95), rgba(10, 30, 45, 0.9));
    border-color: #0a5c58;
  }

  .type__specs li span       { color: #64748B; }
  .type__specs li strong     { color: #E2E8F0; }
  .type__features span {
    background: rgba(94, 234, 212, 0.08);
    color: #5EEAD4;
    border-color: rgba(94, 234, 212, 0.15);
  }

  .note {
    background: rgba(6, 78, 59, 0.3);
    border-color: rgba(16, 185, 129, 0.2);
    border-left-color: #10B981;
  }

  .note p { color: #6EE7B7; }

  .location__map { border-color: rgba(94, 234, 212, 0.18); }

  .places li {
    background: rgba(15, 28, 46, 0.85);
    border-color: rgba(94, 234, 212, 0.12);
  }

  .places li strong { color: #E2E8F0; }
  .places__icon {
    background: rgba(94, 234, 212, 0.08);
    border-color: rgba(94, 234, 212, 0.14);
  }

  .specs__col {
    background: rgba(15, 28, 46, 0.85);
    border-color: rgba(94, 234, 212, 0.12);
  }

  .specs__col dd { color: #E2E8F0; }
  .specs__col dt { color: #64748B; }

  .contact__form {
    background: rgba(15, 28, 46, 0.9);
    border-color: rgba(94, 234, 212, 0.14);
  }

  .field label { color: #94A3B8; }

  .field input,
  .field select,
  .field textarea {
    background: rgba(11, 17, 32, 0.8);
    border-color: rgba(94, 234, 212, 0.18);
    color: #E2E8F0;
  }

  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    border-color: #5EEAD4;
    background: rgba(11, 17, 32, 0.95);
    box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.1);
  }

  .form__note { color: #475569; }

  .nav--solid {
    background: rgba(11, 17, 32, 0.94);
    box-shadow: 0 1px 0 rgba(94, 234, 212, 0.1),
                0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .nav--solid .nav__links a { color: #E2E8F0; }
  .nav--solid .nav__brand-main { color: #F1F5F9; }
  .nav--solid .nav__brand-sub  { color: #64748B; }

  .nav__links {
    background: #0B1120;
  }

  .nav__links a { color: #E2E8F0; }
}

/* ============================= REDUCED MOTION ============================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
  .hero__badge,
  .hero__title,
  .hero__subtitle,
  .hero__price,
  .hero__ctas,
  .hero__stats,
  .hero__stats .stat {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .lightbox {
    display: none !important;
    visibility: hidden;
  }
  .lightbox.is-open {
    display: flex !important;
    visibility: visible;
    opacity: 1;
  }
  .lightbox img,
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next,
  .lightbox__counter {
    opacity: 1;
    transform: none;
  }
  .fab {
    animation: none;
  }
}

/* ========================================================================== */
/* Language Switcher */
/* ========================================================================== */

.nav__lang {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.nav__lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 20px;
  border: 1.5px solid #8B6F47;
  background: transparent;
  color: #8B6F47;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.33, 0, 0.67, 1);
}

.nav__lang-btn:hover {
  background: rgba(139, 111, 71, 0.08);
}

.nav__lang-btn.is-active {
  background: #8B6F47;
  color: #FAF7F2;
  border-color: #8B6F47;
}

.nav__lang-btn:focus-visible {
  outline: 2px solid #0369A1;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .nav__lang {
    order: 3;
    margin-left: auto;
    margin-right: 1rem;
  }
}
