/* Contacto sin columnas desbordadas ni campos con ancho mínimo implícito. */
.contact.section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(36px,5vw,90px);padding:90px max(6%,calc((100vw - 1440px)/2));width:100%;box-sizing:border-box}.contact.section>*{min-width:0}.contact.section>div:first-child{max-width:600px}.contact.section h2{font-size:clamp(42px,4.7vw,64px);line-height:1.12;margin-bottom:28px}.contact.section #brief{width:100%;max-width:600px;justify-self:end;min-width:0;display:grid;grid-template-columns:minmax(0,1fr);gap:22px}.contact #brief>*{min-width:0;max-width:100%}.contact #brief label{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;color:#e3eff4;font-size:14px}.contact #brief input,.contact #brief textarea,.contact #brief select{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;padding:15px;color:#f4f8fa;background:#1d3c4c;border:1px solid #638292;font-size:16px}.contact #brief textarea{resize:vertical;min-height:125px}.contact #brief .button{display:flex;width:100%;justify-content:space-between;align-items:center;min-height:54px;padding:16px 21px}.contact #brief .form-note{color:#c2d8e2!important;font-size:13px!important;line-height:1.7!important;overflow-wrap:anywhere}.brief-heading h3{color:#fff;font-size:25px;margin:0 0 12px;line-height:1.25}.contact .brief-heading p{color:#c8dce5;font-size:14px;line-height:1.75;margin:0}.contact a.contact-mail{overflow-wrap:anywhere;line-height:1.5}.contact-address{overflow-wrap:anywhere}.contact-social{gap:20px}.about-media{min-width:0}.about-media .about-image{height:430px;overflow:hidden}.about-media .about-image>img{width:100%;height:100%;object-fit:cover}.team-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:15px}.team-gallery button{display:grid;gap:8px;padding:6px;border:1px solid #bacbd3;background:#fff;color:#203e4d;min-width:0;cursor:pointer;text-align:left;font-size:12px}.team-gallery button img{width:100%;height:65px;object-fit:cover}.team-gallery button[aria-pressed=true]{box-shadow:inset 0 0 0 2px #f47e34}.team-gallery button:focus-visible{outline:2px solid #c55316;outline-offset:4px}.team-gallery button span{padding:0 4px 5px}
@media(max-width:900px){.contact.section{grid-template-columns:minmax(0,1fr);gap:46px;padding:65px 6% 90px}.contact.section #brief{justify-self:start;max-width:100%}.contact.section h2{font-size:clamp(40px,8vw,58px)}.about-media .about-image{height:370px}}
@media(max-width:480px){.contact.section{padding-bottom:100px}.contact.section h2{font-size:43px}.contact #brief label{font-size:14px}.team-gallery{gap:7px}.team-gallery button{font-size:10px}.team-gallery button img{height:52px}}
.brief-direct{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}.brief-direct a{display:inline-flex;min-height:44px;align-items:center;padding:10px 15px;border:1px solid #8faebb;color:#f5f8fa;font-size:13px;text-decoration:none}.brief-direct a:last-child{background:#126348;border-color:#488e76}.brief-direct a:focus-visible{outline:2px solid #ffa15f;outline-offset:3px}

.calendar-demo{margin:24px 0;padding:20px;border:1px solid #c9d6da;background:#f7f9f9;color:#183642}.calendar-demo p{margin:0 0 14px;display:flex;flex-wrap:wrap;gap:8px 20px}.calendar-demo p span{font-size:13px}.calendar-months{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px}.calendar-demo button{font:inherit;font-size:13px;border:1px solid #bdcdd2;background:white;color:#183642;padding:10px 5px;cursor:pointer}.calendar-demo button[aria-pressed=true]{background:#183642;color:white}.calendar-demo button:focus-visible{outline:3px solid #ff792d;outline-offset:2px}.calendar-special{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.calendar-demo output{display:block;font-size:13px;margin-top:12px}@media(max-width:600px){.calendar-months{grid-template-columns:repeat(3,minmax(0,1fr))}}

.mcnet-intro .calendar-months{grid-template-columns:repeat(3,minmax(0,1fr))}.mcnet-intro .calendar-demo{padding:14px;margin-bottom:0}.mcnet-intro .calendar-demo p{line-height:1.4}.mcnet-intro .calendar-demo button{font-size:12px;padding:8px 4px}

/* Contacto directo y pie compacto. */
.contact.section{display:block;padding:64px max(6%,calc((100vw - 1200px)/2))}.contact.section>div:first-child{max-width:none;display:grid;grid-template-columns:1fr 1fr;column-gap:70px;align-items:start}.contact.section .eyebrow,.contact.section h2,.contact.section .contact-copy{grid-column:1}.contact.section .contact-mail{grid-column:2;grid-row:1 / 3;align-self:end;margin:0 0 16px}.contact.section .contact-phone,.contact.section .contact-whatsapp,.contact.section .contact-address,.contact.section .contact-social{grid-column:2}.client-wordmark{background:#fff!important;display:flex;align-items:center;justify-content:center;padding:8px!important}.client-wordmark img{display:block;width:160px;height:160px;object-fit:contain}footer{min-height:0!important;height:auto!important;padding:28px 6%!important;gap:16px 30px!important;align-items:center!important;flex-wrap:wrap!important}footer>img{width:125px!important;max-height:48px;object-fit:contain}footer .demo-label{display:none}
.whatsapp-widget{position:fixed;right:24px;bottom:22px;z-index:1000;font-family:inherit}.whatsapp-toggle{display:flex;margin-left:auto;align-items:center;justify-content:center;width:58px;height:58px;border:0;border-radius:50%;background:#168d62;color:#fff;box-shadow:0 5px 20px #14364235;cursor:pointer}.whatsapp-toggle svg{width:30px;height:30px;stroke:currentColor;stroke-width:1.6;fill:none}.whatsapp-panel{width:320px;max-width:calc(100vw - 36px);margin-bottom:14px;background:white;border-radius:12px;box-shadow:0 8px 35px #152d3940;overflow:hidden;color:#183642}.whatsapp-panel[hidden]{display:none}.whatsapp-panel header{background:#168d62;color:white;padding:22px 34px 20px 22px;position:relative;text-align:center}.whatsapp-panel h3{font-size:18px;line-height:1.35;margin:0 0 10px}.whatsapp-panel header p{font-size:13px;line-height:1.5;margin:0}.whatsapp-panel header button{position:absolute;top:6px;right:10px;background:none;color:white;border:0;font-size:27px;cursor:pointer}.whatsapp-agent{display:flex;gap:13px;align-items:center;padding:20px;margin:16px;background:#f0f4f3;text-decoration:none;color:#183642}.wa-avatar{display:flex;align-items:center;justify-content:center;flex:0 0 46px;height:46px;border:1px solid #168d62;border-radius:50%;background:white;color:#c65114;font-weight:bold}.whatsapp-agent strong,.whatsapp-agent span span,.whatsapp-agent small{display:block}.whatsapp-agent strong{font-size:16px;margin-bottom:5px}.whatsapp-agent span span{font-size:13px;color:#58716e;margin-bottom:8px}.whatsapp-agent small{font-size:11px;color:#116c4d}.whatsapp-widget button:focus-visible,.whatsapp-agent:focus-visible{outline:3px solid #ff792f;outline-offset:3px}
@media(max-width:700px){.contact.section{padding:48px 6%}.contact.section>div:first-child{display:block}.contact.section .contact-mail{margin-top:28px}.whatsapp-widget{right:16px;bottom:16px}footer{padding:24px 6% 84px!important;display:flex!important;gap:18px!important}footer>span{font-size:13px}}

.contact.section .contact-intro,.contact.section .contact-details{display:block;grid-column:auto;grid-row:auto;min-width:0}.contact.section .contact-details{padding-top:12px}.contact.section .contact-details a.phone{display:block;margin:12px 0}.contact.section .contact-details .contact-mail{display:block;margin:0 0 14px}.contact.section .contact-address{margin:24px 0 18px}.contact.section .contact-intro>p:last-child{max-width:38ch}

/* El formulario permanece compacto hasta que el visitante elige correo. */
.contact .email-contact{margin:24px 0;border:1px solid #7895a2;border-radius:4px;min-width:0}.contact .email-contact summary{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;cursor:pointer;color:#fff;font-size:16px;font-weight:600;list-style:none}.contact .email-contact summary::-webkit-details-marker{display:none}.contact .email-contact[open] summary{border-bottom:1px solid #587684}.contact .email-contact[open] summary span{transform:rotate(45deg)}.contact .email-contact #brief{display:grid;gap:18px;padding:20px;max-width:100%;width:100%;box-sizing:border-box}.contact .email-contact #brief>p:first-child{font-size:14px;line-height:1.6;margin:0;color:#dbe9ef}.contact .email-contact #brief .button{border:0;cursor:pointer;color:#173745;background:#ff7a2b}.contact .email-contact summary:focus-visible{outline:3px solid #ff9a57;outline-offset:3px}
