:root {
  --sand: #f1e9de;
  --sea: #e5eeeb;
  --espresso: #513c2e;
}

.editorial-page {
  background: #faf9f6;
}

.slogan-break { display: none; }

.editorial-page .eyebrow, .home-intro .eyebrow { color: var(--green); }
.editorial-page .chapter-barlos .eyebrow { color: var(--espresso); }
.editorial-page .chapter-wheels .eyebrow, .editorial-page .download-panel .eyebrow { color: #e6d4ba; }

.editorial-page .site-header {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 246, .96);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--green);
  color: white;
  border-radius: 8px;
}

.skip-link:focus { top: 12px; }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #a66b24;
  outline-offset: 5px;
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
}

.page-shell {
  width: min(1280px, 100%);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px) 80px;
}

.page-hero {
  position: relative;
  padding: clamp(48px, 7vw, 100px) 0 48px;
  max-width: 1000px;
}

.page-hero::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: var(--gold);
  margin-bottom: 32px;
}

.page-hero h1 {
  margin: 12px 0 24px;
  color: var(--green);
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  max-width: 1000px;
  text-wrap: balance;
}

.page-lead {
  max-width: 760px;
  color: var(--charcoal);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.7;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
  align-items: center;
}

.editorial-page .btn, .home-page .page-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1.35;
}

.secondary {
  color: var(--green);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--green);
}

.page-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 36px;
}

.page-tabs a {
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  color: var(--green);
  font-weight: 900;
  background: var(--paper);
}

.page-tabs a:hover { background: var(--sea); }

.chapter {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 50px);
  padding: clamp(28px, 5vw, 64px);
  margin-bottom: 24px;
  border-radius: 24px;
  background: var(--sea);
  scroll-margin-top: 112px;
}

.chapter-number {
  color: var(--green);
  font: 700 2rem/1.2 Montserrat, sans-serif;
  opacity: .55;
  border-top: 1px solid currentColor;
  padding-top: 16px;
}

.chapter-content { min-width: 0; }
.chapter h2 { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.12; letter-spacing: -.03em; }
.chapter h3 { font-size: clamp(1.3rem, 2.1vw, 1.8rem); line-height: 1.4; }
.chapter-copy { max-width: 790px; }
.chapter-copy p, .chapter-content > p:not(.eyebrow) { font-size: 1.07rem; line-height: 1.8; max-width: 800px; }
.chapter-barlos { background: var(--sand); }
.chapter-barlos h2, .chapter-barlos h3, .chapter-barlos .eyebrow, .chapter-barlos .chapter-number { color: var(--espresso); }
.chapter-barlovento { background: var(--sea); }
.chapter-wheels { background: var(--green); color: var(--paper); }
.chapter-wheels h2, .chapter-wheels h3, .chapter-wheels .chapter-number { color: var(--paper); }
.chapter-wheels .page-lead { color: rgba(255,255,255,.88); }
.chapter-wheels .primary { background: var(--paper); color: var(--green); }
.chapter-wheels .secondary { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; margin: 24px 0; }
.pill-list > * { padding: 8px 12px; border: 1px solid currentColor; border-radius: 30px; font-size: .82rem; }

.editorial-page .section-heading { margin: 48px 0 28px; }
.editorial-page .section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.03em; }
.feature-grid, .contact-people { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 28px 0 48px; }
.feature-card, .person-card, .office-card { padding: clamp(24px,3vw,36px); background: white; border: 1px solid var(--line); border-radius: 18px; min-width: 0; }
.feature-card h2, .feature-card h3, .person-card h2, .person-card h3 { font-size: 1.4rem; line-height: 1.35; }
.feature-card p, .person-card p, .office-card p { color: var(--charcoal); line-height: 1.7; }
.feature-card > .eyebrow, .person-city { color: var(--green); font-weight: 900; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.person-card { display: flex; flex-direction: column; }
.person-card .page-actions { margin-top: auto; padding-top: 24px; }
.person-details { display: grid; gap: 10px; margin: 24px 0; }
.person-details a { color: var(--green); overflow-wrap: anywhere; line-height: 1.5; }
.person-card address, .office-card address { font-style: normal; color: var(--charcoal); line-height: 1.7; }
.office-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 24px 0 48px; }
.office-map { display: block; width: 100%; height: 260px; border: 0; border-radius: 10px; margin-top: 24px; background: var(--sea); }
.office-card h2, .office-card h3 { font-size: 1.7rem; }

.info-strip, .download-panel {
  padding: clamp(26px,4vw,48px);
  margin: 36px 0;
  background: var(--sand);
  border-radius: 18px;
}
.info-strip h2, .download-panel h2 { font-size: clamp(1.6rem,2.6vw,2.4rem); line-height: 1.25; }
.info-strip p, .download-panel p { max-width: 800px; font-size: 1.05rem; line-height: 1.7; }
.download-panel { background: var(--green); color: white; }
.download-panel h2 { color: white; }
.download-panel .primary { background: var(--paper); color: var(--green); }
.download-panel .secondary { color: white; box-shadow: inset 0 0 0 1px white; }

