
/* ---- Fuentes autoalojadas (DM Sans + Playfair Display), sin depender de Google ---- */
@font-face{font-family:'DM Sans';font-style:normal;font-weight:400;font-display:swap;src:url("assets/fonts/dm-sans-400.woff2") format("woff2")}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/dm-sans-500.woff2") format("woff2")}
@font-face{font-family:'DM Sans';font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/dm-sans-600.woff2") format("woff2")}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:500;font-display:swap;src:url("assets/fonts/playfair-display-500.woff2") format("woff2")}
@font-face{font-family:'Playfair Display';font-style:normal;font-weight:600;font-display:swap;src:url("assets/fonts/playfair-display-600.woff2") format("woff2")}

:root{
  --navy:#071a31;
  --navy-soft:#102943;
  --gold:#c9942f;
  --gold-light:#ddba6a;
  --ivory:#f7f4ee;
  --paper:#fffdfa;
  --ink:#101820;
  --muted:#6e7680;
  --line:#e6e0d7;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"DM Sans",Arial,sans-serif;background:var(--paper);color:var(--ink)}
a{text-decoration:none;color:inherit}
img{display:block;width:100%}
.container{width:min(1200px,calc(100% - 48px));margin:auto}
header{
  position:fixed;z-index:100;left:0;right:0;top:0;
  background:rgba(255,253,250,.92);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(230,224,215,.75)
}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo{width:184px;display:flex;align-items:center;justify-content:center}
.logo img{width:auto;max-width:100%;height:auto;max-height:62px;object-fit:contain}
.navlinks{display:flex;gap:30px;font-size:.9rem;font-weight:500}
.navlinks a{position:relative;transition:color .18s ease}
.navlinks a::after{content:"";position:absolute;left:0;right:100%;bottom:-4px;height:1px;background:var(--gold);transition:right .22s cubic-bezier(.2,.8,.2,1)}
.navlinks a:hover{color:var(--gold)}
.navlinks a:hover::after{right:0}
.navlinks a:active{color:var(--gold-light)}
.nav-cta{padding:12px 18px;border:1px solid var(--navy);font-size:.88rem;font-weight:600}
.nav-cta:hover{background:var(--navy);color:#fff}

.hero{padding-top:82px;min-height:100vh;background:var(--ivory)}
.hero-wrap{display:grid;grid-template-columns:1fr 1.08fr;min-height:calc(100vh - 82px)}
.hero-copy{padding:80px max(40px,calc((100vw - 1200px)/2)) 70px max(28px,calc((100vw - 1200px)/2));display:flex;flex-direction:column;justify-content:center}
.kicker{font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:600}
.hero h1{font-family:"Playfair Display";font-weight:500;font-size:clamp(4rem,6.6vw,7.2rem);line-height:.97;letter-spacing:-.04em;margin:18px 0 28px;color:var(--navy)}
.hero h1 span{color:var(--gold)}
.hero p{font-size:1.08rem;line-height:1.75;color:#66707a;max-width:590px;margin:0 0 30px}
.actions{display:flex;gap:12px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;font-size:.9rem;font-weight:600;border:1px solid transparent;transition:.25s}
.btn-dark{background:var(--navy);color:white}
.btn-dark:hover{transform:translateY(-2px)}
.btn-outline{border-color:#cfc7bb}
.hero-photo{position:relative;min-height:680px;overflow:hidden}
.hero-photo img{height:100%;object-fit:cover}
.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 50%,rgba(7,26,49,.42))}
.hero-caption{position:absolute;z-index:2;left:32px;bottom:28px;color:white}
.hero-caption small{display:block;text-transform:uppercase;letter-spacing:.16em;font-size:.68rem;color:#e9d39f}
.hero-caption strong{font-family:"Playfair Display";font-size:1.8rem;font-weight:500}

.properties{padding:95px 0;background:var(--ivory)}
.section-top{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:36px}
.section-top h2{font-family:"Playfair Display";font-weight:500;font-size:clamp(2.6rem,4vw,4.6rem);margin:8px 0 0;color:var(--navy)}
.section-top p{max-width:440px;color:var(--muted);line-height:1.65}

.services{padding:100px 0;background:#fff}
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.service{padding:34px 24px;border-right:1px solid var(--line);min-height:250px;display:flex;flex-direction:column;justify-content:space-between}
.service:last-child{border-right:0}
.service .num{font-size:.75rem;color:var(--gold);letter-spacing:.12em}
.service h3{font-family:"Playfair Display";font-weight:500;font-size:1.8rem;color:var(--navy);margin:22px 0 10px}
.service p{font-size:.9rem;color:var(--muted);line-height:1.6}
.service a{font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);font-weight:600}

.vpo-photo{position:relative;overflow:hidden}
.vpo-photo img{height:100%;object-fit:cover;filter:saturate(.82)}
.vpo-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,26,49,.1),rgba(7,26,49,.42))}

.contact{padding:90px 0;background:var(--ivory)}
.contact-card{background:#fff;border:1px solid var(--line);padding:50px;display:grid;grid-template-columns:.8fr 1.2fr;gap:60px}
.contact h2{font-family:"Playfair Display";font-size:clamp(2.8rem,4vw,4.4rem);font-weight:500;color:var(--navy);margin:10px 0 18px}
.contact p{color:var(--muted);line-height:1.7}
.form{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:grid;gap:7px}
.field.full{grid-column:1/-1}
.field label{font-size:.76rem;color:#69727c;font-weight:600}
.field input,.field select,.field textarea{border:1px solid var(--line);padding:13px 14px;background:#fff;outline:0}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--gold)}
.form-status{grid-column:1/-1;margin:10px 0 0;font-size:.85rem;min-height:1.2em}
.form-status.ok{color:#2f7d4f}
.form-status a{text-decoration:underline;text-underline-offset:2px;color:inherit;font-weight:600}
.form-status.error{color:#b3492f}

footer{padding:55px 0 25px;background:#03101f;color:#fff}
.footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:40px}
.footer-logo{background:white;padding:8px 12px;width:210px;margin-bottom:14px}
.footer-logo img{width:100%}
footer h4{font-family:"Playfair Display";font-size:1.25rem;font-weight:500;margin:0 0 12px}
footer a,footer p{font-size:.86rem;color:#92a2b2}
.footer-links{display:grid;gap:8px}
.footer-links a{transition:color .18s ease,padding-left .18s ease,transform .12s ease;display:inline-block}
.footer-links a:hover{color:#fff;padding-left:5px}
.footer-links a:active{transform:scale(.97)}
.legal{margin-top:34px;padding-top:20px;border-top:1px solid rgba(255,255,255,.1);font-size:.76rem;color:#6f8296;display:flex;justify-content:space-between;gap:18px}
.legal-link{text-decoration:underline;text-underline-offset:2px;color:inherit;cursor:pointer}
.legal-link:hover{color:#fff}

/* Modal de páginas legales (Aviso legal / Privacidad / Cookies) */
.legal-modal{position:fixed;inset:0;z-index:300;display:flex;align-items:center;justify-content:center;padding:24px}
.legal-modal[hidden]{display:none}
.legal-modal-backdrop{position:absolute;inset:0;background:rgba(7,26,49,.55);backdrop-filter:blur(3px)}
.legal-modal-panel{position:relative;background:#fffdfa;max-width:640px;width:100%;max-height:82vh;overflow-y:auto;padding:38px 34px;box-shadow:0 30px 80px rgba(7,26,49,.35)}
.legal-modal-panel h3{font-family:"Playfair Display";color:var(--navy);font-size:1.7rem;margin:0 0 14px}
.legal-modal-panel p,.legal-modal-panel li{color:#4b535b;font-size:.92rem;line-height:1.65}
.legal-modal-panel h4{color:var(--navy);font-size:1rem;margin:18px 0 6px}
.legal-modal-close{position:absolute;top:16px;right:16px;width:44px;height:44px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:.9rem}
.legal-modal-close:hover{background:var(--navy);color:#fff}
.legal-table-wrap{overflow-x:auto;margin:10px 0 18px;-webkit-overflow-scrolling:touch}
.legal-cookie-table{width:100%;min-width:480px;border-collapse:collapse;font-size:.85rem}
.legal-cookie-table th,.legal-cookie-table td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top;color:#4b535b}
.legal-cookie-table th{background:#f4f1ea;color:var(--navy);font-weight:600}

/* Banner de consentimiento de cookies */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:290;max-width:640px;margin:0 auto;background:#fffdfa;border:1px solid var(--line);box-shadow:0 20px 50px rgba(7,26,49,.25);padding:20px 22px;display:flex;flex-direction:column;gap:14px}
.cookie-banner[hidden]{display:none}
.cookie-banner p{margin:0;font-size:.85rem;line-height:1.55;color:#4b535b}
.cookie-banner-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.cookie-banner-actions .btn{padding:10px 16px;font-size:.82rem}

@media(max-width:980px){
  .navlinks{display:none}
  .hero-wrap,
.contact-card{grid-template-columns:1fr}
  .hero-photo{min-height:540px}
  .services-grid{grid-template-columns:1fr 1fr}
  .service:nth-child(2){border-right:0}
  
  .footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:650px){
  .container{width:min(100% - 24px,1200px)} .nav{height:74px} .logo{width:150px} .nav-cta{display:none}
  .hero{padding-top:74px} .hero-wrap{min-height:auto} .hero-copy{padding:58px 24px} .hero h1{font-size:4.25rem}
  .hero-photo{min-height:450px}
  .properties,.services,.contact{padding:72px 0}
  .services-grid,.footer-grid,.form{grid-template-columns:1fr}
  .service{border-right:0;border-bottom:1px solid var(--line)}
  .section-top{display:block} .section-top p{margin-top:16px}
   .vpo-photo{min-height:420px} 
  .contact-card{padding:26px} .field.full{grid-column:auto}
  .legal{display:block}
}

/* ===== INTERACCIÓN TÁCTIL VALORA HOME ===== */
:root{
  --press-shadow: 0 3px 0 rgba(4,20,39,.28);
  --lift-shadow: 0 18px 42px rgba(7,26,49,.14);
}

/* Every intentional clickable surface gets tactile feedback */
a,
button,
.service,
.hero-photo{
  -webkit-tap-highlight-color: transparent;
}

.btn, .nav-cta {
  position: relative;
  overflow: hidden;
  transform: translateY(0) scale(1);
  box-shadow: 0 7px 0 rgba(4,20,39,.14);
  transition:
    transform .16s cubic-bezier(.2,.8,.2,1),
    box-shadow .16s ease,
    background .2s ease,
    border-color .2s ease;
}

.btn:hover, .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(7,26,49,.14);
}

.btn:active, .nav-cta:active,
.btn.is-pressed, .nav-cta.is-pressed {
  transform: translateY(4px) scale(.975);
  box-shadow: 0 1px 0 rgba(4,20,39,.18);
}

.btn-outline { box-shadow: 0 5px 0 rgba(117,105,86,.16); }
.btn-outline:active { box-shadow: 0 1px 0 rgba(117,105,86,.13); }

.press-ripple {
  position:absolute;
  border-radius:50%;
  transform:scale(0);
  pointer-events:none;
  background:rgba(255,255,255,.30);
  animation:ripple .48s ease-out;
}
@keyframes ripple {
  to { transform:scale(4.3); opacity:0; }
}

/* Service tiles become tappable */
.service {
  cursor:pointer;
  position:relative;
  transition:transform .17s cubic-bezier(.2,.8,.2,1), background .2s ease, box-shadow .2s ease;
}
.service:hover {
  transform:translateY(-5px);
  background:#fffdfa;
  box-shadow:var(--lift-shadow);
  z-index:2;
}
.service:active, .service.is-pressed {
  transform:translateY(2px) scale(.985);
  box-shadow:0 5px 14px rgba(7,26,49,.08);
}

/* VPO rows react like controls, but remain elegant */

/* Hero/about imagery has a subtle physical push */
.hero-photo {
  cursor:pointer;
  transition:transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s ease;
}
.hero-photo:hover {
  transform:scale(1.006);
}
.hero-photo:active,
.hero-photo.is-pressed {
  transform:scale(.988);
}

/* Cursor cue */
.service{
  user-select:none;
}

/* Scroll reveal */
.reveal {
  opacity:0;
  transform:translateY(24px);
  transition:opacity .65s ease, transform .65s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view {
  opacity:1;
  transform:none;
}

/* Respect accessibility setting */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior:auto !important;
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
  }
}

/* ===== VIVIENDAS REALES / CARRUSEL ===== */
.real-listings{overflow:hidden}
.listing-head-right{max-width:490px}
.listing-head-right p{margin:0 0 18px}
.carousel-controls{display:flex;gap:8px;justify-content:flex-end}
.carousel-arrow{
  width:48px;height:48px;border:1px solid #d6cec1;background:#fff;color:var(--navy);
  cursor:pointer;font-size:1.2rem;transition:transform .15s ease,background .18s ease,color .18s ease,box-shadow .18s ease
}
.carousel-arrow:hover{background:var(--navy);color:#fff;box-shadow:0 8px 20px rgba(7,26,49,.14)}
.carousel-arrow:active,.carousel-arrow.is-pressed{transform:translateY(3px) scale(.94);box-shadow:none}

.property-carousel{
  display:flex;gap:18px;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;scroll-behavior:smooth;
  scrollbar-width:none;padding:7px 2px 30px;
  cursor:grab;user-select:none;touch-action:pan-y;
}
.property-carousel::-webkit-scrollbar{display:none}
.property-carousel.dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto}
.property-carousel.autoplay-active{scroll-snap-type:none;scroll-behavior:auto}
.real-property{
  flex:0 0 min(390px,31.5vw);
  min-width:310px;
  background:#fff;border:1px solid #e4ded4;
  scroll-snap-align:start;cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .2s ease;
  box-shadow:0 2px 0 rgba(7,26,49,.02)
}
.real-property:hover{transform:translateY(-7px);box-shadow:0 24px 55px rgba(7,26,49,.14);border-color:#d9cba9}
.real-property:active,.real-property.is-pressed{transform:translateY(3px) scale(.975);box-shadow:0 5px 15px rgba(7,26,49,.10)}
.real-property-photo{height:310px;position:relative;overflow:hidden;background:#d8d8d8}
.img-fallback{background:linear-gradient(135deg,var(--navy) 0%,#123a63 55%,#c9942f 165%)}
.img-fallback img{display:none}
.img-fallback::before{
  content:'';
  position:absolute;
  inset:0;
  margin:auto;
  width:46px;height:46px;
  background:rgba(255,255,255,.16);
  clip-path:polygon(50% 0%,100% 38%,100% 100%,0% 100%,0% 38%);
}
.real-property-photo.img-fallback .fallback-label{
  position:absolute;left:0;right:0;bottom:18px;
  text-align:center;color:rgba(255,255,255,.8);
  font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;
}
.real-property-photo img{width:100%;height:100%;object-fit:cover;transition:transform .48s ease}
.real-property:hover .real-property-photo img{transform:scale(1.045)}
.real-property-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,26,49,.06),transparent 45%,rgba(7,26,49,.36))}
.real-property-count{
  position:absolute;top:16px;left:16px;width:38px;height:38px;background:rgba(255,255,255,.92);
  display:grid;place-items:center;font-size:.72rem;color:var(--navy);font-weight:600
}
.real-property-view{
  position:absolute;right:16px;bottom:15px;padding:9px 12px;background:rgba(255,255,255,.94);
  color:var(--navy);font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;font-weight:600;
  transform:translateY(8px);opacity:0;transition:.2s
}
.real-property:hover .real-property-view{transform:none;opacity:1}
.real-property-body{padding:22px 21px 20px}
.real-property-place{font-size:.69rem;text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:600}
.real-property h3{font-family:"Playfair Display";font-size:1.55rem;font-weight:500;color:var(--navy);line-height:1.13;margin:8px 0 11px}
.real-property-meta{font-size:.81rem;color:#727b84;min-height:22px}
.real-property-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:22px;padding-top:17px;border-top:1px solid #ece6dd}
.real-property-bottom strong{font-family:"Playfair Display";font-size:1.55rem;font-weight:500;color:var(--navy)}
.round-arrow{
  width:38px;height:38px;border:1px solid #ded7ca;border-radius:50%;display:grid;place-items:center;
  transition:transform .16s ease,background .2s ease,color .2s ease
}
.real-property:hover .round-arrow{background:var(--navy);color:#fff;transform:rotate(8deg)}
.carousel-progress{height:2px;background:#ded7cc;position:relative;overflow:hidden;margin-top:3px}
.carousel-progress span{position:absolute;left:0;top:0;height:100%;width:20%;background:var(--gold);transition:transform .1s linear}

@media(max-width:980px){
  .real-property{flex-basis:46vw}
}
@media(max-width:650px){
  .listing-head-right{max-width:none;margin-top:15px}
  .carousel-controls{justify-content:flex-start}
  .real-property{flex-basis:84vw;min-width:84vw}
  .real-property-photo{height:285px}
  .real-property-view{opacity:1;transform:none}
  
}

/* =========================================================
   AJUSTE VALORA HOME — TITULARES MÁS PEQUEÑOS Y WEB COMPACTA
   ========================================================= */

/* Portada */
.hero{
  min-height:auto;
}
.hero-wrap{
  min-height:620px;
}
.hero-copy{
  padding-top:54px;
  padding-bottom:50px;
}
.hero h1{
  font-size:clamp(3.25rem,5vw,5.35rem);
  line-height:.96;
  margin:14px 0 20px;
  max-width:760px;
}
.hero p{
  font-size:1rem;
  line-height:1.62;
  margin-bottom:24px;
}
.hero-photo{
  min-height:620px;
}

/* Eslóganes y títulos de secciones */

.properties{
  padding:70px 0;
}
.section-top{
  margin-bottom:28px;
}
.section-top h2{
  font-size:clamp(2.1rem,3.25vw,3.55rem);
  line-height:1.05;
}

.services{
  padding:72px 0;
}
.services .section-top h2{
  max-width:720px;
}

.contact{
  padding:68px 0;
}
.contact-card{
  padding:38px;
}
.contact h2{
  font-size:clamp(2.2rem,3.25vw,3.55rem);
  line-height:1.05;
  margin:8px 0 15px;
}

/* También reducimos ligeramente los textos auxiliares superiores */
.kicker{
  font-size:.68rem;
}

/* Escritorio grande: evitar que vuelvan a crecer demasiado */
@media (min-width:1400px){
  .hero h1{font-size:5.25rem;}
  .section-top h2{font-size:3.45rem;}
  
  .contact h2{font-size:3.45rem;}
}

/* Tablet */
@media (max-width:980px){
  .hero-wrap{min-height:auto;}
  .hero-copy{padding-top:48px;padding-bottom:44px;}
  .hero h1{font-size:clamp(3rem,7vw,4.5rem);}
  .hero-photo{min-height:480px;}
  .properties,.services,.contact{padding:60px 0;}
  
}

/* Móvil: mucho más contenido visible sin scroll excesivo */
@media (max-width:650px){
  .hero-copy{padding:40px 24px 38px;}
  .hero h1{
    font-size:3.05rem;
    line-height:.98;
    margin:12px 0 17px;
  }
  .hero p{
    font-size:.94rem;
    line-height:1.55;
  }
  .hero-photo{min-height:370px;}
  .properties,.services,.contact{padding:50px 0;}
  .section-top h2,
.contact h2{
    font-size:2.35rem;
  }
  .vpo-photo{min-height:350px;}
  
  .contact-card{padding:24px;}
}

/* =========================================================
   VALORA HOME — MODO COMPACTO GENERAL
   Objetivo: al navegar a una sección, ver el bloque completo
   y parte del contenido anterior/siguiente en escritorio.
   ========================================================= */

html{
  scroll-padding-top:92px;
}

/* Cabecera algo más fina */
.nav{
  height:72px !important;
}
.logo{
  width:164px !important;
}
.logo img{
  max-height:54px !important;
}
.navlinks{
  gap:25px !important;
  font-size:.86rem !important;
}
.nav-cta{
  padding:10px 16px !important;
  font-size:.84rem !important;
}

/* Portada: compacta, sin ocupar toda la pantalla */
.hero{
  padding-top:72px !important;
  min-height:auto !important;
}
.hero-wrap{
  min-height:500px !important;
  height:500px !important;
}
.hero-copy{
  padding-top:34px !important;
  padding-bottom:32px !important;
}
.hero h1{
  font-size:clamp(3rem,4.25vw,4.65rem) !important;
  line-height:.95 !important;
  margin:10px 0 15px !important;
  max-width:700px !important;
}
.hero p{
  font-size:.93rem !important;
  line-height:1.52 !important;
  max-width:560px !important;
  margin-bottom:18px !important;
}
.hero-photo{
  min-height:500px !important;
  height:500px !important;
}
.hero-caption{
  left:22px !important;
  bottom:18px !important;
}
.hero-caption strong{
  font-size:1.35rem !important;
}

/* Todos los bloques con respiración corta */
.properties,
.services,
.contact{
  padding:44px 0 !important;
}

/* Títulos de sección */
.section-top{
  margin-bottom:20px !important;
  gap:28px !important;
}
.section-top h2{
  font-size:clamp(2rem,2.8vw,3rem) !important;
  margin-top:4px !important;
}
.section-top p,
.listing-head-right p{
  font-size:.86rem !important;
  line-height:1.5 !important;
}
.kicker{
  font-size:.63rem !important;
}

/* Propiedades: tarjetas más bajas y más visibles a la vez */

.property-carousel{
  gap:14px !important;
  padding:4px 2px 18px !important;
}
.real-property{
  flex:0 0 min(330px,27vw) !important;
  min-width:285px !important;
}
.real-property-photo{
  height:215px !important;
}
.real-property-body{
  padding:15px 16px 14px !important;
}
.real-property-place{
  font-size:.61rem !important;
}
.real-property h3{
  font-size:1.25rem !important;
  margin:5px 0 7px !important;
}
.real-property-meta{
  font-size:.73rem !important;
}
.real-property-bottom{
  margin-top:13px !important;
  padding-top:10px !important;
}
.real-property-bottom strong{
  font-size:1.3rem !important;
}
.round-arrow{
  width:32px !important;
  height:32px !important;
}
.carousel-arrow{
  width:40px !important;
  height:40px !important;
}
.carousel-progress{
  margin-top:0 !important;
}

/* Servicios: una fila mucho más compacta */
.services-grid{
  grid-template-columns:repeat(4,1fr) !important;
}
.service{
  padding:22px 18px !important;
  min-height:185px !important;
}
.service h3{
  font-size:1.48rem !important;
  margin:14px 0 7px !important;
}
.service p{
  font-size:.78rem !important;
  line-height:1.45 !important;
}
.service a{
  font-size:.68rem !important;
}

/* VPO: bloque horizontal compacto */

.vpo-photo{
  min-height:455px !important;
  height:455px !important;
}

/* Contacto */
.contact-card{
  padding:28px !important;
  gap:38px !important;
}
.contact h2{
  font-size:clamp(2rem,2.8vw,3rem) !important;
  margin:5px 0 10px !important;
}
.contact p{
  font-size:.85rem !important;
  line-height:1.5 !important;
}
.form{
  gap:10px !important;
}
.field label{
  font-size:.69rem !important;
}
.field input,
.field select,
.field textarea{
  padding:10px 11px !important;
  font-size:.82rem !important;
}
.field textarea{
  min-height:76px !important;
}

/* Botones más pequeños */
.btn{
  padding:11px 16px !important;
  font-size:.8rem !important;
}

/* Las secciones quedan bien posicionadas al llegar desde el menú */
#propiedades,
#servicios,
#gestiones,
#redes,
#contacto,
#estudio{
  scroll-margin-top:88px;
}

/* Tablet */
@media(max-width:980px){
  .hero-wrap{
    height:auto !important;
    min-height:auto !important;
  }
  .hero-photo{
    height:400px !important;
    min-height:400px !important;
  }
  .services-grid{
    grid-template-columns:1fr 1fr !important;
  }
  
  .vpo-photo{
    height:360px !important;
    min-height:360px !important;
  }
  .real-property{
    flex-basis:43vw !important;
  }
}

/* Móvil */
@media(max-width:650px){
  .nav{height:66px !important;}
  .logo{width:138px !important;}
  .hero{padding-top:66px !important;}
  .hero-copy{padding:30px 20px !important;}
  .hero h1{
    font-size:2.65rem !important;
    line-height:.98 !important;
  }
  .hero-photo{
    height:315px !important;
    min-height:315px !important;
  }
  .properties,.services,.contact{
    padding:34px 0 !important;
  }
  .real-property{
    flex-basis:78vw !important;
    min-width:78vw !important;
  }
  .real-property-photo{
    height:205px !important;
  }
  .services-grid{
    grid-template-columns:1fr !important;
  }
  .service{
    min-height:150px !important;
  }
  .vpo-photo{
    height:300px !important;
    min-height:300px !important;
  }
  
  .contact-card{
    padding:20px !important;
  }
}

/* ===== ALINEACIÓN UNIFORME DE PRECIOS EN VIVIENDAS ===== */
.real-property{
  display:flex;
  flex-direction:column;
}

.real-property-body{
  display:flex;
  flex-direction:column;
  flex:1;
}

.real-property h3{
  min-height:2.6em; /* reserva el mismo espacio para 2 líneas de título */
}

.real-property-meta{
  min-height:1.5em;
}

.real-property-bottom{
  margin-top:auto !important; /* todos los precios bajan al mismo nivel */
}

/* ===== PROCESO DE VENTA: misma estructura visual, 8 pasos ===== */
.services-grid .service:nth-child(n+5){
  border-top:1px solid var(--line);
}

/* Mantener el último borde vertical correcto en cada fila */
.services-grid .service:nth-child(4){
  border-right:0;
}

@media(max-width:980px){
  .services-grid .service:nth-child(n+3){
    border-top:1px solid var(--line);
  }

  .services-grid .service:nth-child(odd){
    border-right:1px solid var(--line);
  }

  .services-grid .service:nth-child(even){
    border-right:0;
  }
}

@media(max-width:650px){
  .services-grid .service{
    border-right:0 !important;
    border-top:1px solid var(--line);
  }

  .services-grid .service:first-child{
    border-top:0;
  }
}

/* ===== PROCESO DE VENTA MÁS LIMPIO ===== */
.service-step{
  cursor:pointer;
  position:relative;
}

.service-step .service-inner{
  display:flex;
  flex-direction:column;
  min-height:100%;
}

.service-step h3{
  margin-bottom:10px !important;
}

.step-top{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.step-icon{
  width:22px;height:22px;flex:0 0 auto;color:var(--gold);
  transition:transform .22s cubic-bezier(.2,.8,.2,1),color .2s ease;
}
.service-step:hover .step-icon,
.service-step.active .step-icon,
#processSteps .service-step[aria-expanded="true"] .step-icon{
  transform:translateY(-2px) scale(1.06);
  color:var(--gold-light);
}
.step-top .num{margin:0}

.service-summary{
  opacity:1;
  transform:translateY(0);
  transition:opacity .2s ease, transform .2s ease;
  margin-bottom:0 !important;
}

.service-detail{
  display:block;
  margin-top:0;
  max-height:0;
  overflow:hidden;
  opacity:0;
  transform:translateY(6px);
  transition:max-height .28s ease, opacity .22s ease, transform .22s ease;
  font-size:.78rem !important;
  line-height:1.45 !important;
}

.service-step:hover .service-summary,
.service-step.active .service-summary,
.service-step:focus .service-summary{
  opacity:.18;
  transform:translateY(-4px);
}

.service-step:hover .service-detail,
.service-step.active .service-detail,
.service-step:focus .service-detail{
  max-height:160px;
  opacity:1;
  transform:translateY(0);
}

.service-step:focus{
  outline:1px solid #d9cba9;
  outline-offset:-1px;
}

.service-step:hover,
.service-step.active{
  background:#fffdfa;
}

@media(max-width:650px){
  .service-detail{
    font-size:.76rem !important;
  }
}

/* =========================================================
   OPTIMIZACIÓN REAL PARA MÓVIL
   ========================================================= */
@media (max-width: 768px){

  html{
    scroll-padding-top:72px !important;
  }

  body{
    overflow-x:hidden !important;
  }

  .container{
    width:min(100% - 20px, 1200px) !important;
  }

  /* Header */
  header{
    position:sticky !important;
    top:0 !important;
  }

  .nav{
    height:64px !important;
    gap:12px !important;
  }

  .logo{
    width:132px !important;
  }

  .logo img{
    max-height:44px !important;
  }

  .navlinks{
    display:none !important;
  }

  .nav-cta{
    display:none !important;
  }

  /* Hero */
  .hero{
    padding-top:0 !important;
  }

  .hero-wrap{
    display:grid !important;
    grid-template-columns:1fr !important;
    min-height:auto !important;
    height:auto !important;
  }

  .hero-copy{
    order:2 !important;
    padding:24px 18px 26px !important;
  }

  .hero-photo{
    order:1 !important;
    display:block !important;
    width:100% !important;
    height:255px !important;
    min-height:255px !important;
    max-height:255px !important;
    overflow:hidden !important;
  }

  .hero-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  .hero-caption{
    left:14px !important;
    bottom:14px !important;
  }

  .hero-caption strong{
    font-size:1.08rem !important;
  }

  .hero h1{
    font-size:2.45rem !important;
    line-height:.98 !important;
    margin:10px 0 14px !important;
    max-width:none !important;
  }

  .hero p{
    font-size:.9rem !important;
    line-height:1.5 !important;
    max-width:none !important;
    margin-bottom:14px !important;
  }

  .actions{
    gap:10px !important;
  }

  .btn{
    width:100%;
    justify-content:center !important;
  }

  .properties, .services, .contact{
    padding:32px 0 !important;
  }

  /* Headings */
  .section-top{
    display:block !important;
    margin-bottom:16px !important;
  }

  .section-top h2{
    font-size:2rem !important;
    line-height:1.05 !important;
    margin-top:4px !important;
  }

  .section-top p,
  .listing-head-right p{
    font-size:.82rem !important;
    line-height:1.45 !important;
    margin-top:10px !important;
    max-width:none !important;
  }

  /* Properties carousel */
  .listing-head-right{
    max-width:none !important;
  }

  .carousel-controls{
    justify-content:flex-start !important;
    margin-top:10px !important;
  }

  

  .property-carousel{
    gap:12px !important;
    padding:2px 2px 14px !important;
  }

  .real-property{
    flex:0 0 82vw !important;
    min-width:82vw !important;
    max-width:82vw !important;
  }

  .real-property-photo{
    height:220px !important;
    min-height:220px !important;
    display:block !important;
    overflow:hidden !important;
  }

  .real-property-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
  }

  .real-property-photo.img-fallback img{
    display:none !important;
  }

  .real-property-body{
    padding:14px 14px 13px !important;
  }

  .real-property h3{
    font-size:1.15rem !important;
    min-height:auto !important;
  }

  .real-property-meta{
    min-height:auto !important;
    font-size:.75rem !important;
  }

  .real-property-bottom strong{
    font-size:1.18rem !important;
  }

  /* Services / process */
  .services-grid{
    grid-template-columns:1fr !important;
  }

  .service{
    min-height:auto !important;
    padding:18px 16px !important;
    border-right:0 !important;
    border-top:1px solid var(--line) !important;
  }

  .service:first-child{
    border-top:0 !important;
  }

  .service h3{
    font-size:1.35rem !important;
    margin:10px 0 6px !important;
  }

  .service p,
  .service-summary,
  .service-detail{
    font-size:.8rem !important;
    line-height:1.45 !important;
  }

  .service-step:hover .service-summary,
  .service-step.active .service-summary,
  .service-step:focus .service-summary{
    opacity:1 !important;
    transform:none !important;
  }

  .service-step .service-detail{
    max-height:none !important;
    opacity:1 !important;
    transform:none !important;
    margin-top:6px !important;
  }

  /* VPO */
  

  .vpo-photo{
    display:block !important;
    width:100% !important;
    height:250px !important;
    min-height:250px !important;
    overflow:hidden !important;
  }

  .vpo-photo img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }

  .vpo-photo.img-fallback img{
    display:none !important;
  }

  

  

  

  

  

  

  /* Contact */
  .contact-card{
    grid-template-columns:1fr !important;
    padding:18px !important;
    gap:18px !important;
  }

  .contact h2{
    font-size:1.95rem !important;
    line-height:1.06 !important;
    margin-bottom:10px !important;
  }

  .contact p{
    font-size:.83rem !important;
    line-height:1.45 !important;
  }

  .form{
    grid-template-columns:1fr !important;
    gap:10px !important;
  }

  .field.full{
    grid-column:auto !important;
  }

  .field input,
  .field select,
  .field textarea{
    font-size:.82rem !important;
    padding:10px 11px !important;
  }

  .field textarea{
    min-height:90px !important;
  }

  /* Footer */
  .footer-grid{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }

  .footer-logo{
    width:170px !important;
  }

  .legal{
    display:block !important;
    line-height:1.6 !important;
  }
}

/* ===== "LEER MÁS" EN MÓVIL (aligerar texto) ===== */

/* ===== ESLOGAN INTERACTIVO (mantenido: reutilizado por la flecha del logo) ===== */
@keyframes intro-pulse{
  0%,100%{ box-shadow:0 0 0 0 rgba(201,148,47,.45); }
  70%{ box-shadow:0 0 0 9px rgba(201,148,47,0); }
}

/* ===== LOGO: entrada con movimiento ===== */
@keyframes logo-enter{
  from{ opacity:0; transform:translateX(-110px); }
  to{ opacity:1; transform:translateX(0); }
}
.logo{
  animation:logo-enter .75s cubic-bezier(.16,1,.3,1) both;
}

/* ===== PROCESO DE VENTA · CABECERA EN SEGUNDO PLANO ===== */
.services .section-top{
  margin-bottom:18px !important;
  align-items:end;
  opacity:.76;
  transition:opacity .35s ease;
}
.services .section-top:hover{opacity:.9;}
.services .section-top .kicker{
  color:rgba(201,148,47,.72) !important;
  font-size:.59rem !important;
  letter-spacing:.22em;
}
.services .section-top h2{
  font-size:clamp(2rem,2.65vw,2.9rem) !important;
  line-height:1.03 !important;
  letter-spacing:-.03em;
  color:rgba(7,26,49,.62) !important;
  margin-top:5px !important;
}
.services .section-top > p{
  max-width:500px;
  font-size:.80rem !important;
  line-height:1.48 !important;
  color:rgba(110,118,128,.78) !important;
}
@media(max-width:768px){
  .services .section-top{
    margin-bottom:14px !important;
    opacity:.78;
  }
  .services .section-top h2{
    font-size:1.85rem !important;
  }
  .services .section-top > p{
    font-size:.76rem !important;
    margin-top:8px !important;
  }
}

/* ===== PROCESO DE VENTA · PORTADA DESPLEGABLE ===== */
.process-gate{
  position:relative;
  overflow:visible;
  margin:2px 0 0;
  padding:34px 34px 46px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(circle at 50% 130%, rgba(201,148,47,.11), transparent 46%),
    linear-gradient(180deg,#fffdfa 0%,#fff 100%);
  text-align:center;
}
.process-gate::before{
  content:"";
  position:absolute;
  top:0;left:50%;
  width:1px;height:24px;
  background:linear-gradient(180deg,var(--gold),rgba(201,148,47,0));
}
.process-gate-kicker{
  display:block;
  margin-bottom:9px;
  font-size:.62rem;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:var(--gold);
  font-weight:600;
}
.process-gate h3{
  margin:0;
  font-family:"Playfair Display",Georgia,serif;
  font-size:clamp(2.35rem,3.45vw,3.65rem);
  line-height:.98;
  letter-spacing:-.035em;
  font-weight:500;
  color:var(--navy);
}
.process-gate p{
  max-width:610px;
  margin:13px auto 0;
  font-size:.88rem;
  line-height:1.55;
  color:var(--muted);
}
.process-gate-action{
  position:absolute;
  z-index:3;
  left:50%;
  bottom:0;
  transform:translate(-50%,50%);
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:210px;
  height:44px;
  padding:0 17px;
  border:1px solid rgba(201,148,47,.72);
  border-radius:999px;
  background:#fffdfa;
  color:var(--navy);
  box-shadow:0 10px 28px rgba(7,26,49,.10);
  cursor:pointer;
  font:600 .68rem/1 "DM Sans",Arial,sans-serif;
  letter-spacing:.11em;
  text-transform:uppercase;
  transition:transform .2s ease,background .2s ease,color .2s ease,box-shadow .2s ease;
}
.process-gate-action:hover{
  background:var(--navy);
  color:#fff;
  box-shadow:0 14px 32px rgba(7,26,49,.16);
  transform:translate(-50%,50%) translateY(-2px);
}
.process-gate-action:active{
  transform:translate(-50%,50%) translateY(2px) scale(.975);
}
.process-gate-arrow{
  display:grid;
  place-items:center;
  width:25px;height:25px;
  border-radius:50%;
  background:var(--gold);
  color:#fff;
  font-size:.95rem;
  line-height:1;
  animation:processGateBounce 1.45s ease-in-out infinite;
  transition:transform .35s cubic-bezier(.2,.8,.2,1),background .2s ease;
}
.process-gate-action:hover .process-gate-arrow{background:var(--gold-light)}
.process-gate-action[aria-expanded="true"] .process-gate-arrow{
  animation:none;
  transform:rotate(180deg);
}
@keyframes processGateBounce{
  0%,100%{transform:translateY(-1px)}
  50%{transform:translateY(3px)}
}
.process-steps-shell{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transform:translateY(-12px);
  transition:grid-template-rows .62s cubic-bezier(.16,1,.3,1),opacity .32s ease,transform .5s cubic-bezier(.16,1,.3,1),margin .5s ease;
  margin-top:22px;
}
.process-steps-shell > .services-grid{
  min-height:0;
  overflow:hidden;
}
.process-steps-shell:not(.open) > .services-grid{
  border-top-color:transparent !important;
  border-bottom-color:transparent !important;
}
.process-steps-shell.open{
  grid-template-rows:1fr;
  opacity:1;
  transform:none;
  margin-top:30px;
}
.process-steps-shell.open > .services-grid{
  overflow:visible;
}
.process-steps-shell.open .service{
  animation:processStepIn .5s cubic-bezier(.16,1,.3,1) both;
}
.process-steps-shell.open .service:nth-child(1){animation-delay:.03s}
.process-steps-shell.open .service:nth-child(2){animation-delay:.07s}
.process-steps-shell.open .service:nth-child(3){animation-delay:.11s}
.process-steps-shell.open .service:nth-child(4){animation-delay:.15s}
.process-steps-shell.open .service:nth-child(5){animation-delay:.19s}
.process-steps-shell.open .service:nth-child(6){animation-delay:.23s}
.process-steps-shell.open .service:nth-child(7){animation-delay:.27s}
.process-steps-shell.open .service:nth-child(8){animation-delay:.31s}
@keyframes processStepIn{
  from{opacity:0;transform:translateY(15px)}
  to{opacity:1;transform:none}
}
@media(max-width:768px){
  .process-gate{padding:27px 17px 42px;}
  .process-gate h3{font-size:2.55rem;}
  .process-gate p{font-size:.81rem;max-width:330px;}
  .process-gate-action{min-width:190px;height:42px;font-size:.62rem;}
  .process-steps-shell{margin-top:21px;}
  .process-steps-shell.open{margin-top:28px;}
}

/* ===== PROCESO DE VENTA · TARJETAS MÁS COMPACTAS ===== */
.process-steps-shell.open{margin-top:22px !important;}
.process-steps-shell > .services-grid{border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.process-steps-shell .service{
  padding:15px 18px !important;
  min-height:132px !important;
  justify-content:flex-start !important;
}
.process-steps-shell .service .num{
  font-size:.66rem !important;
  margin-bottom:0;
}
.process-steps-shell .service h3{
  font-size:1.1rem !important;
  line-height:1.1 !important;
  margin:0 0 6px !important;
}
.process-steps-shell .service-summary{
  font-size:.76rem !important;
  line-height:1.4 !important;
  margin:0 !important;
}
.process-steps-shell .service-detail{
  font-size:.72rem !important;
  line-height:1.4 !important;
}
.process-steps-shell .service-step:hover,
.process-steps-shell .service-step.active{
  min-height:156px !important;
}
@media(max-width:980px){
  .process-steps-shell .service{min-height:126px !important;padding:14px 16px !important;}
  .process-steps-shell .service h3{font-size:1.02rem !important;}
}
@media(max-width:650px){
  .process-steps-shell .service{min-height:auto !important;padding:16px 16px !important;}
  .process-steps-shell .service h3{font-size:1.2rem !important;}
  .process-steps-shell .service-summary,
  .process-steps-shell .service-detail{font-size:.78rem !important;}
}

/* =========================================================
   VALORA HOME · GESTIONES ONLINE
   ========================================================= */

/* Modal / detalle de una gestión */

body.modal-lock{overflow:hidden}

/* ===== GESTIONES ONLINE · VERSION LIMPIA Y LIGERA ===== */

/* ===== GESTIONES ONLINE · V21 DECISIÓN GUIADA ===== */

@keyframes gs2Hint{0%,100%{transform:translateY(-1px)}50%{transform:translateY(3px)}}

@keyframes gs2In{from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:none}}

/* ===== GESTIONES ONLINE · VERSIÓN SIMPLE Y DIRECTA ===== */

@keyframes fadeSlideSoft{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ===== GESTIONES ONLINE · DESPLIEGUE AL HACER CLIC ===== */

/* ===== FEEDBACK OFICINA · IDENTIDAD, EXPERIENCIA, CONTACTO Y VALORES ===== */
.logo{width:205px !important;}
.logo img{max-height:64px !important;}
.nav{height:78px !important;}
.hero{padding-top:78px !important;}

.contact-trust{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px;}
.contact-trust li{position:relative;padding-left:18px;font-size:.8rem;color:var(--muted);line-height:1.5;}
.contact-trust li::before{content:'';position:absolute;left:0;top:.5em;width:7px;height:7px;background:var(--gold);border-radius:50%;}
.contact-details{display:grid;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line);}
.contact-details div{display:grid;gap:3px;}
.contact-details span{font-size:.61rem;letter-spacing:.14em;color:var(--gold);font-weight:700;}
.contact-details strong{font-size:.82rem;line-height:1.5;color:var(--navy);font-weight:600;}
.contact-details a:hover{text-decoration:underline;text-underline-offset:3px;}
.btn-whatsapp{display:inline-flex;align-items:center;gap:8px;margin-top:22px;padding:12px 20px;background:#25D366;color:#fff;font-weight:600;text-decoration:none;border-radius:2px;font-size:.83rem;}
.btn-whatsapp:hover{background:#1ebe5b;}
.form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.consent-check{display:flex;align-items:flex-start;gap:9px;font-size:.76rem;color:var(--muted);line-height:1.5;cursor:pointer;}
.consent-check input{margin-top:3px;width:15px;height:15px;flex:none;}
.consent-check a{color:inherit;text-decoration:underline;text-underline-offset:2px;}
.footer-links span{font-size:.78rem;color:#92a2b2;line-height:1.5;}
#valores{scroll-margin-top:92px;}
@media(max-width:1100px){
  .logo{width:184px !important;}
  .navlinks{gap:18px !important;font-size:.79rem !important;}
  
  
  
}
@media(max-width:768px){
  .nav{height:64px !important;}
  .logo{width:158px !important;}
  .logo img{max-height:50px !important;}
  .hero{padding-top:0 !important;}
  
  
  
  
  
  
  
  
  
  
}

/* ===== EXPERIENCIA DE JULIO · SELLO VISUAL EN PORTADA ===== */
.hero-photo{position:relative;}

/* ===== RESALTAR SECCIÓN NUESTRAS VIVIENDAS ===== */
.properties.real-listings{
  position:relative;
  background:linear-gradient(180deg,#f7f2e8 0%, #f4eee3 100%) !important;
  border-top:1px solid rgba(201,148,47,.18);
  border-bottom:1px solid rgba(201,148,47,.18);
}
.properties.real-listings .section-top{
  position:relative;
}
.properties.real-listings .kicker{
  color:#b88727;
}
.properties.real-listings .listing-head-right p{
  color:#6d757d;
}

@media(max-width:768px){
  .properties.real-listings{
    padding-top:58px !important;
    padding-bottom:56px !important;
  }
}

/* ===== NUESTRAS VIVIENDAS · CONTRASTE MÁS MARCADO ===== */
.properties.real-listings{
  background:linear-gradient(180deg,#eadfca 0%,#e4d4b8 100%) !important;
  border-top:1px solid rgba(163,116,29,.28) !important;
  border-bottom:1px solid rgba(163,116,29,.28) !important;
}
.properties.real-listings::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 85% 12%,rgba(255,255,255,.42),transparent 34%);
}
.properties.real-listings .container{position:relative;z-index:1;}
.properties.real-listings .section-top h2{color:#071a31 !important;}
.properties.real-listings .kicker{color:#a8741e !important;}
.properties.real-listings .listing-head-right p{color:#5f6670 !important;}

/* ===== TABS UNIFICADAS VIVIENDAS / ALQUILERES ===== */
.listing-tabs{
  display:flex;
  gap:10px;
  margin:22px 0 22px;
  flex-wrap:wrap;
}
.listing-tab{
  font-family:inherit;
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:700;
  padding:11px 24px;
  border-radius:999px;
  border:1px solid rgba(163,116,29,.35);
  background:rgba(255,253,250,.6);
  color:#6d5a30;
  cursor:pointer;
  transition:background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.listing-tab:hover{
  border-color:rgba(163,116,29,.6);
  transform:translateY(-1px);
}
.listing-tab.is-active{
  background:#0c2340;
  border-color:#0c2340;
  color:#f4eee3;
}
.listing-panel{ }
.listing-panel[hidden]{ display:none !important; }
.drag-label-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  margin:-5px 0 16px;
}

@media(max-width:600px){
  .listing-tab{padding:9px 18px;font-size:.74rem;}
}

/* ===== VALORA · VALORES DE MARCA INTERACTIVOS ===== */
.brand-values{padding:58px 0 64px;background:var(--ivory);overflow:hidden;}

.brand-values-tabs{display:grid;grid-template-columns:repeat(6,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;}
.brand-value-tab{position:relative;min-height:132px;padding:18px 14px 16px;border:0;border-right:1px solid var(--line);background:#fff;color:var(--navy);cursor:pointer;text-align:center;transition:background .22s ease,transform .2s ease,color .22s ease,box-shadow .22s ease;}
.brand-value-tab:last-child{border-right:0;}
.brand-value-tab:hover{background:#fffdfa;transform:translateY(-3px);z-index:2;box-shadow:0 14px 32px rgba(7,26,49,.08);}
.brand-value-tab.active{background:var(--navy);color:#fff;}
.brand-letter{display:block;font-family:"Playfair Display",Georgia,serif;font-size:3.25rem;line-height:1;color:var(--gold);transition:transform .25s cubic-bezier(.2,.8,.2,1),color .2s ease;}
.brand-value-tab.active .brand-letter{color:var(--gold-light);transform:scale(1.12);}
.brand-word{display:block;margin-top:10px;font-size:.72rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;}
.brand-value-detail{display:grid;grid-template-columns:150px 1fr;gap:30px;align-items:center;max-width:920px;margin:24px auto 0;padding:24px 28px;border:1px solid var(--line);background:#fff;box-shadow:0 16px 42px rgba(7,26,49,.06);}
.brand-value-detail-letter{font-family:"Playfair Display",Georgia,serif;font-size:7rem;line-height:.8;text-align:center;color:var(--gold);border-right:1px solid var(--line);padding-right:28px;}
.brand-value-detail-kicker{font-size:.62rem;letter-spacing:.17em;text-transform:uppercase;color:var(--gold);font-weight:700;}
.brand-value-detail h3{font-family:"Playfair Display",Georgia,serif;font-size:2.35rem;line-height:1;margin:7px 0 9px;color:var(--navy);font-weight:500;}
.brand-value-detail p{margin:0;max-width:650px;color:#6f777e;font-size:.93rem;line-height:1.6;}
.brand-value-detail.switching{animation:brandValueIn .28s ease both;}
@keyframes brandValueIn{from{opacity:.35;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:980px){
  .brand-values-tabs{grid-template-columns:repeat(3,1fr);}
  .brand-value-tab:nth-child(3){border-right:0;}
  .brand-value-tab:nth-child(n+4){border-top:1px solid var(--line);}
  .brand-value-tab{min-height:116px;}
}
@media(max-width:650px){
  .brand-values{padding:42px 0 48px;}
  
  
  .brand-values-tabs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;}
  .brand-values-tabs::-webkit-scrollbar{display:none;}
  .brand-value-tab{flex:0 0 42%;min-width:140px;min-height:106px;scroll-snap-align:start;border-top:0 !important;border-right:1px solid var(--line) !important;}
  .brand-letter{font-size:2.7rem;}
  .brand-value-detail{grid-template-columns:70px 1fr;gap:16px;padding:18px 16px;}
  .brand-value-detail-letter{font-size:4.4rem;padding-right:15px;}
  .brand-value-detail h3{font-size:1.75rem;}
  .brand-value-detail p{font-size:.82rem;}
}

/* ===== VALORA · SOLO LETRAS + DETALLE AL HACER CLIC ===== */
.brand-values{padding:28px 0 36px !important;}
.brand-values-tabs{margin:0 auto !important;}
.brand-value-detail[hidden]{display:none !important;}
.brand-value-detail{margin-top:14px !important;}
@media(max-width:650px){
  .brand-values{padding:24px 0 30px !important;}
  .brand-value-detail{margin-top:12px !important;}
}

/* ===== VALORA · APARECE Y SE COLOCA AL ENTRAR EN PANTALLA ===== */
.brand-values{position:relative;overflow:hidden;}
.brand-values-tabs.brand-place-in{
  opacity:0;
  transform:translateY(-42px) scale(.94) rotateX(7deg);
  transform-origin:50% 0%;
  filter:blur(2px);
  will-change:transform,opacity,filter;
}
.brand-values-tabs.brand-place-in.is-placed{
  animation:valoraPlaceIn .72s cubic-bezier(.16,1,.3,1) both;
}
@keyframes valoraPlaceIn{
  0%{opacity:0;transform:translateY(-42px) scale(.94) rotateX(7deg);filter:blur(2px);}
  52%{opacity:1;transform:translateY(7px) scale(1.015) rotateX(0);filter:blur(0);}
  72%{transform:translateY(-3px) scale(.996);}
  88%{transform:translateY(1px) scale(1.002);}
  100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0);}
}
@media (prefers-reduced-motion: reduce){
  .brand-values-tabs.brand-place-in{opacity:1;transform:none;filter:none;}
  .brand-values-tabs.brand-place-in.is-placed{animation:none;}
}

/* ===== VALORA · DETALLE MÁS PEQUEÑO Y UN POCO MÁS INFORMATIVO ===== */
.brand-value-detail{
  grid-template-columns:110px 1fr !important;
  gap:22px !important;
  max-width:760px !important;
  margin:16px auto 0 !important;
  padding:18px 22px !important;
  box-shadow:0 10px 28px rgba(7,26,49,.05) !important;
}
.brand-value-detail-letter{
  font-size:5.3rem !important;
  padding-right:22px !important;
}
.brand-value-detail h3{
  font-size:1.85rem !important;
  margin:6px 0 7px !important;
}
.brand-value-detail p{
  font-size:.88rem !important;
  line-height:1.52 !important;
  max-width:540px !important;
}

@media(max-width:650px){
  .brand-value-detail{grid-template-columns:64px 1fr !important;gap:14px !important;padding:15px 14px !important;max-width:none !important;}
  .brand-value-detail-letter{font-size:4rem !important;padding-right:12px !important;}
  .brand-value-detail h3{font-size:1.55rem !important;}
  .brand-value-detail p{font-size:.8rem !important;}
  
}

/* ===== VALORA · VERSIÓN MUCHO MÁS COMPACTA ===== */
.brand-values{padding:18px 0 22px !important;}
.brand-values-tabs{max-width:1220px !important;margin:0 auto !important;}
.brand-value-tab{min-height:92px !important;padding:12px 10px 10px !important;}
.brand-letter{font-size:3.15rem !important;line-height:.9 !important;margin-bottom:5px !important;}
.brand-word{font-size:.68rem !important;letter-spacing:.11em !important;}
.brand-value-detail{grid-template-columns:76px 1fr !important;gap:16px !important;max-width:650px !important;margin:10px auto 0 !important;padding:13px 16px !important;box-shadow:0 7px 18px rgba(7,26,49,.04) !important;}
.brand-value-detail-letter{font-size:3.8rem !important;line-height:.82 !important;padding-right:14px !important;}
.brand-value-detail-kicker{font-size:.54rem !important;letter-spacing:.14em !important;}
.brand-value-detail h3{font-size:1.45rem !important;margin:4px 0 5px !important;}
.brand-value-detail p{font-size:.79rem !important;line-height:1.4 !important;max-width:470px !important;}

@media(max-width:650px){
  .brand-values{padding:14px 0 18px !important;}
  .brand-value-tab{flex:0 0 38% !important;min-width:122px !important;min-height:82px !important;padding:10px 8px !important;}
  .brand-letter{font-size:2.65rem !important;}
  .brand-word{font-size:.61rem !important;}
  .brand-value-detail{grid-template-columns:54px 1fr !important;gap:11px !important;max-width:none !important;margin-top:8px !important;padding:11px 12px !important;}
  .brand-value-detail-letter{font-size:3rem !important;padding-right:10px !important;}
  .brand-value-detail h3{font-size:1.3rem !important;}
  .brand-value-detail p{font-size:.74rem !important;}
}

/* ===== VALORA · FONDO MÁS LIMPIO ===== */
.brand-values{
  background:#ffffff !important;
}
.brand-values-tabs{
  background:#ffffff !important;
}
.brand-value-tab{
  background:#ffffff !important;
}
.brand-value-tab:hover{
  background:#fbfcfd !important;
}
.brand-value-detail{
  background:#ffffff !important;
}

/* ===== VIVIENDAS · FONDO MÁS LIMPIO ===== */
.properties.real-listings{
  background:#ffffff !important;
  border-top:1px solid rgba(7,26,49,.08) !important;
  border-bottom:1px solid rgba(7,26,49,.08) !important;
}
.properties.real-listings::before{
  display:none !important;
  background:none !important;
}
.properties.real-listings .kicker{color:#a8741e !important;}
.properties.real-listings .listing-head-right p{color:#68717b !important;}

/* ===== PROCESO DE VENTA · BLOQUE DIFERENCIADO + CLIC REAL ===== */
.services#servicios{
  background:#eef2f4 !important;
  border-top:1px solid rgba(7,26,49,.08);
  border-bottom:1px solid rgba(7,26,49,.08);
}
.services#servicios .process-gate{
  background:
    radial-gradient(circle at 50% 115%, rgba(201,148,47,.10), transparent 42%),
    linear-gradient(180deg,#f7f9fa 0%,#eef2f4 100%) !important;
  border-top:1px solid rgba(7,26,49,.10) !important;
  border-bottom:1px solid rgba(7,26,49,.10) !important;
}
.services#servicios .process-gate-action{
  background:#fff !important;
}
.services#servicios .process-steps-shell > .services-grid{
  background:#fff;
}
/* El detalle se abre SOLO con clic/estado active, no por hover ni focus */
.process-steps-shell .service-step:hover .service-summary,
.process-steps-shell .service-step:focus .service-summary{
  opacity:1 !important;
  transform:none !important;
}
.process-steps-shell .service-step:hover .service-detail,
.process-steps-shell .service-step:focus .service-detail{
  max-height:0 !important;
  opacity:0 !important;
  transform:translateY(6px) !important;
}
.process-steps-shell .service-step.active .service-summary{
  opacity:.18 !important;
  transform:translateY(-4px) !important;
}
.process-steps-shell .service-step.active .service-detail{
  max-height:160px !important;
  opacity:1 !important;
  transform:translateY(0) !important;
}
.process-steps-shell .service-step:hover{
  min-height:132px !important;
}
.process-steps-shell .service-step.active{
  min-height:156px !important;
  background:#fffdfa !important;
}
@media(max-width:980px){
  .process-steps-shell .service-step:hover{min-height:126px !important;}
}
@media(max-width:650px){
  .process-steps-shell .service-step:hover,
  .process-steps-shell .service-step.active{min-height:auto !important;}
}

/* ===== FIX DEFINITIVO · PASOS ABRIR/CERRAR SOLO POR CLIC ===== */
#processSteps .service-step .service-detail,
#processSteps .service-step:hover .service-detail,
#processSteps .service-step:focus .service-detail{
  display:none !important;
  max-height:0 !important;
  opacity:0 !important;
  transform:none !important;
  margin-top:0 !important;
}
#processSteps .service-step .service-summary,
#processSteps .service-step:hover .service-summary,
#processSteps .service-step:focus .service-summary{
  display:block !important;
  opacity:1 !important;
  transform:none !important;
}
#processSteps .service-step[aria-expanded="true"] .service-detail{
  display:block !important;
  max-height:none !important;
  opacity:1 !important;
  transform:none !important;
  margin-top:8px !important;
}
#processSteps .service-step[aria-expanded="true"] .service-summary{
  display:none !important;
}
#processSteps .service-step[aria-expanded="false"]{
  min-height:132px !important;
  background:#fff !important;
}
#processSteps .service-step[aria-expanded="true"]{
  min-height:156px !important;
  background:#fffdfa !important;
}
@media(max-width:980px){
  #processSteps .service-step[aria-expanded="false"]{min-height:126px !important;}
}
@media(max-width:650px){
  #processSteps .service-step[aria-expanded="false"],
  #processSteps .service-step[aria-expanded="true"]{min-height:auto !important;}
}

/* ===== VIVIENDAS · SOLO CAMBIO DE FONDO ===== */
.properties.real-listings{
  background:#f2ede4 !important;
}

/* ===== VIVIENDAS · MISMA ESTRUCTURA, NUEVA PALETA ===== */
.properties.real-listings{
  background:linear-gradient(180deg,#e9f1eb 0%,#eef4ef 100%) !important;
}
.properties.real-listings .section-top h2{color:#0f2f29 !important;}
.properties.real-listings .kicker{color:#557666 !important;}
.properties.real-listings .listing-head-right p{color:#5f6f68 !important;}

.properties.real-listings .carousel-arrow{
  border-color:#b7c9be !important;
  color:#22483d !important;
  background:#f7fbf8 !important;
}
.properties.real-listings .carousel-arrow:hover{
  background:#22483d !important;
  border-color:#22483d !important;
  color:#fff !important;
}
.properties.real-listings .real-property{
  background:#f8fcf9 !important;
  border-color:#d6e2db !important;
}
.properties.real-listings .real-property:hover{
  border-color:#9cb6aa !important;
  box-shadow:0 24px 55px rgba(34,72,61,.14) !important;
}
.properties.real-listings .real-property-shade{
  background:linear-gradient(180deg,rgba(15,47,41,.05),transparent 45%,rgba(15,47,41,.34)) !important;
}
.properties.real-listings .real-property-count{
  background:rgba(248,252,249,.95) !important;
  color:#22483d !important;
  border:1px solid rgba(34,72,61,.16) !important;
}
.properties.real-listings .real-property-view{
  background:rgba(34,72,61,.9) !important;
  color:#fff !important;
}
.properties.real-listings .real-property-body{
  background:#f8fcf9 !important;
}
.properties.real-listings .real-property-place{
  color:#557666 !important;
}
.properties.real-listings .real-property h3,
.properties.real-listings .real-property-bottom strong{
  color:#0f2f29 !important;
}
.properties.real-listings .real-property-meta{
  color:#6c7a74 !important;
}
.properties.real-listings .real-property-bottom{
  border-top:1px solid #dde8e1 !important;
}
.properties.real-listings .round-arrow{
  border-color:#c8d8d0 !important;
  color:#22483d !important;
  background:#f3f8f5 !important;
}
.properties.real-listings .real-property:hover .round-arrow{
  background:#22483d !important;
  color:#fff !important;
}
.properties.real-listings .carousel-progress{
  background:#d9e7df !important;
}
.properties.real-listings .carousel-progress span{
  background:linear-gradient(90deg,#456c5d,#7ea08f) !important;
}

/* ===== VIVIENDAS · IMPACTO VISUAL ALTO ===== */
.properties.real-listings{
  background:
    radial-gradient(circle at 14% 12%, rgba(201,148,47,.14), transparent 28%),
    radial-gradient(circle at 86% 82%, rgba(255,255,255,.05), transparent 24%),
    linear-gradient(135deg,#06172b 0%,#0b2540 58%,#102f4e 100%) !important;
}
.properties.real-listings::before{
  background:linear-gradient(180deg,rgba(255,255,255,.025),transparent 32%,rgba(0,0,0,.08)) !important;
}
.properties.real-listings .section-top h2{
  color:#fffaf1 !important;
  text-shadow:0 2px 18px rgba(0,0,0,.18);
}
.properties.real-listings .kicker{
  color:#e1b35b !important;
}
.properties.real-listings .listing-head-right p{
  color:#c6d0da !important;
}

.properties.real-listings .carousel-arrow{
  border-color:rgba(225,179,91,.55) !important;
  color:#f3d28c !important;
  background:rgba(255,255,255,.06) !important;
  backdrop-filter:blur(8px);
}
.properties.real-listings .carousel-arrow:hover{
  background:#d4a13f !important;
  border-color:#d4a13f !important;
  color:#06172b !important;
  box-shadow:0 10px 28px rgba(0,0,0,.24) !important;
}
.properties.real-listings .real-property{
  background:#fffaf1 !important;
  border-color:rgba(225,179,91,.52) !important;
  box-shadow:0 14px 34px rgba(0,0,0,.16) !important;
}
.properties.real-listings .real-property:hover{
  transform:translateY(-9px) !important;
  border-color:#e1b35b !important;
  box-shadow:0 30px 70px rgba(0,0,0,.30),0 0 0 1px rgba(225,179,91,.22) !important;
}
.properties.real-listings .real-property-shade{
  background:linear-gradient(180deg,rgba(6,23,43,.04),transparent 42%,rgba(6,23,43,.42)) !important;
}
.properties.real-listings .real-property-count{
  background:#fffaf1 !important;
  color:#0a2139 !important;
  border:1px solid rgba(201,148,47,.35) !important;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}
.properties.real-listings .real-property-view{
  background:#d4a13f !important;
  color:#071a31 !important;
  font-weight:700 !important;
}
.properties.real-listings .real-property-body{
  background:#fffaf1 !important;
}
.properties.real-listings .real-property-place{
  color:#b47b18 !important;
}
.properties.real-listings .real-property h3,
.properties.real-listings .real-property-bottom strong{
  color:#071a31 !important;
}
.properties.real-listings .real-property-meta{
  color:#69727c !important;
}
.properties.real-listings .real-property-bottom{
  border-top:1px solid #eadfcb !important;
}
.properties.real-listings .round-arrow{
  border-color:#d7c29a !important;
  color:#a8731b !important;
  background:#fffdf8 !important;
}
.properties.real-listings .real-property:hover .round-arrow{
  background:#071a31 !important;
  color:#f0c56e !important;
  border-color:#071a31 !important;
}
.properties.real-listings .carousel-progress{
  background:rgba(255,255,255,.16) !important;
}
.properties.real-listings .carousel-progress span{
  background:linear-gradient(90deg,#c9942f,#f0c66f) !important;
  box-shadow:0 0 14px rgba(240,198,111,.42);
}

/* ===== VIVIENDAS · VERSIÓN CLARA PREMIUM ===== */
.properties.real-listings{
  background:linear-gradient(180deg,#f7f2e9 0%,#fffdfa 100%) !important;
}
.properties.real-listings::before{
  background:radial-gradient(circle at 15% 0%, rgba(201,148,47,.10), transparent 34%),
             radial-gradient(circle at 88% 18%, rgba(7,26,49,.05), transparent 30%) !important;
  opacity:1 !important;
}
.properties.real-listings .section-top h2{color:#071a31 !important;}
.properties.real-listings .kicker{color:#b78324 !important;}
.properties.real-listings .listing-head-right p{color:#68717b !important;}

.properties.real-listings .carousel-arrow{
  background:#fff !important;
  color:#071a31 !important;
  border-color:#d8cec0 !important;
  box-shadow:0 7px 18px rgba(7,26,49,.07) !important;
}
.properties.real-listings .carousel-arrow:hover{
  background:#071a31 !important;
  color:#fff !important;
  border-color:#071a31 !important;
}
.properties.real-listings .real-property{
  background:#fff !important;
  border-color:#e3dbcf !important;
  box-shadow:0 8px 25px rgba(7,26,49,.06) !important;
}
.properties.real-listings .real-property:hover{
  border-color:#d6bd84 !important;
  box-shadow:0 24px 55px rgba(7,26,49,.15) !important;
}
.properties.real-listings .real-property-body{background:#fff !important;}
.properties.real-listings .real-property-place{color:#b78324 !important;}
.properties.real-listings .real-property h3,
.properties.real-listings .real-property-bottom strong{color:#071a31 !important;}
.properties.real-listings .real-property-meta{color:#737b83 !important;}
.properties.real-listings .real-property-bottom{border-top-color:#eee6dc !important;}
.properties.real-listings .real-property-count{
  background:rgba(255,253,250,.95) !important;
  color:#071a31 !important;
  border:1px solid rgba(201,148,47,.22) !important;
}
.properties.real-listings .real-property-view{
  background:rgba(255,253,250,.96) !important;
  color:#071a31 !important;
  border:1px solid rgba(201,148,47,.25) !important;
}
.properties.real-listings .round-arrow{
  background:#fffdfa !important;
  color:#071a31 !important;
  border-color:#ddd3c6 !important;
}
.properties.real-listings .real-property:hover .round-arrow{
  background:#c9942f !important;
  color:#071a31 !important;
  border-color:#c9942f !important;
}
.properties.real-listings .carousel-progress{background:#e6ddd1 !important;}
.properties.real-listings .carousel-progress span{background:#c9942f !important;}

/* =========================================================
   VALORA HOME — "Redes" reenfocado a redes sociales + TV
   (sustituye al antiguo carrusel de reels virales)
   ========================================================= */
.social-presence{
  position:relative;overflow:hidden;padding:88px 0;
  background:var(--navy);color:#fff;
}
.social-presence-glow{
  position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(560px 420px at 12% -10%, rgba(201,148,47,.24), transparent 60%),
    radial-gradient(620px 480px at 108% 60%, rgba(221,186,106,.14), transparent 65%);
}
.social-presence .container{position:relative;z-index:1}

.social-presence-head{margin-bottom:34px}
.kicker-light{color:var(--gold-light)}
.social-presence-head h2{font-family:"Playfair Display";font-weight:500;font-size:clamp(2rem,2.8vw,3rem);margin:8px 0 0;color:#fff;max-width:620px}
.social-presence-head-solo{text-align:center}
.social-presence-head-solo h2{margin-left:auto;margin-right:auto}

.social-follow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.slide-left{
  opacity:0;
  transform:translateX(-56px);
  transition:opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1);
}
.slide-left.in-view{opacity:1;transform:none}
.social-follow-grid .slide-left:nth-child(1){transition-delay:.05s}
.social-follow-grid .slide-left:nth-child(2){transition-delay:.16s}
.social-follow-grid .slide-left:nth-child(3){transition-delay:.27s}
@media (prefers-reduced-motion: reduce){
  .slide-left{opacity:1;transform:none;transition:none}
}
.social-follow-card{
  display:flex;align-items:flex-start;gap:16px;padding:24px 22px;
  border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.045);
  transition:transform .18s cubic-bezier(.2,.8,.2,1),box-shadow .22s ease,border-color .2s ease,background .2s ease;
}
.social-follow-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(0,0,0,.35);border-color:rgba(221,186,106,.55);background:rgba(255,255,255,.07)}
.social-follow-card:active{transform:translateY(1px) scale(.99)}
.social-follow-icon{
  width:46px;height:46px;flex:0 0 auto;display:grid;place-items:center;
  background:var(--gold);color:var(--navy);
}
.social-follow-icon svg{width:22px;height:22px}
.social-follow-text{display:flex;flex-direction:column;gap:3px;flex:1;padding-top:2px}
.social-follow-text strong{font-family:"Playfair Display";font-size:1.1rem;color:#fff;font-weight:500}
.social-follow-text span{font-size:.82rem;color:var(--gold-light)}
.social-follow-text em{font-style:normal;font-size:.8rem;color:#aeb9c5;margin-top:4px;line-height:1.4}
.social-follow-arrow{color:var(--gold-light);font-style:normal;margin-top:4px;transition:transform .18s ease}
.social-follow-card:hover .social-follow-arrow{transform:translateX(4px)}

@media(max-width:980px){
  .social-follow-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .social-presence{padding:56px 0}
}

/* ===== VALORA · INTEGRACIÓN DE COLOR TRAS MOVER LA SECCIÓN BAJO EL HERO ===== */
#valores.brand-values{
  background:linear-gradient(180deg,#f7f4ee 0%,#fffdfa 100%) !important;
  border-top:1px solid rgba(7,26,49,.08) !important;
  border-bottom:1px solid rgba(7,26,49,.08) !important;
}
#valores.brand-values .brand-value-tab{
  background:transparent !important;
}
#valores.brand-values .brand-value-tab:hover{
  background:rgba(255,255,255,.6) !important;
}
#valores.brand-values .brand-values-tabs{
  background:transparent !important;
}
#valores.brand-values .brand-value-detail{
  background:#fffdfa !important;
}

/* ===== GESTIONES · FILA DE SERVICIOS + VÍDEO COMPARTIDO DEBAJO ===== */

/* ===== GESTIONES · REDISEÑO LLAMATIVO (SECCIÓN MÁS IMPORTANTE) ===== */

#gestiones .container{position:relative;z-index:1;}

/* Estado pulsado: la tarjeta cambia de color de forma clara e inequívoca */

/* Panel de vídeo: compacto y horizontal, pensado para móvil */

/* ===== MODAL DE VÍDEO AMPLIADO ===== */

@keyframes gs2VideoPop{
  from{opacity:.2;transform:scale(.9);}
  to{opacity:1;transform:scale(1);}
}

/* ===== HERO · VERSIÓN MÁS COMPACTA (PRIORIDAD MÓVIL) ===== */
.hero{padding-top:64px !important;min-height:auto !important;}
.hero-wrap{min-height:400px !important;height:400px !important;}
.hero-copy{padding-top:26px !important;padding-bottom:24px !important;}
.hero h1{
  font-size:clamp(2.3rem,3.1vw,3.3rem) !important;
  line-height:.98 !important;
  margin:8px 0 14px !important;
  max-width:560px !important;
}
.hero p{
  font-size:.88rem !important;
  line-height:1.5 !important;
  margin-bottom:14px !important;
}
.hero .btn{padding:12px 18px !important;font-size:.84rem !important;}
.hero-photo{min-height:400px !important;height:400px !important;}
.hero-caption strong{font-size:1.18rem !important;}

@media(max-width:980px){
  .hero-wrap{min-height:auto !important;height:auto !important;}
  .hero-photo{height:280px !important;min-height:280px !important;}
}

@media(max-width:768px){
  .hero{padding-top:0 !important;}
  .hero-wrap{grid-template-columns:1fr !important;}
  .hero-photo{order:1 !important;height:190px !important;min-height:190px !important;max-height:190px !important;}
  .hero-copy{order:2 !important;padding:18px 16px 20px !important;}
  .hero h1{font-size:1.85rem !important;line-height:1 !important;margin:8px 0 10px !important;}
  .hero p{font-size:.82rem !important;line-height:1.45 !important;margin-bottom:10px !important;}
  .actions{gap:8px !important;}
  .hero .btn{padding:10px 14px !important;font-size:.78rem !important;}
  .hero-caption{left:12px !important;bottom:10px !important;}
  .hero-caption strong{font-size:.92rem !important;}
  .hero-caption small{font-size:.6rem !important;}
  
  
  
  
  
  
}

@media(max-width:480px){
  .hero-photo{height:170px !important;min-height:170px !important;max-height:170px !important;}
  .hero h1{font-size:1.6rem !important;}
  
}

/* ===== MENÚ MÓVIL (HAMBURGUESA) ===== */
.nav-burger{
  display:none;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  width:40px;height:40px;
  border:1px solid #dcd4c6;
  background:#fff;
  cursor:pointer;
  flex:0 0 auto;
}
.nav-burger span{
  display:block;
  width:20px;height:2px;
  background:var(--navy);
  transition:transform .25s ease,opacity .2s ease;
}
.nav-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-burger[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.mobile-menu{
  display:flex;
  flex-direction:column;
  background:#fff;
  border-top:1px solid var(--line);
  box-shadow:0 20px 40px rgba(7,26,49,.15);
}
.mobile-menu[hidden]{display:none;}
.mobile-menu a{
  padding:16px 20px;
  border-bottom:1px solid var(--line);
  color:var(--navy);
  font-size:.95rem;
  font-weight:500;
}
.mobile-menu-cta{
  margin:14px 20px 18px !important;
  text-align:center;
  border-bottom:0 !important;
}
@media(max-width:980px){
  .nav-burger{display:flex;}
}

/* =========================================================
   VALORA HOME — CABECERA ORIGINAL + PANEL HAMBURGUESA
   Mantiene logo, enlaces y CTA originales. Solo añade el
   acceso hamburguesa también en escritorio.
   ========================================================= */

header{overflow:visible !important;}

.nav{
  position:relative !important;
}

/* El panel aparece a la izquierda sin eliminar ningún elemento original */
.nav-burger{
  display:flex !important;
  order:-1 !important;
  flex:0 0 42px !important;
  width:42px !important;
  height:42px !important;
  margin-right:4px !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  gap:5px !important;
  border:1px solid rgba(7,26,49,.18) !important;
  background:#fffdfa !important;
  cursor:pointer !important;
  box-shadow:none !important;
  transition:background .18s ease,border-color .18s ease,transform .15s ease !important;
}

.nav-burger span{
  display:block !important;
  width:19px !important;
  height:2px !important;
  background:var(--navy) !important;
  transition:transform .22s ease,opacity .18s ease,background .18s ease !important;
}

.nav-burger:hover{
  background:var(--navy) !important;
  border-color:var(--navy) !important;
}
.nav-burger:hover span{background:#fff !important;}
.nav-burger:active{transform:scale(.96) !important;}

.nav-burger[aria-expanded="true"] span:nth-child(1){
  transform:translateY(7px) rotate(45deg) !important;
}
.nav-burger[aria-expanded="true"] span:nth-child(2){
  opacity:0 !important;
}
.nav-burger[aria-expanded="true"] span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg) !important;
}

/* Desplegable vertical desde el lado izquierdo */
.mobile-menu{
  position:absolute !important;
  top:100% !important;
  left:max(12px,calc((100vw - 1200px)/2)) !important;
  right:auto !important;
  width:min(300px,calc(100vw - 24px)) !important;
  display:flex !important;
  flex-direction:column !important;
  gap:0 !important;
  padding:8px !important;
  background:rgba(255,253,250,.99) !important;
  border:1px solid var(--line) !important;
  box-shadow:0 20px 45px rgba(7,26,49,.15) !important;
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  z-index:250 !important;
}
.mobile-menu[hidden]{display:none !important;}

.mobile-menu a{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  width:100% !important;
  min-height:47px !important;
  padding:11px 14px !important;
  margin:0 !important;
  border:0 !important;
  border-bottom:1px solid var(--line) !important;
  background:transparent !important;
  color:var(--navy) !important;
  font-size:.87rem !important;
  font-weight:600 !important;
  text-align:left !important;
  transition:background .18s ease,color .18s ease,padding-left .18s ease !important;
}
.mobile-menu a:last-child{border-bottom:0 !important;}
.mobile-menu a:not(.mobile-menu-cta)::after{
  content:"→";
  color:var(--gold);
  font-weight:500;
}
.mobile-menu a:hover{
  background:var(--navy) !important;
  color:#fff !important;
  padding-left:18px !important;
}
.mobile-menu-cta{
  margin-top:8px !important;
  justify-content:center !important;
  background:var(--gold) !important;
  color:var(--navy) !important;
}
.mobile-menu-cta:hover{
  background:var(--gold-light) !important;
  color:var(--navy) !important;
}

/* Escritorio: TODO lo original sigue visible */
@media(min-width:981px){
  .navlinks{
    display:flex !important;
  }
  .nav-cta{
    display:inline-flex !important;
  }
}

/* Tablet/móvil conserva el comportamiento responsive original */
@media(max-width:980px){
  .nav-burger{
    order:0 !important;
    margin-left:auto !important;
    margin-right:0 !important;
  }
  .mobile-menu{
    left:10px !important;
    width:min(290px,calc(100vw - 20px)) !important;
  }
}

/* =========================================================
   NAVEGACIÓN REDUCIDA (Propiedades / Servicios / Redes / Contacto)
   Centrado del bloque de enlaces en la cabecera y del panel hamburguesa
   ========================================================= */
.navlinks{
  justify-content:center !important;
  width:100%;
}
@media(min-width:981px){
  .nav{
    display:grid !important;
    grid-template-columns:auto auto 1fr auto;
    align-items:center !important;
  }
  .navlinks{display:flex !important;}
  .nav-cta{display:inline-flex !important;}
}
.mobile-menu a{
  justify-content:center !important;
  text-align:center !important;
}
.mobile-menu a:not(.mobile-menu-cta)::after{
  display:none !important;
}

/* ---- next inline block ---- */

.study-callout{
  position:relative;overflow:hidden;padding:52px 0;
  background:
    radial-gradient(circle at 88% -10%, rgba(201,148,47,.20), transparent 42%),
    radial-gradient(circle at 8% 112%, rgba(201,148,47,.12), transparent 40%),
    linear-gradient(180deg,#071a31 0%,#0a2340 100%);
  color:#fff;text-align:left;
}
.study-callout:before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(circle at 80% 10%, #000 0%, transparent 62%);
  mask-image:radial-gradient(circle at 80% 10%, #000 0%, transparent 62%);
}
.study-grid{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}
.study-callout .kicker{color:var(--gold-light);letter-spacing:.14em;font-size:.78rem}
.study-callout h2{font-family:"Playfair Display";font-weight:500;font-size:clamp(1.7rem,3vw,2.4rem);
  line-height:1.12;color:#fff;margin:8px 0 10px}
.study-callout h2 span{color:var(--gold-light)}
.study-callout p{color:#c9d1da;font-size:.96rem;line-height:1.5;margin:0 0 16px;max-width:46ch}
.study-points{list-style:none;margin:0 0 20px;padding:0;display:flex;flex-direction:column;gap:8px}
.study-points li{display:flex;align-items:center;gap:10px;color:#e7ecf1;font-size:.88rem}
.study-points li i{
  flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;
  background:rgba(201,148,47,.14);border:1px solid rgba(201,148,47,.4);color:var(--gold-light)
}
.study-points li i svg{width:13px;height:13px}
.study-callout .btn-gold{background:var(--gold);color:var(--navy);border-color:var(--gold);font-weight:600;box-shadow:0 14px 30px -12px rgba(201,148,47,.55)}
.study-callout .btn-gold:hover{background:var(--gold-light);transform:translateY(-1px)}
.study-cta{display:inline-flex;transition:transform .2s ease}
.study-note{display:block;margin-top:10px;color:#93a1b3;font-size:.78rem}
.study-visual{position:relative}
.study-card{
  position:relative;margin-left:auto;max-width:340px;padding:20px 22px 18px;border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid rgba(201,148,47,.32);backdrop-filter:blur(6px);
  box-shadow:0 30px 60px -20px rgba(0,0,0,.5)
}
.study-card-badge{
  position:absolute;top:-12px;right:20px;background:var(--gold);color:var(--navy);
  font-size:.68rem;font-weight:700;letter-spacing:.06em;padding:5px 12px;border-radius:999px;
  box-shadow:0 8px 18px -6px rgba(201,148,47,.6)
}
.study-card-title{color:#93a1b3;font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}
.study-card-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;border-top:1px solid rgba(255,255,255,.09)}
.study-card-row:first-of-type{border-top:none}
.study-card-row span{color:#c9d1da;font-size:.85rem}
.study-card-row strong{color:#fff;font-family:"Playfair Display";font-weight:600;font-size:.98rem}
.study-card-row-highlight{margin-top:2px;padding-top:10px;border-top:1px dashed rgba(201,148,47,.4)}
.study-card-row-highlight span{color:#e7ecf1;font-weight:600}
.study-card-row-highlight strong{color:var(--gold-light)}
.study-card-bar{height:5px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin-top:12px}
.study-card-bar span{display:block;height:100%;width:72%;border-radius:99px;background:linear-gradient(90deg,var(--gold),var(--gold-light))}
.study-card-caption{margin:8px 0 0;color:#93a1b3;font-size:.7rem}
@media (max-width:900px){
  .study-grid{grid-template-columns:1fr;gap:26px;text-align:center}
  .study-callout{text-align:center;padding:44px 0}
  .study-callout p{margin-left:auto;margin-right:auto}
  .study-points{align-items:flex-start;max-width:300px;margin-left:auto;margin-right:auto}
  .study-card{margin:0 auto}
}

/* =============================================================
   "En construcción" — bloque provisional mientras se define
   la sección de servicios online.
   ============================================================= */

/* Plano de arquitecto dibujándose en bucle: sobrio y acorde a la
   identidad (navy + dorado + serif) mientras se termina la sección. */

/* ===== CONTACTO: enlace "Cómo llegar" (Google Maps) ===== */
.contact-map-link{display:inline-block;margin-top:4px;font-size:.78rem;font-weight:600;color:var(--gold);letter-spacing:.02em}

/* ===== BARRA DE CONTACTO FIJA EN MÓVIL ===== */

@media(max-width:768px){
  
  
  
  
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .cookie-banner{bottom:calc(78px + env(safe-area-inset-bottom))}
}

/* ===== ACCESIBILIDAD: saltar al contenido (visible solo con teclado) ===== */
.skip-link{position:absolute;left:12px;top:-60px;z-index:400;background:var(--navy);color:#fff;padding:10px 16px;font-size:.85rem;font-weight:600;transition:top .2s}
.skip-link:focus{top:12px}

/* ===== BOTÓN VOLVER ARRIBA ===== */
.back-to-top{
  position:fixed;right:20px;bottom:24px;z-index:270;width:46px;height:46px;
  display:flex;align-items:center;justify-content:center;
  background:var(--navy);color:#fff;font-size:1.2rem;border:1px solid var(--gold);
  box-shadow:0 10px 24px rgba(7,26,49,.22);
  opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s,transform .25s,visibility .25s
}
.back-to-top.is-visible{opacity:1;visibility:visible;transform:none}
.back-to-top:hover{background:var(--gold);color:var(--navy)}
@media(max-width:768px){
  .back-to-top{right:14px;bottom:calc(80px + env(safe-area-inset-bottom));width:42px;height:42px}
}

/* ===== CARRUSEL: sin "Arrastra", flechas a la izquierda (24/09/2026) ===== */
.properties.real-listings .drag-label-row{justify-content:flex-start}
.properties.real-listings .carousel-controls{justify-content:flex-start;margin-left:0}
/* Con una sola tarjeta (p. ej. un único alquiler) no hacen falta flechas */
.listing-panel.is-single .drag-label-row,
.listing-panel.is-single .carousel-progress{display:none}

/* ===== CONTACTO LIMPIO (24/09/2026) — ordena formulario y datos ===== */
#contacto .contact-card{padding:56px !important;gap:64px !important;align-items:start}
#contacto h2{font-size:clamp(2.4rem,3.4vw,3.4rem) !important;line-height:1.05;margin:10px 0 16px !important}
#contacto .contact-card > div > p{font-size:.95rem !important;line-height:1.65 !important;max-width:460px;margin:0}
#contacto .contact-trust{margin-top:22px;gap:10px}
#contacto .contact-trust li{font-size:.86rem}

/* Datos de contacto en rejilla 2×2 */
#contacto .contact-details{grid-template-columns:1fr 1fr;gap:22px 28px;margin-top:28px;padding-top:26px}
#contacto .contact-details div{gap:6px;align-content:start}
#contacto .contact-details span{font-size:.64rem}
#contacto .contact-details strong{font-size:.9rem}
#contacto .contact-map-link{margin-top:2px;font-size:.8rem}
#contacto .btn-whatsapp{margin-top:30px;padding:14px 22px;font-size:.88rem}

/* Formulario: etiqueta pegada a su casilla, mismas alturas, misma letra */
#contacto .form{gap:20px 18px !important;align-content:start;align-items:start}
#contacto .field{gap:8px;align-content:start}
#contacto .field label{font-size:.7rem !important;letter-spacing:.1em;text-transform:uppercase;color:var(--navy);font-weight:600;margin:0}
#contacto .field input,
#contacto .field select,
#contacto .field textarea{
  width:100%;height:52px;padding:0 16px !important;
  font-family:inherit;font-size:.92rem !important;color:var(--ink);
  background:#fbfaf7;border:1px solid var(--line);border-radius:0;
  transition:border-color .18s ease,background .18s ease,box-shadow .18s ease
}
#contacto .field textarea{height:auto;min-height:130px !important;padding:14px 16px !important;line-height:1.55;resize:vertical}
#contacto .field input::placeholder,
#contacto .field textarea::placeholder{color:#9aa1a8;font-family:inherit}
#contacto .field input:focus,
#contacto .field select:focus,
#contacto .field textarea:focus{border-color:var(--gold);background:#fff;box-shadow:0 0 0 3px rgba(201,148,47,.12)}
#contacto .field select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:42px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23071a31' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center
}
#contacto .field-consent{margin-top:-4px}
#contacto .consent-check{font-size:.8rem;align-items:center;gap:10px}
#contacto .consent-check input{width:18px;height:18px;margin:0;accent-color:var(--navy)}
#contacto .form button[type="submit"]{
  width:100%;height:56px;font-size:.95rem;letter-spacing:.02em;
  box-shadow:none !important;margin-top:4px
}
#contacto .form button[type="submit"]:hover{background:var(--navy-soft)}
#contacto .form-status{margin:12px 0 0;text-align:center}
#contacto .form-status:empty{display:none}

@media(max-width:980px){
  #contacto .contact-card{padding:36px !important;gap:40px !important}
}
@media(max-width:650px){
  #contacto .contact-card{padding:24px !important;gap:32px !important}
  #contacto .contact-details{grid-template-columns:1fr;gap:16px}
  #contacto .form{gap:16px !important}
  #contacto .btn-whatsapp{width:100%;justify-content:center}
}
#contacto .contact-card{grid-template-columns:1fr 1.2fr}
#contacto .field label.consent-check{text-transform:none;letter-spacing:0;font-weight:400;color:var(--muted);font-size:.84rem}
#contacto .consent-check a{color:var(--navy);font-weight:600}
#contacto .contact-details strong{white-space:normal}
#contacto .contact-details div:nth-child(2) strong{white-space:nowrap}
@media(max-width:1180px){ #contacto .contact-details{grid-template-columns:1fr} }

/* ===== VOLVER ARRIBA: centrado, solo flecha, animado (24/09/2026) ===== */
.back-to-top{
  left:50%;right:auto;bottom:22px;width:48px;height:48px;
  background:none !important;border:0 !important;box-shadow:none !important;
  color:var(--gold);
  transform:translate(-50%,16px);
  filter:drop-shadow(0 2px 6px rgba(7,26,49,.25));
}
.back-to-top svg{width:30px;height:30px;display:block}
.back-to-top.is-visible{transform:translate(-50%,0)}
.back-to-top.is-visible svg{animation:vh-arrow-float 1.8s ease-in-out infinite}
.back-to-top:hover{background:none;color:var(--gold-light)}
.back-to-top:hover svg{animation-play-state:paused;transform:translateY(-4px)}
@keyframes vh-arrow-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(max-width:768px){
  .back-to-top{left:50%;right:auto;bottom:calc(78px + env(safe-area-inset-bottom));width:44px;height:44px}
}
@media (prefers-reduced-motion: reduce){
  .back-to-top.is-visible svg{animation:none}
}

/* ===== "EN OBRAS": el obrero camina de lado a lado y martillea (24/09/2026) ===== */

/* ===== SERVICIOS EN PREPARACIÓN (sustituye al bloque "En obras") — 24/09/2026 ===== */
.soon-services{
  position:relative;padding:88px 0;color:#fff;overflow:hidden;
  background:linear-gradient(180deg,#071a31 0%,#0a2240 100%);
}
.soon-services::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(221,186,106,.35),transparent)
}
.soon-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:72px;align-items:center}
.soon-status{
  display:inline-flex;align-items:center;gap:10px;
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;font-weight:600;color:var(--gold-light)
}
.soon-status i{
  width:8px;height:8px;border-radius:50%;background:var(--gold);
  box-shadow:0 0 0 0 rgba(201,148,47,.55);animation:vh-soon-pulse 2.4s ease-out infinite
}
@keyframes vh-soon-pulse{0%{box-shadow:0 0 0 0 rgba(201,148,47,.5)}70%,100%{box-shadow:0 0 0 10px rgba(201,148,47,0)}}
.soon-copy h2{
  font-family:"Playfair Display",Georgia,serif;font-weight:500;
  font-size:clamp(2.2rem,3.6vw,3.4rem);line-height:1.08;margin:18px 0 20px;color:#fff
}
.soon-copy h2 span{color:var(--gold-light)}
.soon-copy p{margin:0;max-width:440px;color:#c3cad4;font-size:.98rem;line-height:1.7}
.soon-copy p strong{color:#fff;font-weight:600}
.soon-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;border-top:1px solid rgba(255,255,255,.12);border-left:1px solid rgba(255,255,255,.12)}
.soon-item{
  display:flex;flex-direction:column;gap:14px;padding:30px 28px;
  border-right:1px solid rgba(255,255,255,.12);border-bottom:1px solid rgba(255,255,255,.12);
  transition:background .25s ease
}
.soon-item:hover{background:rgba(255,255,255,.035)}
.soon-item svg{width:30px;height:30px;fill:none;stroke:var(--gold-light);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.soon-item-name{font-family:"Playfair Display",Georgia,serif;font-size:1.5rem;font-weight:500;color:#fff}
.soon-item-tag{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:#8e99a8;font-weight:600}
@media(max-width:980px){
  .soon-services{padding:70px 0}
  .soon-grid{grid-template-columns:1fr;gap:40px}
}
@media(max-width:520px){
  .soon-item{padding:22px 18px;gap:10px}
  .soon-item-name{font-size:1.25rem}
}

/* ===== PIE EN MÓVIL/TABLET: compacto y ordenado (24/09/2026) ===== */
@media(max-width:980px){
  footer{padding:44px 0 22px !important}
  footer .footer-grid{grid-template-columns:1fr 1fr !important;gap:30px 24px !important}
  footer .footer-grid > div:first-child{grid-column:1/-1;display:flex;justify-content:flex-start}
  footer .footer-logo{width:180px !important;margin:0 !important;padding:8px 12px}
  footer .footer-grid > div:last-child{grid-column:1/-1;padding-top:24px;border-top:1px solid rgba(255,255,255,.08)}
  footer h4{font-size:1.1rem;margin-bottom:10px}
  footer .footer-links{gap:9px;font-size:.9rem}
  footer .footer-grid > div:last-child .footer-links{grid-template-columns:1fr 1fr;column-gap:24px}
  footer .legal{display:flex !important;flex-direction:column;align-items:center;text-align:center;gap:6px;margin-top:26px !important}
}
@media(max-width:480px){
  footer .footer-grid > div:last-child .footer-links{grid-template-columns:1fr}
}

/* ===== BARRA MÓVIL: discreta y de marca (24/09/2026) ===== */
@media(max-width:768px){
  
  
  
  
  
  
  body{padding-bottom:calc(58px + env(safe-area-inset-bottom)) !important}
  .cookie-banner{bottom:calc(70px + env(safe-area-inset-bottom)) !important}
}

/* ===== VALORA EN MÓVIL: las 6 letras en una sola fila (24/09/2026) ===== */
@media(max-width:760px){
  .brand-values-tabs{display:grid !important;grid-template-columns:repeat(6,1fr) !important;overflow:visible !important}
  .brand-value-tab{flex:none !important;min-width:0 !important;min-height:74px !important;padding:14px 2px !important;
    border-top:0 !important;border-right:1px solid var(--line) !important}
  .brand-value-tab:last-child{border-right:0 !important}
  .brand-value-tab:hover{transform:none;box-shadow:none}
  .brand-letter{font-size:2.3rem !important}
  .brand-word{display:none !important}
  .brand-values .container::after{
    content:"Toca cada letra para descubrir qué significa";display:block;margin-top:12px;
    text-align:center;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#9a8f7f;font-weight:600
  }
  .brand-values .container:has(.brand-value-detail:not([hidden]))::after{display:none}
}
/* Tablet: también las 6 letras en una fila, con los nombres más pequeños */
@media(min-width:761px) and (max-width:980px){
  .brand-values-tabs{grid-template-columns:repeat(6,1fr) !important}
  .brand-value-tab{min-height:108px !important;padding:16px 4px !important;border-top:0 !important;border-right:1px solid var(--line) !important}
  .brand-value-tab:last-child{border-right:0 !important}
  .brand-letter{font-size:2.8rem}
  .brand-word{font-size:.6rem !important;letter-spacing:.04em !important}
}

/* ===== SOLO MÓVIL (24/09/2026): sin barra fija, logo del pie pequeño, contacto desplegable ===== */
@media(max-width:768px){
  body{padding-bottom:0 !important}
  .cookie-banner{bottom:16px !important}
  footer .footer-logo{width:120px !important;padding:6px 9px !important}
  #contacto .contact-toggle{
    display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;
    font-size:1.9rem !important;margin:8px 0 0 !important;-webkit-tap-highlight-color:transparent
  }
  #contacto .contact-toggle::after{
    content:"";flex:none;width:11px;height:11px;margin-right:6px;
    border-right:1.6px solid var(--gold);border-bottom:1.6px solid var(--gold);
    transform:translateY(-4px) rotate(45deg);transition:transform .25s ease
  }
  #contacto .contact-intro.is-open .contact-toggle::after{transform:translateY(3px) rotate(-135deg)}
  #contacto .contact-more{display:none;padding-top:14px}
  #contacto .contact-intro.is-open .contact-more{display:block;animation:vh-fade-down .25s ease both}
  @keyframes vh-fade-down{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
  #contacto .contact-card{gap:22px !important}
}

/* ===== WhatsApp dentro del formulario (solo móvil) ===== */
.form-wa{display:none}
@media(max-width:768px){
  #contacto .form-wa{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin-top:4px}
  #contacto .form-wa-or{display:flex;align-items:center;gap:12px;font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:#9aa1a8;font-weight:600}
  #contacto .form-wa-or::before,#contacto .form-wa-or::after{content:"";flex:1;height:1px;background:var(--line)}
  #contacto .form-wa-btn{margin:0 !important;width:100%;justify-content:center;min-height:52px;font-size:.92rem !important}
  #contacto .contact-more .btn-whatsapp{display:none}
}

/* ===== VIVIENDAS EN MÓVIL: mismo botón que en ordenador (flecha dorada) ===== */
@media(max-width:768px){
  .properties.real-listings .real-property-view{display:none !important}
  .properties.real-listings .round-arrow{
    background:#c9942f !important;color:#071a31 !important;border-color:#c9942f !important;
    width:40px;height:40px
  }
}

/* Flecha de las tarjetas dibujada (en iPhone el carácter ↗ salía como emoji) */
.round-arrow svg{display:block}


/* ---- Botón «Preguntar por esta vivienda» y aviso en el formulario ---- */
.property-ask{
  margin-top:16px;width:100%;padding:11px 14px;
  background:transparent;border:1px solid var(--navy);color:var(--navy);
  font:600 .8rem/1.2 "DM Sans",Arial,sans-serif;letter-spacing:.04em;cursor:pointer;
  transition:background .2s ease,color .2s ease
}
.property-ask:hover,.property-ask:focus-visible{background:var(--navy);color:#fff}
.property-ask:active{transform:scale(.98)}
.form-vivienda{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;
  padding:12px 14px;background:#f7f1e3;border-left:3px solid var(--gold);font-size:.85rem;color:var(--navy)
}
.form-vivienda[hidden]{display:none}
.form-vivienda span{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--gold);font-weight:600}
.form-vivienda strong{font-weight:600}
.form-vivienda button{
  margin-left:auto;background:none;border:0;padding:4px 0;cursor:pointer;
  font:600 .75rem "DM Sans",Arial,sans-serif;color:#69727c;text-decoration:underline
}
