/* Contacto (v4): lema y tres puntos sin numeración a la izquierda; formulario en grilla, campos con ícono y tipo de consulta como selector.
   Medidas ligadas al alto de la ventana para que entre en pantalla. */
.contactoPage { background:#f3f4ef !important; color:#23487f; padding:0 !important }
.mapaBloque { position:relative }
.ctoWrap { max-width:1180px; margin:0 auto; padding:clamp(24px,5vh,88px) 24px clamp(24px,5vh,100px); display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:clamp(32px,6vw,88px); width:auto; align-items:center }
.ctoIzq h1, .ctoIzq h2 { margin:0 0 clamp(10px,2vh,18px) !important; color:#23487f !important; font-weight:100; font-size:clamp(36px,7vh,var(--f5)) !important; text-align:left; text-transform:none }
.ctoLema { max-width:440px; margin:0 0 clamp(18px,4vh,36px); font-size:clamp(15px,2.4vh,18px); font-weight:400; line-height:1.55; color:#3d5a8a }
.ctoRuta { list-style:none; margin:0; padding:0; border-top:1px solid #cfd9e8 }
.ctoRuta li { padding:clamp(10px,1.9vh,18px) 0; border-bottom:1px solid #cfd9e8 }
.ctoRuta h3 { margin:0 0 4px; font-size:clamp(15px,2.3vh,17px); font-weight:600; letter-spacing:0; text-transform:none; color:#23487f; line-height:1.25 }
.ctoRuta p { margin:0; font-size:clamp(13px,2vh,14.5px); line-height:1.5; color:#4a6188 }

.ctoForm { padding:clamp(20px,4.2vh,44px) clamp(22px,2.8vw,44px); border:1px solid #e1e7f0; border-radius:13px; background:#fff; box-shadow:0 24px 60px rgba(15,30,60,.08) }
.ctoDoble { display:grid; grid-template-columns:1fr 1fr; gap:0 clamp(10px,1.4vw,16px) }
.ctoCampo { position:relative; margin-bottom:clamp(12px,2.3vh,18px) }
.ctoCampo::before { position:absolute; left:16px; top:50%; transform:translateY(-50%); font:14px/1 FontAwesome; color:#9fb0cc; transition:color .25s; pointer-events:none; z-index:1 }
.ic-user::before { content:"\f007" } .ic-org::before { content:"\f0f7" } .ic-mail::before { content:"\f003" } .ic-tag::before { content:"\f02b" } .ic-msg::before { content:"\f0e5"; top:22px; transform:none }
.ctoCampo:focus-within::before { color:#23487f }
.ctoCampo input, .ctoCampo textarea, .ctoCampo select { display:block; width:100%; height:auto; padding:clamp(20px,3.2vh,26px) 16px clamp(6px,1vh,9px) 42px; border:1px solid #d3dbe8; background:#f8f9f6 !important; color:#23487f !important; box-shadow:none; outline:none; font-family:inherit; font-size:15px; transition:border-color .25s, box-shadow .25s, background .25s }
.ctoCampo textarea { height:clamp(90px,17vh,150px); min-height:0; resize:vertical }
.ctoCampo select { -webkit-appearance:none; appearance:none; padding-right:40px; cursor:pointer; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7fa3' stroke-width='1.6'/%3E%3C/svg%3E") !important; background-repeat:no-repeat !important; background-position:right 16px center !important }
.ctoCampo label { position:absolute; left:42px; top:calc(clamp(20px,3.2vh,26px) - 8px); margin:0; font-size:15px; font-weight:400 !important; letter-spacing:0 !important; text-transform:none !important; color:#6b7fa3; pointer-events:none; transition:all .2s }
.ctoCampo input:focus + label, .ctoCampo input:not(:placeholder-shown) + label, .ctoCampo textarea:focus + label, .ctoCampo textarea:not(:placeholder-shown) + label, .ctoSel label { top:clamp(5px,.9vh,8px); font-size:11.5px; color:#23487f }
.ctoCampo input:focus, .ctoCampo textarea:focus, .ctoCampo select:focus { border-color:#23487f; background-color:#fff !important; box-shadow:0 0 0 3px rgba(35,72,127,.14) }
.ctoCampo .mal { border-color:#d64545 !important }
.ctoCampo .mal + label { color:#d64545 }
.ctoPie { display:flex; align-items:center; flex-wrap:wrap; gap:14px 20px; margin-top:clamp(14px,2.6vh,22px) }
.ctoEnviar { padding:clamp(11px,1.9vh,15px) 30px; border:0; background:#23487f; color:#fff !important; cursor:pointer; font-size:15px !important; font-family:inherit; letter-spacing:0 !important; text-transform:none !important; font-weight:400; transition:background .3s, transform .3s }
.ctoEnviar span { color:#fff !important }
.ctoEnviar:hover:not(:disabled) { background:#1a3a68; transform:translateY(-2px) }
.ctoEnviar:disabled { opacity:.5; cursor:default }
.ctoNota { flex:1 1 200px; margin:0; font-size:12.5px; line-height:1.4; color:#6b7fa3 }
#contactoGracias h3 { margin:0 0 12px; font-size:var(--f2); font-weight:300; color:#23487f; text-transform:none; letter-spacing:0 }
#contactoGracias p { margin:0; font-size:var(--f1); color:#4a6188 }
@media (max-width:980px) { .ctoWrap { grid-template-columns:1fr; gap:36px; padding:48px 20px 64px } .ctoForm { padding:24px 20px } }
@media (max-width:520px) { .ctoDoble { grid-template-columns:1fr } }
.ctoDoble2 { grid-template-columns:minmax(0,1fr) minmax(0,1.35fr) }
.ctoCampo select { font-size:14.5px; padding-right:34px }
@media (max-width:520px) { .ctoDoble2 { grid-template-columns:1fr } }
