:root {
  --clay: #c4442f;
  --clay-dark: #6b2217;
  --accent: #f28b1a;
  --bg: #fdf7f3;
  --text: #222222;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 300; /* Roboto Light */
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-weight: 500; /* a bit heavier than body */
}

a {
  color: var(--clay-dark);
}

/* ===== HEADER & NAV ===== */

header {
  background: radial-gradient(circle at top, var(--accent), var(--clay));
  color: #ffffff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  background: white;
  padding: 1.25rem 0;
}

.topbar .container {
	width: 1100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

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

.logo-img {
  height: 67px;
  display: block;
}

.logo-sub {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  white-space: nowrap;
}

.topbar nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.1rem 1rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

nav a:hover {
  text-decoration: underline;
}

/* ===== HERO (3 COLUMNS) ===== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-img {
  height: 42px;
  display: block;
  /* if original logo isn't white, this makes it light */
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}
/* left column: heading + lead + buttons */
.hero-col-main h1 {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 125%;
  margin-bottom: 0;
}

.hero-col-main .lead {
  font-size: 1.05rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* buttons */

.btn {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: #ffffff;
  color: var(--clay-dark);
}

.btn-primary:hover {
  background: #ffe7c0;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* middle column: structure image */

.hero-col-structure {
  display: flex;
  justify-content: center;
}

.layers-diagram {
  position: relative;
  width: 260px;
  height: 210px;
}

.layers-diagram img {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100%;
  height: auto;
}

.layer-1 {
  bottom: 0;
}
.layer-2 {
  bottom: 50px;
}
.layer-3 {
  bottom: 100px;
}

/* right column: ITF + explanation list */

.hero-col-notes {
  font-size: 0.9rem;
  color: #f7f3ee; /* light text on hero background */
  align-self: flex-start;
}

.itf-badge {
  display: block;
  height: 99px;
  margin: 1.85rem 0 0 2rem;
}

.hero-layers-caption {
  max-width: 260px;
}

.hero-layers-caption strong {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 1.2rem;
}

.hero-layers-caption ol {
  counter-reset: layer;
  padding-left: 0;
  margin: 0.35rem 0 0;
  list-style: none;
}

.hero-layers-caption li {
  position: relative;
  padding-left: 2.2rem;   /* room for the number circle */
  margin-bottom: 0.85rem;
}

.hero-layers-caption li::before {
  counter-increment: layer;
  content: counter(layer);

  position: absolute;
  left: 0;
  top: 0;

  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;

  background: #ffffff;        /* white circle */
  color: var(--clay);         /* clay-colored number */
  font-weight: 500;
  font-size: 0.9rem;

  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ===== MAIN SECTIONS ===== */

main section {
  padding: 3rem 1.5rem;
  border-bottom: 1px solid #ead9cf;
}

main h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--clay-dark);
}

.section-intro {
  margin-bottom: 2rem;
  font-size: 0.98rem;
}

/* ===== PRODUCTS ===== */

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.product-card img {
	max-height: 40px;
	margin-bottom: 0.5rem;
}
.product-card h3 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.product-tag {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--clay-dark);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.product-card .btn {
  font-size: 0.9rem;
  padding: 0.55rem 1.2rem;
  margin-top: 0.4rem;
}

/* Make the PDF button look a bit more “link-like” if you want it lighter */
.product-card .btn-primary {
  background: #ffffff;
  color: var(--clay-dark);
  border: 1px solid #e4c7b8;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-card .btn-primary:hover {
  background: #fff4e4;
}

.product-meta {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: #555;
}

.product-card ul {
  padding-left: 1.1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fbe7d2;
  color: var(--clay-dark);
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

/* ===== TECH + MAINTENANCE (TWO COLS) ===== */

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 0.45rem 0.4rem;
  border-bottom: 1px solid #e3d3c7;
  text-align: left;
}

.spec-table th {
  width: 40%;
  font-weight: 600;
}

/* ===== GALLERY ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.gallery-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.gallery-item h4 {
  margin: 0 0 0.5rem;
  padding: 0;
}
.gallery-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;           /* same “frame” for all images */
  border-radius: 10px;
  overflow: hidden;
  background: #ddd;              /* fallback bg while image loads */
  margin-bottom: 0.85rem;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;             /* crop to fill, no distortion */
  display: block;
}
.gallery-item .badges {
	margin-top: 0.85rem;
}

/* ===== VIDEOS ===== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.video-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;     /* keeps all embeds same shape */
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin-bottom: 0.75rem;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== CONTACT ===== */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
}

.contact-list {
  padding-left: 0;
  list-style: none;
  font-size: 0.95rem;
}

.contact-list li {
  margin-bottom: 0.3rem;
}

.note {
  font-size: 0.85rem;
  color: #555;
}

/* ===== FOOTER ===== */

footer {
  padding: 1.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: #666;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1140px) {
  .container {
	margin-left: 20px;
	margin-right: 20px;
  }
}

@media (max-width: 900px) {
  .topbar {
	  position: fixed;
	  top: 0;
	  z-index: 2;
	  width: 100%;
  }
  .topbar .container {
	width: calc(100% - 40px);
  }
  .topbar + .container {
	margin-top: 107px;
  }
  .hero {
    grid-template-columns: 1fr;
	text-align: center;
  }
  .hero .hero-img {
	  margin-left: auto;
	  margin-right: auto;
  }
  .hero-col-main {
    order: 1;
	text-align: center;
  }

  .hero-col-main .hero-cta {
    justify-content: center;
  }

  .hero-col-structure {
    order: 2;
    justify-content: center;
  }
  .hero-col-structure .layers-diagram {
	min-height: 270px;
  }

  .hero-col-notes {
    order: 3;
	text-align: center;
  }

  .hero-col-main p.lead,
  .hero-layers-caption,
  .itf-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
  }

  nav a {
    margin: 0 1rem 0.25rem 0;
  }

  .two-cols,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
	p, .section-intro, li, .spec-table { font-size: 0.85rem; }
}
