/* Lakhani Chemicals — distinct identity (amber #F9A825, charcoal #2C2C2C) */
:root {
  --color-ink: #1a1a1a;
  --color-deep: #2c2c2c;
  --color-slate: #454545;
  --color-muted: #6b6b6b;
  --color-paper: #f4f2ee;
  --color-cream: #ebe8e2;
  --color-accent: #f9a825;
  --color-accent-hot: #ffb300;
  --color-accent-deep: #e65100;
  --color-white: #ffffff;
  --color-danger: #b42318;
  --color-success: #1d6b4a;
  --color-border: rgba(44, 44, 44, 0.1);
  --color-border-strong: rgba(44, 44, 44, 0.18);
  --color-nav: #1c1c1c;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, sans-serif;

  --section-py: clamp(3.5rem, 8vw, 5.5rem);
  --container-px: clamp(1.25rem, 4vw, 1.75rem);
  --radius-card: 4px;
  --radius-btn: 4px;
  --shadow-soft: 0 4px 20px rgba(28, 28, 28, 0.06);
  --shadow-lift: 0 12px 32px rgba(28, 28, 28, 0.1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-paper);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-deep);
}

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

.section {
  padding-block: var(--section-py);
}

.section--light {
  background: var(--color-white);
  border-block: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  margin: 0 0 0.5rem;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
}

.section-header--left {
  text-align: left;
  margin-inline: 0;
  max-width: 36rem;
}

.section-header--left h2 {
  position: relative;
  padding-left: 1rem;
}

.section-header--left h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  background: var(--color-accent);
  border-radius: 2px;
}

.section-footer {
  text-align: left;
  margin-top: clamp(2rem, 4vw, 2.75rem);
}

/* —— Navbar —— */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-nav);
  border-bottom: 2px solid var(--color-accent);
  transition: box-shadow 0.35s var(--ease-out);
}

.navbar--scrolled {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.6rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.navbar__logo:hover {
  color: inherit;
  opacity: 0.92;
}

.navbar__logo-mark {
  display: block;
  width: auto;
  height: clamp(40px, 8vw, 52px);
  object-fit: contain;
}

.navbar__logo-wordmark {
  display: block;
  width: auto;
  height: clamp(26px, 5vw, 36px);
  max-width: min(220px, 42vw);
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

@media (max-width: 520px) {
  .navbar__logo {
    gap: 0.35rem;
  }

  .navbar__logo-mark {
    height: 38px;
  }

  .navbar__logo-wordmark {
    height: 22px;
    max-width: min(160px, 48vw);
  }
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.navbar__hamburger span {
  display: block;
  height: 3px;
  width: 22px;
  margin-inline: auto;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

.navbar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1.75rem);
}

.navbar__links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 0.35rem 0.15rem;
  position: relative;
}

.navbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  transform: scaleX(1);
}

.navbar__links a:hover {
  color: #ffffff;
}

.navbar__links a.active {
  color: var(--color-accent-hot);
}

.navbar__cta {
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .navbar__hamburger {
    display: flex;
  }

  .navbar__links {
    position: fixed;
    inset: 4.6rem 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-nav);
    border-bottom: 2px solid var(--color-accent);
    padding: 1rem var(--container-px) 1.25rem;
    gap: 0;
    display: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }

  .navbar__links--open {
    display: flex;
  }

  .navbar__links li a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__cta {
    display: none;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-btn);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.25s var(--ease-out),
    color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn--primary:hover {
  background: var(--color-accent-deep);
  border-color: var(--color-accent-deep);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.btn--outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent-deep);
  background: rgba(249, 168, 37, 0.08);
}

.btn--accent {
  background: transparent;
  color: var(--color-accent-hot);
  border-color: var(--color-accent);
}

.btn--accent:hover {
  background: var(--color-accent);
  color: var(--color-nav);
  box-shadow: none;
}

.btn--whatsapp {
  background: #25d366;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #1ebe5b;
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
}

.btn__wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn--sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn--full {
  width: 100%;
}

/* —— Hero —— */
.hero {
  min-height: min(82vh, 680px);
  display: flex;
  align-items: stretch;
  padding-block: 0;
  position: relative;
  overflow: hidden;
  background: var(--color-nav);
}

.hero::before {
  display: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }
}

.hero__image {
  position: relative;
  animation: heroFadeUp 0.8s var(--ease-out) 0.2s forwards;
  opacity: 0;
  order: 1;
  min-height: 280px;
}

.hero__image::after {
  display: none;
}

.hero__image img {
  border-radius: 0;
  box-shadow: none;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: auto;
  object-fit: cover;
  border: none;
}

