/* FASE 16 · Responsive, usabilidad y QA integral.
   Capa aditiva: no modifica los bloques visuales aprobados de fases anteriores. */

/* Áreas táctiles mínimas para navegación móvil existente. */
.menu-toggle,
.mobile-menu .close-menu{
  min-width:44px;
  min-height:44px;
  padding:0;
  line-height:1;
}
.mobile-menu nav a{
  display:flex;
  align-items:center;
  min-height:44px;
}
@media(max-width:700px){
  .clear-filter{min-height:44px;padding:10px 4px}
}

/* Arquitectura Nivel 1: corregir el quiebre intermedio de tablet y habilitar menú móvil real. */
#get-arquitectura-preview .get-menu{
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font:400 22px/1 'Jost',Arial,sans-serif;
  cursor:pointer;
}
#get-arquitectura-preview .get-mobile-menu{
  display:none;
  position:fixed;
  inset:0;
  z-index:70;
  padding:20px;
  background:var(--get-paper);
  color:var(--get-ink);
}
#get-arquitectura-preview .get-mobile-menu.is-open{display:block}
#get-arquitectura-preview .get-mobile-menu-close{
  float:right;
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  border:0;
  background:transparent;
  color:inherit;
  font:400 26px/1 'Jost',Arial,sans-serif;
  cursor:pointer;
}
#get-arquitectura-preview .get-mobile-menu nav{
  display:flex;
  flex-direction:column;
  gap:22px;
  margin-top:64px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:27px;
  line-height:1.15;
}
#get-arquitectura-preview .get-mobile-menu nav a{
  display:flex;
  align-items:center;
  min-height:44px;
}
#get-arquitectura-preview .get-mobile-menu-meta{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:34px;
  padding-top:20px;
  border-top:1px solid var(--get-line);
  font-size:12px;
  font-weight:500;
  letter-spacing:.12em;
  text-transform:uppercase;
}
#get-arquitectura-preview .get-mobile-menu-meta button{
  min-width:44px;
  min-height:44px;
  border:1px solid var(--get-line);
  background:transparent;
  color:inherit;
  font:inherit;
  cursor:pointer;
}
@media(max-width:820px){
  #get-arquitectura-preview .get-header{background:#fff}
  #get-arquitectura-preview .get-header-inner{padding:8px 20px}
  #get-arquitectura-preview .get-nav,
  #get-arquitectura-preview .get-meta{display:none}
  #get-arquitectura-preview .get-logo{width:auto;height:76px;margin-right:auto}
  #get-arquitectura-preview .get-menu{display:flex}
}

/* Arte: navegación móvil funcional y accesible en catálogo, obra y artista. */
.art-menu-toggle{
  display:none;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--ink);
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.art-mobile-menu{
  display:none;
  position:fixed;
  inset:0;
  z-index:70;
  padding:20px;
  background:var(--paper);
  color:var(--ink);
}
.art-mobile-menu.open{display:block}
.art-mobile-menu .close-menu{
  float:right;
  display:grid;
  place-items:center;
  min-width:44px;
  min-height:44px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  font-size:26px;
  line-height:1;
  cursor:pointer;
}
.art-mobile-menu nav{
  display:flex;
  flex-direction:column;
  gap:20px;
  margin-top:64px;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-size:27px;
  line-height:1.15;
}
.art-mobile-menu nav a{
  display:flex;
  align-items:center;
  min-height:44px;
}
.art-mobile-menu .mobile-lang{
  margin-top:32px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:12px;
  font-weight:500;
  letter-spacing:.12em;
}
@media(max-width:760px){
  .art-menu-toggle{display:flex}
  .header-contact{margin-left:auto}
  .header-inner{gap:12px}
}

