/* ============================================================
   THANH LONG RUỘT ĐỎ VIỆT NAM - LANDING PAGE STYLES
   Màu sắc: Hồng Đỏ Thanh Long (#d12c5b) + Xanh Tai Lá (#2a7e43)
   Font: Phudu (Headings) + Be Vietnam Pro (Body)
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Phudu:wght@400;600;700;900&family=Be+Vietnam+Pro:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Màu sắc chủ đạo */
  --color-primary:      #d12c5b;   /* Hồng đỏ ruột thanh long */
  --color-primary-dark: #b01f46;   /* Hồng đỏ sẫm */
  --color-secondary:    #2a7e43;   /* Xanh lá tai thanh long */
  --color-secondary-dark: #1b582d; /* Xanh lá đậm */
  --color-dark:         #1b2a1e;   /* Chữ xanh đen đậm trầm organic */
  --color-cream:        #fafaf7;   /* Nền kem ngọc bích sáng */
  --color-ivory:        #f3f4ed;   /* Nền ngà nhẹ */
  --color-gold:         #ffb84d;   /* Vàng ấm làm điểm nhấn */
  --color-white:        #ffffff;

  /* Typography */
  --font-heading: 'Phudu', serif;
  --font-body:    'Be Vietnam Pro', sans-serif;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(27,42,30,0.06);
  --shadow-md:  0 4px 20px rgba(27,42,30,0.1);
  --shadow-lg:  0 8px 40px rgba(27,42,30,0.15);
  --shadow-xl:  0 16px 64px rgba(27,42,30,0.2);

  /* Spacing */
  --section-py: 6rem;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-med:  0.35s ease;
  --transition-slow: 0.6s ease;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-cream);
  color: var(--color-dark);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Base --- */
.section {
  padding: var(--section-py) 0;
}

.section--dark {
  background-color: var(--color-secondary-dark);
  color: var(--color-cream);
}

.section--ivory {
  background-color: var(--color-ivory);
}

.section__label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.section--dark .section__label {
  color: var(--color-gold);
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
  margin-bottom: 1.25rem;
}

.section__desc {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.88;
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-center .section__desc {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition-med), color var(--transition-med),
              border-color var(--transition-med), transform var(--transition-fast),
              box-shadow var(--transition-med);
  text-align: center;
}

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

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

.btn--primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 24px rgba(209,44,91,0.3);
}

.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}

.btn--secondary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  box-shadow: 0 6px 24px rgba(42,126,67,0.3);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}

.btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: var(--color-white);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.btn--outline-dark:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: background var(--transition-med), padding var(--transition-med), box-shadow var(--transition-med);
}

.header.scrolled {
  background: rgba(27, 42, 30, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header__logo-main {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.header__logo-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-med);
}

.header__nav-link:hover {
  color: var(--color-primary);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header.scrolled .header__nav-link:hover {
  color: var(--color-gold);
}
.header.scrolled .header__nav-link::after {
  background: var(--color-gold);
}

.header__cta {
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}

/* Hamburger button */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.header__hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-med), opacity var(--transition-fast);
}

.header__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.header__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  transition: opacity var(--transition-med);
}

.mobile-nav.active {
  display: flex;
  opacity: 1;
}

.mobile-nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.mobile-nav__link:hover {
  color: var(--color-gold);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27,42,30,0.9) 0%,
    rgba(27,42,30,0.7) 60%,
    rgba(27,42,30,0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 140px 0 60px; /* Tăng padding trên để né header cố định, padding dưới để né stats */
  max-width: 760px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(209,44,91,0.18);
  border: 1px solid rgba(209,44,91,0.4);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.hero__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  animation: pulse 2s infinite;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.hero__title span {
  color: var(--color-primary);
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.88);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero Stats Bar */
.hero__stats {
  position: relative;
  background: rgba(27,42,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 2;
  margin-top: auto;
}

.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hero__stat-item {
  padding: 1.5rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.hero__stat-item:last-child {
  border-right: none;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-primary);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

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

/* Product Card */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.06);
}

.product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.product-card__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.product-card__name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.product-card__sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 1rem;
}

.product-card__desc {
  font-size: 0.93rem;
  color: #4a544e;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--color-ivory);
  padding-top: 1.25rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #5a645e;
}

.spec-item__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}

/* ============================================================
   WHY CHOOSE US / USP SECTION
   ============================================================ */
.why-us {
  background: var(--color-secondary-dark);
  color: var(--color-cream);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.why-us__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-us__image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.why-us__image-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.why-us__image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
}

.why-us__features {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-us__feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-us__feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: background var(--transition-med);
}

.why-us__feature:hover .why-us__feature-icon {
  background: rgba(255,255,255,0.18);
}

.why-us__feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.why-us__feature-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* ============================================================
   PROCESS / TIMELINE SECTION
   ============================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--color-cream);
}

.process__header {
  text-align: center;
  margin-bottom: 4rem;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 0.5rem;
  position: relative;
  z-index: 1;
}

