/* ════════════════════════════════════════════════════════════
   Dypole Theme – Main Stylesheet
   ════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ── */
:root {
  --black:     #0a0a08;
  --dark:      #111110;
  --card:      #161614;
  --border:    #242420;
  --gold:      #c9952a;
  --gold-light:#e8b84b;
  --gold-dim:  rgba(201,149,42,0.15);
  --white:     #f5f4f0;
  --muted:     #7a7970;
  --text:      #d4d3cc;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ── NAV ── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  height: 68px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #e8e6e0;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img { height: 32px; width: auto; }

.nav-logo-text {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--black);
  letter-spacing: -0.3px;
}

/* WordPress custom logo */
.custom-logo-link { display: flex; }
.custom-logo     { height: 36px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 13.5px; font-weight: 400; color: #555550;
  text-decoration: none; letter-spacing: 0.02em;
  transition: color .2s;
}
.nav-links a:hover { color: #111110; }
.nav-links .current-menu-item > a,
.nav-links a.active { color: var(--gold); }

.nav-right { display: flex; align-items: center; gap: 16px; }

.btn-consult {
  padding: 9px 20px; border: 1px solid var(--gold);
  background: transparent; color: var(--gold);
  font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500;
  cursor: pointer; letter-spacing: 0.04em;
  transition: background .2s, color .2s;
  text-decoration: none; white-space: nowrap;
}
.btn-consult:hover { background: var(--gold); color: #fff; }

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: space-between;
  width: 24px; height: 16px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--black); transition: transform .3s, opacity .3s;
}
.nav-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-active span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding: 120px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 70% 40%, rgba(201,149,42,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 80%, rgba(201,149,42,0.04) 0%, transparent 60%);
}

.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.04;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-family: 'Syne', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 24px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500; line-height: 1.08;
  color: var(--white); letter-spacing: -0.5px;
  margin-bottom: 32px;
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-body {
  font-size: 14.5px; color: var(--muted); line-height: 1.75;
  max-width: 440px; margin-bottom: 16px;
}

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

.btn-primary {
  padding: 13px 28px;
  background: var(--gold); color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 500;
  text-decoration: none; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  padding: 13px 28px; border: 1px solid var(--border);
  color: var(--text); font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 400; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.scroll-hint {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.15em; color: var(--muted);
  text-transform: uppercase; margin-top: 60px;
}
.scroll-dot {
  width: 28px; height: 28px; border: 1px solid var(--border);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  animation: scrollpulse 2s ease-in-out infinite;
}
@keyframes scrollpulse { 0%,100%{transform:translateY(0)} 50%{transform:translateY(4px)} }

/* Hero map */
.hero-visual {
  position: relative; display: flex; align-items: center; justify-content: center;
}
.map-wrap {
  position: relative; width: 100%; max-width: 480px;
}
.map-svg {
  width: 100%; opacity: 0.7;
  filter: drop-shadow(0 0 40px rgba(201,149,42,0.12));
}
.map-badge {
  position: absolute; top: 10%; right: 0;
  background: rgba(22,22,20,0.95);
  border: 1px solid var(--border);
  padding: 16px 20px; min-width: 180px;
  font-size: 12px;
}
.map-badge-row { margin-bottom: 12px; }
.map-badge-label {
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.map-badge-val {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--white);
}
.map-dot {
  position: absolute; bottom: 30%; left: 50%;
  width: 10px; height: 10px; background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(201,149,42,0.4);
  animation: ping 2s ease-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(201,149,42,0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(201,149,42,0); }
  100% { box-shadow: 0 0 0 0 rgba(201,149,42,0); }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── SECTION COMMONS ── */
section { padding: 100px 40px; }

.section-eyebrow {
  font-family: 'Syne', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 50px); font-weight: 500;
  color: var(--white); line-height: 1.1; letter-spacing: -0.3px;
}
.divider { width: 40px; height: 2px; background: var(--gold); margin: 24px 0; }

/* ── SOLUTIONS ── */
#solutions { background: var(--dark); }
.solutions-header { margin-bottom: 60px; }
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border);
}
.sol-card {
  background: var(--card);
  padding: 36px 28px 32px;
  position: relative; overflow: hidden;
  transition: background .2s;
}
.sol-card:hover { background: #1c1c19; }
.sol-card:hover .sol-learn { color: var(--gold); }
.sol-num {
  font-family: 'Syne', sans-serif; font-size: 10px; color: var(--muted);
  letter-spacing: 0.1em; margin-bottom: 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.sol-icon {
  width: 36px; height: 36px; margin-bottom: 20px;
  color: var(--gold); opacity: 0.85;
}
.sol-title {
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--white); margin-bottom: 12px; line-height: 1.3;
}
.sol-body { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.sol-learn {
  font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  transition: color .2s;
}

/* ── WHY CHOOSE ── */
#why {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: center;
}
.why-left .section-title { font-size: clamp(28px, 3vw, 44px); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border);
}
.why-card { background: var(--card); padding: 32px 28px; }
.why-icon { width: 32px; height: 32px; color: var(--gold); margin-bottom: 16px; opacity: 0.85; }
.why-title {
  font-family: 'Syne', sans-serif; font-size: 13.5px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.why-body { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ── INDUSTRIES ── */
#industries { background: var(--dark); }
.industries-inner {
  display: grid; grid-template-columns: 300px 1fr; gap: 80px; align-items: start;
}
.industry-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); align-self: center;
}
.ind-card {
  background: var(--card); padding: 28px 16px; text-align: center;
  transition: background .2s;
}
.ind-card:hover { background: #1c1c19; }
.ind-icon { width: 28px; height: 28px; color: var(--gold); margin: 0 auto 14px; opacity: 0.8; }
.ind-label { font-size: 12px; color: var(--muted); line-height: 1.5; }
.btn-all {
  margin-top: 32px; padding: 11px 24px; border: 1px solid var(--border);
  color: var(--text); font-size: 13px; font-weight: 400; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; background: transparent;
  transition: border-color .2s, color .2s; cursor: pointer;
}
.btn-all:hover { border-color: var(--gold); color: var(--gold); }

/* ── STATS ── */
#stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background-color: var(--border);
  padding: 0;
}
.stat-cell { background: var(--card); padding: 64px 40px; text-align: center; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 64px; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: 12px;
  letter-spacing: -2px;
}
.stat-label { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }

