/* ==========================================================================
   Krishvia International — Main Stylesheet
   --------------------------------------------------------------------------
   Contents
   01. Design tokens (CSS custom properties)
   02. Reset and base styles
   03. Typography and layout helpers
   04. Buttons
   05. Header and navigation
   06. Hero (video background) with office address card
   07. Home sections — categories, features, process, CTA band
   08. Products page — category blocks, photo galleries, PDF catalog card
   09. Lightbox (product photo viewer)
   10. About page — logo showcase, values, registrations
   11. Contact page — form, FAQ, info cards
   12. Footer and floating WhatsApp button
   13. Reveal-on-scroll animations
   14. Responsive adjustments
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --navy: #0A3D62;
  --navy-dark: #072C46;
  --navy-deep: #062139;
  --teal: #00A896;
  --teal-dark: #008B7D;
  --mint: #02C39A;

  /* Neutrals */
  --bg-soft: #F5F8FA;
  --bg-white: #FFFFFF;
  --ink: #0F2D4A;
  --text: #3D5468;
  --muted: #64788C;
  --line: #E2EAF1;

  /* Typography */
  --font-head: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  --font-body: 'Inter', 'Segoe UI', Tahoma, sans-serif;

  /* Shape and elevation */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 61, 98, 0.07);
  --shadow-md: 0 10px 30px rgba(10, 61, 98, 0.12);
  --shadow-lg: 0 22px 55px rgba(6, 33, 57, 0.22);

  /* Layout */
  --container: 1180px;
  --header-h: 70px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   02. Reset and base styles
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-white);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--teal-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

strong {
  color: var(--ink);
}

::selection {
  background: var(--mint);
  color: #fff;
}

/* Accessible focus ring for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(2, 195, 154, 0.55);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   03. Typography and layout helpers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: 62px 0;
}

/* Sections that sit right under a page banner can open a little tighter
   so the first screen shows more of the real content. */
.section--flush-top {
  padding-top: 40px;
}

.section--soft {
  background: var(--bg-soft);
}

/* Section heading block: small eyebrow + title + lead paragraph */
.section-head {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.section-head h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.1rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--muted);
  font-size: 0.97rem;
}

.text-grad {
  background: linear-gradient(92deg, var(--teal), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   04. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 999px;
  line-height: 1.2;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Primary (teal, filled) */
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--mint));
  color: #fff;
  box-shadow: 0 8px 22px rgba(2, 195, 154, 0.35);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(2, 195, 154, 0.45);
}

/* Outline on dark backgrounds */
.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-light:hover {
  color: var(--navy-deep);
  background: #fff;
  border-color: #fff;
  transform: translateY(-3px);
}

/* Outline on light backgrounds */
.btn-outline {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

/* WhatsApp green */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

/* --------------------------------------------------------------------------
   05. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(10, 61, 98, 0.06);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(10, 61, 98, 0.14);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-name small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  color: var(--teal-dark);
  text-transform: uppercase;
}

/* Desktop navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta .btn {
  padding: 11px 24px;
  font-size: 0.88rem;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--navy);
  border-radius: 3px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   06. Hero and inner page heroes
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 12px) 0 22px;
  overflow: hidden;
  /* Gradient fallback is always painted under the video, so the hero looks
     correct even before the background video files are added. */
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(2, 195, 154, 0.22), transparent 60%),
    radial-gradient(800px 480px at -10% 110%, rgba(0, 168, 150, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy-dark) 55%, var(--navy));
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 33, 57, 0.35), rgba(6, 33, 57, 0.15) 45%, rgba(6, 33, 57, 0.72));
  pointer-events: none;
}

/* Two-column hero: the message sits on the left and the office address
   card fills the space on the right, so no area of the hero stays empty. */
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.82fr);
  gap: 30px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Frosted office-address card (right side of the hero)
   -------------------------------------------------------------------------- */
.hero-side {
  position: relative;
  z-index: 2;
}

.hero-address {
  position: relative;
  padding: 16px 16px 14px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 55px rgba(3, 18, 32, 0.45);
  overflow: hidden;
}