.process-step__num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-secondary-dark);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 0 0 6px var(--color-cream), 0 0 0 8px rgba(42,126,67,0.3);
  transition: transform var(--transition-med), box-shadow var(--transition-med);
}

.process-step:hover .process-step__num {
  transform: scale(1.1);
  box-shadow: 0 0 0 6px var(--color-cream), 0 0 0 10px rgba(209,44,91,0.5);
}

.process-step__icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.4rem;
}

.process-step__desc {
  font-size: 0.8rem;
  color: #4a544e;
  line-height: 1.5;
}

/* ============================================================
   CERTIFICATIONS SECTION
   ============================================================ */
.certs {
  background: var(--color-ivory);
  padding: var(--section-py) 0;
}

.certs__header {
  text-align: center;
  margin-bottom: 3rem;
}

.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cert-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(42,126,67,0.15);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.cert-card__icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.cert-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.cert-card__desc {
  font-size: 0.82rem;
  color: #4a544e;
  line-height: 1.55;
}

/* ============================================================
   CTA STRIP / BANNER
   ============================================================ */
.cta-strip {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-secondary-dark) 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before,
.cta-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-strip::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(209,44,91,0.08) 0%, transparent 70%);
  top: -80px;
  left: 10%;
}

.cta-strip::after {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(209,44,91,0.05) 0%, transparent 70%);
  bottom: -60px;
  right: 15%;
}

.cta-strip__title {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.cta-strip__desc {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.cta-strip__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ============================================================
   RFQ FORM SECTION
   ============================================================ */
.rfq-section {
  padding: var(--section-py) 0;
  background: var(--color-cream);
}

.rfq-section__layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.rfq-info__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.rfq-info__desc {
  font-size: 0.97rem;
  color: #4a544e;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.rfq-contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rfq-contact-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.rfq-contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(42,126,67,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.rfq-contact-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
  display: block;
  margin-bottom: 0.15rem;
}

.rfq-contact-item__value {
  font-weight: 600;
  color: var(--color-dark);
  font-size: 0.95rem;
}

/* RFQ Form Card */
.rfq-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(42,126,67,0.12);
}

.rfq-form-card__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.rfq-form-card__sub {
  font-size: 0.85rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
}

/* Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.03em;
}

.form-group label .required {
  color: #c0392b;
  margin-left: 2px;
}

.form-control {
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(42,126,67,0.25);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-dark);
  background: var(--color-cream);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(42,126,67,0.15);
  background: var(--color-white);
}

.form-control::placeholder {
  color: #7a847e;
}

.form-control.is-invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a7e43' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-error {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  justify-content: center;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  background: rgba(39,174,96,0.08);
  border: 1px solid rgba(39,174,96,0.3);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  color: #27ae60;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 1rem;
}

.form-success.visible {
  display: block;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  padding: var(--section-py) 0;
  background: var(--color-ivory);
}

.faq__header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(42,126,67,0.15);
  overflow: hidden;
  transition: box-shadow var(--transition-fast);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--color-dark);
  transition: background var(--transition-fast);
}

.faq-item.open .faq-item__question {
  background: rgba(42,126,67,0.06);
}

.faq-item__chevron {
  font-size: 1.2rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  transition: transform var(--transition-med);
  font-style: normal;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-med);
}

.faq-item.open .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  color: #4a544e;
  line-height: 1.75;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.footer__brand-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer__brand-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}

.footer__contact-icon {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer__bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__credit {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer__credit a {
  color: var(--color-gold);
  font-weight: 600;
}

.footer__credit a:hover {
  text-decoration: underline;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-secondary-dark);
  color: var(--color-gold);
  border: 2px solid rgba(255,255,255,0.2);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-med), transform var(--transition-med),
              background var(--transition-fast);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.8); }
}

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

/* Scroll-based reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .products__grid { grid-template-columns: 1fr 1fr; }
  .process__grid  { grid-template-columns: repeat(3, 1fr); }
  .process__grid::before { left: 17%; right: 17%; }
  .certs__grid    { grid-template-columns: repeat(2, 1fr); }
  .footer__grid   { grid-template-columns: 1fr 1fr; }
  .why-us__layout { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-py: 4rem; }

  .header__nav { display: none; }
  .header__hamburger { display: flex; }

  .hero {
    min-height: auto;
  }
  .hero__content {
    padding: 100px 0 35px;
  }
  .hero__title {
    font-size: clamp(1.8rem, 5.5vw, 2.5rem);
    line-height: 1.3;
  }
  .hero__desc {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
  }

  .products__grid      { grid-template-columns: 1fr; }
  .why-us__layout      { grid-template-columns: 1fr; }
  .rfq-section__layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .process__grid       { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
  .footer__grid        { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom      { flex-direction: column; text-align: center; }
  .form-row            { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 90px 0 25px;
  }
  .hero__title { font-size: 1.8rem; }
  .hero__stats-inner { grid-template-columns: repeat(2, 1fr); }
  .hero__stat-item { padding: 1rem; }
  .certs__grid { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}
