:root {
  --primary: #0f6c6c;
  --primary-dark: #0a4f4f;
  --accent: #f4b942;
  --text: #16313a;
  --muted: #5f7580;
  --bg: #f7fbfb;
  --surface: #ffffff;
  --border: #dce9ea;
  --shadow: 0 18px 45px rgba(15, 108, 108, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.98);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  color: var(--primary-dark);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(135deg, #ecf8f8, #fdfdfd);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy p,
.section-intro p,
.info-card p,
.hero-profile p {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 1.2rem;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.hero-copy p {
  font-size: 1.05rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid var(--border);
}

.hero-profile {
  display: grid;
  gap: 1.3rem;
}

.profile-photo {
  min-height: 280px;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  background-color: #0f6c6c;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fallback-photo {
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 280px;
  color: white;
  padding: 1.5rem;
  background: linear-gradient(180deg, #0f6c6c 0%, #0a4f4f 100%);
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-photo img.hidden {
  display: none;
}

.profile-copy {
  padding: 1.4rem;
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: #f3f8f8;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.info-card {
  padding: 1.6rem;
}

.info-card ul {
  padding-left: 1.15rem;
  margin: 0;
  color: var(--muted);
}

.info-card li {
  margin-bottom: 0.6rem;
}

.section-intro {
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.card,
.pillar,
.contact-box,
.product-filters,
.product-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(15, 108, 108, 0.05);
}

.card {
  padding: 1.6rem;
}

.card h3 {
  margin-bottom: 0.8rem;
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillar {
  padding: 1.1rem;
}

.pillar strong {
  display: block;
  margin-bottom: 0.55rem;
}

.section-cta {
  padding-top: 0;
}

.contact-box {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
}

.contact-box .eyebrow {
  color: #ccebea;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer {
  padding: 2.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-grid strong {
  display: block;
  margin-bottom: 0.8rem;
}

.filter-group {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
}

.filter-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: #fdfdfd;
  color: var(--text);
}

.product-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.product-listing {
  display: grid;
  gap: 1.5rem;
}

.product-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-summary p {
  color: var(--muted);
}

.products {
  display: grid;
  gap: 1rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.product-card:hover,
.product-card.active {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.product-card h3 {
  margin-bottom: 0.5rem;
}

.product-card .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.product-card .product-tag {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: #ecf8f8;
  color: var(--primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

.product-detail {
  padding: 1.8rem;
}

.product-detail h3 {
  margin-bottom: 0.8rem;
}

.product-detail .detail-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}

.product-detail .detail-item {
  display: grid;
  gap: 0.25rem;
}

.product-detail .detail-item span {
  color: var(--muted);
}

.tag-pill {
  display: inline-flex;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: #eaf8f8;
  color: var(--primary-dark);
}

.availability {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  font-weight: 700;
  display: inline-flex;
}

.availability.in-stock {
  background: #e6f7ee;
  color: #117a3a;
}

.availability.out-of-stock {
  background: #f9e5e2;
  color: #9d2c2f;
}

.availability.contact {
  background: #fff5d5;
  color: #8f6600;
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .hero-grid,
  .two-column,
  .card-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .nav-bar {
    flex-direction: column;
    gap: 0.6rem;
  }

  .nav-links {
    justify-content: center;
  }

  .hero {
    padding-top: 3rem;
  }
}
