/*
Theme Name: JC Enterprise Terminal
Version: 4.4.1
Requires at least: 6.2
Requires PHP: 7.4
*/
*{box-sizing:border-box}
html{background:#090c12;scroll-behavior:smooth;color-scheme:dark}
body{margin:0;background:#090c12;color:#f5f7fc;font:1rem/1.5 Inter,system-ui,sans-serif}
a{color:inherit}
a:focus-visible,button:focus-visible{outline:3px solid #98bcff;outline-offset:4px}
.jc-skip:not(:focus){position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}
.jc-header,.jc-footer{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem max(5%,calc((100% - 1320px)/2));background:#090c12}
.jc-brand{text-decoration:none;font-weight:850;letter-spacing:.18em;font-size:clamp(.8rem,2.3vw,1rem)}
.jc-brand span{color:#a0b5d4}
.jc-terminal-button{min-height:48px;border:1px solid #536882;background:#16202f;color:#fff;border-radius:8px;padding:.55rem .85rem;font:inherit;cursor:pointer}
.jc-welcome{isolation:isolate;position:relative;display:grid;place-items:center;overflow:hidden;text-align:center;min-height:72vh;min-height:72svh;background:#101b2a}
.jc-panorama,.jc-welcome::after{position:absolute;inset:0;width:100%;height:100%;z-index:-1}
.jc-panorama{object-fit:cover;object-position:60% center}
.jc-welcome::after{content:"";background:linear-gradient(180deg,#090c12a6,#090c127a 48%,#090c12f5),radial-gradient(ellipse at center,#090c12a6,transparent 78%)}
.jc-welcome-copy{padding:2.8rem 1rem;animation:jc-enter .65s ease-out both}
.jc-welcome-copy>p:first-child{font-weight:750;letter-spacing:.18em;font-size:.8rem}
.jc-welcome h1{font-size:clamp(3.4rem,12vw,9rem);line-height:1;letter-spacing:-.07em;margin:.1em 0}
.jc-intro{font-size:clamp(1rem,2.4vw,1.45rem);margin:1rem 0 1.8rem}
.jc-start{display:inline-flex;align-items:center;gap:1rem;min-height:52px;padding:.7rem 1.4rem;background:#f6f8fc;color:#101725;border-radius:7px;text-decoration:none;font-weight:750}
.jc-directory{width:min(1320px,90%);margin:auto;padding:clamp(2.5rem,7vw,6rem) 0;scroll-margin-top:1rem}
.jc-directory h2{font-size:clamp(2rem,5.3vw,4.7rem);letter-spacing:-.055em;line-height:1.05;margin:0 0 .6em}
.jc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.jc-card{position:relative;display:grid;align-content:start;gap:.55rem;min-height:177px;padding:1.3rem;background:#141e2c;border:1px solid #2d3c51;border-radius:12px;text-decoration:none;transition:transform .2s,background .2s,border-color .2s}
.jc-card:hover,.jc-card:focus-visible{transform:translateY(-3px);background:#20324a;border-color:#86a7d7}
.jc-monogram{width:42px;height:42px;display:grid;place-items:center;background:#283a52;color:#d8e8ff;border-radius:8px;font-weight:750}
.jc-card strong{font-size:clamp(1.15rem,2vw,1.65rem);line-height:1.15}
.jc-card span:not(.jc-monogram){color:#c2cfe1}
.jc-arrow{position:absolute;right:1rem;top:1rem}
.jc-extra{display:flex;flex-wrap:wrap;gap:.3rem 1.5rem;margin-top:1.3rem}
.jc-extra a{min-height:44px;display:inline-flex;gap:.4rem;align-items:center;color:#c3cfe1;text-underline-offset:.25rem}
.jc-extra small{border:1px solid #64758b;border-radius:20px;padding:.05rem .4rem}
.jc-footer{border-top:1px solid #283141;font-size:.85rem;color:#c3cfe1}
.jc-interior article{margin-bottom:2rem}
.jc-touch .jc-welcome{display:none}
.jc-touch .jc-directory{width:min(1550px,94%);padding-block:clamp(1.2rem,3vh,3rem)}
.jc-touch .jc-card{min-height:clamp(130px,23vh,240px);align-content:center;padding-inline:clamp(1.1rem,3vw,2.7rem)}
.jc-touch .jc-card strong{font-size:clamp(1.25rem,2.7vw,2.5rem)}
@keyframes jc-enter{from{opacity:.25;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(max-width:760px){.jc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.jc-grid{grid-template-columns:1fr}.jc-card{min-height:135px}.jc-header{gap:.5rem}.jc-terminal-button{font-size:.83rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.jc-welcome-copy{animation:none}.jc-card{transition:none}.jc-card:hover,.jc-card:focus-visible{transform:none}}
.jcm-page .jc-shell{width:min(1100px,90%);margin-inline:auto}
.jcm-page section,.jcm-page header{padding-block:2.5rem}
.jcm-page h1{font-size:clamp(2rem,6vw,4.5rem);line-height:1.05}
.jcm-page img{max-width:100%;height:auto}

/* Headquarters slider */
.jc-welcome{min-height:clamp(540px,78svh,850px);place-items:center start;text-align:left}
.jc-welcome::after{background:linear-gradient(90deg,#060a12f5 0%,#08111ddd 26%,#0a132759 70%),linear-gradient(0deg,#090c12 0%,transparent 27%)}
.jc-panorama{transition:object-position .85s ease;object-position:50% center}
.jc-welcome[data-scene="1"] .jc-panorama{object-position:70% center}
.jc-welcome[data-scene="2"] .jc-panorama{object-position:92% center}
.jc-slider{width:min(1320px,90%);margin-inline:auto;padding:3rem 0 4.75rem}
.jc-slide:not([hidden]){animation:jc-enter .55s ease-out both}
.jc-slide-area,.jc-directory-heading p,.jc-location{font-size:.75rem;font-weight:750;letter-spacing:.16em;text-transform:uppercase;color:#b7cef2}
.jc-slide h1,.jc-slide h2{font-size:clamp(2.45rem,6.4vw,6.4rem);line-height:1.02;letter-spacing:-.065em;margin:.16em 0;max-width:14ch}
.jc-slide .jc-intro{max-width:37ch;color:#e0e8f4}
.jc-slider-controls:not([hidden]){display:flex;align-items:center;gap:.35rem;margin-top:1.55rem}
.jc-slider-controls button{display:grid;place-items:center;min-width:44px;min-height:44px;border:1px solid #7588a1;border-radius:6px;background:#0c1522d9;color:#fff;font:inherit;cursor:pointer}
.jc-slider-controls button[data-jc-select] span{width:7px;height:7px;border-radius:100%;background:#9faec3}
.jc-slider-controls button[aria-pressed="true"]{background:#cde0ff;color:#0c1522}
.jc-slider-controls button[aria-pressed="true"] span{background:#0c1522}
.jc-location{position:absolute;bottom:1.25rem;right:5%;font-size:.66rem}
.jc-directory-heading{display:flex;justify-content:space-between;align-items:end;gap:.55rem 1rem;flex-wrap:wrap;margin-bottom:1.65rem}
.jc-directory-heading h2{margin:0}
.jc-directory-heading p{margin:0 0 .5rem}
.jc-directory-heading>span{color:#b9c9e1;font-size:.85rem}
.jc-direct-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}
.jc-direct-actions a{display:inline-flex;align-items:center;gap:.6rem;min-height:44px;border:1px solid #3f5470;border-radius:7px;padding:.5rem .85rem;text-decoration:none;color:#dce9ff}
.jc-direct-actions a:hover{background:#1c2b3d}
@media(max-width:520px){.jc-slider{padding:2.2rem 0 4rem}.jc-welcome::after{background:linear-gradient(90deg,#060a12ee,#08111d88),linear-gradient(0deg,#090c12,transparent 45%)}}
@media(prefers-reduced-motion:reduce){.jc-slide:not([hidden]){animation:none}.jc-panorama{transition:none}}
.jc-slider-controls button[hidden]{display:none}

/* Headquarters masthead and service directory */
.jc-header{min-height:78px;border-bottom:1px solid #ffffff1a}
.jc-brand{display:inline-flex;align-items:center;gap:.75rem;letter-spacing:normal}
.jc-brand .jc-brand-mark{display:grid;place-items:center;width:42px;height:42px;color:#e6edfa;border:1px solid #536c8a;border-radius:9px;font-size:.95rem;letter-spacing:.04em}
.jc-brand .jc-brand-name{display:grid;gap:.15rem;color:#f4f7fc;font-size:1rem;line-height:1.12}
.jc-brand-name small{color:#aabbd4;font-size:.69rem;letter-spacing:.12em;text-transform:uppercase}
.jc-header-nav{display:flex;align-items:center;gap:clamp(.9rem,3vw,2.35rem);font-size:.89rem}
.jc-header-nav a{text-decoration:none;color:#d4deed}
.jc-header-nav a:hover{text-decoration:underline;text-underline-offset:.32em}
.jc-terminal-button{background:transparent;border-color:#566681}
.jc-terminal-button:hover{background:#19283d}
.jc-slide{min-height:clamp(295px,29vw,410px);align-content:center}
.jc-slide h1,.jc-slide h2{font-size:clamp(2.4rem,6vw,6rem);max-width:16ch}
.jc-slide-area{color:#c2d7fb}
.jc-start{border:1px solid transparent;transition:background .2s}
.jc-start:hover{background:#d7e6ff}
.jc-directory-heading{padding-bottom:1rem;border-bottom:1px solid #ffffff20}
.jc-card{background:linear-gradient(145deg,#1a2637,#111a28);border-color:#35445a}
.jc-card strong{font-weight:700}
.jc-card span:not(.jc-monogram){font-size:.92rem}
.jc-contact-block{display:grid;grid-template-columns:minmax(190px,1fr) 2fr;align-items:center;gap:1rem;margin-top:1.4rem;padding:clamp(1rem,3vw,2rem);border:1px solid #35445a;border-radius:12px;background:#101925}
.jc-contact-block h3,.jc-contact-block p{margin:0}
.jc-contact-block p{color:#c4d1e5;font-size:.9rem}
.jc-contact-block .jc-direct-actions{margin:0}
.jc-extra{padding-top:.75rem}
@media(max-width:720px){
 .jc-header{flex-wrap:wrap;gap:.7rem;padding-block:.72rem}
 .jc-header-nav{order:3;width:100%;gap:1.3rem;border-top:1px solid #ffffff20;padding-top:.65rem}
 .jc-contact-block{grid-template-columns:1fr}
}
@media(max-width:390px){
 .jc-brand{gap:.45rem}
 .jc-brand .jc-brand-mark{width:34px;height:34px}
 .jc-brand .jc-brand-name{font-size:.85rem}
}
@media(prefers-reduced-motion:reduce){.jc-start{transition:none}}

.jc-intake {
	width:min(1320px,90%);
	margin-inline:auto;
	padding:clamp(2rem,5vw,4.5rem) 0;
	scroll-margin-top:1rem;
}
.jc-intake h2 {font-size:clamp(1.6rem,4vw,3rem);letter-spacing:-.045em;margin:0 0 1rem}
.jc-intake-grid {
	display:grid;
	grid-template-columns:repeat(5,minmax(0,1fr));
	gap:1px;
	border:1px solid #314256;
	background:#314256;
	border-radius:13px;
	overflow:hidden;
}
.jc-intake-grid>a {
	padding:clamp(.9rem,1.7vw,1.45rem);
	display:flex;
	flex-direction:column;
	gap:.4rem;
	text-decoration:none;
	background:#121d2b;
	transition:background .18s ease;
}
.jc-intake-grid>a:is(:hover,:focus-visible){background:#24374f}
.jc-intake-grid>a:focus-visible{outline-offset:-4px}
.jc-intake-title{display:flex;justify-content:space-between;gap:.3rem;font-weight:750}
.jc-intake-title>span{color:#b6cff7}
.jc-intake-description{color:#c4d0e2;font-size:.87rem}
.jc-directory-heading p{
	margin:.55rem 0 0;
	font-size:.95rem;
	font-weight:400;
	letter-spacing:normal;
	text-transform:none;
}
.jc-directory{padding-top:clamp(1.2rem,3vw,2.75rem)}
.jc-touch .jc-intake,.jc-touch .jc-header-nav a[href="#solicitudes"]{display:none}
@media(max-width:950px){.jc-intake-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){.jc-intake-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.jc-intake-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.jc-intake-grid>a{transition:none}}

.jc-header-tools{display:flex;flex-wrap:wrap;gap:.55rem}
.jc-region-button{min-height:48px;border:1px solid #536882;background:#172538;color:#f5f7fc;border-radius:8px;padding:.5rem .8rem;font:inherit;cursor:pointer}
.jc-region-dialog{width:min(790px,94vw);max-height:94vh;padding:0;border:1px solid #4c607d;border-radius:18px;color:#f5f7fc;background:#101926;box-shadow:0 20px 90px #000a}
.jc-region-dialog[open]{display:grid;grid-template-columns:.92fr 1fr;animation:jc-enter .35s ease-out}
.jc-region-dialog::backdrop{background:#040810c9}
.jc-region-visual{min-height:360px;display:flex;flex-direction:column;justify-content:flex-end;gap:.3rem;padding:1.4rem;background:linear-gradient(0deg,#090e19 0%,#11182520 70%),url(san-juan.webp) 75% center/cover}
.jc-region-visual strong{font-size:clamp(1.3rem,4vw,2.4rem);letter-spacing:-.04em}
.jc-region-visual span{font-size:.82rem;color:#d3ddef}
.jc-region-form{padding:clamp(1.15rem,4vw,2.4rem);display:grid;gap:.55rem;align-content:center;min-width:0}
.jc-region-form h2{margin:0 0 .65rem;font-size:clamp(1.45rem,3.8vw,2rem);line-height:1.1}
.jc-region-form h2 span{color:#afc5e9}
.jc-region-form label{font-size:.88rem;color:#d4e1f3}
.jc-region-form select{min-height:48px;width:100%;padding:.5rem;color:#fff;background:#18273a;border:1px solid #5d7596;border-radius:7px;font:inherit;margin-bottom:.45rem}
.jc-region-form button{justify-content:center;cursor:pointer;margin-top:.4rem;font:inherit;font-weight:750}
@media(max-width:580px){.jc-region-dialog[open]{grid-template-columns:1fr}.jc-region-visual{min-height:125px;padding:.75rem 1.1rem}.jc-header-tools{width:100%}.jc-region-button{font-size:.84rem}}
@media(prefers-reduced-motion:reduce){.jc-region-dialog[open]{animation:none}}

/* Large-screen Puerto Rico terminal */
body.jc-touch{
	min-height:100dvh;
	background:linear-gradient(180deg,#070d18bc,#090f19eb 85%),url(san-juan.webp) center 55%/cover fixed;
}
.jc-touch .jc-header,.jc-touch .jc-footer{background:#0a1220bc}
.jc-touch .jc-directory-heading{padding-bottom:1rem;margin-bottom:1rem}
.jc-touch .jc-card{
	min-height:clamp(126px,21dvh,224px);
	background:linear-gradient(145deg,#253a54f5,#101c2de8);
	border-color:#6a88ad;
	box-shadow:0 12px 30px #050a1366;
	padding-right:2.65rem;
}
.jc-touch .jc-card:is(:hover,:focus-visible){background:#2c4667;border-color:#bdd7ff}
.jc-touch .jc-monogram{background:#c4dbff;color:#102039}
.jc-touch .jc-extra a{background:#111d2fe8;padding-inline:.75rem;border:1px solid #526982;border-radius:6px;text-decoration:none}
.jc-touch .jc-extra{gap:.5rem}
@media(max-width:600px){body.jc-touch{background-attachment:scroll}}