.guide-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: clamp(28px,5vw,60px); margin: 20px 0 60px; }
.guide-nav { align-self: start; position: sticky; top: 110px; display: grid; gap: 4px; border-left: 1px solid var(--line); padding: 10px 0; }
.guide-nav a { display: block; padding: 10px 20px; color: var(--green); line-height: 1.4; }
.guide-nav a:hover { background: var(--sea); }
.guide-content { min-width: 0; }
.guide-item { padding: 30px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 115px; }
.guide-item:first-child { padding-top: 0; }
.guide-item h2 { font-size: clamp(1.5rem,2.4vw,2rem); line-height: 1.3; }
.guide-item p, .guide-item li { line-height: 1.8; color: var(--charcoal); }
.guide-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 4px 20px;
  align-items: center;
  min-height: 84px;
  padding: 18px 20px;
  border: 1px solid rgba(47, 79, 79, .25);
  border-radius: 12px;
  background: var(--sea);
  color: var(--green);
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  font-size: 1.3rem;
  line-height: 1.4;
}
.guide-item summary::-webkit-details-marker { display: none; }
.guide-item summary:hover { background: #d8e6e1; border-color: var(--green); }
.guide-summary-title { grid-column: 1; grid-row: 1; }
.guide-toggle-copy { grid-column: 1; grid-row: 2; font-size: .85rem; font-weight: 700; }
.guide-open-label { display: none; }
.guide-item[open] .guide-closed-label { display: none; }
.guide-item[open] .guide-open-label { display: inline; }
.guide-arrow {
  grid-column: 2;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: white;
}
.guide-arrow svg { width: 24px; height: 24px; }
.guide-item[open] .guide-arrow svg { transform: rotate(180deg); }
.check-list { list-style: none; padding: 0; margin: 20px 0; }
.check-list li { position: relative; padding: 0 0 14px 25px; line-height: 1.7; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: bold; }
.guide-note { padding: 16px 20px; background: var(--sea); border-left: 3px solid var(--green); }
.text-link { color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-weight: 900; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px 24px; max-width: 700px; line-height: 1.6; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-intro { padding: 72px clamp(20px,5vw,78px); background: var(--sand); display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
.home-intro h2 { font-size: clamp(2rem,3.7vw,3.5rem); }
.home-intro p:not(.eyebrow) { line-height: 1.75; color: var(--charcoal); font-size: 1.1rem; max-width: 680px; }
.home-page .group-business .page-actions { margin-top: auto; padding-top: 4px; }
.home-page .group-business .page-actions .btn { margin-top: 0; }
.home-contact-actions { margin-top: 28px; }
.home-contact-card { padding: 32px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; border-top: 1px solid var(--line); }
.contact-number { color: var(--green); font: 900 clamp(1.5rem,2.6vw,2.2rem)/1.3 Montserrat,sans-serif; }
.contact-email { color: var(--green); overflow-wrap: anywhere; max-width: 100%; }
.chapter .section-heading { margin-top: 0; }
.chapter-wheels .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.88); }
.editorial-page section[id] { scroll-margin-top: 130px; }
.chapter .feature-grid { grid-template-columns: repeat(auto-fit,minmax(min(220px,100%),1fr)); }
.guide-content .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }

@media (max-width: 1200px) {
  .site-header .brand span { display: none; }
  .site-header .nav { gap: 16px; font-size: .85rem; }
}

@media (max-width: 900px) {
  .feature-grid, .contact-people { grid-template-columns: 1fr; }
  .person-card .page-actions { margin-top: 0; }
  .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px; padding: 0 0 24px; border-left: 0; border-bottom: 1px solid var(--line); }
  .guide-nav a { border: 1px solid var(--line); border-radius: 30px; padding: 9px 14px; font-size: .85rem; }
  .office-grid, .home-intro { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .guide-content .feature-grid { grid-template-columns: 1fr; }
  .site-header { flex-wrap: wrap; padding: 10px 18px 0; gap: 4px; position: sticky; top: 0; }
  .site-header .brand { min-height: 46px; padding-right: 92px; }
  .site-header .brand span { display: block; font-size: .57rem; white-space: nowrap; line-height: 1.4; max-width: 200px; }
  .slogan-break { display: initial; }
  .hero-slogan, .footer-brand strong { white-space: nowrap; line-height: 1.5; }
  .site-header .brand img { width: 40px; height: 40px; }
  .site-header .nav { width: 100%; overflow-x: auto; white-space: nowrap; gap: 22px; padding: 8px 0 12px; font-size: .83rem; scrollbar-width: thin; }
  .site-header .nav a:not(.nav-login) { display: inline-flex; flex-shrink: 0; }
  .site-header .language-switcher { position: absolute; right: 18px; top: 14px; }
  .page-hero { padding-top: 40px; }
  .page-hero h1 { font-size: clamp(2.25rem,9vw,3.5rem); }
  .chapter { grid-template-columns: 1fr; gap: 18px; border-radius: 16px; }
  .chapter-number { display: inline-block; width: 48px; font-size: 1.25rem; padding-top: 10px; }
  .chapter h2 { font-size: clamp(2rem,8.4vw,3.2rem); }
  .page-shell { padding-bottom: 40px; }
  .page-tabs a { padding: 10px 14px; font-size: .85rem; }
  .page-actions .btn { max-width: 100%; }
  .home-page .group-business h2 { font-size: 2.4rem; }
  .guide-item summary { padding: 16px; column-gap: 12px; font-size: 1.15rem; }
}
