/*
Theme Name: Estudio de Título · Puerto Rico
Version: 2.0.9
Description: Página pública independiente. Identidad puertorriqueña y consultas públicas con HubPR.
Requires PHP: 8.0
Text Domain: edt-publico-pr
*/
:root{--pr-ink:#15364b;--pr-muted:#4d6878;--pr-navy:#102e43;--pr-green:#145f58;--pr-gold:#dfbf78;--pr-line:#cedbdd;--pr-cream:#f6f4ee;--pr-paper:#fff;--pr-soft:#edf3f1}
*{box-sizing:border-box}html{scroll-behavior:smooth}.pr-public{margin:0;background:#f9faf8;color:var(--pr-ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}.pr-public img{max-width:100%;height:auto}.pr-public a{color:var(--pr-green);text-underline-offset:4px}.pr-public :is(a,button,summary,input):focus-visible{outline:3px solid #9e711e;outline-offset:4px}.pr-wrap{width:min(1200px,calc(100% - 64px));margin-inline:auto}.pr-public :is(h1,h2,h3,p,figure){margin:0}.pr-public :is(h1,h2,h3){color:var(--pr-ink);letter-spacing:-.035em}.pr-public h2{font-size:clamp(30px,3.5vw,42px);line-height:1.15;font-weight:620}.pr-public p{color:var(--pr-muted)}.pr-public svg{display:block;width:22px;height:22px;flex:0 0 auto}.pr-skip{position:fixed;top:-100px;left:20px;z-index:10001;background:#fff;color:#15364b;padding:12px}.pr-skip:focus{top:12px}.pr-topline{background:#e8efec;border-bottom:1px solid #d3dfd9;font-size:11px;color:#315449}.pr-topline>.pr-wrap{display:flex;align-items:center;justify-content:space-between;min-height:34px}.pr-topline span{display:flex;align-items:center;gap:8px;font-weight:600;letter-spacing:.035em}.pr-topline a{color:#315449;text-decoration:none}.pr-flag{display:inline-flex;align-items:center;justify-content:flex-start;font-style:normal;font-size:11px;line-height:1;color:#fff;padding-left:2px;width:24px;height:15px;background:linear-gradient(145deg,#005295 0 45%,transparent 45%),repeating-linear-gradient(to bottom,#c73f40 0 3px,#fff 3px 6px);border:1px solid #ffffff80;border-radius:2px}
.pr-header{position:sticky;top:0;z-index:1000;background:#fbfcf9;border-bottom:1px solid var(--pr-line)}.admin-bar .pr-header{top:32px}.pr-header-row{display:flex;align-items:center;gap:28px;min-height:102px}.pr-logo{flex:0 0 204px;display:block}.pr-logo img{display:block;width:204px;height:76px;object-fit:contain}.pr-nav{display:flex;align-items:center;gap:24px;margin:auto;font-size:13px;font-weight:600}.pr-nav>a,.pr-nav summary{color:var(--pr-ink);text-decoration:none;white-space:nowrap;padding:16px 0;cursor:pointer}.pr-nav-services{position:relative}.pr-nav-services>summary{list-style:none;display:flex;gap:8px;align-items:center}.pr-nav-services>summary:after{content:'⌄';color:#557063}.pr-nav-services[open]>summary{color:var(--pr-green)}.pr-nav-services>div{position:absolute;top:calc(100% + 4px);left:-20px;width:250px;padding:8px;background:#fff;border:1px solid var(--pr-line);border-radius:12px;box-shadow:0 15px 35px #102e4320;display:grid;gap:3px}.pr-nav-services a{padding:11px 13px;color:var(--pr-ink);border-radius:7px;text-decoration:none}.pr-nav-services a:hover{background:var(--pr-soft)}.pr-header-actions{display:flex;gap:16px;align-items:center}.pr-account{font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap}.pr-public .pr-button{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:48px;padding:13px 20px;border-radius:8px;font:650 13px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none;border:1px solid transparent;cursor:pointer;white-space:normal}.pr-public .pr-button svg{width:18px;height:18px}.pr-public .pr-button-primary{background:var(--pr-green);color:#fff;-webkit-text-fill-color:#fff;border-color:var(--pr-green)}.pr-public .pr-button-gold{background:var(--pr-gold);color:#17354a;-webkit-text-fill-color:#17354a;border-color:#e7cb95}.pr-public .pr-button-outline{background:#fff;color:var(--pr-ink);border-color:#95adb7}.pr-public .pr-button:hover{filter:brightness(.96)}.pr-mobile-toggle{display:none;place-items:center;width:44px;height:44px;border:1px solid #9bb0b5;background:var(--pr-navy);color:#fff;border-radius:8px;cursor:pointer}.pr-mobile-nav{padding-top:12px;padding-bottom:20px}.pr-mobile-nav[hidden]{display:none!important}.pr-mobile-nav a{display:block;padding:12px 6px;color:var(--pr-ink);border-bottom:1px solid var(--pr-line);font-size:14px;font-weight:600;text-decoration:none}
.pr-hero{background:var(--pr-cream);padding:60px 0 80px;border-bottom:1px solid #e2e3d9}.pr-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:64px}.pr-eyebrow{display:block;color:#4b6b57;font-size:10px;font-weight:750;letter-spacing:.15em;text-transform:uppercase;line-height:1.7}.pr-public .pr-hero h1{font-family:Georgia,"Times New Roman",serif;font-size:clamp(44px,5vw,66px);font-weight:500;line-height:1.08;letter-spacing:-.045em;margin:22px 0}.pr-hero h1 em{color:var(--pr-green);font-weight:500}.pr-hero-copy>p{font-size:16px;line-height:1.8;max-width:48ch}.pr-actions{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:26px}.pr-hero-link{font-size:13px;font-weight:650}.pr-hero-assurance{display:flex;align-items:center;gap:12px;margin-top:30px;font-size:11px;color:#526f68;line-height:1.7}.pr-hero-assurance svg{width:28px;height:28px;color:var(--pr-green)}.pr-hero-visual{position:relative;padding-bottom:38px}.pr-hero-photo{display:block;width:100%;height:366px!important;object-fit:cover;object-position:50% 50%;border-radius:18px;box-shadow:0 10px 30px #122f4312}.pr-photo-note{position:absolute;left:-24px;bottom:52px;min-width:255px;padding:20px 24px;background:var(--pr-navy);color:#fff;border-radius:10px;border-top:3px solid var(--pr-gold);box-shadow:0 8px 20px #08232f1c}.pr-photo-note>span{display:block;color:#e0c688;font-size:9px;letter-spacing:.13em;text-transform:uppercase;margin-bottom:7px}.pr-photo-note strong{font-size:16px;line-height:1.5;font-weight:600;letter-spacing:-.015em}.pr-visual-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 3px;color:#607468;font-size:9px;letter-spacing:.04em}.pr-visual-caption>span:first-child{font-weight:750;letter-spacing:.13em}
.pr-tools{position:relative;display:grid;grid-template-columns:.75fr 1.15fr 1.15fr;gap:28px;align-items:center;margin-top:-30px;padding:28px 32px;border:1px solid #ccdad8;border-radius:14px;background:#fff;box-shadow:0 10px 24px #15364b08}.pr-tools-intro h2{font-size:24px;line-height:1.15;margin-top:7px}.pr-tool{display:flex;align-items:center;gap:14px;padding:15px 0;color:var(--pr-ink)!important;text-decoration:none;min-width:0}.pr-tool+.pr-tool{border-left:1px solid var(--pr-line);padding-left:28px}.pr-tool>span:nth-child(2){flex:1;min-width:0}.pr-tool strong{display:block;font-size:15px;font-weight:650;line-height:1.35}.pr-tool small{display:block;color:var(--pr-muted);font-size:11px;line-height:1.6;margin-top:4px}.pr-tool>svg{width:17px;height:17px;color:var(--pr-green)}.pr-icon-box{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:11px;background:#e9f1ed;color:var(--pr-green)}.pr-section{padding:82px 0}.pr-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:50px;margin-bottom:32px}.pr-section-head h2{margin-top:12px}.pr-section-head>p{max-width:41ch;font-size:14px;line-height:1.8}.pr-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.pr-service-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid #cedbdc;background:#fff;border-radius:13px;min-height:278px}.pr-card-number{position:absolute;right:25px;top:30px;font-size:11px;font-weight:650;color:#87672f}.pr-service-card h3{font-size:22px;line-height:1.25;font-weight:600;margin:24px 0 12px}.pr-service-card p{font-size:13px;line-height:1.7;margin-bottom:20px}.pr-service-card>a{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;font-size:12px;font-weight:650;text-decoration:none;margin-top:auto;padding-top:12px;border-top:1px solid #e0e8e5}.pr-service-card>a svg{width:17px;height:17px}.pr-local{background:#eaf0ec;border-block:1px solid #d6e1d8}.pr-local-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.pr-local figure>img{display:block;width:100%;height:342px!important;object-fit:cover;object-position:center;border-radius:14px}.pr-local figcaption{color:#526c5e;font-size:11px;padding-top:12px}.pr-local h2{margin:12px 0 24px}.pr-process{display:grid;gap:20px;list-style:none;padding:0;margin:0}.pr-process li{display:flex;gap:18px;align-items:flex-start}.pr-process li>span{display:grid;place-items:center;flex:0 0 34px;height:34px;background:#fff;border:1px solid #c4d4c9;color:#55725e;border-radius:8px;font-size:11px;font-weight:650}.pr-process h3{font-size:16px;font-weight:650;margin:2px 0 5px}.pr-process p{font-size:13px;line-height:1.7}.pr-final{display:flex;align-items:center;justify-content:space-between;gap:48px;margin-block:64px;padding:40px 44px;background:linear-gradient(110deg,#102e43,#174e5c);border-radius:16px;border-bottom:3px solid #c2a466}.pr-final .pr-eyebrow{color:#e0c688}.pr-public .pr-final h2{color:#fff;-webkit-text-fill-color:#fff;font-size:36px;line-height:1.15;margin:12px 0 14px}.pr-final p{color:#dce9ee;font-size:13px}.pr-final>a{flex:0 0 auto}
.pr-footer{background:#102d40;color:#dce9ee;border-top:3px solid #bca064}.pr-footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:38px;padding-block:44px 36px}.pr-footer h2{color:#fff;font-size:12px;font-weight:650;letter-spacing:.02em;margin:8px 0 17px}.pr-footer a{display:block;color:#dce9ee;text-decoration:none;font-size:12px;line-height:1.6;margin:9px 0}.pr-footer a:hover{color:#efd49a;text-decoration:underline}.pr-footer-brand>a:first-child{display:block;margin:0 0 16px}.pr-footer-brand img{display:block;width:252px;height:94px;object-fit:contain;object-position:left}.pr-footer-brand p{font-size:12px;color:#c5d7de;line-height:1.8;margin-bottom:16px}.pr-footer-island{display:flex;align-items:center;gap:8px;margin-top:24px;font-size:11px;color:#e4dfc8}.pr-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:32px;padding-block:20px;border-top:1px solid #ffffff26}.pr-footer-bottom p{font-size:10px;color:#bfd2dc;max-width:78ch;line-height:1.8}.pr-footer-bottom a{font-size:10px;white-space:nowrap}.pr-page{padding-block:36px 68px}.pr-page-head{margin-bottom:28px}.pr-public .pr-page-head h1,.pr-page>h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:12px 0}.pr-content{background:#fff;border:1px solid var(--pr-line);border-radius:14px;padding:28px;overflow-wrap:anywhere}.pr-content :is(h2,h3){color:var(--pr-ink)!important;-webkit-text-fill-color:var(--pr-ink)!important}.pr-content p{line-height:1.8}.pr-content iframe{max-width:100%}.pr-content .edt-rich-page{padding:0!important;background:transparent!important}.pr-content .edt-rich-hero{border-radius:12px!important}.pr-content .edt-rich-grid{gap:18px!important}.pr-content :is(.edt-rich-card,.edt-card){border-radius:10px!important;box-shadow:none!important}.pr-card{padding:24px;border:1px solid var(--pr-line);border-radius:12px}.pr-card p{margin:14px 0}.pr-header-actions #edt-hubpr-language{position:static!important;transform:none!important;inset:auto!important;margin:0!important;box-shadow:none!important;min-width:0!important}.pr-header-actions #edt-hubpr-language button{min-width:30px!important;padding:5px!important;font-size:10px!important}.pr-header-actions .edt-hubpr-language-icon{display:none!important}
@media(max-width:1100px){.pr-header-row{gap:18px}.pr-logo{flex-basis:180px}.pr-logo img{width:180px;height:68px}.pr-nav{gap:16px}.pr-header-actions{gap:12px}.pr-header-order{display:none!important}.pr-hero-grid{gap:40px}.pr-tools{gap:20px;padding:24px}.pr-tool+.pr-tool{padding-left:20px}.pr-local-grid{gap:40px}}
@media(max-width:850px){.pr-nav{display:none}.pr-mobile-toggle{display:grid}.pr-header-actions{margin-left:auto}.pr-header-row{min-height:88px}.pr-hero{padding-top:40px}.pr-hero-grid{grid-template-columns:1fr;gap:38px}.pr-hero-copy>p{max-width:65ch}.pr-hero-photo{height:300px!important}.pr-photo-note{left:20px;bottom:54px}.pr-tools{grid-template-columns:1fr 1fr;gap:12px 24px}.pr-tools-intro{grid-column:1/-1}.pr-tools-intro h2{font-size:22px}.pr-tools-intro br{display:none}.pr-tool+.pr-tool{padding-left:20px}.pr-section{padding:58px 0}.pr-service-grid{gap:14px}.pr-service-card{padding:22px}.pr-local-grid{grid-template-columns:1fr;gap:36px}.pr-local figure>img{height:250px!important}.pr-section-head{align-items:flex-start;gap:30px}.pr-final{padding:32px;gap:24px;align-items:flex-start;flex-direction:column}.pr-footer-grid{grid-template-columns:repeat(3,1fr);gap:28px}.pr-footer-brand{grid-column:1/-1}.pr-footer-bottom{align-items:flex-start}.pr-footer-bottom a{margin:0}.pr-header-actions #edt-hubpr-language{display:none!important}}
@media(max-width:600px){.pr-wrap{width:calc(100% - 36px)}.pr-topline{font-size:10px}.pr-header-row{gap:10px;min-height:80px}.pr-logo{flex-basis:156px}.pr-logo img{width:156px;height:58px}.pr-header-actions{gap:12px}.pr-account{font-size:11px}.pr-mobile-toggle{height:40px;width:40px}.pr-hero{padding:32px 0 60px}.pr-public .pr-hero h1{font-size:44px;max-width:15ch;margin:18px 0}.pr-hero-copy>p{font-size:15px}.pr-actions{gap:16px;align-items:flex-start;flex-direction:column}.pr-hero-assurance{margin-top:24px}.pr-hero-photo{height:260px!important}.pr-photo-note{left:12px;bottom:49px;min-width:220px;padding:16px 18px}.pr-photo-note strong{font-size:14px}.pr-visual-caption{font-size:8px;gap:8px}.pr-tools{grid-template-columns:1fr;padding:22px;margin-top:-26px}.pr-tools-intro{padding-bottom:7px}.pr-tool{padding:15px 0}.pr-tool+.pr-tool{border-left:0;border-top:1px solid var(--pr-line);padding-left:0}.pr-service-grid{grid-template-columns:1fr}.pr-service-card{min-height:240px}.pr-service-card h3{margin-top:20px}.pr-section-head{display:block;margin-bottom:24px}.pr-section-head>p{margin-top:18px;font-size:13px}.pr-section{padding:48px 0}.pr-local figure>img{height:230px!important}.pr-final{margin-block:40px;padding:26px}.pr-public .pr-final h2{font-size:30px}.pr-footer-grid{grid-template-columns:1fr 1fr;gap:25px 20px;padding-top:32px}.pr-footer-brand{grid-column:1/-1}.pr-footer-grid>div:last-child{grid-column:1/-1}.pr-footer-bottom{flex-direction:column;gap:14px}.pr-footer-brand img{width:236px;height:88px}.pr-page{padding-top:24px}.pr-content{padding:20px}.admin-bar .pr-header{top:46px}}
@media(max-width:350px){.pr-header-actions{gap:7px}.pr-logo{flex-basis:134px}.pr-logo img{width:134px;height:50px}.pr-account{font-size:10px}.pr-public .pr-hero h1{font-size:39px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
@media print{.pr-topline,.pr-header,.pr-footer{display:none}.pr-public{background:#fff}}
.pr-query{padding-block:40px 54px}.pr-query-heading{max-width:760px;margin:0 auto 24px}.pr-query-heading h1{font-size:clamp(28px,4vw,40px);line-height:1.18;margin:12px 0}.pr-query-heading p{font-size:14px}.pr-query iframe{display:block;width:min(840px,100%);height:900px;margin:0 auto;border:1px solid #c3d6d9;border-radius:14px;background:#f3f7f8}.pr-query-help{text-align:center;margin-top:20px!important;font-size:12px}

.pr-header #edt-hubpr-language{position:static!important;inset:auto!important;transform:none!important;box-shadow:none!important;margin:12px 0!important}.pr-mobile-nav #edt-hubpr-language{display:flex!important;max-width:150px!important}

/* The frame uses an outline so the reported content height matches its viewport. */
#edt-public-query{border:0!important;box-shadow:0 0 0 1px #c5d4d6;display:block;width:100%;min-height:360px;border-radius:12px}

/* Release 5.0.4: original logo, consistent navigation and clear focus. */
.pr-public .pr-logo img{width:224px;height:84px;object-fit:contain}.pr-logo{flex-basis:224px}
.pr-public .pr-nav>a,.pr-public .pr-nav summary,.pr-public .pr-account{color:#15364b;-webkit-text-fill-color:#15364b}
.pr-public .pr-footer-brand img{width:252px;height:auto}.pr-header-row{min-height:106px}
.pr-public .pr-nav>a:hover{color:#145f58;text-decoration:underline;text-underline-offset:7px}
@media(max-width:1100px){.pr-public .pr-logo img{width:194px;height:74px}.pr-logo{flex-basis:194px}}
@media(max-width:600px){.pr-wrap{width:calc(100% - 32px)}.pr-public .pr-logo img{width:166px;height:64px}.pr-logo{flex-basis:166px}.pr-header-row{min-height:82px;gap:12px}.pr-header-actions{gap:12px}.pr-hero{padding:32px 0 58px}.pr-public .pr-hero h1{font-size:43px}.pr-footer-grid{grid-template-columns:1fr 1fr}.pr-footer-brand{grid-column:1/-1}.pr-account{font-size:11px}.pr-photo-note{min-width:0;max-width:calc(100% - 40px)}}
@media(max-width:360px){.pr-public .pr-logo img{width:146px;height:56px}.pr-logo{flex-basis:146px}.pr-header-actions{gap:8px}.pr-public .pr-hero h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.pr-public *{animation:none!important;transition:none!important}}

.pr-calculator{border-top:1px solid #d7e1dc;background:#f2f1e9}.pr-calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.pr-calc-grid h2{margin:14px 0 22px}.pr-calc-grid>div>p{font-size:15px;line-height:1.8;margin-bottom:22px;max-width:45ch}.pr-calc-card{padding:30px;background:#fff;border:1px solid #c6d6d1;border-top:3px solid #aa8744;border-radius:14px;box-shadow:0 12px 32px #15364b08}.pr-calc-card>label,.pr-calc-card legend{color:#15364b;font-size:13px;font-weight:650}.pr-calc-card select{display:block;width:100%;padding:13px 12px;border:1px solid #879eaa;border-radius:7px;color:#15364b;background:#fff;font-size:16px;margin-top:8px}.pr-calc-card fieldset{padding:16px 0;border:0;margin:20px 0 0;display:flex;gap:24px}.pr-calc-card fieldset label{font-size:14px;display:flex;gap:8px;align-items:center}.pr-calc-card input{accent-color:#145f58;width:18px;height:18px}.pr-calc-card label:has(input:disabled){color:#526b79;opacity:.8}.pr-calc-summary{border-block:1px solid #d8e2dc;padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:20px;color:#15364b}.pr-calc-summary strong{font:500 34px Georgia,serif}.pr-calc-card p{font-size:12px;margin:16px 0;color:#4d6878}.pr-calc-card .pr-button{width:100%}.pr-calc-card>small{display:block;font-size:11px;line-height:1.6;color:#4d6878;margin-top:14px}@media(max-width:850px){.pr-calc-grid{grid-template-columns:1fr;gap:28px}}@media(max-width:600px){.pr-calc-card{padding:22px}}

.pr-topline a{white-space:nowrap;flex:0 0 auto}.pr-topline>.pr-wrap{gap:14px}.pr-topline span{min-width:0}

/* 504: explicit readable menu colors, including inherited text-fill. */
html body.pr-public .pr-header :is(.pr-nav>a,.pr-nav summary,.pr-mobile-nav>a,.pr-mobile-nav summary){color:#15364b!important;-webkit-text-fill-color:#15364b!important;opacity:1!important;font-weight:650}
html body.pr-public .pr-header :is(.pr-nav-services>div,.pr-mobile-nav details>div){background:#fff!important;color:#15364b!important}
html body.pr-public .pr-header :is(.pr-nav-services>div a,.pr-mobile-nav details a){color:#15364b!important;-webkit-text-fill-color:#15364b!important;opacity:1!important}
html body.pr-public .pr-header :is(a,summary,button):focus-visible{outline:3px solid #966a1c;outline-offset:3px}
html body.pr-public .pr-nav{gap:16px}
@media(min-width:851px) and (max-width:1100px){html body.pr-public .pr-nav{gap:10px}html body.pr-public .pr-nav :is(a,summary){font-size:12px}html body.pr-public .pr-header-order{display:none}}
