/* ============================================
   TRINS MAX INTERNATIONAL — Stylesheet
   ============================================ */

:root {
  --navy: #0a1628;
  --navy-light: #132240;
  --navy-mid: #1a3055;
  --gold: #c9a227;
  --gold-light: #e8c547;
  --gold-dark: #a8861f;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #eef1f6;
  --gray-200: #dde3ec;
  --gray-400: #8896a8;
  --gray-600: #4a5568;
  --gray-800: #1e293b;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 22, 40, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section__header {
  margin-bottom: 60px;
}

.section__header--center {
  text-align: center;
}

.section__tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section--dark .section__tag {
  color: var(--gold-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.section--dark .section__title {
  color: var(--white);
}

.section__subtitle {
  margin-top: 16px;
  font-size: 1.0625rem;
  color: var(--gray-400);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.65);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn--primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  gap: 8px;
}

.btn--whatsapp:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

/* Header / Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.nav__logo-img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-text strong {
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
}

.nav__logo-text span {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  opacity: 0.7;
  text-transform: uppercase;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  transition: all var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav__link--cta {
  background: var(--gold);
  color: var(--navy) !important;
  margin-left: 8px;
}

.nav__link--cta:hover {
  background: var(--gold-light);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 162, 39, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 80%, rgba(26, 48, 85, 0.8) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 50%, var(--navy-mid) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url('../images/products/vtf-108bt-v52.png') center/cover no-repeat;
  opacity: 0.04;
  mix-blend-mode: luminosity;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 140px 24px 100px;
  max-width: 760px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title span {
  color: var(--gold);
}

.hero__desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 56px;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.hero__stat span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about__text p {
  color: var(--gray-600);
  margin-bottom: 16px;
  font-size: 1.0625rem;
}

.about__list {
  margin-top: 24px;
}

.about__list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.about__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about__card {
  padding: 28px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.about__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.about__card-icon {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.about__card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.about__card p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 162, 39, 0.3);
  transform: translateY(-4px);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 16px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Products */
.products__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--navy);
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.product-card.hidden {
  display: none;
}

.product-card__img {
  position: relative;
  height: 220px;
  background: var(--gray-50);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.product-card__img img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}

.product-card:hover .product-card__img img {
  transform: scale(1.05);
}

.product-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 12px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.product-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__cat {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.product-card__body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.product-card__body > p {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.product-card__specs {
  margin-bottom: 20px;
}

.product-card__specs li {
  font-size: 0.8125rem;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
}

.product-card__specs li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gold);
}

.product-card__btn {
  display: block;
  text-align: center;
  padding: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  transition: all var(--transition);
}

.product-card__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}

.products__note {
  text-align: center;
  margin-top: 48px;
  font-size: 0.9375rem;
  color: var(--gray-400);
  font-style: italic;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact__logo {
  margin-bottom: 8px;
}

.contact__logo img {
  width: 100px;
  height: auto;
}

.contact__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.contact__icon {
  font-size: 1.25rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact__icon--whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
}

.contact__icon--whatsapp svg {
  width: 24px;
  height: 24px;
}

.contact__item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact__item p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.contact__item a {
  color: rgba(255, 255, 255, 0.85);
}

.contact__item a:hover {
  color: var(--gold-light);
}

.contact__certs {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.cert-badge {
  padding: 16px 24px;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: var(--radius);
}

.cert-badge span {
  display: block;
  font-size: 0.75rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.cert-badge strong {
  font-size: 0.9375rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.contact__form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.required {
  color: var(--gold-light);
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
  border-color: #f87171;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-note {
  margin-top: 12px;
  font-size: 0.875rem;
  text-align: center;
  min-height: 20px;
}

.form-note.success {
  color: #4ade80;
}

.form-note.error {
  color: #f87171;
}

.form-alt {
  margin-top: 16px;
  font-size: 0.875rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.form-alt a {
  color: #25d366;
  font-weight: 600;
}

.form-alt a:hover {
  color: #4ade80;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

.whatsapp-float:hover {
  background: #20bd5a;
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  padding: 8px 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Footer */
.footer {
  background: #060e1a;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 60px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 260px;
}

.footer__links h4,
.footer__contact h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer__links ul li {
  margin-bottom: 10px;
}

.footer__links a,
.footer__contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--gold-light);
}

.footer__contact p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  font-size: 0.8125rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav__link--cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .nav__toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav__toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__cards {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__stats {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-float__tooltip {
    display: none;
  }

  .products__filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }
}
