/* ============================================================
   Apartments Coca-Letta — Modern Mediterranean design
   ============================================================ */

:root {
  --sand:        #f6f0e4;
  --sand-deep:   #efe6d3;
  --cream:       #fdfbf5;
  --sea-900:     #10374a;
  --sea-800:     #16455c;
  --sea-600:     #2a6b85;
  --teal:        #3d8a96;
  --terracotta:  #c4674a;
  --terracotta-dark: #a95137;
  --apricot:     #e9b28c;
  --olive:       #7c8a5a;
  --ink:         #22333d;
  --muted:       #62727c;
  --line:        rgba(22, 69, 92, 0.14);

  --font-display: "Cormorant Garamond", "Georgia", serif;
  --font-body:    "Jost", "Segoe UI", system-ui, sans-serif;

  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow-soft: 0 18px 50px rgba(22, 69, 92, 0.10);
  --shadow-lift: 0 26px 70px rgba(22, 69, 92, 0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 85% -100px, rgba(233, 178, 140, 0.20), transparent 65%),
    radial-gradient(900px 480px at -10% 30%, rgba(61, 138, 150, 0.10), transparent 60%),
    var(--sand);
  line-height: 1.6;
  font-size: 1.02rem;
  overflow-x: hidden;
}

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

.container { width: min(1180px, 92%); margin-inline: auto; }

.section { padding-block: clamp(4rem, 9vw, 7rem); scroll-margin-top: 84px; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 { font-weight: 600; color: var(--sea-900); line-height: 1.15; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--terracotta);
  opacity: 0.7;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-head .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--terracotta); opacity: 0.7; }
.section-sub { color: var(--muted); margin-top: 1rem; font-size: 1.05rem; }
.section-sub a { color: var(--sea-600); font-weight: 500; }

.lead { color: var(--muted); margin-bottom: 1.1rem; font-size: 1.06rem; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--teal);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #fff;
  box-shadow: 0 12px 26px rgba(196, 103, 74, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(196, 103, 74, 0.45); }

.btn-ghost {
  border-color: var(--sea-800);
  color: var(--sea-800);
  background: transparent;
}
.btn-ghost:hover { background: var(--sea-800); color: var(--cream); transform: translateY(-2px); }

.btn-small { padding: 0.55rem 1.15rem; font-size: 0.82rem; }
.btn-wide { width: 100%; }

:focus-visible {
  outline: 3px solid rgba(61, 138, 150, 0.65);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Header ---------- */

#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#header.scrolled {
  background: rgba(253, 251, 245, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(22, 69, 92, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding-block: 0.7rem;
}

.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--cream);
  border-radius: 50% 50% 14px 14px;
  box-shadow: inset 0 0 0 1.5px var(--line), 0 6px 16px rgba(22, 69, 92, 0.10);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: var(--cream); transition: color .3s ease; }
.brand-text strong { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; }
.brand-text em { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.03em; }
#header.scrolled .brand-text { color: var(--sea-900); }

.nav-links {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  color: rgba(253, 251, 245, 0.92);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  padding-block: 0.3rem;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--apricot);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
#header.scrolled .nav-links a { color: var(--sea-900); }

.lang-dropdown { position: relative; }

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(253, 251, 245, 0.45);
  background: rgba(253, 251, 245, 0.14);
  color: rgba(253, 251, 245, 0.95);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
#header.scrolled .lang-current {
  background: rgba(22, 69, 92, 0.07);
  border-color: var(--line);
  color: var(--sea-800);
}
.lang-current:hover { background: rgba(253, 251, 245, 0.28); }
#header.scrolled .lang-current:hover { background: rgba(22, 69, 92, 0.13); }

