/* ============================================
   PRAESIDION SECURITY B.V. — Global Stylesheet
   ============================================ */

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

:root {
  --navy-deep: #0a1628;
  --navy: #142240;
  --navy-light: #1e3355;
  --gold: #c9a84c;
  --gold-light: #e3cc7a;
  --gold-pale: #f5ecd0;
  --white: #ffffff;
  --gray-100: #f4f5f7;
  --gray-200: #e2e4e9;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --text: #1f2937;
  --font: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --max-w: 1200px;
  --header-h: 72px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.section-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .75rem;
}
.section-title { margin-bottom: 1rem; }
.section-subtitle { color: var(--gray-600); max-width: 640px; margin: 0 auto 3rem; font-size: 1.05rem; }
.text-center { text-align: center; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font); font-size: .95rem; font-weight: 600;
  border: none; border-radius: 4px; cursor: pointer;
  transition: var(--transition);
  letter-spacing: .5px;
}
.btn-primary { background: var(--gold); color: var(--navy-deep); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.35); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy-deep); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-arrow::after { content: '→'; transition: transform var(--transition); }
.btn-arrow:hover::after { transform: translateX(4px); }

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,168,76,.12);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.18l7 3.12v4.7c0 4.83-3.4 9.36-7 10.5-3.6-1.14-7-5.67-7-10.5V6.3l7-3.12z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 2.18l7 3.12v4.7c0 4.83-3.4 9.36-7 10.5-3.6-1.14-7-5.67-7-10.5V6.3l7-3.12z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.logo-text { font-size: 1.05rem; font-weight: 700; letter-spacing: 2.5px; color: var(--white); text-transform: uppercase; }
.logo-divider { color: var(--gold); opacity: .5; font-weight: 300; margin: 0 .15rem; }

.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500;
  letter-spacing: .5px; transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--gold); transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: .55rem 1.4rem; background: var(--gold); color: var(--navy-deep) !important;
  border-radius: 4px; font-weight: 600;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; z-index: 1001; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); transition: var(--transition); border-radius: 2px; }
.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 --- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden; padding-top: var(--header-h);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 600px 600px at 80% 20%, rgba(201,168,76,.07) 0%, transparent 70%),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(201,168,76,.04) 0%, transparent 70%);
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .03;
  background-image:
    linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 720px; }
.hero-content .section-label { color: var(--gold-light); }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,.75); margin-bottom: 2.5rem; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero page-specific (shorter) */
.hero-page { min-height: 45vh; }
.hero-page .hero-content { max-width: 800px; }

/* --- Sections --- */
section { padding: 5rem 0; }
.section-dark { background: var(--navy-deep); color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.6); }
.section-alt { background: var(--gray-100); }

/* --- Service Pillars (Home) --- */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.pillar-card:hover::before { transform: scaleX(1); }

.pillar-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.5rem; color: var(--gold);
}
.pillar-card h3 { margin-bottom: .75rem; color: var(--navy-deep); }
.pillar-card p { color: var(--gray-600); font-size: .95rem; margin-bottom: 1.25rem; }
.pillar-link { color: var(--gold); font-weight: 600; font-size: .9rem; display: inline-flex; align-items: center; gap: .35rem; }
.pillar-link:hover { gap: .6rem; }

/* --- Stats Bar --- */
.stats-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
  padding: 3rem 0;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: .25rem; }

/* --- Delivery Model --- */
.delivery-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: step; }
.delivery-step {
  counter-increment: step;
  padding: 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.15);
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}
.delivery-step:hover { background: rgba(255,255,255,.07); border-color: var(--gold); }
.delivery-step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 2.5rem; font-weight: 800;
  color: rgba(201,168,76,.2);
  line-height: 1; margin-bottom: .75rem; display: block;
}
.delivery-step h4 { color: var(--gold-light); margin-bottom: .5rem; }
.delivery-step p { color: rgba(255,255,255,.6); font-size: .9rem; }

/* --- Geographic --- */
.geo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.geo-card {
  padding: 2rem; border-radius: 8px;
  border: 1px solid var(--gray-200); background: var(--white);
  transition: var(--transition);
}
.geo-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.geo-card h3 { margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.geo-card h3 .geo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); display: inline-block; }
.geo-card ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.geo-card li {
  padding: .35rem .85rem; background: var(--gray-100); border-radius: 20px;
  font-size: .85rem; color: var(--gray-600); border: 1px solid var(--gray-200);
}

