/* =========================================================
   JM five — tokens
========================================================= */
:root{
  --cream:      #F8F5EF;
  --white:      #FFFFFF;
  --charcoal:   #262421;
  --stone:      #6E6A63;
  --stone-light:#B9B3A8;
  --line:       #E4DFD5;
  --gold-deep:  #8C6A3F;
  --gold:       #B8935B;
  --gold-light: #D9BD8E;
  --gold-grad:  linear-gradient(120deg, var(--gold-deep) 0%, var(--gold) 45%, var(--gold-light) 100%);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--charcoal);
  font-family:var(--sans);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; transition-duration:0.01ms !important; }
}

/* faint grain / warmth over whole page */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:1;
  background-image:radial-gradient(circle at 20% 20%, rgba(184,147,91,.05), transparent 40%),
                    radial-gradient(circle at 80% 70%, rgba(184,147,91,.06), transparent 45%);
}

.eyebrow{
  font-family:var(--sans);
  font-size:.72rem;
  letter-spacing:.28em;
  text-transform:uppercase;
  color:var(--gold-deep);
  margin:0 0 14px;
}
.eyebrow.center{ text-align:center; }

.section-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2rem, 4vw, 2.8rem);
  margin:0 0 18px;
  letter-spacing:-.01em;
}
.section-title.center{ text-align:center; }
.section-sub{
  max-width:560px;
  margin:0 auto 56px;
  text-align:center;
  color:var(--stone);
  font-weight:300;
  font-size:1.02rem;
  line-height:1.7;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:15px 30px;
  border-radius:2px;
  font-family:var(--sans);
  font-size:.86rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:500;
  border:1px solid transparent;
  cursor:pointer;
  position:relative;
  overflow:hidden;
}
.btn-gold{
  background:var(--gold-grad);
  color:var(--white);
  box-shadow:0 6px 16px -8px rgba(140,106,63,.45);
}
.btn-gold::before{
  content:"";
  position:absolute;
  top:0; left:-60%;
  width:40%; height:100%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.45), transparent);
  transform:skewX(-20deg);
  transition:left .5s cubic-bezier(.22,.9,.32,1);
  pointer-events:none;
}
.btn-gold:hover::before{ left:130%; }
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 14px 28px -10px rgba(140,106,63,.55); }
.btn-ghost{
  border-color:var(--charcoal);
  color:var(--charcoal);
}
.btn-ghost:hover{ background:var(--charcoal); color:var(--white); transform:translateY(-2px); box-shadow:0 10px 22px -12px rgba(38,36,33,.35); }

/* reveal-on-scroll — bidirectional, with direction variants */
.reveal{
  opacity:0;
  transition:opacity .75s cubic-bezier(.22,.9,.32,1), transform .75s cubic-bezier(.22,.9,.32,1), filter .7s ease;
  filter:blur(3px);
  will-change:transform, opacity;
}
.reveal-up{ transform:translateY(26px); }
.reveal-left{ transform:translateX(-32px); }
.reveal-right{ transform:translateX(32px); }
.reveal.in{
  opacity:1;
  transform:translate(0,0);
  filter:blur(0);
}

/* progress bar */
.progress-bar{
  position:fixed; top:0; left:0; right:0; height:2px; z-index:200;
  background:transparent;
}
.progress-fill{
  height:100%; width:0%;
  background:var(--gold-grad);
  transition:width .08s linear;
}

/* magnetic buttons */
.btn, .nav-cta, .floating-wa{
  will-change:transform;
  transition:transform .35s cubic-bezier(.22,.9,.32,1), box-shadow .35s ease, background .35s ease, color .35s ease;
}

/* =========================================================
   NAV
========================================================= */
#navbar{
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:20px 0;
  transition:background .4s ease, padding .4s ease, box-shadow .4s ease;
}
#navbar.scrolled{
  background:rgba(248,245,239,.9);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  padding:12px 0;
  box-shadow:0 1px 0 var(--line);
}
.nav-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.nav-logo img{ height:44px; width:auto; transition:height .4s ease; }
#navbar.scrolled .nav-logo img{ height:36px; }

