:root {
  --ink: #183845;
  --deep: #123743;
  --sea: #1b4b57;
  --aqua: #84d6da;
  --sand: #f8f3ea;
  --gold: #d49d45;
  --line: #d9cbb6;
  --muted: #5f7278;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: var(--deep) url('../fotos/exterior-sol-balcon.jpg') center 45% / cover no-repeat;
  color: white;
}

.hero::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(18 55 67 / 86%) 0%, rgb(18 55 67 / 62%) 46%, rgb(18 55 67 / 18%) 100%);
  content: '';
  pointer-events: none;
}

.nav,
.hero-grid,
.booking,
.content,
.gallery,
.contact-hero,
.contact-layout {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  color: white;
  font-size: 0.9rem;
  font-weight: 760;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgb(255 255 255 / 84%);
  font-size: 0.82rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

.hero-grid {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.35fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  padding: clamp(2.5rem, 7vw, 5rem) 0 2.5rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  line-height: 0.98;
  font-weight: 780;
}

h2 {
  color: var(--ink);
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.04;
  font-weight: 760;
}

h3 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 760;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 1.05rem;
  color: rgb(255 255 255 / 82%);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.button,
.submit-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  border: 1px solid transparent;
  padding: 0.75rem 1rem;
  font-weight: 800;
  text-decoration: none;
}

.button.primary,
.submit-button {
  background: var(--gold);
  color: #172c33;
}

.button.secondary {
  border-color: rgb(255 255 255 / 35%);
  color: white;
}

.hero-card,
.availability-form,
.unit-card {
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: 8px;
  overflow: hidden;
  background: rgb(255 255 255 / 10%);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-card div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
}

.hero-card span {
  color: rgb(255 255 255 / 76%);
  line-height: 1.4;
}

.hero-phone {
  color: white;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.stats {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: white;
  color: var(--ink);
  box-shadow: 0 -18px 45px rgb(16 47 55 / 18%);
}

.stats div {
  padding: 1.1rem;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats strong,
.stats span {
  display: block;
}

.stats span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
}

.amenities span {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  background: white;
  color: var(--sea);
  font-size: 0.83rem;
  font-weight: 800;
  text-align: center;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.booking-copy p:not(.eyebrow),
.section-intro p,
.section-heading-row p {
  color: var(--muted);
  line-height: 1.7;
}

.booking-copy p:not(.eyebrow) {
  margin-top: 1rem;
}

.mini-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.mini-features span,
.mini-features a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  background: white;
  color: var(--sea);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.availability-form {
  background: white;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  box-shadow: 0 20px 60px rgb(28 57 64 / 12%);
}

.form-heading {
  margin-bottom: 1rem;
}

.form-contact-links,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.form-contact-links {
  margin: -0.25rem 0 1rem;
}

.form-contact-links a,
.contact-actions a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--sand);
  color: var(--sea);
  padding: 0.58rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.contact-actions {
  margin-top: 1.2rem;
}

.contact-actions a {
  min-height: 44px;
  align-items: center;
  background: white;
  box-shadow: 0 12px 36px rgb(31 61 70 / 8%);
}

.form-heading h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.4rem;
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 0.75rem 0.8rem;
}

textarea {
  resize: vertical;
}

.wide-field,
.verify-field {
  grid-column: 1 / -1;
}

.verify-field {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0;
  color: var(--ink);
  line-height: 1.4;
}

.verify-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 0.1rem;
}

.submit-button {
  width: 100%;
  cursor: pointer;
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.form-status {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.content,
.gallery {
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.unit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.unit-card {
  border-color: var(--line);
  background: white;
  padding: 1rem;
}

.unit-card > span {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.unit-card p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.unit-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.55;
}

.section-heading-row {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #ddd;
}

.gallery-grid .featured-photo {
  grid-column: span 2;
  grid-row: span 2;
}

.contact-page {
  min-height: 100svh;
  background: var(--sand);
}

.contact-page .nav {
  color: var(--ink);
}

.contact-page .brand,
.contact-page .nav-links {
  color: var(--ink);
}

.contact-hero {
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(1.5rem, 4vw, 2.5rem);
}

.contact-hero h1 {
  color: var(--ink);
  font-size: clamp(2.25rem, 5vw, 4.6rem);
}

.contact-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.62;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  padding-bottom: clamp(3rem, 7vw, 5rem);
}

.map-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 20px 60px rgb(28 57 64 / 12%);
}

.map-copy {
  padding: clamp(1rem, 3vw, 1.35rem);
}

.map-copy h2 {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
}

.map-copy p:not(.eyebrow) {
  margin-top: 0.6rem;
  color: var(--muted);
  line-height: 1.55;
}

.map-frame {
  display: block;
  width: 100%;
  height: clamp(320px, 45vw, 500px);
  border: 0;
}

@media (max-width: 820px) {
  .nav,
  .hero-grid,
  .booking,
  .contact-layout,
  .two-column,
  .section-heading-row {
    grid-template-columns: 1fr;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
  }

  .stats,
  .amenities,
  .form-grid,
  .unit-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid .featured-photo {
    grid-column: auto;
    grid-row: auto;
  }
}
