/* ============================================
   TQS TRADING - Premium Stylesheet v2
   Balanced Dark/Light with depth & imagery
   ============================================ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0a8fd6;
  --primary-dark: #0670a8;
  --accent: #00c2ff;
  --navy: #0c1525;
  --navy-2: #101d30;
  --navy-3: #152238;
  --slate: #1b2d45;
  --bg-white: #f8fafb;
  --bg-light: #f0f3f7;
  --card-white: #ffffff;
  --text-dark: #0c1525;
  --text-body: #3d4f65;
  --text-muted: #6b7d94;
  --green: #10b981;
  --green-dark: #059669;
  --border: rgba(0,0,0,0.07);
  --border-blue: rgba(10,143,214,0.25);
  --gradient-blue: linear-gradient(135deg, #0a8fd6, #00c2ff);
  --gradient-navy: linear-gradient(180deg, #0c1525 0%, #152238 100%);
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.06);
  --shadow: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,0.12);
  --shadow-blue: 0 8px 30px rgba(10,143,214,0.2);
  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg-white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-weight: 700; line-height: 1.2; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Utility ---------- */
.section-padding { padding: 110px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gradient-blue);
  border-radius: 2px;
}

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 640px; }

.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Light section label */
.section-label-light { color: var(--accent); }
.section-label-light::before { background: linear-gradient(90deg, var(--accent), var(--primary)); }

.section-title-light { color: #fff; }
.section-subtitle-light { color: rgba(255,255,255,0.6); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  cursor: pointer; border: none;
  transition: all var(--transition); text-decoration: none;
}
.btn-primary {
  background: var(--gradient-blue); color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(10,143,214,0.35); color: #fff;
}
.btn-outline {
  background: transparent; color: var(--text-dark);
  border: 1.5px solid rgba(10,143,214,0.3);
}
.btn-outline:hover {
  background: rgba(10,143,214,0.06); border-color: var(--primary);
}
.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
  color: var(--navy);
}
.btn-outline-light {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5);
  color: #fff;
}

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.loader-wrap { text-align: center; }
.loader-ring {
  width: 50px; height: 50px;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
.loader-text { color: rgba(255,255,255,0.4); font-size: 0.8rem; letter-spacing: 3px; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 18px 0; transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
/* Scrolled header over dark sections: navy glass */
.header.scrolled.header--dark {
  background: rgba(12,21,37,0.9);
  box-shadow: 0 1px 20px rgba(0,0,0,0.2);
}
/* When over dark sections */
.header--dark .nav-links a { color: rgba(255,255,255,0.7); }
.header--dark .nav-links a:hover,
.header--dark .nav-links a.active { color: #fff; }
.header--dark .hamburger span { background: #fff; }
/* When scrolled over light sections */
.header.scrolled:not(.header--dark) .nav-links a { color: var(--text-muted); }
.header.scrolled:not(.header--dark) .nav-links a:hover,
.header.scrolled:not(.header--dark) .nav-links a.active { color: var(--text-dark); }
.header.scrolled:not(.header--dark) .hamburger span { background: var(--text-dark); }

.nav { display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: flex; }
.logo { height: 48px; transition: all var(--transition); }
.header.scrolled .logo { height: 38px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  color: var(--text-muted); font-size: 0.9rem; font-weight: 500;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-blue); border-radius: 2px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { padding: 10px 24px !important; font-size: 0.85rem !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-dark); border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- HERO (Dark) ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--gradient-navy);
  color: #fff;
}
.hero h1, .hero h3 { color: #fff; }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 45%, rgba(10,143,214,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 85% 55%, rgba(0,194,255,0.08) 0%, transparent 70%);
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }
.particle {
  position: absolute; width: 3px; height: 3px;
  background: var(--accent); border-radius: 50%; opacity: 0;
  animation: float-particle 8s infinite;
}
@keyframes float-particle {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,143,214,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,143,214,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,194,255,0.08); border: 1px solid rgba(0,194,255,0.2);
  border-radius: 50px; padding: 8px 20px;
  font-size: 0.78rem; font-weight: 600;
  color: var(--accent); margin-bottom: 28px;
  letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-badge .pulse-dot {
  width: 8px; height: 8px; background: var(--green); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  font-weight: 800; line-height: 1.08; margin-bottom: 24px;
}
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.55); margin-bottom: 40px; max-width: 540px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-item h3 { font-size: 2.2rem; font-weight: 800; }
.stat-item p { font-size: 0.85rem; color: rgba(255,255,255,0.4); margin-bottom: 0; }

.hero-visual {
  position: absolute; right: -2%; top: 50%; transform: translateY(-50%);
  width: 42%; max-width: 550px; z-index: 1; opacity: 0.1; pointer-events: none;
}

/* ---------- Section Divider ---------- */
.section-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(10,143,214,0.15), transparent); }

