/* MACONDO 2.5 / ajuste UX integral. Hoja final del cascade */
:root{--mc-ux-ink:#432F2E;--mc-ux-gold:#FFC466;--mc-ux-paper:#FAF6EF}

/* LOGOS: tanto el A como el IMG tienen dimensiones explícitas. No depender del
   ancho intrínseco de un SVG sin width ni de la regla genérica img-fluid. */
body header.front-header a.macondo-brand-link,
body header.macondo-header a.macondo-brand-link{display:inline-flex!important;width:168px!important;min-width:168px!important;max-width:168px!important;flex:0 0 168px!important;margin-inline:auto!important;justify-content:center;align-items:center}
body header.front-header a.macondo-brand-link>img.macondo-header-logo,
body header.macondo-header a.macondo-brand-link>img.macondo-header-logo{display:block!important;width:168px!important;min-width:168px!important;max-width:168px!important;height:auto!important;max-height:none!important;object-fit:contain!important;flex:none!important}
@media(max-width:767.98px){
body header.front-header a.macondo-brand-link,body header.macondo-header a.macondo-brand-link{width:152px!important;min-width:152px!important;max-width:152px!important;flex-basis:152px!important}
body header.front-header a.macondo-brand-link>img.macondo-header-logo,body header.macondo-header a.macondo-brand-link>img.macondo-header-logo{width:152px!important;min-width:152px!important;max-width:152px!important}
}

/* Anchos de lectura: una frase breve debe leerse de un vistazo. */
.macondo-front .macondo-heading-description,
#macondo-por-dentro .macondo-heading-description,
.macondo-front .lead {max-width:43ch!important;line-height:1.62!important;text-wrap:pretty}
.macondo-front .macondo-section-heading{column-gap:clamp(1.8rem,4vw,4rem);align-items:center}
.macondo-front .macondo-section-heading h2.h1{margin-top:.65rem}
.macondo-front .macondo-section-heading .macondo-heading-description{margin-inline:0}
.macondo-archive-evento .macondo-listing-intro,.blog-main .page-header .lead,
.macondo-contact-subtitle {max-width:48ch!important;margin-inline:auto!important;line-height:1.58!important;text-wrap:balance}

/* Páginas internas: menos franjas vacías, más continuidad con las fotos. */
body .macondo-main .page-header,body .blog-main .page-header,body .page-main .page-header{
  padding-top:clamp(2.3rem,4vw,3.8rem)!important;
  padding-bottom:clamp(1.4rem,2.5vw,2.4rem)!important;
  margin-bottom:0!important;
}
body .macondo-main .page-header h1,body .blog-main .page-header h1,body .page-main .page-header h1{
  font-size:clamp(2.5rem,4.4vw,4.4rem);line-height:1.16;margin-bottom:.65rem!important;
}
.macondo-archive-evento .page-header .container{max-width:880px}
.macondo-archive-evento .page-header .macondo-main-cta{margin-top:1.25rem!important}
.macondo-archive-evento .macondo-section-page{padding-top:clamp(1rem,2.5vw,2rem)!important}
.macondo-archive-evento .mc-evento-archive-item{margin-top:0}
.macondo-archive-evento .mc-evento-thumb img{width:100%;height:clamp(220px,23vw,300px);object-fit:cover}
.macondo-archive-evento .macondo-listing-card{padding-bottom:1.5rem}
.macondo-single-evento .page-header{padding-bottom:clamp(.85rem,1.8vw,1.6rem)!important}
.macondo-single-evento .macondo-section-page{padding-top:clamp(.65rem,2vw,1.75rem)!important}
.macondo-single-evento .mc-single-image{
  width:100%;height:clamp(255px,35vw,430px);max-height:430px;object-fit:cover;
  object-position:center;display:block;margin-bottom:clamp(1.65rem,3vw,2.7rem)!important;
  border-radius:9px!important;
}
.macondo-single-evento .entry-content{margin-bottom:clamp(1.5rem,3vw,3rem)!important;max-width:73ch;margin-inline:auto}
.macondo-single-evento .mc-evento-single hr{margin-block:1.5rem!important}

/* Blog: respiración de revista, sin huecos artificiales. */
.blog-main .page-header{padding-bottom:1.75rem!important}
.blog-main .section-blog{padding-top:clamp(1.4rem,2.6vw,2.5rem)!important}
.blog-main .macondo-blog-list{max-width:1120px}
.blog-main .macondo-blog-item{padding-block:clamp(1.4rem,2.5vw,2.8rem)!important;margin-bottom:0!important;
  border-bottom:1px solid rgba(250,246,239,.17)}
.blog-main .macondo-blog-item:first-child{padding-top:0!important}
.blog-main .macondo-blog-excerpt{max-width:62ch;line-height:1.65!important}
.blog-main .macondo-blog-thumb img{width:100%;height:clamp(210px,25vw,280px);object-fit:cover;border-radius:8px}
.blog-main .macondo-blog-category{letter-spacing:.08em;text-transform:uppercase;color:var(--mc-ux-gold)}

/* Home: la grilla se adapta automáticamente a tantas filas como agreguen. */
#macondo-por-dentro .polaroid-card{height:100%;display:flex;flex-direction:column}
#macondo-por-dentro .polaroid-photo{flex-shrink:0}
#macondo-por-dentro .polaroid-caption{flex:1;display:flex;align-items:center;justify-content:center;min-height:3rem}
#postales-de-macondo .diapositivas-caption{max-width:min(88%,610px)}
#postales-de-macondo .diapositivas-text{max-width:52ch}

/* Contacto: información y formulario en dos columnas visualmente distintas. */
.macondo-contact-page{background:#432F2E;color:#FAF6EF}
.macondo-contact-page .macondo-contact-header{background:transparent!important;background-image:none!important;padding-top:clamp(2.5rem,4vw,4.2rem)!important;padding-bottom:clamp(1.2rem,2.5vw,2.2rem)!important}
.macondo-contact-header h1{color:var(--mc-ux-gold);font-size:clamp(2.9rem,5vw,4.7rem)!important;margin:.2rem auto .75rem!important}
.macondo-contact-eyebrow,.macondo-contact-kicker{font-family:Montserrat,Arial,sans-serif;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--mc-ux-gold)}
.macondo-contact-subtitle{color:rgba(250,246,239,.86);font-size:clamp(1rem,1.3vw,1.2rem);margin-bottom:0!important}
.macondo-contact-section{padding:clamp(1.4rem,3vw,2.8rem) 0 clamp(4rem,6vw,6rem)}
.macondo-contact-section>.container{max-width:1180px}
.macondo-contact-additional{max-width:760px;margin:0 auto 2rem;text-align:center}
.macondo-contact-layout{--bs-gutter-x:clamp(1.5rem,4vw,4.5rem);--bs-gutter-y:2rem}
.macondo-contact-info{padding:clamp(1rem,2vw,2rem) 0}
.macondo-contact-info h2{color:#fff;font-size:clamp(2rem,2.7vw,3rem);line-height:1.18;margin:.8rem 0 1rem}
.macondo-contact-info>p{color:rgba(250,246,239,.78);font-size:1.035rem;line-height:1.72;max-width:42ch;margin-bottom:2rem}
.macondo-contact-way{display:flex;align-items:flex-start;gap:1rem;padding:1.4rem 0;border-top:1px solid rgba(250,246,239,.17)}
.macondo-contact-way-icon{display:grid;place-items:center;color:#432F2E;background:#FFC466;width:43px;height:43px;flex:0 0 43px;border-radius:50%;font-size:1.1rem}
.macondo-contact-way>div{min-width:0;flex:1}
.macondo-contact-way strong{display:block;color:#fff;font-family:Montserrat,Arial,sans-serif;font-size:1rem;margin-bottom:.25rem}
.macondo-contact-way span:not(.macondo-contact-way-icon){display:block;font-size:.93rem;color:rgba(250,246,239,.72);margin-bottom:1rem}
.macondo-contact-way .btn{font-size:.85rem;padding:.65rem 1.15rem;min-height:44px;white-space:normal}
.macondo-contact-way-mail a{color:#FFC466!important;font-size:.96rem;overflow-wrap:anywhere}
.macondo-contact-form-card{background:#FAF6EF!important;color:#432F2E!important;border:1px solid #E5D9CA;border-radius:14px;padding:clamp(1.5rem,3.5vw,3rem);box-shadow:0 24px 54px rgba(19,10,8,.2)}
.macondo-form-intro{margin-bottom:1.8rem}
.macondo-form-intro .macondo-contact-kicker{color:#805A43}
.macondo-form-intro h2{color:#432F2E!important;font-size:clamp(1.9rem,2.6vw,2.75rem);margin:.4rem 0 .6rem;line-height:1.18}
.macondo-form-intro p{color:#63534D!important;line-height:1.55;max-width:41ch;margin:0}
.macondo-contact-form-card .form-label{color:#432F2E!important;font-weight:700;font-family:Montserrat,Arial,sans-serif;font-size:.83rem;margin-bottom:.55rem}
.macondo-contact-form-card .form-label span{color:#B24327}
.macondo-contact-form-card .form-control{color:#432F2E!important;background:#fff!important;border:1px solid #CEC2B6!important;border-radius:7px;padding:.9rem 1rem;min-height:50px;box-shadow:none!important}
.macondo-contact-form-card textarea.form-control{min-height:168px;resize:vertical}
.macondo-contact-form-card .form-control::placeholder{color:#766C68;opacity:1}
.macondo-contact-form-card .form-control:focus{border-color:#805A43!important;outline:2px solid rgba(128,90,67,.21);outline-offset:1px}
.macondo-contact-form-card .invalid-feedback{color:#9F311E}
.macondo-contact-submit{margin-top:1.5rem;width:100%;display:flex;justify-content:space-between;align-items:center;font-weight:700!important;border-radius:7px!important}
.macondo-form-privacy{font-size:.77rem;color:#695F5A!important;margin-top:1rem;margin-bottom:0;line-height:1.5!important}
.macondo-contact-form-card .alert{font-size:.94rem;line-height:1.5}
@media(max-width:991.98px){
  .macondo-front .macondo-section-heading{grid-template-columns:1fr;gap:.85rem}
  .macondo-front .macondo-heading-description{max-width:47ch!important}
  .macondo-contact-info{padding:0}
  .macondo-contact-info>p{max-width:56ch}
  .macondo-contact-layout{--bs-gutter-y:2.25rem}
}
@media(max-width:575.98px){
  body .macondo-main .page-header,body .page-main .page-header,body .blog-main .page-header{padding-top:2.1rem!important;padding-bottom:1.35rem!important}
  .macondo-archive-evento .page-header .macondo-main-cta{max-width:100%;white-space:normal}
  .macondo-single-evento .mc-single-image{height:250px;max-height:250px}
  .macondo-contact-section{padding-top:1.2rem}
  .macondo-contact-way .btn{width:100%;justify-content:center}
  .macondo-contact-form-card{padding:1.4rem 1.2rem}
  .macondo-contact-form-card .macondo-form-privacy{font-size:.74rem}
}
@media(prefers-reduced-motion:reduce){.macondo-contact-page .btn{transition:none!important}}
