/* ========================================
   Residencial Samer – 360° UI Revolution
   Cinematic, Modern, Fast, Impressive
   ======================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

:root {
  --brand-blue: #0b2341;
  --brand-blue-deep: #07172c;
  --brand-blue-soft: #17365d;
  --brand-gold: #d8b15f;
  --brand-gold-soft: #f2dfb2;
  --brand-cream: #f8f4eb;
  --brand-ink: #101828;
  --brand-surface: #fffdf9;
  --brand-white: #ffffff;

  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-50: #f0fdf4;
  --green-200: #bbf7d0;
  --green-700: #15803d;

  --gray-50: #fcfcfd;
  --gray-100: #f2f4f7;
  --gray-200: #e4e7ec;
  --gray-300: #d0d5dd;
  --gray-400: #98a2b3;
  --gray-500: #667085;
  --gray-600: #475467;
  --gray-700: #344054;
  --gray-800: #1d2939;
  --gray-900: #101828;
  --red-600: #dc2626;

  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-sans: "Inter", sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-soft: 0 18px 40px rgba(11, 35, 65, 0.08);
  --shadow-card: 0 30px 70px rgba(7, 23, 44, 0.14);
  --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  --shadow-glow-gold: 0 0 60px rgba(216, 177, 95, 0.3);
  --shadow-glow-blue: 0 0 60px rgba(11, 35, 65, 0.2);

  --section-space: 100px;
  --transition-base: 220ms ease;
  --transition-smooth: 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 64px;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background:
    radial-gradient(circle at top left, rgba(216, 177, 95, 0.18), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(23, 54, 93, 0.08), transparent 25%),
    linear-gradient(180deg, #fcfbf7 0%, #f7f4ed 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 1024px) {
  body {
    padding-top: 80px;
  }
}

::selection {
  background: rgba(216, 177, 95, 0.28);
  color: var(--brand-blue);
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

main {
  flex: 1;
}

.font-heading {
  font-family: var(--font-heading);
}

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}

@media (min-width: 640px) {
  .container {
    max-width: 680px;
    padding: 0 24px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 820px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1180px;
    padding: 0 28px;
  }
}

/* ========== PRELOADER ========== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  background: linear-gradient(135deg, var(--brand-blue-deep) 0%, var(--brand-blue) 50%, #1a3a5c 100%);
  transition: opacity 800ms cubic-bezier(0.23, 1, 0.32, 1), transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
}

.preloader.preloader--hidden {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}

.preloader__logo {
  width: 180px;
  height: 60px;
  animation: preloaderPulse 1.5s ease-in-out infinite;
  filter: brightness(0) invert(1);
}

.preloader__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader__bar-track {
  width: 200px;
  height: 3px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.preloader__bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-soft));
  width: 0%;
  transition: width 400ms ease;
}

.preloader__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold), var(--brand-gold-soft), var(--brand-gold));
  z-index: 999;
  transition: width 50ms linear;
  box-shadow: 0 0 12px rgba(216, 177, 95, 0.5);
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(216, 177, 95, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
  opacity: 0;
  will-change: transform;
}

.cursor-glow--visible {
  opacity: 1;
}

@media (max-width: 768px) {
  .cursor-glow { display: none; }
}

/* ========== FLOATING PARTICLES ========== */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-gold);
  opacity: 0;
  animation: particleFloat linear infinite;
}

.particle:nth-child(odd) {
  background: rgba(216, 177, 95, 0.4);
}

.particle:nth-child(even) {
  background: rgba(11, 35, 65, 0.15);
}

@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ---------- SECTION KICKER ---------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11, 35, 65, 0.12);
  background: rgba(255, 255, 255, 0.8);
  color: var(--brand-blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: var(--shadow-inset);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 6px rgba(216, 177, 95, 0.14);
  animation: kickerPulse 2s ease-in-out infinite;
}

@keyframes kickerPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(216, 177, 95, 0.14); }
  50% { box-shadow: 0 0 0 12px rgba(216, 177, 95, 0.06); }
}

.section-kicker--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-kicker--light::before {
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14);
}

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.01em;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-smooth),
    border-color var(--transition-base);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 14px;
}