.lang-chevron { transition: transform 0.25s ease; }
.lang-current[aria-expanded="true"] .lang-chevron { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 185px;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--cream);
  border: 1px solid rgba(22, 69, 92, 0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(16, 55, 74, 0.22);
  z-index: 90;
}
.lang-menu li button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: var(--sea-900);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.5rem 0.8rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-menu li button:hover { background: rgba(61, 138, 150, 0.12); }
.lang-menu li button.active {
  background: rgba(196, 103, 74, 0.13);
  color: var(--terracotta-dark);
  font-weight: 500;
}
.lang-menu li button.active::after {
  content: "✓";
  font-size: 0.85rem;
}

.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  width: 42px; height: 42px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 70;
}
.nav-toggle span {
  display: block;
  height: 2px; width: 24px;
  margin-inline: auto;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background .3s ease;
}
#header.scrolled .nav-toggle span { background: var(--sea-900); }
.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); }

.mobile-menu[hidden] { display: none; }
.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 6vw 1.6rem;
  background: rgba(253, 251, 245, 0.97);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 40px rgba(22, 69, 92, 0.15);
}
.mobile-menu a {
  color: var(--sea-900);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 400;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 0.9rem; border-bottom: 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(6rem, 12vh, 8rem);
  padding-bottom: 5.5rem;
  background:
    radial-gradient(1200px 600px at 80% -80px, rgba(212, 130, 90, 0.22), transparent 60%),
    linear-gradient(160deg, var(--sea-900) 0%, var(--sea-800) 45%, #1d5b77 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(rgba(253, 251, 245, 0.05) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
}

.hero-title {
  margin-top: 1.1rem;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}
.hero-title-light {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  color: var(--apricot);
}
.hero-title-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 8vw, 5.4rem);
  letter-spacing: 0.015em;
  line-height: 1.02;
}

.hero-subtitle {
  margin-top: 1.4rem;
  max-width: 46ch;
  color: rgba(253, 251, 245, 0.85);
  font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-actions .btn-ghost { border-color: rgba(253, 251, 245, 0.55); color: var(--cream); }
.hero-actions .btn-ghost:hover { background: var(--cream); color: var(--sea-900); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: rgba(253, 251, 245, 0.72);
}
.hero-badge svg { flex: none; color: var(--apricot); }

/* Hero art — arched photos */
.hero-art { position: relative; min-height: clamp(340px, 48vw, 560px); }

.arch {
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.arch:hover img { transform: scale(1.045); }

.hero-img-main {
  position: absolute;
  right: 6%;
  top: 0;
  width: min(64%, 340px);
  aspect-ratio: 3 / 4.1;
  outline: 1px solid rgba(253, 251, 245, 0.25);
  outline-offset: 8px;
}
.hero-img-side {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: min(44%, 235px);
  aspect-ratio: 3 / 3.9;
  border: 6px solid rgba(253, 251, 245, 0.92);
}

.hero-ring {
  position: absolute;
  top: -6%; right: -4%;
  width: clamp(180px, 24vw, 280px);
  aspect-ratio: 1;
  border: 1.5px dashed rgba(233, 178, 140, 0.5);
  border-radius: 50%;
  animation: spin 60s linear infinite;
}
.hero-sun {
  position: absolute;
  left: 12%; top: 4%;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f2c49a, var(--terracotta));
  box-shadow: 0 0 60px rgba(212, 123, 84, 0.65);
  opacity: 0.9;
}

@keyframes spin { to { transform: rotate(360deg); } }

.wave-divider {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  color: var(--sand);
  line-height: 0;
}
.wave-divider svg { width: 100%; height: clamp(40px, 7vw, 90px); }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.feature-list {
  list-style: none;
  display: grid;
  gap: 1rem;
}
.feature-list .card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.3rem 1.4rem;
}
.feature-list h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 500; margin-bottom: 0.25rem; }
.feature-list p { color: var(--muted); font-size: 0.93rem; }