.nav-links{ display:flex; gap:34px; }
.nav-links a{
  font-size:.85rem;
  letter-spacing:.03em;
  color:var(--charcoal);
  position:relative;
  padding-bottom:4px;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:0; height:1px;
  background:var(--gold);
  transition:right .35s ease;
}
.nav-links a:hover::after{ right:0; }

.nav-cta{
  display:flex; align-items:center; gap:8px;
  border:1px solid var(--charcoal);
  padding:9px 18px;
  border-radius:2px;
  font-size:.8rem;
  letter-spacing:.03em;
  transition:background .3s ease, color .3s ease;
}
.nav-cta:hover{ background:var(--charcoal); color:var(--white); }

#navToggle{
  display:none;
  flex-direction:column; justify-content:center; gap:5px;
  width:30px; height:30px; background:none; border:none; cursor:pointer;
}
#navToggle span{ width:100%; height:1px; background:var(--charcoal); }

/* =========================================================
   HERO
========================================================= */
.hero{
  position:relative;
  min-height:100vh;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  align-items:stretch;
}
.hero-media{ position:relative; overflow:hidden; }
.hero-media img{
  width:100%; height:calc(100% + 120px); object-fit:cover;
  filter:grayscale(1) contrast(1.02);
  transform:scale(1.02) translateY(0);
  will-change:transform;
}
.hero-media-frame{
  position:absolute; inset:18px;
  border:1px solid rgba(255,255,255,.55);
  pointer-events:none;
}
.hero-media::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(38,36,33,0) 55%, rgba(38,36,33,.35) 100%);
}