.btn-md {
  min-height: 48px;
  padding: 12px 22px;
  font-size: 15px;
}

.btn-lg {
  min-height: 56px;
  padding: 14px 28px;
  font-size: 16px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
  box-shadow: 0 16px 28px rgba(11, 35, 65, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(11, 35, 65, 0.3);
}

.btn-secondary {
  color: var(--brand-blue);
  background: linear-gradient(135deg, #f4e0b1, var(--brand-gold));
  box-shadow: 0 16px 28px rgba(216, 177, 95, 0.22);
}

.btn-secondary:hover {
  box-shadow: 0 20px 40px rgba(216, 177, 95, 0.32);
}

.btn-whatsapp {
  color: #fff;
  background: linear-gradient(135deg, #29d467, var(--green-500));
  box-shadow: 0 16px 28px rgba(34, 197, 94, 0.24);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #21bf5a, var(--green-600));
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.32);
}

.btn-outline {
  color: var(--brand-blue);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(11, 35, 65, 0.12);
}

.btn-outline:hover {
  background: #fff;
}

.btn-full {
  width: 100%;
}

/* Button ripple effect */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleEffect 600ms ease-out forwards;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid rgba(11, 35, 65, 0.08);
  background: rgba(255, 252, 246, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}

.navbar--scrolled {
  background: rgba(255, 252, 246, 0.96);
  box-shadow: 0 4px 30px rgba(11, 35, 65, 0.08);
  border-color: rgba(11, 35, 65, 0.04);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 64px;
}

@media (min-width: 1024px) {
  .navbar__inner {
    height: 80px;
  }
}

.navbar__logo {
  width: 126px;
  height: 40px;
  flex-shrink: 0;
  transition: transform 300ms ease;
}

.navbar__logo:hover {
  transform: scale(1.05);
}

@media (min-width: 1024px) {
  .navbar__logo {
    width: 158px;
    height: 48px;
  }
}

.navbar__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left;
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.navbar__contact-btn {
  display: none;
}

@media (min-width: 640px) {
  .navbar__contact-btn {
    display: inline-flex;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 92px 0 48px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -120px -120px auto;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 177, 95, 0.3), transparent 68%);
  z-index: 1;
  animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.2); opacity: 1; }
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  will-change: transform;
  transition: transform 8s ease-out;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 23, 44, 0.94) 0%, rgba(7, 23, 44, 0.84) 35%, rgba(7, 23, 44, 0.42) 100%),
    linear-gradient(180deg, rgba(7, 23, 44, 0.16), rgba(7, 23, 44, 0.3));
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: end;
}

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 430px);
    gap: 42px;
  }
}

.hero__text {
  max-width: 760px;
  color: #fff;
}

.hero__price-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f1dfb5, var(--brand-gold));
  color: var(--brand-blue);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(216, 177, 95, 0.22);
  animation: priceBadgePulse 3s ease-in-out infinite;
}

@keyframes priceBadgePulse {
  0%, 100% { box-shadow: 0 14px 24px rgba(216, 177, 95, 0.22); }
  50% { box-shadow: 0 14px 36px rgba(216, 177, 95, 0.4); }
}

.hero__status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.hero__status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(34, 197, 94, 0.17);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { border-color: rgba(255, 255, 255, 0.16); }
  50% { border-color: rgba(255, 255, 255, 0.35); }
}

.hero__status-badge--gold {
  background: rgba(216, 177, 95, 0.18);
  color: #f9e7bb;
  border-color: rgba(216, 177, 95, 0.28);
}

.hero__title {
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* Typing cursor for hero title */
.hero__title .typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--brand-gold);
  margin-left: 4px;
  animation: cursorBlink 1s step-end infinite;
  vertical-align: baseline;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle {
  max-width: 640px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
  text-wrap: balance;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__tag {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 300ms ease;
}

.hero__tag:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero__actions .btn {
  min-width: 240px;
}

@media (max-width: 639px) {
  .hero__actions .btn {
    width: 100%;
  }
}

.hero__metrics {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

@media (min-width: 640px) {
  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero__metric {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-inset);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 400ms ease;
}

.hero__metric:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-4px);
}