.card {
  background: var(--cream);
  border: 1px solid rgba(22, 69, 92, 0.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 18px 18px 18px 4px;
  background: linear-gradient(140deg, rgba(61, 138, 150, 0.16), rgba(196, 103, 74, 0.14));
  color: var(--sea-700, var(--sea-600));
}
.feature-icon svg { width: 26px; height: 26px; }

/* ---------- Apartments ---------- */

.apartments {
  background:
    linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 100%);
}

.apartment {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.apartment-alt .apartment-media { order: 2; }
.apartment:last-child { margin-bottom: 0; }

.apartment-media { position: relative; align-self: start; }
.arch-card {
  aspect-ratio: 4 / 4.6;
  border-radius: 999px 999px var(--radius-md) var(--radius-md);
}
.apartment-flag {
  position: absolute;
  top: 1.2rem; left: 50%;
  translate: -50% 0;
  background: rgba(253, 251, 245, 0.92);
  backdrop-filter: blur(6px);
  color: var(--sea-800);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(22, 69, 92, 0.18);
  white-space: nowrap;
}

.apartment-name {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  margin-bottom: 0.7rem;
}
.apartment-desc { color: var(--muted); max-width: 56ch; }

.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
}
.chips li {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sea-800);
  background: rgba(61, 138, 150, 0.10);
  border: 1px solid rgba(61, 138, 150, 0.25);
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 1.6rem;
}
.gallery button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--sand-deep);
}
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.4s ease;
}
.gallery button:hover img { transform: scale(1.08); }
.gallery button::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16, 55, 74, 0.35));
  opacity: 0;
  transition: opacity 0.4s ease;
}
.gallery button:hover::after { opacity: 1; }

.apartment-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* ---------- Availability ---------- */

.cal-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}
.cal-month {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  min-width: 240px;
  text-align: center;
}
.cal-nav {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--cream);
  color: var(--sea-800);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.cal-nav:hover { background: var(--sea-800); color: var(--cream); transform: translateY(-1px); }

.cal-grid-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
}
.cal-panel { padding: 1.6rem 1.5rem 1.4rem; }
.cal-apartment-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.cal-weekdays,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-weekdays span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding-block: 0.3rem;
}
.cal-day {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 400;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.cal-day:not(.booked):not(:disabled):hover { background: rgba(61, 138, 150, 0.18); }
.cal-day.blank { visibility: hidden; }
.cal-day.past { color: rgba(98, 114, 124, 0.4); cursor: default; }
.cal-day.booked {
  background: repeating-linear-gradient(-45deg, rgba(196, 103, 74, 0.16) 0 4px, transparent 4px 8px);
  color: rgba(98, 114, 124, 0.75);
  text-decoration: line-through;
  text-decoration-color: rgba(169, 81, 55, 0.6);
  cursor: not-allowed;
}
.cal-day.today::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1.5px dashed var(--teal);
  border-radius: 50%;
}
.cal-day.in-range { background: rgba(61, 138, 150, 0.22); border-radius: 0; color: var(--sea-900); font-weight: 500; }
.cal-day.start, .cal-day.end {
  background: var(--sea-800);
  color: #fff;
  font-weight: 600;
  border-radius: 50% 0 0 50%;
}
.cal-day.end { border-radius: 0 50% 50% 0; }
.cal-day.start.end { border-radius: 50%; }
.cal-day.in-range.start { border-radius: 999px 0 0 999px; }
.cal-day.in-range.end { border-radius: 0 999px 999px 0; }
.cal-day.start:not(.in-range), .cal-day.end:not(.in-range) { border-radius: 50%; }

.cal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
}