/* ---------- POR QUE TQS (Light) ---------- */
.why-tqs { background: var(--bg-white); }

.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px;
}
.pillar-card {
  background: var(--card-white);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 28px;
  text-align: center; position: relative; overflow: hidden;
  transition: all var(--transition);
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-blue);
  transform: scaleX(0); transition: transform var(--transition);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover {
  border-color: var(--border-blue); transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pillar-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(10,143,214,0.06);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 1.8rem;
  transition: all var(--transition);
}
.pillar-card:hover .pillar-icon { background: rgba(10,143,214,0.1); transform: scale(1.1); }
.pillar-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.pillar-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- SOBRE (Light with image) ---------- */
.about { background: var(--bg-light); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.about-text p { margin-bottom: 20px; }
.about-tqs {
  margin-top: 32px; padding: 24px;
  background: var(--card-white); border-radius: var(--radius);
  border-left: 3px solid var(--primary); box-shadow: var(--shadow-xs);
}
.about-tqs strong { color: var(--text-dark); }

.about-image-wrapper {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrapper img {
  width: 100%; height: 400px; object-fit: cover;
}
.about-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,143,214,0.15), rgba(12,21,37,0.3));
  pointer-events: none;
}
.about-image-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(12,21,37,0.85); backdrop-filter: blur(10px);
  border-radius: 12px; padding: 16px 24px; color: #fff;
}
.about-image-badge h4 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.about-image-badge p { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin: 0; }

/* ---------- IMPORTAÇÃO (Dark) ---------- */
.import-section {
  background: var(--gradient-navy);
  color: rgba(255,255,255,0.7);
  position: relative; overflow: hidden;
}
.import-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(10,143,214,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.import-section h2, .import-section h3 { color: #fff; }

.resins-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; margin-top: 48px;
}
.resin-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); position: relative;
}
.resin-card:hover {
  border-color: rgba(10,143,214,0.3); transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.resin-card-img {
  width: 100%; height: 180px; object-fit: cover;
  transition: transform 0.6s ease;
}
.resin-card:hover .resin-card-img { transform: scale(1.05); }
.resin-card-img-wrap { overflow: hidden; position: relative; }
.resin-card-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(12,21,37,0.7) 100%);
  pointer-events: none;
}
.resin-card-body { padding: 24px; }
.resin-tag {
  display: inline-block;
  background: rgba(0,194,255,0.12); color: var(--accent);
  padding: 4px 14px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 12px;
}
.resin-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.resin-types { color: var(--accent); font-weight: 600; font-size: 0.82rem; margin-bottom: 8px; }
.resin-apps { font-size: 0.82rem; color: rgba(255,255,255,0.45); }

/* ---------- EXPORTAÇÃO (Light) ---------- */
.export-section { background: var(--bg-white); }

.export-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-top: 48px;
}
.export-features { display: flex; flex-direction: column; gap: 28px; }
.export-feature { display: flex; gap: 16px; align-items: flex-start; }
.export-feature .feat-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 12px; background: rgba(10,143,214,0.06);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.export-feature h4 { font-size: 1rem; margin-bottom: 4px; }
.export-feature p { font-size: 0.88rem; color: var(--text-muted); }