.hero__metric strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.hero__metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

/* ---------- MINI FORM ---------- */
.mini-form {
  position: relative;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 252, 246, 0.92));
  box-shadow: var(--shadow-card);
  color: var(--gray-900);
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.mini-form:hover {
  box-shadow: 0 35px 80px rgba(7, 23, 44, 0.18);
}

.mini-form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(216, 177, 95, 0.4), rgba(255, 255, 255, 0));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@media (min-width: 768px) {
  .mini-form {
    padding: 30px;
  }
}

.mini-form__title {
  margin-bottom: 8px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-blue);
}

.mini-form__desc {
  margin-bottom: 18px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.7;
}

.mini-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-form input,
.mini-form select,
.modal__field input,
.contact__field input,
.contact__field select,
.contact__field textarea {
  width: 100%;
  border: 1px solid rgba(11, 35, 65, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gray-900);
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform 300ms ease;
}

.mini-form input:focus,
.mini-form select:focus,
.modal__field input:focus,
.contact__field input:focus,
.contact__field select:focus,
.contact__field textarea:focus {
  border-color: rgba(216, 177, 95, 0.8);
  box-shadow: 0 0 0 4px rgba(216, 177, 95, 0.18);
  transform: translateY(-1px);
}

.mini-form select,
.contact__field select {
  appearance: auto;
}

.mini-form__submit,
.modal__wa-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
  color: #fff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth),
    background var(--transition-base);
  box-shadow: 0 16px 26px rgba(11, 35, 65, 0.18);
}

.mini-form__submit:hover,
.modal__wa-btn:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 40px rgba(11, 35, 65, 0.24);
}

.mini-form__submit:disabled,
.modal__wa-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.mini-form__success,
.contact__success {
  padding: 18px;
  border: 1px solid var(--green-200);
  border-radius: 18px;
  background: var(--green-50);
  color: var(--green-700);
  line-height: 1.6;
  animation: successPop 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

.mini-form__error,
.contact__error,
.modal__error {
  min-height: 16px;
  color: var(--red-600);
  font-size: 12px;
  font-weight: 700;
}

.mini-form__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mini-form__trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(11, 35, 65, 0.05);
  color: var(--gray-700);
  font-size: 12px;
  font-weight: 700;
  transition: all 300ms ease;
}

.mini-form__trust span:hover {
  background: rgba(11, 35, 65, 0.09);
  transform: translateY(-1px);
}

.mini-form__trust span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-gold);
}

.honey {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ---------- SECTION DIVIDER ---------- */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 177, 95, 0.3), rgba(11, 35, 65, 0.08), transparent);
  margin: 0 auto;
}

/* ---------- BENEFITS ---------- */
.benefits {
  position: relative;
  padding: var(--section-space) 0;
  text-align: center;
}

.benefits__title,
.availability__title,
.gallery__title,
.seo-content__title,
.faq__title,
.contact__left h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--brand-blue);
}

.benefits__title {
  max-width: 780px;
  margin: 0 auto 16px;
}

.benefits__subtitle,
.availability__subtitle,
.gallery__subtitle,
.seo-content__intro,
.contact__left p {
  max-width: 720px;
  margin: 0 auto 38px;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

.benefits__grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .benefits__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1120px) {
  .benefits__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.benefit-card {
  position: relative;
  overflow: hidden;
  padding: 28px 24px;
  text-align: left;
  border-radius: 24px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.94));
  box-shadow: var(--shadow-soft);
  transition:
    transform 500ms cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow 500ms cubic-bezier(0.23, 1, 0.32, 1),
    border-color 300ms ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.benefit-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -48px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 177, 95, 0.2), transparent 70%);
  transition: transform 500ms ease;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(216, 177, 95, 0.3);
  box-shadow: 0 30px 60px rgba(11, 35, 65, 0.14), var(--shadow-glow-gold);
}

.benefit-card:hover::after {
  transform: scale(1.5);
}

/* 3D tilt shine effect */
.benefit-card__shine {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(216, 177, 95, 0.12), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
}