/* --- Why Praesidion --- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; }
.why-item { display: flex; gap: 1rem; }
.why-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem;
}
.why-item h4 { margin-bottom: .35rem; color: var(--navy-deep); }
.why-item p { color: var(--gray-600); font-size: .9rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 500px 300px at 50% 50%, rgba(201,168,76,.06), transparent);
}
.cta-banner h2 { margin-bottom: 1rem; position: relative; }
.cta-banner p { color: rgba(255,255,255,.65); margin-bottom: 2rem; position: relative; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { position: relative; }

/* --- Services Page --- */
.service-category { padding: 4rem 0; border-bottom: 1px solid var(--gray-200); }
.service-category:last-child { border-bottom: none; }
.service-header { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 2.5rem; }
.service-icon-lg {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.75rem;
}
.service-header h2 { color: var(--navy-deep); }
.service-header p { color: var(--gray-600); margin-top: .5rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem; }
.service-item {
  padding: 2rem; border-radius: 8px;
  border: 1px solid var(--gray-200); background: var(--white);
  transition: var(--transition);
}
.service-item:hover { border-color: var(--gold); box-shadow: 0 4px 20px rgba(201,168,76,.1); }
.service-item h4 { color: var(--navy-deep); margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.service-item h4::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); flex-shrink: 0; }
.service-item p { color: var(--gray-600); font-size: .92rem; }

.pricing-note {
  margin-top: 3rem; padding: 2rem; border-radius: 8px;
  background: linear-gradient(135deg, rgba(201,168,76,.08), rgba(201,168,76,.02));
  border: 1px solid rgba(201,168,76,.2);
  text-align: center;
}
.pricing-note p { font-size: 1rem; color: var(--navy); }
.pricing-note strong { color: var(--gold); }

/* --- About Page --- */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-intro-text h2 { color: var(--navy-deep); margin-bottom: 1rem; }
.about-intro-text p { color: var(--gray-600); margin-bottom: 1rem; }
.about-visual {
  aspect-ratio: 1; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-visual::before {
  content: ''; position: absolute; inset: 20%;
  border: 2px solid rgba(201,168,76,.15); border-radius: 50%;
}
.about-visual::after {
  content: ''; position: absolute; inset: 35%;
  border: 2px solid rgba(201,168,76,.1); border-radius: 50%;
}
.about-visual-shield {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4z'/%3E%3C/svg%3E") center/contain no-repeat;
  position: relative; z-index: 1;
}

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.value-card {
  padding: 2rem; border-radius: 8px; text-align: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(201,168,76,.12);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--gold); background: rgba(255,255,255,.08); }
.value-card .value-num { font-size: 2rem; font-weight: 800; color: rgba(201,168,76,.25); margin-bottom: .5rem; }
.value-card h3 { color: var(--gold-light); margin-bottom: .5rem; font-size: 1.1rem; }
.value-card p { color: rgba(255,255,255,.6); font-size: .9rem; }

.team-card {
  max-width: 480px; margin: 0 auto;
  padding: 3rem; border-radius: 12px;
  background: var(--white); border: 1px solid var(--gray-200);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.team-avatar {
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--gold);
}
.team-card h3 { color: var(--navy-deep); margin-bottom: .25rem; }
.team-card .team-role { color: var(--gold); font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.team-card p { color: var(--gray-600); font-size: .92rem; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem; border: 1px solid var(--gray-200); border-radius: 6px;
  font-family: var(--font); font-size: .95rem; color: var(--text);
  transition: var(--transition); background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.contact-info-side h3 { color: var(--navy-deep); margin-bottom: 1rem; }
.contact-info-side p { color: var(--gray-600); margin-bottom: 2rem; }
.contact-detail { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-detail-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem;
}
.contact-detail-text strong { display: block; font-size: .85rem; color: var(--navy); }
.contact-detail-text span { color: var(--gray-600); font-size: .92rem; }
.contact-detail-text a { color: var(--gold); }
.contact-detail-text a:hover { text-decoration: underline; }

.map-placeholder {
  margin-top: 2rem; padding: 3rem; border-radius: 8px;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  text-align: center; color: var(--white);
}
.map-placeholder .map-pin { font-size: 2.5rem; margin-bottom: .75rem; }
.map-placeholder h4 { color: var(--gold-light); margin-bottom: .25rem; }
.map-placeholder p { color: rgba(255,255,255,.5); font-size: .9rem; }

/* --- Footer --- */
.footer {
  background: var(--navy-deep); color: rgba(255,255,255,.6);
  padding: 4rem 0 0; border-top: 1px solid rgba(201,168,76,.1);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; max-width: 320px; line-height: 1.7; }
.footer h4 { color: var(--white); font-size: .9rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer ul li { margin-bottom: .6rem; }
.footer ul a { font-size: .9rem; transition: var(--transition); }
.footer ul a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .82rem;
}
.footer-legal { display: flex; gap: 1.5rem; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* --- Gold Divider --- */
.gold-line { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin-bottom: 1.5rem; }
.gold-line-center { margin-left: auto; margin-right: auto; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .about-intro { grid-template-columns: 1fr; gap: 2rem; }
  .about-visual { max-width: 400px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  section { padding: 3.5rem 0; }

  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--navy-deep); flex-direction: column;
    padding: 6rem 2rem 2rem; gap: 1.5rem;
    transition: right .35s ease; box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.05rem; }

  .hero { min-height: 80vh; }
  .hero-page { min-height: 40vh; }
  .hero-buttons { flex-direction: column; }

  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  .pillars-grid, .services-grid { grid-template-columns: 1fr; }
  .delivery-steps { grid-template-columns: 1fr; }
}
