* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f4f6fb;
  --text: #0f172a;
  --muted: #6b7280;
  --nav: #ffffff;
  --accent: #d9b469;
  --accent-dark: #c7a254;
  --card: #ffffff;
  --shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
  --radius: 22px;
  --nav-height: 64px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--nav-height);
  background: var(--nav);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}

.brand-icon {
  font-size: 20px;
}

.brand-text {
  font-size: 16px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(217, 180, 105, 0.2);
  color: var(--text);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile menu */
.nav-links.mobile {
  position: fixed;
  top: var(--nav-height);
  right: 0;
  left: 0;
  background: var(--nav);
  flex-direction: column;
  padding: 16px 20px 24px;
  gap: 12px;
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
  transform: translateY(-120%);
  transition: transform 0.3s ease;
  z-index: 999;
}

.nav-links.mobile.open {
  transform: translateY(0);
}

/* Hero */
main {
  padding-top: calc(var(--nav-height) + 20px);
}

.hero {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 70vh;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.45) 100%);
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.share-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #ffffff;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  font-size: 16px;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  color: #fff;
  padding: 0 20px;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 0;
  box-shadow: 0 6px 16px rgba(217, 180, 105, 0.4);
}

.hero h1 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 800;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.hero-stats {
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px 14px;
  color: var(--text);
}

.stat {
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-dark);
  margin-top: 4px;
}

.stat-unit {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.hero-cta {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-toggle {
  display: inline-flex;
}

.hero-cta i {
  font-size: 18px;
  color: #ffffff;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.22);
}

/* Page sections */
.page-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.page-section h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.page-section p {
  color: var(--muted);
}

/* Overview Section */
.overview-section {
  background: #ffffff;
  padding: 28px 20px 40px;
}

.overview-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: right;
}

.overview-content h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.overview-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
}

/* Units Section */
.units-section {
  padding: 10px 16px 30px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.scroll-hint {
  font-size: 12px;
  color: var(--muted);
}

.units-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 78%);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.units-slider::-webkit-scrollbar {
  height: 8px;
}

.units-slider::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.units-slider::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

.unit-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  scroll-snap-align: start;
}

.unit-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.unit-body {
  padding: 12px 14px 16px;
}

.unit-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.unit-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.unit-price {
  font-size: 13px;
  color: #2563eb;
}

.unit-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.unit-action {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.18);
}

.unit-action.call {
  background: #0f172a;
}

.unit-action.whatsapp {
  background: #25d366;
}

.unit-action i {
  font-size: 13px;
}

/* Features Section */
.features-section {
  padding: 10px 16px 40px;
}

.features-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(140px, 45%);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.features-slider::-webkit-scrollbar {
  height: 8px;
}

.features-slider::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.08);
  border-radius: 999px;
}

.features-slider::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.35);
  border-radius: 999px;
}

.feature-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 18px 14px;
  text-align: center;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
  scroll-snap-align: start;
}

.feature-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
}

/* Gallery Section - Enhanced */
.gallery-section {
  padding: 10px 16px 40px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 85%);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  scrollbar-width: thin;
}

.gallery-track::-webkit-scrollbar {
  height: 10px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(217, 180, 105, 0.12);
  border-radius: 999px;
}

.gallery-track::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  border-radius: 999px;
}

.gallery-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
  scroll-snap-align: start;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 50px rgba(15, 23, 42, 0.28);
}

.gallery-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 32px;
  color: #ffffff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.lightbox.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.lightbox-close {
  top: 20px;
  left: 20px;
}

.lightbox-close i {
  font-size: 24px;
}

.lightbox-prev {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev i,
.lightbox-next i {
  font-size: 20px;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  padding: 0 20px;
  max-width: 600px;
}

/* Contact Actions */
.contact-actions {
  position: fixed;
  bottom: 16px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1100;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  gap: 8px;
}

.action-btn i {
  font-size: 16px;
}

.action-btn.call {
  background: #0f172a;
}

.action-btn.whatsapp {
  background: #25d366;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

/* Responsive */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-links.mobile {
    display: flex;
  }

  .burger {
    display: flex;
  }

  .hero {
    min-height: 60vh;
  }

  .hero-image {
    height: 60vh;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(360px, 90%);
  }

  .contact-actions {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: row;
    background: #ffffff;
    padding: 10px;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
    justify-content: space-between;
  }

  .action-btn {
    flex: 1;
    min-width: unset;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
    top: 10px;
    left: 10px;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    bottom: 80px;
    top: auto;
  }

  .lightbox-prev {
    right: 10px;
  }

  .lightbox-next {
    left: 10px;
  }
}

@media (min-width: 901px) {
  .hero {
    min-height: 70vh;
  }

  .hero-image {
    height: 70vh;
  }

  .hero-badge {
    font-size: 12px;
    padding: 10px 18px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-stats {
    width: min(520px, 90%);
    padding: 14px 16px;
  }

  .hero-cta {
    display: inline-flex;
  }

  .stat-value {
    font-size: 20px;
  }

  .overview-section {
    padding: 40px 20px 60px;
  }

  .overview-content {
    max-width: 860px;
  }

  .overview-content h2 {
    font-size: 22px;
  }

  .overview-content p {
    font-size: 15px;
  }

  .units-section {
    padding: 20px 40px 40px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .units-slider {
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 16px;
  }

  .unit-card img {
    height: 230px;
  }

  .features-section {
    padding: 20px 40px 60px;
  }

  .features-slider {
    grid-auto-flow: unset;
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow: visible;
  }

  .feature-card {
    padding: 22px 16px;
  }

  .gallery-section {
    padding: 30px 40px 60px;
  }

  .gallery-track {
    grid-auto-columns: calc((100% - 48px) / 3);
    gap: 20px;
  }

  .gallery-card img {
    height: 280px;
  }

  .nav-links.mobile {
    display: none;
  }
}
/* Offer Form Section */
.offer-section {
  padding: 50px 20px 60px;
  background: linear-gradient(135deg, #f8f9fa 0%, var(--bg) 100%);
}

.offer-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.offer-header {
  text-align: center;
  margin-bottom: 36px;
}

.offer-header h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.offer-header p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

.offer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.required {
  color: #dc2626;
  font-weight: 700;
}

.form-field input {
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 180, 105, 0.1);
}

.form-field input::placeholder {
  color: #9ca3af;
}

.input-with-suffix {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-suffix input {
  flex: 1;
  padding-left: 110px;
}

.input-suffix {
  position: absolute;
  left: 16px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  background: var(--bg);
  padding: 4px 10px;
  border-radius: 6px;
  pointer-events: none;
}

.offer-submit-btn {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(217, 180, 105, 0.35);
  transition: all 0.3s ease;
  margin-top: 12px;
}

.offer-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(217, 180, 105, 0.45);
}

.offer-submit-btn i {
  font-size: 18px;
}

.offer-success-message {
  text-align: center;
  padding: 40px 20px;
  animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.offer-success-message i {
  font-size: 64px;
  color: #10b981;
  margin-bottom: 16px;
}

.offer-success-message h3 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}

.offer-success-message p {
  font-size: 15px;
  color: var(--muted);
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row:nth-child(2) {
    grid-template-columns: 1fr;
  }

  .offer-container {
    padding: 50px 40px;
  }

  .offer-header h2 {
    font-size: 30px;
  }
}

/* Footer */
.site-footer {
  background: var(--accent);
  color: #ffffff;
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-links a,
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  opacity: 0.8;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 900px) {
  .site-footer {
    padding: 60px 40px 24px;
  }

  .footer-container {
    grid-template-columns: 2fr 1fr 1fr;
    align-items: start;
  }
}