.hero-copy{
  display:flex; flex-direction:column; justify-content:center;
  padding:120px 64px;
  position:relative;
}
.hero-copy::before{
  content:"";
  position:absolute; top:50%; left:0; transform:translateY(-50%);
  width:1px; height:120px; background:var(--gold);
  opacity:.5;
}
.hero h1{
  font-family:var(--serif);
  font-weight:300;
  font-size:clamp(2.6rem, 6vw, 4.4rem);
  line-height:.95;
  margin:0 0 26px;
  letter-spacing:-.01em;
}
.hero h1 em{
  font-style:italic;
  font-weight:500;
  background:var(--gold-grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-text{
  max-width:400px;
  color:var(--stone);
  font-weight:300;
  font-size:1.05rem;
  line-height:1.75;
  margin:0 0 40px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }

.scroll-cue{
  position:absolute; bottom:34px; left:50%; transform:translateX(-50%);
  width:1px; height:64px; overflow:hidden; z-index:5;
}
.scroll-cue span{
  display:block; width:1px; height:24px; background:var(--gold-light);
  animation:cueMove 2s ease-in-out infinite;
}
@keyframes cueMove{
  0%{ transform:translateY(-24px); opacity:0; }
  40%{ opacity:1; }
  100%{ transform:translateY(64px); opacity:0; }
}

/* =========================================================
   ABOUT
========================================================= */
.about{
  position:relative;
  max-width:760px;
  margin:0 auto;
  padding:150px 28px 120px;
  text-align:center;
}
.about-mark{
  font-family:var(--serif);
  font-style:italic;
  font-size:11rem;
  line-height:1;
  color:transparent;
  -webkit-text-stroke:1px var(--line);
  position:absolute;
  top:20px; left:50%; transform:translateX(-50%);
  z-index:-1;
  user-select:none;
}
.about-title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(2rem,4.4vw,3rem);
  margin:0 0 28px;
}
.about-title em{ font-style:italic; color:var(--gold-deep); }
.about-text{
  color:var(--stone);
  font-weight:300;
  font-size:1.08rem;
  line-height:1.85;
  margin:0 0 60px;
}
.about-stats{
  display:flex; justify-content:center; gap:64px;
  border-top:1px solid var(--line);
  padding-top:44px;
}
.about-stats span,
.about-stats .stat-num,
.about-stats .stat-num-static{
  display:block;
  font-family:var(--serif);
  font-size:2rem;
  color:var(--gold-deep);
  margin-bottom:6px;
}
.about-stats p{
  margin:0;
  font-size:.78rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  color:var(--stone);
}

/* =========================================================
   SERVICES
========================================================= */
.services{
  background:var(--white);
  padding:130px 28px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.services-grid{
  max-width:var(--maxw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.service-card{
  background:var(--white);
  padding:48px 40px;
  transition:background .4s ease, transform .3s cubic-bezier(.22,.9,.32,1), box-shadow .4s ease;
  transform-style:preserve-3d;
  will-change:transform;
}
.service-card:hover{ background:var(--cream); }
.service-mark{
  display:block;
  width:34px; height:34px;
  border-radius:50%;
  border:1px solid var(--gold);
  margin-bottom:26px;
  position:relative;
  transition:transform .4s cubic-bezier(.22,.9,.32,1);
}
.service-card:hover .service-mark{ transform:scale(1.12); }
.service-mark::after{
  content:"";
  position:absolute; inset:8px;
  border-radius:50%;
  background:var(--gold-grad);
  opacity:.9;
}
.service-card h3{
  font-family:var(--serif);
  font-weight:500;
  font-size:1.35rem;
  margin:0 0 12px;
}
.service-card p{
  margin:0;
  color:var(--stone);
  font-weight:300;
  font-size:.95rem;
  line-height:1.7;
}

.services-cta{
  max-width:var(--maxw);
  margin:70px auto 0;
  text-align:center;
  padding-top:60px;
  border-top:1px solid var(--line);
}
.services-cta p{
  font-family:var(--serif);
  font-style:italic;
  font-size:1.3rem;
  margin:0 0 26px;
  color:var(--charcoal);
}

/* =========================================================
   GALLERY
========================================================= */
.gallery{ padding:130px 28px; }
.gallery-grid{
  max-width:var(--maxw);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
}
.gallery-item{
  margin:0;
  aspect-ratio:3/4;
  border-radius:6px;
  overflow:hidden;
  position:relative;
  isolation:isolate;
  transition:box-shadow .4s ease, transform .4s cubic-bezier(.22,.9,.32,1);
}
.gallery-item:hover{
  box-shadow:0 26px 50px -28px rgba(38,36,33,.35);
}
.gallery-item::after{
  content:"";
  position:absolute; inset:14px;
  border:1px solid rgba(255,255,255,.65);
  border-radius:2px;
  pointer-events:none;
  opacity:0;
  transition:opacity .4s ease;
}
.gallery-item:hover::after{ opacity:1; }
.gallery-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .45s cubic-bezier(.22,.9,.32,1), filter .4s ease;
  filter:saturate(.92);
}
/* gallery img hover handled by JS */
.gallery-item:nth-child(2){ margin-top:36px; }
.gallery-item:nth-child(4){ margin-top:-18px; }

/* =========================================================
   CONTACT
========================================================= */
.contact{
  background:var(--charcoal);
  color:var(--cream);
  padding:130px 28px;
}
.contact .eyebrow{ color:var(--gold-light); }
.contact .section-title{ color:var(--white); }
.contact .section-sub{ color:var(--stone-light); }

.contact-cards{
  max-width:760px;
  margin:0 auto;
  display:grid;
  gap:18px;
}
.contact-card{
  display:flex; align-items:center; gap:22px;
  padding:28px 32px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:4px;
  transition:border-color .35s ease, background .35s ease, transform .35s cubic-bezier(.22,.9,.32,1), box-shadow .35s ease;
}
.contact-card:hover{
  border-color:var(--gold);
  box-shadow:0 20px 40px -26px rgba(0,0,0,.5);
  background:rgba(184,147,91,.08);
  transform:translateX(6px);
}
.contact-card svg{ color:var(--gold-light); flex-shrink:0; }
.contact-card h3{
  margin:0 0 4px;
  font-family:var(--serif);
  font-weight:500;
  font-size:1.2rem;
}
.contact-card p{ margin:0; color:var(--stone-light); font-size:.92rem; font-weight:300; }
.contact-arrow{
  margin-left:auto;
  color:var(--gold-light);
  font-size:1.2rem;
  transition:transform .35s ease;
}
.contact-card:hover .contact-arrow{ transform:translateX(6px); }

.social-row{
  display:flex;
  justify-content:center;
  gap:20px;
  margin-top:44px;
}
.social-row a{
  width:44px; height:44px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-light);
  transition:border-color .3s ease, background .3s ease, transform .3s ease, color .3s ease;
}
.social-row a:hover{
  border-color:var(--gold);
  background:rgba(184,147,91,.12);
  transform:translateY(-3px);
  color:var(--white);
}

/* =========================================================
   FOOTER
========================================================= */
footer{
  background:var(--charcoal);
  color:var(--stone-light);
  text-align:center;
  padding:60px 28px 40px;
  border-top:1px solid rgba(255,255,255,.1);
}
.footer-logo{ height:46px; width:auto; margin:0 auto 18px; opacity:.92; }
footer p{ margin:0 0 8px; font-size:.9rem; }
.footer-links{
  display:flex; justify-content:center; gap:10px; flex-wrap:wrap;
  font-size:.85rem; margin-bottom:22px;
}
.footer-links a{ color:var(--gold-light); transition:color .3s ease; }
.footer-links a:hover{ color:var(--white); }
.footer-links span{ color:rgba(255,255,255,.25); }
.footer-social{
  display:flex; justify-content:center; gap:16px;
  margin-bottom:22px;
}
.footer-social a{
  width:36px; height:36px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:var(--gold-light);
  transition:border-color .3s ease, background .3s ease, color .3s ease;
}
.footer-social a:hover{ border-color:var(--gold); background:rgba(184,147,91,.12); color:var(--white); }
.footer-copy{ font-size:.75rem; color:rgba(255,255,255,.35); }

/* =========================================================
   FLOATING WHATSAPP
========================================================= */
.floating-wa{
  position:fixed; bottom:26px; right:26px; z-index:90;
  width:56px; height:56px; border-radius:50%;
  background:var(--gold-grad);
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px -8px rgba(140,106,63,.6);
  transition:transform .35s ease;
}
.floating-wa:hover{ transform:scale(1.08); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 980px){
  .nav-links{ display:none; }
  #navToggle{ display:flex; }
  .hero{ grid-template-columns:1fr; }
  .hero-media{ height:56vh; }
  .hero-copy{ padding:64px 32px 90px; }
  .hero-copy::before{ display:none; }
  .services-grid{ grid-template-columns:1fr 1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; }
  .gallery-item:nth-child(2),.gallery-item:nth-child(4){ margin-top:0; }
  .about-mark{ font-size:7rem; }
}

@media (max-width: 620px){
  .services-grid{ grid-template-columns:1fr; }
  .gallery-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .about{ padding:110px 22px 90px; }
  .services{ padding:90px 20px; }
  .gallery{ padding:90px 20px; }
  .contact{ padding:90px 20px; }
  .contact-card{ padding:22px 20px; gap:16px; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ width:100%; }
}

/* =========================================================
   PRECIOS ORIENTATIVOS — sección en index
========================================================= */
.precios-orientativos {
  padding: 130px 28px;
  background: var(--cream);
}

.precios-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.precio-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: transform .35s cubic-bezier(.22,.9,.32,1),
              box-shadow .35s ease,
              border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.precio-card::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.9,.32,1);
}
.precio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -24px rgba(38,36,33,.18);
  border-color: var(--gold-light);
}
.precio-card:hover::before {
  transform: scaleX(1);
}

