:root {
  --cyan: #00bddb;
  --teal: #006f80;
  --dark: #0f1923;
  --text: #1e293b;
  --muted: #64748b;
  --bg: #f8f9fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.16);
  --t: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── Utilities ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--t);
}

.btn-primary {
  background: var(--cyan);
  color: white;
}

.btn-primary:hover {
  background: var(--teal);
}

.btn-ghost {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: white;
  color: var(--teal);
  border-color: white;
}

/* ── Header ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 2rem;
}

.logo img {
  display: block;
}

.logo-white {
  display: none;
}

.logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--t);
}

.nav-links a:hover {
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  transition: color var(--t);
}

.phone-link:hover {
  color: var(--cyan);
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all var(--t);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-width: 140px;
  display: none;
}

.lang-dropdown.open {
  display: block;
}

.lang-dropdown button {
  display: block;
  width: 100%;
  padding: 0.6rem 1rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  transition: background var(--t);
}

.lang-dropdown button:hover {
  background: var(--bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:hover {
  color: var(--cyan);
}

/* ── Hero ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: url('../images/top-image.jpeg') no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(12, 20, 30, 0.65) 0%,
      rgba(12, 20, 30, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: white;
  max-width: 680px;
  padding: 2rem;
}

.hero-logo {
  width: 300px;
  margin: 0 auto 2.5rem;
  display: block;
}

.hero-content h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Stats ── */
.stats-strip {
  background: var(--teal);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  color: white;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ══ APARTMENTS ══ */
.apartments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.apt-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.apt-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.apt-img-wrap {
  position: relative;
  overflow: hidden;
}

.apt-img-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.apt-card:hover .apt-img-wrap img {
  transform: scale(1.05);
}

.tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--cyan);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Card body: tighter padding */
.apt-body {
  padding: 1.1rem 1.3rem 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.apt-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.apt-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0.8rem;
}

/* push footer to bottom */
.fa-block,
.apt-footer {
  margin-top: auto;
}

/* Features: 2-column grid, clean and compact */
.apt-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem 0.5rem;
  margin-bottom: 1rem;
}

.apt-features li {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.apt-features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.apt-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.apt-footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.apt-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  white-space: nowrap;
}

/* Tier Toggle */
.tier-toggle {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  user-select: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.toggle-label {
  cursor: default;
}

.t-switch {
  position: relative;
  cursor: pointer;
  display: inline-flex;
}

.t-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.t-track {
  display: block;
  width: 42px;
  height: 22px;
  background: var(--border);
  border-radius: 100px;
  transition: background var(--t);
  position: relative;
}

.t-switch input:checked+.t-track {
  background: var(--cyan);
}

.t-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--t);
}

.t-switch input:checked+.t-track .t-thumb {
  transform: translateX(20px);
}

/* ── Why Choose Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: box-shadow var(--t), transform var(--t);
  box-shadow: var(--shadow);
}

.why-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 189, 219, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Contact ── */
.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  transition: border-color var(--t), box-shadow var(--t);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 189, 219, 0.12);
}

.contact-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.contact-form .btn {
  align-self: center;
  margin-top: 0.5rem;
}

/* Date field with label */
.form-date-label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-date-label span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-left: 0.25rem;
}

.form-date-label input {
  width: 100%;
}

#formResponse {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.92rem;
  min-height: 1.4rem;
}

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-label {
  display: block;
  margin-bottom: 0.75rem;
}

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.about-text p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-img img {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  object-fit: cover;
}

/* ── Footer ── */
.footer {
  background: var(--dark);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-col a,
.footer-col p {
  text-align: center;
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.55rem;
  transition: color var(--t);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.footer-legal a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--t);
}

.footer-legal a:hover {
  color: white;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .apartments-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {

  .nav-links,
  .header-actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }

  .hero-logo {
    width: 160px;
  }

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

  .apartments-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section {
    padding: 4rem 0;
  }
}