.export-highlight {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 44px;
  position: relative; overflow: hidden;
}
.export-highlight::before {
  content: ''; position: absolute; top: -40%; right: -40%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(10,143,214,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.export-highlight h3 { font-size: 1.5rem; margin-bottom: 16px; }
.export-tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.export-tags span {
  background: rgba(10,143,214,0.06); border: 1px solid rgba(10,143,214,0.16);
  color: var(--primary); padding: 10px 22px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
}

/* ---------- COMÉRCIO INTERNACIONAL (Dark accent) ---------- */
.trade-section {
  background: var(--navy); color: rgba(255,255,255,0.7);
  position: relative; overflow: hidden;
}
.trade-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 50% 50%, rgba(10,143,214,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.trade-section h2, .trade-section h4 { color: #fff; }

.trade-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 56px; flex-wrap: wrap;
}
.trade-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px 16px; flex: 1; min-width: 130px;
  position: relative;
}
.trade-step:not(:last-child)::after {
  content: ''; position: absolute; right: -4px; top: 42px;
  width: 36px; height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(0,194,255,0.1));
}
.trade-step .step-icon {
  width: 60px; height: 60px; border-radius: 16px;
  background: rgba(0,194,255,0.06); border: 1px solid rgba(0,194,255,0.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 14px;
  transition: all var(--transition);
}
.trade-step:hover .step-icon {
  background: rgba(0,194,255,0.12); border-color: rgba(0,194,255,0.25);
  transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.trade-step h4 { font-size: 0.85rem; font-weight: 600; }

/* ---------- RECICLAGEM (Light green accent) ---------- */
.recycling-section {
  background: var(--bg-light); position: relative; overflow: hidden;
}
.recycling-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 40% at 30% 50%, rgba(16,185,129,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.recycling-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.recycling-content .eco-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.08); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 50px; padding: 8px 20px;
  font-size: 0.78rem; font-weight: 700; color: var(--green);
  margin-bottom: 28px; letter-spacing: 1.5px; text-transform: uppercase;
}
.recycling-content p { margin-bottom: 16px; }

.recycling-visual { position: relative; }
.recycling-image-wrap {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.recycling-image-wrap img { width: 100%; height: 380px; object-fit: cover; }
.recycling-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(12,21,37,0.2));
  pointer-events: none;
}

.recycling-process {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; margin-top: 32px;
}
.process-step {
  background: var(--card-white); border: 1px solid var(--border);
  border-radius: 12px; padding: 18px 14px; text-align: center;
  transition: all var(--transition);
}
.process-step:hover {
  border-color: rgba(16,185,129,0.3); transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.process-step .step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(16,185,129,0.1); color: var(--green);
  font-size: 0.75rem; font-weight: 700; margin-bottom: 8px;
}
.process-step h5 { font-size: 0.82rem; color: var(--text-dark); }

/* ---------- ESTRUTURA (Light) ---------- */
.structure-section { background: var(--bg-white); }

.locations-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px;
}
.location-card {
  background: var(--card-white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition); position: relative;
}
.location-card-img {
  width: 100%; height: 160px; object-fit: cover;
}
.location-card-body { padding: 28px; }
.location-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gradient-blue);
  transform: scaleX(0); transition: transform var(--transition);
}
.location-card:hover::after { transform: scaleX(1); }
.location-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.location-card .loc-icon { font-size: 1.8rem; margin-bottom: 12px; }
.location-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.location-card .loc-state {
  color: var(--primary); font-weight: 600; font-size: 0.82rem; margin-bottom: 14px;
}
.location-card .loc-focus { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 14px; }
.location-card .loc-address {
  font-size: 0.78rem; color: var(--text-muted);
  padding-top: 14px; border-top: 1px solid var(--border);
}

/* ---------- CTA (Dark, impactful) ---------- */
.cta-section {
  background: var(--gradient-navy);
  padding: 110px 0; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(10,143,214,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-box { text-align: center; position: relative; z-index: 1; }
.cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 16px; color: #fff;
}
.cta-box p {
  font-size: 1.1rem; color: rgba(255,255,255,0.5);
  margin-bottom: 40px; max-width: 540px; margin-left: auto; margin-right: auto;
}
.cta-contacts {
  display: flex; justify-content: center;
  gap: 40px; margin-top: 44px; flex-wrap: wrap;
}
.cta-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
}
.cta-contact-item span:first-child { font-size: 1.2rem; }

/* ---------- Footer (Dark) ---------- */
.footer {
  background: #080e18; border-top: 1px solid rgba(255,255,255,0.05);
  padding: 64px 0 30px;
}
.footer h4, .footer h3 { color: rgba(255,255,255,0.9); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.4); max-width: 300px; }
.footer-col h4 {
  font-size: 0.85rem; margin-bottom: 20px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.4); font-size: 0.88rem; }
.footer-col ul li a:hover { color: #fff; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; font-size: 0.88rem; color: rgba(255,255,255,0.4);
}
.footer-contact-item span:first-child { color: var(--primary); font-size: 1rem; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-blue); border: none; color: #fff;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: all var(--transition); box-shadow: var(--shadow-blue); z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-2px); }

/* ---------- WhatsApp ---------- */
.whatsapp-float {
  position: fixed; bottom: 32px; left: 32px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--transition); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); color: #fff; }

/* ---------- Mobile overlay ---------- */
.nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 998; opacity: 0; visibility: hidden;
  transition: all var(--transition);
}
.nav-overlay.active { opacity: 1; visibility: visible; }


/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .resins-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .export-grid, .recycling-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-padding { padding: 80px 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: #fff; flex-direction: column; padding: 80px 32px 32px;
    gap: 24px; transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.1); z-index: 1001;
  }
  .nav-links.open { right: 0; }
  .nav-links a { color: var(--text-body) !important; }
  .nav-links a:hover { color: var(--text-dark) !important; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .resins-grid { grid-template-columns: 1fr; }
  .trade-step:not(:last-child)::after { display: none; }
  .trade-flow { gap: 8px; }
  .locations-grid { grid-template-columns: 1fr; }
  .recycling-process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-contacts { flex-direction: column; align-items: center; gap: 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .about-image-wrapper img { height: 280px; }
}
