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

:root {
  /* Blue / Red / Silver Grey — GDP brand */
  --blue: #1e3a5f;
  --blue-light: #2c5282;
  --blue-dark: #0f2440;
  --red: #c0392b;
  --red-light: #e74c3c;
  --silver: #b0b8c1;
  --silver-light: #d5dbe0;
  --silver-dark: #8a939d;
  --dark: #121820;
  --dark2: #1a2332;
  --dark3: #222d3a;
  --white: #ffffff;
  --off-white: #f4f6f8;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;
  color: var(--white);
  background: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fjalla One', 'Impact', sans-serif;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === Logo Wordmark === */
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.logo-main {
  font-family: 'Bebas Neue', 'Fjalla One', Impact, sans-serif;
  font-size: 2.2rem;
  letter-spacing: 2px;
  background: linear-gradient(180deg, #6b88a8 0%, #2c5282 35%, #1e3a5f 65%, #0f2440 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.2));
}
.logo-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-top: -2px;
  display: flex;
  align-items: center;
  gap: 3px;
}
.logo-d { color: var(--blue-light); }
.logo-amp { color: var(--red); font-weight: 800; }
.logo-p { color: var(--red); }

.footer-logo .logo-main { font-size: 1.8rem; }
.footer-logo .logo-sub { font-size: 0.52rem; letter-spacing: 3px; }

/* === Highlight === */
.highlight { color: var(--red); }
.text-accent { color: var(--red-light); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-family: 'Fjalla One', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(192,57,43,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  border-color: var(--silver-light);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn-lg { padding: 20px 48px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* === Header === */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,36,64,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(15,36,64,0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  line-height: 1.3;
}
.footer-logo .logo-img { height: 36px; }

.nav { display: flex; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--silver);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--red-light);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.header-phone-icon { display: flex; align-items: center; color: var(--red-light); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.5s ease, transform 8s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.93) 0%, rgba(30,58,95,0.75) 50%, rgba(15,36,64,0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative; z-index: 2;
  padding: 140px 0 100px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(192,57,43,0.4);
  color: var(--red-light);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.95;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--silver);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; right: 48px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-scroll-hint span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--silver-dark);
  writing-mode: vertical-lr;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: scrollDown 2s infinite;
}
@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === Marquee === */
.marquee-bar {
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: 'Fjalla One', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
}
.marquee-track .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  display: inline-block;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === Section Shared === */
.section-header { margin-bottom: 64px; }
.section-tag {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--red);
  margin-bottom: 16px;
  font-family: 'Source Sans 3', monospace;
}
.section-header h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.05;
}
.section-header p {
  color: var(--silver);
  font-size: 1.05rem;
  margin-top: 16px;
  max-width: 480px;
}

/* === Services === */
.services {
  padding: 120px 0;
  background: var(--dark2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark3);
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--red);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.service-img {
  position: relative;
  height: 240px;
  overflow: hidden;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-card:hover .service-img img { transform: scale(1.08); }

.service-number {
  position: absolute;
  top: 16px; right: 16px;
  font-family: 'Fjalla One', sans-serif;
  font-size: 3rem;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

.service-body { padding: 32px; }
.service-body h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}
.service-body p {
  font-size: 0.92rem;
  color: var(--silver);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags span {
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--silver-light);
  transition: var(--transition);
}
.service-card:hover .service-tags span {
  border-color: rgba(192,57,43,0.4);
  color: var(--red-light);
}

/* === Products === */
.products {
  padding: 120px 0;
  background: var(--dark);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: -20px;
}

.product-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}
.product-img { width: 100%; height: 100%; }
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(30%);
}
.product-item:hover .product-img img {
  transform: scale(1.1);
  filter: grayscale(0%);
}

.product-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(to top, rgba(15,36,64,0.95) 0%, transparent 100%);
  font-family: 'Fjalla One', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}
.product-item:hover .product-label {
  transform: translateY(0);
  opacity: 1;
}

/* === About === */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.about-visual {
  position: relative;
  overflow: hidden;
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.about-stat-card {
  position: absolute;
  bottom: 40px; left: 40px;
  background: var(--red);
  color: var(--white);
  padding: 28px 36px;
}
.stat-big {
  font-family: 'Fjalla One', sans-serif;
  font-size: 4rem;
  line-height: 1;
}
.stat-text {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.4;
}

.about-text-side {
  background: var(--blue-dark);
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text-side h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}
.about-lead {
  font-size: 1.1rem;
  color: var(--silver-light);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text-side > p {
  color: var(--silver);
  margin-bottom: 40px;
  line-height: 1.8;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-bar {
  width: 100%; height: 3px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.pillar-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  height: 100%; width: 40%;
  background: var(--red);
}

.pillar strong {
  display: block;
  font-family: 'Fjalla One', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  color: var(--white);
}
.pillar p {
  font-size: 0.82rem;
  color: var(--silver);
  line-height: 1.6;
}

/* === Clients === */
.clients {
  padding: 100px 0;
  background: var(--dark2);
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.client-logo {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/10;
  overflow: hidden;
  transition: var(--transition);
}
.client-logo:hover {
  border-color: var(--blue-light);
  background: rgba(44,82,130,0.08);
}
.client-logo img {
  max-height: 70px;
  object-fit: contain;
  opacity: 0.7;
  transition: var(--transition);
}
.client-logo:hover img { opacity: 1; }

/* === CTA Big === */
.cta-big {
  position: relative;
  padding: 160px 0;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.93), rgba(30,58,95,0.85));
}
.cta-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.05;
}
.cta-content p {
  color: var(--silver);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Contact === */
.contact {
  padding: 120px 0;
  background: var(--dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 28px;
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(44,82,130,0.4); }

.contact-card-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192,57,43,0.1);
  color: var(--red);
  margin-bottom: 16px;
}

.contact-card strong {
  display: block;
  font-family: 'Fjalla One', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.contact-card p {
  font-size: 0.88rem;
  color: var(--silver);
  line-height: 1.6;
}
.contact-card a { color: var(--red-light); }

/* === Contact Form === */
.contact-form-wrap {
  background: var(--blue-dark);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px;
}

.contact-form h3 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.8rem;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.form-subtitle {
  color: var(--silver);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--silver-dark); }
.form-group select { color: var(--silver-dark); appearance: none; cursor: pointer; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
  background: rgba(192,57,43,0.05);
}
.form-group textarea { resize: vertical; }

/* === Footer === */
.footer {
  background: var(--blue-dark);
  border-top: 3px solid var(--red);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--silver);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-logo .logo-img { height: 36px; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--silver);
  transition: var(--transition);
}
.social-links a:hover {
  border-color: var(--red);
  color: var(--red-light);
  background: rgba(192,57,43,0.1);
}

.footer-col h4 {
  font-family: 'Fjalla One', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.85rem;
  color: var(--silver);
  margin-bottom: 10px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--red-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

/* === Scroll Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 520px; }
  .product-showcase { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-visual { height: 400px; }
  .about-text-side { padding: 48px 32px; }
  .about-pillars { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--blue-dark);
    flex-direction: column;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }

  .hero { min-height: 100svh; }
  .hero-content { padding: 120px 0 80px; }
  .hero h1 { font-size: 2.8rem; }
  .hero-scroll-hint { display: none; }

  .services, .products, .clients, .contact { padding: 80px 0; }
  .product-showcase { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-big { padding: 100px 0; }
  .cta-bg { background-attachment: scroll; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .about-stat-card { bottom: 20px; left: 20px; padding: 20px; }
  .stat-big { font-size: 2.5rem; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}
