/* ==========================================================================
   LAANS INTERNATIONAL (PVT) LTD — MAIN STYLESHEET
   --------------------------------------------------------------------------
   Table of contents
     01. Design tokens (CSS custom properties)
     02. Modern reset & base elements
     03. Typography
     04. Layout helpers (container, section, grid)
     05. Buttons
     06. Section headings ("OUR" + "PROJECTS" two-tone style)
     07. Site header & navigation
     08. Hero (home) and page hero (inner pages)
     09. Statistic strip
     10. Content split blocks (text + image)
     11. Cards: services / verticals / infrastructure / consultancy
     12. Slider (home page showcase carousel)
     13. Projects grid & showcase galleries
     14. Clients: logo wall, distributor list, country flags
     15. Call-to-action band
     16. Contact page: details, form, map
     17. Site footer
     18. Utilities & accessibility helpers
     19. Responsive breakpoints
     20. Reduced motion & print
   --------------------------------------------------------------------------
   HOW TO CHANGE THE LOOK QUICKLY
     Nearly every colour, radius and spacing value used on the site is defined
     once in section 01 below. Change a value there and it updates everywhere.
   ========================================================================== */


/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */
:root {
  /* --- Brand colours (sampled directly from the LAANS logo) --- */
  --c-primary:        #037DCA;  /* LAANS primary blue                        */
  --c-primary-dark:   #0264A4;  /* hover / pressed states                    */
  --c-primary-darker: #014C7D;  /* deep accents                              */
  --c-sky:            #5EB8EC;  /* LAANS light blue (logo petals)            */
  --c-sky-soft:       #E8F4FD;  /* tinted surfaces, icon bubbles             */
  --c-navy:           #0B2A45;  /* footer & dark bands                       */
  --c-navy-soft:      #123A5C;  /* dark band gradient partner                */

  /* --- Neutrals --- */
  --c-ink:     #17222D;  /* headings                                         */
  --c-body:    #4B5C6B;  /* body copy                                        */
  --c-muted:   #77899A;  /* captions, meta text                              */
  --c-line:    #E2EAF1;  /* hairline borders                                 */
  --c-surface: #F5F9FD;  /* alternating section background                   */
  --c-white:   #FFFFFF;

  /* --- Typography --- */
  --font-sans: "Figtree", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-xs:   0.8125rem;   /* 13px */
  --fs-sm:   0.9375rem;   /* 15px */
  --fs-base: 1.0625rem;   /* 17px */
  --fs-lg:   1.1875rem;   /* 19px */
  --fs-h4:   1.25rem;
  --fs-h3:   1.5rem;
  --fs-h2:   clamp(1.75rem, 1.25rem + 1.6vw, 2.6rem);
  --fs-h1:   clamp(2.1rem, 1.3rem + 3.1vw, 3.6rem);

  /* --- Spacing scale --- */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* --- Shape & depth --- */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 69, .06), 0 2px 8px rgba(11, 42, 69, .05);
  --shadow:    0 4px 12px rgba(11, 42, 69, .07), 0 14px 34px rgba(11, 42, 69, .07);
  --shadow-lg: 0 10px 24px rgba(11, 42, 69, .10), 0 28px 64px rgba(11, 42, 69, .12);

  /* --- Layout --- */
  --container: 1200px;
  --gutter: 1.25rem;
  --header-h: 84px;

  /* --- Motion --- */
  --t-fast: .18s ease;
  --t:      .28s cubic-bezier(.4, 0, .2, 1);
}


/* ==========================================================================
   02. MODERN RESET & BASE ELEMENTS
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  /* Anchor links (e.g. #services) stop below the sticky header instead of
     hiding underneath it. */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;         /* guards against accidental sideways scroll  */
}

img,
picture,
svg,
iframe { max-width: 100%; }

img {
  display: block;
  height: auto;
  border-style: none;
}

a { color: var(--c-primary); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-primary-dark); }

ul, ol { margin: 0; padding: 0; }

figure { margin: 0; }

hr {
  border: 0;
  border-top: 1px solid var(--c-line);
  margin: var(--sp-6) 0;
}

/* A single, visible focus style for every interactive element — important
   for keyboard users. */
