/* Jayalaxmi Industries — Brand palette (logo) */
:root {
  --blue: #212b7b;
  --blue-soft: #2d3a96;
  --red: #e52421;
  --red-soft: #ff3b38;
  --black: #111111;
  --white: #ffffff;
  --sand: #f5f5f7;
  --sand-dark: #e8e8ec;
  --text: #111111;
  --text-muted: #555555;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 8px 40px rgba(33, 43, 123, 0.08);
  --shadow-red: 0 4px 24px rgba(229, 36, 33, 0.22);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 92px;
  --container-max: 1140px;
  --container-pad: clamp(1.25rem, 4vw, 2.5rem);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--red);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section--sand {
  background: var(--sand);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--red);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Chakra motif */
.chakra-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.chakra-bg::before {
  content: "";
  position: absolute;
  width: min(90vw, 520px);
  height: min(90vw, 520px);
  border-radius: 50%;
  border: 1px solid rgba(33, 43, 123, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chakra-bg::after {
  content: "";
  position: absolute;
  width: min(70vw, 380px);
  height: min(70vw, 380px);
  border-radius: 50%;
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg 8deg,
    rgba(229, 36, 33, 0.04) 8deg 16deg
  );
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.7;
}

.chakra-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(33, 43, 123, 0.08);
}

.chakra-ring--1 {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -60px;
}

.chakra-ring--2 {
  width: 180px;
  height: 180px;
  bottom: 10%;
  left: -40px;
  border-color: rgba(229, 36, 33, 0.15);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33, 43, 123, 0.06);
  transition: box-shadow 0.3s var(--ease);
}

.header.is-scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo__img {
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.header .logo__img {
  height: 77px;
  max-width: min(480px, 65vw);
}

.logo--footer .logo__img {
  height: 56px;
  max-width: 260px;
  filter: none;
}

.footer .logo--footer {
  display: inline-block;
  background: var(--white);
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 0.25rem;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue);
}

.logo__tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 600;
}

.footer .logo__tag {
  color: rgba(255, 255, 255, 0.75);
}

.nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.nav a:hover {
  color: var(--blue);
}

.header__cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}

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

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--primary:hover {
  background: var(--red-soft);
  color: var(--white);
  box-shadow: 0 6px 28px rgba(229, 36, 33, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn--accent {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--accent:hover {
  background: var(--red-soft);
  color: var(--white);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

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

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  z-index: 99;
  border-top: 1px solid var(--sand-dark);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--sand);
}

@media (min-width: 900px) {
  .nav,
  .header__cta {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
  .mobile-nav {
    display: none;
  }
}

/* Hero v2 — mockup layout */
.page-home .header {
  background: rgba(255, 255, 255, 0.98);
}

.hero-v2 {
  position: relative;
  background: var(--sand);
  overflow: hidden;
  margin-top: var(--header-h);
}

.hero-v2--banner .hero-v2__banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-v2--banner .hero-v2__split {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vw, 620px);
  padding-bottom: clamp(3.5rem, 8vw, 5rem);
}

@media (max-width: 899px) {
  .hero-v2--banner .hero-v2__split {
    min-height: clamp(380px, 70vh, 520px);
    align-items: flex-start;
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-v2--banner .hero-v2__banner {
    background-position: 42% center;
  }
}

.hero-v2__split {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(78vh, 640px);
}

@media (min-width: 900px) {
  .hero-v2:not(.hero-v2--banner) .hero-v2__split {
    grid-template-columns: 46% 54%;
  }
}

.hero-v2__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}

.hero-v2--banner .hero-v2__content {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.hero-v2--banner .hero-v2__title,
.hero-v2--banner .hero-v2__sub,
.hero-v2--banner .hero-v2__actions {
  max-width: 26rem;
}

@media (min-width: 1140px) {
  .hero-v2__content {
    padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  }

  .hero-v2--banner .hero-v2__content {
    padding-left: max(var(--container-pad), calc((100vw - var(--container-max)) / 2 + var(--container-pad)));
  }
}

.hero-v2__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.hero-v2__title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}

.hero-v2__title-main {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--blue);
  letter-spacing: -0.02em;
}

.hero-v2__title-accent {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--red);
  letter-spacing: -0.02em;
}

