@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --bg:        #070C17;
  --surface:   #0D1525;
  --surface2:  #132034;
  --blue:      #00AEEF;
  --navy:      #1A3580;
  --white:     #F0F4FF;
  --muted:     #6E8099;
  --border:    rgba(255,255,255,0.08);
  --grad:      linear-gradient(135deg, #00AEEF 0%, #1A3580 100%);
  --nav-h:     72px;
  --radius:    8px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Reset ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem);   font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
p  { color: var(--muted); }

.text-blue  { color: var(--blue); }
.text-white { color: var(--white); }
.text-muted { color: var(--muted); }

/* ── Layout ────────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

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

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-intro {
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: 12px;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1ABCF7; transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── Navigation ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(7, 12, 23, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo img { height: 38px; width: auto; }
.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(240,244,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  padding: 9px 22px !important;
  border-radius: 6px;
  background: var(--blue) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: #1ABCF7 !important; color: #fff !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0,174,239,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 95% 50%,  rgba(26,53,128,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--blue);
}
.hero h1 { margin-bottom: 22px; }
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  animation: scrollbounce 2.2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--muted), transparent);
}
@keyframes scrollbounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Video ─────────────────────────────────────────────────────────────────── */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-preview {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  group: true;
}
.video-preview img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s;
}
.video-preview:hover img { transform: scale(1.03); }
.play-pill {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 100px;
  background: rgba(0, 174, 239, 0.92);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.play-pill:hover { background: var(--blue); transform: translate(-50%, -50%) scale(1.05); }
.play-pill svg { width: 16px; height: 16px; fill: #fff; }

/* ── Modal ─────────────────────────────────────────────────────────────────── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal.active { opacity: 1; pointer-events: all; }
.modal-inner { width: 100%; max-width: 1000px; position: relative; }
.modal-close {
  position: absolute;
  top: -44px; right: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

/* ── Service Cards ─────────────────────────────────────────────────────────── */
.service-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: rgba(0, 174, 239, 0.35);
  transform: translateY(-4px);
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(0, 174, 239, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
}
.service-link {
  margin-top: 22px;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.service-link:hover { gap: 10px; }

/* ── Home work preview grid ────────────────────────────────────────────────── */
.preview-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 560px;
}
.preview-item {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.preview-item.span-col { grid-row: span 2; }
.preview-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.preview-item:hover img { transform: scale(1.05); }
.preview-item-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(7,12,23,0.85), transparent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(240,244,255,0.8);
  opacity: 0;
  transition: opacity 0.3s;
}
.preview-item:hover .preview-item-label { opacity: 1; }

/* ── Testimonials ──────────────────────────────────────────────────────────── */
.testimonials-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.testimonial {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
}
.testimonial:last-child,
.testimonial:nth-child(3) { border-right: none; }
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(240,244,255,0.78);
  margin-bottom: 24px;
  padding-left: 18px;
  border-left: 2px solid var(--blue);
  font-style: italic;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 3px;
}
.testimonials-row2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.testimonials-row2 .testimonial {
  border-right: 1px solid var(--border);
}
.testimonials-row2 .testimonial:last-child { border-right: none; }

/* ── CTA Band ──────────────────────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg,
    rgba(0,174,239,0.13) 0%,
    rgba(26,53,128,0.18) 100%);
  border-top:    1px solid rgba(0,174,239,0.18);
  border-bottom: 1px solid rgba(0,174,239,0.18);
  text-align: center;
}
.cta-band h2   { margin-bottom: 14px; }
.cta-band p    { margin-bottom: 36px; font-size: 1.05rem; }
.cta-actions   { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── Page hero (inner pages) ───────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% -20%, rgba(0,174,239,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.page-hero h1  { margin-bottom: 14px; }
.page-hero > .container > p {
  font-size: 1.1rem;
  max-width: 560px;
  line-height: 1.75;
}

/* ── Work page ─────────────────────────────────────────────────────────────── */
.work-category { margin-bottom: 80px; }
.work-category-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.work-category-header h2 { font-size: 1.4rem; }
.work-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 6px;
}
.work-photo {
  overflow: hidden;
  background: var(--surface);
  border-radius: 4px;
  position: relative;
}
.work-photo img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s;
}
.work-photo:hover img { transform: scale(1.04); }

/* ── Services full page ────────────────────────────────────────────────────── */
.service-full {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.service-full-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: start;
}
.service-full-meta .service-num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0,174,239,0.15);
  line-height: 1;
  margin-bottom: 12px;
}
.service-full-meta h2 { font-size: 1.6rem; margin-bottom: 12px; }
.service-full-body p {
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.85;
}
.service-full-body ul { list-style: none; margin: 24px 0; }
.service-full-body ul li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: 0.9rem;
  color: rgba(240,244,255,0.75);
  border-bottom: 1px solid var(--border);
}
.service-full-body ul li:first-child { border-top: 1px solid var(--border); }
.service-full-body ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}
.service-full-cta { margin-top: 8px; }

/* ── About page ────────────────────────────────────────────────────────────── */
.person-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.person-card:last-child { border-bottom: 1px solid var(--border); }
.person-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 3/4;
  position: relative;
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-photo-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  aspect-ratio: 3/4;
}
.person-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.person-name { margin-bottom: 20px; font-size: 2rem; }
.person-bio p {
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.85;
}

/* ── Contact ───────────────────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}
.contact-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(0,174,239,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 18px; height: 18px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-value { font-size: 0.95rem; color: var(--white); }
.contact-value a { transition: color 0.2s; }
.contact-value a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row     { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field   { display: flex; flex-direction: column; gap: 7px; }
.form-field label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 13px 16px;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--blue); }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field select option { background: var(--surface); }
.form-field textarea { min-height: 150px; resize: vertical; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand .footer-logo { height: 34px; width: auto; margin-bottom: 16px; }
.footer-brand .footer-logo-text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(240,244,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.78rem;
  color: var(--muted);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 6px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.footer-social a:hover { border-color: var(--blue); background: rgba(0,174,239,0.1); }
.footer-social svg { width: 15px; height: 15px; fill: rgba(240,244,255,0.5); transition: fill 0.2s; }
.footer-social a:hover svg { fill: var(--blue); }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service-full-inner { grid-template-columns: 220px 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .preview-grid { height: 420px; }
  .person-card { grid-template-columns: 1fr; gap: 32px; }
  .person-photo { aspect-ratio: 16/9; max-height: 300px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-row2 { grid-template-columns: 1fr; }
  .testimonial:nth-child(3) { border-right: 1px solid var(--border); }
  .service-full-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-full-meta .service-num { font-size: 2rem; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(7,12,23,0.98);
    backdrop-filter: blur(14px);
    padding: 28px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open a { font-size: 1rem; color: var(--white); }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr; height: auto; }
  .preview-item.span-col { grid-row: span 1; }
  .preview-item { aspect-ratio: 4/3; }
  .testimonials-grid,
  .testimonials-row2 { grid-template-columns: 1fr; }
  .testimonial { border-right: none !important; border-bottom: 1px solid var(--border); }
  .testimonial:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: column; align-items: center; }
  .work-photo-grid { grid-template-columns: 1fr 1fr; }
}