:focus-visible {
  outline: 3px solid var(--c-sky);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ==========================================================================
   03. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  color: var(--c-ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 800; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong, b { color: var(--c-ink); font-weight: 700; }

/* Intro paragraph directly under a heading */
.lead {
  font-size: var(--fs-lg);
  line-height: 1.75;
  color: var(--c-body);
}

/* Small uppercase label above a heading */
.kicker {
  display: inline-block;
  margin-bottom: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-primary);
}

/* The company tagline, used on the home page and in the footer */
.tagline {
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--c-sky);
  letter-spacing: -0.02em;
}
.tagline span { display: block; color: var(--c-primary); }


/* ==========================================================================
   04. LAYOUT HELPERS
   ========================================================================== */

/* Centred, width-limited wrapper used by every section. */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

/* Vertical rhythm for page sections. */
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.section--surface { background: var(--c-surface); }
.section--tint {
  /* very soft brand gradient used behind the services + clients areas */
  background: linear-gradient(180deg, #FFFFFF 0%, var(--c-sky-soft) 100%);
}

/* Auto-fitting card grid. `--min` sets the smallest allowed card width, so
   the same class produces 2, 3 or 4 columns depending on screen size. */
.grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr));
}
.grid--2 { --min: 380px; }
.grid--3 { --min: 300px; }
.grid--4 { --min: 230px; }

/* Two-column "text beside image" layout. */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.split--media-first > .split__media { order: -1; }


/* ==========================================================================
   05. BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast),
              border-color var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-white);
  box-shadow: 0 6px 18px rgba(3, 125, 202, .28);
}
.btn--primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: var(--c-white);
}

.btn--outline {
  background: transparent;
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.btn--outline:hover { background: var(--c-primary); color: var(--c-white); }

/* For use on dark/navy backgrounds */
.btn--ghost {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .55);
  color: var(--c-white);
}
.btn--ghost:hover { background: var(--c-white); color: var(--c-primary-darker); }

.btn--sm { padding: 0.6rem 1.15rem; font-size: var(--fs-xs); }

/* Row of buttons that wraps neatly on small screens */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

/* Text link with a chevron that nudges right on hover */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: var(--fs-sm);
}
.link-arrow::after {
  content: "→";
  transition: transform var(--t-fast);
}
.link-arrow:hover::after { transform: translateX(4px); }


/* ==========================================================================
   06. SECTION HEADINGS
   The company profile styles headings as a blue word followed by a black
   word ("OUR PROJECTS"). `.section-head__accent` reproduces that.
   ========================================================================== */
.section-head {
  max-width: 760px;
  margin-bottom: var(--sp-7);
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head h2 { margin-bottom: var(--sp-3); }
.section-head__accent { color: var(--c-primary); }
.section-head p { color: var(--c-body); font-size: var(--fs-lg); margin-bottom: 0; }

/* Short brand rule used under headings inside cards.
   `display: block` matters: a <span> is inline by default and would ignore
   the width and height below. */
.rule {
  display: block;
  width: 42px;
  height: 3px;
  margin: var(--sp-3) 0 var(--sp-4);
  border-radius: 3px;
  background: var(--c-primary);
}
.section-head--center .rule { margin-inline: auto; }


/* ==========================================================================
   07. SITE HEADER & NAVIGATION
   ========================================================================== */

/* Thin utility bar above the main header (phone + email) */
.topbar {
  background: var(--c-navy);
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 42px;
  padding-block: .4rem;
}
.topbar__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  list-style: none;
}
.topbar a { color: inherit; display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: var(--c-white); }
.topbar svg { width: 15px; height: 15px; flex: none; opacity: .8; }

/* Main header — sticks to the top of the viewport while scrolling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line);
  transition: box-shadow var(--t-fast);
}
/* `.is-scrolled` is added by js/main.js once the page scrolls */
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 178px; }

/* --- Primary navigation --- */
.nav { display: flex; align-items: center; gap: var(--sp-6); }

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}
.nav__link {
  position: relative;
  display: inline-block;
  padding-block: .4rem;
  color: var(--c-ink);
  font-size: var(--fs-sm);
  font-weight: 600;
}
/* Animated underline */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--c-primary); }

/* --- Mobile menu button (hidden on desktop, see section 19) --- */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  border-radius: 2px;
  background: var(--c-ink);
  transition: transform var(--t), opacity var(--t-fast);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after  { top:  6px; }

/* Turns the hamburger into an X when the menu is open */
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }


