@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800;900&display=swap');

:root{
  --red:#971A1E;
  --red-dark:#751115;
  --ink:#1F222D;
  --ink-soft:#5F6472;
  --muted:#8C92A1;
  --surface:#F6F7F9;
  --line:#E6E8EE;
  --white:#FFFFFF;
  --blue:#1F6FEB;
  --blue-ink:#143A74;
  --orange:#D96C1F;
  --orange-ink:#8E3D10;
  --green:#1E8F69;
  --green-ink:#0D5740;
  --radius:24px;
  --radius-sm:16px;
  --shadow:0 22px 60px -36px rgba(31,34,45,.45);
  --header-h:76px;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--white);
  line-height:1.55;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
p{color:var(--ink-soft);margin-bottom:1rem}
h1,h2,h3,h4{line-height:1.08;letter-spacing:-.04em;color:var(--ink);margin-bottom:1rem}
section{padding:84px 0}
.container{width:min(1180px,calc(100% - 48px));margin:0 auto}
.lead{font-size:1.12rem;max-width:760px}
.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:14px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:48px;
  padding:13px 21px;
  border-radius:999px;
  font-weight:900;
  border:2px solid transparent;
  transition:transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}
.btn:hover{transform:translateY(-1px)}
.btn svg{width:18px;height:18px}
.btn-primary{background:var(--red);color:var(--white);box-shadow:0 18px 30px -22px rgba(151,26,30,.9)}
.btn-primary:hover{background:var(--red-dark)}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn-light{background:var(--white);color:var(--ink)}
.btn-outline-light{border-color:rgba(255,255,255,.42);color:var(--white);background:transparent}
.btn-outline-light:hover{background:rgba(255,255,255,.1);border-color:var(--white)}

.header{
  position:sticky;top:0;z-index:100;
  height:var(--header-h);
  display:flex;align-items:center;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo img{height:28px;width:auto}
.nav{display:flex;align-items:center;gap:30px}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none;font-weight:900;font-size:.95rem}
.nav-links a,.dropdown-button{
  position:relative;
  padding:8px 0;
  color:var(--ink);
  background:none;
  border:0;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}
.nav-links a:hover,.nav-links a.is-active,.dropdown:hover .dropdown-button,.dropdown-button.is-active{color:var(--red)}
.nav-links a::after,.dropdown-button::after{
  content:"";
  position:absolute;left:0;bottom:0;
  width:0;height:2px;
  background:var(--red);
  border-radius:2px;
  transition:width .2s ease;
}
.nav-links a:hover::after,.nav-links a.is-active::after,.dropdown:hover .dropdown-button::after,.dropdown-button.is-active::after{width:100%}
.dropdown{position:relative}
.dropdown-menu{
  position:absolute;
  top:100%;left:-20px;
  min-width:278px;
  background:var(--white);
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:10px;
  list-style:none;
  display:none;
}
.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{display:block}
.dropdown-menu a{display:block;padding:12px 14px;border-radius:10px;color:var(--ink);font-weight:800}
.dropdown-menu a:hover{background:var(--surface);color:var(--red)}
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;flex-direction:column;gap:5px}
.nav-toggle span{display:block;width:24px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s ease,opacity .2s ease}

.hero{
  position:relative;
  display:flex;
  align-items:center;
  min-height:660px;
  padding:138px 0 94px;
  color:var(--white);
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;inset:0;
  background:
    linear-gradient(100deg,rgba(18,22,32,.96) 0%,rgba(18,22,32,.82) 45%,rgba(18,22,32,.34) 100%),
    url('../assets/img/hero-bg.jpg') center/cover no-repeat;
  z-index:0;
}
.hero .container{position:relative;z-index:1}
.hero-copy{max-width:980px}
.hero .eyebrow{color:#ff6d6b}
.hero h1{
  max-width:960px;
  font-size:clamp(2.15rem,4.6vw,3.72rem);
  font-weight:900;
  color:var(--white);
}
.hero-lead{
  max-width:910px;
  font-size:1.1rem;
  color:rgba(255,255,255,.88);
}
.hero-actions,.service-actions,.cta-actions,.form-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}
.hero .btn-ghost{color:var(--white);border-color:rgba(255,255,255,.4)}
.hero .btn-ghost:hover{border-color:var(--white);background:rgba(255,255,255,.1)}
.hero-tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:32px}
.hero-tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  font-size:.82rem;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.25);
  color:rgba(255,255,255,.94);
}
.dot{width:8px;height:8px;border-radius:50%;display:inline-block}
.dot--blue{background:var(--blue)}
.dot--orange{background:var(--orange)}
.dot--green{background:var(--green)}

