/* =========================================================================
   Wellman Elevator (India) Pvt. Ltd. — Global Stylesheet
   Industrial / material-handling theme. Navy + royal blue on white.
   ========================================================================= */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand */
  --navy-900: #0a1f45;   /* deep footer navy */
  --navy-800: #0d264f;
  --brand:    #274b93;   /* primary royal blue (header/buttons) */
  --brand-600:#2e59ad;
  --brand-700:#1f3d7a;
  --brand-ink:#12326e;   /* dark blue headings */
  --tint:     #eef2fb;   /* light blue section background */
  --tint-2:   #e6edfa;

  /* Accents (mission / vision / value) */
  --accent-red:  #e11d2a;
  --accent-teal: #128a76;
  --accent-gold: #f2a30f;

  /* Neutrals */
  --ink:    #1b2431;
  --body:   #3a4656;
  --muted:  #6b7688;
  --line:   #e3e8f0;
  --card:   #ffffff;
  --bg:     #ffffff;

  /* Shape & motion */
  --radius:   14px;
  --radius-sm:10px;
  --radius-lg:22px;
  --shadow-sm: 0 2px 10px rgba(15, 38, 84, .06);
  --shadow:    0 14px 40px rgba(15, 38, 84, .10);
  --shadow-lg: 0 24px 60px rgba(15, 38, 84, .16);
  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; }
:focus-visible { outline: 3px solid var(--brand-600); outline-offset: 2px; border-radius: 4px; }

/* Screen-reader-only (SEO/a11y): visible to crawlers & assistive tech, hidden visually */
.visually-hidden { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 84px 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy-900); color: #cdd7ea; }
.grid { display: grid; gap: 26px; }
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.eyebrow {
  font-family: var(--font-head); font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; font-size: .78rem; color: var(--brand-600);
}

