:root {
  --blue: #23398d;
  --red: #e20613;
  --white: #ffffff;
  --black: #0f172a;
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 26px 60px rgba(15, 23, 42, 0.14);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 175px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea,
select {
  font: inherit;
}

:where(a, button):focus-visible {
  outline: 3px solid rgba(226, 6, 19, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
}

/* ANIMACIONES */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-zoom.show {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }

.section-badge {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 57, 141, 0.08);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 18px;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(35, 57, 141, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(35, 57, 141, 0.12);
}

.header-container {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 160px;
  width: auto;
  transition: transform var(--transition);
}

.logo:hover img {
  transform: scale(1.03);
}

.nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu > li {
  position: relative;
}

.menu-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 16px;
  border: none;
  background: transparent;
  color: var(--blue);
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.menu-link:hover {
  background: rgba(35, 57, 141, 0.07);
  color: var(--red);
}

.menu-link.active {
  background: var(--blue);
  color: var(--white);
}

.dropdown-toggle {
  font-family: inherit;
}

.arrow {
  font-size: 11px;
  transition: transform var(--transition);
}

.dropdown-toggle.open .arrow {
  transform: rotate(180deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 255px;
  list-style: none;
  background: var(--white);
  border: 1px solid rgba(35, 57, 141, 0.1);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.submenu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 12px 14px;
  text-decoration: none;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
}

.submenu li a:hover {
  background: rgba(35, 57, 141, 0.07);
  color: var(--red);
  padding-left: 18px;
}

.menu-btn {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(35, 57, 141, 0.14);
  background: var(--white);
  border-radius: 14px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--blue);
  margin: 5px auto;
  border-radius: 10px;
  transition: 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
  padding: 46px 0 34px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.97;
  letter-spacing: -1.8px;
  margin-bottom: 18px;
  color: var(--black);
}

.hero-copy h1 span {
  display: block;
  color: var(--blue);
}

.hero-copy p {
  max-width: 700px;
  color: #475569;
  font-size: 1.08rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

.btn-primary:hover {
  background: #1c2f76;
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(35, 57, 141, 0.14);
  background: var(--white);
  color: var(--blue);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.metric {
  min-width: 150px;
  padding: 16px 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.metric strong {
  display: block;
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.metric span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-showcase {
  position: relative;
  min-height: 580px;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-lg);
  background: #f1f5f9;
  animation: floatSoft 5s ease-in-out infinite;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card-main {
  inset: 0 120px 0 0;
}

.hero-card-small {
  width: 220px;
  height: 220px;
  right: 0;
}

.hero-card-small.top {
  top: 30px;
  animation-delay: 0.3s;
}

.hero-card-small.bottom {
  bottom: 30px;
  animation-delay: 0.8s;
}

/* ABOUT */
.about-vega {
  padding: 60px 0 42px;
}

.about-container {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 38px;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
}

.about-content h2 span {
  display: block;
  color: var(--blue);
}

.about-lead {
  color: #374151;
  font-size: 1.06rem;
  margin-bottom: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
}

.about-feature {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  width: 56px;
  height: 4px;
  background: var(--red);
  border-radius: 999px;
}

.about-feature h3 {
  color: var(--blue);
  font-size: 1.05rem;
  margin-bottom: 10px;
  padding-top: 8px;
}

.about-feature p {
  color: #4b5563;
  font-size: 0.97rem;
}

.about-image-wrap {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 620px;
}

.about-image-wrap img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
}

.about-floating-card span {
  display: block;
  color: var(--red);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.about-floating-card strong {
  color: var(--blue);
  font-size: 1rem;
  line-height: 1.35;
}

/* CATALOGO */
.catalog-section {
  padding: 44px 0 90px;
}

.catalog-top {
  margin-bottom: 34px;
}

.catalog-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.catalog-head h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -1.1px;
  margin-bottom: 14px;
}

.catalog-head p {
  color: var(--muted);
  font-size: 1.03rem;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-status {
  margin: -16px 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(35, 57, 141, 0.12);
  background: var(--white);
  color: var(--blue);
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}

.catalog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.catalog-photo-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
}

.catalog-photo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 10px;
  background:
    linear-gradient(135deg, rgba(35, 57, 141, 0.05), rgba(226, 6, 19, 0.04)),
    #f8fafc;
  overflow: hidden;
}

.catalog-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(1.04) contrast(1.03);
  transition: transform var(--transition);
}

.catalog-photo-card:hover .catalog-photo {
  transform: scale(1.025);
}

.card-body {
  padding: 14px 14px 16px;
}

.card-tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(35, 57, 141, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.card-body h3 {
  color: var(--black);
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.catalog-photo-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.catalog-photo-info .preview-btn {
  margin-top: auto;
}

.preview-btn {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: var(--white);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.preview-btn:hover {
  background: #1c2f76;
  transform: translateY(-2px);
}

/* MODAL */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}

.preview-modal.open {
  display: block;
}

.preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.preview-content {
  position: relative;
  width: min(1100px, calc(100% - 24px));
  max-height: calc(100vh - 32px);
  margin: 16px auto;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.28s ease;
}

.preview-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--blue);
  font-size: 28px;
  cursor: pointer;
  z-index: 2;
}

.preview-main {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(35, 57, 141, 0.06), rgba(226, 6, 19, 0.04)),
    #f8fafc;
  height: min(72vh, 760px);
  min-height: 360px;
}

.preview-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preview-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
  z-index: 2;
}

.preview-nav.prev {
  left: 14px;
}

.preview-nav.next {
  right: 14px;
}

.preview-info {
  padding: 18px 6px 10px;
}

.preview-info h3 {
  color: var(--black);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.preview-info p {
  color: var(--muted);
}

.preview-thumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 4px 4px 2px;
}

.preview-thumbs button {
  width: 88px;
  height: 88px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.preview-thumbs button.active {
  border-color: var(--red);
}

.preview-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f8fafc;
}

/* UBICACION */
.location-section {
  padding: 76px 0 42px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.location-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 38px;
  align-items: center;
}

.location-copy h2 {
  color: var(--black);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 16px;
}

.location-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.location-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: #f8fafc;
  min-height: 360px;
}

