/* Product pages (meeting room, domicilio fiscal, etc.) */

.page-product {
  background: var(--color-bg);
  min-height: 100%;
}

.product-hero {
  position: relative;
  box-sizing: border-box;
  min-height: min(520px, 76vh);
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  color: #fff;
}

.product-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.product-hero-media.js-parallax {
  overflow: hidden;
}

.product-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-hero-media.js-parallax .product-hero-img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 118%;
  top: -9%;
  object-fit: cover;
  z-index: 0;
}

.product-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.62);
}

.page-product .product-hero--editorial {
  --hero-accent: var(--color-accent);
  color: rgba(255, 255, 255, 0.92);
}

/* Nav flotante: components.css (.site-header--scrolled + hero overlay) */

.product-hero > .container.product-hero-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
  width: 100%;
  padding-bottom: 96px;
  padding-top: 12px;
  box-sizing: border-box;
}

.product-hero-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
}

.product-hero-title {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.product-hero-lead {
  margin: 16px 0 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 26px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.95);
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 26px;
}

.product-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

button.product-hero-btn {
  border: none;
  cursor: pointer;
  font: inherit;
  appearance: none;
}

.product-hero-btn:hover {
  transform: translateY(-1px);
}

.product-hero-btn--solid {
  background: #16a34a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
}

.product-hero-btn--solid:hover {
  background: #15803d;
  box-shadow: none;
}

.product-hero-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.product-hero-btn--outline:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.65);
}

.product-body {
  position: relative;
  z-index: 2;
  margin-top: -72px;
  padding: 0 0 72px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr min(390px, 100%);
  gap: 24px;
  align-items: start;
}

.product-section-title {
  margin: 0 0 10px;
}

.product-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.product-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(19, 19, 19, 0.68);
}

.product-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.14);
  color: #166534;
  font-weight: 900;
  font-family: var(--font-sans);
  font-size: 11px;
  line-height: 1;
}

.product-aside .btn {
  width: 100%;
}

.product-aside-note {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 18px;
  color: rgba(19, 19, 19, 0.55);
}

/* Sala de reuniones — “¿Para qué la usás?”: usos con contexto comercial */
.product-for-use__lead {
  max-width: 65ch;
  margin-bottom: 4px;
}

.product-use-grid {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .product-use-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

.product-use-tile {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-12);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-xs);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-use-tile:hover {
  border-color: rgba(14, 91, 163, 0.22);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.product-use-tile__marker {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-primary);
  background: rgba(14, 91, 163, 0.08);
  border: 1px solid rgba(14, 91, 163, 0.12);
}

.product-use-tile__body {
  flex: 1;
  min-width: 0;
}

.product-use-tile__title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text-2);
}

.product-use-tile__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted-2);
}

@media (max-width: 639px) {
  .product-use-tile {
    padding: 14px 16px;
    gap: 12px;
  }

  .product-use-tile__marker {
    min-width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 8px;
  }

  .product-use-tile__title {
    font-size: 16px;
  }
}

/* Sala de reuniones — “¿Qué incluye la reserva?”: tarjetas escaneables */
.product-reservation-includes__lead {
  max-width: 62ch;
  margin-bottom: 4px;
}

.product-include-cards {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 640px) {
  .product-include-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

.product-include-card {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-12);
  background: rgba(14, 91, 163, 0.04);
  border: 1px solid rgba(14, 91, 163, 0.1);
  box-shadow: var(--shadow-xs);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.product-include-card:hover {
  border-color: rgba(14, 91, 163, 0.22);
  box-shadow: 0 2px 8px rgba(14, 91, 163, 0.08);
}

.product-include-card__accent {
  width: 4px;
  flex-shrink: 0;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-accent) 100%);
  align-self: stretch;
  min-height: 100%;
}

.product-include-card__body {
  flex: 1;
  min-width: 0;
  padding: 16px 18px 16px 0;
}

.product-include-card__title {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--color-text-2);
}

.product-include-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted-2);
}

@media (max-width: 639px) {
  .product-include-card__body {
    padding: 14px 16px 14px 0;
  }

  .product-include-card__title {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-body {
    margin-top: -52px;
  }
}

@media (max-width: 767px) {
  .product-hero > .container.product-hero-copy {
    padding-bottom: 72px;
  }
  .product-body {
    margin-top: 0;
    padding-top: 24px;
    padding-bottom: 56px;
  }
}

/* Galería en páginas producto (reusa estilos de office-detail.css) */
.page-product .product-page-gallery .gallery-main {
  height: 420px;
}

.page-product .product-page-gallery .gallery-thumbs {
  flex-wrap: wrap;
}

.page-product .product-page-gallery .thumb {
  width: calc(25% - 12px);
  min-width: 0;
  flex: 1 1 calc(25% - 12px);
}

@media (max-width: 900px) {
  .page-product .product-page-gallery .thumb {
    flex: 1 1 calc(50% - 8px);
    width: calc(50% - 8px);
  }
}

@media (max-width: 767px) {
  .page-product .product-page-gallery .gallery-main {
    height: 300px;
  }

  .page-product .product-page-gallery .thumb {
    height: 100px;
  }
}

/* Modal reserva sala (mailto; campos opcionales) */
.meeting-reserve-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  box-sizing: border-box;
}

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

.meeting-reserve-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 11, 20, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.meeting-reserve-modal__panel {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: min(90vh, 640px);
  overflow: auto;
  padding: 22px 22px 18px;
  border-radius: var(--radius-16);
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-lg);
}

.meeting-reserve-modal__x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--color-muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.meeting-reserve-modal__x:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--color-text);
}

.meeting-reserve-modal__title {
  margin: 0 40px 8px 0;
  padding-right: 8px;
}

.meeting-reserve-modal__hint {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.45;
}

.meeting-reserve-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.meeting-reserve-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meeting-reserve-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-2);
}

.meeting-reserve-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--radius-12);
  border: 1px solid var(--color-border-strong);
  background: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
}

.meeting-reserve-input:focus {
  outline: 2px solid rgba(14, 91, 163, 0.35);
  outline-offset: 1px;
}

.meeting-reserve-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.meeting-reserve-actions .btn {
  flex: 1 1 auto;
  min-width: 140px;
}

.meeting-reserve-modal__note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.product-aside-link-btn {
  display: inline;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--color-primary);
  text-decoration: underline;
  cursor: pointer;
}

.product-aside-link-btn:hover {
  color: var(--color-primary-deep);
}

