/* TULAX v2 — clean, professional, three-product layout */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8fa;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-accent: #f59e0b;
  --color-accent-dark: #d97706;
  --color-border: #e2e8f0;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --container: 1200px;
  --header-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform .15s, box-shadow .15s, background .15s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn--accent:hover { background: var(--color-accent-dark); }
.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
}
.btn--outline:hover { border-color: var(--color-accent); color: var(--color-accent-dark); }
.btn--lg { padding: 14px 32px; font-size: 1rem; }

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-dark);
}
.header__logo img { height: 36px; width: auto; }
.header__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 500;
}
.header__nav a:not(.btn) { color: var(--color-text); }
.header__nav a:not(.btn):hover { color: var(--color-accent-dark); }
.header__menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* Hero */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__text h1 {
  font-size: 3rem;
  line-height: 1.15;
  color: var(--color-dark);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero__text p {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero__visual {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}
.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}

.hero__visual img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: contain;
}

/* Material close-up shot */
.material-shot {
  padding: 0;
  background: var(--color-dark);
  color: #fff;
}
.material-shot__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: center;
  min-height: 520px;
}
.material-shot__text {
  padding: 60px 50px 60px 0;
}
.material-shot__text .eyebrow { color: var(--color-accent); }
.material-shot__text h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.material-shot__text p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 420px;
}
.material-shot__media {
  height: 100%;
  min-height: 520px;
}
.material-shot__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 992px) {
  .material-shot__inner { grid-template-columns: 1fr; }
  .material-shot__text { padding: 50px 0; }
  .material-shot__media { min-height: 360px; }
}
@media (max-width: 768px) {
  .material-shot__text h2 { font-size: 1.8rem; }
  .material-shot__media { min-height: 280px; }
}

/* Sections */
.section { padding: 90px 0; }
.section--alt { background: var(--color-bg-alt); }
.section--dark {
  background: var(--color-dark);
  color: #fff;
}
.section--dark .eyebrow { color: var(--color-accent); }
.section--dark h2 { color: #fff; }
.section--dark p { color: rgba(255, 255, 255, 0.7); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.section__header h2 {
  font-size: 2.1rem;
  color: var(--color-dark);
  margin-bottom: 12px;
}
.section__header p { color: var(--color-muted); font-size: 1.05rem; }

/* Parent cards */
.parent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.parent-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.parent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.parent-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parent-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.parent-card__tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--color-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
}
.parent-card__body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.parent-card__body h3 {
  font-size: 1.25rem;
  color: var(--color-dark);
  margin-bottom: 10px;
}
.parent-card__body p {
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
  flex: 1;
}

/* Detail sections */
.detail-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 12px;
}
.detail-header h2 {
  font-size: 1.7rem;
  color: var(--color-dark);
}
.detail-header h2 span { color: var(--color-muted); font-weight: 400; }
.back-link {
  font-size: 0.9rem;
  color: var(--color-muted);
}
.back-link:hover { color: var(--color-accent-dark); }

.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.variant-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--color-border) 0 0 0 1px;
  text-align: center;
  transition: box-shadow .15s, transform .15s;
}
.variant-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.variant-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #fff;
}
.variant-card h4 {
  font-size: 1rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}
.variant-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Applications */
.applications__image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  padding: 12px;
}
.applications__image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* About */
.about__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about__text h2 {
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.about__text p { color: var(--color-muted); margin-bottom: 24px; }
.about__list {
  list-style: none;
  display: grid;
  gap: 12px;
}
.about__list li {
  padding-left: 28px;
  position: relative;
  color: var(--color-text);
}
.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-dark);
  font-weight: 700;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.stat {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.stat strong {
  display: block;
  font-size: 2.2rem;
  color: var(--color-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.stat span { font-size: 0.9rem; color: var(--color-muted); }

/* Contact form */
.rfq-form {
  max-width: 640px;
  margin: 0 auto 32px;
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rfq-form input,
.rfq-form select,
.rfq-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color .15s;
}
.rfq-form input::placeholder,
.rfq-form textarea::placeholder { color: rgba(255, 255, 255, 0.45); }
.rfq-form select {
  color: rgba(255, 255, 255, 0.7);
}
.rfq-form select option { color: var(--color-dark); }
.rfq-form input:focus,
.rfq-form select:focus,
.rfq-form textarea:focus { border-color: var(--color-accent); }
.rfq-form button { justify-self: center; margin-top: 8px; }

.contact__direct {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.contact__direct a { color: rgba(255, 255, 255, 0.9); }
.contact__direct a:hover { color: var(--color-accent); }

/* Footer */
.footer {
  background: #0b1220;
  color: rgba(255, 255, 255, 0.5);
  padding: 28px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__text h1 { font-size: 2.4rem; }
  .parent-grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu { display: block; }
  .hero { padding: 50px 0 40px; }
  .hero__text h1 { font-size: 2rem; }
  .section { padding: 60px 0; }
  .parent-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-header { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav open state */
.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: #fff;
  padding: 20px;
  box-shadow: var(--shadow);
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
}
