/* ══════════════════════════════════════════════════
   SPACE CRAFT & TECH SOLUTION — INNER PAGES STYLESHEET
   Consolidated & Cached Modular Styles
   ══════════════════════════════════════════════════ */

/* ── 1. SHARED INNER PAGE HERO & BREADCRUMBS ── */
.page-hero {
  position: relative;
  height: 55vh;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 5vw;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-breadcrumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.page-breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.page-breadcrumb a:hover {
  color: #fff;
}

.page-hero h1,
.page-hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--color-secondary, #00aeef);
}

.page-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 650px;
  line-height: 1.6;
}


/* ── 2. ABOUT PAGE ── */
/* ABOUT STORY */
    .about-story {
      padding: 6rem 5vw;
      background: var(--color-bg-main, #06101c);
    }

    .about-story-wrap {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 6rem;
      align-items: center;
    }

    .about-visual {
      border-radius: 20px;
      overflow: hidden;
      height: 540px;
      position: relative;
    }

    .about-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .about-badge {
      position: absolute;
      bottom: 2rem;
      left: 2rem;
      background: var(--color-primary, #0054a6);
      color: #fff;
      padding: 1.2rem 2rem;
      border-radius: 12px;
      font-family: 'Syne', sans-serif;
    }

    .about-badge strong {
      display: block;
      font-size: 2.2rem;
      font-weight: 800;
    }

    .about-badge span {
      font-size: 0.85rem;
      opacity: 0.8;
    }

    .about-tag {
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      color: var(--color-secondary, #00aeef);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .about-tag::after {
      content: '';
      flex: 1;
      max-width: 40px;
      height: 1px;
      background: currentColor;
    }

    .about-content h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
      margin-bottom: 1.5rem;
      line-height: 1.1;
    }

    .about-content h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .about-content p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.85;
      margin-bottom: 1.2rem;
      font-size: 1rem;
    }

    .about-values {
      margin-top: 2.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem;
    }

    .about-value-item {
      padding: 1.2rem 1.5rem;
      border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
      border-radius: 12px;
      transition: border-color 0.3s;
    }

    .about-value-item:hover {
      border-color: var(--color-secondary, #00aeef);
    }

    .about-value-item h3,
    .about-value-item h5 {
      font-family: 'Syne', sans-serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--color-text-main, #fff);
      margin-bottom: 0.4rem;
    }

    .about-value-item p {
      font-size: 0.85rem;
      margin: 0;
    }

    /* STATS */
    .about-stats-section {
      padding: 5rem 5vw;
      background: var(--color-bg-alt, #0c1a2c);
    }

    .about-stats-grid {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
      text-align: center;
    }

    .about-stat-item {
      padding: 2.5rem 1.5rem;
    }

    .about-stat-num {
      font-family: 'Syne', sans-serif;
      font-size: clamp(3rem, 5vw, 4.5rem);
      font-weight: 800;
      color: var(--color-secondary, #00aeef);
      display: block;
      line-height: 1;
    }

    .about-stat-lbl {
      font-size: 0.9rem;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
      margin-top: 0.8rem;
      display: block;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-family: 'DM Mono', monospace;
    }

    /* TEAM VALUES */
    .about-team {
      padding: 6rem 5vw;
      background: var(--color-bg-main, #06101c);
    }

    .about-team-header {
      max-width: 700px;
      margin: 0 auto 4rem;
      text-align: center;
    }

    .about-team-header h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 3vw, 2.8rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
      margin-bottom: 1rem;
    }

    .about-team-header h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .about-team-header p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
    }

    .about-pillars {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .about-pillar {
      background: var(--color-bg-alt, #0c1a2c);
      border: 1px solid var(--color-border, rgba(255, 255, 255, 0.08));
      border-radius: 16px;
      padding: 2.5rem;
      transition: all 0.4s ease;
    }

    .about-pillar:hover {
      transform: translateY(-8px);
      border-color: var(--color-secondary, #00aeef);
    }

    .about-pillar-icon {
      width: 56px;
      height: 56px;
      background: rgba(0, 174, 239, 0.1);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .about-pillar-icon svg {
      width: 26px;
      height: 26px;
      stroke: var(--color-secondary, #00aeef);
    }

    .about-pillar h3,
    .about-pillar h4 {
      font-family: 'Syne', sans-serif;
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--color-text-main, #fff);
      margin-bottom: 0.8rem;
    }

    .about-pillar p {
      font-size: 0.9rem;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.7;
      margin: 0;
    }



    @media (max-width: 900px) {
      .about-story-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
      }

      .about-visual {
        height: 300px;
      }

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

      .about-pillars {
        grid-template-columns: 1fr;
      }

      .about-values {
        grid-template-columns: 1fr;
      }
    }


/* ── 3. SERVICES PAGE ── */
/* ── PAGE-SPECIFIC STYLES ── */
    

    

    

    

    

    

    

    

    

    

    /* ── SERVICES DETAIL ── */
    .svc-detail-section {
      padding: 5rem 5vw;
      background: var(--color-bg-main, #06101c);
    }

    .svc-detail-section:nth-child(even) {
      background: var(--color-bg-alt, #0c1a2c);
    }

    .svc-detail-wrap {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: center;
    }

    .svc-detail-section:nth-child(even) .svc-detail-wrap {
      direction: rtl;
    }

    .svc-detail-section:nth-child(even) .svc-detail-content,
    .svc-detail-section:nth-child(even) .svc-detail-visual {
      direction: ltr;
    }

    .svc-detail-visual {
      border-radius: 20px;
      overflow: hidden;
      height: 480px;
      position: relative;
    }

    .svc-detail-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.8s ease;
    }

    .svc-detail-visual:hover img {
      transform: scale(1.05);
    }

    .svc-svc-num {
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      color: var(--color-secondary, #00aeef);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .svc-svc-num::after {
      content: '';
      flex: 1;
      max-width: 40px;
      height: 1px;
      background: var(--color-secondary, #00aeef);
    }

    .svc-detail-content h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
      margin-bottom: 1.5rem;
      line-height: 1.1;
    }

    .svc-detail-content h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .svc-detail-content p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.8;
      margin-bottom: 1.2rem;
      font-size: 1rem;
    }

    .svc-includes-title {
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--color-secondary, #00aeef);
      margin-bottom: 1rem;
      margin-top: 2rem;
    }

    .svc-includes-list {
      list-style: none;
      padding: 0;
      margin: 0 0 2.5rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.6rem;
    }

    .svc-includes-list li {
      font-size: 0.9rem;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.7));
      padding-left: 1.5rem;
      position: relative;
    }

    .svc-includes-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--color-secondary, #00aeef);
      font-size: 0.85rem;
    }

    .svc-icon-badge {
      width: 64px;
      height: 64px;
      background: rgba(0, 174, 239, 0.1);
      border: 1px solid rgba(0, 174, 239, 0.25);
      border-radius: 16px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.5rem;
    }

    .svc-icon-badge svg {
      width: 28px;
      height: 28px;
      stroke: var(--color-secondary, #00aeef);
    }

    .btn-quote {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      background: var(--color-primary, #0054a6);
      color: #fff;
      padding: 0.9rem 2rem;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 600;
      font-size: 0.95rem;
      text-decoration: none;
      transition: all 0.3s ease;
    }

    .btn-quote:hover {
      background: var(--color-secondary, #00aeef);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
    }

    .all-services-panel {
      max-width: 1300px;
      margin: 0 auto;
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 24px;
      padding: 2.5rem;
    }

    .all-services-top {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1.5rem;
      flex-wrap: wrap;
      margin-bottom: 2rem;
    }

    .all-services-top p {
      max-width: 720px;
      margin: 0;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.8;
    }

    .all-services-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.6rem;
      padding: 0.9rem 1.6rem;
      border-radius: 999px;
      border: 1px solid rgba(0, 174, 239, 0.3);
      background: rgba(0, 174, 239, 0.08);
      color: #06101c;
      font-family: 'DM Mono', monospace;
      font-size: 0.82rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .all-services-btn:hover,
    .all-services-btn.active {
      background: var(--color-secondary, #00aeef);
      border-color: var(--color-secondary, #00aeef);
      color: #06101c;
    }

    .all-services-list {
      display: none;
    }

    .all-services-list.open {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.2rem 2.5rem;
    }

    .all-services-column {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      gap: 0.8rem;
    }

    .all-services-column li {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.85rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--color-text-muted, rgba(255, 255, 255, 0.78));
    }

    .all-services-icon {
      width: 18px;
      height: 18px;
      flex: 0 0 18px;
      color: var(--color-secondary, #00aeef);
    }

    .all-services-icon svg {
      width: 100%;
      height: 100%;
      display: block;
      stroke: currentColor;
    }



    @media (max-width: 900px) {
      .svc-detail-wrap {
        grid-template-columns: 1fr;
        gap: 2.5rem;
      }

      .svc-detail-section:nth-child(even) .svc-detail-wrap {
        direction: ltr;
      }

      .svc-detail-visual {
        height: 280px;
      }

      .svc-includes-list {
        grid-template-columns: 1fr;
      }

      .all-services-panel {
        padding: 1.5rem;
      }

      .all-services-list.open {
        grid-template-columns: 1fr;
      }
    }


/* ── 4. PROCESS PAGE ── */
/* INTRO */
    .process-intro {
      padding: 5rem 5vw 3rem;
      background: var(--color-bg-main, #06101c);
      text-align: center;
    }

    .process-intro-tag {
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      color: var(--color-secondary, #00aeef);
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .process-intro h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
      margin-bottom: 1.2rem;
    }

    .process-intro h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .process-intro p {
      max-width: 700px;
      margin: 0 auto;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      font-size: 1.05rem;
      line-height: 1.8;
    }

    /* PROCESS STEPS - ALTERNATING DETAIL */
    .process-steps-section {
      padding: 3rem 5vw 6rem;
      background: var(--color-bg-main, #06101c);
    }

    .process-step-detailed {
      max-width: 1200px;
      margin: 0 auto 5rem;
      display: grid;
      grid-template-columns: 80px 1fr;
      gap: 3rem;
      align-items: start;
      padding: 3rem;
      border: 1px solid var(--color-border, rgba(255, 255, 255, 0.07));
      border-radius: 20px;
      background: var(--color-bg-alt, #0c1a2c);
      transition: border-color 0.3s, box-shadow 0.3s;
      position: relative;
    }

    .process-step-detailed:hover {
      border-color: var(--step-color, var(--color-primary));
      box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    }

    .process-step-num-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .process-step-num-badge {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: rgba(0, 174, 239, 0.1);
      border: 2px solid var(--step-color, var(--color-secondary, #00aeef));
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: 'Syne', sans-serif;
      font-size: 1.3rem;
      font-weight: 800;
      color: var(--step-color, var(--color-secondary, #00aeef));
      flex-shrink: 0;
    }

    .process-step-connector {
      width: 2px;
      flex: 1;
      min-height: 40px;
      background: linear-gradient(to bottom, var(--step-color, var(--color-secondary, #00aeef)), transparent);
      margin-top: 0.5rem;
    }

    .process-step-body h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.6rem;
      font-weight: 800;
      color: var(--color-text-main, #fff);
      margin-bottom: 0.5rem;
    }

    .process-step-phase {
      font-family: 'DM Mono', monospace;
      font-size: 0.75rem;
      color: var(--step-color, var(--color-secondary, #00aeef));
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
    }

    .process-step-body p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.8;
      font-size: 0.97rem;
      margin-bottom: 1rem;
    }

    .process-step-deliverables {
      margin-top: 1.5rem;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
    }

    .process-deliverable {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 8px;
      padding: 0.6rem 1rem;
      font-size: 0.82rem;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .process-deliverable::before {
      content: '✓';
      color: var(--step-color, var(--color-secondary, #00aeef));
      font-weight: 700;
      flex-shrink: 0;
    }



    @media (max-width: 768px) {
      .process-step-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem;
      }

      .process-step-num-col {
        flex-direction: row;
        align-items: center;
      }

      .process-step-connector {
        display: none;
      }

      .process-step-deliverables {
        grid-template-columns: 1fr 1fr;
      }
    }

    @media (max-width: 500px) {
      .process-step-deliverables {
        grid-template-columns: 1fr;
      }
    }


/* ── 5. PROJECTS PAGE ── */
/* ── PAGE HERO ── */
    

    

    

    

    

    

    

    

    

    /* ── PORTFOLIO SECTION ── */
    .portfolio-page-section {
      padding: 5rem 5vw;
      background: var(--color-bg-main, #06101c);
    }

    .portfolio-page-header {
      max-width: 1400px;
      margin: 0 auto 3rem;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2rem;
      flex-wrap: wrap;
    }

    .portfolio-page-header h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(1.8rem, 3vw, 2.8rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
    }

    .portfolio-page-header h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .portfolio-page-header p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
      font-size: 0.95rem;
    }

    /* Filter Buttons */
    .pf-filters {
      display: flex;
      gap: 0.8rem;
      flex-wrap: wrap;
      max-width: 1400px;
      margin: 0 auto 3rem;
    }

    .pf-btn {
      padding: 0.6rem 1.5rem;
      border-radius: 100px;
      border: 1px solid var(--color-border, rgba(255, 255, 255, 0.12));
      background: transparent;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      letter-spacing: 0.05em;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
    }

    .pf-btn.active,
    .pf-btn:hover {
      background: var(--color-primary, #0054a6);
      border-color: var(--color-primary, #0054a6);
      color: #fff;
    }

    /* Full Portfolio Grid */
    .portfolio-full-grid {
      max-width: 1400px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-auto-rows: 280px;
      gap: 1.5rem;
    }

    .pf-item {
      border-radius: 16px;
      overflow: hidden;
      position: relative;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .pf-item.hidden {
      display: none;
    }

    /* Grid layout spans */
    .pf-item:nth-child(1) {
      grid-column: span 6;
      grid-row: span 2;
    }

    .pf-item:nth-child(2) {
      grid-column: span 3;
      grid-row: span 1;
    }

    .pf-item:nth-child(3) {
      grid-column: span 3;
      grid-row: span 1;
    }

    .pf-item:nth-child(4) {
      grid-column: span 3;
      grid-row: span 1;
    }

    .pf-item:nth-child(5) {
      grid-column: span 3;
      grid-row: span 1;
    }

    .pf-item:nth-child(6) {
      grid-column: span 4;
      grid-row: span 1;
    }

    .pf-item:nth-child(7) {
      grid-column: span 4;
      grid-row: span 1;
    }

    .pf-item:nth-child(8) {
      grid-column: span 4;
      grid-row: span 1;
    }

    .pf-item:nth-child(9) {
      grid-column: span 6;
      grid-row: span 1;
    }

    .pf-item:nth-child(10) {
      grid-column: span 6;
      grid-row: span 1;
    }

    .pf-inner {
      width: 100%;
      height: 100%;
      position: relative;
    }

    .pf-inner img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.7s ease;
    }

    .pf-item:hover .pf-inner img {
      transform: scale(1.07);
    }

    .pf-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 10, 25, 0.85) 0%, rgba(0, 10, 25, 0.2) 60%, transparent 100%);
      display: flex;
      align-items: flex-end;
      padding: 1.5rem;
      opacity: 0;
      transition: opacity 0.4s ease;
    }

    .pf-item:hover .pf-overlay {
      opacity: 1;
    }

    .pf-info {}

    .pf-cat {
      font-family: 'DM Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-secondary, #00aeef);
      background: rgba(0, 174, 239, 0.15);
      padding: 0.25rem 0.8rem;
      border-radius: 100px;
      display: inline-block;
      margin-bottom: 0.5rem;
    }

    .pf-info h3,
    .pf-info h4 {
      font-family: 'Syne', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      color: #fff;
      margin-bottom: 0.2rem;
    }

    .pf-info p {
      font-size: 0.82rem;
      color: rgba(255, 255, 255, 0.6);
      margin: 0;
    }

    /* Always-visible label on large cards and touch devices */
    .pf-item:nth-child(1) .pf-overlay {
      opacity: 1;
    }

    @media (hover: none) {
      .pf-overlay {
        opacity: 1;
      }
    }



    @media (max-width: 1024px) {
      .portfolio-full-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-auto-rows: 240px;
      }

      .pf-item:nth-child(1) {
        grid-column: span 6;
        grid-row: span 2;
      }

      .pf-item:nth-child(2),
      .pf-item:nth-child(3) {
        grid-column: span 3;
      }

      .pf-item:nth-child(4),
      .pf-item:nth-child(5) {
        grid-column: span 3;
      }

      .pf-item:nth-child(6),
      .pf-item:nth-child(7),
      .pf-item:nth-child(8) {
        grid-column: span 2;
      }

      .pf-item:nth-child(9),
      .pf-item:nth-child(10) {
        grid-column: span 3;
      }
    }

    @media (max-width: 650px) {
      .portfolio-full-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
      }

      .pf-item {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
      }

      .pf-item:nth-child(1) {
        grid-row: span 2 !important;
      }

      .pf-overlay {
        opacity: 1;
      }
    }


/* ── 6. CONTACT PAGE ── */
/* ── PAGE HERO ── */
    

    

    

    

    

    

    

    

    

    /* ── CONTACT SECTION ── */
    .contact-page-section {
      padding: 6rem 5vw;
      background: var(--color-bg-main, #06101c);
    }

    .contact-page-wrap {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 6rem;
      align-items: start;
    }

    /* Info panel */
    .contact-info-panel {}

    .contact-info-tag {
      font-family: 'DM Mono', monospace;
      font-size: 0.8rem;
      color: var(--color-secondary, #00aeef);
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 1rem;
    }

    .contact-info-tag::after {
      content: '';
      flex: 1;
      max-width: 40px;
      height: 1px;
      background: currentColor;
    }

    .contact-info-panel h2 {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 3.5vw, 3rem);
      font-weight: 800;
      color: var(--color-text-main, #fff);
      line-height: 1.1;
      margin-bottom: 1.2rem;
    }

    .contact-info-panel h2 em {
      font-style: italic;
      color: var(--color-secondary, #00aeef);
    }

    .contact-info-panel>p {
      color: var(--color-text-muted, rgba(255, 255, 255, 0.65));
      line-height: 1.8;
      margin-bottom: 3rem;
      font-size: 0.97rem;
    }

    .contact-info-cards {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
      margin-bottom: 3rem;
    }

    .cic {
      display: flex;
      align-items: flex-start;
      gap: 1.2rem;
      padding: 1.5rem;
      border-radius: 14px;
      background: var(--color-bg-alt, #0c1a2c);
      border: 1px solid var(--color-border, rgba(255, 255, 255, 0.07));
      transition: border-color 0.3s;
    }

    .cic:hover {
      border-color: var(--color-secondary, #00aeef);
    }

    .cic-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      flex-shrink: 0;
      background: rgba(0, 174, 239, 0.1);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .cic-icon svg {
      width: 20px;
      height: 20px;
      stroke: var(--color-secondary, #00aeef);
    }

    .cic-body h5,
    .cic-body .cic-label {
      font-family: 'Syne', sans-serif;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--color-text-main, #fff);
      margin-bottom: 0.25rem;
    }

    .cic-body p,
    .cic-body a {
      font-size: 0.88rem;
      color: var(--color-text-muted, rgba(255, 255, 255, 0.6));
      text-decoration: none;
      line-height: 1.6;
    }

    .cic-body a:hover {
      color: var(--color-secondary, #00aeef);
    }

    /* Quick links */
    .contact-quick-links {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .cql-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.7rem 1.4rem;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-size: 0.88rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s;
    }

    .cql-btn.wa {
      background: #25d366;
      color: #fff;
    }

    .cql-btn.wa:hover {
      background: #1db954;
      transform: translateY(-2px);
    }

    .cql-btn.phone {
      background: var(--color-primary, #0054a6);
      color: #fff;
    }

    .cql-btn.phone:hover {
      background: var(--color-secondary, #00aeef);
      transform: translateY(-2px);
    }

    /* Form panel */
    .contact-form-panel {}

    .contact-form-card {
      background: #ffffff;
      border-radius: 24px;
      padding: 4rem;
      box-shadow: 0 30px 60px rgba(15, 23, 42, 0.06);
      border: 1px solid var(--color-border);
    }

    .cfc-header {
      margin-bottom: 3.5rem;
    }

    .cfc-header h3 {
      font-family: 'Syne', sans-serif;
      font-size: 2rem;
      font-weight: 800;
      color: var(--color-text-main);
      margin-bottom: 0.75rem;
    }

    .cfc-header p {
      font-size: 1rem;
      color: var(--color-text-muted);
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 2.5rem;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2.5rem;
    }

    .form-group {
      margin-bottom: 1.5rem;
      /* Adds space between each field */
      display: flex;
      flex-direction: column;
      /* Stacks label on top of input */
      align-items: flex-start;
    }

    .form-label {
      font-weight: 600;
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      /* Space between label and the input box */
      color: #333;
      display: block;
      /* Ensures it takes up the full width above the input */
    }

    .form-input {
      width: 100%;
      padding: 12px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      box-sizing: border-box;
      /* Prevents padding from breaking layout */
    }

    /* Map */
    .contact-map-section {
      padding: 0;
      background: var(--color-bg-main);
      position: relative;
    }

    .contact-map-wrap {
      width: 100%;
      max-width: 100%;
    }

    .map-header {
      padding: 4rem 5vw 2rem;
      text-align: center;
    }

    .map-header h3 {
      font-family: 'Syne', sans-serif;
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--color-text-main);
    }

    .map-embed {
      width: 100%;
      height: 500px;
      filter: grayscale(0.2);
      transition: filter 0.5s var(--ease);
    }

    .map-embed:hover {
      filter: grayscale(0);
    }

    .map-embed iframe {
      width: 100%;
      height: 100%;
      border: 0;
      display: block;
    }

    /* Floating Label Logic */
    .form-input:focus~.form-label,
    .form-input:not(:placeholder-shown)~.form-label {
      top: -10px;
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--color-primary);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .form-input:focus {
      border-bottom-color: var(--color-primary);
    }

    .form-submit {
      margin-top: 1.5rem;
      background: var(--color-primary);
      color: #fff;
      padding: 1.2rem 2.5rem;
      border-radius: 12px;
      font-family: "Syne", sans-serif;
      font-weight: 700;
      font-size: 1rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      transition: all 0.4s var(--ease);
      cursor: pointer;
      border: none;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .form-submit:hover {
      background: var(--color-primary-hover, #003b75);
      box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
      transform: translateY(-3px);
    }

    .form-submit span {
      transition: transform 0.4s var(--ease);
    }

    .form-submit:hover span {
      transform: translateX(5px);
    }

    /* Form Feedback Message */
    .form-feedback-message {
      padding: 1rem 1.25rem;
      border-radius: 10px;
      font-size: 0.95rem;
      margin-bottom: 1.5rem;
      display: flex;
      align-items: center;
      gap: 0.75rem;
      line-height: 1.4;
      animation: fadeIn 0.3s ease;
    }

    .form-feedback-message.success {
      background: rgba(34, 197, 94, 0.12);
      border: 1px solid rgba(34, 197, 94, 0.4);
      color: #15803d;
    }

    .form-feedback-message.error {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.4);
      color: #b91c1c;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(-6px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ══════════════════════════════
       404 ERROR PAGE
    ══════════════════════════════ */
    .error-page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 2rem;
      background: linear-gradient(135deg, #0054a6 0%, #00aeef 100%);
    }
    .error-content {
      max-width: 600px;
      color: #fff;
    }
    .error-code {
      font-family: 'Syne', sans-serif;
      font-size: clamp(6rem, 15vw, 12rem);
      font-weight: 900;
      line-height: 1;
      margin-bottom: 1rem;
      opacity: 0.3;
    }
    .error-title {
      font-family: 'Syne', sans-serif;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 800;
      margin-bottom: 1.5rem;
    }
    .error-text {
      font-size: 1.1rem;
      line-height: 1.7;
      margin-bottom: 2.5rem;
      opacity: 0.9;
    }
    .error-actions {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    .error-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      border-radius: 8px;
      font-family: 'Syne', sans-serif;
      font-weight: 700;
      text-decoration: none;
      transition: all 0.3s ease;
    }
    .error-btn-primary {
      background: #fff;
      color: #0054a6;
    }
    .error-btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
    .error-btn-ghost {
      background: transparent;
      color: #fff;
      border: 2px solid rgba(255, 255, 255, 0.5);
    }
    .error-btn-ghost:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: #fff;
    }
