/* Contacto 2026: shared Blog hero and contact form. */
.afzh-contact-page { background: #fff; color: var(--navy); }
.afzc-hero { --cab: var(--header); --gut: clamp(24px, 7.4vw, 118px); --navy: #2D354C; }
.afzh-contact-page .afzh-crumbs { --pad: clamp(24px, 7.4vw, 118px); }
.afzc-main { background: #f5fbff; padding: 88px 40px 116px; }
.afzc-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .85fr); gap: clamp(42px, 6vw, 110px); max-width: 1360px; margin: auto; align-items: start; }
.afzc-card { padding: clamp(28px, 4vw, 58px); border: 1px solid var(--steel); border-top: 5px solid var(--cta); border-radius: 5px; background: #fff; box-shadow: 0 22px 55px rgba(39,46,66,.08); }
.afzc-card__head { margin-bottom: 36px; }
.afzc-card__eyebrow, .afzc-aside__eyebrow { color: #52788d; font-size: 11px; font-weight: 700; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.afzc-card h2, .afzc-aside h2 { margin-top: 8px; color: var(--navy); font-size: clamp(28px, 3vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.15; }
.afzc-card__head > p:last-child { margin-top: 9px; color: var(--navy-mid); font-size: 15px; line-height: 1.5; }
.afzc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 20px; }
.afzc-field--wide { grid-column: 1 / -1; }
.afzc-field label { display: block; margin-bottom: 9px; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.afzc-field label span { color: #397da0; }
.afzc-field input, .afzc-field textarea { display: block; width: 100%; min-height: 54px; padding: 14px 17px; border: 1px solid #c6d5de; border-radius: 4px; outline: none; background: #fff; color: var(--navy); font: inherit; font-size: 15px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.afzc-field textarea { min-height: 155px; resize: vertical; }
.afzc-field input::placeholder, .afzc-field textarea::placeholder { color: #7b8998; }
.afzc-field input:focus, .afzc-field textarea:focus { border-color: #3997c7; box-shadow: 0 0 0 3px rgba(104,191,233,.22); }
.afzc-consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 27px; color: var(--navy-mid); font-size: 14px; line-height: 1.5; cursor: pointer; }
.afzc-consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: #2584b4; }
.afzc-consent a, .afzc-aside p a { color: #176f9d; text-decoration: underline; text-underline-offset: 3px; }
.afzh .afzc-submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 58px; margin-top: 30px; padding: 14px 23px 14px 29px; border: 0; border-radius: 4px; background: var(--cta); color: var(--navy); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.afzh .afzc-submit:hover { background: var(--cta-dark); }
.afzc-submit svg { width: 18px; height: 18px; }
.afzc-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.afzc-message { margin-bottom: 25px; padding: 15px 18px; border-left: 4px solid #2584b4; background: #e1f1fb; font-size: 15px; line-height: 1.5; }
.afzc-message--error { border-color: #b93838; background: #fff0f0; }
.afzc-aside { padding-top: 22px; }
.afzc-aside__section { padding-bottom: 43px; border-bottom: 1px solid #b6c7d2; }
.afzc-aside__section + .afzc-aside__section { padding-top: 43px; }
.afzc-aside__section > p:not(.afzc-aside__eyebrow) { max-width: 390px; margin-top: 20px; color: var(--navy-mid); font-size: 17px; line-height: 1.55; }
.afzc-aside__contact { display: block; width: max-content; max-width: 100%; margin-top: 15px; color: var(--navy); font-size: 22px; font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.afzc-aside__contact:hover { color: #176f9d; }
.afzc-jobs-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 28px; padding-bottom: 8px; border-bottom: 1px solid var(--navy); color: var(--navy); font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.afzc-jobs-link:hover { color: #176f9d; border-color: #176f9d; }
.afzc-jobs-link svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .afzc-layout { grid-template-columns: 1fr; gap: 42px; } .afzc-aside { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } .afzc-aside__section + .afzc-aside__section { padding-top: 0; } }
@media (max-width: 640px) { .afzc-main { padding: 40px 20px 70px; } .afzc-card { padding: 28px 20px; } .afzc-fields, .afzc-aside { grid-template-columns: 1fr; } .afzc-aside__section + .afzc-aside__section { padding-top: 32px; } .afzc-aside__contact { font-size: 20px; } }

.afzc-field select{width:100%;min-height:52px;border:1px solid #bcc7d0;border-radius:4px;padding:12px;font:inherit;background:#fff;color:#2d354c;}

.afzc-main{background:#fff;}
.afzc-fields{grid-template-columns:1fr;}
.afzc-card{border:2px solid var(--steel);border-radius:22px;}
.afzc-card__head{text-align:center;}
.afzc-phone{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;}
.afzc-aside h3{font-size:20px;margin-top:24px;color:var(--navy);}
.afzc-map{padding:0 40px 70px;background:#fff;}
.afzc-map iframe{display:block;width:100%;height:380px;border:0;max-width:1360px;margin:auto;}
@media(max-width:780px){.afzc-phone{grid-template-columns:110px minmax(0,1fr);}.afzc-map{padding:0 20px 40px;}}

/* Confirmation after an asynchronous submission. */
.afzc-message[hidden] { display: none; }
.afzh .afzc-submit:disabled { opacity: .65; cursor: wait; }
.afzc-dialog { width: min(480px, calc(100% - 40px)); max-height: calc(100dvh - 40px); margin: auto; padding: 40px 32px 32px; border: 0; border-radius: 22px; background: #fff; color: var(--navy); text-align: center; box-shadow: 0 24px 80px rgba(26,30,43,.25); }
.afzc-dialog::backdrop { background: rgba(26,30,43,.65); backdrop-filter: blur(4px); }
.afzc-dialog__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; background: #e1f1fb; color: #176f9d; }
.afzc-dialog h2 { font-size: clamp(26px, 4vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -.035em; }
.afzc-dialog p { margin-top: 16px; color: var(--navy-mid); font-size: 16px; line-height: 1.55; }
.afzh .afzc-dialog__close { min-height: 48px; margin-top: 28px; padding: 12px 32px; border-radius: 6px; background: var(--cta); color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.afzh .afzc-dialog__close:hover { background: var(--cta-dark); }
.afzh .afzc-dialog__close:focus-visible { outline: 2px solid #176f9d; outline-offset: 4px; }

/* Cambios 27/10 (doc «Cambios Afianza»): the two phone lines above the form, side by side. */
.afzc-main { padding-top: 28px; }
.afzc-phones { display: flex; flex-wrap: wrap; gap: 14px 18px; max-width: 1360px; margin: 0 auto 44px; }
.afzc-phones__item { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 9px 24px; border: 1.5px solid #3c9fd6; border-radius: 999px; color: #2584b4; font-size: 15px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color .2s, color .2s; }
.afzc-phones__item:hover { background: #e1f1fb; color: #176f9d; }
.afzc-phones__item svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
@media (max-width: 640px) { .afzc-main { padding-top: 24px; } .afzc-phones { margin-bottom: 32px; } .afzc-phones__item { padding-inline: 18px; font-size: 14px; } }
