
:root {
  --forest: #0b5d4f;
  --forest-dark: #06463d;
  --forest-soft: #eaf5f1;
  --navy: #17252b;
  --ink: #22343a;
  --muted: #617078;
  --gold: #c99a45;
  --cream: #f8faf9;
  --white: #ffffff;
  --line: #d9e4df;
  --shadow: 0 20px 55px rgba(23, 37, 43, .10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: 'IBM Plex Sans Arabic', 'Cairo', sans-serif; line-height: 1.8; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }

.skip-link { position: fixed; inset-inline-start: 16px; top: 12px; z-index: 20; transform: translateY(-150%); padding: 9px 14px; border-radius: 8px; color: var(--white); background: var(--forest); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.navbar { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--navy); font-weight: 800; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: var(--white); background: var(--forest); border-radius: 12px; font-size: 12px; letter-spacing: .5px; }
.nav-links { display: flex; align-items: center; gap: 23px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 13px; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--forest); }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding-inline: 17px; border-radius: 9px; color: var(--white); background: var(--forest); font-weight: 700; font-size: 13px; }
.menu-toggle { display: none; border: 1px solid var(--line); border-radius: 9px; background: var(--white); color: var(--navy); padding: 7px 11px; cursor: pointer; }

.hero { padding: 58px 0 78px; background: linear-gradient(180deg, var(--white), var(--cream)); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--forest); font-size: 12px; font-weight: 800; letter-spacing: .7px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 99px; background: var(--gold); }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.25; }
h1 { margin-bottom: 19px; font-size: clamp(35px, 5.2vw, 65px); letter-spacing: -1.8px; }
h2 { margin-bottom: 12px; font-size: clamp(28px, 3.6vw, 43px); letter-spacing: -.8px; }
h3 { margin-bottom: 8px; font-size: 20px; }
.hero-copy { max-width: 650px; }
.hero-copy > p { max-width: 620px; margin: 0; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 21px; border: 1px solid transparent; border-radius: 9px; font-weight: 800; cursor: pointer; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23,37,43,.12); }
.button-primary { color: var(--white); background: var(--forest); }
.button-primary:hover { background: var(--forest-dark); }
.button-outline { color: var(--forest); background: var(--white); border-color: var(--line); }
.button-outline:hover { border-color: #9ccdbf; background: var(--forest-soft); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-size: 13px; }
.hero-note b { color: var(--gold); font-size: 19px; }

.hero-visual { position: relative; background: var(--white); border-radius: 26px; padding: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero-image { width: 100%; height: auto; object-fit: contain; border-radius: 16px; display: block; }
.hero-visual::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; z-index: -1; border: 1px solid #b9d9d0; border-radius: 26px; }

.expertise-card { position: absolute; inset-inline-start: -24px; bottom: 28px; max-width: 245px; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 15px 35px rgba(23,37,43,.13); z-index: 6; }
.expertise-card strong { display: block; color: var(--forest); font-size: 25px; line-height: 1.2; }
.expertise-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

.trust-bar { padding: 19px 0; background: var(--forest); color: var(--white); }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.trust-title { color: #c7e9df; font-size: 13px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; padding: 0; margin: 0; }
.trust-list li { padding: 5px 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; color: var(--white); font-size: 12px; font-weight: 700; }

.section { padding: 82px 0; border-bottom: 1px solid var(--line); }
.section-white { background: var(--white); }
.section-heading { max-width: 720px; margin-bottom: 29px; }
.section-heading p { margin: 0; color: var(--muted); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 22px rgba(23,37,43,.045); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.card:hover { transform: translateY(-5px); border-color: #a7d2c7; box-shadow: var(--shadow); }
.service-card { min-height: 232px; display: flex; flex-direction: column; }
.service-card--wide { grid-column: 1 / -1; min-height: 0; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 0 18px; }
.service-card--wide .service-index { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.service-card--wide h3 { grid-column: 2; margin: 0 0 6px; }
.service-card--wide p { grid-column: 2; }
.service-card--wide .card-link { grid-column: 3; grid-row: 1 / span 2; margin: 0; padding: 0; white-space: nowrap; }
@media (max-width: 650px) { .service-card--wide { grid-template-columns: 40px minmax(0, 1fr); } .service-card--wide .service-index { align-self: start; } .service-card--wide .card-link { grid-column: 2; grid-row: auto; margin-top: 0; padding-top: 10px; white-space: normal; } }
.service-index { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; color: var(--forest); background: var(--forest-soft); font-weight: 800; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-link { display: inline-flex; margin-top: auto; padding-top: 18px; color: var(--forest); font-size: 13px; font-weight: 800; }

.problem-card { display: flex; align-items: flex-start; gap: 15px; background: var(--cream); }
.problem-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 10px; color: var(--forest); background: var(--forest-soft); font-weight: 800; }
.process-card { position: relative; padding-top: 29px; }
.process-num { position: absolute; top: 20px; inset-inline-end: 21px; color: var(--gold); font-size: 12px; font-weight: 800; }
.process-card h3 { margin-top: 18px; }

.split { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 55px; }
.value-panel { padding: 35px; border-radius: 24px; background: var(--forest); color: var(--white); box-shadow: var(--shadow); }
.value-panel h2 { color: var(--white); }
.value-panel p { color: #c7e9df; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0; margin: 24px 0 0; list-style: none; }
.value-list li { padding: 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; color: #f4fffb; font-size: 13px; }
.value-list li::before { content: '✓'; margin-inline-end: 7px; color: var(--gold); font-weight: 800; }
.timeline { border-inline-start: 2px solid #c7ded7; padding-inline-start: 25px; }
.timeline-item { position: relative; padding-bottom: 24px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; inset-inline-start: -33px; top: 6px; width: 12px; height: 12px; border: 3px solid var(--cream); border-radius: 50%; background: var(--forest); box-shadow: 0 0 0 1px var(--forest); }
.timeline-item small { color: var(--gold); font-weight: 800; }
.timeline-item p { margin: 0; color: var(--muted); }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.testimonial { overflow: hidden; padding: 0; }
#testimonials .testimonial picture { display: block; width: 100%; height: auto; max-height: none; overflow: visible; }
#testimonials .testimonial picture img { display: block !important; width: 100% !important; max-width: 100%; height: auto !important; max-height: none !important; aspect-ratio: auto !important; object-fit: contain !important; object-position: center; background: #fff; }
.testimonial-body { padding: 18px; }
.testimonial-body span { color: var(--forest); font-size: 12px; font-weight: 800; }
.testimonial-body p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }

.faq { display: grid; gap: 10px; max-width: 880px; }
details { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
summary { display: flex; justify-content: space-between; gap: 14px; padding: 17px 19px; cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--forest); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
.answer { padding: 0 19px 17px; color: var(--muted); }
.answer p { margin: 0; }

.contact-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 25px; padding: 28px; border: 1px solid #b9d9d0; border-radius: 22px; background: linear-gradient(135deg, var(--forest-soft), var(--white)); }
.contact-box h2 { margin-bottom: 10px; }
.contact-box > div > p { color: var(--muted); }
#contact-form { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 12px 30px rgba(23,37,43,.07); }
.form-intro { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 14px; border-radius: 12px; background: var(--forest-soft); }
.form-intro-mark { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 12px; color: var(--white); background: var(--forest); font-size: 12px; font-weight: 800; }
.form-intro strong, .form-intro > div > span { display: block; }
.form-intro strong { color: var(--navy); font-size: 14px; }
.form-intro > div > span { margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.contact-details { display: grid; gap: 10px; margin-top: 23px; }
.contact-details a { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--white); color: var(--forest); font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.form-field { display: grid; gap: 5px; }
.form-field.full { grid-column: 1 / -1; }
#provider-service-field { padding: 14px; border: 1px solid #cfe4dc; border-radius: 12px; background: #f4faf7; }
#provider-service-field[hidden] { display: none; }
label { color: var(--navy); font-size: 13px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; color: var(--ink); background: var(--white); outline: none; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px rgba(11,93,79,.11); }
.form-submit { width: 100%; margin-top: 14px; }
@media (max-width: 650px) { #contact-form { padding: 16px; } .form-intro { align-items: flex-start; padding: 11px; } }

.site-footer { padding: 28px 0 38px; background: var(--white); color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 15px; }
.footer-links a:hover { color: var(--forest); }

.reveal { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }
.js-enabled .reveal { opacity: 0; transform: translateY(17px); }
.js-enabled .reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js-enabled .reveal { opacity: 1; transform: none; transition: none; } *, *::before, *::after { animation: none !important; } }

@media (max-width: 920px) {
  .nav-links { display: none; position: absolute; top: 74px; inset-inline: 0; flex-direction: column; align-items: stretch; padding: 16px 24px 20px; background: var(--white); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .nav-cta { display: none; }
  .hero-grid, .split, .contact-box { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { max-width: 650px; margin-inline: auto; width: 100%; }
  .expertise-card { inset-inline-start: 16px; }
}
@media (max-width: 650px) {
  .container { width: min(100% - 24px, 1160px); }
  .hero { padding: 40px 0 58px; }
  h1 { font-size: 38px; letter-spacing: -1px; }
  .hero-copy > p { font-size: 16px; }
  .hero-visual { padding: 8px; border-radius: 20px; }
  .hero-image { border-radius: 14px; }
  .hero-visual::before { inset: 12px -10px -10px 10px; border-radius: 20px; }
  .expertise-card { bottom: 18px; max-width: 210px; }
  .trust-inner { align-items: flex-start; flex-direction: column; }
  .section { padding: 58px 0; }
  .grid-3, .grid-2, .testimonial-grid { grid-template-columns: 1fr; }
  .value-list, .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

.gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.gallery-card { overflow:hidden; padding:0; margin:0; border:1px solid var(--line); border-radius:var(--radius); background:var(--cream); box-shadow:0 6px 22px rgba(23,37,43,.045); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; text-align: center; }
.gallery-card:hover { transform:translateY(-5px); border-color:#a7d2c7; box-shadow:var(--shadow); }
.gallery-card img { width:100%; height:auto; max-height:480px; object-fit:contain; background:var(--cream); transition:transform .35s ease; margin-inline:auto; }
.gallery-card:hover img { transform:scale(1.02); }
.gallery-card figcaption { padding:13px 16px; color:var(--navy); font-size:13px; font-weight:700; background: var(--white); border-top: 1px solid var(--line); }
@media (max-width:920px) { .gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:650px) { .gallery-grid { grid-template-columns:1fr; } }

/* Needs assistant */
.assistant-shell { display:grid; grid-template-columns:.75fr 1.25fr; gap:36px; align-items:start; }
.assistant-intro { padding-top:16px; }
.assistant-intro p { color:var(--muted); }
.assistant-note { margin-top:24px; padding:13px 15px; border-inline-start:3px solid var(--gold); color:var(--muted); background:var(--cream); border-radius:0 10px 10px 0; font-size:13px; }
.assistant-note strong { color:var(--navy); }
.assistant-card { padding:26px; border:1px solid var(--line); border-radius:var(--radius); background:var(--white); box-shadow:var(--shadow); }
.assistant-progress { height:6px; overflow:hidden; border-radius:99px; background:var(--forest-soft); }
.assistant-progress-bar { display:block; width:33.333%; height:100%; border-radius:inherit; background:var(--forest); transition:width .35s ease; }
.assistant-progress-meta { display:flex; justify-content:space-between; gap:12px; margin:10px 0 23px; color:var(--muted); font-size:12px; }
.assistant-step { min-inline-size:0; padding:0; margin:0; border:0; }
.assistant-step legend { margin-bottom:16px; color:var(--navy); font-size:23px; font-weight:800; }
.assistant-option { display:flex; align-items:center; gap:12px; padding:13px 14px; margin:9px 0; border:1px solid var(--line); border-radius:11px; cursor:pointer; transition:border-color .2s ease,background .2s ease,transform .2s ease; }
.assistant-option:hover { transform:translateY(-2px); border-color:#a7d2c7; background:var(--forest-soft); }
.assistant-option:has(input:checked) { border-color:var(--forest); background:var(--forest-soft); box-shadow:0 0 0 2px rgba(11,93,79,.08); }
.assistant-option input { width:18px; height:18px; flex:0 0 auto; accent-color:var(--forest); }
.assistant-option span { display:grid; gap:1px; }
.assistant-option b { color:var(--navy); font-size:14px; }
.assistant-option small { color:var(--muted); font-size:12px; }
.assistant-error { display:block; min-height:20px; margin-top:8px; color:var(--danger); font-size:12px; }
.assistant-actions, .assistant-result-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:14px; }
.assistant-result { padding:10px 2px 0; }
.assistant-result-mark { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; color:var(--white); background:var(--forest); font-size:24px; font-weight:800; }
.assistant-result h3 { margin:16px 0 7px; font-size:24px; }
.assistant-result p { margin:0; color:var(--muted); }
.assistant-result ul { padding:0; margin:18px 0 0; list-style:none; }
.assistant-result li { padding:8px 0; color:var(--ink); font-size:14px; }
.assistant-result li::before { content:'✓'; margin-inline-end:8px; color:var(--forest); font-weight:800; }
@media (max-width:920px) { .assistant-shell { grid-template-columns:1fr; gap:18px; } .assistant-intro { padding-top:0; } }
@media (max-width:650px) { .assistant-card { padding:18px; } .assistant-step legend { font-size:20px; } .assistant-actions, .assistant-result-actions { align-items:stretch; flex-direction:column-reverse; } .assistant-actions .button, .assistant-result-actions .button { width:100%; } }

.profile-badge { position:absolute; top:24px; inset-inline-end:24px; z-index:7; display:flex; flex-direction:column; align-items:center; gap:7px; min-width:126px; padding:9px 9px 11px; border:2px solid var(--white); border-radius:18px; color:var(--navy); background:rgba(255,255,255,.98); box-shadow:0 15px 35px rgba(23,37,43,.24); font-size:12px; font-weight:800; text-align:center; }
.profile-badge img { display:block !important; width:92px !important; height:92px !important; max-width:none; object-fit:cover; border:3px solid var(--white); border-radius:50%; box-shadow:0 0 0 2px var(--forest), 0 5px 14px rgba(23,37,43,.18); }
@media (max-width:920px) { .profile-badge { top:18px; inset-inline-end:18px; } }
@media (max-width:650px) { .profile-badge { top:12px; inset-inline-end:12px; min-width:96px; padding:6px 6px 8px; border-radius:14px; font-size:10px; } .profile-badge img { width:66px !important; height:66px !important; } }

.hero-profile { display:flex; align-items:center; gap:13px; width:max-content; max-width:100%; margin-bottom:22px; padding:7px 15px 7px 7px; border:1px solid #c9ded8; border-radius:999px; background:var(--white); box-shadow:0 8px 22px rgba(23,37,43,.08); }
.hero-profile img { display:block; width:82px; height:82px; object-fit:cover; border:3px solid var(--white); border-radius:50%; box-shadow:0 0 0 2px var(--forest); }
.hero-profile strong, .hero-profile span { display:block; }
.hero-profile strong { color:var(--navy); font-size:16px; line-height:1.3; }
.hero-profile span { margin-top:3px; color:var(--muted); font-size:12px; }
@media (max-width:650px) { .hero-profile { margin-bottom:18px; padding:5px 11px 5px 5px; } .hero-profile img { width:68px; height:68px; } .hero-profile strong { font-size:14px; } .hero-profile span { font-size:10px; } }

/* UX/UI refresh — clearer paths, focus states, and responsive navigation */
:root { --danger: #a4262c; --focus: #b97600; }
html { scroll-padding-top: 96px; }
body { font-size: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.site-header { box-shadow: 0 5px 20px rgba(23,37,43,.045); }
.navbar { gap: clamp(10px, 1.5vw, 22px); }
.nav-links { gap: clamp(12px, 1.5vw, 21px); font-size: 14px; }
.nav-links a { display: inline-flex; align-items:center; min-height:44px; }
.nav-cta { min-height:46px; white-space:nowrap; }
.menu-toggle { min-height:44px; }
.hero { padding-block: clamp(42px, 6vw, 76px); }
.hero-grid { gap: clamp(30px, 5vw, 64px); }
.hero-copy > p { max-width: 600px; }
.hero-actions { gap: 12px; }
.hero-actions .button { min-height:52px; }
.section-note { margin: -12px 0 24px; padding: 12px 16px; border-inline-start: 3px solid var(--gold); border-radius: 8px; background: var(--cream); color: var(--muted); font-size: 14px; }
.training-cta { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-top:24px; padding:20px 22px; border:1px solid #b9d9d0; border-radius:16px; background:var(--forest-soft); }
.training-cta > div { display:grid; gap:4px; }
.training-cta strong { color:var(--navy); font-size:17px; }
.training-cta span { color:var(--muted); font-size:14px; }
.gallery-card { display:flex; flex-direction:column; }
.gallery-card img { flex:1; }
.privacy-note { margin:10px 0 0; color:var(--muted); font-size:12px; line-height:1.6; }
.optional { color:var(--muted); font-size:12px; font-weight:500; }
.floating-whatsapp { position:fixed; z-index:9; inset-inline-end:22px; bottom:20px; display:inline-flex; align-items:center; gap:9px; min-height:50px; padding:10px 17px; border:2px solid var(--white); border-radius:999px; color:var(--white); background:#16865d; box-shadow:0 8px 24px rgba(12,65,48,.25); font-weight:800; font-size:14px; transition:transform .2s ease, background .2s ease; }
.floating-whatsapp:hover { transform:translateY(-2px); background:#106c4a; }
.whatsapp-icon { display:grid; place-items:center; width:24px; height:24px; border:1.5px solid currentColor; border-radius:50%; font-size:16px; line-height:1; }
.assistant-error { color:var(--danger); }
.assistant-step[hidden], .assistant-result[hidden] { display:none !important; }
#form-status:empty { display:none; }
#form-status { margin:10px 0 0; }
@media (min-width: 921px) and (max-width: 1120px) {
  .navbar { gap:10px; }
  .nav-links { gap:10px; font-size:12px; }
  .brand { gap:7px; font-size:14px; }
  .nav-cta { padding-inline:12px; font-size:12px; }
}
@media (max-width: 920px) {
  .navbar { position:relative; }
  .nav-links { top:100%; max-height:calc(100vh - 80px); overflow:auto; padding:10px 24px 20px; box-shadow:0 15px 24px rgba(23,37,43,.09); }
  .nav-links li a { display:flex; min-height:46px; padding:8px 10px; border-radius:8px; }
  .nav-links li a:hover { background:var(--forest-soft); }
  .nav-cta { display:inline-flex; margin-inline-start:auto; }
  .menu-toggle { order:3; }
}
@media (max-width: 650px) {
  .container { width:min(100% - 28px, 1160px); }
  .navbar { min-height:66px; gap:8px; }
  .brand { font-size:14px; gap:7px; }
  .brand-mark { width:34px; height:34px; }
  .nav-cta { min-height:40px; padding-inline:10px; font-size:11px; }
  .menu-toggle { padding:7px 9px; font-size:12px; }
  .hero { padding:34px 0 48px; }
  h1 { max-width:16ch; font-size:clamp(34px, 9.2vw, 42px); line-height:1.32; }
  .hero-actions { display:grid; grid-template-columns:1fr; }
  .hero-actions .button { width:100%; }
  .trust-list { gap:7px; }
  .trust-list li { font-size:11px; }
  .section { padding:54px 0; }
  .training-cta { align-items:stretch; flex-direction:column; padding:17px; }
  .training-cta .button { width:100%; }
  .floating-whatsapp { inset-inline:14px; bottom:12px; justify-content:center; min-height:48px; }
  .site-footer { padding-bottom:82px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}


.language-switch { display:inline-flex !important; align-items:center; justify-content:center; min-height:36px !important; padding:6px 10px !important; border:1px solid var(--line); border-radius:8px; color:var(--forest) !important; background:var(--white); font-size:12px; font-weight:800; white-space:nowrap; }
.language-switch:hover { border-color:#9ccdbf; background:var(--forest-soft); }
.english-site .nav-cta { padding-inline:12px; }
@media (max-width:650px) { .language-switch { width:max-content; } }


/* Crawlable training-program detail pages */
.breadcrumb-nav { padding-top: 18px; }
.breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; list-style:none; padding:0; margin:0; color:var(--muted); font-size:13px; }
.breadcrumbs li:not(:last-child)::after { content:'›'; margin-inline-start:8px; color:var(--gold); }
.breadcrumbs a:hover { color:var(--forest); text-decoration:underline; }
.course-hero { padding:42px 0 52px; background:linear-gradient(180deg,var(--white),var(--cream)); border-bottom:1px solid var(--line); }
.course-hero h1 { max-width:900px; margin:10px 0 14px; font-size:clamp(32px,5vw,54px); letter-spacing:-.8px; }
.course-subtitle { max-width:860px; margin:0 0 12px; color:var(--forest); font-size:clamp(18px,2.6vw,24px); font-weight:700; }
.course-description { max-width:820px; margin:0 0 22px; color:var(--muted); font-size:17px; }
.course-note { max-width:820px; margin:18px 0 0; padding:12px 15px; border-inline-start:3px solid var(--gold); border-radius:8px; background:var(--white); color:var(--muted); font-size:14px; }
.course-content-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.course-detail-card h2 { font-size:24px; }
.course-detail-card h3 { font-size:17px; }
.service-detail-cta { margin-top:18px; }
.course-list { display:grid; gap:10px; padding-inline-start:22px; margin:0; color:var(--ink); }
.course-list li { padding-inline-start:3px; }
.course-numbered { padding-inline-start:25px; }
.course-modules { grid-column:1 / -1; }
.course-faq { grid-column:1 / -1; }
.course-faq p { margin:0; color:var(--muted); }
.course-references { max-width:900px; }
.course-references h2 { font-size:28px; }
.course-references > p { color:var(--muted); }
.course-references ul { display:grid; gap:8px; padding-inline-start:22px; margin-bottom:24px; }
.course-references a:not(.button) { color:var(--forest); text-decoration:underline; text-underline-offset:3px; }
@media (max-width:650px) {
  .course-hero { padding:30px 0 38px; }
  .course-hero h1 { font-size:34px; }
  .course-description { font-size:16px; }
  .course-content-grid { grid-template-columns:1fr; }
  .course-modules,.course-faq { grid-column:auto; }
}

/* Responsive modern-image wrappers; preserve existing image styling and layout. */
.responsive-picture { display:block; }
.hero-visual > .responsive-picture { width:100%; }
.hero-profile > .responsive-picture { flex:0 0 auto; }
.gallery-card > .responsive-picture { display:block; flex:1; width:100%; }
.testimonial > .responsive-picture { display:block; }


/* Source-linked food-safety standards and terminology pages */
.reference-hero { padding: 66px 0 58px; background: linear-gradient(135deg, #fff 0%, var(--forest-soft) 100%); border-bottom: 1px solid var(--line); }
.reference-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.reference-hero h1 { max-width: 760px; margin: 15px 0; font-size: clamp(34px, 5vw, 58px); }
.reference-hero-inner > div > p { max-width: 720px; color: var(--muted); font-size: 18px; }
.reference-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 19px; color: var(--muted); font-size: 12px; }
.reference-meta span { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.78); }
.reference-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 23px; }
.reference-highlight { padding: 28px; border: 1px solid #b9d9d0; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.reference-highlight-mark { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--forest); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .4px; }
.reference-highlight strong { display: block; color: var(--navy); font-size: 20px; line-height: 1.45; }
.reference-highlight p { margin: 9px 0 14px; color: var(--muted); font-size: 14px; }
.reference-highlight a, .reference-term-card a { color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.reference-grid { align-items: stretch; }
.reference-card { display: flex; flex-direction: column; min-height: 245px; }
.reference-card-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 15px; }
.reference-tag, .reference-status { display: inline-flex; align-items: center; min-height: 27px; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.reference-tag { color: var(--forest); background: var(--forest-soft); }
.reference-status { color: #775818; background: #fbf3e5; }
.reference-card h3 { margin-bottom: 10px; }
.reference-card p, .reference-term-card p { color: var(--muted); font-size: 14px; }
.reference-card .reference-detail { padding: 10px 12px; border-radius: 10px; background: var(--cream); font-size: 13px; }
.reference-card .card-link { margin-top: auto; }
.reference-links-inline { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 17px; }
.reference-links-inline a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--forest); font-size: 12px; font-weight: 800; }
.reference-card-callout { background: linear-gradient(145deg, var(--white), var(--forest-soft)); }
.reference-term-card { position: relative; padding-top: 25px; }
.reference-abbr { display: inline-flex; max-width: 100%; margin-bottom: 12px; padding: 5px 10px; border-radius: 8px; color: var(--forest); background: var(--forest-soft); font-size: 12px; font-weight: 800; letter-spacing: .15px; overflow-wrap: anywhere; }
.reference-term-card h3 { font-size: 18px; }
.reference-term-card p { margin-bottom: 0; }
.reference-warning { margin-top: 26px; padding: 17px 20px; border: 1px solid #e9d7ad; border-radius: 12px; color: #654f21; background: #fffaf0; font-size: 13px; }
.reference-source-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; padding-inline-start: 24px; margin: 0; }
.reference-source-list li { padding: 8px 10px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.reference-source-list a { color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.reference-closing { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-top: 35px; padding: 28px; border-radius: 20px; background: var(--forest); color: var(--white); }
.reference-closing h2 { margin-bottom: 7px; color: var(--white); font-size: clamp(22px, 3vw, 30px); }
.reference-closing p { margin: 0; color: #c7e9df; }
.reference-closing .button { flex: 0 0 auto; color: var(--forest); background: var(--white); }
.english-site .reference-highlight { text-align: left; }
.english-site .reference-source-list { padding-left: 24px; padding-right: 0; }
.english-site .reference-closing { text-align: left; }
@media (max-width: 920px) { .reference-hero-inner { grid-template-columns: 1fr; gap: 27px; } .reference-highlight { max-width: 700px; } }
@media (max-width: 650px) { .reference-hero { padding: 44px 0; } .reference-hero-inner > div > p { font-size: 16px; } .reference-source-list { grid-template-columns: 1fr; gap: 3px; } .reference-closing { align-items: flex-start; flex-direction: column; padding: 23px; } .reference-meta { align-items: flex-start; flex-direction: column; } }

.brand-logo { display: block; width: 76px; height: 48px; padding: 2px 3px; border: 1px solid var(--line); border-radius: 9px; background: var(--white); object-fit: contain; }
.reference-home-action { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 650px) { .brand-logo { width: 62px; height: 42px; } }


/* Selected work logo gallery */
.portfolio-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.portfolio-mark { display:grid; place-items:center; min-height:154px; padding:16px; margin:0; border:1px solid var(--line); border-radius:16px; background:var(--white); transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease; }
.portfolio-mark:hover { transform:translateY(-4px); border-color:#a7d2c7; box-shadow:var(--shadow); }
.portfolio-mark img { width:100%; height:112px; object-fit:contain; }
.portfolio-picture { display:block; width:100%; }
.case-study-card { max-width:920px; margin:30px auto 0; }
.case-study-card h3 { margin:9px 0 14px; font-size:23px; }
.case-study-card strong { color:var(--ink); }
.case-study-outcome { margin-top:16px; padding:14px 16px; border-inline-start:3px solid var(--gold); border-radius:10px; background:var(--forest-soft); }
.case-study-outcome p { margin-top:6px; color:var(--ink); font-weight:700; }
.case-study-note { margin-top:12px !important; font-size:13px !important; }
@media (max-width:920px) { .portfolio-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:650px) { .portfolio-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .portfolio-mark { min-height:126px; padding:11px; } .portfolio-mark img { height:92px; } }

/* Collaboration partner profile marks */
.collaboration-partners { display:flex; flex-wrap:wrap; gap:12px; margin:16px 0; }
.collaboration-partner { display:flex; align-items:center; gap:10px; padding:8px 12px; border:1px solid var(--line); border-radius:12px; background:var(--white); color:var(--ink); text-decoration:none; transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.collaboration-partner:hover { transform:translateY(-2px); border-color:#a7d2c7; box-shadow:var(--shadow); }
.collaboration-partner img { width:64px; height:64px; flex:0 0 64px; object-fit:contain; }
.collaboration-partner span { font-weight:700; }