.section-head{max-width:700px;margin-bottom:42px}
.section-head h2{font-size:clamp(1.85rem,3.2vw,2.65rem)}
.section-head p{font-size:1.06rem;margin-bottom:0}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.service-card{
  position:relative;
  color:var(--white);
  border-radius:var(--radius);
  padding:32px 28px 28px;
  display:flex;
  flex-direction:column;
  min-height:430px;
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease;
}
.service-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px -24px rgba(31,34,45,.45)}
.service-card--blue{background:linear-gradient(135deg,var(--blue),var(--blue-ink))}
.service-card--orange{background:linear-gradient(135deg,var(--orange),var(--orange-ink))}
.service-card--green{background:linear-gradient(135deg,var(--green),var(--green-ink))}
.service-icon{
  width:96px;height:96px;
  background:transparent;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
}
.service-icon img{width:96px;height:96px;object-fit:contain}
.service-card h3{font-size:1.34rem;color:var(--white)}
.service-card p{font-size:.98rem;color:rgba(255,255,255,.88)}
.service-list{list-style:none;display:grid;gap:8px;margin:18px 0 0;padding:0}
.service-list li{display:flex;gap:10px;color:rgba(255,255,255,.9);font-size:.96rem;line-height:1.5}
.service-list li::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:rgba(255,255,255,.92);
  flex:0 0 auto;
  margin-top:8px;
}
.service-link{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:900;
  color:var(--white);
  padding-top:18px;
}
.service-link svg{width:18px;height:18px;transition:transform .18s ease}
.service-card:hover .service-link svg{transform:translateX(4px)}

.cta-band{background:var(--red);color:var(--white);position:relative;overflow:hidden}
.cta-band .container{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap}
.cta-band h2{font-size:clamp(1.65rem,3vw,2.35rem);margin-bottom:8px;max-width:650px;color:var(--white)}
.cta-band p{color:rgba(255,255,255,.82);margin-bottom:0;max-width:580px}
.cta-band .btn-primary{background:var(--white);color:var(--red);box-shadow:none}
.cta-band .btn-primary:hover{background:var(--surface)}

.service-hero{position:relative;padding:58px 0 84px;color:var(--white);overflow:hidden;background:var(--accent-ink)}
.service-hero--blue{--accent:var(--blue);--accent-ink:var(--blue-ink)}
.service-hero--orange{--accent:var(--orange);--accent-ink:var(--orange-ink)}
.service-hero--green{--accent:var(--green);--accent-ink:var(--green-ink)}
.service-hero::before{
  content:"";
  position:absolute;inset:-40% -10% auto auto;
  width:520px;height:520px;border-radius:50%;
  background:var(--accent);
  opacity:.22;
}
.service-hero .container{position:relative;z-index:1}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:.88rem;color:rgba(255,255,255,.68);margin-bottom:20px;flex-wrap:wrap}
.breadcrumb a{color:rgba(255,255,255,.88)}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:var(--white);
  font-weight:900;
  font-size:.8rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:9px 16px;
  border-radius:999px;
  margin-bottom:22px;
}
.badge img{background:rgba(255,255,255,.95)}
.service-hero h1{font-size:clamp(2.05rem,4.4vw,3.2rem);max-width:780px;color:var(--white)}
.service-hero p.lead{color:rgba(255,255,255,.86)}
.simple-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:32px;align-items:start}
.simple-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.simple-card h2{font-size:clamp(1.5rem,2.5vw,2.05rem)}
.bullets{list-style:none;display:grid;gap:12px;margin-top:20px}
.bullets li{display:flex;gap:12px;color:var(--ink-soft)}
.bullets li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--red);flex:0 0 auto;margin-top:9px}
.related-services{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:22px}
.mini-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;border:1px solid var(--line);border-radius:var(--radius-sm);font-weight:900}
.mini-link svg{width:18px;height:18px}
.mini-link:hover{border-color:var(--ink);background:var(--surface)}