.hero__text {
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 6vw, 4rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

@media (max-width: 900px) {
  .hero__image {
    order: 1;
    max-height: 320px;
  }

  .hero__text {
    order: 2;
    padding: clamp(2rem, 5vw, 2.5rem) var(--container-px);
  }
}

.hero__tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-hot);
  background: none;
  padding: 0 0 0 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 0;
  border: none;
  border-left: 3px solid var(--color-accent);
}

.hero__text h1 {
  font-size: clamp(2rem, 4.8vw, 3rem);
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-weight: 600;
}

.hero__text h2 {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.25rem;
  line-height: 1.55;
}

.hero__text p {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 34rem;
}

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

.hero__ctas .btn--outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__ctas .btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: #ffffff;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero--visible .hero__text > * {
  animation: heroFadeUp 0.65s var(--ease-out) forwards;
  opacity: 0;
}

.hero--visible .hero__text > *:nth-child(1) {
  animation-delay: 0.08s;
}
.hero--visible .hero__text > *:nth-child(2) {
  animation-delay: 0.2s;
}
.hero--visible .hero__text > *:nth-child(3) {
  animation-delay: 0.32s;
}
.hero--visible .hero__text > *:nth-child(4) {
  animation-delay: 0.44s;
}
.hero--visible .hero__text > *:nth-child(5) {
  animation-delay: 0.56s;
}

.hero--visible .hero__image {
  opacity: 1;
}

/* —— Features / values —— */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: value-item;
  border: 1px solid var(--color-border);
  background: var(--color-white);
}

@media (max-width: 768px) {
  .features__grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: transparent;
  border-radius: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: none;
  border: none;
  border-right: 1px solid var(--color-border);
  transition: background 0.3s var(--ease-out);
  counter-increment: value-item;
}

.feature-card:last-child {
  border-right: none;
}

@media (max-width: 768px) {
  .feature-card {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }

  .feature-card:last-child {
    border-bottom: none;
  }
}

.feature-card:hover {
  transform: none;
  box-shadow: none;
  background: var(--color-paper);
}

.feature-card::before {
  content: counter(value-item, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.feature-card__icon {
  display: none;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
}

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

.features__grid .feature-card:nth-child(2) {
  transition-delay: 0.08s;
}
.features__grid .feature-card:nth-child(3) {
  transition-delay: 0.16s;
}

/* —— Products grid —— */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 1.75rem);
}

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

@media (max-width: 520px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.products-grid .product-card:nth-child(2) {
  transition-delay: 0.05s;
}
.products-grid .product-card:nth-child(3) {
  transition-delay: 0.1s;
}
.products-grid .product-card:nth-child(4) {
  transition-delay: 0.15s;
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  transition:
    border-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out);
}

.product-card:hover {
  transform: none;
  box-shadow: var(--shadow-soft);
  border-top-color: var(--color-accent-deep);
}

.product-card__image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card__body {
  padding: 1.1rem 1.2rem 1.35rem;
}

.product-card__body h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.product-card__body p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* —— Page header —— */
.page-header {
  background: var(--color-paper);
  color: var(--color-deep);
  padding-block: clamp(2.5rem, 6vw, 3.5rem);
  text-align: left;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.page-header::after {
  display: none;
}

.page-header h1 {
  color: var(--color-deep);
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  margin: 0.5rem 0;
}

.page-header > .container > p:last-of-type {
  margin: 0;
  color: var(--color-muted);
  max-width: 36rem;
  margin-inline: 0;
}

.breadcrumb {
  font-size: 0.82rem;
  margin: 0;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.breadcrumb a {
  color: var(--color-slate);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-accent-deep);
}

/* —— Trust strip —— */
.trust-strip {
  padding-block: clamp(2rem, 4vw, 2.75rem);
  background: var(--color-nav);
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  border: none;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-strip h3 {
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
  font-family: var(--font-body);
}

.trust-strip h3::after {
  display: none;
}

.trust-strip__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.trust-strip__badges a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-card);
  transition: opacity 0.25s;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.trust-strip__badges a:hover {
  transform: none;
  opacity: 0.85;
  border-color: var(--color-accent);
}

.trust-strip__badges img {
  height: 36px;
  width: auto;
  margin-inline: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* —— Loading / errors —— */
.loading-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-muted);
}

.spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 3px solid rgba(44, 44, 44, 0.12);
  border-top-color: var(--color-accent);
  animation: spin 0.75s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--color-danger);
}

.error-state button {
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid var(--color-danger);
  background: transparent;
  color: var(--color-danger);
  cursor: pointer;
}

.error-state button:hover {
  background: var(--color-danger);
  color: var(--color-white);
}

