/* TOUR VIRTUAL 360 — estilos principales */
:root {
  --bg: #090d16;
  --bg-soft: #101725;
  --panel: #151f2e;
  --text: #f4f6fa;
  --muted: #a9b3c2;
  --accent: #70e1d1;
  --accent-2: #a78bfa;
  --line: rgba(255,255,255,.13);
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "DM Sans", sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 82px; padding: 0 max(24px, calc((100vw - var(--wrap))/2)); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; background: rgba(9,13,22,.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: 50%; display: grid; place-items: center; font: 800 16px Manrope,sans-serif; color: var(--accent); }
.brand-mark span { font-size: 10px; }
.brand-name { font: 700 12px Manrope,sans-serif; letter-spacing: .14em; }
.brand-name b { color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; color: #d0d7e1; }
.main-nav a { transition: color .2s; }
.main-nav a:hover, .footer-main-link:hover { color: var(--accent); }
.nav-cta { border: 1px solid rgba(112,225,209,.65); border-radius: 3px; padding: 10px 19px; color: var(--accent); }
.menu-toggle { display: none; }
.hero { min-height: 690px; height: min(780px, calc(100vh - 82px)); position: relative; display: flex; align-items: center; overflow: hidden; background: #111927; }
.hero-image { position: absolute; inset: 0; background: url("../imagenes/hero-tour-360.jpg") center 48%/cover no-repeat; opacity: .92; transform: scale(1.015); }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7,11,19,.68) 0%,
      rgba(7,11,19,.38) 42%,
      rgba(7,11,19,.08) 100%
    ),
    linear-gradient(0deg,
      rgba(9,13,22,.18),
      transparent 35%
    );
}
.hero-content { position: relative; z-index: 1; padding-top: 24px; }
.eyebrow, .section-kicker { font: 700 10px Manrope,sans-serif; letter-spacing: .2em; color: var(--accent); }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.eyebrow span, .pulse { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; display: inline-block; box-shadow: 0 0 14px var(--accent); }
h1,h2,h3,p { margin-top: 0; }
h1,h2 { font-family: Manrope,sans-serif; letter-spacing: -.055em; line-height: 1.12; }
h1 { font-size: clamp(46px, 6.6vw, 82px); font-weight: 700; max-width: 800px; margin-bottom: 25px; }
h1 em,h2 em { font-style: normal; color: var(--accent); }
.hero-copy {
  display: inline-block;
  background: rgba(0, 0, 0, 0.68);
  padding: 16px 18px;
  border-radius: 5px;
  color: #fafaf9;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  text-shadow: none;
  max-width: 100%;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-size: 12px; font-weight: 700; letter-spacing: .02em; border-radius: 3px; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: #07131a; }
.button-primary:hover { background: #91f0e2; }
.button-ghost { border: 1px solid rgba(255,255,255,.42); color: white; }
.hero-note { margin-top: 56px; color: #aab5c3; font-size: 11px; letter-spacing: .06em; display: flex; align-items: center; gap: 10px; }
.hero-index { position: absolute; right: max(24px, calc((100vw - var(--wrap))/2)); bottom: 38px; font: 700 12px Manrope; letter-spacing: .12em; }
.hero-index span { color: var(--accent); margin: 0 7px; }
.section { padding-block: 112px; }
.intro-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 9%; margin-top: 25px; align-items: start; }
h2 { font-size: clamp(34px, 4.4vw, 55px); font-weight: 650; margin-bottom: 0; }
.intro-text { padding-top: 7px; color: var(--muted); font-size: 15px; }
.intro-text p:last-child { margin-bottom: 0; }
.solutions { background: #101725; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 48px; }
.section-heading h2 { margin-top: 18px; }
.section-heading > p { max-width: 360px; margin-bottom: 4px; color: var(--muted); font-size: 14px; }
.solution-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.solution-card { min-height: 245px; padding: 28px 29px 25px; background: #101725; position: relative; }
.card-number { position: absolute; top: 26px; right: 27px; color: #647184; font: 11px Manrope; }
.line-icon { color: var(--accent); font-size: 27px; margin-bottom: 26px; }
.solution-card h3 { font: 650 18px Manrope; margin-bottom: 11px; letter-spacing: -.03em; }
.solution-card p { color: var(--muted); font-size: 13px; margin-bottom: 0; }
.solution-card-dark { background: #172337; }
.featured .section-heading { margin-bottom: 42px; }
.project-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 22px; align-items: start; }
.project-image { display: block; height: 260px; position: relative; overflow: hidden; background: #172337; }
.project-large .project-image { height: 335px; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.project-image:hover img { transform: scale(1.045); }
.project-image::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.5)); }
.project-open { position: absolute; bottom: 18px; left: 19px; z-index: 1; font-size: 16px; font-weight: 700; }
.project-meta { display: flex; justify-content: space-between; margin-top: 18px; color: var(--accent); font: 700 9px Manrope; letter-spacing: .13em; }
.project-meta span:last-child { color: #758194; }
.project h3 { font: 650 17px Manrope; margin: 10px 0 5px; }
.project p,.projects-footnote { color: var(--muted); font-size: 12px; }
.projects-footnote { margin: 34px 0 0; }
.quality-band { padding-block: 100px; background: linear-gradient(120deg,#172438,#101725 68%); border-block: 1px solid var(--line); }
.quality-grid { display: grid; grid-template-columns: .9fr 1fr; gap: 12%; }
.quality-grid h2 { margin-top: 18px; }
.quality-copy > p { color: var(--muted); font-size: 14px; max-width: 500px; }
.quality-points { margin-top: 30px; border-top: 1px solid var(--line); }
.quality-points > div { display: flex; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.quality-points b { color: var(--accent); font: 700 11px Manrope; padding-top: 3px; }
.quality-points strong,.quality-points small { display: block; }
.quality-points strong { font: 650 14px Manrope; }
.quality-points small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.vr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9%; align-items: center; }
.vr-visual { position: relative; min-height: 430px; background: #172337; }
.vr-visual img { width: 100%; height: 430px; object-fit: cover; }
.vr-label { position: absolute; bottom: 20px; left: 20px; padding: 8px 12px; background: rgba(9,13,22,.8); color: var(--accent); font: 700 9px Manrope; letter-spacing: .15em; }
.vr-copy h2 { margin: 18px 0 22px; }
.vr-copy p,.vr-copy li { color: var(--muted); font-size: 14px; }
.vr-copy ul { padding-left: 18px; margin: 22px 0 27px; }
.vr-copy li { margin: 8px 0; }
.text-link { color: var(--accent); font-size: 12px; font-weight: 700; border-bottom: 1px solid rgba(112,225,209,.5); padding-bottom: 8px; }
.text-link span { margin-left: 12px; }
.cta-section { padding: 105px 0 100px; text-align: center; background: radial-gradient(ellipse at 50% 100%,#1a3540 0%,#0c1421 54%,#090d16 100%); border-top: 1px solid var(--line); }
.cta-inner { max-width: 750px; }
.cta-inner h2 { margin: 19px 0; font-size: clamp(42px,5.3vw,66px); }
.cta-inner > p:not(.cta-location) { color: var(--muted); max-width: 540px; margin: 0 auto 30px; font-size: 14px; }
.button-large { min-height: 58px; padding-inline: 27px; }
.cta-location { color: #8190a3; font-size: 11px; margin: 23px 0 0; }
.site-footer { background: #070a11; border-top: 1px solid var(--line); }
.footer-top { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-top > p { color: var(--muted); font-size: 12px; margin: 0; }
.footer-main-link { color: var(--accent); font-size: 11px; }
.footer-bottom { border-top: 1px solid var(--line); min-height: 52px; display: flex; justify-content: space-between; align-items: center; color: #758194; font-size: 10px; }
@media (max-width: 850px) {
  .main-nav { gap: 19px; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-large { grid-column: span 2; }
  .project-large .project-image { height: 300px; }
  .quality-grid { gap: 7%; }
  .vr-grid { gap: 6%; }
}
@media (max-width: 650px) {
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .site-header { height: 70px; padding-inline: 18px; }
  .menu-toggle { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 3px; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
  .menu-toggle span { display: block; width: 17px; height: 1px; background: white; }
  .main-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 17px 20px 22px; background: #0b111d; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 5px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav .nav-cta { margin-top: 10px; text-align: center; border: 1px solid rgba(112,225,209,.65); }
  .hero { height: auto; min-height: 670px; }
  .hero-image { background-position: 58% center; }
 .hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(7,11,19,.68) 0%,
      rgba(7,11,19,.38) 42%,
      rgba(7,11,19,.08) 100%
    ),
    linear-gradient(0deg,
      rgba(9,13,22,.18),
      transparent 35%
    );
}
  .hero-content { padding-top: 45px; padding-bottom: 90px; }
  h1 { font-size: clamp(43px,12vw,62px); }
  .hero-copy { font-size: 15px; }
  .hero-note { margin-top: 40px; }
  .hero-index { bottom: 24px; }
  .section { padding-block: 76px; }
  .intro-grid,.quality-grid,.vr-grid { grid-template-columns: 1fr; gap: 25px; }
  .intro-grid { margin-top: 22px; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 20px; }
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution-card { min-height: 235px; padding: 22px 18px; }
  .solution-card h3 { font-size: 16px; }
  .solution-card p { font-size: 12px; }
  .card-number { top: 20px; right: 17px; }
  .project-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-large { grid-column: auto; }
  .project-image,.project-large .project-image { height: 250px; }
  .quality-band { padding-block: 75px; }
  .vr-visual,.vr-visual img { min-height: 280px; height: 280px; }
  .vr-copy { padding-top: 12px; }
  .cta-section { padding: 78px 0; }
  .footer-top { padding-block: 28px; align-items: flex-start; flex-direction: column; gap: 16px; }
  .footer-bottom { padding-block: 14px; align-items: flex-start; flex-direction: column; gap: 5px; }
}
@media (max-width: 390px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }
}