/* ---------- Section title with the // divider motif ---------- */
.sec-head { margin-bottom: 44px; }
.sec-head--center { text-align: center; }
.sec-title {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800; letter-spacing: -.01em; color: var(--ink);
  text-transform: uppercase;
}
.sec-title .accent { color: var(--brand); }
.divider { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.divider span { height: 3px; width: 34px; background: var(--brand); border-radius: 3px; }
.divider span:nth-child(2) { width: 10px; opacity: .6; }
.divider span:nth-child(3) { width: 10px; opacity: .35; }
.sec-head--center .divider { justify-content: center; }
.sec-sub { max-width: 640px; margin-top: 16px; color: var(--muted); }
.sec-head--center .sec-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 24px rgba(39,75,147,.28); }
.btn--primary:hover { background: var(--brand-700); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--outline { border-color: var(--brand); color: var(--brand); background: #fff; }
.btn--outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--brand-ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ================= HEADER / NAV ================= */
.topbar {
  background: var(--navy-900); color: #b9c6de; font-size: .84rem;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 42px; flex-wrap: wrap; }
.topbar a { color: #cdd8ec; }
.topbar a:hover { color: #fff; }
.topbar__meta { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__meta span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__meta svg { width: 15px; height: 15px; color: var(--brand-600); }
.topbar__social { display: flex; gap: 12px; }
.topbar__social a { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.08); }
.topbar__social a:hover { background: var(--brand); }
.topbar__social svg { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 82px; }

/* Logo (text-based, elevator "up" motif) */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  position: relative; width: 46px; height: 46px; border-radius: 11px;
  background: linear-gradient(150deg, var(--brand-600), var(--brand-ink));
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(39,75,147,.35); flex: none;
}
.logo__mark svg { width: 26px; height: 26px; color: #fff; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-head); font-weight: 800; font-size: 1.18rem; color: var(--navy-900); letter-spacing: .01em; }
.logo__name b { color: var(--brand); }
.logo__sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .93rem; color: var(--ink);
  padding: 10px 15px; border-radius: 8px; position: relative; transition: color .2s;
}
.nav__links a::after {
  content:""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--brand); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__links a.active { color: var(--brand); }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none; background: var(--brand); border: none; width: 46px; height: 46px;
  border-radius: 10px; padding: 0; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 2.4px;
  background: #fff; border-radius: 2px; transform: translate(-50%,-50%); transition: .25s var(--ease);
}
.nav__toggle span::before { top: -7px; } .nav__toggle span::after { top: 7px; }
.nav.open .nav__toggle span { background: transparent; }
.nav.open .nav__toggle span::before { top: 0; transform: translate(-50%,-50%) rotate(45deg); }
.nav.open .nav__toggle span::after { top: 0; transform: translate(-50%,-50%) rotate(-45deg); }

/* ================= HERO ================= */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.hero__panel { position: relative; display: flex; align-items: center; padding: 60px 56px; overflow: hidden; color: #fff; }
.hero__panel::before {
  content:""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,69,.55), rgba(10,31,69,.86));
  z-index: 1;
}
.hero__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); transition: transform 6s var(--ease); }
.hero__panel:hover img { transform: scale(1.1); }
.hero__inner { position: relative; z-index: 2; max-width: 460px; }
.hero__eyebrow { font-family: var(--font-head); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .82rem; color: #a9c4ff; }
.hero__title { font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; color: #fff; margin-top: 12px; text-transform: uppercase; line-height: 1.08; }
.hero__text { margin-top: 16px; color: #dbe4f5; }
.hero__actions { margin-top: 26px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Page banner (interior pages) */
.page-banner { position: relative; color: #fff; padding: 96px 0 74px; overflow: hidden; background: var(--navy-900); }
.page-banner::before { content:""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,31,69,.92), rgba(31,61,122,.72)); z-index: 1; }
.page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: 0; }
.page-banner__inner { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; font-weight: 800; }
.crumbs { margin-top: 12px; font-size: .9rem; color: #c4d1ea; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: .5; }

/* ================= STATS STRIP ================= */
.stats { background: var(--brand); color: #fff; }
.stats .grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 12px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,3vw,2.7rem); }
.stat__label { font-size: .9rem; color: #d5e0f6; margin-top: 4px; }
.stats .grid > .stat + .stat { border-left: 1px solid rgba(255,255,255,.16); }

/* ================= ABOUT (split) ================= */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.about__body p + p { margin-top: 16px; }
.about__figure { position: relative; }
.about__figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.about__badge {
  position: absolute; right: -14px; bottom: -18px; background: var(--brand);
  color: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow);
  font-family: var(--font-head); text-align: center;
}
.about__badge b { font-size: 1.9rem; font-weight: 800; display: block; line-height: 1; }
.about__badge span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; }
.tick-list { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.tick-list svg { width: 20px; height: 20px; color: var(--accent-teal); flex: none; margin-top: 2px; }

/* ================= PRODUCT / CATEGORY CARDS ================= */
.cards { grid-template-columns: repeat(3, 1fr); }
.pcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s;
  display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pcard__media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--tint); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.07); }
.pcard__tag {
  position: absolute; top: 14px; left: 14px; z-index: 2; background: rgba(10,31,69,.85);
  color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
}
.pcard__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pcard__body h3 { font-size: 1.18rem; color: var(--brand-ink); }
.pcard__body p { margin-top: 9px; color: var(--body); font-size: .95rem; flex: 1; }
.pcard__link {
  margin-top: 16px; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; color: var(--brand); font-size: .9rem;
}
.pcard__link svg { width: 16px; height: 16px; transition: transform .2s; }
.pcard:hover .pcard__link svg { transform: translateX(4px); }