.contact-hero{padding:64px 0 42px}
.contact-hero h1{font-size:clamp(2.1rem,4.2vw,3rem)}
.contact-section{padding-top:0}
.contact-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:34px;align-items:start}
.contact-methods{display:grid;gap:18px}
.contact-card{border:1px solid var(--line);border-radius:var(--radius);padding:26px;background:var(--white)}
.contact-card h3{font-size:1.1rem;margin-bottom:4px}
.contact-card p{font-size:.94rem;margin-bottom:10px}
.cc-link,.cc-link-text{font-weight:900;color:var(--ink);display:inline-flex;align-items:center;gap:8px}
.cc-link:hover{color:var(--red)}
.form-card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.form-card h2{font-size:clamp(1.5rem,2.5vw,2.05rem)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.form-field{display:flex;flex-direction:column;gap:7px}
.form-field.full{grid-column:1/-1}
label{font-weight:900;font-size:.9rem;color:var(--ink)}
input,select,textarea{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:13px 14px;
  font:inherit;
  color:var(--ink);
  background:var(--white);
}
textarea{min-height:140px;resize:vertical}
.form-note{font-size:.86rem;color:var(--ink-soft);margin:14px 0 0}
.form-actions .btn{border-width:2px}
.form-card .btn-ghost{background:var(--white)}

.footer{background:#181B26;color:rgba(255,255,255,.7);padding:58px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:48px;padding-bottom:36px;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand img{height:26px;margin-bottom:16px}
.footer-brand p{color:rgba(255,255,255,.58);font-size:.93rem;max-width:360px}
.footer h4{color:var(--white);font-size:.85rem;text-transform:uppercase;letter-spacing:.12em;margin-bottom:18px}
.footer-links,.footer-contact{display:flex;flex-direction:column;gap:12px}
.footer-links a,.footer-contact a,.footer-contact span{font-size:.95rem;color:rgba(255,255,255,.72)}
.footer-links a:hover,.footer-contact a:hover{color:var(--white)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:24px;font-size:.85rem;color:rgba(255,255,255,.45)}
.footer-bottom a{color:rgba(255,255,255,.58)}

@media(max-width:980px){
  .simple-grid,.contact-layout{grid-template-columns:1fr;gap:34px}
  .services-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:760px){
  section{padding:62px 0}
  .logo img{height:25px}
  .nav-links,.nav-cta{display:none}
  .nav-toggle{display:flex}
  .nav.is-open .nav-links{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    position:absolute;
    top:var(--header-h);left:0;right:0;
    background:var(--white);
    border-bottom:1px solid var(--line);
    padding:20px 24px 26px;
    gap:10px;
    box-shadow:0 12px 24px -16px rgba(0,0,0,.15);
  }
  .nav.is-open .dropdown-menu{position:static;display:block;box-shadow:none;border:0;padding:8px 0 0;margin-left:12px}
  .nav.is-open .dropdown-button{width:100%;text-align:left}
  .nav.is-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav.is-open .nav-toggle span:nth-child(2){opacity:0}
  .nav.is-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .hero{min-height:570px;padding:116px 0 70px}
  .services-grid,.related-services{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .cta-band .container{align-items:flex-start;flex-direction:column}
  .service-icon,.service-icon img{width:82px;height:82px}
}
@media(max-width:560px){
  .container{width:min(100% - 36px,1180px)}
  .hero-actions .btn,.cta-actions .btn,.form-actions .btn{width:100%}
  .hero-actions,.cta-actions,.form-actions{flex-direction:column;width:100%}
  .service-card{min-height:auto}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .form-card{padding:24px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .btn,.service-card{transition:none}
}


/* Ajustes v5 */
.hero-logo{
  width:178px;
  height:auto;
  margin:0 0 28px;
  filter:drop-shadow(0 10px 24px rgba(0,0,0,.25));
}
.service-icon{
  width:82px;
  height:82px;
  background:transparent;
  border-radius:0;
  margin-bottom:24px;
}
.service-icon img{
  width:82px;
  height:82px;
  object-fit:contain;
}
.badge img{
  background:transparent;
}

@media(max-width:760px){
  .hero-logo{
    width:148px;
    margin-bottom:24px;
  }
  .service-icon,
  .service-icon img{
    width:76px;
    height:76px;
  }
}


/* Ajustes v7: icono/título clicables y textos nuevos */
.service-card h3 a{
  color:inherit;
}
.service-card h3 a:hover,
.service-icon:hover + h3 a{
  text-decoration:underline;
  text-underline-offset:4px;
}
.service-icon{
  cursor:pointer;
}
.service-card{
  min-height:430px;
}
.service-card p{
  font-size:.99rem;
}
@media(max-width:980px){
  .service-card{
    min-height:auto;
  }
}


/* Ajustes v8: página recorridos 360 */
.service-intro-grid{
  align-items:start;
}
.examples-menu-card{
  position:sticky;
  top:calc(var(--header-h) + 24px);
}
.anchor-menu{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.anchor-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  font-weight:900;
  background:var(--white);
}
.anchor-menu a::after{
  content:"↓";
  color:var(--red);
}
.anchor-menu a:hover{
  border-color:var(--red);
  color:var(--red);
}
.tour-examples-section{
  padding-top:24px;
}
.accordion-list{
  display:grid;
  gap:18px;
}
.tour-accordion{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  overflow:hidden;
  box-shadow:0 18px 40px -34px rgba(31,34,45,.45);
  scroll-margin-top:calc(var(--header-h) + 24px);
}
.tour-accordion summary{
  list-style:none;
  cursor:pointer;
  padding:24px 28px;
  font-size:1.22rem;
  font-weight:900;
  letter-spacing:-.03em;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.tour-accordion summary::-webkit-details-marker{
  display:none;
}
.tour-accordion summary::after{
  content:"+";
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--surface);
  color:var(--red);
  font-size:1.3rem;
  flex:0 0 auto;
}
.tour-accordion[open] summary::after{
  content:"–";
}
.tour-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  padding:0 28px 28px;
}
.tour-card{
  display:block;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--surface);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tour-card:hover{
  transform:translateY(-2px);
  border-color:var(--red);
  box-shadow:0 18px 36px -30px rgba(31,34,45,.45);
}
.tour-thumb{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:
    linear-gradient(100deg,rgba(18,22,32,.55),rgba(18,22,32,.18)),
    url('../assets/img/hero-bg.jpg') center/cover no-repeat;
}
.tour-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.24),transparent 34%);
}
.tour-thumb--residential{background-position:center}
.tour-thumb--apartment{background-position:right center}
.tour-thumb--construction{background-position:55% center}
.tour-thumb--architecture{background-position:70% center}
.tour-thumb--industrial{background-position:60% center}
.tour-thumb--facility{background-position:right center}
.tour-thumb--business{background-position:center}
.tour-thumb--school{background-position:left center}
.play-button{
  position:absolute;
  inset:0;
  margin:auto;
  width:72px;
  height:72px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 40px -20px rgba(0,0,0,.55);
}
.play-button::after{
  content:"";
  position:absolute;
  top:50%;
  left:53%;
  transform:translate(-50%,-50%);
  width:0;
  height:0;
  border-top:15px solid transparent;
  border-bottom:15px solid transparent;
  border-left:22px solid var(--red);
}
.tour-card-title{
  display:block;
  padding:16px 18px 18px;
  font-weight:900;
  color:var(--ink);
}
.tour-popup{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(13,17,27,.48);
}
.tour-popup.is-visible{
  display:flex;
}
.tour-popup-card{
  position:relative;
  max-width:440px;
  width:100%;
  background:var(--white);
  border-radius:24px;
  padding:30px 30px 28px;
  box-shadow:0 30px 80px -38px rgba(0,0,0,.55);
}
.tour-popup-card h3{
  font-size:1.35rem;
  margin-right:24px;
}
.tour-popup-card p{
  margin-bottom:0;
}
.tour-popup-close{
  position:absolute;
  top:14px;
  right:16px;
  border:0;
  background:var(--surface);
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:1.3rem;
  cursor:pointer;
}
@media(max-width:980px){
  .examples-menu-card{
    position:static;
  }
}
@media(max-width:760px){
  .tour-grid{
    grid-template-columns:1fr;
    padding:0 18px 18px;
  }
  .tour-accordion summary{
    padding:20px 18px;
  }
}