/* Teal accent strip along the top edge of the card */
.hero-address::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
}

.ha-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.ha-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(2, 195, 154, 0.18);
  border: 1px solid rgba(2, 195, 154, 0.35);
  flex: none;
}

.ha-ic svg {
  width: 19px;
  height: 19px;
  color: var(--mint);
}

.ha-head h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ha-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 3px;
}

.ha-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.ha-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.ha-list li svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--mint);
  margin-top: 3px;
}

.ha-list a {
  color: #fff;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.45);
}

.ha-list a:hover {
  color: var(--mint);
  border-bottom-color: var(--mint);
}

.ha-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
}

.ha-actions {
  display: flex;
  gap: 10px;
}

.ha-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 9px 12px;
  font-size: 0.82rem;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 8px;
}

.hero-tagline::before,
.hero-tagline::after {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--mint);
  border-radius: 2px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hero .hero-sub {
  font-family: var(--font-head);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 8px;
}

.hero .hero-lead {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 580px;
  margin-bottom: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

/* Trust chips under hero buttons */
.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 500;
}

.chip svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
  flex: none;
}

/* Inner page hero (About / Products / Contact) — a full, confident banner
   rather than a thin strip, so the top of every page feels substantial. */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 62px) 0 48px;
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(2, 195, 154, 0.2), transparent 60%),
    linear-gradient(150deg, var(--navy-deep), var(--navy-dark) 60%, var(--navy));
  color: #fff;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.35;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--mint);
}

.breadcrumb a:hover {
  color: #fff;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

/* --------------------------------------------------------------------------
   07. Home sections
   -------------------------------------------------------------------------- */

/* Category cards */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.category-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              border-color 0.35s var(--ease);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 168, 150, 0.35);
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card .cat-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.12), rgba(2, 195, 154, 0.18));
  color: var(--teal);
  margin-bottom: 14px;
}

.category-card .cat-ic svg {
  width: 27px;
  height: 27px;
}

.category-card h3 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.category-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 14px;
}

.category-card .card-link {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--teal);
}

.category-card .card-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.category-card .card-link:hover svg {
  transform: translateX(4px);
}

/* Wide feature card — the newest product line fills the final grid row,
   so the category grid always ends on a complete, balanced row. */
.category-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 26px 28px;
}

.category-card--wide .cat-ic {
  margin-bottom: 0;
  flex: none;
}

.category-card--wide .cat-copy {
  flex: 1 1 300px;
  min-width: 0;
}

.category-card--wide h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.category-card--wide p {
  margin-bottom: 0;
}

.category-card--wide .card-link {
  flex: none;
}

/* Small pill that highlights the latest addition to the range */
.new-badge {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--teal), var(--mint));
  border-radius: 999px;
  padding: 4px 11px;
  box-shadow: 0 6px 14px rgba(2, 195, 154, 0.32);
}

/* Why-us feature cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card .f-ic {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  margin-bottom: 12px;
  box-shadow: 0 8px 18px rgba(2, 195, 154, 0.3);
}

.feature-card .f-ic svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: step;
  position: relative;
}

.step {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  text-align: center;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  border-radius: 50%;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  box-shadow: 0 8px 18px rgba(10, 61, 98, 0.28);
}

.step h3 {
  font-size: 0.99rem;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--muted);
}

/* CTA band with background video */
.cta-band {
  position: relative;
  padding: 68px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 80% 0%, rgba(2, 195, 154, 0.2), transparent 60%),
    linear-gradient(140deg, var(--navy-deep), var(--navy-dark));
}

.cta-band .cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin-bottom: 14px;
}

.cta-band p {
  max-width: 620px;
  margin: 0 auto 32px;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   08. Products page
   -------------------------------------------------------------------------- */

/* One block per product category */
.category-block {
  padding: 44px 0;
  border-top: 1px solid var(--line);
}

.category-block:first-of-type {
  border-top: none;
  padding-top: 12px;
}

.cat-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 26px;
}

