/* La cubierta y el colofón comparten el perfil curvo de una página al abrirse. */
:root {
  --cabecera: 85px;
  --oro-suave: #e8c886;
  --azul-profundo: #102c38;
}
html { scroll-padding-top: calc(var(--cabecera) + 14px); }
.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fbfaf6;
  box-shadow: 0 2px 12px #152f3710;
}
.mobile-sheet .sheet-inner { min-height: 100%; }
.mobile-sheet .sheet-top {position:sticky;top:0;z-index:2;background:var(--paper);padding-block:9px;border-bottom:1px solid var(--rule);}
.mobile-sheet .sheet-inner {padding-top:0;}

.cover-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #102d39;
  color: #fbf6e9;
}
.cover-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 65%;
  z-index: -2;
}
.cover-photo picture, .cover-photo img { display: block; width:100%; height:100%; }
.cover-photo img { object-fit: cover; object-position: 55% 57%; }
.cover-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg,#102d39 0%,#102d39e0 12%,#102d3958 34%,#102d3903 70%),
              linear-gradient(0deg,#0c1f28bb 0%,transparent 45%);
}
.cover-home::after {
  content: ""; position: absolute; z-index:-1; left:-19vw; bottom:-42vw;
  width:57vw; aspect-ratio:1; border:1px solid #d5b87830; border-radius:50%;
  box-shadow:0 0 0 14px #102d39, 0 0 0 15px #d5b87820; pointer-events:none;
}
.cover-layout {
  min-height: clamp(550px, 42.2vw, 678px);
  display:grid; grid-template-columns: 1.07fr .93fr;
  align-items:center; gap:30px; padding-block: clamp(44px, 4.4vw, 84px);
}
.cover-copy { max-width:700px; }
.cover-label {
  display:flex; align-items:center; gap:14px; margin-bottom:25px;
  font:500 .78rem/1.4 var(--sans); color:var(--oro-suave); letter-spacing:.125em; text-transform:uppercase;
}
.cover-label::before {content:""; width:37px; height:1px; background:currentColor;}
.cover-copy h1 {
  color:#fff9ed; font:420 clamp(4rem,6.5vw,7rem)/.99 var(--serif);
  letter-spacing:-.062em; text-wrap:initial;
}
.cover-copy h1 em, .foot-heading h2 em { font-weight:400; }
.cover-intro {max-width:40ch; margin-top:24px; font-size:clamp(1.04rem,1.36vw,1.27rem); line-height:1.5; color:#e4e9e7;}
.cover-actions { display:flex; gap:24px; align-items:center; flex-wrap:wrap; margin-top:29px;}
.cover-actions .sbtn {min-height:51px; padding-inline:22px; border-radius:4px 15px 4px 4px;}
.cover-secondary {display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#fff7e6;font-size:.94rem;text-decoration:none}
.cover-secondary:hover {text-decoration:underline}.cover-secondary .ui-icon {width:15px;height:15px}
.cover-lawyer {
  align-self:end; justify-self:end; position:relative; display:flex; align-items:center; gap:14px;
  background:#fcf8eb; border-radius:48px 5px 28px 48px; color:#182f39;
  box-shadow:0 9px 28px #081a2460; padding:7px 19px 7px 7px; text-decoration:none;
}
.cover-lawyer img {width:66px;height:66px;border-radius:50%;object-fit:cover;object-position:50% 21%;border:1px solid #c5aa72;}
.cover-lawyer span {display:grid;line-height:1.28}
.cover-lawyer small {font:500 .69rem/1.3 var(--sans);color:#6e592f}
.cover-lawyer strong {font:500 1.20rem/1.3 var(--serif);letter-spacing:-.025em}
.cover-lawyer i {font-style:normal;font-size:.72rem;color:#465653}
.cover-lawyer .ui-icon {width:15px;transition:transform .18s;}
.cover-lawyer:hover .ui-icon {transform:translate(2px,-2px)}
.areas-home .area-card {position:relative;border-radius:4px 30px 5px 5px;border-top:3px solid #b29458;background:linear-gradient(130deg,#fffef9 0%,#fffdf8 72%,#f0eadd);}
.areas-home .area-card:nth-child(2) {border-top-color:#566c68}
.areas-home .area-card:nth-child(3) {border-top-color:#ac7150}
.area-card .area-arrow {background:#f6f2e7;color:#40534e;border-color:#e2d9c6;}
.area-card:hover .area-arrow {background:#173744;color:white;border-color:#173744}
.area-card:focus-visible {outline-offset:3px}
.first-meeting {background:#e7ede8;color:#163b3d;position:relative;}
.meeting-layout {display:grid;grid-template-columns:.82fr 1.18fr;gap:clamp(40px,8vw,130px);padding-block:clamp(49px,5.4vw,84px);}
.meeting-intro h2 {max-width:12ch}.meeting-intro>p:not(.kicker){font-size:1.05rem;line-height:1.62;max-width:38ch;margin:17px 0 8px;color:#3f5550;}
.meeting-questions {border-top:1px solid #9aafa3;align-self:center;}
.meeting-questions details {border-bottom:1px solid #aebdb2}
.meeting-questions summary {display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:58px;padding:14px 1px;font:480 clamp(1.14rem,1.55vw,1.56rem)/1.34 var(--serif);letter-spacing:-.025em;}
.meeting-questions summary span {width:24px;height:24px;flex:none;position:relative;border:1px solid #7e9489;border-radius:50%;}
.meeting-questions summary span::before,.meeting-questions summary span::after {content:"";position:absolute;inset:50% auto auto 50%;height:1.5px;width:9px;background:currentColor;transform:translate(-50%,-50%);}
.meeting-questions summary span::after {transform:translate(-50%,-50%) rotate(90deg);transition:transform .18s}
.meeting-questions details[open] summary span::after {transform:translate(-50%,-50%)}
.meeting-questions details>div {padding:0 36px 20px 1px;font-size:.97rem;color:#354d47;max-width:69ch;}
.meeting-questions details a {display:inline-block;margin-top:9px;font-size:.86rem;}
.journal-photo {border-radius:4px 26% 4px 21%;position:relative}
.journal-photo::after {content:"";position:absolute;inset:10px;border:1px solid #fff9e799;border-radius:inherit;pointer-events:none}
.reviews-home .review-stack {border-top:2px solid #bda26b;border-radius:7px 42px 7px 7px}
.review-control .round-btn {width:44px;height:44px}
.founder-photo {border-radius:44% 44% 5px 20%;position:relative}

.office-foot {color:#e9eee7;background:#102b35}
.foot-cover {position:relative;isolation:isolate;overflow:hidden;background:#193b44;border-top:2px solid #b6985f;border-bottom:1px solid #bfa56c68}
.office-scenery {position:absolute;z-index:-1;inset:0 0 0 auto;width:62%;overflow:hidden;}
.office-scenery img {height:100%;width:100%;object-fit:cover;object-position:50% 54%;filter:sepia(.22) saturate(.8);}
.office-scenery::after {position:absolute;content:"";inset:0;background:linear-gradient(90deg,#193b44 0%,#193b44cd 8%,#102b3570 39%,#102b3530),linear-gradient(0deg,#112f38ca,transparent 75%);}
.foot-invite {display:grid;grid-template-columns:1fr .8fr;align-items:end;gap:32px;min-height:300px;padding-block:clamp(40px,4.2vw,65px);}
.foot-heading .kicker {color:#ebce8a;margin-bottom:16px}
.foot-heading h2 {font:430 clamp(3rem,5.4vw,6rem)/1 var(--serif);letter-spacing:-.055em;color:#fff8e8}
.foot-heading h2 em {color:#eacc8b}
.foot-location {display:grid;grid-template-columns:auto 1fr;gap:2px 14px;justify-self:end;align-items:center;color:#fff9eb;background:#102c36e8;border:1px solid #e4cc8d80;border-radius:30px 5px 5px 5px;padding:17px 23px}
.foot-pin {width:43px;height:43px;display:grid;place-items:center;border-radius:50%;border:1px solid #d6bd83;color:#efcf89;grid-row:span 2}
.foot-location address {font-style:normal;font-size:.96rem;line-height:1.45;}
.foot-location a,.foot-appointment,.backtop {display:inline-flex;align-items:center;gap:7px;width:fit-content;}
.foot-location a {color:#f1dba4;font-size:.86rem;min-height:38px;}
.foot-location a .ui-icon,.foot-appointment .ui-icon,.backtop .ui-icon {width:15px;height:15px;}
.foot-index {display:grid;grid-template-columns:1.08fr 1fr .8fr 1.22fr;gap:clamp(20px,3.5vw,60px);padding-block:clamp(38px,4vw,64px);}
.foot-signature .brand-link img {width:135px;height:auto;}
.foot-signature p {font-size:.91rem;line-height:1.45;margin-top:14px;color:#d1d9d5}
.foot-index h3 {font:500 .88rem var(--sans);color:#ebcb81;letter-spacing:.005em;margin:7px 0 12px}
.foot-index nav a,.foot-direct>a {display:flex;align-items:center;width:fit-content;min-height:33px;text-decoration:none;font-size:.93rem;line-height:1.4}
.foot-index a:hover,.foot-legal a:hover {text-decoration:underline;color:#fff4d4}
.foot-direct .foot-tel {font:430 clamp(1.55rem,2.2vw,2.15rem)/1.1 var(--serif);letter-spacing:-.035em;color:#fff7df;margin-bottom:3px;white-space:nowrap;}
.foot-direct .foot-appointment {color:#efd597;text-decoration:underline;margin-top:8px;}
.foot-legal {display:flex;align-items:center;gap:clamp(14px,3vw,46px);position:relative;padding-block:18px 34px;color:#d4dfd8;font-size:.81rem}
.foot-legal::before {content:"";position:absolute;left:var(--gutter);right:var(--gutter);top:0;border-top:1px solid #adc2aa47;}
.foot-legal nav {display:flex;flex-wrap:wrap;gap:18px;}
.foot-legal a {text-decoration:none;display:inline-flex;align-items:center;min-height:36px}
.foot-legal .backtop {margin-left:auto;margin-right:90px;color:#f1ddb0}

@media(min-width:981px) and (max-height:530px){.drop-panel{max-height:calc(100dvh - 80px);overflow-y:auto;}}
@media(max-width:980px) {
  :root {--cabecera:74px;}
  .mobile-sheet,.mobile-sheet nav,.sheet-phone {text-align:center;}
  .mobile-sheet .sheet-inner {text-align:center;}
  .mobile-sheet .sheet-top {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;}
  .mobile-sheet #menu-title {grid-column:2;}
  .mobile-sheet [data-close] {grid-column:3;justify-self:end;}
  .mobile-sheet nav>a,.mobile-sheet nav>details>summary {justify-content:center;gap:9px;}
  .mobile-sheet details div a {text-align:center;}
  .mobile-sheet nav>details>summary::before {content:"";width:19px;flex:none;}
  .mobile-sheet nav>details>summary .ui-icon {width:19px;flex:none;}
  .cover-layout {min-height:475px;}
  .cover-copy h1 {font-size:clamp(3.6rem,7.3vw,5.5rem);}
  .foot-index {grid-template-columns:1fr 1fr;gap:32px 40px}
  .foot-legal .backtop {margin-right:38px}
}
@media(max-width:780px), (max-width:980px) and (max-height:500px) {
  :root {--cabecera:74px;}
  .cover-home {display:grid;grid-template-areas:"cover";background:#102e39;padding-bottom:0;}
  .cover-photo {inset:auto 0 0 0;width:100%;height:clamp(215px,45vw,292px);}
  .cover-photo img {object-position:54% 64%;}
  .cover-photo::after {background:linear-gradient(#102e39 0%,#102e3940 26%,transparent 48%,#11263266 100%);}
  .cover-home::after {display:none;}
  .cover-layout {width:100%;min-height:0;display:flex;flex-direction:column;gap:0;align-items:center;padding-top:clamp(27px,6vw,45px);padding-bottom:18px;}
  .cover-copy {width:100%;text-align:center;max-width:540px}
  .cover-label {justify-content:center;font-size:.65rem;letter-spacing:.105em;gap:9px;margin-bottom:14px;}
  .cover-label::before,.cover-label::after {content:"";width:18px;height:1px;background:currentColor;}
  .cover-copy h1 {font-size:clamp(3.1rem,9.2vw,5rem);line-height:1.01;}
  .cover-intro {margin:15px auto 0;font-size:1.01rem;max-width:39ch;}
  .cover-actions {justify-content:center;gap:10px 15px;margin-top:18px;}
  .cover-actions .sbtn {font-size:.87rem;min-height:45px;padding-inline:14px;}
  .cover-secondary {font-size:.86rem;}
  .cover-lawyer {align-self:center;margin-top:clamp(134px,32vw,218px);gap:10px;padding:5px 14px 5px 5px;}
  .cover-lawyer img {width:47px;height:47px;}
  .cover-lawyer span {text-align:center;}
  .cover-lawyer strong {font-size:1rem;}
  .cover-lawyer i {font-size:.64rem;}
  .meeting-layout {grid-template-columns:1fr;gap:22px;text-align:center;padding-block:42px}
  .meeting-intro h2,.meeting-intro>p:not(.kicker) {margin-inline:auto;}
  .meeting-questions summary {justify-content:center;position:relative;padding-inline:32px;}
  .meeting-questions summary span {position:absolute;right:0;}
  .meeting-questions details>div {margin-inline:auto;padding:0 9px 18px;}
  .office-foot,.foot-index,.foot-invite,.foot-legal {text-align:center;}
  .foot-invite {grid-template-columns:1fr;justify-items:center;gap:18px;min-height:310px;padding-block:36px;}
  .foot-heading .kicker,.kicker {justify-content:center}
  .kicker::after {content:"";display:block;height:1.5px;width:27px;background:currentColor;flex:none;}
  .foot-heading h2 {font-size:clamp(2.8rem,8vw,4.6rem);}
  .office-scenery {width:100%;}
  .office-scenery::after {background:linear-gradient(90deg,#102e38bf,#132f38a6),linear-gradient(0deg,#102e38aa,transparent 80%);}
  .foot-location {justify-self:center;grid-template-columns:1fr;justify-items:center;gap:4px;padding:10px 18px;border-radius:13px 4px 13px 4px;}
  .foot-pin {display:none;}
  .foot-location a {min-height:32px;}
  .foot-index {justify-items:center;align-items:start;gap:28px 12px;}
  .foot-signature p {margin-top:5px;}
  .foot-index nav a,.foot-direct>a {margin-inline:auto;justify-content:center;min-height:38px;}
  .foot-direct .foot-tel {font-size:1.45rem;}
  .foot-legal {flex-direction:column;justify-content:center;gap:4px;padding-bottom:74px;}
  .foot-legal nav {justify-content:center;}
  .foot-legal .backtop {margin:0;}
  .foot-location a::before,.foot-appointment::before,.foot-legal .backtop::before {content:"";width:15px;flex:none;}
  .home-section,.closing-inner,.home-intake,.founder-grid,.review-layout,.journal-grid {text-align:center;}
  .home-intake select {text-align:center;text-align-last:center;}
  .home-section h2,.home-section p,.closing-inner p {margin-inline:auto;}
  .hero-sign span,.review-slide figcaption {text-align:center;}
}
@media(min-width:781px) and (max-width:980px) and (max-height:500px) {
  .cover-home {display:block;}
  .cover-layout {display:grid;grid-template-columns:1.06fr .94fr;align-items:center;gap:16px;min-height:calc(100svh - var(--cabecera));padding-block:20px;}
  .cover-photo {inset:0 0 0 auto;width:55%;height:100%;}
  .cover-photo::after {background:linear-gradient(90deg,#102e39,transparent 45%),linear-gradient(0deg,#102e396b,transparent 52%);}
  .cover-copy {justify-self:center;}
  .cover-copy h1 {font-size:clamp(2.65rem,5.5vw,3.3rem);}
  .cover-intro {font-size:.96rem;max-width:39ch;}
  .cover-actions {margin-top:12px;}
  .cover-lawyer {align-self:end;justify-self:center;margin:0;}
  .areas-home .section-heading {flex-direction:column;align-items:center;gap:2px;}
  .area-top {position:relative;justify-content:center;}
  .area-top .area-arrow {position:absolute;inset:0 0 auto auto;}
  .review-slide .rating,.review-control,.journal-links a {justify-content:center;}
  .review-control>span {margin-right:8px;}
  .foot-invite {min-height:255px;padding-block:26px;}
  .foot-legal {padding-bottom:28px;}
}
@media(max-width:700px){:root{--cabecera:66px}}
@media(max-width:520px) {
  .head-actions {gap:6px;}
  .head-row {gap:8px;}
  .foot-index {grid-template-columns:1fr;}
  .foot-index nav {width:100%;}
  .foot-index nav+nav,.foot-direct {border-top:1px solid #a2b5a53b;padding-top:15px;width:100%;}
  .foot-index h3 {margin:0 0 6px;}
}
@media(max-width:370px) {
  .head-actions .sbtn .ui-icon {display:none;}
  .site-head .brand-link img {width:67px;height:auto;}
}
@media(max-height:470px) and (max-width:980px) {
  :root {--cabecera:54px;}
  .site-head .head-row {height:53px;}
  .site-head .brand-link img {height:40px;width:73px;}
  .site-head .sbtn,.site-head .menu-toggle {min-height:40px;height:40px;}
  .sheet-inner {padding-block:12px;}
}