.precio-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold-deep);
  transition: background .35s ease, border-color .35s ease;
}
.precio-card:hover .precio-icon {
  background: rgba(184,147,91,.10);
  border-color: var(--gold-light);
}

.precio-nombre {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  margin: 0;
  color: var(--charcoal);
  line-height: 1.3;
}

.precio-rango {
  font-family: var(--sans);
  font-weight: 500;
  font-size: .88rem;
  letter-spacing: .02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  line-height: 1.3;
}

.precios-cta-wrap {
  max-width: var(--maxw);
  margin: 52px auto 0;
  text-align: center;
  padding-top: 52px;
  border-top: 1px solid var(--line);
}

/* =========================================================
   PÁGINA PRECIOS — /precios.html
========================================================= */
.precios-page {
  padding: 160px 28px 120px;
}

.precios-page-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

/* Filtros / pestañas */
.precios-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 52px;
}

.tab-btn {
  font-family: var(--sans);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--stone);
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease,
              color .3s ease, box-shadow .3s ease;
}
.tab-btn:hover {
  border-color: var(--gold-light);
  color: var(--charcoal);
}
.tab-btn.active {
  background: var(--gold-grad);
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 6px 16px -8px rgba(140,106,63,.45);
}

/* Bloques de categoría */
.precios-categoria {
  display: none;
}
.precios-categoria.visible {
  display: block;
}