.benefit-card:hover .benefit-card__shine {
  opacity: 1;
}

.benefit-card__icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(216, 177, 95, 0.18), rgba(11, 35, 65, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.benefit-card:hover .benefit-card__icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 8px 20px rgba(216, 177, 95, 0.2);
}

.benefit-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-blue);
}

.benefit-card__title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-blue);
}

.benefit-card__desc {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.75;
}

/* ---------- AVAILABILITY ---------- */
.availability {
  position: relative;
  padding: var(--section-space) 0;
}

.availability__container {
  max-width: 1080px;
}

.availability__header {
  text-align: center;
  margin-bottom: 34px;
}

.availability__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.availability__meta span {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 700;
  transition: all 300ms ease;
}

.availability__meta span:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 35, 65, 0.06);
}

.availability__table {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  transition: box-shadow 500ms ease;
}

.availability__table:hover {
  box-shadow: 0 35px 80px rgba(7, 23, 44, 0.16);
}

.availability__thead {
  display: none;
}

@media (min-width: 768px) {
  .availability__thead {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 14px;
    padding: 20px 22px;
    background:
      linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  .availability__thead div:nth-child(2),
  .availability__thead div:nth-child(3),
  .availability__thead div:nth-child(4),
  .availability__thead div:nth-child(6) {
    text-align: center;
  }

  .availability__thead div:nth-child(5) {
    text-align: right;
  }
}

.availability__body {
  max-height: 580px;
  overflow-y: auto;
}

.availability__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-bottom: 1px solid rgba(11, 35, 65, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(252, 249, 243, 0.85));
  transition: all 400ms ease;
}

.availability__row:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 244, 232, 0.96));
  box-shadow: inset 4px 0 0 var(--brand-gold);
}

@media (min-width: 768px) {
  .availability__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 22px;
  }
}

.availability__model h3 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-blue);
}

@media (min-width: 768px) {
  .availability__model h3 {
    font-size: 16px;
  }
}

.availability__model-floor {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

.availability__model-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

@media (min-width: 768px) {
  .availability__model-header {
    display: block;
  }
}

.availability__mobile-status {
  display: inline-flex;
}

@media (min-width: 768px) {
  .availability__mobile-status {
    display: none;
  }
}

.availability__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(11, 35, 65, 0.08);
  border-bottom: 1px solid rgba(11, 35, 65, 0.08);
}

@media (min-width: 768px) {
  .availability__details {
    display: flex;
    justify-content: center;
    gap: 18px;
    padding: 0;
    border: 0;
  }
}

.availability__detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 700;
}

.availability__detail-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-gold);
  stroke: var(--brand-gold);
}

.availability__area {
  color: var(--gray-600);
  font-size: 14px;
}

@media (min-width: 768px) {
  .availability__area {
    text-align: center;
    font-size: 13px;
  }
}

.availability__area-label {
  font-weight: 800;
}

@media (min-width: 768px) {
  .availability__area-label {
    display: none;
  }
}

.availability__terrace {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-500);
}

.availability__desktop-status {
  display: none;
}

@media (min-width: 768px) {
  .availability__desktop-status {
    display: flex;
    justify-content: center;
  }
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid;
  font-size: 12px;
  font-weight: 800;
}

.status-badge--available {
  border-color: rgba(22, 163, 74, 0.2);
  background: var(--green-50);
  color: var(--green-700);
}

.status-badge--available::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-500);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

.status-badge--unavailable {
  border-color: rgba(52, 64, 84, 0.12);
  background: rgba(242, 244, 247, 0.8);
  color: var(--gray-600);
}

.status-badge svg {
  width: 12px;
  height: 12px;
}

.availability__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (min-width: 768px) {
  .availability__price {
    display: block;
    text-align: right;
  }
}

.availability__price-label {
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .availability__price-label {
    display: none;
  }
}

.availability__price-value {
  color: var(--brand-blue);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .availability__price-value {
    font-size: 17px;
  }
}

.availability__action {
  text-align: center;
}

.availability__reserve-btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-smooth),
    background var(--transition-base),
    box-shadow var(--transition-smooth);
}