.cat-index {
  flex: none;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  box-shadow: 0 10px 24px rgba(2, 195, 154, 0.32);
}

.cat-head h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  margin-bottom: 6px;
}

.cat-head p {
  color: var(--muted);
  max-width: 640px;
  font-size: 0.98rem;
}

/* Body: product info left / gallery right (alternates per block) */
.cat-body {
  display: grid;
  grid-template-columns: minmax(280px, 5fr) 7fr;
  gap: 32px;
  align-items: start;
}

.category-block:nth-of-type(even) .cat-body {
  grid-template-columns: 7fr minmax(280px, 5fr);
}

.category-block:nth-of-type(even) .cat-info {
  order: 2;
}

.category-block:nth-of-type(even) .cat-gallery {
  order: 1;
}

.cat-info {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.cat-info h3 {
  font-size: 1.02rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cat-info h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Product list inside a category */
.product-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.product-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 9px 12px;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-list li:hover {
  border-color: rgba(0, 168, 150, 0.45);
  transform: translateX(4px);
}

.product-list li svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
  margin-top: 3px;
}

.cat-actions {
  display: grid;
  gap: 12px;
}

/* Photo gallery — a uniform square grid so every photo lines up in
   perfect rows and columns across the whole section. */
.cat-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* A category with a single photo shows it as one large square */
.cat-gallery--single {
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Caption ribbon over the photo bottom */
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 30px 16px 12px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(6, 33, 57, 0.86));
  text-align: center;
  pointer-events: none;
}

/* Zoom hint icon (top-right corner) */
.gallery-item::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(6, 33, 57, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 16px no-repeat;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Elegant placeholder if a photo file is missing */
.gallery-item .photo-fallback {
  display: none;
  aspect-ratio: 1 / 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  padding: 20px;
}

.gallery-item .photo-fallback svg {
  width: 40px;
  height: 40px;
  color: var(--line);
}

.gallery-item.is-missing img,
.gallery-item.is-missing figcaption,
.gallery-item.is-missing::after {
  display: none;
}

.gallery-item.is-missing .photo-fallback {
  display: flex;
}

/* PDF catalog card (Baby Care Equipment) */
.pdf-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.pdf-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 44px 24px;
  background:
    radial-gradient(420px 240px at 70% 20%, rgba(2, 195, 154, 0.25), transparent 60%),
    linear-gradient(150deg, var(--navy-deep), var(--navy-dark));
  color: #fff;
}

.pdf-visual .pdf-badge-ic {
  width: 92px;
  height: 108px;
  color: #fff;
  filter: drop-shadow(0 14px 24px rgba(4, 20, 34, 0.45));
}

.pdf-visual .pdf-pages {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(2, 195, 154, 0.45);
  background: rgba(2, 195, 154, 0.12);
  border-radius: 999px;
  padding: 7px 16px;
}

.pdf-body {
  padding: 36px 34px;
}

.pdf-body h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.pdf-body > p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.pdf-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}

.pdf-highlights li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
}

.pdf-highlights li svg {
  width: 17px;
  height: 17px;
  color: var(--teal);
  flex: none;
}

.pdf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
}

.pdf-note {
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0 !important;
}

.pdf-note svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--teal);
}

/* --------------------------------------------------------------------------
   09. Lightbox — fullscreen product photo viewer
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 20, 34, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open {
  display: flex;
  animation: lbFade 0.28s var(--ease);
}

@keyframes lbFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img {
  max-width: min(92vw, 980px);
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.lb-figure {
  position: relative;
  text-align: center;
}

.lb-figure figcaption {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
}

.lb-counter {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--mint);
  margin-bottom: 4px;
}

.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.lb-btn:hover {
  background: rgba(2, 195, 154, 0.5);
  transform: scale(1.08);
}

.lb-btn svg {
  width: 22px;
  height: 22px;
}

.lb-close {
  top: 22px;
  right: 22px;
  position: fixed;
}

.lb-prev {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-next {
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.lb-prev:hover,
.lb-next:hover {
  transform: translateY(-50%) scale(1.08);
}

/* --------------------------------------------------------------------------
   10. About page
   -------------------------------------------------------------------------- */

