/* Profile page (/profile + 5 languages) compact layout — 27 Sep 2026. Scoped to main.profile-compact only. Logo palette (theme-guide). */
.profile-compact{--pf-blue:#0068DF;--pf-blue-hover:#0055B7;--pf-navy:#0D4875;--pf-ink:#3A3A3A;--pf-text-mid:#555555;--pf-line:#DFE2E4;--pf-wash:#F3F8FE;--pf-sky:#4CBAEB;--pf-white:#FFFFFF}

.profile-compact>.section{padding-top:38px;padding-bottom:38px}
.profile-compact>.section h2{font-size:25px;margin:0 0 6px;color:var(--pf-ink)}
.profile-compact .button{background:var(--pf-blue);color:var(--pf-white)}
.profile-compact .button:hover{background:var(--pf-blue-hover);color:var(--pf-white)}
.profile-compact .text-link{color:var(--pf-navy);gap:.3em}

/* Services: four cards in one row (a swipe row on phones) */
.profile-compact .card-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}
.profile-compact .link-card{padding:20px;border:1px solid var(--pf-line);border-radius:10px;background:var(--pf-white);box-shadow:0 1px 2px rgba(16,56,77,.05)}
.profile-compact .link-card h3{font-size:18px;line-height:1.3;margin:0 0 8px;color:var(--pf-ink)}
.profile-compact .link-card p{font-size:15.5px;line-height:1.6;margin:0;color:var(--pf-text-mid)}

/* How to start: three steps in one row */
.profile-compact>.service-pale{background:var(--pf-wash)}
.profile-compact .process-grid{gap:24px;margin-top:18px}
.profile-compact .process-grid article{border-inline-start:3px solid var(--pf-sky);padding-inline-start:14px}
.profile-compact .process-grid h3{font-size:18px;margin:0 0 6px;color:var(--pf-ink)}
.profile-compact .process-grid p{font-size:15.5px;line-height:1.6;margin:0;color:var(--pf-text-mid)}
.profile-compact>.service-pale .text-link{margin-top:10px}

/* See the work: words and contact line on one side, buttons on the other */
.profile-compact>section.wrap.section:last-of-type{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:48px;row-gap:0;align-items:center}
.profile-compact>section.wrap.section:last-of-type>h2{grid-column:1;grid-row:1}
.profile-compact>section.wrap.section:last-of-type>p:first-of-type{grid-column:1;grid-row:2;margin:0;font-size:16.5px;line-height:1.6;color:var(--pf-text-mid)}
.profile-compact>section.wrap.section:last-of-type>p:last-child{grid-column:1;grid-row:3;margin:8px 0 0;font-size:15px;line-height:1.7;color:var(--pf-text-mid)}
.profile-compact>section.wrap.section:last-of-type>.hero-actions{grid-column:2;grid-row:1/span 3;margin-top:0;align-self:center}
.profile-compact>section.wrap.section:last-of-type>p:last-child a{color:var(--pf-navy);font-weight:600}
.profile-compact>section.wrap.section:last-of-type>p:last-child a[href^="https://wa.me"]{margin-inline-start:14px}

@media (max-width:980px){
  .profile-compact .card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .profile-compact>section.wrap.section:last-of-type{grid-template-columns:1fr}
  .profile-compact>section.wrap.section:last-of-type>h2,
  .profile-compact>section.wrap.section:last-of-type>p:first-of-type,
  .profile-compact>section.wrap.section:last-of-type>.hero-actions,
  .profile-compact>section.wrap.section:last-of-type>p:last-child{grid-column:1;grid-row:auto}
  .profile-compact>section.wrap.section:last-of-type>.hero-actions{margin-top:12px;order:3}
  .profile-compact>section.wrap.section:last-of-type>p:last-child{order:4}
}
@media (max-width:767px){
  .profile-compact>.section{padding-top:28px;padding-bottom:28px}
  .profile-compact>.section h2{font-size:22px}
  .profile-compact .card-grid{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin-inline:-22px;padding:0 22px 6px;scroll-padding-inline:22px}
  .profile-compact .link-card{flex:0 0 78%;scroll-snap-align:start;padding:16px}
  .profile-compact .link-card h3{font-size:17px}
  .profile-compact .link-card p{font-size:15px;line-height:1.55}
  .profile-compact .process-grid{grid-template-columns:1fr;gap:14px}
  .profile-compact .process-grid h3{font-size:17px}
  .profile-compact .process-grid p{font-size:15px;line-height:1.55}
}
