/* =========================
   FUENTES
========================= */
@font-face {
  font-family: "Cocomat";
  src: url("/fonts/cocomat/Cocomat-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cocomat";
  src: url("/fonts/cocomat/Cocomat-Ultralight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* =========================
   GLOBAL STYLES
========================= */

html {
  overflow-x: hidden;
  background: #ffffff;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: system-ui, sans-serif;

  overscroll-behavior-y: none;
}

* {
  box-sizing: border-box;
}

/* SOCIAL FLOAT */
.social-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex;
  gap: 12px;
  z-index: 200;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: #000;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
}

.social-btn svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.social-btn:hover {
  opacity: 0.85;
}

.social-btn,
.back-button-float {
  box-shadow:
    0 0 14px rgba(255, 255, 255, 0.45),
    0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Ocultar scrollbar en móvil */
@media (max-width: 767px) {
  body {
    -ms-overflow-style: none;   /* IE y Edge */
    scrollbar-width: none;      /* Firefox */
  }

  body::-webkit-scrollbar {
    display: none;              /* Chrome, Safari, iOS */
  }
}




/* =========================
   HEADER
========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);


  display: flex;
  justify-content: space-between;
  align-items: center;

  height: 64px;
  padding: 0 16px;

  background: #ffffff;
  border-bottom: 1px solid #eee;

  font-family: "Cocomat", system-ui, sans-serif;
  color: #1b1b1b;
}

/* Todos los SVG heredan color */
.header svg {
  fill: currentColor;
  stroke: currentColor;
}

/* ---------- HOME ---------- */
.home-link {
  display: flex;
  align-items: center;
  gap: 8px;

  text-decoration: none;
  color: inherit;
}

.home-link:hover {
  opacity: 0.8;
}

.home-icon {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}

.home-text {
  display: none;

  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

/* Desktop: mostrar texto */
@media (min-width: 768px) {
  .home-text {
    display: inline;
  }
}

.brand-logo {
  cursor: pointer;
}

/* ---------- IDIOMA ---------- */
.lang-dropdown {
  position: relative;
}

.lang-button {
  display: flex;
  align-items: center;
  gap: 1px;

  background: none;
  border: none;
  padding: 0;

  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: inherit;

  cursor: pointer;
}

.lang-button:hover {
  opacity: 0.8;
}

.lang-icon {
  margin-right: 5px;
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

/* -- Menú -- */
.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;

  margin-top: 8px;
  padding: 8px 0;

  list-style: none;

  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);

  z-index: 100;
}

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

.lang-menu li {
  padding: 8px 16px;
  cursor: pointer;
  white-space: nowrap;
}

.lang-menu li:hover {
  background: #f0f0f0;
}

.lang-menu li.active {
  font-weight: 700;
}

/* =========================
   MAIN
========================= */
main {
  background: #f5f5f5;
  padding: 24px 16px;
}

/* =========================
   FOLLETO
========================= */
.brochure-wrapper {
  position: relative;
  padding-bottom: 50px;
}

.brochure {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;

  transform: scale(1);
  transform-origin: center top;
  transition: transform 0.2s ease;
  will-change: transform;
}

.brochure-image {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* =========================
   ZOOM CONTROLS
========================= */
.zoom-controls {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: none;
  gap: 8px;
}

.zoom-controls button {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #111;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  opacity: 0.70;
  transition: opacity 0.2s ease;
}

.zoom-controls button:hover {
  opacity: 0.90;
}

/* Solo desktop grande */
@media (min-width: 1280px) {
  .zoom-controls {
    display: flex;
  }
}

/* =========================
   HOME – EN CONSTRUCCIÓN
========================= */
.home-centered {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-centered h1 {
  font-family: "Cocomat", system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 4vw, 40px);
  color: #1b1b1b;
}

/* ---------- BRAND LOGO (HOME) ---------- */
.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 30px;          
  display: block;
  object-fit: contain;
}

/* =========================
   BACK BUTTON FLOAT (HOME)
========================= */
.back-button-float {
  position: fixed;
  right: 24px;
  bottom: 24px;

  width: 56px;
  height: 56px;
  border-radius: 999px;

  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  z-index: 200;
}

.back-button-float svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.back-button-float:hover {
  opacity: 0.85;
}

.back-button-float:active {
  transform: scale(0.95);
}