/* Logo showcase — the official Krishvia mark presented on a clean light
   card with soft decorative rings. Fully static: no script, no motion. */
.logo-showcase {
  position: relative;
  margin: 0;
  padding: 54px 42px 48px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(460px 280px at 50% 0%, rgba(2, 195, 154, 0.10), transparent 70%),
    linear-gradient(170deg, #FFFFFF, #F2F7FA);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

/* Decorative static rings framing the mark */
.logo-showcase::before,
.logo-showcase::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.logo-showcase::before {
  width: 440px;
  height: 440px;
  border: 1.5px dashed rgba(0, 168, 150, 0.32);
}

.logo-showcase::after {
  width: 520px;
  height: 520px;
  border: 1px solid rgba(10, 61, 98, 0.13);
}

.logo-showcase img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 14px 26px rgba(6, 33, 57, 0.18));
}

/* Registration chips under the showcase */
.ls-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  padding: 0 6px;
}

.ls-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(10, 61, 98, 0.06);
  border: 1px solid rgba(10, 61, 98, 0.16);
}

.ls-chips svg {
  width: 14px;
  height: 14px;
  color: var(--teal);
  flex: none;
}

/* Story section */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 54px;
  align-items: center;
}

.story-copy h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 18px;
}

.story-copy p + p {
  margin-top: 14px;
}

.story-copy .story-tag {
  margin: 20px 0 24px;
}

/* Values cards */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.value-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.value-card .v-ic {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.1), rgba(2, 195, 154, 0.16));
}

.value-card .v-ic svg {
  width: 26px;
  height: 26px;
}

.value-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* Registration documents */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.reg-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.reg-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.reg-card .r-ic {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.reg-card .r-ic svg {
  width: 24px;
  height: 24px;
}

.reg-card h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.reg-card .reg-number {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.03em;
  word-break: break-all;
}

.reg-card p {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   11. Contact page
   -------------------------------------------------------------------------- */

/* Contact detail cards — one even row of four identical boxes so the page
   reads as a clean, level grid instead of a staircase of mixed heights. */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 26px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px 20px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.contact-card .c-ic {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  margin-bottom: 10px;
}

.contact-card .c-ic svg {
  width: 21px;
  height: 21px;
}

.contact-card h3 {
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.55;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--teal);
}

/* Enquiry form — one comfortable column under the info cards */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 34px;
  box-shadow: var(--shadow-md);
  max-width: 880px;
  margin: 0 auto;
}

.form-card h2 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-field label span {
  color: #E2504C;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 12px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

/* Consistent placeholder colour; Firefox fades placeholders by default */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #8DA0B0;
  opacity: 1;
}

/* Custom dropdown arrow so the select looks the same in Chrome, Edge,
   Firefox and Safari — each browser draws a different native arrow */
.form-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364788C' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
  cursor: pointer;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.14);
}

/* Form status messages */
.form-status {
  display: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  margin-top: 18px;
}

.form-status.is-success {
  display: block;
  background: rgba(2, 195, 154, 0.12);
  border: 1px solid rgba(2, 195, 154, 0.4);
  color: #017A67;
}

.form-status.is-error {
  display: block;
  background: rgba(226, 80, 76, 0.1);
  border: 1px solid rgba(226, 80, 76, 0.4);
  color: #B23A37;
}

/* FAQ accordion */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.faq-item.is-open {
  border-color: rgba(0, 168, 150, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 15px 20px;
  font-family: var(--font-head);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--ink);
}

.faq-q .faq-chevron {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--teal);
  background: rgba(0, 168, 150, 0.1);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.faq-q .faq-chevron svg {
  width: 16px;
  height: 16px;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  background: var(--teal);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-a p {
  padding: 0 20px 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* Map */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 48px;
}

.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
  filter: saturate(0.9);
}