@media (min-width: 768px) {
  .availability__reserve-btn {
    width: auto;
  }
}

.availability__reserve-btn--active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
  box-shadow: 0 14px 24px rgba(11, 35, 65, 0.15);
}

.availability__reserve-btn--active:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 18px 32px rgba(11, 35, 65, 0.22);
}

.availability__reserve-btn--sold {
  background: rgba(152, 162, 179, 0.28);
  color: var(--gray-700);
  cursor: not-allowed;
}

.availability__disclaimer {
  margin-top: 18px;
  text-align: center;
  color: var(--gray-500);
  font-size: 13px;
  font-style: italic;
}

/* ---------- GALLERY ---------- */
.gallery {
  position: relative;
  padding: var(--section-space) 0;
}

.gallery__title,
.gallery__subtitle {
  text-align: center;
}

.gallery__track-wrapper {
  position: relative;
  overflow: hidden;
  padding: 8px 0 4px;
}

.gallery__track-wrapper::before,
.gallery__track-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.gallery__track-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, #f7f4ed 0%, rgba(247, 244, 237, 0) 100%);
}

.gallery__track-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, #f7f4ed 0%, rgba(247, 244, 237, 0) 100%);
}

.gallery__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: gallery-scroll 46s linear infinite;
}

.gallery__track:hover {
  animation-play-state: paused;
}

@media (min-width: 768px) {
  .gallery__track {
    gap: 18px;
  }
}

.gallery__item {
  position: relative;
  overflow: hidden;
  width: 270px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 24px;
  background: #ddd;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: all 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery__item:nth-child(3n) {
  transform: translateY(18px);
}

.gallery__item:nth-child(4n) {
  transform: translateY(-10px);
}

@media (min-width: 640px) {
  .gallery__item {
    width: 328px;
  }
}

@media (min-width: 768px) {
  .gallery__item {
    width: 370px;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 23, 44, 0.35) 100%);
  transition: opacity 400ms ease;
}

.gallery__item:hover {
  box-shadow: 0 30px 60px rgba(7, 23, 44, 0.2);
  z-index: 3;
}

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

/* Gallery zoom icon on hover */
.gallery__item::before {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  background: rgba(11, 35, 65, 0.3);
  opacity: 0;
  transition: opacity 300ms ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

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

@keyframes gallery-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (min-width: 768px) {
  @keyframes gallery-scroll {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(calc(-50% - 9px));
    }
  }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 23, 44, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.lightbox--active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
  transform: scale(0.9);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
  object-fit: contain;
}

.lightbox--active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg) scale(1.1);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

.lightbox__counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
}

/* ---------- SEO CONTENT ---------- */
.seo-content {
  padding: var(--section-space) 0;
}

.seo-content__inner {
  max-width: 1080px;
  padding: 34px;
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 242, 0.92));
  border: 1px solid rgba(11, 35, 65, 0.08);
  box-shadow: var(--shadow-card);
  transition: box-shadow 500ms ease;
}

.seo-content__inner:hover {
  box-shadow: 0 35px 80px rgba(7, 23, 44, 0.16);
}

@media (max-width: 767px) {
  .seo-content__inner {
    padding: 24px 20px;
  }
}

.seo-content__title {
  margin-bottom: 18px;
}

.seo-content__intro {
  margin: 0 0 30px;
}

.seo-content__cards {
  display: grid;
  gap: 18px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .seo-content__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.seo-card {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background:
    linear-gradient(180deg, rgba(11, 35, 65, 0.04), rgba(216, 177, 95, 0.06));
  transition: all 400ms ease;
}

.seo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(11, 35, 65, 0.08);
  border-color: rgba(216, 177, 95, 0.2);
}

.seo-card__title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-blue);
}

.seo-card li {
  position: relative;
  padding-left: 20px;
  color: var(--gray-700);
  font-size: 15px;
  line-height: 1.75;
}

.seo-card li + li {
  margin-top: 10px;
}

.seo-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  transition: transform 300ms ease;
}

.seo-card:hover li::before {
  transform: scale(1.3);
}

.seo-content__section-title {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-blue);
}

