/*
Theme Name: Cynux Solutions
Theme URI: https://cynuxsolutions.com
Author: Cynux Solutions
Author URI: https://cynuxsolutions.com
Description: Premium engineering agency WordPress theme built from Figma design. Features a dark navy hero, bento grid services, portfolio case studies, and a modern tech aesthetic using Space Grotesk typography.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cynux
Tags: business, portfolio, custom-colors, custom-logo, featured-images, full-width-template, menu-support, threaded-comments, translation-ready
*/

/* ============================================================
   DESIGN TOKENS — from Figma
   ============================================================ */
:root {
  /* Primary Colors */
  --color-navy:        #000666;
  --color-navy-mid:    #1a237e;
  --color-navy-deep:   #1e1b4b;
  --color-navy-purple: #312e81;

  /* Accent */
  --color-cyan:        #00d2ff;
  --color-cyan-dim:    #22d3ee;
  --color-teal:        #00677f;

  /* UI Backgrounds */
  --color-bg:          #fcf9f8;
  --color-bg-alt:      #f6f3f2;
  --color-white:       #ffffff;

  /* Text */
  --color-text:        #1b1c1c;
  --color-text-mid:    #454652;
  --color-text-muted:  #6b7280;
  --color-text-light:  #94a3b8;
  --color-text-faint:  #64748b;
  --color-navy-text:   #bdc2ff;
  --color-navy-text2:  #8690ee;

  /* Typography */
  --font-main: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* Spacing */
  --container: 1280px;
  --px: 32px;
  --section-py: 96px;

  /* Radii */
  --r-sm:   8px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 2px 0 rgba(0,0,0,.05);
  --shadow-md:   0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
  --shadow-xl:   0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
  --shadow-2xl:  0 25px 50px -12px rgba(0,0,0,.25);
  --shadow-navy: 0 10px 15px -3px rgba(0,6,102,.2), 0 4px 6px -4px rgba(0,6,102,.2);
  --shadow-cyan: 0 10px 15px -3px rgba(0,210,255,.2), 0 4px 6px -4px rgba(0,210,255,.2);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-main); background: var(--color-bg); color: var(--color-text); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, textarea, select { font-family: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--px);
  width: 100%;
}

/* ============================================================
   NAVIGATION — exact Figma design
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 80px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  background: rgba(252,249,248,.7);
  box-shadow: 0 20px 25px -5px rgba(49,46,129,.05), 0 8px 10px -6px rgba(49,46,129,.05);
  transition: background var(--transition);
}
.site-header.scrolled { background: rgba(252,249,248,.96); }

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

.site-logo {
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-navy-purple);
  letter-spacing: -1.2px;
  text-decoration: none;
  transition: opacity var(--transition);
}
.site-logo:hover { opacity: .8; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
}
.primary-nav a {
  font-size: 14px;
  letter-spacing: -0.35px;
  color: rgba(49,46,129,.7);
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}
.primary-nav a + a { margin-left: 32px; }
.primary-nav a:hover,
.primary-nav a.active { color: var(--color-navy-purple); }
.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--color-navy-purple);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-navy);
  color: white !important;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: var(--r-full);
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: var(--color-navy-mid); transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: rgba(252,249,248,.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,6,102,.08);
  padding: 20px 32px 32px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 16px;
  color: var(--color-navy);
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,6,102,.06);
  letter-spacing: -0.3px;
}
.mobile-nav a:last-child { border: none; }
.mobile-nav .btn-cta-mobile {
  margin-top: 12px;
  background: var(--color-navy);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: var(--r-full);
  font-size: 15px;
}

/* ============================================================
   HERO SECTION — exact gradient from Figma
   ============================================================ */
.hero {
  min-height: 790px;
  background: linear-gradient(135deg, #000666 0%, #1a237e 100%);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 112px;
}

.hero-content { display: flex; flex-direction: column; gap: 32px; }

.hero-h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1.8px;
  color: white;
}
.hero-h1 .accent { color: var(--color-cyan); }

