/* Inov Afrika — shared visual system for all pages. */
:root {
  --navy: #132963;
  --green: #087e49;
  --violet: #832382;
  --ink: #101c38;
  --muted: #62718b;
  --radius: 22px;
  --shadow: 0 18px 50px rgb(15 35 74 / 8%);
}
html { scroll-padding-top: 116px; }
body { font-family: 'DM Sans', sans-serif; color: var(--ink); }
h1, h2, h3, h4, .btn, .nav-link { font-family: 'Manrope', sans-serif; }
/* Fixed type scale requested by the client, including cards and mobile. */
h1 { font-size: 40px !important; }
h2 { font-size: 35px !important; }
h3 { font-size: 30px !important; }
h4 { font-size: 25px !important; }
h1, h2, h3, h4 {
  margin-top: 0;
  line-height: 1.22;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: pretty;
  overflow-wrap: break-word;
}
h4 { color: var(--navy); }
p { line-height: 1.75; }
button, input, textarea, select { font: inherit; }
a, button { transition: transform .25s, color .25s, background .25s, box-shadow .25s; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, summary:focus-visible { outline: 3px solid #5abd8c; outline-offset: 4px; }
.container { width: min(var(--container), calc(100% - 64px)); }
.container > *, .section-head > *, .audience-heading > *,
.service-card > *, .footer-grid > *, .newsletter-layout > * { min-width: 0; }
.section { padding-block: 88px; }
.section-head, .audience-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 36px;
}
.section-head h2, .audience-heading h2 { max-width: 740px; margin-bottom: 0; }
.section-head > p, .audience-heading > p { max-width: 390px; margin: 0; }
.section h2 em { color: var(--violet); font-style: normal; }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.btn { min-height: 50px; border-radius: 999px; padding: 14px 23px; gap: 12px; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(9 65 58 / 14%); }
.btn-primary { background: var(--violet); border-color: var(--violet); }
.btn-primary:hover { background: #69216a; }
.btn-outline { background: #fff; border-color: var(--green); }

/* Rounded floating navigation, over the full-bleed hero photograph. */
.site-header {
  position: fixed;
  inset: max(14px, env(safe-area-inset-top)) 0 auto;
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
  z-index: 100;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 24px;
  background: rgb(255 255 255 / 92%);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 12px 40px rgb(8 24 46 / 14%);
}
.site-header.scrolled { background: rgb(255 255 255 / 97%); box-shadow: 0 14px 44px rgb(8 24 46 / 18%); }
.header-main { width: 100%; min-height: 80px; padding: 10px 20px; gap: 20px; }
.brand { max-width: 185px; }
.brand img { width: 178px; height: 43px; object-fit: contain; }
.brand span { font-size: 9px; }
.desktop-nav { gap: 4px; }
.desktop-nav .nav-link { padding: 11px 10px; font-size: 13px; border-radius: 999px; }
.desktop-nav .nav-link:hover, .desktop-nav .nav-link.active { background: #eaf4ee; color: #076c40; }
.desktop-nav .nav-link::after { display: none; }
.header-quote { border-radius: 999px; padding: 13px 18px; font-size: 13px; }
.header-quote:hover { background: #04663b; transform: translateY(-2px); }
.menu-toggle { width: 44px; height: 44px; border-radius: 50%; padding: 10px; }
.mobile-nav { border-radius: 0 0 24px 24px; background: #fff; }

/* Shared photographic heroes: image covers the entire section and header. */
.hero, .page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #102a35;
  padding: 160px 0 38px;
  color: #fff;
}
.hero::before, .page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, rgb(7 23 38 / 90%) 0%, rgb(7 23 38 / 75%) 42%, rgb(7 23 38 / 22%) 100%);
  z-index: -1;
  pointer-events: none;
}
.hero-visual, .page-banner-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  background: #193944;
  animation: none !important;
}
.hero-visual > img, .page-banner-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: none;
  transform: none;
  animation: heroPhoto 1.5s ease-out both;
}
.hero-visual::after { display: none; }
.hero-visual:hover img { transform: none; }
.hero-grid, .page-banner-grid {
  position: relative;
  display: block;
  min-height: 0;
  padding-block: 0;
}
.hero-copy { max-width: 700px; padding: 22px 0 48px; }
.hero-copy h1, .page-banner h1 { color: #fff; max-width: 700px; margin: 20px 0; line-height: 1.22; }
.hero-copy h1 em { color: #91e6b8; }
.hero .eyebrow, .page-banner .eyebrow { color: #a6edc4; }
.hero .eyebrow span, .page-banner .eyebrow span { background: #a6edc4; }
.hero-lead, .page-banner p { color: #e0e7ec; max-width: 630px; font-size: 17px; line-height: 1.8; }
.hero-actions, .banner-actions { gap: 12px; margin: 26px 0; }
.hero .btn-outline, .page-banner .btn-outline { color: #fff; background: rgb(255 255 255 / 8%); border-color: #ffffff80; }
.hero .btn-outline:hover, .page-banner .btn-outline:hover { background: #fff; color: var(--navy); }
.hero-trust, .hero-meta { color: #e0e7ec; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.hero-trust { margin-top: 24px; }
.hero-trust .ico { color: #91e6b8; }
.hero-meta { margin-top: 14px; }
.hero-indicator { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #91e6b8; box-shadow: 0 0 0 5px #91e6b81a; }
.hero-photo-note, .hero-corner { display: none; }
.quick-contacts {
  position: relative;
  top: auto;
  padding: 24px 28px;
  border: 1px solid #ffffff80;
  border-radius: 20px;
  background: rgb(255 255 255 / 96%);
  box-shadow: var(--shadow);
  gap: 24px;
}
.quick-contacts > a { padding-right: 20px; }
.quick-contacts > a:last-child { padding-right: 0; }
.quick-contacts a:hover { color: var(--green); }
.quick-contacts b { font-size: 14px; }
.page-banner { padding-block: 165px 70px; min-height: 480px; display: flex; align-items: center; }
.page-banner-grid > div:first-child { max-width: 720px; }
.page-banner h1 { margin-top: 0; }
.page-banner p { margin-bottom: 0; }
.banner-actions { margin-bottom: 0; }
.banner-art { background: linear-gradient(120deg, #102a50, #087e49); }
.banner-art > span, .banner-art .orbit { display: none; }
main.no-hero { padding-top: 110px; }

/* Cards share a consistent grid, internal rhythm and aligned links. */
.services-grid, .project-grid, .posts-grid, .three-grid { gap: 24px; align-items: stretch; }
.services-grid > *, .project-grid > *, .posts-grid > *, .three-grid > * { min-width: 0; }
.service-card, .info-card, .project-card, .post-card, .training-card, .step {
  border: 1px solid #e2e8ec;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 24px rgb(16 30 66 / 4%);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.service-card:hover, .info-card:hover, .project-card:hover, .post-card:hover, .training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgb(12 32 58 / 11%);
  border-color: #b6d9c6;
}
.service-card { display: flex; flex-direction: column; gap: 20px; padding: 30px 28px 58px; min-height: 310px; }
.service-card h3 { margin: 12px 0 14px; }
.service-card p, .info-card p, .project-content p, .post-content p, .step p { font-size: 15px; line-height: 1.75; }
.service-icon { width: 50px; height: 50px; border-radius: 15px; background: #eaf5ed; }
.mini-number, .project-meta { font-size: 10px; letter-spacing: .1em; }
.round-arr { display: grid; place-items: center; width: 30px; height: 30px; background: #edf6f0; border-radius: 50%; bottom: 20px; right: 24px; }
.project-card, .post-card, .training-card, .info-card { display: flex; flex-direction: column; }
.project-image { height: 230px; flex: none; }
.post-card > a { height: 215px; flex: none; }
.project-content, .post-content { padding: 28px; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.project-content h3, .post-content h3 { margin: 12px 0 16px; }
.project-content .text-link, .post-content .text-link { margin-top: auto; padding-top: 12px; }
.text-link { font-size: 14px; gap: 9px; }
.info-card { padding: 30px; }
.info-card > .ico { margin-bottom: 24px; }
.info-card > .text-link, .info-card > .btn { margin-top: auto; align-self: flex-start; }
.info-card h3 { margin-bottom: 16px; }
.info-card.spacious { padding: 32px; }
.steps { gap: 24px; }
.step { padding: 28px; background: #f6f9fb; }
.step h3 { margin-bottom: 14px; }
.step > span { margin-bottom: 24px; border-radius: 50%; }
.value-grid { gap: 24px; }
.value-grid h3 { margin-block: 14px 12px; }
.value-grid p { font-size: 14px; }
.about-grid, .feature-split { gap: 64px; }
.about-visual { min-height: 520px; border-radius: 24px; }
.feature-photo { height: 430px; border-radius: 24px; }

/* Alternating full-width sections add pace to the long homepage. */
.audience-section { position: relative; background: #10295f; color: #fff; overflow: hidden; }
.audience-heading h2 { color: #fff; }
.audience-heading h2 em { color: #a9e0c1; }
.audience-heading p { color: #d2def1; }
.audience-section .eyebrow { color: #9be5b9; }
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.audience-card { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-height: 380px; padding: 32px; border-radius: 22px; border: 1px solid #ffffff30; background: #1a3a70; color: #fff; }
.audience-card-b { background: #6e296f; }
.audience-card-c { background: #0b6955; }
.audience-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px #0002; }
.audience-card h3 { color: #fff; margin: 0; }
.audience-card p { color: #edf1f8; font-size: 15px; margin: 0; }
.audience-card > span { width: 100%; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid #ffffff40; font-size: 14px; font-weight: 800; }
.audience-card b { font-size: 23px; }
.audience-number { color: #c7ebd5; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.impact-section { background: #f3f8f5; }
.impact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.impact-image { height: 560px; border-radius: 24px; overflow: hidden; position: relative; }
.impact-image img { width: 100%; height: 100%; object-fit: cover; }
.impact-image-caption { position: absolute; inset: auto 24px 24px; padding: 18px; border-radius: 14px; background: #fffffff0; color: var(--navy); font-size: 14px; font-weight: 800; }
.impact-copy h2 { margin-block: 16px 24px; }
.impact-copy > p, .need-layout p { color: var(--muted); }
.impact-benefits { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 20px; }
.impact-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.impact-benefits li > span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #e0f0e5; color: var(--green); }
.impact-benefits b, .impact-benefits small { display: block; }
.impact-benefits small { color: var(--muted); margin-top: 4px; font-size: 14px; }
.need-section { background: #f0f4fa; }
.need-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.need-options { display: grid; gap: 12px; }
.need-options a { display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #dce5ee; border-radius: 16px; padding: 20px 24px; background: #fff; color: var(--navy); font-weight: 700; }
.need-options a span { flex: none; color: var(--green); font-size: 24px; }
.need-options a:hover { border-color: #96c8b0; transform: translateX(4px); }
.cta-strip { background: linear-gradient(110deg, #10275d, #134e65 60%, #087c4c); padding-block: 72px; }
.cta-strip::before, .cta-strip::after { pointer-events: none; }
.cta-layout { gap: 40px; }
.cta-layout > div:first-child { min-width: 0; }
.cta-buttons { max-width: 330px; }

/* Forms and footer follow the same left alignment and spacing. */
.contact-grid { gap: 64px; align-items: start; }
.contact-info > p { max-width: 520px; }
.contact-details { gap: 24px; }
.form-panel { padding: 34px; border-radius: 24px; border-color: #e2e8ec; box-shadow: var(--shadow); }
.form-panel > h2, .form-panel > h3 { margin-bottom: 16px; }
.form-panel input, .form-panel textarea, .form-panel select, .newsletter-form input { border-radius: 12px; background: #f8fafb; padding: 14px; }
.form-panel input:focus, .form-panel textarea:focus, .form-panel select:focus { background: #fff; border-color: var(--green); }
.form-row { gap: 20px; }
.lead-form { gap: 20px; }
.newsletter-section { background: #edf5f2; padding-block: 48px; }
.newsletter-layout { align-items: center; gap: 48px; }
.newsletter-intro { flex: 1; align-items: flex-start; }
.newsletter-intro h2 { margin-bottom: 12px; }
.newsletter-intro > .ico { margin-top: 5px; flex: none; }
.newsletter-form { flex: 1; min-width: 0; }
.newsletter-form input { min-width: 0; }
.newsletter-form button { border-radius: 999px; flex: none; }
.newsletter-status { position: static; flex-basis: 100%; margin-top: 6px; }
.newsletter-form { flex-wrap: wrap; }
.newsletter-form input { flex: 1; width: auto; }
.footer { background: #101f47; }
.footer-grid { grid-template-columns: 1.3fr .9fr 1fr 1.2fr; gap: 32px; }
.footer-grid h3 { margin-bottom: 22px; }
.footer-grid > div { min-width: 0; }
.footer-btn { border-radius: 999px; }
.article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
.article-side { top: 120px; padding: 26px; }
.sample-note { font-size: 12px; color: var(--muted); margin-top: 24px; }
.float-contact { border-radius: 999px; box-shadow: 0 12px 36px #064b2933; }
.conversion-dock { display: none; }

/* Motion is optional; every section remains readable without JavaScript. */
.has-motion [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.has-motion [data-reveal].in-view { opacity: 1; transform: none; }
@keyframes heroPhoto { from { transform: scale(1.035); } to { transform: scale(1); } }

/* Reserve the same title area within each desktop card row. */
@media (min-width: 701px) {
  .service-card h3 { min-height: 2.44em; }
  .project-content h3, .post-content h3 { min-height: 3.66em; }
}
@media (min-width: 981px) {
  .audience-card h3 { min-height: 3.66em; }
}

@media (max-width: 1150px) {
  .desktop-nav, .header-quote { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .site-header.menu-open .mobile-nav { display: flex; flex-direction: column; }
  .mobile-nav { padding: 12px 24px 24px; max-height: calc(100dvh - 130px); overflow-y: auto; border-top: 1px solid var(--line); }
  .mobile-nav .nav-link { padding: 12px 8px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .mobile-nav .nav-link::after { display: none; }
  .mobile-nav > a:not(.btn):not(.nav-link) { padding: 5px; font-size: 14px; color: var(--green); overflow-wrap: anywhere; }
  .mobile-nav-cta { margin-block: 16px 12px; }
  .about-grid, .feature-split, .impact-layout, .need-layout, .contact-grid { gap: 36px; }
  .audience-card { padding: 26px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .footer-grid > div:nth-child(4) { grid-column: auto; }
}
@media (max-width: 980px) {
  .services-grid, .project-grid, .posts-grid, .three-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-card { min-height: 0; padding: 30px; }
  .section-head, .audience-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-head > p, .audience-heading > p { max-width: 650px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-contacts { gap: 16px; padding: 22px; }
  .quick-contacts > a { padding-right: 12px; gap: 10px; }
  .quick-contacts b { font-size: 12px; }
  .quick-contacts > a > .ico:first-child { width: 22px; height: 22px; }
  .hero-copy { max-width: 660px; }
  .hero::before, .page-banner::before { background: linear-gradient(90deg, #071726ed, #071726b3 65%, #07172666); }
  .about-grid, .feature-split, .impact-layout, .need-layout, .contact-grid { grid-template-columns: 1fr; }
  .about-visual, .impact-image { height: 430px; min-height: 0; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
  .newsletter-layout { display: block; }
  .newsletter-form { max-width: 100%; margin-top: 24px; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { width: calc(100% - 24px); top: max(12px, env(safe-area-inset-top)); border-radius: 22px; }
  .header-main { width: 100%; min-height: 70px; padding: 10px 14px; }
  .brand img { height: 36px; width: 150px; }
  .brand span { font-size: 8px; }
  .hero { padding: 126px 0 26px; }
  .hero-grid { display: block; }
  .hero-copy { padding: 16px 0 30px; }
  .hero-copy h1 { margin-top: 18px; }
  .hero-lead, .page-banner p { font-size: 16px; }
  .hero-trust, .hero-meta { font-size: 12px; align-items: flex-start; }
  .hero-trust .ico { margin-top: 3px; }
  .hero-indicator { margin-top: 5px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; flex: auto; padding: 14px 20px; }
  .hero .eyebrow, .page-banner .eyebrow { font-size: 10px; letter-spacing: .08em; }
  .eyebrow > span { width: 18px; flex: none; }
  .quick-contacts { margin-top: 4px; top: auto; grid-template-columns: 1fr; border-radius: 18px; padding: 20px; gap: 16px; }
  .quick-contacts > a { padding: 0; gap: 14px; }
  .quick-contacts > a:not(:last-child) { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .quick-contacts b { font-size: 13px; }
  .page-banner { min-height: 0; padding: 140px 0 48px; }
  .page-banner-grid { padding: 0; }
  .banner-actions { flex-direction: column; }
  .banner-actions .btn { padding: 14px 20px; }
  .section, .services-section { padding-block: 60px; }
  .section-head, .audience-heading { margin-bottom: 28px; gap: 18px; }
  .services-grid, .project-grid, .posts-grid, .three-grid, .steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .service-card { min-height: 0; padding: 26px 24px 56px; }
  .project-content, .post-content, .info-card, .info-card.spacious, .step, .audience-card { padding: 26px 24px; }
  .project-image, .post-card > a { height: 220px; }
  .about-grid, .feature-split, .impact-layout, .need-layout, .contact-grid { gap: 30px; }
  .about-visual, .impact-image, .feature-photo { min-height: 0; height: 320px; border-radius: 22px; }
  .impact-image-caption { inset: auto 16px 16px; padding: 14px; }
  .value-grid { grid-template-columns: 1fr; gap: 24px; }
  .need-options a { padding: 18px 20px; font-size: 14px; }
  .cta-strip { padding-block: 58px; }
  .cta-buttons { width: 100%; max-width: none; flex-direction: column; }
  .form-panel { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-details b { font-size: 14px; }
  .newsletter-section { padding-block: 40px; }
  .newsletter-intro { gap: 12px; }
  .newsletter-intro > .ico { display: none; }
  .newsletter-form { gap: 12px; }
  .newsletter-form input, .newsletter-form button { flex-basis: 100%; width: 100%; }
  .newsletter-form button { justify-content: center; min-height: 48px; }
  .footer { padding-top: 48px; padding-bottom: 84px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 38px; }
  .footer-grid > div:first-child, .footer-grid > div:nth-child(4) { grid-column: auto; }
  .footer-grid h3 { margin-bottom: 18px; }
  .footer-bottom { gap: 12px; }
  .conversion-dock { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 90; padding: 10px 14px max(10px, env(safe-area-inset-bottom)); gap: 10px; background: #fffffff5; border-top: 1px solid #e8eef2; backdrop-filter: blur(16px); box-shadow: 0 -8px 30px #152f6212; }
  .conversion-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; min-height: 44px; font-size: 13px; font-weight: 800; }
  .dock-call { background: #eaf5ee; color: #087e49; }
  .dock-quote { background: var(--violet); color: #fff; }
  .float-contact { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .has-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Language selector: local flag artwork, circular crops and native disclosure. */
.language-switcher { position: relative; flex: none; color: var(--navy); }
.language-switcher > summary {
  list-style: none; display: flex; align-items: center; justify-content: center;
  gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid #dce5e5;
  border-radius: 999px; background: #fff; cursor: pointer;
  font-size: 12px; font-weight: 800; user-select: none;
}
.language-switcher > summary::-webkit-details-marker { display: none; }
.language-switcher > summary:hover, .language-switcher[open] > summary { background: #edf6f0; border-color: #b6d9c6; }
.language-flag { display: block; width: 26px; height: 26px; flex: none; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px rgb(16 30 66 / 12%); }
.language-chevron { width: 12px; height: 12px; transition: transform .2s; }
.language-switcher[open] .language-chevron { transform: rotate(180deg); }
.language-options { position: absolute; right: 0; top: calc(100% + 12px); width: 188px; padding: 7px; background: #fff; border: 1px solid #e2e8ec; border-radius: 18px; box-shadow: 0 16px 44px #10203826; }
.language-options a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px; border-radius: 12px; font-size: 14px; font-weight: 700; }
.language-options a:hover, .language-options a[aria-current="true"] { background: #edf6f0; color: #076c40; }
.language-options .language-code { margin-left: auto; font-size: 10px; color: var(--muted); }
@media (min-width: 1151px) {
  .header-main { gap: 12px; padding-inline: 18px; }
  .desktop-nav { gap: 0; }
  .desktop-nav .nav-link { padding-inline: 8px; }
  .header-quote { padding-inline: 15px; }
}
@media (max-width: 700px) {
  .header-actions { gap: 8px; }
  .language-switcher > summary { width: 44px; padding: 8px; }
  .language-switcher > summary .language-code, .language-chevron { display: none; }
  .language-options { right: -52px; }
}
@media (max-width: 360px) {
  .brand { max-width: 140px; }
  .brand img { width: 135px; }
  .header-main { padding-inline: 10px; gap: 8px; }
}

/* Keep the main phone number visible throughout the visitor journey. */
.header-phone {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 12px; border-radius: 999px;
  background: #e8f5ed; border: 1px solid #c2dfce; color: #06683d;
  font-size: 13px; font-weight: 800; white-space: nowrap; flex: none;
}
.header-phone .ico { width: 17px; height: 17px; }
.header-phone:hover { background: #087e49; border-color: #087e49; color: #fff; }
.float-contact { font-size: 14px; }
@media (min-width: 1151px) {
  .header-main { gap: 10px; }
  .desktop-nav .nav-link { padding-inline: 6px; }
}
@media (max-width: 1150px) and (min-width: 701px) {
  .header-phone { margin-left: auto; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 156px; }
  .header-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding-block: 10px; }
  .header-main .brand { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; }
  .header-phone { grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 34px; padding-block: 5px; font-size: 14px; }
  .hero { padding-top: 168px; }
  .page-banner { padding-top: 178px; }
  main.no-hero { padding-top: 150px; }
  .mobile-nav { max-height: calc(100dvh - 180px); }
  .conversion-dock { grid-template-columns: 1.12fr 1fr; }
  .conversion-dock .dock-call { gap: 5px; font-size: 12px; white-space: nowrap; }
  .conversion-dock .dock-call > span:first-child { font-size: 13px; }
}
@media (max-width: 360px) {
  .conversion-dock .dock-call { font-size: 11px; }
  .conversion-dock .dock-quote { font-size: 12px; }
}

/* Social contacts and a WhatsApp invitation that respects reduced motion. */
.footer-grid .social-links { display: flex; flex-direction: row; gap: 10px; margin-top: 20px; }
.footer-grid .social-links a.social-link { display: grid; place-items: center; width: 44px; height: 44px; margin: 0; border: 1px solid #ffffff40; border-radius: 50%; color: #fff; background: #ffffff0d; }
.social-link svg { width: 20px; height: 20px; }
.footer-grid .social-links a:hover { background: #087e49; transform: translateY(-3px); }
.whatsapp-float { position: fixed; right: 24px; bottom: 84px; z-index: 80; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 18px; border-radius: 999px; background: #087e49; color: #fff; box-shadow: 0 8px 30px #075f3c40; animation: whatsappInvite 4s ease-out infinite; }
.whatsapp-float svg { width: 26px; height: 26px; }
.whatsapp-float span { font-size: 13px; font-weight: 800; }
.whatsapp-float:hover { background: #066239; transform: translateY(-3px); animation-play-state: paused; }
@keyframes whatsappInvite { 0%, 60%, 100% { box-shadow: 0 8px 30px #075f3c40, 0 0 0 0 #22c55e00; } 15% { box-shadow: 0 8px 30px #075f3c40, 0 0 0 12px #22c55e28; } 35% { box-shadow: 0 8px 30px #075f3c40, 0 0 0 22px #22c55e00; } }
.lead-form label > .field-label { display: block; color: var(--navy); }
.lead-form .field-label > .required-mark { display: inline; color: var(--violet); margin-left: 3px; }

/* Horizontal review carousel, matching a business listing without fake verification. */
.reviews-section { background: #f3f7f5; }
.reviews-section .section-head > .btn { justify-self: end; }
.reviews-intro { max-width: 760px; }
.reviews-placeholder-note { padding: 12px 16px; border-left: 3px solid var(--green); background: #e6f1ea; color: #305544; font-size: 13px; border-radius: 0 10px 10px 0; }
.reviews-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-block: 28px; color: var(--muted); font-size: 14px; }
.reviews-summary strong { color: var(--navy); font-size: 25px; }
.google-wordmark { font-family: Arial, sans-serif; font-weight: 700; font-size: 26px; color: #4285f4; letter-spacing: -.05em; }
.reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 5px 0 18px; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { scroll-snap-align: start; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; border: 1px solid #e1e7e3; border-radius: 20px; background: #fff; box-shadow: 0 4px 18px #102a3510; }
.review-card-top { display: flex; align-items: center; gap: 12px; }
.review-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; background: #e8f3ed; color: #087e49; font-size: 14px; font-weight: 800; }
.review-author b, .review-author small { display: block; }
.review-author b { font-size: 15px; }
.review-author small { font-size: 11px; color: var(--muted); margin-top: 3px; }
.review-stars { color: #b96c00; font-size: 20px; letter-spacing: 2px; }
.review-text { font-size: 15px; margin: 0; }
.review-demo-badge { margin-top: auto; padding: 4px 10px; font-size: 11px; color: #63736a; background: #f1f4f2; border-radius: 999px; }
.reviews-navigation { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 22px; }
.reviews-navigation button { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid #cadbd1; border-radius: 50%; color: var(--green); background: #fff; font-size: 22px; }
.reviews-navigation button:hover { background: var(--green); color: #fff; }
.reviews-position { min-width: 90px; text-align: center; font-size: 13px; font-variant-numeric: tabular-nums; }
.review-dialog { position: fixed; width: min(600px, calc(100% - 32px)); max-height: calc(100dvh - 40px); overflow: auto; padding: 36px; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 24px 100px #0004; }
.review-dialog::backdrop { background: #071726b3; backdrop-filter: blur(5px); }
.dialog-open { overflow: hidden; }
.dialog-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #e1e7e3; background: #f4f7f5; color: var(--navy); font-size: 24px; }
.review-dialog h2 { margin-bottom: 20px; padding-right: 12px; }
.review-dialog-note, .review-feedback { font-size: 14px; }
.google-review-link { margin-bottom: 24px; }
.review-form input:not([type=checkbox]), .review-form textarea, .review-form select { font-size: 16px; }
@media(max-width:980px) { .reviews-track { grid-auto-columns: calc((100% - 24px) / 2); } .reviews-section .section-head { grid-template-columns: 1fr; } .reviews-section .section-head > .btn { justify-self: start; } }
@media(max-width:700px) {
  .reviews-track { grid-auto-columns: 100%; }
  .review-card { padding: 24px; }
  .review-dialog { padding: 38px 22px 24px; }
  .whatsapp-float { right: 16px; bottom: calc(88px + env(safe-area-inset-bottom)); width: 54px; height: 54px; padding: 14px; justify-content: center; }
  .whatsapp-float span { display: none; }
}
@media(prefers-reduced-motion:reduce) { .whatsapp-float { animation: none !important; } }
.lead-form label > span.field-label { color: var(--navy); }

/* Related content keeps the same cards and spacing as the catalogues. */
.related-section { background: #f3f7f5; }
.article-reading-column { min-width: 0; }
.comments-section { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--line); }
.comments-section .section-head { display: block; margin-bottom: 20px; }
.comments-count { font-size: 22px; color: var(--muted); white-space: nowrap; }
.comments-storage-note { font-size: 14px; color: var(--muted); }
.comments-list { display: grid; gap: 18px; margin-block: 28px 36px; }
.comments-empty { margin: 0; padding: 24px; background: #f3f7f5; border: 1px dashed #c6dbcf; border-radius: 16px; font-size: 15px; }
.comment-card { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.comment-card-header { display: flex; align-items: center; gap: 12px; }
.comment-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e8f3ed; color: var(--green); flex: none; font-weight: 800; font-size: 14px; }
.comment-author-details { min-width: 0; }
.comment-author-details b, .comment-author-details time { display: block; overflow-wrap: anywhere; }
.comment-author-details b { font-size: 15px; }
.comment-author-details time { font-size: 12px; color: var(--muted); margin-top: 3px; }
.comment-text { margin: 18px 0; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; }
.comment-remove { min-height: 40px; padding: 8px 12px; background: #f3f7f5; border: 1px solid #dbe6df; border-radius: 999px; font-size: 12px; color: var(--green); }
.comment-remove:hover { background: #e8f3ed; }
.comment-form-panel { padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #f8faf9; }
.comment-form-panel h3 { margin-bottom: 24px; }
.comment-form-panel input, .comment-form-panel textarea { background: #fff; font-size: 16px !important; }
.comment-form .btn { justify-self: start; }
.comment-form .small { margin: 0; color: var(--muted); }
.comment-feedback { margin: 0; font-size: 14px; color: var(--green); overflow-wrap: anywhere; }
@media(max-width:700px) {
  .comments-section { margin-top: 42px; padding-top: 30px; }
  .comment-form-panel, .comment-card { padding: 22px 20px; }
  .comment-form .btn { justify-self: stretch; }
}

/* Homepage hero: three full-bleed photographs with a soft crossfade. */
.hero-visual > .hero-slide { opacity: 0; transition: opacity .85s ease; animation: none; }
.hero-visual > .hero-slide.is-active { opacity: 1; }
.hero-slider-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin: -10px 0 26px; }
.hero-slider-controls button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; color: #fff; background: #102a3566; backdrop-filter: blur(8px); font-size: 22px; }
.hero-slider-controls button:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.hero-slider-controls .hero-slide-pause { width: 40px; height: 40px; margin-left: 4px; font-size: 15px; }
.hero-slide-position { min-width: 44px; color: #fff; font-size: 13px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
@media(max-width:700px) { .hero-slider-controls { justify-content: flex-start; margin: 0 0 26px; } }
@media(prefers-reduced-motion:reduce) { .hero-visual > .hero-slide { transition: none; } }
