/* Aragonès | Partners — independent Swiss editorial design.
 * Visual language: strong typographic hierarchy, photographic feature,
 * black/white base, cool-neutral surfaces and restrained turquoise cues.
 * No PHZH artwork, fonts, logos or proprietary assets are used.
 * Loaded after legacy styles; scoped to the independent Pages website.
 */
:root{
  --ap-black:#15191a;
  --ap-ink:#232729;
  --ap-text:#444b4e;
  --ap-line:#dce1e0;
  --ap-pale:#f2f5f4;
  --ap-pale-strong:#e8efed;
  --ap-signal:#007e79;
  --ap-signal-hover:#00605c;
  --gold:var(--ap-black);
  --ink:var(--ap-ink);
  --muted:var(--ap-text);
  --line:var(--ap-line);
  --paper:#fff;
  --green:var(--ap-signal);
  --dark:var(--ap-ink);
  --text:var(--ap-text);
  --soft:var(--ap-pale);
  --accent:var(--ap-pale-strong);
}
html{scroll-padding-top:32px}
body{
  background:#fff;
  color:var(--ap-text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.6;
}
body .shell{max-width:1500px;padding-inline:clamp(20px,4.2vw,66px)}
body header{
  min-height:86px;
  border-bottom:1px solid var(--ap-line);
  gap:20px;
  padding-block:18px;
}
body .ap-wordmark,
body .ap-wordmark:link,
body .ap-wordmark:visited,
body .ap-wordmark:hover,
body .ap-wordmark__surname,
body .ap-wordmark__divider,
body .ap-wordmark__partners{
  color:var(--ap-black)!important;
}
body .ap-wordmark__surname{font-weight:800;letter-spacing:-.025em}
body .ap-wordmark__divider{font-weight:300;color:#747b7b!important}
body .langs{
  color:var(--ap-black);
  font:700 12px/1.4 Arial,Helvetica,sans-serif;
  letter-spacing:.045em;
  gap:14px;
}
body .langs .sep{color:#a7b0af}
body .langs a{padding:8px 3px;min-height:35px;color:var(--ap-ink)}
body .langs a[aria-current="true"]{color:var(--ap-signal)}
body .langs a[aria-current="true"]:after{
  display:block;bottom:0;border-bottom:3px solid var(--ap-signal);
}
body :is(a,button,input,textarea,summary):focus-visible{
  outline:3px solid var(--ap-signal);
  outline-offset:3px;
}
body .profile-layout{padding-top:0;padding-bottom:48px}
body .profile-left .hero{
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(225px,.8fr);
  align-items:stretch;
  gap:clamp(20px,3.4vw,54px);
  max-width:none;
  margin:28px 0 0;
  padding:clamp(30px,4.6vw,72px);
  background:var(--ap-pale);
}
body .profile-left .hero .content{
  display:flex;flex-direction:column;align-items:flex-start;
  justify-content:center;max-width:760px;min-width:0;
}
body .profile-left .hero .tagline{
  font:800 clamp(36px,4.9vw,74px)/1.055 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.055em;
  color:var(--ap-black);
  max-width:17ch;
  margin:0 0 clamp(20px,2.5vw,36px);
  overflow-wrap:break-word;
  hyphens:auto;
}
body .profile-left .hero .intro{
  font:400 clamp(17px,1.4vw,20px)/1.55 Arial,Helvetica,sans-serif;
  color:var(--ap-ink);
  max-width:59ch;
  margin:0;
}
body .profile-left .hero .hero-languages{
  color:var(--ap-text);
  font:400 13px/1.6 Arial,Helvetica,sans-serif;
  margin:20px 0 0;max-width:65ch;
}
body .profile-left .hero .portrait-frame{
  width:min(100%,390px);max-width:390px;min-width:0;
  height:auto;aspect-ratio:1/1;max-height:none;
  border:0;border-radius:50%;box-shadow:none;overflow:hidden;
  margin:0;justify-self:center;align-self:center;
  background:#e6e9e8;
}
body .profile-left .hero .portrait{
  filter:none;
  object-fit:cover;
  object-position:center 22%;
}
body .hero-appointment-cta{
  margin-top:27px;
  min-height:51px;
  padding:13px 21px;
  background:var(--ap-black);
  border:1px solid var(--ap-black);
  border-radius:0;
  box-shadow:none;
  color:#fff;
  font:700 14px/1.35 Arial,Helvetica,sans-serif;
  text-align:left;
}
body .hero-appointment-cta:hover{background:var(--ap-signal-hover);border-color:var(--ap-signal-hover);color:#fff}
body .hero-appointment-cta .appointment-cta-arrow{font-size:20px}
body .profile-jump-nav{
  margin:0 0 clamp(35px,5vw,76px);
  padding:22px 0;
  border-bottom:1px solid var(--ap-line);
  gap:8px clamp(17px,2vw,30px);
  align-items:center;
}
body .profile-jump-nav a{
  padding:7px 0;
  color:var(--ap-black);
  font:700 13px/1.4 Arial,Helvetica,sans-serif;
  text-decoration:none;
  border-bottom:2px solid transparent;
}
body .profile-jump-nav a:hover,
body .profile-jump-nav a:focus-visible{
  color:var(--ap-signal);border-color:var(--ap-signal);text-decoration:none;
}
body .profile-left .areas h2,
body .profile-left .expertise h2,
body .profile-form-col .contact-form-section h2,
body .section.contact h2,
body .profile-left .notarial-overview-title,
body .profile-left .dispute-overview-title{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:800!important;
  font-size:clamp(33px,3.3vw,50px);
  line-height:1.12;
  letter-spacing:-.042em;
  color:var(--ap-black)!important;
  margin-bottom:25px;
  text-transform:none;
}
body .profile-left .service h3,
body .profile-left .notarial-group-title{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:750!important;
  font-size:clamp(25px,2.5vw,35px);
  line-height:1.14;
  letter-spacing:-.037em;
  color:var(--ap-black)!important;
}
body .profile-left .service{
  border-bottom:1px solid var(--ap-line);
  padding:clamp(28px,3.2vw,47px) 0;
  column-gap:clamp(30px,5vw,92px);
  grid-template-columns:minmax(220px,32%) minmax(0,1fr);
}
body .profile-left .service p,
body .profile-left .notarial-intro,
body .profile-left .dispute-intro,
body .profile-left .expertise-description{
  color:var(--ap-text);
  line-height:1.7;
}
body .profile-left :is(.legal-qualifications,.engineering-qualifications,.pension-qualifications,.translation-qualifications,.service-authorities,.notarial-qualifications-line,.dispute-forums){
  color:var(--ap-signal)!important;
}
body .profile-left .service .service-link a,
body .profile-left :is(.notarial-cta,.administrative-link-url){
  color:var(--ap-signal)!important;
}
body .profile-left .service-grid>.notarial-panel,
body .profile-left .service-grid>.dispute-panel{
  padding-block:clamp(36px,4vw,58px);
}
body .profile-left .notarial-group-title{
  font-size:clamp(24px,2.25vw,31px);
}
body .profile-left :is(.dispute-specialty h4,.notarial-item h5,.notarial-step h5,.administrative-area h4,.engineering-subarea h4,.pension-subarea h4){
  color:var(--ap-black);
}
body .profile-left .administrative-link{
  background:var(--ap-pale);
  border:1px solid var(--ap-line);
  border-radius:0;
  padding:24px;
}
body .profile-left .administrative-link:hover{
  background:var(--ap-pale-strong);border-color:var(--ap-signal);
}
body .profile-form-col{
  padding-top:clamp(45px,6vw,82px);
  border-top:1px solid var(--ap-line);
}
body .profile-form-col .contact-form-intro{max-width:65ch}
body .contact-field input:not([type=checkbox]):not([type=file]),
body .contact-field textarea{
  border:1px solid #bbc5c2;
  border-radius:0;
  background:#fff;
}
body .contact-file-trigger,
body .contact-submit{
  border-radius:0;
}
body .contact-submit{
  background:var(--ap-black);
  border-color:var(--ap-black);
  font-weight:700;
  min-height:50px;
}
body .contact-submit:hover:not(:disabled){background:var(--ap-signal-hover);border-color:var(--ap-signal-hover)}
body .section.contact{
  margin-top:30px;
  border-top:1px solid var(--ap-line);
}
body .section.contact .contact-info .contact-name,
body .section.contact .contact-info .contact-name-primary{
  font-family:Arial,Helvetica,sans-serif!important;
  color:var(--ap-black)!important;
  font-weight:750!important;
  letter-spacing:-.025em;
}
body footer{border-top:2px solid var(--ap-black)}
body .footer-copyright{font:500 14px/1.55 Arial,Helvetica,sans-serif}
body .legal h2{
  font-family:Arial,Helvetica,sans-serif!important;
  font-weight:750;letter-spacing:-.035em;
}
body .booking-panel,
body .booking-option,
body .booking-btn{
  border-radius:0;
}
body .booking-panel h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:750;letter-spacing:-.035em}
body .google-reviews-inner{border-radius:0}
@media(max-width:1000px){
  body .profile-left .hero{padding:36px;grid-template-columns:minmax(0,1.25fr) minmax(190px,.8fr)}
  body .profile-left .hero .tagline{font-size:clamp(32px,4.4vw,52px)}
}
@media(max-width:700px){
  body .profile-left .hero{
    grid-template-columns:1fr;
    padding:28px 24px;
    margin-top:18px;
    gap:28px;
  }
  body .profile-left .hero .tagline{
    font-size:clamp(34px,8.2vw,53px);max-width:20ch;
  }
  body .profile-left .hero .portrait-frame{
    justify-self:center;align-self:center;max-width:300px;
    width:min(100%,300px);max-height:none;aspect-ratio:1/1;border-radius:50%;
  }
  body .profile-left .service{display:block;padding:28px 0}
  body .profile-left .service h3{margin-bottom:12px;font-size:clamp(26px,6.2vw,33px)}
  body .profile-jump-nav{margin-bottom:34px}
  body .profile-form-col{padding-top:44px}
}
@media(max-width:430px){
  body .shell{padding-inline:16px}
  body header{min-height:72px;gap:12px}
  body .profile-left .hero{padding:26px 19px}
  body .profile-left .hero .tagline{font-size:clamp(32px,8.5vw,41px)}
  body .profile-left .hero .portrait-frame{max-width:260px;width:min(100%,260px);aspect-ratio:1/1;border-radius:50%}
  body .langs{gap:5px;font-size:11px}
  body .langs a{padding-inline:1px}
}
@media(prefers-reduced-motion:reduce){
  body .profile-left .administrative-link{transition:none}
}
/* Secondary Spanish editorial article: preserve its copy, SEO and contact destinations. */
body .nav-shell{background:#fff;border-bottom:1px solid var(--ap-line)}
body .nav-shell .nav-inner{min-height:83px}
body .nav-actions .nav-btn,
body .btn-primary{
  background:var(--ap-black);border-radius:0;color:#fff;
}
body .nav-actions .nav-btn:hover,
body .btn-primary:hover{background:var(--ap-signal-hover);color:#fff}
body .hero-grid{gap:clamp(25px,4vw,55px)}
body .hero:not(.profile-left .hero){
  background:var(--ap-pale);
  border-bottom:1px solid var(--ap-line);
}
body .hero:not(.profile-left .hero) h1{
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(35px,4.5vw,64px);
  font-weight:800;
  letter-spacing:-.05em;
}
body .eyebrow,body .service-more,
body .court-city,body .step span{color:var(--ap-signal)}
body .info,body .hero-card,body .court,body .service{
  border-radius:0;
  box-shadow:none;
}
body .dark-panel,body .last{border-radius:0;background:var(--ap-black)}
body .btn,body .service-icon,body .court-n,body .other-court{border-radius:0}
body .section-heading h2,
body .last h2,body .hero-card h2{
  font-family:Arial,Helvetica,sans-serif;
  font-weight:800;letter-spacing:-.04em;
}

/* PHZH-like compact header control: native <details> keeps links accessible.
 * No language link, query parameter or translation code is replaced. */
body header{flex-wrap:nowrap;justify-content:space-between}
body .langs{flex:0 0 auto;width:auto;min-width:0;justify-content:flex-end;white-space:nowrap}
body .ap-language-switcher{position:relative;flex:none;font:700 14px/1.35 Arial,Helvetica,sans-serif;letter-spacing:0}
body .ap-language-switcher summary{
  display:inline-flex;align-items:center;justify-content:space-between;gap:15px;
  cursor:pointer;list-style:none;min-height:42px;
  padding:9px 13px;border:1px solid var(--ap-line);color:var(--ap-black);background:#fff;
  min-width:79px;
}
body .ap-language-switcher summary::-webkit-details-marker{display:none}
body .ap-language-switcher summary::after{content:"";height:7px;width:7px;display:block;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
body .ap-language-switcher[open] summary::after{transform:translateY(2px) rotate(225deg)}
body .ap-language-switcher summary:hover{border-color:var(--ap-black)}
body .ap-language-options{
  display:flex;flex-direction:column;gap:0;
  position:absolute;z-index:80;top:calc(100% + 8px);right:0;
  min-width:135px;padding:8px;
  background:#fff;border:1px solid var(--ap-line);
  box-shadow:0 12px 32px rgba(0,0,0,.09);
}
body .langs .ap-language-options a{
  display:block;min-height:36px;padding:8px 12px;
  color:var(--ap-black);text-decoration:none;
  font:700 13px/1.45 Arial,Helvetica,sans-serif;
}
body .langs .ap-language-options a:hover,
body .langs .ap-language-options a:focus-visible{background:var(--ap-pale);color:var(--ap-signal)}
body .langs .ap-language-options a[aria-current="true"]{color:var(--ap-signal);background:var(--ap-pale)}
body .langs .ap-language-options a[aria-current="true"]::after{display:none}
body .langs .sep{display:none}
body .booking-dialog-panel{border-radius:0}
body .booking-dialog-panel>h2{font-family:Arial,Helvetica,sans-serif!important;font-weight:750;letter-spacing:-.035em}
@media(max-width:640px){
  body header{flex-wrap:nowrap;gap:10px;padding-block:14px}
  body .langs{flex:0 0 auto;flex-basis:auto;width:auto;justify-content:flex-end;flex-wrap:nowrap}
  body .ap-language-switcher summary{min-width:64px;min-height:39px;padding:8px 10px}
  body .ap-wordmark--header .ap-wordmark__surname{font-size:clamp(.95rem,3.95vw,1.18rem)}
  body .ap-wordmark--header .ap-wordmark__partners{font-size:clamp(.88rem,3.65vw,1.11rem)}
}
@media(max-width:360px){
  body header{gap:6px}
  body .ap-wordmark--header{gap:.20em}
  body .ap-language-switcher summary{min-width:57px}
}

/* Non-negotiable typography: no Caveat/script face in any title.
 * The legacy layout has !important Caveat rules; the more specific final
 * overrides deliberately win without touching the translation DOM. */
html body :is(h1,h2,h3,h4,h5,h6),
html body .profile-left .service h3,
html body .profile-left .dispute-overview-title,
html body .profile-left .notarial-overview-title,
html body .profile-left .notarial-group-title,
html body .profile-left .hero .tagline,
html body .profile-left .hero h1,
html body .section.contact .contact-info .contact-name,
html body .booking-dialog-panel>h2{
  font-family:Arial,Helvetica,sans-serif!important;
}