/* ==========================================================================
   08. HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1000px 520px at 88% -10%, rgba(94, 184, 236, .30), transparent 62%),
    linear-gradient(160deg, #FFFFFF 0%, #F2F8FD 52%, #E4F1FB 100%);
}
/* Decorative brand wave along the bottom edge (purely presentational) */
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -2px 0;
  height: 190px;
  background: url("../images/brand-wave.jpg") center bottom / cover no-repeat;
  opacity: .5;
  mask-image: linear-gradient(to top, #000 35%, transparent);
  -webkit-mask-image: linear-gradient(to top, #000 35%, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.hero h1 { margin-bottom: var(--sp-5); }
.hero h1 .hero__accent { color: var(--c-primary); }
.hero__lead { max-width: 56ch; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
/* Floating badge over the hero image */
.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius);
  background: var(--c-white);
  box-shadow: var(--shadow);
}
.hero__badge img { width: 42px; border-radius: 0; box-shadow: none; }
.hero__badge strong { display: block; font-size: var(--fs-lg); line-height: 1.2; }
.hero__badge span { font-size: var(--fs-xs); color: var(--c-muted); }

/* --- Compact hero for the inner pages --- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  background:
    radial-gradient(760px 420px at 85% 0%, rgba(94, 184, 236, .26), transparent 60%),
    linear-gradient(120deg, #F7FBFE 0%, #E9F3FB 100%);
  border-bottom: 1px solid var(--c-line);
}
.page-hero h1 { margin-bottom: var(--sp-3); }
.page-hero p { max-width: 62ch; font-size: var(--fs-lg); margin-bottom: 0; }

/* Breadcrumb trail */
.breadcrumb { margin-bottom: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; color: var(--c-line); }
.breadcrumb [aria-current="page"] { color: var(--c-body); font-weight: 600; }


/* ==========================================================================
   09. STATISTIC STRIP
   ========================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-2);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-sm);
}
.stat { padding: var(--sp-3) var(--sp-4); text-align: center; }
.stat + .stat { border-left: 1px solid var(--c-line); }
.stat__value {
  display: block;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}
.stat__label {
  display: block;
  margin-top: .3rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-muted);
}


/* ==========================================================================
   10. CONTENT SPLIT BLOCKS
   ========================================================================== */
.split__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
/* Image with a soft brand-blue panel behind it */
.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, var(--c-sky-soft), rgba(94, 184, 236, .35));
  z-index: 0;
}
.media-frame img { position: relative; z-index: 1; }

/* Simple bullet list with brand tick markers */
.ticks { list-style: none; display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.ticks li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--fs-sm);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--c-sky-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23037DCA' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}


/* ==========================================================================
   11. CARDS
   ========================================================================== */

/* --- Generic card shell --- */
.card {
  position: relative;
  height: 100%;
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(3, 125, 202, .35);
  box-shadow: var(--shadow);
}
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.card p { font-size: var(--fs-sm); margin-bottom: 0; }

/* Round icon bubble used inside cards */
.card__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: var(--sp-4);
  border-radius: 50%;
  background: var(--c-sky-soft);
  color: var(--c-primary);
  transition: background var(--t), color var(--t);
}
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { background: var(--c-primary); color: var(--c-white); }

/* Centre-aligned variant (strategic verticals on the home page) */
.card--center { text-align: center; }
.card--center .card__icon { margin-inline: auto; }
.card--center .rule { margin-inline: auto; }

/* --- Compact tile used for the 9 turnkey infrastructure services --- */
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  height: 100%;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius);
  background: var(--c-surface);
  border: 1px solid transparent;
  text-align: center;
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.tile:hover {
  background: var(--c-white);
  border-color: rgba(3, 125, 202, .3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.tile svg { width: 40px; height: 40px; color: var(--c-primary); }
.tile h3 { font-size: var(--fs-sm); margin: 0; line-height: 1.45; }

/* --- Row item used for consultancy & facility-management capabilities --- */
.feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  transition: border-color var(--t), box-shadow var(--t);
}
.feature:hover { border-color: rgba(3, 125, 202, .35); box-shadow: var(--shadow-sm); }
.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--c-sky);
  color: var(--c-primary);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: var(--fs-base); margin: .3rem 0 0; line-height: 1.4; }
.feature p { margin-top: .35rem; font-size: var(--fs-sm); }


/* ==========================================================================
   12. SLIDER  (home page — "Showcase of our projects")
   The markup is a horizontal track of slides; js/slider.js moves the track
   with a CSS transform. Everything visual lives here, behaviour lives in JS.
   ========================================================================== */
.slider {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow);
  overflow: hidden;            /* hides the slides waiting off-stage        */
}

/* The viewport window */
.slider__viewport { overflow: hidden; }