.hero-subtext {
  font-size: 20px;
  line-height: 1.4;
  color: var(--color-navy-text2);
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cyan);
  color: var(--color-navy);
  font-size: 16px;
  font-weight: 400;
  padding: 17px 32px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-cyan);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: #00bce6;
  transform: translateY(-2px);
  box-shadow: 0 14px 24px -6px rgba(0,210,255,.35);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(6px);
  color: white;
  font-size: 16px;
  padding: 17px 33px;
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,.2);
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }

/* Code Terminal Widget */
.hero-terminal { position: relative; }
.hero-terminal::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 256px; height: 256px;
  background: rgba(0,210,255,.2);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.code-glass {
  position: relative;
  z-index: 1;
  background: rgba(26,35,126,.4);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 25px;
  box-shadow: var(--shadow-2xl);
}

.terminal-dots {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red    { background: rgba(239,68,68,.5); }
.dot-yellow { background: rgba(234,179,8,.5); }
.dot-green  { background: rgba(34,197,94,.5); }

.code-body {
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 22.75px;
  color: #ffd6fe;
}
.code-body .c-punct  { color: #22d3ee; }
.code-body .c-cyan   { color: var(--color-cyan); }
.code-body .c-white  { color: white; }
.code-body .c-comment{ color: #8690ee; }
.code-body .c-purple { color: #ffd6fe; }
.code-cursor {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--color-cyan);
  vertical-align: text-bottom;
  animation: blink .9s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   SERVICES / BENTO GRID
   ============================================================ */
.section-services {
  background: var(--color-bg-alt);
  padding-block: var(--section-py);
}

.services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.9px;
  color: var(--color-navy);
  line-height: 1.1;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-mid);
  margin-top: 12px;
}

.services-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-navy);
  white-space: nowrap;
  font-weight: 400;
  transition: gap var(--transition);
}
.services-link:hover { gap: 12px; }
.services-link svg { flex-shrink: 0; }

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

/* Card base */
.bento-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 40px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }

.bento-web    { grid-column: span 8; }
.bento-mobile { grid-column: span 4; background: var(--color-navy); box-shadow: var(--shadow-navy); }
.bento-product { grid-column: span 6; border: 1px solid rgba(198,197,212,.1); }
.bento-qa      { grid-column: span 6; border: 1px solid rgba(198,197,212,.1); }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}
.icon-navy-faint { background: rgba(0,6,102,.05); }
.icon-pink       { background: #ffd6fe; }
.icon-blue       { background: #b6ebff; }
.icon-navy-dark  { background: rgba(255,255,255,.1); }

.card-icon img { width: 24px; height: 24px; object-fit: contain; }

.card-heading {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.33;
  color: var(--color-navy);
  margin-bottom: 12px;
  padding-top: 8px;
}
.bento-mobile .card-heading { color: white; }

.card-text {
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text-mid);
  margin-bottom: 16px;
}
.bento-mobile .card-text { color: #bdc2ff; margin-bottom: 24px; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--color-text);
  padding-top: 16px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 12px; }

.btn-cyan-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cyan);
  color: var(--color-navy);
  font-size: 14px;
  padding: 8px 24px;
  border-radius: var(--r-full);
  transition: background var(--transition);
}
.btn-cyan-sm:hover { background: #00bce6; }

/* ============================================================
   PORTFOLIO SECTION
   ============================================================ */
.section-portfolio {
  padding-block: var(--section-py);
  background: var(--color-bg);
}

.section-heading-center {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.9px;
  color: var(--color-navy);
  text-align: center;
  margin-bottom: 64px;
}

.case-studies { display: flex; flex-direction: column; gap: 96px; }

.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.case-study.reverse { direction: rtl; }
.case-study.reverse > * { direction: ltr; }

.case-study-img {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  aspect-ratio: 16/9;
  background: var(--color-navy);
}
.case-study-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.case-study-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.tag-pill {
  background: rgba(0,6,102,.05);
  color: var(--color-navy);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.case-study-title {
  font-size: 36px;
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 16px;
}

.case-study-desc {
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-text-mid);
  margin-bottom: 24px;
}

.case-study-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 16px;
}
.stat-value {
  font-size: 30px;
  font-weight: 400;
  color: var(--color-teal);
  line-height: 1.2;
}
.stat-label { font-size: 14px; color: var(--color-text-mid); }