.hero-v2__sub {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn--pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.65rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
}

.btn--pill-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}

.btn--pill-primary:hover {
  background: var(--red-soft);
  color: var(--white);
}

.btn--pill-outline {
  background: var(--white);
  color: var(--blue);
  border-color: var(--blue);
}

.btn--pill-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.hero-v2__ribbon {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--sand-dark);
  background: var(--sand);
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.hero-v2__ribbon-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .hero-v2__ribbon-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero-v2__ribbon-inner {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

.hero-v2__ribbon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.6rem;
  padding: 0.65rem 0.35rem;
}

.hero-v2__icon {
  color: var(--red);
  flex-shrink: 0;
}

.hero-v2__ribbon-item span {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.35;
}

/* Homepage trust band: pillars + stats */
.home-trust {
  background: var(--sand);
}

.home-pillars {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.home-pillars__head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  max-width: 36rem;
}

.home-pillars__head .section-title {
  margin-top: 0.35rem;
}

.home-pillars__grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .home-pillars__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-pillars__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.home-pillars__item {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
}

.pillar__icon {
  color: var(--red);
  margin-bottom: 1rem;
}

.home-pillars__item h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.home-pillars__item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Stats bar */
.stat-bar {
  padding: 0 0 clamp(2.5rem, 4vw, 3.5rem);
  background: var(--sand);
}

.stat-bar__inner {
  width: 100%;
  background: var(--blue);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .stat-bar__inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

.stat-bar__item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  padding: 0 0.25rem;
}

.stat-bar__icon {
  color: var(--red);
  flex-shrink: 0;
}

.stat-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.stat-bar__item span {
  font-size: 0.8rem;
  opacity: 0.88;
  line-height: 1.35;
}

/* Why grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-card {
  background: var(--white);
  border: 1px solid rgba(33, 43, 123, 0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

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

.why-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--white) 100%);
  border: 1px solid rgba(229, 36, 33, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

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

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.35rem;
  }
}

.industries-grid--page {
  margin-top: 2rem;
}

.industries-grid--home {
  margin-top: 2.5rem;
}

.page-hero--industries {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
  padding: calc(var(--header-h) + 2rem) 0 2.75rem;
  min-height: clamp(320px, 40vw, 460px);
  display: flex;
  align-items: flex-end;
}

.page-hero--industries::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(245, 245, 247, 0.94) 22%,
      rgba(245, 245, 247, 0.72) 42%,
      rgba(245, 245, 247, 0.2) 62%,
      transparent 78%
    ),
    linear-gradient(180deg, transparent 55%, rgba(245, 245, 247, 0.85) 100%);
  pointer-events: none;
}

.page-hero--industries__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/brand/industries-hero.png') center 35% / cover no-repeat;
}

.page-hero--industries__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-hero--industries__copy {
  max-width: 34rem;
}

.page-hero--industries .section-label {
  color: var(--red);
}

.page-hero--industries .section-title {
  color: var(--blue);
  max-width: 16ch;
}

.page-hero--industries .section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.page-hero--compact {
  padding-bottom: 1.5rem;
}

.industries-intro {
  max-width: 46rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.industries-empty {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--sand);
  border-radius: var(--radius-lg);
  text-align: center;
}

.industries-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.industry-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.industry-card__media {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--navy);
  overflow: hidden;
}

.industry-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.industry-card:hover .industry-card__media img {
  transform: scale(1.06);
}

.industry-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(33, 43, 123, 0.55) 100%);
  pointer-events: none;
}

.industry-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand-red) 100%);
  opacity: 0.4;
}

.industry-card__body {
  padding: 1.15rem 1.25rem 1.35rem;
}

.industry-card__title {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 0.4rem;
}

.industry-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
}

.industry-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-red);
}

.industry-card--compact {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border: none;
  box-shadow: none;
  border-radius: var(--radius);
}

.industry-card--compact .industry-card__media {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  height: 100%;
}

.industry-card--compact .industry-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(33, 43, 123, 0.88));
}

.industry-card--compact .industry-card__title {
  color: var(--white);
  margin: 0;
  font-size: 0.95rem;
}

.industry-card--compact .industry-card__overlay {
  background: linear-gradient(transparent, rgba(33, 43, 123, 0.35) 70%);
}

.industry-card--compact:hover {
  transform: none;
  box-shadow: none;
}

.industry-card--compact:hover .industry-card__media img {
  opacity: 0.92;
}

.industry-detail__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .industry-detail__layout {
    grid-template-columns: min(42%, 440px) 1fr;
  }
}

.industry-detail__figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--sand-dark);
  box-shadow: var(--shadow-sm);
}

.industry-detail__figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.industry-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(33, 43, 123, 0.06);
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: var(--shadow);
}

.product-card__img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--sand);
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__body {
  padding: 1.5rem;
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

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

/* Philosophy */
.philosophy {
  position: relative;
}