.cat-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 6px;
  color: var(--charcoal);
}
.cat-desc {
  color: var(--stone);
  font-weight: 300;
  font-size: .95rem;
  margin: 0 0 36px;
}

.precios-lista {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.precio-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .3s cubic-bezier(.22,.9,.32,1),
              box-shadow .3s ease,
              border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.precio-item::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold-grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .35s cubic-bezier(.22,.9,.32,1);
}
.precio-item:hover {
  transform: translateX(4px);
  box-shadow: 0 14px 32px -20px rgba(38,36,33,.16);
  border-color: var(--gold-light);
}
.precio-item:hover::after {
  transform: scaleY(1);
}

.item-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.item-nombre {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  margin: 0;
  color: var(--charcoal);
}

.item-precio {
  font-family: var(--sans);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.item-nota {
  font-size: .8rem;
  color: var(--stone-light);
  font-weight: 300;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.item-cta {
  margin-top: 4px;
  align-self: flex-start;
  font-family: var(--sans);
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--gold-light);
  padding-bottom: 2px;
  transition: color .3s ease, border-color .3s ease;
  text-decoration: none;
  display: inline-block;
}
.item-cta:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.precios-aviso {
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(184,147,91,.04);
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.aviso-ico {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.aviso-txt {
  color: var(--stone);
  font-weight: 300;
  font-size: .92rem;
  line-height: 1.7;
  margin: 0;
}
.aviso-txt strong {
  font-weight: 500;
  color: var(--charcoal);
}

/* =========================================================
   RESPONSIVE — precios
========================================================= */
@media (max-width: 980px) {
  .precios-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .precios-lista {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .precios-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .precio-card {
    padding: 22px 18px;
    gap: 10px;
  }
  .precios-orientativos {
    padding: 90px 20px;
  }
  .precios-page {
    padding: 120px 20px 90px;
  }
  .precios-tabs {
    gap: 8px;
  }
  .tab-btn {
    padding: 12px 16px;
    font-size: .78rem;
  }
  .precios-lista {
    gap: 10px;
  }
  .precio-item {
    padding: 20px 20px;
  }
  .item-header {
    flex-direction: column;
    gap: 6px;
  }
  .precios-aviso {
    flex-direction: column;
    padding: 22px 20px;
  }
}

/* =========================================================
   SERVICIOS — spotlight layer
========================================================= */
.svc-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
  border-radius: inherit;
}
.service-card > * { position: relative; z-index: 1; }

/* remove old .service-card:hover overrides so JS controls fully */
.service-card { position: relative; cursor: default; }

/* =========================================================
   GALERÍA — overlay + line
========================================================= */
.gallery-item { cursor: default; }

.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(38,36,33,.52) 0%,
    rgba(38,36,33,.18) 50%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity .45s ease;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
}

.gal-line {
  position: absolute;
  bottom: 22px;
  left: 18px;
  right: 18px;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s cubic-bezier(.22,.9,.32,1) .1s;
}

/* Touch tap state */
.gallery-item.tapped .gal-overlay { opacity: 1; }
.gallery-item.tapped .gal-line    { transform: scaleX(1); }

/* Gallery img: JS controls transform, CSS handles filter */
.gallery-item img {
  transition: transform .5s cubic-bezier(.22,.9,.32,1),
              filter .4s ease;
  will-change: transform;
}

/* Gallery item frame stays above overlay */
.gallery-item::after { z-index: 3; }