.location-photo img {
  width: 100%;
  height: min(520px, 55vw);
  min-height: 360px;
  object-fit: cover;
}

/* FOOTER */
.footer {
  background: #ffffff;
  color: var(--text);
  padding: 70px 0 24px;
  border-top: 1px solid rgba(35, 57, 141, 0.12);
  margin-top: 40px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.footer-brand {
  max-width: 460px;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: translateY(-4px);
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 160px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.footer-logo:hover img {
  transform: scale(1.03);
}

.footer-text {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.footer-block {
  transition: transform 0.3s ease;
}

.footer-block:hover {
  transform: translateY(-4px);
}

.footer-block h3 {
  color: var(--blue);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-block h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 3px;
  background: var(--red);
  border-radius: 999px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list li {
  color: #475569;
  font-size: 0.97rem;
  line-height: 1.6;
}

.footer-list a {
  color: #475569;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(35, 57, 141, 0.1);
  padding-top: 20px;
}

.footer-bottom p {
  color: #64748b;
  font-size: 0.92rem;
  text-align: center;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  z-index: 1200;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: whatsappPulse 2s infinite;
}

.whatsapp-float::before,
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsappRing 2.2s infinite;
}

.whatsapp-float::after {
  animation-delay: 1s;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  animation-play-state: paused;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
  animation-play-state: paused;
}

.whatsapp-float img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* KEYFRAMES */
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes whatsappPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes whatsappRing {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes modalUp {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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

/* RESPONSIVE */
@media (max-width: 1200px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  }

  .hero-container,
  .about-container,
  .location-container {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 520px;
  }

  .about-image-wrap,
  .about-image-wrap img,
  .location-photo,
  .location-photo img {
    min-height: 420px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    background: var(--white);
    border: 1px solid rgba(35, 57, 141, 0.1);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .menu-link,
  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .submenu {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .submenu.show {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: 460px;
  }

  .hero-card-main {
    inset: 0 92px 0 0;
  }

  .hero-card-small {
    width: 170px;
    height: 170px;
  }
}

@media (max-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 12px;
  }

  .preview-content {
    margin: 18px auto;
    padding: 16px;
  }

  .preview-main {
    height: 66vh;
    min-height: 300px;
  }

  .preview-thumbs button {
    width: 70px;
    height: 70px;
  }

  .location-section {
    padding: 58px 0 30px;
  }

  .location-photo,
  .location-photo img {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  section[id] {
    scroll-margin-top: 110px;
  }

  .container {
    width: min(100% - 20px, 1380px);
  }

  .header-container {
    min-height: 76px;
  }

  .logo img {
    height: 100px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-showcase {
    min-height: 360px;
  }

  .hero-card-main {
    inset: 0 72px 0 0;
  }

  .hero-card-small {
    width: 120px;
    height: 120px;
  }

  .preview-nav {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .footer {
    padding: 56px 0 22px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-logo img {
    height: 100px;
  }

  .footer-block h3 {
    margin-bottom: 14px;
  }

  .footer-bottom p {
    text-align: left;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .whatsapp-float img {
    width: 27px;
    height: 27px;
  }
}