/* Ajustes v9: página recorridos 360 corregida */
.service-intro-grid{
  align-items:start;
}
.examples-menu-card{
  position:sticky;
  top:calc(var(--header-h) + 24px);
}
.anchor-menu{
  display:grid;
  gap:10px;
  margin-top:18px;
}
.anchor-menu a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  font-weight:900;
  background:var(--white);
}
.anchor-menu a::after{
  content:"↓";
  color:var(--red);
}
.anchor-menu a:hover{
  border-color:var(--red);
  color:var(--red);
}
.tour-examples-section{
  padding-top:24px;
}
.accordion-list{
  display:grid;
  gap:18px;
}
.tour-accordion{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--white);
  overflow:hidden;
  box-shadow:0 18px 40px -34px rgba(31,34,45,.45);
  scroll-margin-top:calc(var(--header-h) + 24px);
}
.tour-accordion summary{
  list-style:none;
  cursor:pointer;
  padding:24px 28px;
  font-size:1.22rem;
  font-weight:900;
  letter-spacing:-.03em;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.tour-accordion summary::-webkit-details-marker{
  display:none;
}
.tour-accordion summary::after{
  content:"+";
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--surface);
  color:var(--red);
  font-size:1.3rem;
  flex:0 0 auto;
}
.tour-accordion[open] summary::after{
  content:"–";
}
.tour-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  padding:0 28px 28px;
}
.tour-card{
  display:block;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:var(--surface);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tour-card:hover{
  transform:translateY(-2px);
  border-color:var(--red);
  box-shadow:0 18px 36px -30px rgba(31,34,45,.45);
}
.tour-thumb{
  position:relative;
  display:block;
  aspect-ratio:16/9;
  overflow:hidden;
  background:
    linear-gradient(100deg,rgba(18,22,32,.55),rgba(18,22,32,.18)),
    url('../assets/img/hero-bg.jpg') center/cover no-repeat;
}
.tour-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.24),transparent 34%);
}
.tour-thumb--residential{background-position:center}
.tour-thumb--apartment{background-position:right center}
.tour-thumb--construction{background-position:55% center}
.tour-thumb--architecture{background-position:70% center}
.tour-thumb--industrial{background-position:60% center}
.tour-thumb--facility{background-position:right center}
.tour-thumb--business{background-position:center}
.tour-thumb--school{background-position:left center}
.play-button{
  position:absolute;
  inset:0;
  margin:auto;
  width:72px;
  height:72px;
  border-radius:50%;
  background:rgba(255,255,255,.92);
  box-shadow:0 16px 40px -20px rgba(0,0,0,.55);
}
.play-button::after{
  content:"";
  position:absolute;
  top:50%;
  left:53%;
  transform:translate(-50%,-50%);
  width:0;
  height:0;
  border-top:15px solid transparent;
  border-bottom:15px solid transparent;
  border-left:22px solid var(--red);
}
.tour-card-title{
  display:block;
  padding:16px 18px 18px;
  font-weight:900;
  color:var(--ink);
}
.tour-popup{
  position:fixed;
  inset:0;
  z-index:1000;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(13,17,27,.48);
}
.tour-popup.is-visible{
  display:flex;
}
.tour-popup-card{
  position:relative;
  max-width:440px;
  width:100%;
  background:var(--white);
  border-radius:24px;
  padding:30px 30px 28px;
  box-shadow:0 30px 80px -38px rgba(0,0,0,.55);
}
.tour-popup-card h3{
  font-size:1.35rem;
  margin-right:24px;
}
.tour-popup-card p{
  margin-bottom:0;
}
.tour-popup-close{
  position:absolute;
  top:14px;
  right:16px;
  border:0;
  background:var(--surface);
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:1.3rem;
  cursor:pointer;
}
@media(max-width:980px){
  .examples-menu-card{
    position:static;
  }
}
@media(max-width:760px){
  .tour-grid{
    grid-template-columns:1fr;
    padding:0 18px 18px;
  }
  .tour-accordion summary{
    padding:20px 18px;
  }
}