/* ============================================================
   ABOUT SECTION — dark navy bg from Figma
   ============================================================ */
.section-about {
  background: var(--color-navy);
  padding-block: var(--section-py);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-h2 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: white;
  line-height: 1;
  margin-bottom: 24px;
}
.about-h2 .accent { color: var(--color-cyan); }

.about-desc {
  font-size: 18px;
  line-height: 1.625;
  color: var(--color-navy-text);
  margin-bottom: 40px;
}

.about-stats {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 36px;
  color: white;
  line-height: 1.1;
}
.stat-lbl {
  font-size: 12px;
  color: var(--color-cyan);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.stat-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  background: rgba(86,0,101,.3);
  border-radius: var(--r-lg);
  filter: blur(20px);
  pointer-events: none;
}
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  aspect-ratio: 1;
  max-width: 512px;
  width: 100%;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a237e, #000666);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  font-weight: 400;
  color: rgba(0,210,255,.15);
  letter-spacing: -4px;
  min-height: 400px;
}

/* ============================================================
   PROCESS SECTION
   ============================================================ */
.section-process {
  padding-block: var(--section-py);
  background: var(--color-bg);
  overflow: hidden;
}

.process-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 80px;
}
.process-subtext {
  font-size: 16px;
  color: var(--color-text-mid);
  margin-top: 12px;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 48px;
  height: 4px;
  background: #eae7e7;
  z-index: 0;
}

.process-step { position: relative; z-index: 1; }

.step-icon-wrap {
  width: 96px; height: 96px;
  background: white;
  border-radius: 50%;
  border: 4px solid var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  margin-bottom: 24px;
  position: relative;
}
.step-icon-wrap img {
  width: 27px; height: 27px;
  object-fit: contain;
}
.step-num-label {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 8px;
}
.step-desc {
  font-size: 14px;
  color: var(--color-text-mid);
  line-height: 1.5;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.section-testimonials {
  background: var(--color-bg-alt);
  padding-block: var(--section-py);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: white;
  border: 1px solid rgba(198,197,212,.1);
  border-radius: var(--r-lg);
  padding: 33px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}
.star { color: #f59e0b; font-size: 18px; }

.testimonial-text {
  font-size: 16px;
  line-height: 1.625;
  color: var(--color-text);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-top: 8px;
}
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #eae7e7;
  flex-shrink: 0;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 16px; color: var(--color-navy); font-weight: 400; }
.author-role { font-size: 12px; color: var(--color-text-mid); }

/* Logo Cloud */
.logo-cloud {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: .5;
  flex-wrap: wrap;
}
.logo-cloud-item {
  font-size: 20px;
  letter-spacing: -1px;
  color: var(--color-navy);
  font-weight: 400;
}

/* ============================================================
   CTA / CONTACT SECTION — from Figma
   ============================================================ */
.section-cta {
  padding-block: 64px;
  background: var(--color-bg);
}
.cta-card {
  background: var(--color-navy);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.cta-left { padding: 64px; display: flex; flex-direction: column; gap: 24px; }

.cta-title {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.2px;
  color: white;
  line-height: 1;
}
.cta-subtitle {
  font-size: 18px;
  color: var(--color-navy-text);
  line-height: 1.55;
}

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

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

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.1);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 17px;
  font-family: var(--font-main);
  font-size: 16px;
  color: white;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  resize: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--color-text-muted); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0,210,255,.4);
  background: rgba(255,255,255,.13);
}
.form-field textarea { min-height: 120px; }