.philosophy__layout {
  display: grid;
  gap: 3rem;
  align-items: center;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .philosophy__layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.philosophy__visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: none;
  box-shadow: var(--shadow);
  border: 1px solid rgba(33, 43, 123, 0.08);
}

.philosophy__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.philosophy__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(229, 36, 33, 0.4);
  border-radius: var(--radius-lg);
  margin: 1rem;
  pointer-events: none;
}

.philosophy__chakra {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  opacity: 0.5;
}

.philosophy__text p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.philosophy__text p strong {
  color: var(--blue);
}

.philosophy__pillars {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.philosophy__pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
}

.philosophy__pillar h4 {
  font-size: 1rem;
  color: var(--blue);
  margin-bottom: 0.25rem;
}

.philosophy__pillar p {
  font-size: 0.85rem;
  margin: 0;
}

/* Gallery */
.gallery-masonry {
  columns: 1;
  column-gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 600px) {
  .gallery-masonry {
    columns: 2;
  }
}

@media (min-width: 900px) {
  .gallery-masonry {
    columns: 3;
  }
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s var(--ease);
}

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

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(33, 43, 123, 0.06);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.35;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
}

.testimonial p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 1.5rem 0 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--blue);
  font-size: 0.9rem;
}

.testimonial span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

.contact-item a {
  font-weight: 600;
  font-size: 1.05rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(33, 43, 123, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--blue);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--sand);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(33, 43, 123, 0.1);
  background: var(--white);
}

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

.map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--sand-dark);
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer .logo__name,
.footer .section-title {
  color: var(--white);
}

.footer .logo__tag {
  color: rgba(255, 255, 255, 0.9);
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.footer a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--blue);
  color: var(--white);
  z-index: 200;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 1rem;
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: var(--white);
}


.page-hero {
  padding: calc(var(--header-h) + 2rem) 0 2rem;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
}

.layout-sidebar {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .layout-sidebar {
    grid-template-columns: 240px 1fr;
  }
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav a {
  padding: 0.4rem 0;
  font-weight: 500;
}

.sidebar-nav a.active,
.sidebar-sub {
  color: var(--red);
}

.sidebar-sub {
  padding-left: 1rem !important;
  font-size: 0.9rem;
}

.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  max-width: 520px;
}

.search-bar input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
}

.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

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

.alt-names {
  margin: 1rem 0;
}

.alt-names__tag {
  display: inline-block;
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  margin: 0.2rem;
}

.product-detail__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .product-detail__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-detail__main {
  width: 100%;
  border-radius: var(--radius-lg);
}

.product-detail__thumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.product-detail__thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--sand-dark);
  padding: 0.65rem 1rem;
  text-align: left;
}

.spec-table th {
  background: var(--sand);
  width: 35%;
}

.blog-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.blog-card__body {
  padding: 1.25rem;
}

.meta-list {
  list-style: none;
  margin: 1rem 0;
  color: var(--text-muted);
}

.meta-list li {
  margin-bottom: 0.35rem;
}

.meta-muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.alert-success {
  background: #e8f5e9;
  color: #1b5e20;
  padding: 1rem;
  border-radius: var(--radius);
}

.form-error {
  color: var(--red);
  font-size: 0.85rem;
}

.check-list {
  margin: 0.5rem 0 1rem 1.25rem;
}