/* —— Product detail —— */
.product-detail__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

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

.product-gallery__main {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
}

.product-gallery__main img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  margin-inline: auto;
}

.product-gallery__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}

.product-gallery__thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.product-gallery__thumbs img:hover {
  transform: scale(1.03);
}

.product-gallery__thumbs img.active {
  border-color: var(--color-accent);
}

.product-info {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
}

.product-info h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.product-info__short {
  color: var(--color-muted);
  margin: 0 0 1rem;
}

.product-info hr {
  border: none;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
  margin: 1.25rem 0;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.specs-table td {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
  vertical-align: top;
}

.specs-table td:first-child {
  font-weight: 600;
  color: var(--color-slate);
  width: 42%;
}

.related-products {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(44, 44, 44, 0.08);
}

.related-products h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
}

/* —— About —— */
.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
}

.about-intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.stat-card {
  flex: 1 1 140px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
}

.stat-card__number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-deep);
}

.stat-card__label {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

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

@media (max-width: 520px) {
  .certs-grid {
    grid-template-columns: 1fr;
  }
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
  transition: transform 0.3s var(--ease-out);
}

.cert-card:hover {
  transform: translateY(-3px);
}

.cert-card a {
  display: block;
}

.cert-card img {
  max-height: 160px;
  width: auto;
  margin: 0 auto 0.75rem;
  object-fit: contain;
}

.cert-card h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

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

.cert-number {
  margin-top: 0.5rem !important;
  font-size: 0.8rem !important;
  color: var(--color-muted) !important;
}

.team-section {
  background: var(--color-nav);
  color: rgba(255, 255, 255, 0.9);
}

.team-section .section-header--left h2 {
  color: #ffffff;
}

.team-section .section-header--left h2::before {
  background: var(--color-accent-hot);
}

.team-section .section-header p {
  color: rgba(255, 255, 255, 0.65);
}

.team-section__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.team-section__header .section-header {
  margin-bottom: 0;
}

.team-section__cta {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.team-section__cta:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: #ffffff;
}

.team-roster {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.team-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 1.5rem);
  padding: clamp(1.1rem, 2.5vw, 1.4rem) clamp(1rem, 3vw, 1.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--ease-out);
}

.team-row:last-child {
  border-bottom: none;
}

.team-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

.team-row__initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-nav);
  background: var(--color-accent);
  border-radius: var(--radius-card);
  flex-shrink: 0;
}

.team-row__body h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: #ffffff;
}

.team-row__role {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.team-row__phone {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-accent-hot);
  text-decoration: none;
  white-space: nowrap;
}

.team-row__phone:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .team-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .team-row__phone {
    grid-column: 2;
    font-size: 0.88rem;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.5rem 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
}

.team-card__photo {
  width: 100%;
  max-width: 160px;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-card);
  object-fit: cover;
  margin: 0 auto 1rem;
  border: none;
  background: var(--color-cream);
}

.team-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}

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

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  margin: 0 0 0.5rem;
}

.contact-info > p {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
}

.contact-person {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  margin-bottom: 1.25rem;
}

.contact-person__role {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  margin: 0 0 0.2rem;
}

.contact-person__name {
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.contact-office {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.contact-office p {
  margin: 0.35rem 0;
}

.inquiry-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(44, 44, 44, 0.06);
}

.inquiry-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.inquiry-form .form-row .form-group {
  flex: 1 1 180px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--color-border-strong);
  width: 100%;
  background: var(--color-white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(249, 168, 37, 0.2);
}

.form-error {
  font-size: 0.8rem;
  color: var(--color-danger);
  min-height: 1.1rem;
  margin-top: 0.2rem;
}

.form-success {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(29, 107, 74, 0.1);
  color: var(--color-success);
  font-weight: 600;
}

.form-error-msg {
  margin-top: 1rem;
  padding: 0.85rem;
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.08);
  color: var(--color-danger);
  font-weight: 600;
}

/* —— Footer —— */
.footer {
  background: #141414;
  color: rgba(255, 255, 255, 0.88);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  margin-top: 0;
  border-top: none;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

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

.footer__wordmark {
  height: auto;
  max-height: 44px;
  width: auto;
  object-fit: contain;
  object-position: left center;
}

.footer__brand p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  max-width: 28rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.footer__badges img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer__links h4,
.footer__contact h4 {
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 1rem;
}

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

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer__links a:hover {
  color: var(--color-accent);
}

.footer__contact p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom p {
  margin: 0;
}

/* —— Fade up —— */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s var(--ease-out),
    transform 0.55s var(--ease-out);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none !important;
}

.not-found-box {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.not-found-box p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}