.seo-content__text {
  margin-bottom: 22px;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- FAQ ---------- */
.faq {
  padding: var(--section-space) 0;
}

.faq__inner {
  max-width: 920px;
}

.faq__title {
  margin-bottom: 28px;
  text-align: center;
}

.faq__list {
  display: grid;
  gap: 16px;
}

.faq__item {
  padding: 24px;
  border-radius: 24px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 245, 0.9));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  overflow: hidden;
  transition: all 400ms ease;
}

.faq__item:hover {
  border-color: rgba(216, 177, 95, 0.2);
  box-shadow: 0 20px 40px rgba(11, 35, 65, 0.1);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-blue);
  transition: color 300ms ease;
}

.faq__item:hover .faq__question {
  color: var(--brand-blue-soft);
}

.faq__toggle {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(11, 35, 65, 0.06);
  color: var(--brand-blue);
  font-size: 18px;
  font-weight: 800;
  transition: all 400ms ease;
}

.faq__item--open .faq__toggle {
  background: var(--brand-gold);
  color: var(--brand-blue);
  transform: rotate(45deg);
}

.faq__answer {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 500ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms ease, margin 300ms ease;
  margin-top: 0;
}

.faq__item--open .faq__answer {
  max-height: 300px;
  opacity: 1;
  margin-top: 14px;
}

/* ---------- CONTACT ---------- */
.contact {
  position: relative;
  overflow: hidden;
  padding: var(--section-space) 0;
  background:
    radial-gradient(circle at top right, rgba(216, 177, 95, 0.2), transparent 24%),
    linear-gradient(135deg, var(--brand-blue-deep), var(--brand-blue));
  color: #fff;
}

.contact::before {
  content: "";
  position: absolute;
  inset: auto auto -140px -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
  animation: contactGlow 8s ease-in-out infinite;
}

@keyframes contactGlow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}

.contact__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.contact__left h2 {
  margin-bottom: 18px;
  color: #fff;
}

.contact__left p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
}

.contact__highlights {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
}

.contact__highlights li {
  position: relative;
  padding: 14px 18px 14px 42px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.65;
  transition: all 300ms ease;
}

.contact__highlights li:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.contact__highlights li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-gold);
  box-shadow: 0 0 0 6px rgba(216, 177, 95, 0.14);
}

.contact__form-card {
  padding: 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 246, 0.96));
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
  color: var(--gray-900);
  transition: transform 500ms ease, box-shadow 500ms ease;
}

.contact__form-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

@media (min-width: 768px) {
  .contact__form-card {
    padding: 32px;
  }
}

.contact__form-title {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-blue);
}

.contact__form {
  display: grid;
  gap: 16px;
}

.contact__field label,
.modal__field label {
  display: block;
  margin-bottom: 7px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contact__field textarea {
  min-height: 120px;
  resize: vertical;
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 56px 0 42px;
  background: var(--brand-blue-deep);
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  gap: 30px;
  align-items: start;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
  }
}

.footer__logo {
  width: 132px;
  height: 42px;
  margin-bottom: 18px;
  transition: transform 300ms ease;
}

.footer__logo:hover {
  transform: scale(1.05);
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left;
}

.footer__desc {
  max-width: 420px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.8;
}

.footer h4 {
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__links li + li,
.footer__contact-list li + li {
  margin-top: 10px;
}

.footer__links a,
.footer__contact-list a,
.footer__bottom a {
  transition: color var(--transition-base), transform 200ms ease;
  display: inline-block;
}

.footer__links a:hover,
.footer__contact-list a:hover,
.footer__bottom a:hover {
  color: var(--brand-gold-soft);
  transform: translateX(4px);
}

.footer__contact-list li,
.footer__links a {
  font-size: 14px;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  padding-bottom: 72px;
}

@media (min-width: 640px) {
  .footer__bottom {
    padding-bottom: 0;
  }
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
  }
}