/* --------------------------------------------------------------------------
   12. Footer and floating WhatsApp button
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(170deg, var(--navy-deep), #041525);
  color: rgba(255, 255, 255, 0.78);
  overflow: hidden;
  box-shadow: 0 -16px 36px rgba(3, 18, 32, 0.3);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--teal));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 44px;
  padding: 56px 0 36px;
}

.footer-brand img {
  height: 68px;
  width: auto;
  margin-bottom: 18px;
  /* White plate so the light-themed logo stays bright on the dark footer */
  background: #FFFFFF;
  border-radius: 14px;
  padding: 6px 12px;
  box-shadow: 0 6px 18px rgba(2, 195, 154, 0.25),
              inset 0 0 0 1px rgba(10, 61, 98, 0.08);
}

.footer-brand .f-tagline {
  font-family: var(--font-head);
  color: var(--mint);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.7;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 16px;
  font-size: 0.9rem;
  font-style: normal;
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--mint);
  flex: none;
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-contact a:hover {
  color: var(--mint);
}

/* Registration strip + copyright */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
}

.footer-bottom .regs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #F7C948;
  margin-bottom: 12px;
}

.footer-bottom .regs span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom .regs svg {
  width: 15px;
  height: 15px;
  color: var(--mint);
}

.footer-copy {
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* --------------------------------------------------------------------------
   13. Reveal-on-scroll animations
   -------------------------------------------------------------------------- */

/* Anchored sections clear the fixed header when jumped to */
section[id],
div[id="catalog"] {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-item img, .btn, .category-card, .feature-card, .value-card,
  .reg-card, .contact-card, .faq-chevron { transition: none !important; }
}

/* --------------------------------------------------------------------------
   14. Responsive adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .features-grid,
  .values-grid { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }

  .pdf-card { grid-template-columns: 260px 1fr; }

  /* Hero stacks: message first, address card below */
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }

  .hero-address { max-width: 620px; }

  /* Contact info cards become an even 2 x 2 grid */
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }

  .story-grid { grid-template-columns: 1fr; gap: 36px; }

  .cat-body,
  .category-block:nth-of-type(even) .cat-body {
    grid-template-columns: 1fr;
  }

  .category-block:nth-of-type(even) .cat-info { order: 1; }
  .category-block:nth-of-type(even) .cat-gallery { order: 2; }

  .cat-info { position: static; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .section { padding: 52px 0; }

  /* Mobile navigation drawer */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(10, 61, 98, 0.14);
    padding: 10px 6vw 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                visibility 0.3s;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    padding: 15px 4px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(10, 61, 98, 0.07);
  }

  .nav-links a::after { display: none; }

  .nav-cta { display: none; }

  .brand-name { font-size: 1rem; }

  .steps { grid-template-columns: repeat(2, 1fr); }

  .pdf-card { grid-template-columns: 1fr; }

  .pdf-visual { padding: 36px 24px; }

  .form-row { grid-template-columns: 1fr; }

  .form-card { padding: 24px 18px; }

  .reg-grid { grid-template-columns: 1fr; }

  .map-wrap iframe { height: 320px; }
}

@media (max-width: 560px) {
  .category-grid,
  .features-grid,
  .values-grid { grid-template-columns: 1fr; }

  .contact-cards { grid-template-columns: 1fr; }

  .steps { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; }

  .cat-gallery { grid-template-columns: repeat(2, 1fr); }

  .cat-gallery--single { grid-template-columns: minmax(0, 300px); }

  .cat-head { flex-direction: column; gap: 14px; }

  .hero-actions .btn { width: 100%; }

  .pdf-actions .btn { width: 100%; }

  .pdf-highlights { grid-template-columns: 1fr; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-btn { width: 44px; height: 44px; }

  .footer-bottom .regs { flex-direction: column; align-items: center; gap: 8px; }

  /* Logo showcase on small screens */
  .logo-showcase { padding: 36px 20px 32px; }

  .logo-showcase::before { width: 305px; height: 305px; }

  .logo-showcase::after { width: 370px; height: 370px; }

  .ls-chips li { padding: 7px 12px; font-size: 0.68rem; }

  /* Address card buttons sit side by side, full width */
  .ha-actions { flex-direction: column; }
}