/* Placeholder media tile when a product photo isn't available yet */
.pcard__media--soon { display: grid; place-items: center; background: linear-gradient(150deg, var(--tint), #dbe5f7); }
.pcard__media--soon .ph { text-align: center; color: var(--brand); padding: 20px; }
.pcard__media--soon .ph svg { width: 46px; height: 46px; margin: 0 auto 8px; opacity: .7; }
.pcard__media--soon .ph span { display: block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .04em; color: var(--brand-700); }
.pcard__media--soon .ph small { font-size: .72rem; color: var(--muted); }

/* ISO / certification badge */
.iso-badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; }
.iso-badge svg { width: 15px; height: 15px; color: var(--accent-gold); }
.topbar__meta .iso-badge { color: #cdd8ec; }

/* Category header row inside products page */
.catblock + .catblock { margin-top: 70px; }
.catblock__head { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.catblock__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); color: var(--brand); flex: none; }
.catblock__icon svg { width: 28px; height: 28px; }
.catblock__head h2 { font-size: 1.5rem; text-transform: uppercase; }
.catblock__head p { color: var(--muted); font-size: .92rem; margin-top: 2px; }

/* ================= INDUSTRIES / CAPABILITY TILES ================= */
.tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile::after { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,69,0) 30%, rgba(10,31,69,.9)); }
.tile span { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.tile:hover img { transform: scale(1.08); }

/* ================= MISSION / VISION / VALUE ================= */
.mvv { grid-template-columns: repeat(3, 1fr); }
.mvv-card { background: #fff; border-radius: var(--radius); padding: 40px 30px; text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform .28s var(--ease), box-shadow .28s; }
.mvv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mvv-card__icon { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.mvv-card__icon svg { width: 36px; height: 36px; color: #fff; }
.mvv-card h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .04em; }
.mvv-card p { margin-top: 10px; font-size: .95rem; }
.mvv-card--m .mvv-card__icon { background: var(--accent-red); } .mvv-card--m h3 { color: var(--accent-red); }
.mvv-card--v .mvv-card__icon { background: var(--accent-teal); } .mvv-card--v h3 { color: var(--accent-teal); }
.mvv-card--val .mvv-card__icon { background: var(--accent-gold); } .mvv-card--val h3 { color: var(--accent-gold); }

/* ================= CLIENT LOGO MARQUEE ================= */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-chip {
  flex: none; width: 190px; height: 92px; border-radius: 12px; background: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  font-family: var(--font-head); font-weight: 700; color: var(--muted); text-align: center; padding: 10px; gap: 2px;
}
.logo-chip b { color: var(--brand-ink); font-size: 1.05rem; letter-spacing: .02em; display: block; }
.logo-chip small { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* ================= TESTIMONIALS ================= */
.tslider { position: relative; }
.tviewport { overflow: hidden; }
.ttrack { display: flex; transition: transform .5s var(--ease); }
.tcard { flex: 0 0 100%; padding: 8px; }
@media (min-width: 760px){ .tcard { flex-basis: 50%; } }
@media (min-width: 1040px){ .tcard { flex-basis: 33.333%; } }
.tcard__inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); height: 100%; }
.tcard__quote { font-size: 2.4rem; line-height: 1; color: var(--brand); font-family: Georgia, serif; }
.tcard__text { margin-top: 6px; color: var(--body); font-size: .98rem; }
.tcard__who { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.tcard__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--brand); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.tcard__name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: .95rem; }
.tcard__role { font-size: .82rem; color: var(--muted); }
.tnav { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.tnav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--brand); transition: .2s var(--ease); }
.tnav button:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.tnav button svg { width: 20px; height: 20px; }