/* Ajustes v10: restaurar hero limpio en Recorridos 360 */
.service-hero .badge{
  display:inline-flex;
  width:auto;
}
.service-hero .badge img{
  display:none;
}
.service-intro-grid > div:first-child{
  padding-top:0;
}


/* Ajustes v11: recorridos reales */
.tour-note{
  margin:0 28px 22px;
  padding:18px 20px;
  border-radius:16px;
  background:var(--surface);
  border:1px solid var(--line);
}
.tour-note p{
  margin:0;
  color:var(--ink-soft);
  font-weight:700;
}
.tour-thumb--warehouse-sale{background-position:62% center}
.tour-thumb--office-rent{background-position:78% center}
.tour-thumb--remodel{background-position:50% center}
.tour-thumb--cabin{background-position:35% center}
.tour-thumb--land{background-position:20% center}
.tour-thumb--loading-dock{background-position:65% center}
@media(max-width:760px){
  .tour-note{
    margin:0 18px 18px;
  }
}


/* Ajustes v12 */
.tour-thumb--plant-fitout{background-position:72% center}


/* Ajustes v13: portadas reales de recorridos */
.tour-thumb{
  background:none !important;
}
.tour-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.tour-thumb::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.16));
  pointer-events:none;
}


/* Ajustes v16: acordeones de detalle en Escaneo 3D y Fotogrametría */
.service-details-section{
  padding-top:24px;
}
.detail-placeholder{
  margin:0 28px 28px;
  padding:24px;
  border:1px dashed var(--line);
  border-radius:18px;
  background:var(--surface);
}
.detail-placeholder p{
  margin:0;
  color:var(--ink-soft);
  font-weight:700;
}
.service-detail-accordion{
  scroll-margin-top:calc(var(--header-h) + 24px);
}
@media(max-width:760px){
  .detail-placeholder{
    margin:0 18px 18px;
    padding:20px;
  }
}