/* The moving strip that holds every slide side by side */
.slider__track {
  display: flex;
  will-change: transform;
  transition: transform .6s cubic-bezier(.45, .05, .25, 1);
}

/* One slide = exactly the width of the viewport */
.slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.slide__media { position: relative; min-height: 420px; background: var(--c-navy); }
.slide__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  /* extra room on the right so the "next" arrow never sits on the text */
  padding-right: clamp(1.75rem, 4vw, 4.75rem);
}
.slide__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: var(--sp-3);
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--c-sky-soft);
  color: var(--c-primary-darker);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.slide__body h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.slide__body p { font-size: var(--fs-sm); }

/* --- Previous / next buttons --- */
.slider__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--c-ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.slider__btn:hover { background: var(--c-primary); color: var(--c-white); transform: scale(1.06); }
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }

/* --- Dot indicators --- */
.slider__dots {
  display: flex;
  justify-content: center;
  gap: .55rem;
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  list-style: none;
}
.slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #C9D9E6;
  cursor: pointer;
  transition: background var(--t-fast), width var(--t-fast);
}
.slider__dot[aria-selected="true"] { width: 30px; border-radius: 999px; background: var(--c-primary); }

/* Autoplay progress bar along the top of the slider */
.slider__progress {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  width: 0;
  background: var(--c-primary);
}


/* ==========================================================================
   13. PROJECTS
   ========================================================================== */

/* --- Numbered hospital project cards --- */
.project-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  height: 100%;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.project-card::before {
  /* thin brand bar down the left edge */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--c-sky), var(--c-primary));
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(3, 125, 202, .35);
  box-shadow: var(--shadow);
}
.project-card__no {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 800;
  letter-spacing: .02em;
}
.project-card h3 { font-size: var(--fs-base); margin: 0; line-height: 1.35; }
.project-card__place {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  font-size: var(--fs-xs);
  color: var(--c-muted);
}
.project-card__place svg { width: 14px; height: 14px; flex: none; color: var(--c-primary); }

/* --- Showcase: a titled story with a photo gallery --- */
.showcase + .showcase { margin-top: var(--sp-8); }
.showcase__head { margin-bottom: var(--sp-5); }
.showcase__head h3 { margin-bottom: .35rem; }
.showcase__head p { font-size: var(--fs-sm); margin: 0; }

.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery figure {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--c-muted);
}


/* ==========================================================================
   14. CLIENTS
   ========================================================================== */

/* Logo wall */
.logo-wall {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
}
.logo-wall li {
  display: grid;
  place-items: center;
  min-height: 124px;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  list-style: none;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.logo-wall li:hover {
  transform: translateY(-3px);
  border-color: rgba(3, 125, 202, .3);
  box-shadow: var(--shadow-sm);
}
.logo-wall img { max-height: 58px; width: auto; object-fit: contain; }

/* Exclusive-distribution partner list */
.partner-list {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  list-style: none;
}
.partner-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  font-size: var(--fs-sm);
}
.partner-list li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: .65rem;
  border-radius: 50%;
  background: var(--c-sky);
}
.partner-list strong { display: block; color: var(--c-ink); }
.partner-list span { color: var(--c-muted); font-size: var(--fs-xs); }

/* Country flags */
.flags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  list-style: none;
  margin-top: var(--sp-5);
}
.flags li { text-align: center; }
.flags img {
  width: 76px;
  border: 1px solid var(--c-line);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}
.flags span {
  display: block;
  margin-top: .45rem;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--c-muted);
}


/* ==========================================================================
   15. CALL-TO-ACTION BAND
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-8);
  background: linear-gradient(120deg, var(--c-navy) 0%, var(--c-primary-darker) 55%, var(--c-primary) 140%);
  color: rgba(255, 255, 255, .85);
}
.cta::before {
  /* soft light bloom, decorative only */
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 184, 236, .40), transparent 65%);
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.cta h2 { color: var(--c-white); margin-bottom: var(--sp-2); }
.cta p { margin: 0; max-width: 58ch; }


/* ==========================================================================
   16. CONTACT PAGE
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: .92fr 1.08fr;
  align-items: start;
}

/* Contact detail cards */
.contact-list { display: grid; gap: var(--sp-4); list-style: none; }
.contact-list li {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  transition: border-color var(--t), box-shadow var(--t);
}
.contact-list li:hover { border-color: rgba(3, 125, 202, .3); box-shadow: var(--shadow-sm); }
.contact-list__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--c-sky-soft);
  color: var(--c-primary);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list h3 { font-size: var(--fs-sm); margin: 0 0 .2rem; }
