/* Local design revision: approved artwork, rebalanced as separate layout elements. */
.compact-lockup{aspect-ratio:300/74!important;overflow:visible}
.compact-lockup>svg{stroke:none;fill:none;max-width:none}
.compact-lockup use{width:100%;height:100%}
.brand-logo.compact-lockup{width:252px;height:auto}
.site-footer .brand-logo.compact-lockup{width:252px}
.home-practice-section .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-practice-section .service-card{min-width:0;border-radius:12px;padding:28px;box-shadow:0 5px 22px #13263f04}
.home-practice-section .service-card h3{font-size:23px}
.home-practice-section .text-link{min-height:44px;font-size:14px}
.home-guides{background:#eef2f7;border-top:1px solid #e0e6ee;border-bottom:1px solid #e0e6ee}
.guides-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.guides-grid .resource-card{border-top:1px solid var(--line);padding:23px;border-radius:12px;box-shadow:none;min-width:0}
.guides-grid .resource-card:first-child{grid-row:span 3;background:var(--navy);color:white;border-color:var(--navy);padding:35px;justify-content:center}
.guides-grid .resource-card:first-child .tag{color:#b4ccef}
.guides-grid .resource-card:first-child h3{font-size:34px;line-height:1.17;letter-spacing:-.9px}
.guides-grid .resource-card:first-child .guide-excerpt{display:block;font-size:16px;line-height:1.8;color:#d3dfed}
.guides-grid .resource-card:first-child .text-link{color:#e3bd74}
.guides-grid .resource-card:first-child .resource-draft-note{color:#d5e2ef!important}
.guides-grid .resource-card:first-child .resource-actions{margin-top:20px}
.resource-card .resource-draft-note{border:0;background:none;padding:0;color:#705020!important;font-size:11px!important;margin:0 0 11px;font-weight:500}
.guides-grid .resource-card h3{font-size:21px;line-height:1.25;margin-bottom:13px;letter-spacing:-.35px}
.guides-grid .resource-card .tag{font-size:9px;margin-bottom:10px;letter-spacing:.8px}
.guides-grid .guide-excerpt{display:none}
.guides-grid .resource-actions{gap:0;padding-top:0}
.guides-grid .resource-actions .text-link{font-size:13px;line-height:1.4;min-height:44px}
.guides-grid .resource-actions .original-link{font-size:11px;color:var(--muted);font-weight:400}
.guides-grid .resource-card:first-child .original-link{color:#bfd0e5}
.practice-reading{padding-top:48px;padding-bottom:48px;background:#edf2f7}
.practice-reading .section-head{margin-bottom:24px}
.practice-reading .section-head h2{font-size:30px}
.practice-reading .resource-card{border:1px solid #d5dfed;border-left:4px solid #c2994c;padding:28px 32px;max-width:930px;box-shadow:none}
.practice-reading .resource-card h3{font-size:27px;max-width:760px}
.practice-reading .resource-actions{flex-direction:row;flex-wrap:wrap;gap:10px 28px}
.practice-reading .resource-card .tag{margin-bottom:9px}
.practice-reading .resource-card .guide-excerpt{max-width:780px}
.rail-controls{display:none}
.quiet-reviews{background:white;padding:25px 0;border-top:1px solid #e4e9ef}
.quiet-reviews .wrap{display:flex;align-items:center;gap:15px 25px;flex-wrap:wrap}
.quiet-reviews span{font-size:14px;color:var(--muted)}
.quiet-reviews .text-link{font-size:14px;color:var(--navy);min-height:44px}
.quiet-reviews small{font-size:11px;color:#65758a;margin-left:auto}
.pending-translation{font-size:13px;color:#705020!important;font-weight:600;line-height:1.55;margin-top:auto;padding:13px 0 0}
@media(min-width:761px) and (max-width:1050px){
 .home-practice-section .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guides-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guides-grid .resource-card:first-child{grid-column:1/-1;grid-row:auto;display:block;padding:30px}
 .guides-grid .resource-card:first-child h3{max-width:650px}
 .guides-grid .resource-card:first-child .resource-actions{margin-top:0}
 .guides-grid .resource-card:first-child .guide-excerpt{max-width:700px}
}
@media(max-width:760px){
 .wrap{padding-left:20px;padding-right:20px}
 .header-row{min-height:0;padding-top:10px;padding-bottom:10px;gap:5px 12px}
 .header-row .brand-logo.compact-lockup{width:224px}
 .header-row .language-switch a{min-height:44px;padding:8px 12px}
 .language-switch{min-width:0}
 .offline-mobile-nav>summary{min-height:44px;display:flex;align-items:center;padding:9px 12px}
 .offline-mobile-nav>nav{z-index:50;max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain;padding:10px}
 .offline-mobile-nav nav>a,.offline-practice-links a{min-height:44px}
 [data-page="inicio"] .hero{padding-top:30px;padding-bottom:30px}
 [data-page="inicio"] .home-title{font-size:clamp(35px,9vw,44px);line-height:1.08;letter-spacing:-1.5px}
 [data-page="inicio"] .hero-grid{gap:22px}
 [data-page="inicio"] .welcome-art{height:180px;max-width:440px}
 [data-page="inicio"] .hero .lead{line-height:1.7}
 [data-page="inicio"] .hero .actions{gap:10px;margin-top:23px}
 [data-page="inicio"] .hero .button{min-height:52px}
 .section{padding-top:42px;padding-bottom:42px}
 .section-head{margin-bottom:23px}
 .section-head h2{font-size:30px;margin-bottom:13px}
 .home-practice-section .cards,.home-guides .guides-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(84vw,340px);gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding:0 20px;padding:3px 20px 12px;margin-left:-20px;margin-right:-20px;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#a8bacf transparent}
 .card-rail>.service-card{scroll-snap-align:start;scroll-margin-left:20px}
 .home-practice-section .service-card{padding:24px;min-height:300px}
 .home-practice-section .service-card h3{font-size:23px;line-height:1.24}
 .home-practice-section .service-card p{font-size:15px;line-height:1.65}
 .home-practice-section .card-number{margin-bottom:22px}
 .home-guides .guides-grid .resource-card,.home-guides .guides-grid .resource-card:first-child{grid-column:auto;grid-row:auto;padding:25px;min-height:365px;justify-content:flex-start}
 .home-guides .guides-grid .resource-card h3,.home-guides .guides-grid .resource-card:first-child h3{font-size:25px;line-height:1.22;letter-spacing:-.5px}
 .home-guides .guides-grid .resource-card .guide-excerpt{display:block;font-size:14px;line-height:1.7}
 .home-guides .guides-grid .resource-card .resource-actions,.home-guides .guides-grid .resource-card:first-child .resource-actions{margin-top:auto;padding-top:5px}
 .home-guides .guides-grid .resource-card .tag{font-size:10px;line-height:1.4;margin-bottom:13px}
 .home-guides .guides-grid .resource-card .resource-actions .text-link{min-height:44px;font-size:14px}
 .home-guides .guides-grid .resource-card .resource-actions .original-link{font-size:11px}
 .rail-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:5px}
 .rail-controls>span{font-size:12px;color:#536477}
 .rail-controls>div{display:flex;gap:8px}
 .rail-controls button{display:inline-grid;place-items:center;width:44px;height:44px;background:white;border:1px solid #c9d5e4;border-radius:50%;font-size:23px;color:var(--navy)}
 .rail-controls button:disabled{opacity:.35;cursor:default}
 .practice-reading{padding:36px 0}
 .practice-reading .resource-card{padding:24px;max-width:none}
 .practice-reading .resource-card h3{font-size:25px}
 .practice-reading .section-head h2{font-size:27px}
 .practice-reading .resource-actions{flex-direction:column;gap:0}
 .quiet-reviews{padding:20px 0}
 .quiet-reviews .wrap{gap:3px 15px;align-items:flex-start;flex-direction:column}
 .quiet-reviews small{margin-left:0}
 .review-control{line-height:1.5;font-size:10px}
 .review-index .brand-logo.compact-lockup{width:260px;max-width:100%}
 .review-index h1{font-size:33px}
 .resource-preview-banner{font-size:12px}
}
@media(max-width:350px){
 .header-row{gap:5px 7px}
 .header-row .brand-logo.compact-lockup{width:202px}
 .wrap{padding-left:16px;padding-right:16px}
 .home-practice-section .cards,.home-guides .guides-grid{margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;grid-auto-columns:85vw}
 .home-practice-section .service-card,.home-guides .guides-grid .resource-card{padding:21px}
 .header-row .language-switch a{padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-rail{scroll-behavior:auto!important}}
@media print{.card-rail,.home-practice-section .cards,.home-guides .guides-grid{display:grid!important;grid-template-columns:1fr 1fr!important;grid-auto-flow:row!important;overflow:visible!important;margin:0!important;padding:0!important}.guides-grid .resource-card:first-child{grid-row:auto!important;grid-column:1/-1!important}.rail-controls{display:none!important}}
/* Source viewports retain native raster scale; only their layout boxes resize. */
.compact-lockup .wordmark-crop use{width:1200px;height:400px}
.compact-lockup .emblem-crop use{width:1254px;height:1254px}
.compact-lockup>.wordmark-crop{width:228px;height:61.5px;overflow:hidden}
.compact-lockup>.emblem-crop{width:64px;height:64px;overflow:hidden}
.compact-lockup>.emblem-part{width:64px;height:64px}
.compact-lockup>.words-part{width:228px;height:61.5px}
#review-wordmark>use{width:1200px;height:400px}

@media(max-width:760px){.header-row>.nav.open{max-height:calc(100dvh - 160px);overflow-y:auto;overscroll-behavior:contain}.nav a,.practice-menu a{min-height:44px}}

@media(max-width:760px){body:not(:has(.mobile-cta)){padding-bottom:0}}

/* v1.17: requested typography, guide imagery and conversion order. */
.tag,.overline{display:none!important}
.section-head{display:block!important;text-align:left}
.section-head>p{max-width:760px!important;margin:16px 0 0!important;text-align:left}
.section-head h2{margin-bottom:0}
.home-practice-section .card-number{display:none}
.guide-thumbnail{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#f4f5f2;border-radius:7px;margin:0 0 19px}
.resource-card .guide-thumbnail{flex:none}
.guides-grid .resource-card:first-child .guide-thumbnail{background:#fff;border:1px solid #d5dfea}
.practice-reading .resource-grid-family{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.practice-reading .resource-card{border:1px solid var(--line);border-radius:12px;padding:25px;max-width:none;display:flex;flex-direction:column}
.practice-reading .resource-card h3{font-size:25px}
.practice-reading .resource-card .guide-thumbnail{max-height:260px}
.practice-reading .resource-actions{margin-top:auto;flex-direction:column;gap:0}
.conversion-flow{display:grid;grid-template-columns:1.15fr 1fr;gap:28px;align-items:start}
.conversion-flow h2{font-size:31px;line-height:1.18;letter-spacing:-.7px}
.conversion-flow .price-card{padding:28px;margin:0;min-width:0}
.conversion-flow .consultation-profile{gap:14px;align-items:center}
.conversion-flow .consultation-portrait{width:84px;height:84px}
.conversion-flow .price{font-size:46px}
.conversion-flow .price-card .actions{display:flex;flex-direction:column;align-items:stretch}
.conversion-flow .price-card .button{width:100%}
.review-card{border:1px solid var(--line);border-radius:12px;padding:27px;background:#f6f8fa;display:block}
.review-card h2{font-size:22px;letter-spacing:-.35px;margin:0 0 15px}
.review-card p{font-size:14px;line-height:1.65;color:var(--muted)}
.review-card small{display:block;font-size:11px;color:#65758a;margin-top:15px;line-height:1.5}
.review-card .text-link{display:block;min-height:44px;font-size:14px}
.practice-support:not(:has(.price-card)){display:block;max-width:900px}
.deport-simple~#familia .split{grid-template-columns:1fr;max-width:940px}
.prior-order{padding-top:0;padding-bottom:15px}
.prior-order .contact-strip{margin-bottom:0}
.mobile-cta.cilf-practice-cta{display:none}
@media(max-width:1050px){.conversion-flow{grid-template-columns:1fr 1fr}.conversion-flow>div:first-child{grid-column:auto}.conversion-flow .review-card{grid-column:1}}
@media(max-width:760px){
 .conversion-flow{display:flex;flex-direction:column;gap:25px}.conversion-flow>*{width:100%}
 .conversion-flow h2{font-size:29px}.conversion-flow .review-card h2{font-size:22px}
 .conversion-flow .price-card{padding:26px}.conversion-flow .consultation-portrait{width:92px;height:92px}
 .practice-reading .resource-grid-family{grid-template-columns:1fr}.practice-reading .resource-card{padding:24px}
 .guide-thumbnail{margin-bottom:17px}.home-guides .guide-thumbnail{aspect-ratio:3/2}
 .section-head>p{margin-top:14px!important}
 .mobile-cta.cilf-practice-cta{display:flex;position:fixed;z-index:40;bottom:0;left:0;right:0;gap:10px;background:#fff;padding:8px 16px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #1022381a;border-top:1px solid #d5dfeb}
 .mobile-cta.cilf-practice-cta a{min-height:44px;display:flex;align-items:center;justify-content:center;flex:1;border:1px solid #173b67;border-radius:7px;font-size:14px;font-weight:600;color:#173b67;text-decoration:none}
 .mobile-cta.cilf-practice-cta a:last-child{background:#173b67;color:#fff}
 body:has(.cilf-practice-cta){padding-bottom:calc(68px + env(safe-area-inset-bottom))}
 .review-page:not(:target):not(:has(:target)) .cilf-practice-cta{display:none}
 html{scroll-padding-bottom:85px}.cilf-practice-cta a:focus-visible{outline:3px solid #d1a04a;outline-offset:2px}
}
@media print{.mobile-cta.cilf-practice-cta{display:none!important}}
@media(min-width:761px){
 .guides-grid .resource-card:first-child{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);column-gap:32px;align-content:center;justify-content:initial;padding:30px}
 .guides-grid .resource-card:first-child>*{grid-column:2}
 .guides-grid .resource-card:first-child .guide-thumbnail{grid-column:1;grid-row:1/span 4;margin:0;align-self:center;aspect-ratio:1;max-height:280px}
 .guides-grid .resource-card:first-child h3{font-size:30px;margin-bottom:12px}
 .guides-grid .resource-card:first-child .resource-actions{margin-top:5px}
 .guides-grid .resource-card:first-child .guide-excerpt{margin-bottom:12px}
}

/* v1.18: no reviews column; consultation flow uses two balanced columns. */
.conversion-flow .review-card{display:none}

/* Production accessibility: legal navigation sits on the white footer. */
.footer-legal a{color:#173b5c}
.footer-legal a:hover,.footer-legal a:focus-visible{color:#102d47;text-decoration:underline}


/* Family pages: a compact, static attorney introduction. */
.family-attorney{padding-top:28px;padding-bottom:32px}
.family-attorney-card{display:grid;grid-template-columns:184px minmax(0,1fr);column-gap:30px;row-gap:14px;align-content:center;align-items:start;padding:30px;background:#123754;border:1px solid #123754;border-top:3px solid #c7a45f;border-radius:14px;color:#fff}
.family-attorney-card .family-attorney-portrait{grid-column:1;grid-row:1/span 3;width:184px;height:222px;object-fit:cover;object-position:center 36%;border-radius:9px;align-self:center;margin:0;border:1px solid #ffffff24}
.family-attorney-card h2{grid-column:2;font-size:30px;line-height:1.18;letter-spacing:-.6px;color:#fff;margin:0}
.family-attorney-card .family-attorney-summary{grid-column:2;font-size:17px;line-height:1.65;color:#e3eaf1;margin:0;max-width:780px}
.family-attorney-actions{grid-column:2;display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;margin:2px 0 0}
.family-attorney-card .family-attorney-book{background:#e3bd74;color:#102d47;border:1px solid #e3bd74;min-height:46px;padding:12px 20px;font-size:14px;line-height:1.4;text-decoration:none;transform:none;transition:none}
.family-attorney-card .family-attorney-book:hover{background:#f0ce8d;border-color:#f0ce8d;color:#102d47;transform:none}
.family-attorney-card .family-attorney-bio{color:#fff;font-size:14px;font-weight:600;text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.family-attorney-card a:focus-visible{outline:3px solid #f0ce8d;outline-offset:4px}
@media(max-width:760px){
 .family-attorney{padding-top:16px;padding-bottom:24px}
 .family-attorney-card{grid-template-columns:88px minmax(0,1fr);gap:16px;padding:22px 20px;border-radius:12px}
 .family-attorney-card .family-attorney-portrait{grid-column:1;grid-row:1;width:88px;height:98px;border-radius:7px}
 .family-attorney-card h2{grid-column:2;grid-row:1;font-size:25px;letter-spacing:-.4px;align-self:center}
 .family-attorney-card .family-attorney-summary{grid-column:1/-1;font-size:15px;line-height:1.65}
 .family-attorney-actions{grid-column:1/-1;gap:4px 18px;margin:0}
 .family-attorney-card .family-attorney-book{min-height:46px}
 .family-attorney-card .family-attorney-bio{font-size:14px}
}

/* v1.20: static editorial artwork, independent of existing hero and attorney art. */
.cilf-city-art{background:#f5f4ef;border-top:1px solid #e5e5dc;border-bottom:1px solid #e5e5dc}
.cilf-city-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}
.cilf-city-grid figure,.cilf-hero-art{margin:0;min-width:0}
.cilf-city-grid img,.cilf-hero-art img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;border-radius:12px}
.cilf-city-grid img{border:1px solid #dce1dc}
.cilf-city-grid figcaption{padding-top:12px;font-size:13px;line-height:1.5;color:#526275}
.deport-hero.deport-simple.cilf-art-hero .hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:center;max-width:1200px}
.deport-hero.deport-simple.cilf-art-hero h1{font-size:clamp(34px,3.3vw,48px);line-height:1.12}
.cilf-art-hero .cilf-hero-art{width:100%;max-width:480px;justify-self:end}
.cilf-consult-art-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:40px;align-items:center}
.cilf-consult-art .cilf-hero-art{width:100%;max-width:460px;justify-self:end}
.cilf-consult-art h1{font-size:clamp(34px,3.3vw,48px);line-height:1.12}
.cilf-consult-intro-copy{min-width:0}
@media(max-width:1000px){
 .deport-hero.deport-simple.cilf-art-hero .hero-grid,.cilf-consult-art-grid{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:26px}
}
@media(max-width:760px){
 .cilf-city-grid{grid-template-columns:1fr;gap:26px}
 .deport-hero.deport-simple.cilf-art-hero .hero-grid,.cilf-consult-art-grid{grid-template-columns:1fr;gap:28px}
 .cilf-art-hero .cilf-hero-art,.cilf-consult-art .cilf-hero-art{max-width:480px;justify-self:start}
 .deport-hero.deport-simple.cilf-art-hero h1,.cilf-consult-art h1{font-size:clamp(32px,8vw,42px)}
 .cilf-city-grid img,.cilf-hero-art img{border-radius:10px}
}

/* Keep hero actions readable on narrow phones. */
@media(max-width:760px){
 .cilf-consult-art .actions,.cilf-art-hero .actions{flex-direction:column;align-items:stretch}
 .cilf-consult-art .actions .button,.cilf-art-hero .actions .button{flex:none;width:100%;max-width:100%;justify-content:center;white-space:nowrap}
}

/* Approved homepage hero replacement: static Durham illustration, no caption. */
[data-page="inicio"] .welcome-art.cilf-home-durham{height:auto;aspect-ratio:3/2;max-width:490px;border-radius:16px;overflow:hidden;background:#f2f4f3;animation:none}
[data-page="inicio"] .welcome-art.cilf-home-durham:before{display:none}
[data-page="inicio"] .welcome-art.cilf-home-durham img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
@media(max-width:760px){[data-page="inicio"] .welcome-art.cilf-home-durham{max-width:440px;height:auto;border-radius:12px}}

/* Preserve clear consultation actions after removing the decorative hero panel. */
@media(max-width:760px){
 [data-page="consulta"] .intro .actions{display:flex;flex-direction:column;align-items:stretch}
 [data-page="consulta"] .intro .actions .button{flex:none;width:100%;max-width:100%;min-height:52px;justify-content:center;white-space:nowrap}
}

/* v1.24: requested caption, even guide images, practice flow and section spacing. */
.cilf-new-tab-note{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
[data-page="inicio"] figure.welcome-art.cilf-home-durham{display:block;margin:0;aspect-ratio:auto;background:transparent;overflow:visible;border-radius:0}
[data-page="inicio"] .cilf-home-durham img{border-radius:16px}
.cilf-home-durham figcaption{padding-top:12px;font-size:14px;line-height:1.5;text-align:center;color:#526275}
.practice-hero .hero-grid{display:block;max-width:940px}
.practice-hero .hero-grid>div{max-width:none}
@media(min-width:761px){.prior-order{padding-top:40px;padding-bottom:40px}}
@media(max-width:760px){[data-page="inicio"] .cilf-home-durham img{border-radius:12px}.cilf-home-durham figcaption{font-size:13px}}

/* Anchor hidden new-window notes inside the horizontally scrolling cards. */
.resource-card .text-link{position:relative}

/* Compact mobile masthead after scrolling; retain the full accessible logo name. */
@media(max-width:760px){
 .site-header.is-compact .header-row{grid-template-columns:44px minmax(0,1fr) auto;gap:8px;min-height:64px;padding-top:6px;padding-bottom:6px}
 .site-header.is-compact .header-row>.brand{grid-column:1;grid-row:1;width:44px;height:44px}
 .site-header.is-compact .header-row .brand-logo.compact-lockup{width:44px;height:44px;aspect-ratio:1!important}
 .site-header.is-compact .wordmark-crop{display:none}
 .site-header.is-compact .header-row>.language-switch{grid-column:2;grid-row:1;justify-self:end;margin:0}
 .site-header.is-compact .header-row>.menu{grid-column:3;grid-row:1}
 .site-header.is-compact .header-row>.nav.open{max-height:calc(100dvh - 70px)}
}
@media(max-width:350px){
 .site-header.is-compact .header-row{gap:6px}
 .site-header.is-compact .header-row .language-switch a{font-size:10px;padding:8px 6px}
}

/* Fill the requested card illustrations by cropping, never stretching. */
.resource-card .guide-thumbnail[src*="/guia-ice-"],.resource-card .guide-thumbnail[src*="/entrevista-asilo-"]{object-fit:cover}
.resource-card .guide-thumbnail[src*="/entrevista-asilo-"]{object-position:50% 65%}

/* v1.28: text-led homepage and compact, image-free practice cards. */
[data-page="inicio"] .hero-grid{display:block}
[data-page="inicio"] .hero-grid>div{max-width:780px}
[data-page="inicio"] .hero .lead{max-width:700px}
.home-practice-section .cards{gap:16px}
.home-practice-section .service-card{padding:22px 24px 18px;border:1px solid #d7e1ec;border-top:3px solid #b89a61;border-radius:10px;background:#f8fafc;box-shadow:none;min-height:0;transition:background-color .15s ease,border-color .15s ease}
.home-practice-section .service-card:hover,.home-practice-section .service-card:focus-within{background:#fff;border-color:#9eafc3;border-top-color:#9c7538}
.home-practice-section .service-card h3{font-size:21px;line-height:1.25;letter-spacing:-.35px;color:#123754;margin:0 0 12px}
.home-practice-section .service-card p{font-size:14px;line-height:1.65;color:#536477;margin:0 0 12px}
.home-practice-section .service-card .text-link{margin-top:auto;min-height:44px;align-self:flex-start;gap:9px;font-size:14px;color:#204b8c}
.home-practice-section .service-card .text-link svg{width:22px;height:22px;padding:3px;border:1px solid #b9c9dd;border-radius:50%;flex:none}
.home-practice-section .service-card .text-link:focus-visible{outline:3px solid #b68120;outline-offset:4px;border-radius:3px}
@media(max-width:760px){
 .home-practice-section .cards{grid-auto-columns:min(78vw,320px);gap:14px}
 .home-practice-section .service-card{padding:20px 21px 16px;min-height:240px}
 .home-practice-section .service-card h3{font-size:21px}
 .home-practice-section .service-card p{font-size:14px;line-height:1.65}
}
@media(prefers-reduced-motion:reduce){.home-practice-section .service-card{transition:none}}

/* v1.29: approved bilingual guidance and location context. */
.home-guidance{padding:48px 0;background:#fff;border-top:1px solid #e1e7ee;border-bottom:1px solid #e1e7ee}
.home-guidance-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:64px;align-items:start}
.home-guidance h2{font-size:32px;line-height:1.2;letter-spacing:-.6px;color:#123754;margin:0 0 18px;max-width:560px}
.home-guidance p{font-size:16px;line-height:1.7;font-weight:400;color:#536477;margin:0}
.home-guidance .home-guidance-location{margin-top:16px;font-size:14px}
.home-guidance-points{list-style:none;padding:0;margin:0;display:grid;gap:18px}
.home-guidance-points li{padding-left:18px;border-left:2px solid #b89a61}
.home-guidance-points h3{font-size:18px;line-height:1.35;letter-spacing:0;color:#123754;margin:0 0 5px}
.home-guidance-points p{font-size:15px;line-height:1.6}
.home-guidance-link{display:inline-flex;align-items:center;min-height:44px;margin-top:18px;font-size:14px}
.home-guidance-link:focus-visible{outline:3px solid #b68120;outline-offset:4px;border-radius:3px}
.deport-simple .practice-location{max-width:820px;font-size:16px;line-height:1.7;font-weight:400;color:#536477;margin:16px 0 0}
@media(max-width:760px){.home-guidance{padding:36px 0}.home-guidance-grid{grid-template-columns:1fr;gap:27px}.home-guidance h2{font-size:28px;line-height:1.2}.home-guidance-points{gap:20px}.home-guidance-link{margin-top:20px}.deport-simple .practice-location{font-size:15px}}

/* v1.30: quiet homepage color and non-duplicated practice mobile actions. */
[data-page="inicio"] .hero{background:linear-gradient(120deg,#e6eef9 0%,#eff4fa 62%,#f7f9fc 100%);border-bottom:1px solid #dce5f0}
@media(max-width:760px){body:has(.cilf-practice-cta) .deport-hero .actions{display:none!important}}

/* v1.31: original consultation photo and a single closing fee card. */
[data-page="consulta"] .consultation-whiteboard{margin:0;min-width:0;align-self:center}
[data-page="consulta"] .consultation-whiteboard-image{display:block;width:100%;height:auto;border-radius:12px}
[data-page="consulta"] .consultation-final-cta{padding-top:20px}
[data-page="consulta"] .consultation-final-cta .price-card{width:100%;max-width:760px;margin:0 auto;padding:32px}
[data-page="consulta"] .consultation-final-cta h2{font-size:24px;line-height:1.25;margin:0 0 12px}
[data-page="consulta"] .consultation-final-cta .actions{margin-top:24px}
[data-page="consulta"] .consultation-final-book{min-height:48px;min-width:180px;justify-content:center}
@media(max-width:760px){[data-page="consulta"] .consultation-final-cta .price-card{padding:24px}[data-page="consulta"] .consultation-final-book{width:100%}}

/* v1.32: balanced language choices in the initial mobile header. */
@media(max-width:760px){
 .site-header:not(.is-compact) .header-row>.language-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-column:1/-1;justify-self:stretch;width:100%;min-width:0;gap:3px;margin:0;padding:3px}
 .site-header:not(.is-compact) .header-row>.language-switch a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:8px 6px;font-size:12px;line-height:1.2;text-align:center;border-radius:5px}
 .site-header:not(.is-compact) .header-row>.language-switch a[aria-current="true"]{background:#fff;color:#123754;box-shadow:0 1px 4px #13263f14}
 .site-header:not(.is-compact) .header-row>.language-switch a:focus-visible{outline:2px solid #245bcc;outline-offset:1px}
}
/* Article-card artwork fills its frame without stretching, all languages. */.resource-card .guide-thumbnail{object-fit:cover}


/* Compact related guides and attorney CTA, retained while homepage feature layout is restored. */
.practice-reading .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.practice-reading .resource-card{position:relative;display:grid;grid-template-columns:72px minmax(0,1fr);grid-template-rows:auto auto;gap:8px 14px;align-content:start;min-height:0;padding:18px!important}
.practice-reading .resource-card .guide-thumbnail{position:absolute;grid-column:auto;grid-row:auto;left:18px;top:18px;bottom:18px;width:72px;height:calc(100% - 36px);min-height:0;max-height:none;margin:0;object-fit:cover;aspect-ratio:auto}
.practice-reading .resource-card h3{grid-column:2;grid-row:1;font-size:18px;line-height:1.3;margin:0}
.practice-reading .resource-card .guide-excerpt{display:none}
.practice-reading .resource-card .resource-actions{grid-column:2;grid-row:2;margin:0;padding:0;gap:0}
.practice-reading .resource-card .text-link{font-size:13px;line-height:1.4;min-height:34px}
.price-attorney-action{margin-top:12px}.price-attorney-action .button{width:100%;justify-content:center}
@media(min-width:761px) and (max-width:1050px){.practice-reading .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.practice-reading .cards{grid-template-columns:1fr}.practice-reading .resource-card .text-link{min-height:44px}}

/* Keep the dictionary entry Law in view in narrow NTA illustration crops. */
img[src*="/aviso-nta"]{object-position:10% 50%}