/* ---------- STICKY CTA ---------- */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 55;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(11, 35, 65, 0.08);
  background: rgba(255, 252, 246, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 -10px 26px rgba(11, 35, 65, 0.08);
  transform: translateY(100%);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.sticky-cta--visible {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .sticky-cta {
    display: none;
  }
}

.sticky-cta__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 800;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.sticky-cta__btn:active {
  transform: scale(0.95);
}

.sticky-cta__btn svg {
  width: 16px;
  height: 16px;
  margin-bottom: 4px;
}

.sticky-cta__btn--wa {
  color: #fff;
  background: linear-gradient(135deg, #29d467, var(--green-500));
}

.sticky-cta__btn--call {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
}

.sticky-cta__btn--schedule {
  color: var(--brand-blue);
  background: linear-gradient(135deg, #f4e0b1, var(--brand-gold));
}

/* ---------- MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(7, 23, 44, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 400ms ease;
}

.modal-overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 26px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 252, 246, 0.96));
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.26);
  transform: scale(0.9) translateY(20px);
  transition: transform 500ms cubic-bezier(0.23, 1, 0.32, 1);
}

.modal-overlay--active .modal {
  transform: scale(1) translateY(0);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 35, 65, 0.06);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 300ms ease;
}

.modal__close:hover {
  background: rgba(11, 35, 65, 0.12);
  transform: rotate(90deg);
}

.modal__close svg {
  width: 18px;
  height: 18px;
}

.modal__title {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--brand-blue);
}

.modal__desc {
  margin-bottom: 18px;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.75;
}

.modal__details {
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(11, 35, 65, 0.08);
  background: rgba(11, 35, 65, 0.04);
  color: var(--gray-700);
  font-size: 14px;
}

.modal__details p + p {
  margin-top: 6px;
}

.modal__fields {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

/* ---------- LOADING ---------- */
.loading-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.loading-screen h2 {
  font-size: 20px;
  font-weight: 800;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 800ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Reveal from left */
.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition:
    opacity 800ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal--left.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from right */
.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity 800ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal--right.reveal--visible {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal scale */
.reveal--scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 800ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 800ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal--scale.reveal--visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- ANIMATED COUNTER ---------- */
.counter-value {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ---------- SCROLLBAR ---------- */
.availability__body::-webkit-scrollbar {
  width: 8px;
}

.availability__body::-webkit-scrollbar-track {
  background: rgba(11, 35, 65, 0.04);
}

.availability__body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 35, 65, 0.16);
  transition: background 200ms ease;
}

.availability__body::-webkit-scrollbar-thumb:hover {
  background: rgba(11, 35, 65, 0.28);
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 50;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-blue-soft), var(--brand-blue));
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(11, 35, 65, 0.2);
  opacity: 0;
  transform: translateY(20px) scale(0.8);
  transition: all 400ms cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.back-to-top--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 16px 40px rgba(11, 35, 65, 0.3);
}

@media (max-width: 639px) {
  .back-to-top {
    bottom: 140px;
    right: 14px;
    width: 42px;
    height: 42px;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 767px) {
  .hero {
    min-height: 720px;
    padding-top: 84px;
  }

  .hero__subtitle,
  .benefits__subtitle,
  .availability__subtitle,
  .gallery__subtitle,
  .seo-content__intro,
  .contact__left p {
    font-size: 16px;
  }

  .mini-form__title,
  .contact__form-title,
  .modal__title {
    font-size: 22px;
  }

  .benefit-card__title,
  .seo-card__title,
  .faq__question,
  .seo-content__section-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 56px;
  }

  .navbar__inner {
    height: 56px;
  }

  .navbar__logo {
    width: 110px;
    height: 34px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .hero__status-badge,
  .hero__tag,
  .availability__meta span,
  .mini-form__trust span {
    font-size: 11px;
  }

  .hero__metric strong {
    font-size: 16px;
  }

  .mini-form,
  .contact__form-card,
  .modal {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .faq__item,
  .seo-card,
  .benefit-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale {
    opacity: 1;
    transform: none;
  }

  .preloader {
    display: none;
  }
}

/* ---------- SMOOTH SECTION TRANSITIONS ---------- */
section {
  position: relative;
}

/* Animated gradient border for sections */
.section-glow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-gold), transparent);
  top: 0;
  opacity: 0.5;
}