.cal-sync {
  margin-top: 0.9rem;
  min-height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  color: var(--muted);
}
.cal-sync::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.45;
}
.cal-sync.sync-loading::before { background: #d9a441; animation: sync-pulse 1.2s ease-in-out infinite; }
.cal-sync.sync-live::before { background: #5a9e6f; opacity: 1; }
.cal-sync.sync-cached::before { background: #d9a441; opacity: 1; }
.cal-sync.sync-error::before { background: var(--terracotta); opacity: 1; }

@keyframes sync-pulse { 50% { opacity: 0.25; } }
.legend {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.legend li { display: inline-flex; align-items: center; gap: 0.45rem; }
.dot { width: 15px; height: 15px; border-radius: 50%; display: inline-block; }
.dot-available { background: var(--cream); border: 1.5px solid var(--line); }
.dot-booked { background: repeating-linear-gradient(-45deg, rgba(196, 103, 74, 0.35) 0 3px, transparent 3px 6px); }
.dot-selected { background: var(--sea-800); }
.dot-today { border: 1.5px dashed var(--teal); }
.cal-hint { font-size: 0.85rem; color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */

.contact {
  background:
    radial-gradient(800px 400px at 110% 110%, rgba(196, 103, 74, 0.12), transparent 60%),
    var(--sand-deep);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.8rem;
  align-items: start;
}

.contact-info { padding: 2rem; position: sticky; top: 100px; }
.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}
.info-row { padding-block: 1rem; border-top: 1px solid var(--line); }
.info-row dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.35rem;
}
.info-row dd { color: var(--ink); font-weight: 400; }
.map-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--sea-600);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(61, 138, 150, 0.4);
}
.map-link:hover { color: var(--terracotta); border-color: var(--terracotta); }

.contact-form { padding: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form label > span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea-800);
  margin-bottom: 0.4rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(61, 138, 150, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input.invalid, .contact-form textarea.invalid { border-color: var(--terracotta); box-shadow: 0 0 0 4px rgba(196, 103, 74, 0.12); }

.form-note { margin-top: 0.9rem; font-size: 0.82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */

.footer {
  background: var(--sea-900);
  color: rgba(253, 251, 245, 0.8);
  padding-block: 3rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: center;
}
.footer-brand strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.footer-brand p { color: var(--apricot); font-style: italic; font-family: var(--font-display); font-size: 1.05rem; }
.footer address { font-style: normal; line-height: 1.9; }
.footer address a { color: var(--cream); text-decoration: none; border-bottom: 1px solid rgba(253,251,245,.3); }
.footer-copy { font-size: 0.82rem; color: rgba(253, 251, 245, 0.55); }

/* ---------- Lightbox ---------- */

.lightbox[hidden],
.toast[hidden] { display: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem clamp(0.8rem, 5vw, 4rem);
  background: rgba(10, 31, 42, 0.94);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 130px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}
.lightbox figcaption { color: rgba(253, 251, 245, 0.75); font-size: 0.9rem; letter-spacing: 0.14em; }

.lb-close, .lb-arrow {
  position: fixed;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(253, 251, 245, 0.35);
  background: rgba(253, 251, 245, 0.08);
  color: var(--cream);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  z-index: 101;
}
.lb-close:hover, .lb-arrow:hover { background: var(--terracotta); border-color: var(--terracotta); }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1.2rem; top: 50%; translate: 0 -50%; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  translate: -50% 0;
  z-index: 110;
  background: var(--sea-900);
  color: var(--cream);
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, translate 0.35s ease;
  max-width: min(92vw, 480px);
  text-align: center;
}
.toast.show { opacity: 1; translate: -50% -6px; }

/* ---------- Reveal animations ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.8s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .brand { margin-right: auto; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; min-height: clamp(300px, 52vw, 420px); max-width: 520px; margin-inline: auto; width: 100%; }
  .about-grid { grid-template-columns: 1fr; }
  .apartment { grid-template-columns: 1fr; }
  .apartment-alt .apartment-media { order: 0; }
  .arch-card { aspect-ratio: 16/11; border-radius: var(--radius-md); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
  .hero-actions .btn { width: 100%; }
  .lb-prev { left: 0.5rem; } .lb-next { right: 0.5rem; }
  .cal-panel { padding: 1.2rem 1rem 1.1rem; }
}