.contact-list p,
.contact-list address {
  margin: 0;
  font-size: var(--fs-sm);
  font-style: normal;
  line-height: 1.6;
}

/* QR card */
.qr-card {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding: var(--sp-5);
  border: 1px dashed var(--c-sky);
  border-radius: var(--radius);
  background: var(--c-sky-soft);
}
.qr-card img { width: 118px; border-radius: var(--radius-sm); background: var(--c-white); padding: 6px; }
.qr-card h3 { font-size: var(--fs-sm); margin-bottom: .25rem; }
.qr-card p { font-size: var(--fs-xs); margin: 0; }

/* --- Form --- */
.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr 1fr;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-xs); font-weight: 700; color: var(--c-ink); letter-spacing: .02em; }
.field .req { color: #D2483F; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  background: var(--c-surface);
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--c-ink);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 148px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--c-white);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(3, 125, 202, .13);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #D2483F; }

.form-note { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }

/* Status message shown by js/main.js after the form is submitted */
.form-status {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  background: var(--c-sky-soft);
  color: var(--c-primary-darker);
}
.form-status[hidden] { display: none; }

/* Map embed */
.map-embed {
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.map-embed iframe { width: 100%; height: 420px; border: 0; }


/* ==========================================================================
   17. SITE FOOTER
   ========================================================================== */
.site-footer {
  background: var(--c-navy);
  color: rgba(255, 255, 255, .72);
  font-size: var(--fs-sm);
}
.site-footer__top {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  padding-block: var(--sp-8);
}
.site-footer h3 {
  margin-bottom: var(--sp-4);
  color: var(--c-white);
  font-size: var(--fs-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--c-white); }
.site-footer__logo { width: 190px; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; display: grid; gap: .65rem; }
.site-footer address { font-style: normal; line-height: 1.75; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-block: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: var(--fs-xs);
}
.site-footer__bottom p { margin: 0; }

/* "Back to top" button, revealed by js/main.js after scrolling */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-white);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  box-shadow: var(--shadow);
  transition: opacity var(--t), transform var(--t), visibility var(--t), background var(--t-fast);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--c-primary-dark); }
.to-top svg { width: 20px; height: 20px; }


/* ==========================================================================
   18. UTILITIES & ACCESSIBILITY
   ========================================================================== */

/* Visually hidden, but still read by screen readers. */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Keyboard users can jump straight to the content. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--c-primary);
  color: var(--c-white);
  font-weight: 700;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 0; color: var(--c-white); }

.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }

/* Fade-and-rise entrance, switched on by js/main.js when an element scrolls
   into view (class `is-visible`). Content is fully readable without JS. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }


/* ==========================================================================
   19. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --- Large tablets / small laptops --- */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .hero__badge { left: 16px; }
  .split { grid-template-columns: 1fr; }
  .split--media-first > .split__media { order: 0; }
  .media-frame::before { inset: 16px -12px -16px 16px; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .slide { grid-template-columns: 1fr; }
  .slide__media { min-height: 300px; }
}

/* --- Tablets & phones: switch the navigation to a drop-down panel --- */
@media (max-width: 860px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: block; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--gutter) var(--sp-6);
    background: var(--c-white);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    /* Hidden by default; `.is-open` is toggled by js/main.js */
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height var(--t), visibility var(--t);
  }
  .nav.is-open { max-height: 80vh; overflow-y: auto; visibility: visible; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--c-line); }
  .nav__link { display: block; padding: .95rem .25rem; font-size: var(--fs-base); }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: var(--sp-4); justify-content: center; }

  .topbar__inner { justify-content: center; text-align: center; }
  .stat + .stat { border-left: 0; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

/* --- Phones --- */
@media (max-width: 620px) {
  :root { --gutter: 1rem; }

  .section { padding-block: var(--sp-8); }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr; }
  .hero__badge { position: static; margin-top: var(--sp-4); }
  .slider__btn { width: 40px; height: 40px; margin-top: -20px; }
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }
  .gallery { grid-template-columns: 1fr; }
  .project-card { padding-left: var(--sp-5); }
}


/* ==========================================================================
   20. REDUCED MOTION & PRINT
   ========================================================================== */

/* Respect the visitor's operating-system "reduce motion" setting. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .site-header, .to-top, .slider__btn, .slider__dots, .cta, .map-embed { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