.btn-submit {
  background: var(--color-cyan);
  color: var(--color-navy);
  font-size: 16px;
  font-family: var(--font-main);
  padding: 16px;
  border-radius: var(--r-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: #00bce6; transform: translateY(-1px); }
.btn-submit.loading { opacity: .7; cursor: not-allowed; }

.form-msg {
  font-size: 14px;
  padding: 8px 0;
  display: none;
}
.form-msg.success { color: var(--color-cyan); display: block; }
.form-msg.error   { color: #f87171; display: block; }

/* CTA Right — Calendar */
.cta-right {
  padding: 64px;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.cta-right-title {
  font-size: 20px;
  color: white;
  margin-bottom: 8px;
}
.cta-right-sub {
  font-size: 16px;
  color: var(--color-navy-text);
  line-height: 1.5;
}

.calendar-widget {
  background: white;
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xl);
}
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cal-month { font-size: 16px; color: var(--color-navy); font-weight: 400; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 28px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-mid);
  border-radius: 4px;
  transition: background var(--transition);
}
.cal-nav button:hover { background: var(--color-bg-alt); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-day-name {
  text-align: center;
  font-size: 12px;
  color: var(--color-text-mid);
  padding: 8px 4px;
}
.cal-day {
  text-align: center;
  font-size: 14px;
  color: var(--color-text);
  padding: 8px 4px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cal-day:hover { background: var(--color-bg-alt); }
.cal-day.today { background: var(--color-navy); color: white; }
.cal-day.other-month { color: rgba(69,70,82,.3); cursor: default; }
.cal-day.other-month:hover { background: none; }
.btn-book {
  display: block;
  width: 100%;
  margin-top: 16px;
  padding: 10px;
  text-align: center;
  border: 2px solid var(--color-navy);
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--color-navy);
  transition: background var(--transition), color var(--transition);
}
.btn-book:hover { background: var(--color-navy); color: white; }

/* ============================================================
   FOOTER — exact Figma design
   ============================================================ */
.site-footer {
  background: var(--color-navy-deep);
  padding-block: 64px;
  color: var(--color-text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand-name {
  font-size: 20px;
  color: white;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.625;
  color: #94a3b8;
  max-width: 260px;
}

.footer-col-title {
  font-size: 14px;
  color: white;
  margin-bottom: 24px;
  line-height: 1.625;
}

.footer-links { display: flex; flex-direction: column; gap: 16px; }
.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.625;
  transition: color var(--transition);
}
.footer-links a:hover { color: white; }

.social-row { display: flex; gap: 16px; margin-bottom: 20px; }
.social-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: .8;
  transition: background var(--transition), opacity var(--transition);
}
.social-icon:hover { background: rgba(255,255,255,.18); opacity: 1; }
.social-icon svg { width: 16px; height: 16px; fill: white; }

.footer-email { font-size: 12px; color: #94a3b8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.05);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 14px; color: #64748b; }
.footer-legal { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-legal a {
  font-size: 12px;
  color: #64748b;
  transition: color var(--transition);
}
.footer-legal a:hover { color: #94a3b8; }

/* ============================================================
   INNER PAGE TEMPLATES
   ============================================================ */
/* Hero Banner for inner pages */
.page-hero {
  background: linear-gradient(135deg, #000666 0%, #1a237e 100%);
  padding: 160px 0 80px;
  text-align: center;
}
.page-hero-label {
  display: inline-block;
  background: rgba(0,210,255,.12);
  border: 1px solid rgba(0,210,255,.3);
  color: var(--color-cyan);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 24px;
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: white;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 20px;
}
.page-hero-desc {
  font-size: 20px;
  color: var(--color-navy-text2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Blog grid */
.blog-section { padding-block: var(--section-py); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.post-card {
  background: white;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(198,197,212,.1);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.post-card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, #000666, #1a237e);
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-body { padding: 28px 28px 32px; }
.post-card-cat { font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--color-teal); margin-bottom: 8px; }
.post-card-title { font-size: 20px; font-weight: 400; color: var(--color-navy); line-height: 1.3; margin-bottom: 12px; }
.post-card-title a { transition: color var(--transition); }
.post-card-title a:hover { color: var(--color-navy-purple); }
.post-card-excerpt { font-size: 15px; color: var(--color-text-mid); line-height: 1.6; margin-bottom: 20px; }
.post-card-meta { font-size: 12px; color: var(--color-text-muted); }

/* Single post */
.single-content { max-width: 760px; margin: 0 auto; padding-block: var(--section-py); }
.single-content h2 { font-size: 28px; color: var(--color-navy); margin: 32px 0 16px; font-weight: 400; }
.single-content h3 { font-size: 22px; color: var(--color-navy); margin: 24px 0 12px; font-weight: 400; }
.single-content p { font-size: 18px; line-height: 1.75; color: var(--color-text-mid); margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content li { font-size: 18px; line-height: 1.75; color: var(--color-text-mid); margin-bottom: 8px; }
.single-content ul li { list-style: disc; }
.single-content ol li { list-style: decimal; }
.single-content blockquote {
  border-left: 3px solid var(--color-cyan);
  padding: 20px 28px;
  margin: 28px 0;
  background: rgba(0,6,102,.03);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 20px;
  color: var(--color-navy);
  font-style: italic;
  line-height: 1.5;
}
.single-content a { color: var(--color-navy); text-decoration: underline; }
.single-content img { border-radius: var(--r-md); box-shadow: var(--shadow-lg); margin: 24px 0; width: 100%; }

/* 404 */
.error-404 { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px; }
.error-404 h1 { font-size: 120px; color: var(--color-navy); opacity: .08; line-height: 1; margin-bottom: -30px; }
.error-404 h2 { font-size: 32px; color: var(--color-navy); margin-bottom: 16px; }
.error-404 p { color: var(--color-text-mid); font-size: 18px; margin-bottom: 32px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 60px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  font-size: 14px;
  color: var(--color-text-mid);
  border: 1px solid rgba(198,197,212,.3);
  transition: all var(--transition);
}
.pagination a:hover { background: var(--color-navy); color: white; border-color: var(--color-navy); }
.pagination .current { background: var(--color-navy); color: white; border-color: var(--color-navy); }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form input {
  flex: 1; padding: 12px 16px;
  border: 1px solid rgba(198,197,212,.4);
  border-radius: var(--r-sm);
  font-size: 15px;
  font-family: var(--font-main);
  outline: none;
  transition: border-color var(--transition);
}
.search-form input:focus { border-color: var(--color-navy); }
.search-form button {
  background: var(--color-navy); color: white;
  padding: 12px 20px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-family: var(--font-main);
}

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }
.reveal-delay-6 { transition-delay: .6s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .bento-web { grid-column: span 12; }
  .bento-mobile { grid-column: span 12; }
  .bento-product { grid-column: span 6; }
  .bento-qa { grid-column: span 6; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-terminal { display: none; }
  .hero-h1 { font-size: 56px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .process-timeline { grid-template-columns: repeat(3, 1fr); }
  .process-timeline::before { display: none; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-right { display: none; } /* Hide calendar on mobile */
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --px: 20px; --section-py: 64px; }
  .nav-toggle { display: flex; }
  .primary-nav, .nav-cta { display: none; }
  .hero-h1 { font-size: 42px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn-primary, .hero-btns .btn-ghost { width: 100%; }
  .case-study { grid-template-columns: 1fr; gap: 32px; }
  .case-study.reverse { direction: ltr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .about-stats { flex-wrap: wrap; }
  .bento-product { grid-column: span 12; }
  .bento-qa { grid-column: span 12; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 34px; letter-spacing: -0.9px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
}
