/* TECNOYDES V10.17 — Contacto, maqueta 11. Formulario PHP original intacto. */
body:not(.home) .wp-site-blocks > .wp-block-group.tec-contact-page.tec17-contact{
 --tec17-contact-ink:#142b4c;--tec17-contact-muted:#45607f;
 width:100%!important;max-width:none!important;margin:0!important;
 padding:0 0 clamp(38px,3.6vw,75px)!important;background:#fff;
 font-family:Inter,"Segoe UI",Arial,sans-serif
}
body:not(.home) .tec17-contact *,body:not(.home) .tec17-contact *::before,body:not(.home) .tec17-contact *::after{box-sizing:border-box}
body:not(.home) .tec17-contact :is(h1,h2,h3){font-family:inherit;letter-spacing:-.04em;color:var(--tec17-contact-ink);font-weight:790}
body:not(.home) .tec17-contact .tec17-contact-hero{
 width:100%!important;max-width:none!important;margin:0 0 clamp(30px,3vw,62px)!important;
 padding:0!important;min-height:clamp(255px,27vw,435px);height:auto;
 background:linear-gradient(90deg,#f7f9fcec 0%,#f7f9fce6 27%,#f7f9fc72 49%,transparent 72%),url('https://pre.tecnoydes.com/wp-content/uploads/2026/10/Tecnoydes-Contacto-escritorio-y-ordenador-fotografia-ilustrativa.jpg') right 46%/cover no-repeat!important;
 border-radius:0!important;display:flex;align-items:center;position:relative;overflow:hidden
}
body:not(.home) .tec17-contact .tec17-contact-hero-content{
 width:min(calc(100% - clamp(40px,8.8vw,144px)),1500px);max-width:1500px;
 margin:0 auto!important;padding:clamp(30px,4vw,68px) 0!important
}
body:not(.home) .tec17-contact .tec17-contact-crumb{font-size:clamp(12px,.8vw,16px)!important;color:#536780!important;margin:0 0 clamp(24px,2vw,38px)!important}
body:not(.home) .tec17-contact .tec17-contact-crumb a{color:#d3091b!important;text-decoration:none}
body:not(.home) .tec17-contact .tec17-contact-hero h1{
 font-size:clamp(42px,4vw,81px)!important;line-height:1.04!important;
 margin:0 0 clamp(15px,1.3vw,25px)!important;color:#112743!important
}
body:not(.home) .tec17-contact .tec17-contact-hero h1::before{
 content:"";display:block;width:clamp(27px,1.8vw,38px);height:4px;background:#ed111b;margin-bottom:13px
}
body:not(.home) .tec17-contact .tec17-contact-hero h1 em{color:#ed111b;font-style:normal}
body:not(.home) .tec17-contact .tec17-contact-hero .tec-lead{
 color:#243c5a!important;line-height:1.47!important;font-size:clamp(16px,1.15vw,23px)!important;
 max-width:545px!important;margin:0!important
}
body:not(.home) .tec17-contact .tec-contact-layout,
body:not(.home) .tec17-contact .tec17-contact-reasons,
body:not(.home) .tec17-contact .tec17-contact-bottom{
 width:min(calc(100% - clamp(40px,8.8vw,144px)),1500px)!important;
 max-width:1500px!important;margin-left:auto!important;margin-right:auto!important
}
body:not(.home) .tec17-contact .tec-contact-layout{
 display:grid!important;grid-template-columns:minmax(0,1.17fr) minmax(0,.83fr)!important;
 align-items:start;gap:clamp(14px,1.4vw,29px)!important;
 margin-top:0!important;margin-bottom:0!important;padding:0!important
}
body:not(.home) .tec17-contact .tec-contact-form-panel{
 background:#fff!important;border:1px solid #dfeaf4!important;box-shadow:0 4px 18px #193b610c!important;
 border-radius:8px!important;padding:clamp(25px,2.7vw,52px)!important;width:100%!important
}
body:not(.home) .tec17-contact .tec-contact-form-panel h2,
body:not(.home) .tec17-contact .tec17-direct h2,
body:not(.home) .tec17-contact .tec17-personal h2{
 font-size:clamp(27px,2.1vw,40px)!important;line-height:1.15!important;
 color:#142e54!important;margin:0 0 10px!important
}
body:not(.home) .tec17-contact :is(.tec-contact-form-panel h2,.tec17-direct h2,.tec17-personal h2,.tec17-contact-reasons h2,.tec17-location h2,.tec-faq h2)::before{
 content:"";display:block;width:28px;height:4px;background:#ed111b;margin:0 0 12px
}
body:not(.home) .tec17-contact .tec-contact-form-panel>p,
body:not(.home) .tec17-contact .tec17-direct>p,
body:not(.home) .tec17-contact .tec17-personal>p{
 font-size:clamp(14px,1vw,19px)!important;line-height:1.47!important;
 color:#4c6280;margin:0 0 clamp(20px,2vw,36px)!important
}
body:not(.home) .tec17-contact .tec-contact-form{width:100%!important;max-width:none!important}
body:not(.home) .tec17-contact .tec-contact-form label{
 display:block;font-size:clamp(13px,.91vw,17px)!important;font-weight:620;
 line-height:1.4;color:#153154;margin-bottom:clamp(15px,1.25vw,25px)
}
body:not(.home) .tec17-contact .tec-contact-fields{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,1.3vw,24px)
}
body:not(.home) .tec17-contact .tec-contact-fields label{min-width:0;margin-bottom:0}
body:not(.home) .tec17-contact .tec-contact-form :is(input:not([type="hidden"]):not([type="checkbox"]),select,textarea){
 display:block;width:100%!important;min-width:0;max-width:none!important;
 background:#fff!important;border:1px solid #d7e2ef!important;border-radius:5px!important;
 color:#122c4b;padding:clamp(11px,.9vw,17px)!important;font-size:clamp(13px,.95vw,17px)!important;
 margin:7px 0 0!important;min-height:clamp(44px,3.1vw,58px)
}
body:not(.home) .tec17-contact .tec-contact-form textarea{min-height:clamp(120px,10vw,195px)!important;resize:vertical}
/* Contacto: el selector ocupa exactamente el ancho y la altura de los otros campos. */
body:not(.home) .tec17-contact .tec-contact-form .tec-contact-select{display:block!important;width:100%!important;margin-top:7px!important;padding:0!important;min-width:0!important;max-width:none!important}
body:not(.home) .tec17-contact .tec-contact-form .tec-contact-select select{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:none!important;min-height:clamp(44px,3.1vw,58px)!important;height:clamp(44px,3.1vw,58px)!important;margin:0!important;padding:0 42px 0 clamp(11px,.9vw,17px)!important;border:1px solid #d7e2ef!important;border-radius:5px!important;background-color:#fff!important;font-family:Inter,"Segoe UI",Arial,sans-serif!important;font-size:clamp(13px,.95vw,17px)!important;font-weight:400!important;line-height:normal!important;color:#122c4b!important;appearance:auto!important}

body:not(.home) .tec17-contact .tec-contact-privacy{
 display:flex!important;flex-direction:row;align-items:center;gap:11px;font-weight:460;
 font-size:clamp(12px,.88vw,16px)!important
}
body:not(.home) .tec17-contact .tec-contact-privacy input{width:17px;height:17px;flex:none;accent-color:#ed111b}
body:not(.home) .tec17-contact .tec-contact-form button[type=submit]{
 display:inline-flex!important;align-items:center;justify-content:center;
 background:#ed111b!important;border-radius:5px!important;min-height:46px;
 padding:11px clamp(24px,2vw,36px)!important;font-size:clamp(13px,.96vw,17px)!important;
 font-weight:760;color:#fff!important
}
body:not(.home) .tec17-contact .tec-contact-aside{
 display:flex!important;flex-direction:column;gap:clamp(13px,1.2vw,22px);
 width:100%!important;background:transparent!important;padding:0!important;border:0!important
}
body:not(.home) .tec17-contact .tec-contact-aside>section{
 background:linear-gradient(112deg,#f1f6fa,#f7fafc);border:1px solid #e1eaf2;
 border-radius:8px;padding:clamp(24px,2.2vw,45px)!important
}
body:not(.home) .tec17-contact .tec17-direct-item{
 display:flex;flex-direction:column;align-items:flex-start;gap:4px;margin:0 0 clamp(17px,1.3vw,27px);
 padding:0 0 0 clamp(41px,3.1vw,60px);position:relative
}
body:not(.home) .tec17-contact .tec17-direct-item:last-child{margin:0}
body:not(.home) .tec17-contact .tec17-direct-item::before{
 position:absolute;left:0;top:0;content:"";width:32px;height:32px;background:var(--dir-icon) center/contain no-repeat
}
body:not(.home) .tec17-contact .tec17-direct-item:nth-of-type(1){--dir-icon:url('./company15-headset.svg')}
body:not(.home) .tec17-contact .tec17-direct-item:nth-of-type(2){--dir-icon:url('./company15-chat.svg')}
body:not(.home) .tec17-contact .tec17-direct-item:nth-of-type(3){--dir-icon:url('./company15-target.svg')}
body:not(.home) .tec17-contact .tec17-direct-item strong{font-size:clamp(14px,.95vw,18px);font-weight:790;color:#132e53}
body:not(.home) .tec17-contact .tec17-direct-item :is(a,span){font-size:clamp(14px,.94vw,19px);font-weight:630;color:#17375f!important;text-decoration:none!important}
body:not(.home) .tec17-contact .tec17-direct-item small{font-size:clamp(12px,.8vw,15px);color:#5a7290;line-height:1.35}
body:not(.home) .tec17-contact .tec17-personal{position:relative}
body:not(.home) .tec17-contact .tec17-personal>p{margin-bottom:0!important}
body:not(.home) .tec17-contact .tec17-meeting{background:#fff!important}
body:not(.home) .tec17-contact .tec17-meeting h3{font-size:clamp(19px,1.2vw,25px)!important;margin:0 0 7px!important}
body:not(.home) .tec17-contact .tec17-meeting p{font-size:clamp(13px,.91vw,17px)!important;line-height:1.4!important;margin:0 0 15px!important}
body:not(.home) .tec17-contact .tec17-meeting a{
 display:inline-flex!important;align-items:center;justify-content:center;
 background:#ed111b!important;border:1px solid #ed111b!important;
 padding:11px clamp(24px,2vw,36px)!important;min-height:46px;
 color:#fff!important;border-radius:5px!important;text-decoration:none!important;
 font-size:clamp(13px,.96vw,17px)!important;font-weight:760!important;
 transition:background-color .2s ease,border-color .2s ease
}
body:not(.home) .tec17-contact .tec17-meeting a:hover,
body:not(.home) .tec17-contact .tec17-meeting a:focus-visible{background:#c70d18!important;border-color:#c70d18!important;color:#fff!important}
/* Por que contactarnos */
body:not(.home) .tec17-contact .tec17-contact-reasons{margin-top:clamp(50px,4.5vw,90px)!important;padding:0!important}
body:not(.home) .tec17-contact .tec17-contact-reasons h2,
body:not(.home) .tec17-contact :is(.tec17-location h2,.tec-faq h2){font-size:clamp(26px,2vw,40px)!important;line-height:1.16!important;margin:0 0 22px!important}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid article{
 min-width:0;padding:12px clamp(17px,1.9vw,36px)!important;border-right:1px solid #dfe8f0
}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid article:last-child{border:0}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid img{display:block;width:38px;height:38px;object-fit:contain;margin:0 0 14px}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid h3{font-size:clamp(15px,1.15vw,21px)!important;margin:0 0 8px!important}
body:not(.home) .tec17-contact .tec17-contact-reasons-grid p{font-size:clamp(13px,.94vw,17px)!important;line-height:1.4!important}
/* V10.20.3 — Mapa y FAQ con el mismo padding interior. */
/* La antigua hoja content-v10.css anulaba horizontalmente el padding de .tec-faq. */
body:not(.home) .wp-site-blocks .tec-contact-page.tec17-contact .tec17-contact-bottom > section.tec-interior-section.tec-faq{
  box-sizing:border-box!important;
  padding:clamp(18px,1.7vw,34px)!important;
}
body:not(.home) .tec17-contact .tec17-location-address{
  display:block;font-style:normal;font-size:clamp(13px,.94vw,18px);line-height:1.5;
  font-weight:650;color:#183457;margin:0 0 clamp(13px,1.1vw,22px)!important;
}
/* Mapa y FAQ comparten fila */
body:not(.home) .tec17-contact .tec17-contact-bottom{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(16px,1.7vw,30px)!important;
 margin-top:clamp(42px,4vw,77px)!important;padding:0!important;align-items:stretch
}
body:not(.home) .tec17-contact .tec17-contact-bottom>section{
 border:1px solid #e2eaf2;border-radius:8px;background:#f3f8fb;
 padding:clamp(18px,1.7vw,34px)!important;margin:0!important;max-width:none!important;width:100%!important
}
body:not(.home) .tec17-contact .tec17-location>p{font-size:clamp(13px,1vw,18px)!important;line-height:1.42!important;margin:0 0 14px!important}
body:not(.home) .tec17-contact .tec17-location iframe{display:block;width:100%;height:clamp(230px,21vw,350px);border:0;border-radius:6px;background:#d9e8f1}
body:not(.home) .tec17-contact .tec-faq h2{margin-top:0!important}
body:not(.home) .tec17-contact .tec-faq>.tec-eyebrow{display:none}
body:not(.home) .tec17-contact .tec-faq details{
 background:#fff!important;border:1px solid #dce8f1!important;border-radius:5px;
 padding:clamp(12px,1vw,18px)!important;margin:0 0 11px!important
}
body:not(.home) .tec17-contact .tec-faq details summary{font-size:clamp(13px,.92vw,17px)!important;font-weight:700;cursor:pointer;color:#142d4f}
body:not(.home) .tec17-contact .tec-faq details p{font-size:clamp(12px,.88vw,16px)!important;line-height:1.47!important;margin-top:9px!important}
@media(max-width:950px){
 body:not(.home) .tec17-contact .tec-contact-layout{grid-template-columns:1fr!important;gap:20px}
 body:not(.home) .tec17-contact .tec-contact-aside{display:grid!important;grid-template-columns:1fr 1fr}
 body:not(.home) .tec17-contact .tec17-direct{grid-row:span 2}
 body:not(.home) .tec17-contact .tec17-contact-reasons-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:26px}
 body:not(.home) .tec17-contact .tec17-contact-reasons-grid article:nth-child(2){border:0}
}

/* V10.17.3 - Contacto: full-width real sin el contenedor tec-interior del tema padre.
   Misma reticula de márgenes que el resto de interiores, sin alterar Home. */
body:not(.home) .wp-site-blocks > .wp-block-group.tec-contact-page.tec17-contact,
body:not(.home) .wp-site-blocks > .tec-contact-page.tec17-contact,
body:not(.home) .tec-contact-page.tec17-contact{
  display:block!important;position:relative;
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0 0 clamp(50px,5vw,85px)!important;
  overflow:visible;
}
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-hero{
  display:flex!important;width:100%!important;max-width:none!important;
  margin-left:0!important;margin-right:0!important;
}
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-hero-content,
body:not(.home) .tec-contact-page.tec17-contact .tec-contact-layout,
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-reasons,
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom{
  box-sizing:border-box!important;
  width:calc(100% - clamp(40px,9vw,170px))!important;
  max-width:none!important;min-width:0!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
}
body:not(.home) .tec-contact-page.tec17-contact .tec-contact-layout{
  grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr)!important;
  gap:clamp(18px,2vw,42px)!important;align-items:start;
}
body:not(.home) .tec-contact-page.tec17-contact .tec-contact-form-panel,
body:not(.home) .tec-contact-page.tec17-contact .tec-contact-aside,
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom>section{
  min-width:0!important;max-width:none!important;width:100%!important;
}
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-reasons{
  margin-top:clamp(45px,4vw,82px)!important;
}
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom{
  margin-top:clamp(38px,3.5vw,70px)!important;
}
body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom .tec-faq{
  max-width:none!important;margin:0!important;
}
@media(max-width:950px){
  body:not(.home) .tec-contact-page.tec17-contact .tec-contact-layout{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media(max-width:650px){
  body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-hero-content,
  body:not(.home) .tec-contact-page.tec17-contact .tec-contact-layout,
  body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-reasons,
  body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom{
    width:calc(100% - 40px)!important;
  }
  body:not(.home) .tec-contact-page.tec17-contact .tec17-contact-bottom{
    grid-template-columns:1fr!important;
  }
}

@media(max-width:650px){
 body:not(.home) .tec17-contact .tec17-contact-hero-content,
 body:not(.home) .tec17-contact .tec-contact-layout,
 body:not(.home) .tec17-contact .tec17-contact-reasons,
 body:not(.home) .tec17-contact .tec17-contact-bottom{width:calc(100% - 40px)!important}
 body:not(.home) .tec17-contact .tec17-contact-hero{min-height:310px;background-position:58% center!important}
 body:not(.home) .tec17-contact .tec17-contact-hero h1{font-size:clamp(36px,10vw,52px)!important}
 body:not(.home) .tec17-contact .tec-contact-fields{grid-template-columns:1fr!important;gap:13px!important}
 body:not(.home) .tec17-contact .tec-contact-aside{display:flex!important;flex-direction:column}
 body:not(.home) .tec17-contact .tec17-contact-bottom{grid-template-columns:1fr}
 body:not(.home) .tec17-contact .tec17-contact-reasons-grid{gap:15px}
 body:not(.home) .tec17-contact .tec17-contact-reasons-grid article{padding:14px!important}
 body:not(.home) .tec17-contact .tec17-contact-reasons-grid img{width:30px;height:30px}
}