/* ================= CTA BAND ================= */
.cta-band { background: linear-gradient(120deg, var(--brand-ink), var(--brand)); color: #fff; border-radius: var(--radius-lg); padding: 52px 48px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem,2.6vw,2.1rem); text-transform: uppercase; }
.cta-band p { color: #d7e0f5; margin-top: 8px; }

/* ================= CONTACT ================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: start; }
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.info-card + .info-card { margin-top: 18px; }
.info-card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--tint); color: var(--brand); display: grid; place-items: center; flex: none; }
.info-card__icon svg { width: 24px; height: 24px; }
.info-card h4 { font-size: 1rem; color: var(--ink); }
.info-card p, .info-card a { color: var(--body); font-size: .95rem; }
.info-card a:hover { color: var(--brand); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: var(--accent-red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fbfcfe; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(39,75,147,.14); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 4px; }
.form__status { margin-top: 14px; font-size: .92rem; font-weight: 600; }
.form__status.ok { color: var(--accent-teal); } .form__status.err { color: var(--accent-red); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ================= GALLERY ================= */
.gallery { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gitem { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; aspect-ratio: 4/3; }
.gitem img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gitem figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; background: linear-gradient(180deg, transparent, rgba(10,31,69,.9)); z-index: 2; }
.gitem:hover img { transform: scale(1.08); }

/* ================= FOOTER ================= */
.footer { background: var(--navy-900); color: #a9b6d0; padding: 70px 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: .04em; }
.footer .logo__name { color: #fff; } .footer .logo__sub { color: #8fa0c2; }
.footer p { font-size: .93rem; margin-top: 16px; color: #9aa8c6; }
.footer__links a { display: inline-flex; align-items: center; gap: 9px; padding: 7px 0; font-size: .94rem; color: #b3c0da; transition: color .2s, transform .2s; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__links svg { width: 14px; height: 14px; color: var(--brand-600); }
.fcontact li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: .93rem; }
.fcontact svg { width: 20px; height: 20px; color: var(--brand-600); flex: none; margin-top: 2px; }
.fcontact a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .2s var(--ease); }
.footer__social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 54px; padding: 22px 0; font-size: .86rem; color: #8798b8; }
.footer__bar .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ================= REVEAL ANIMATION ================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* Back to top */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; border: none; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-700); }
.to-top svg { width: 22px; height: 22px; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .cards, .gallery { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .stats .grid > .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 82px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 12px 22px 26px; box-shadow: var(--shadow); transform: translateY(-140%);
    transition: transform .35s var(--ease); max-height: calc(100vh - 82px); overflow-y: auto;
  }
  .nav.open .nav__links { transform: none; }
  .nav__links a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__links a::after { display: none; }
  .nav__cta { margin: 14px 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
  .nav__toggle { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero__panel { min-height: 380px; padding: 48px 30px; }
  .about, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about__figure { order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .cards, .gallery, .tiles, .mvv, .stats .grid { grid-template-columns: 1fr; }
  .stats .grid > .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .about__badge { position: static; display: inline-block; margin-top: 16px; }
  .form__row { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 26px; text-align: center; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .tick-list { grid-template-columns: 1fr; }
  .topbar__meta { gap: 14px; }
}

/* ================= MOBILE OPTIMISATION ================= */
/* Snappier taps (removes 300ms delay) + subtle tap highlight */
a, button, .btn, input, select, textarea, [role="button"], .nav__toggle, .to-top { touch-action: manipulation; }
html { -webkit-tap-highlight-color: rgba(39,75,147,.12); }
/* Offset in-page anchor jumps so the sticky header doesn't cover the target */
section[id], [id] { scroll-margin-top: 96px; }
/* Prevent iOS auto-zoom on focus: form controls must render at >=16px */
.field input, .field select, .field textarea { font-size: 16px; }
/* Media never overflows its box */
img, video, iframe { max-width: 100%; }

@media (max-width: 560px) {
  .hero__title { font-size: 1.9rem; }
  .hero__panel { min-height: 340px; padding: 40px 22px; }
  .sec-title { font-size: 1.55rem; }
  .section { padding: 52px 0; }
  .container { padding-inline: 18px; }
  .page-banner { padding: 72px 0 54px; }
  .cta-band { padding: 32px 22px; }
  .btn { padding: 12px 22px; }
  /* Larger, easier-to-tap social icons in the top bar */
  .topbar__social a { width: 36px; height: 36px; }
  .topbar__social svg { width: 17px; height: 17px; }
  /* Comfortable tap height on category quick-nav chips */
  .sec-head + div .btn--outline { padding: 11px 18px; }
  .catblock__head { gap: 12px; }
  .catblock__icon { width: 48px; height: 48px; }
  .catblock__icon svg { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 1.7rem; }
  .logo__name { font-size: 1.05rem; }
  .logo__sub { font-size: .58rem; }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .hero__panel img { transform: none; }
}
