/* Services page. Load after body.css, header.css, footer.css. Needs <body class="services"> */

/* Jump links (e.g. services.html#german): scroll smoothly and stop below the fixed header */
html{scroll-behavior:smooth}
body.services section[id]{scroll-margin-top:96px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Hero */
body.services .s-hero{position:relative;padding:160px 0 80px;overflow:hidden}
body.services .s-hero::before{content:"";position:absolute;left:-10%;top:-25%;width:620px;height:620px;border-radius:50%;background:radial-gradient(circle,rgba(228,182,94,.14),transparent 68%);pointer-events:none}
body.services .crumbs{position:relative;display:flex;flex-wrap:wrap;gap:8px;font-size:.88rem;color:var(--muted);margin-bottom:30px}
body.services .crumbs a:hover{color:var(--gold2)}
body.services .crumbs li+li::before{content:"/";margin-right:8px;opacity:.5}
body.services .s-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center}
body.services .s-hero h1{font-size:clamp(2.5rem,5.6vw,4.7rem);font-weight:800;line-height:1.03;margin-bottom:24px;max-width:15ch}
body.services .s-hero .lead{max-width:52ch}
body.services .s-hero .cta-row{margin-top:30px}
body.services .flagwall{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
body.services .flagwall a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;aspect-ratio:1;padding:8px;border:1px solid var(--line);border-radius:16px;background:var(--bg2);transition:border-color .2s,transform .2s}
body.services .flagwall a:hover{border-color:var(--gold);transform:translateY(-3px)}
body.services .flagwall img{display:block;width:64px;height:42px;object-fit:cover;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.4)}
body.services .flagwall span{font-size:.78rem;color:var(--muted);text-align:center;line-height:1.2}
body.services .flagwall a.all{background:linear-gradient(135deg,var(--gold2),var(--gold));border-color:transparent;color:#150e03}
body.services .flagwall a.all strong{font:800 1.7rem/1 var(--serif)}
body.services .flagwall a.all span{color:#150e03;font-weight:600}

/* Service tiles */
body.services .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
body.services .tile{position:relative;padding:28px 26px 26px;border:1px solid var(--line);border-radius:16px;background:var(--bg2);overflow:hidden}
body.services .tile .ic{display:block;font-size:1.9rem;line-height:1;margin-bottom:34px}
body.services .tile h3{font-size:1.18rem;margin-bottom:8px}
body.services .tile p{color:var(--muted);font-size:.95rem}
body.services .tile .more{display:inline-block;margin-top:14px;color:var(--gold2);font-weight:600;font-size:.92rem}
body.services .tile .more:hover{text-decoration:underline}
body.services .tile.feature{grid-column:span 2;background:linear-gradient(135deg,var(--gold2),var(--gold));border-color:transparent;color:#150e03}
body.services .tile.feature p{color:#2b1d07;max-width:46ch}
body.services .tile.feature .badge{display:inline-block;margin-bottom:26px;padding:5px 14px;border:1.5px solid #150e03;border-radius:999px;font-weight:600;font-size:.85rem}
body.services .tile.feature h3{font-size:1.7rem}
body.services .tile.feature .btn{margin-top:22px;background:#0a0704;color:var(--gold2)}

/* Process: this is a real sequence, so it is numbered */
body.services .steps{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
body.services .steps::before{content:"";position:absolute;left:20px;right:20px;top:20px;border-top:2px dashed var(--gold);opacity:.5}
body.services .steps li{position:relative}
body.services .steps b{position:relative;display:grid;place-items:center;width:42px;height:42px;margin-bottom:22px;border-radius:50%;background:var(--gold2);color:#150e03;font:700 1.05rem var(--serif)}
body.services .steps h3{font-size:1.15rem}
body.services .steps p{color:var(--muted);margin-top:8px;font-size:.96rem}

/* Coaching */
body.services .coach{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
body.services .exams{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
body.services .exams li{padding:9px 18px;border:1px solid var(--gold);border-radius:999px;color:var(--gold2);font-weight:600;font-size:.93rem}
body.services .exams li a{color:inherit}
body.services .exams li:hover{background:rgba(228,182,94,.1)}
body.services .coach-list{border-top:1px solid var(--line)}
body.services .coach-list li{display:flex;gap:16px;align-items:flex-start;padding:20px 0;border-bottom:1px solid var(--line)}
body.services .coach-list li::before{content:"";flex:none;width:10px;height:10px;margin-top:.55em;border-radius:50%;background:var(--gold2)}
body.services .coach-list b{display:block;color:var(--cream);font-weight:600;margin-bottom:2px}
body.services .coach-list span{color:var(--muted);font-size:.95rem}

/* German language */
body.services .levels{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:44px}
body.services .levels li{padding:26px 22px 22px;border:1px solid var(--line);border-radius:16px;background:var(--bg2);transition:border-color .25s,transform .25s}
body.services .levels li:hover{border-color:var(--gold);transform:translateY(-4px)}
body.services .levels b{display:inline-grid;place-items:center;min-width:48px;height:48px;padding:0 12px;margin-bottom:22px;border-radius:14px;background:var(--gold2);color:#150e03;font:800 1.2rem var(--serif)}
body.services .levels h3{font-size:1.1rem;margin-bottom:6px}
body.services .levels p{color:var(--muted);font-size:.93rem}
body.services .german-note{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
body.services .german-cta .cta-row{margin-top:22px}

/* Placements */
body.services .place-list{border-top:1px solid var(--line)}
body.services .place{display:grid;grid-template-columns:56px 1fr auto;gap:20px;align-items:center;padding:22px 8px;border-bottom:1px solid var(--line);transition:background .2s}
body.services .place:hover{background:rgba(228,182,94,.06)}
body.services .place i{font-style:normal;font-size:2rem;line-height:1}
body.services .place h3{font-size:1.15rem;margin-bottom:4px}
body.services .place p{color:var(--muted);font-size:.95rem}
body.services .place em{font-style:normal;color:var(--gold2);font-weight:600;font-size:.92rem;white-space:nowrap}

/* Destinations */
body.services .dest-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body.services .dcard{position:relative;display:block;padding:26px 22px 22px;border:1px solid var(--line);border-radius:16px;background:var(--bg2);overflow:hidden;transition:border-color .25s,transform .25s}
body.services .dcard:hover{border-color:var(--gold);transform:translateY(-4px)}
body.services .dcard img{display:block;width:56px;height:38px;object-fit:cover;margin-bottom:36px;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.4)}
body.services .dcard h3{font-size:1.1rem}
body.services .dcard p{font-size:.9rem;color:var(--muted);margin-top:6px}

/* Contact + offices */
body.services .contact-lines{margin-top:30px;line-height:2}
body.services .contact-lines a{color:var(--gold2)}
body.services .contact-lines a:hover{text-decoration:underline}
body.services .off-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0 36px}
body.services .off-grid article{padding:16px 0 10px;border-top:2px solid var(--gold)}
body.services .off-grid h3{font-size:1.1rem;margin-bottom:8px}
body.services .off-grid p{color:var(--muted);font-size:.93rem}

/* Footer social icons (also add these to css/footer.css so every page gets them) */
.socials{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}
.socials a{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);color:var(--gold2);transition:background .25s,color .25s,border-color .25s,transform .25s}
.socials a:hover{background:var(--gold2);color:#150e03;border-color:var(--gold2);transform:translateY(-3px)}

@media(max-width:980px){
  body.services .s-hero{padding-top:120px}
  body.services .s-grid,body.services .coach,body.services .german-note{grid-template-columns:1fr;gap:44px}
  body.services .tiles{grid-template-columns:1fr 1fr}
  body.services .steps{grid-template-columns:1fr 1fr}
  body.services .steps::before{display:none}
  body.services .levels{grid-template-columns:1fr 1fr}
  body.services .dest-cards,body.services .off-grid{grid-template-columns:1fr 1fr}
  body.services section[id]{scroll-margin-top:80px}
}
@media(max-width:640px){
  body.services .tiles,body.services .steps,body.services .levels,body.services .dest-cards,body.services .off-grid{grid-template-columns:1fr}
  body.services .tile.feature{grid-column:auto}
  body.services .place{grid-template-columns:44px 1fr;gap:14px}
  body.services .place em{grid-column:2}
  body.services .flagwall{grid-template-columns:repeat(3,1fr)}
  body.services .flagwall img{width:52px;height:34px}
}