/* Estilos limitados a la página Contacto: no alteran el resto del sitio HJM. */
.hjm-contacto{max-width:1180px;margin:0 auto;padding:54px 24px 80px;font-family:'Nunito',Arial,sans-serif;color:#174d7c}
.hjm-contacto *{box-sizing:border-box}
.hjm-contacto-heading{max-width:760px;margin-bottom:36px}
.hjm-contacto-eyebrow{text-transform:uppercase;letter-spacing:.11em;font-weight:800;font-size:12px;color:#168fb5;margin:0 0 10px}
.hjm-contacto h1,.hjm-contacto h2{font-family:'Lora',Georgia,serif;color:#174d7c}
.hjm-contacto h1{font-size:clamp(34px,4vw,52px);margin:0 0 16px}
.hjm-contacto-heading>p:last-child{font-size:17px;line-height:1.65}
.hjm-contacto-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:26px;align-items:start}
.hjm-contacto-card{background:#fff;border:1px solid #e2edf3;border-radius:20px;box-shadow:0 12px 34px rgba(23,77,124,.06);padding:clamp(22px,3vw,36px)}
.hjm-contacto h2{font-size:25px;margin:0 0 25px}
.hjm-contacto-form{display:grid;gap:19px}
.hjm-contacto-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hjm-contacto-form label{display:block;font-size:14px;font-weight:800;line-height:1.5}
.hjm-contacto-form label>span,.hjm-contacto-privacy strong{color:#bf3d43}
.hjm-contacto-form input:not([type=checkbox]),.hjm-contacto-form select,.hjm-contacto-form textarea{display:block;width:100%;margin-top:8px;padding:13px 14px;border:1px solid #cddde7;border-radius:9px;background:#fff;color:#183b56;font:400 15px/1.5 'Nunito',Arial,sans-serif;min-height:48px}
.hjm-contacto-form textarea{resize:vertical}
.hjm-contacto-form input:focus,.hjm-contacto-form select:focus,.hjm-contacto-form textarea:focus{outline:2px solid #287fc2;outline-offset:2px}
.hjm-contacto-privacy{display:flex!important;gap:10px;align-items:flex-start;font-weight:600!important}
.hjm-contacto-privacy input{margin-top:5px;flex:none}
.hjm-contacto-help{font-size:13px;line-height:1.5;margin:0;color:#5b6c79}
.hjm-contacto-form button{justify-self:start;border:0;border-radius:999px;background:#c63b46;color:#fff;padding:14px 29px;font:800 15px 'Nunito',Arial,sans-serif;cursor:pointer}
.hjm-contacto-form button:hover{background:#a82f39}
.hjm-contacto-info>div{border-bottom:1px solid #e6eef2;padding:0 0 17px;margin-bottom:19px}
.hjm-contacto-info h3{font-size:15px;margin:0 0 7px;color:#087aa9}
.hjm-contacto-info p{margin:0;line-height:1.65;overflow-wrap:anywhere}
.hjm-contacto-info a{color:#087aa9;font-weight:800}
.hjm-contacto-alert{padding:14px 16px;margin:0 0 20px;border-radius:9px;background:#fff3e9;border:1px solid #f0d5bd;color:#724b26;line-height:1.5}
.hjm-contacto-alert.success{background:#edf8f3;border-color:#c4e5d3;color:#286b4c}
.hjm-contacto-trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
@media(max-width:850px){.hjm-contacto-grid{grid-template-columns:1fr}}
@media(max-width:600px){.hjm-contacto{padding:35px 18px 55px}.hjm-contacto-fields{grid-template-columns:1fr}.hjm-contacto-card{padding:22px}}

/* HJM Contacto v1.2: hero y composición institucional. Todo limitado a Contacto. */
.hjm-contacto{max-width:none;padding:0 0 95px;color:#174d7c}
.hjm-contacto-breadcrumb,.hjm-contacto-hero,.hjm-contacto-section-head,.hjm-contacto-grid{max-width:1200px;margin-left:auto;margin-right:auto}
.hjm-contacto-breadcrumb{display:flex;gap:12px;align-items:center;padding:23px 24px 17px;font-size:13px;font-weight:800;color:#7393ab}
.hjm-contacto-breadcrumb a{color:#287fc2;text-decoration:none}
.hjm-contacto-hero{display:grid;grid-template-columns:1fr .92fr;align-items:center;gap:50px;padding:42px 24px 78px;min-height:470px}
.hjm-contacto-hero-copy{min-width:0}
.hjm-contacto-pill{display:inline-flex;align-items:center;gap:6px;border-radius:100px;background:#e9f7fb;color:#008eae;padding:11px 16px;font:900 11px/1.3 'Nunito',Arial,sans-serif;letter-spacing:.11em}
.hjm-contacto-hero h1{font-family:'Lora',Georgia,serif;font-size:clamp(42px,4.3vw,65px);line-height:1.15;letter-spacing:-.035em;margin:23px 0 19px;color:#174d7c}
.hjm-contacto-hero h1 em{color:#287fc2;font-weight:500}
.hjm-contacto-hero-copy>p{font-size:18px;line-height:1.7;max-width:510px;color:#486b82;margin:0 0 29px}
.hjm-contacto-hero-action{display:inline-flex;align-items:center;gap:22px;background:#ed1c2e;color:#fff!important;text-decoration:none;border-radius:100px;padding:16px 25px;font:800 15px 'Nunito',Arial,sans-serif;box-shadow:0 12px 25px rgba(237,28,46,.16)}
.hjm-contacto-hero-action:hover{background:#ca1829}
.hjm-contacto-hero-media{height:360px;position:relative;overflow:visible;border-radius:28px;background:#dff3fa}
.hjm-contacto-hero-media>img{width:100%;height:100%;object-fit:cover;border-radius:28px;display:block}
.hjm-contacto-hero-illustration{height:100%;display:flex;align-items:center;justify-content:center;position:relative;border-radius:28px;background:radial-gradient(circle at 75% 28%,#fff8d8 0 13%,transparent 14%),linear-gradient(145deg,#e5f7fc,#bde5f4)}
.hjm-contacto-heart{font-family:Georgia,serif;font-size:210px;color:#287fc2;line-height:1;transform:rotate(-13deg);opacity:.72}
.hjm-contacto-spark{position:absolute;right:18%;top:18%;font-size:70px;color:#efc833}
.hjm-contacto-hero-sticker{position:absolute;bottom:-18px;left:-24px;background:#fff;display:flex;align-items:center;gap:12px;border-radius:15px;padding:13px 20px;box-shadow:0 15px 35px rgba(23,77,124,.14);font-size:13px;color:#174d7c}
.hjm-contacto-hero-sticker span{color:#ed1c2e;font-size:29px}
.hjm-contacto-section-head{text-align:center;padding:60px 24px 30px;position:relative}
.hjm-contacto-section-head:before{content:'';position:absolute;inset:0 calc(50% - 50vw);z-index:-1;background:#f1f9fc}
.hjm-contacto-section-head>span,.hjm-contacto-card-kicker{font:900 12px 'Nunito',Arial,sans-serif;color:#008eb2;letter-spacing:.13em}
.hjm-contacto-section-head h2{font-size:clamp(29px,3vw,39px);margin:13px 0 10px}
.hjm-contacto-section-head p{font-size:16px;color:#56758c;margin:0}
.hjm-contacto-grid{padding:10px 24px 55px;grid-template-columns:minmax(0,1.5fr) minmax(290px,.95fr);gap:24px;position:relative}
.hjm-contacto-grid:before{content:'';position:absolute;inset:-12px calc(50% - 50vw) -45px;z-index:-1;background:#f1f9fc}
.hjm-contacto-card{border-radius:22px;padding:clamp(24px,3vw,39px);box-shadow:0 16px 38px rgba(23,77,124,.07)}
.hjm-contacto-card-top{display:flex;align-items:center;gap:15px;margin-bottom:27px}
.hjm-contacto-card-icon{display:grid;place-items:center;flex:0 0 51px;height:51px;border-radius:15px;background:#e6f6fb;color:#087da5;font-size:25px}
.hjm-contacto-card-top h2{font-size:23px;margin:6px 0 0}
.hjm-contacto-info{background:#fff;border-top:5px solid #f2d04a}
.hjm-contacto-info>div:not(.hjm-contacto-card-top){padding-left:17px;border-left:3px solid #d8edf5;border-bottom:0;margin-bottom:24px}
.hjm-contacto-form button{background:#ed1c2e;box-shadow:0 9px 19px rgba(237,28,46,.15)}
.hjm-contacto-form button:hover{background:#c8192b}
@media(max-width:900px){.hjm-contacto-hero{gap:26px}.hjm-contacto-hero-media{height:300px}.hjm-contacto-grid{grid-template-columns:1fr}}
@media(max-width:650px){.hjm-contacto-hero{grid-template-columns:1fr;padding:24px 20px 54px}.hjm-contacto-hero-media{height:260px;margin:5px 16px 0 12px}.hjm-contacto-hero h1{font-size:42px}.hjm-contacto-breadcrumb{padding:18px 20px}.hjm-contacto-section-head{padding-top:48px}.hjm-contacto-grid{padding:12px 18px 38px}.hjm-contacto-hero-sticker{left:-10px}.hjm-contacto-heart{font-size:150px}}

/* HJM Contacto v1.3: hero celeste y formulario visible aun sin destinatario. */
.hjm-contacto{background:#fff}
.hjm-contacto-hero-band{background:linear-gradient(115deg,#e7f7fc 0%,#edf9fd 55%,#dff3fa 100%);position:relative;overflow:hidden}
.hjm-contacto-hero-band:before{content:"";position:absolute;width:360px;height:360px;border-radius:50%;right:-140px;top:-140px;background:rgba(255,255,255,.28);pointer-events:none}
.hjm-contacto-hero{position:relative;z-index:1;padding-top:58px;padding-bottom:82px}
.hjm-contacto-pill{background:#fff;color:#008eae}
.hjm-contacto-hero-copy>p{color:#355f79}
.hjm-contacto-section-head{padding-top:65px}
.hjm-contacto-form button:disabled{background:#9fb7c3;box-shadow:none;cursor:not-allowed}
.hjm-contacto-info-intro{font-size:15px;color:#5d7789;margin:0 0 25px!important;line-height:1.7}
.hjm-contacto-info .hjm-contacto-detail{display:flex;align-items:flex-start;gap:13px;padding:0 0 20px!important;margin:0 0 20px!important;border-left:0!important;border-bottom:1px solid #e8eff3!important}
.hjm-contacto-detail-icon{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border-radius:12px;background:#e7f6fb;color:#087da5;font-size:21px}
.hjm-contacto-detail h3{margin:0 0 5px;font-size:14px;color:#174d7c}
.hjm-contacto-detail p{font-size:14px;color:#4c7087;line-height:1.6;margin:0}
.hjm-contacto-detail a{overflow-wrap:anywhere}
.hjm-contacto-pending{color:#8297a5!important;font-style:italic}
.hjm-contacto-info-action,.hjm-contacto-map-action{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;border-radius:100px;padding:12px 18px;font-weight:800;font-size:14px;margin:3px 8px 8px 0}
.hjm-contacto-info-action{background:#e6f8ef;color:#126e4b!important}
.hjm-contacto-map-action{background:#e7f6fb;color:#087da5!important}
@media(max-width:650px){.hjm-contacto-hero{padding-top:35px;padding-bottom:60px}}

/* Contacto: composición compacta y mapa adaptable. */
.hjm-contacto-hero{min-height:360px;padding-top:40px;padding-bottom:48px;gap:48px}
.hjm-contacto-hero h1{font-size:clamp(36px,4vw,52px);line-height:1.16;margin:18px 0}
.hjm-contacto-hero h1 em{display:block}
.hjm-contacto-hero-media{height:285px}
.hjm-contacto-hero-copy>p{font-size:17px;line-height:1.7}
.hjm-contacto-hero-action,.hjm-contacto-form button{background:#287fc2;box-shadow:0 10px 25px rgba(40,127,194,.16)}
.hjm-contacto-hero-action:hover,.hjm-contacto-form button:hover{background:#174d7c}
.hjm-contacto-section-head{padding-top:42px;padding-bottom:25px}
.hjm-contacto-section-head h2{font-size:32px}
.hjm-contacto-grid{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px;scroll-margin-top:175px}
.hjm-contacto-card{padding:30px;border-radius:24px}
.hjm-contacto-card-top h2{font-size:24px;line-height:1.3}
.hjm-contacto-subject{grid-template-columns:1fr}
.hjm-contacto-form{gap:17px}
.hjm-contacto-form textarea{min-height:120px}
.hjm-contacto-info .hjm-contacto-map{border:0!important;padding:0!important;margin:22px 0 16px!important;border-radius:16px;overflow:hidden;background:#e7f6fb}
.hjm-contacto-map iframe{display:block;width:100%;height:260px;border:0}
.hjm-contacto-info .hjm-contacto-card-top{border:0;padding:0}
.hjm-contacto-map-action{width:100%;margin:0}
@media(max-width:850px){.hjm-contacto-grid{grid-template-columns:1fr}.hjm-contacto-hero{gap:28px}.hjm-contacto-hero-media{height:260px}}
@media(max-width:650px){.hjm-contacto-hero{padding:30px 20px 42px;grid-template-columns:1fr}.hjm-contacto-hero h1{font-size:38px}.hjm-contacto-hero-media{height:230px}.hjm-contacto-section-head h2{font-size:28px}.hjm-contacto-card{padding:22px}.hjm-contacto-card-top h2{font-size:22px}.hjm-contacto-fields{grid-template-columns:1fr}.hjm-contacto-map iframe{height:250px}}