/* Ajustes v17: contenido visual de acordeones Escaneo 3D */
.detail-content{
  padding:0 28px 28px;
}

.detail-content > p{
  max-width:900px;
  margin:0 0 20px;
  color:var(--ink-soft);
  font-weight:600;
}

.detail-gallery{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
}

.detail-gallery img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  background:var(--surface);
  box-shadow:0 18px 36px -34px rgba(31,34,45,.45);
}

.detail-gallery img:only-child{
  grid-column:1 / -1;
}

@media(max-width:760px){
  .detail-content{
    padding:0 18px 18px;
  }

  .detail-gallery{
    grid-template-columns:1fr;
  }
}


/* Ajustes v21 TEST: imágenes en headers de servicios con overlay del color original */
.service-hero{
  position:relative;
  isolation:isolate;
}

.service-hero--recorridos-bg,
.service-hero--escaneo-bg,
.service-hero--fotogrametria-bg{
  background-color:var(--accent-ink);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}

.service-hero--recorridos-bg{
  background-image:
    linear-gradient(90deg, rgba(20,58,116,.92), rgba(20,58,116,.78)),
    url('../assets/img/service-headers/header-recorridos-360.png');
}

.service-hero--escaneo-bg{
  background-image:
    linear-gradient(90deg, rgba(142,61,16,.92), rgba(142,61,16,.78)),
    url('../assets/img/service-headers/header-escaneo-3d.png');
}

.service-hero--fotogrametria-bg{
  background-position:center top;
  background-image:
    linear-gradient(90deg, rgba(13,87,64,.92), rgba(13,87,64,.78)),
    url('../assets/img/service-headers/header-fotogrametria-dron.png');
}

/* Suaviza el círculo decorativo anterior para que no compita con la imagen */
.service-hero--recorridos-bg::before,
.service-hero--escaneo-bg::before,
.service-hero--fotogrametria-bg::before{
  opacity:.08;
}

/* Mejora legibilidad del texto sobre imagen */
.service-hero--recorridos-bg .container,
.service-hero--escaneo-bg .container,
.service-hero--fotogrametria-bg .container{
  text-shadow:0 10px 30px rgba(0,0,0,.26);
}


/* Ajustes v24: corrección de scroll horizontal en móvil */
html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

img,
svg,
video,
canvas,
iframe{
  max-width:100%;
}

body{
  position:relative;
}

@media(max-width:760px){
  .container{
    width:100%;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
  }

  .header-inner{
    width:100%;
    max-width:100%;
  }

  .nav.is-open .nav-links{
    width:100%;
    max-width:100vw;
    box-sizing:border-box;
    overflow-x:hidden;
  }

  .nav.is-open .dropdown{
    width:100%;
    max-width:100%;
  }

  .nav.is-open .dropdown-menu{
    min-width:0;
    width:100%;
    max-width:100%;
    margin-left:0;
    box-sizing:border-box;
  }

  .nav.is-open .dropdown-menu a{
    white-space:normal;
    overflow-wrap:anywhere;
  }

  .service-hero,
  .hero,
  .cta-band,
  section,
  .footer{
    max-width:100vw;
    overflow-x:hidden;
  }

  .simple-grid,
  .services-grid,
  .tour-grid,
  .detail-gallery,
  .related-services,
  .contact-layout,
  .form-grid,
  .footer-grid{
    width:100%;
    max-width:100%;
  }

  .simple-card,
  .service-card,
  .tour-accordion,
  .form-card,
  .contact-card,
  .tour-card{
    max-width:100%;
  }

  .hero h1,
  .service-hero h1,
  h1,
  h2,
  h3,
  p,
  a,
  span,
  li{
    overflow-wrap:anywhere;
  }

  .hero-tags{
    max-width:100%;
  }

  .hero-tag{
    max-width:100%;
    white-space:normal;
  }

  .btn{
    max-width:100%;
    white-space:normal;
    text-align:center;
  }
}

@media(max-width:560px){
  .container{
    width:100%;
    max-width:100%;
    padding-left:18px;
    padding-right:18px;
  }
}
