/* ============================================================
   Gulec Consulting — telecom theme
   Deep navy, electric cyan, hex cell grid.
   ============================================================ */

:root {
  --bg:           #050B17;
  --bg-elev:      #0A1628;
  --surface:      #0F1E36;
  --surface-2:    #15263F;
  --line:         rgba(127, 184, 255, 0.12);
  --line-strong:  rgba(127, 184, 255, 0.22);

  --text:         #E8F0FA;
  --muted:        #8A9DBA;
  --dim:          #5C6F8C;

  --accent:       #4DA8FF;
  --accent-bright:#00D4FF;
  --accent-deep:  #1F6FE5;
  --accent-tint:  rgba(0, 212, 255, 0.10);
  --grad:         linear-gradient(120deg, #00D4FF 0%, #4DA8FF 50%, #7C8CFF 100%);

  --display: 'Space Grotesk', system-ui, -apple-system, Segoe UI, sans-serif;
  --sans:    'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --gutter: 28px;
  --radius: 12px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-bright); }

ul, ol { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--accent); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent-bright); color: var(--bg);
  padding: 10px 14px; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Hex cell grid background ---------- */
.hex-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse at top right, rgba(77, 168, 255, 0.10), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0, 212, 255, 0.06), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'><g fill='none' stroke='%237FB8FF' stroke-opacity='0.05' stroke-width='1'><path d='M40 1 L78 23 L78 69 L40 91 L2 69 L2 23 Z'/><path d='M40 91 L40 137'/><path d='M2 23 L-36 1'/><path d='M78 23 L116 1'/></g></svg>");
  background-size: auto, auto, 80px 92px;
  background-position: top right, bottom left, 0 0;
  mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 60%, transparent 100%);
}

body > * { position: relative; z-index: 1; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 0.5em;
}

.display {
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}

h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}

p { margin: 0 0 1em; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-bright);
  margin: 0 0 20px;
}

.eyebrow .rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--accent-bright);
}

/* signal-bar accent for hero eyebrow */
.signal-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 10px;
}
.signal-bars i {
  width: 2.5px;
  background: var(--accent-bright);
  border-radius: 1px;
}
.signal-bars i:nth-child(1) { height: 30%; }
.signal-bars i:nth-child(2) { height: 55%; }
.signal-bars i:nth-child(3) { height: 78%; }
.signal-bars i:nth-child(4) { height: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 11, 23, 0.78);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
}
.brand:hover { color: var(--text); }

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--accent-bright);
  transition: transform 0.4s var(--ease), background 0.3s var(--ease);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand:hover .brand-mark { background: var(--accent-tint); transform: translateY(-1px); }

.brand-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.brand-thin {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
}
.primary-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 4px 0;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent-bright);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover { color: var(--text); }
.primary-nav a:hover::after { transform: scaleX(1); }

.nav-cta {
  padding: 9px 18px !important;
  border: 1px solid var(--accent) !important;
  border-radius: 999px !important;
  color: var(--text) !important;
  background: var(--accent-tint);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg) !important;
}

.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px; height: 40px;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.6px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--grad);
  color: var(--bg);
  box-shadow: 0 12px 32px -10px rgba(0, 212, 255, 0.45);
}
.btn-primary:hover {
  color: var(--bg);
  box-shadow: 0 18px 40px -10px rgba(0, 212, 255, 0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 110px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

.hero-text { max-width: 620px; }

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-row li {
  background: var(--surface);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.stat-unit {
  font-family: var(--mono);
  font-size: 0.85rem;
  font-weight: 400;
  -webkit-text-fill-color: var(--accent-bright);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
}

/* hero figure */
.hero-figure {
  position: relative;
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 60px rgba(0, 212, 255, 0.18));
}

@keyframes pulse {
  0%, 100% { opacity: 0.85; transform: translateY(0); }
  50%      { opacity: 0.4;  transform: translateY(-4px); }
}
@keyframes ring {
  0%   { r: 6;  opacity: 1; }
  100% { r: 22; opacity: 0; }
}

.wave-1 { animation: pulse 2.6s var(--ease) infinite; }
.wave-2 { animation: pulse 2.6s var(--ease) infinite; animation-delay: 0.2s; }
.wave-3 { animation: pulse 2.6s var(--ease) infinite; animation-delay: 0.4s; }

/* ---------- Marquee strip ---------- */
.strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
}
.strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
  padding: 20px var(--gutter);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  justify-content: center;
}
.strip-inner .dot {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-alt {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head .eyebrow { justify-content: center; }
.section-sub { color: var(--muted); }

/* ---------- Practices ---------- */
.practices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.practice {
  position: relative;
  padding: 28px 26px 26px;
  background: linear-gradient(180deg, var(--surface), rgba(15, 30, 54, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.practice:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 50px -25px rgba(0, 212, 255, 0.25);
}
.practice-num {
  position: absolute;
  top: 22px; right: 24px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--dim);
}
.practice-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent-tint);
  border: 1px solid var(--line-strong);
  color: var(--accent-bright);
  margin-bottom: 18px;
}
.practice-icon svg { width: 22px; height: 22px; }
.practice h3 { font-size: 1.08rem; margin-bottom: 10px; }
.practice p { font-size: 0.94rem; margin-bottom: 16px; }

.bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin: 6px 0;
  line-height: 1.5;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1.5px;
  background: var(--accent-bright);
}

/* ---------- Steps (Approach) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.steps li {
  position: relative;
  padding: 26px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 2px;
  background: var(--accent-bright);
  border-radius: 0 0 2px 0;
}
.step-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent-bright);
  margin-bottom: 12px;
}
.steps h3 { margin-bottom: 6px; }
.steps p { font-size: 0.92rem; margin: 0; }

/* ---------- Industries ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.industry {
  padding: 22px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.industry:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}
.industry h3 { margin-bottom: 6px; }
.industry p { font-size: 0.9rem; margin: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.about-body p { color: var(--muted); }

.about-card {
  padding: 28px;
  background: linear-gradient(160deg, rgba(0, 212, 255, 0.06), rgba(77, 168, 255, 0.06));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}
.about-card h3 { margin-bottom: 16px; }

.checks li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
  color: var(--text);
  font-size: 0.95rem;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent-tint);
  border: 1px solid var(--accent);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 4px; top: 10px;
  width: 8px; height: 4px;
  border-left: 1.6px solid var(--accent-bright);
  border-bottom: 1.6px solid var(--accent-bright);
  transform: rotate(-45deg);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-list { margin-top: 24px; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span {
  width: 80px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form label {
  display: grid;
  gap: 6px;
}
.contact-form label > span {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.form-note {
  font-size: 0.8rem;
  color: var(--dim);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
  margin-top: 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-tag {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-end;
}
.footer-nav a {
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-nav a:hover { color: var(--accent-bright); }
.copyright {
  grid-column: 1 / -1;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.85rem;
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-figure { max-width: 480px; margin: 0 auto; }
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav ul { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s var(--ease);
  }
  .primary-nav.open { max-height: 380px; }
  .primary-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 18px;
  }
  .primary-nav li { border-top: 1px solid var(--line); }
  .primary-nav li:first-child { border-top: 0; }
  .primary-nav a { display: block; padding: 14px 0; }
  .primary-nav a::after { display: none; }
  .nav-cta { margin-top: 10px; text-align: center; }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .stat-row { grid-template-columns: 1fr; }
  .brand-thin { display: none; }
}

@media (max-width: 480px) {
  .display { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .practice { padding: 24px 22px; }
  .stat-num { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
