@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --ink: #0f172a;
  --slate: #1f2937;
  --muted: #6b7280;
  --accent: #f16a1b;
  --accent-dark: #e05308;
  --teal: #0f766e;
  --fog: #f3f5f9;
  --line: #e5e7eb;
  --max: 1140px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", Tahoma, Arial, sans-serif;
  color: var(--slate);
  background: radial-gradient(circle at top, #ffffff 0%, #f1f2f6 45%, #eef1f5 100%);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--ink);
}
.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.menu {
  display: flex;
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}
.menu a { position: relative; }
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.menu a:hover::after,
.menu a.active::after { width: 100%; }
.menu a.active { color: var(--ink); font-weight: 600; }

.cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.cta:hover { background: var(--accent-dark); transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: url("../images/Sala.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(5, 10, 20, 0.75), rgba(5, 10, 20, 0.25));
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.hero h1 {
  margin: 14px 0 10px;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: 0.4px;
}
.hero p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta.outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
}
.hero-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}
.hero-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}
.hero-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 8px;
}

.section {
  padding: 64px 20px;
}
.section.light { background: #ffffff; }
.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-title h2 {
  margin: 0;
  font-size: 28px;
  color: var(--ink);
}
.section-title span {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease;
}
.card:hover { transform: translateY(-6px); }
.card img { height: 200px; width: 100%; object-fit: cover; }
.card img.card-logo-full {
  object-fit: contain;
  background: #fff;
  padding: 12px;
}
.card-body { padding: 18px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 34px;
}
.product-copy span {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.product-copy h1 {
  margin: 12px 0 14px;
  font-size: 44px;
  line-height: 1.05;
  color: var(--ink);
}
.product-copy p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 18px;
}
.product-points {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.product-points li {
  position: relative;
  padding-left: 22px;
  color: var(--slate);
}
.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #3bb273;
}
.product-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}
.product-media img {
  width: 100%;
  height: 100%;
  max-height: 470px;
  object-fit: cover;
}
.product-media figcaption {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.product-catalog-title {
  margin-top: 8px;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}
.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 220px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.ambiente-video {
  margin-top: 26px;
  width: calc((100% - 36px) / 2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.ambiente-video h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--ink);
}
.ambiente-video video {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #000;
}

.ambiente-3d-section {
  margin-top: 26px;
}
.panorama-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.room-chip {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.room-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.panorama-room {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 14px;
}
.panorama-viewer {
  position: relative;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e5e7eb;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.panorama-viewer.is-dragging {
  cursor: grabbing;
}
.panorama-viewer img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  pointer-events: none;
}
.panorama-help {
  margin: 10px 2px 0;
  color: var(--muted);
  font-size: 14px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--fog);
  border-radius: 16px;
  padding: 20px;
}
.step small {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.step h4 {
  margin: 10px 0 8px;
  font-size: 18px;
  color: var(--ink);
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.faq-wrap {
  margin-top: 34px;
}
.faq-subsection {
  margin-top: 30px;
}
.faq-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.faq-group {
  display: grid;
  gap: 10px;
}
.faq-group h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: var(--ink);
}
.faq-item {
  background: #eef0f2;
  border-radius: 12px;
  border: 1px solid #e6e8ec;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 14px 42px 14px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #11539c;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #11539c;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item p {
  margin: 0;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 30px;
  align-items: center;
}
.about-logo {
  width: 170px;
  margin: 0 auto;
}
.about-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.about p { margin: 0 0 12px; color: var(--muted); }

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-title {
  margin: 0 0 20px;
  font-size: 42px;
  line-height: 1.05;
  color: var(--ink);
}
.contact-block { margin-bottom: 26px; }
.contact-block h4 {
  margin: 0 0 10px;
  font-size: 24px;
  color: var(--ink);
}
.contact-block p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  gap: 16px;
}
.form-status {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
  font-size: 14px;
}
.form-status a {
  text-decoration: underline;
  font-weight: 600;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
  color: var(--slate);
  background: #f8fafc;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241, 106, 27, 0.12);
  background: #fff;
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}
.contact-form .cta {
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 140px;
  justify-content: center;
}

.footer {
  padding: 30px 20px 50px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.fade-up {
  animation: fadeUp 0.9s ease both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero-inner,
  .about,
  .product-hero { grid-template-columns: 1fr; }
  .grid-3,
  .steps,
  .faq-categories { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .menu { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-title { font-size: 34px; }
  .ambiente-video { width: 100%; }
  .panorama-viewer { height: 360px; }
  .product-copy h1 { font-size: 34px; }
  .product-copy p { font-size: 16px; }
}