/* Goethe: shared visual rules for every site using this family. */
body[data-site-family="goethe"] .hero-btns .btn-solid{
  background:var(--ink,#15140f);border-color:var(--ink,#15140f);color:#fff;
}
body[data-site-family="goethe"] .hero-btns .btn-solid:hover{
  background:var(--brass-dark,#8a6c42);border-color:var(--brass-dark,#8a6c42);
}
body[data-site-family="goethe"] .profile{padding:76px 0;background:var(--stone,#ece6d9)}
body[data-site-family="goethe"] .profile .wrap{
  display:grid;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);
  align-items:start;gap:clamp(28px,5vw,70px);
}
body[data-site-family="goethe"] .profile-photo{
  width:100%;height:auto;aspect-ratio:3/4;background:#ded6c8;
}
body[data-site-family="goethe"] .profile-photo .ph{position:absolute;inset:0}
body[data-site-family="goethe"] .profile-identity{padding:18px 0 0}
body[data-site-family="goethe"] .profile-identity .professional-name{
  margin:0;font:400 clamp(24px,2.4vw,30px)/1.15 var(--serif,'Cormorant Garamond',Georgia,serif);
}
body[data-site-family="goethe"] .profile-identity .professional-role{
  margin:4px 0 10px;font:500 12px/1.4 var(--sans,'Jost',sans-serif);
  letter-spacing:.12em;text-transform:uppercase;
}
body[data-site-family="goethe"] .profile-identity .professional-resume{
  margin:0;max-width:50ch;color:#4a473d;font:300 14px/1.55 var(--sans,'Jost',sans-serif);
  white-space:pre-line;
}
body[data-site-family="goethe"] .profile-story .profile-quote{
  font:300 16px/1.65 var(--sans,'Jost',sans-serif);font-style:normal;
  white-space:pre-line;max-width:68ch;
}
body[data-site-family="goethe"] .profile-story .lede{white-space:pre-line}
body[data-site-family="goethe"] .contact{padding:64px 0}
body[data-site-family="goethe"] .contact .wrap{gap:clamp(24px,4vw,50px);align-items:start}
body[data-site-family="goethe"] .contact-info h3{margin-bottom:8px}
body[data-site-family="goethe"] .contact-info>p{margin-bottom:12px}
body[data-site-family="goethe"] .contact-line{
  display:flex;flex-wrap:wrap;gap:6px 12px;padding:8px 0;font-size:14px;
}
body[data-site-family="goethe"] .contact-line .lbl{width:78px}
body[data-site-family="goethe"] .contact-whatsapp{
  font-size:12px;text-decoration:underline;text-underline-offset:3px;
}
body[data-site-family="goethe"] .family-agent-contact{
  display:flex;align-items:center;gap:14px;margin:12px 0;
}
body[data-site-family="goethe"] .family-agent-contact img{
  width:64px;height:64px;object-fit:cover;aspect-ratio:1;border-radius:50%;
}
body[data-site-family="goethe"] .family-agent-contact h3{font-size:20px;margin:0}
body[data-site-family="goethe"] .family-agent-contact p{margin:0}
body[data-site-family="goethe"] .family-social-links{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;
}
body[data-site-family="goethe"] .family-social-links a{
  display:inline-flex;align-items:center;gap:5px;font:500 11px/1.3 var(--sans,'Jost',sans-serif);
}
body[data-site-family="goethe"] .family-social-links svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6}
/* One compact card treatment for homepage selections and the property catalog. */
body[data-site-family="goethe"] :is(.home-property-grid,.catalog-grid) .catalog-body{padding:14px 16px 16px}
body[data-site-family="goethe"] :is(.home-property-grid,.catalog-grid) .catalog-title{font:500 clamp(19px,1.6vw,23px)/1.14 var(--serif);overflow-wrap:anywhere}
body[data-site-family="goethe"] :is(.home-property-grid,.catalog-grid) .catalog-location{font:400 11px var(--sans);color:#5a5748;margin:4px 0 9px}
body[data-site-family="goethe"] :is(.home-property-grid,.catalog-grid) .catalog-specs{display:flex;gap:5px 11px;flex-wrap:wrap;font:400 11px var(--sans);line-height:1.35}
body[data-site-family="goethe"] :is(.home-property-grid,.catalog-grid) .catalog-price{margin-top:11px;padding-top:9px;font-size:23px}
body[data-site-family="goethe"] .home-property-grid .catalog-body{
  padding:15px 18px 16px;
}
body[data-site-family="goethe"] .home-property-grid .catalog-title{
  font:500 clamp(20px,2vw,24px)/1.16 var(--serif,'Cormorant Garamond',Georgia,serif);
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
body[data-site-family="goethe"] .home-property-grid .catalog-title-row{margin-bottom:3px}
body[data-site-family="goethe"] .home-property-grid .catalog-location{
  overflow:hidden;white-space:nowrap;text-overflow:ellipsis;
}
body[data-site-family="goethe"] .home-property-grid .catalog-specs{
  max-height:2.8em;overflow:hidden;
}
body[data-site-family="goethe"] .home-property-grid .catalog-price{
  margin-top:9px;padding-top:8px;font-size:22px;
}
body[data-site-family="goethe"] .home-architecture-grid .catalog-specs{
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  max-height:3.1em;line-height:1.5;overflow:hidden;
}
body[data-site-family="goethe"] #get-arquitectura-preview{
  --get-paper:#faf8f3;--get-ink:#15140f;--get-line:rgba(21,20,15,.14);
  --get-about:#ece6d9;--get-contact-bg:#ddd3bd;
  --get-accent:#8a6c42;--get-type-1:clamp(32px,5vw,58px);
  --get-type-2:clamp(28px,4vw,44px);--get-type-3:16px;--get-type-4:12px;
  line-height:1.6;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-brand{
  order:0;display:block;flex:0 0 auto;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-header-inner{
  max-width:1180px;padding-inline:30px;
}
body[data-site-family="goethe"] #get-arquitectura-preview h1,
body[data-site-family="goethe"] #get-arquitectura-preview .get-section-title{
  font-weight:400;letter-spacing:.01em;line-height:1.08;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-section-title{
  font-size:var(--get-type-2);
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-founder figcaption strong,
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact-intro h2{
  font-size:28px;font-weight:400;line-height:1.14;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-nav{
  font:300 15.5px/1.4 'Jost',sans-serif;letter-spacing:.04em;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact,
body[data-site-family="goethe"] #get-arquitectura-preview .get-submit{
  border:1px solid var(--get-ink);border-radius:12px;
  background:var(--get-ink);color:var(--get-paper);
  padding:12px 24px;font:500 11px/1.4 'Jost',sans-serif;
  letter-spacing:.16em;text-transform:uppercase;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact:hover,
body[data-site-family="goethe"] #get-arquitectura-preview .get-submit:hover{
  border-color:#8a6c42;background:#8a6c42;color:#fff;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-overlay{
  font:400 28px/1.14 'Cormorant Garamond',Georgia,serif;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-kicker{
  font-size:12px;letter-spacing:.28em;color:var(--get-accent);
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-about-copy p,
body[data-site-family="goethe"] #get-arquitectura-preview .get-founder figcaption p{
  white-space:pre-line;color:#4a473d;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-founder-photo{
  aspect-ratio:3/4;background:#ded6c8;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-about,
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact-section{
  padding-block:64px;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact-section{
  gap:clamp(24px,4vw,50px);
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact-line{
  flex-wrap:wrap;gap:6px 12px;padding:8px 0;
}
body[data-site-family="goethe"] #get-arquitectura-preview .get-contact-intro>p{margin-bottom:12px}
@media(max-width:860px){
  body[data-site-family="goethe"] .profile .wrap{grid-template-columns:1fr}
  body[data-site-family="goethe"] .profile-person{max-width:430px}
}
@media(max-width:620px){
  body[data-site-family="goethe"] #get-arquitectura-preview .get-header-inner{padding-inline:20px}
  body[data-site-family="goethe"] .contact{padding:50px 0}
}