.check-list li {
  margin-bottom: 0.35rem;
}

.prose {
  line-height: 1.7;
  color: var(--text);
}

.prose p {
  margin-bottom: 1rem;
}

.prose .lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--navy);
  font-weight: 500;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: var(--navy);
  margin: 2.25rem 0 0.85rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--brand-red);
  display: inline-block;
}

.prose h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.5rem 0 0.5rem;
}

.prose ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.prose ul li {
  margin-bottom: 0.45rem;
  padding-left: 0.25rem;
}

.prose strong {
  color: var(--navy);
}

.about-page__layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .about-page__layout {
    grid-template-columns: 1fr min(300px, 32%);
  }
}

.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-sidebar__card {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-sm);
}

.about-sidebar__card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 0 0 1rem;
}

.about-sidebar__card p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.about-sidebar__card--muted {
  background: var(--sand);
  box-shadow: none;
}

.about-sidebar__card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-sidebar__card ul li {
  margin-bottom: 0.5rem;
}

.about-sidebar__card ul a {
  font-weight: 500;
  color: var(--navy);
}

.about-sidebar__card ul a:hover {
  color: var(--brand-red);
}

.page-hero--about {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
  padding: calc(var(--header-h) + 2rem) 0 2.75rem;
  min-height: clamp(300px, 36vw, 420px);
  display: flex;
  align-items: flex-end;
}

.page-hero--about::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 65%, rgba(245, 245, 247, 0.5) 100%);
  pointer-events: none;
}

.page-hero--about__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/brand/about-hero.png') center center / cover no-repeat;
}

.page-hero--about__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-hero--about__copy {
  max-width: 38rem;
}

.page-hero--about .section-label {
  color: var(--red);
}

.page-hero--about .section-title {
  color: var(--blue);
}

.page-hero--about .section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.page-hero--products {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
  padding: calc(var(--header-h) + 2rem) 0 2.75rem;
  min-height: clamp(300px, 36vw, 440px);
  display: flex;
  align-items: flex-end;
}

.page-hero--products::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(245, 245, 247, 0.45) 100%);
  pointer-events: none;
}

.page-hero--products__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/brand/products-hero.png') center center / cover no-repeat;
}

.page-hero--products__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-hero--products__copy {
  max-width: 40rem;
}

.page-hero--products .section-label {
  color: var(--red);
}

.page-hero--products .section-title {
  color: var(--blue);
}

.page-hero--products .section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.page-hero--products .search-bar {
  margin-top: 1.5rem;
  max-width: 100%;
}

.page-hero--products .search-bar input {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(33, 43, 123, 0.06);
}

.page-hero--projects {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
  padding: calc(var(--header-h) + 2rem) 0 2.75rem;
  min-height: clamp(300px, 36vw, 440px);
  display: flex;
  align-items: flex-end;
}

.page-hero--projects::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(245, 245, 247, 0.45) 100%);
  pointer-events: none;
}

.page-hero--projects__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/brand/projects-hero.png') center center / cover no-repeat;
}

.page-hero--projects__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-hero--projects__copy {
  max-width: 38rem;
}

.page-hero--projects .section-label {
  color: var(--red);
}

.page-hero--projects .section-title {
  color: var(--blue);
}

.page-hero--projects .section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.page-hero--contact {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  border-bottom: 1px solid var(--sand-dark);
  padding: calc(var(--header-h) + 2rem) 0 2.75rem;
  min-height: clamp(300px, 36vw, 440px);
  display: flex;
  align-items: flex-end;
}

.page-hero--contact::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 60%, rgba(245, 245, 247, 0.45) 100%);
  pointer-events: none;
}

.page-hero--contact__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('/images/brand/contact-hero.png') center center / cover no-repeat;
}

.page-hero--contact__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.page-hero--contact__copy {
  max-width: 38rem;
}

.page-hero--contact .section-label {
  color: var(--red);
}

.page-hero--contact .section-title {
  color: var(--blue);
}

.page-hero--contact .section-lead {
  color: var(--text-muted);
  max-width: 36rem;
}

.product-card__placeholder {
  aspect-ratio: 16/10;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.faq-list details {
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.section {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