/* ── CTA ── */
#cta {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; padding: 0; min-height: 360px; overflow: hidden;
}
.cta-left {
  background: var(--dark); padding: 80px 60px;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid var(--border);
}
.cta-eyebrow {
  font-family: 'Syne', sans-serif; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.2vw, 46px); font-weight: 500;
  color: var(--white); line-height: 1.1; margin-bottom: 20px;
}
.cta-body { font-size: 14px; color: var(--muted); max-width: 380px; margin-bottom: 36px; }
.cta-right {
  position: relative; overflow: hidden;
  background: #0d0d0b;
}
.cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(201,149,42,0.08) 0%, transparent 60%);
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 64px 40px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand-name {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700;
  color: var(--white); letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn {
  width: 32px; height: 32px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  font-size: 13px; color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.contact-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--muted); margin-bottom: 14px;
}
.contact-item a { color: var(--muted); text-decoration: none; transition: color .2s; }
.contact-item a:hover { color: var(--gold); }
.contact-icon {
  width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px;
  color: var(--gold); opacity: 0.7;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--muted);
}
.footer-bottom a {
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.footer-bottom a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr;
    padding: 100px 32px 60px;
    gap: 40px;
  }
  .hero-visual { display: none; }

  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-grid  { grid-template-columns: repeat(3, 1fr); }

  #why {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 80px 32px;
  }

  .industries-inner { grid-template-columns: 1fr; gap: 40px; }

  #stats { grid-template-columns: repeat(2, 1fr); }

  #cta { grid-template-columns: 1fr; }
  .cta-right { display: none; }
  .cta-left  { padding: 60px 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  section { padding: 80px 32px; }
}

/* Mobile */
@media (max-width: 680px) {
  #site-nav { padding: 0 20px; }

  .nav-links {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column; align-items: flex-start;
    padding: 20px 20px 28px;
    gap: 4px;
    border-bottom: 1px solid #e8e6e0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  }
  .nav-links.is-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 0; font-size: 15px; }
  .btn-consult { display: none; }
  .nav-hamburger { display: flex; }

  #hero {
    padding: 90px 20px 60px;
    min-height: auto;
  }

  .solutions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  #stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 40px 20px; }
  .stat-num { font-size: 48px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  section { padding: 60px 20px; }
  .cta-left { padding: 48px 20px; }
}

/* ── WordPress Alignment Helpers ── */
.alignleft  { float: left; margin-right: 1.5em; margin-bottom: 1em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.alignwide  { margin-left: -40px; margin-right: -40px; }
.alignfull  { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); width: 100vw; max-width: 100vw; }

/* ── Screen Reader Text ── */
.screen-reader-text {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap;
}
