/* ===== RESET & GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

body {
  background: #050608;
  color: #f5f5f5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.fx-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

/* ===== LEFT SIDE PANEL ===== */

.fx-side {
  position: relative;
  background: radial-gradient(circle at top left, #151720 0, #050608 70%);
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.fx-logo-block {
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.fx-logo-main {
  font-weight: 800;
  font-size: 20px;
}

.fx-logo-tag {
  font-size: 11px;
  color: #a4a9b8;
  margin-top: 4px;
}

.fx-side-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.fx-side-nav a {
  text-decoration: none;
  color: #c1c4ce;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fx-side-nav a span {
  font-size: 11px;
  opacity: 0.7;
}

.fx-side-nav a:hover,
.fx-side-nav a.active {
  color: #ffffff;
  border-bottom-color: rgba(255,255,255,0.18);
}

.fx-side-contact {
  font-size: 12px;
  color: #9fa4b5;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fx-side-contact i {
  margin-right: 6px;
}

.fx-side-contact a {
  color: inherit;
  text-decoration: none;
}

/* Burger button (for mobile) */
.fx-burger {
  display: none;
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.fx-burger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
  margin-bottom: 4px;
}

/* ===== MOBILE MENU ===== */

.fx-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 230px;
  height: 100vh;
  background: #050608;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding-top: 70px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: right 0.3s ease;
  z-index: 90;
}

.fx-mobile-menu a {
  text-decoration: none;
  color: #f5f5f5;
  font-size: 14px;
}

.fx-mobile-menu.open {
  right: 0;
}

/* ===== MAIN AREA ===== */

.fx-main {
  padding: 26px 32px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.fx-main-simple {
  padding: 26px 20px 24px;
}

/* ===== HERO (index) ===== */

.fx-hero {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 18px 18px 20px;
  background: linear-gradient(135deg, #090b10 0, #090a0f 50%, #0d1016 100%);
}

.fx-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.fx-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #ffb15b;
}

.fx-hero-top h1 {
  font-size: 26px;
  line-height: 1.3;
}

.fx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 22px;
  margin-top: 10px;
}

.fx-hero-text p {
  font-size: 13px;
  color: #c8ccd8;
  line-height: 1.7;
  max-width: 520px;
}

.fx-hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 14px;
  margin-top: 12px;
  font-size: 12px;
  color: #a8afc2;
}

.fx-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #ffb15b;
}

.fx-hero-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Hero right panel */

.fx-hero-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-hero-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  background: #101219;
  min-height: 190px;
}

.fx-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fx-hero-strip {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #c7ccd7;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  padding: 8px 12px;
}

/* Buttons & links */

.fx-btn {
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: 0.2s ease;
}

.fx-btn-solid {
  background: #ff8a39;
  color: #08090c;
  border-color: #ff8a39;
  box-shadow: 0 10px 26px rgba(255, 138, 57, 0.45);
}

.fx-btn-solid:hover {
  background: #ff9d5b;
  border-color: #ff9d5b;
  transform: translateY(-1px);
}

.fx-btn-ghost {
  background: transparent;
  color: #f5f5f5;
  border-color: rgba(255,255,255,0.28);
}

.fx-btn-ghost:hover {
  background: rgba(255,255,255,0.06);
}

/* Inline link */

.fx-link {
  font-size: 13px;
  color: #ffb15b;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,177,91,0.6);
}

.fx-link:hover {
  color: #ffd19f;
  border-bottom-color: #ffd19f;
}

/* Pills */

.fx-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== STRIP SECTION ===== */

.fx-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 18px 0;
}

.fx-strip-item {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 12px 14px;
  background: #06070b;
}

.fx-strip-item h2 {
  font-size: 15px;
  margin-bottom: 4px;
}

.fx-strip-item p {
  font-size: 12px;
  color: #b5bcc8;
}

/* ===== SPLIT SECTION ===== */

.fx-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
  margin: 10px 0 18px;
}

.fx-split-col h2 {
  font-size: 16px;
  margin-bottom: 4px;
}

.fx-split-col p,
.fx-split-col li {
  font-size: 13px;
  color: #b5bcc8;
}

.fx-list {
  margin-top: 4px;
  margin-left: 18px;
  line-height: 1.8;
}

/* ===== PROJECT RAIL ===== */

.fx-project-rail {
  margin: 10px 0 18px;
}

.fx-rail-head h2 {
  font-size: 18px;
  margin-bottom: 4px;
}

.fx-rail-head p {
  font-size: 13px;
  color: #b5bcc8;
  margin-bottom: 10px;
}

.fx-rail-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}

.fx-rail-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px 12px 14px;
  background: #080a0f;
  font-size: 13px;
  color: #c2c7d4;
}

.fx-rail-card h3 {
  font-size: 15px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.fx-rail-cta {
  margin-top: 10px;
}

/* ===== CONTACT STRIP ===== */

.fx-contact-strip {
  margin-top: auto;
  margin-bottom: 10px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 14px 14px 16px;
  background: linear-gradient(135deg, #0a0c12 0, #10131c 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.fx-contact-strip h2 {
  font-size: 16px;
  margin-bottom: 4px;
}

.fx-contact-strip p {
  font-size: 13px;
  color: #c6cad6;
}

.fx-contact-inline {
  text-align: right;
  font-size: 13px;
}

.fx-contact-inline p {
  margin-bottom: 6px;
}

.fx-contact-inline i {
  margin-right: 6px;
}

/* ===== PAGE HEAD ===== */

.fx-page-head {
  margin-bottom: 10px;
}

.fx-page-head h1 {
  font-size: 20px;
  margin-bottom: 4px;
}

.fx-page-head p {
  font-size: 13px;
  color: #b5bcc8;
}

/* ===== SERVICES PAGE ===== */

.fx-service-layout {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,0.9fr);
  gap: 18px;
}

.fx-service-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fx-service-card {
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #07080d;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #c2c7d4;
  line-height: 1.8;
}

.fx-service-card h2 {
  font-size: 17px;
  margin-bottom: 4px;
}

.fx-service-card ul {
  margin-top: 6px;
  margin-left: 18px;
}

.fx-service-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fx-note-box {
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #05070c;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: #c2c7d4;
}

.fx-note-box h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.fx-note-muted {
  background: #080a11;
}

/* ===== PROJECTS PAGE ===== */

.fx-project-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.fx-project-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  gap: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #07080d;
  overflow: hidden;
}

.fx-project-img {
  min-height: 180px;
}

.fx-project-img img {
  width: 100%;
  height: 100%;
}

.fx-project-text {
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #c2c7d4;
  line-height: 1.8;
}

.fx-project-text h2 {
  font-size: 17px;
  margin-top: 4px;
  margin-bottom: 4px;
}

.fx-project-text ul {
  margin-top: 6px;
  margin-left: 18px;
}

/* ===== ABOUT PAGE ===== */

.fx-about-layout {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.fx-about-col h2 {
  font-size: 17px;
  margin-bottom: 4px;
}

.fx-about-col p,
.fx-about-col li {
  font-size: 13px;
  color: #c2c7d4;
  line-height: 1.8;
}

/* ===== CONTACT PAGE ===== */

.fx-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.fx-contact-panel {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #07080d;
  padding: 12px 12px 14px;
  font-size: 13px;
  color: #c2c7d4;
}

.fx-contact-panel p {
  margin-bottom: 4px;
}

.fx-contact-note {
  margin-top: 6px;
  margin-bottom: 10px;
}

.fx-contact-panel form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fx-contact-panel label {
  font-size: 12px;
  color: #e2e5ee;
}

.fx-contact-panel input,
.fx-contact-panel textarea {
  font-size: 13px;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #050609;
  color: #f5f5f5;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fx-contact-panel textarea {
  resize: vertical;
  min-height: 110px;
}

.fx-contact-panel input:focus,
.fx-contact-panel textarea:focus {
  border-color: #ffb15b;
  box-shadow: 0 0 0 1px rgba(255,177,91,0.5);
}

.fx-map-panel {
  border-radius: 18px;
  overflow: hidden;
  min-height: 240px;
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== POLICY PAGES ===== */

.fx-page-simple {
  grid-template-columns: minmax(0,1fr);
}

.fx-policy-card {
  max-width: 820px;
  margin: 26px auto 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #07080d;
  padding: 16px 18px 18px;
  font-size: 13px;
  color: #c2c7d4;
  line-height: 1.8;
}

.fx-policy-card h1 {
  font-size: 20px;
  margin-bottom: 4px;
}

.fx-policy-card h2 {
  font-size: 15px;
  margin-top: 10px;
  margin-bottom: 4px;
}

.fx-policy-card ul {
  margin-left: 18px;
}

/* ===== FOOTER ===== */

.fx-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  color: #8f94a3;
}

.fx-footer-simple {
  margin-top: 6px;
}

.fx-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fx-footer-links a {
  color: #cfd2dd;
  text-decoration: none;
  margin-left: 10px;
  font-size: 11px;
}

/* ===== COOKIE BANNER ===== */

#cookie-banner {
  position: fixed;
  bottom: 18px;
  right: 18px;
  max-width: 320px;
  z-index: 100;
}

.cookie-box {
  background: #050609;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 12px;
  font-size: 12px;
  color: #e7e9f0;
  box-shadow: 0 18px 40px rgba(0,0,0,0.8);
}

.cookie-box button {
  margin-top: 8px;
  width: 100%;
  padding: 7px;
  border-radius: 999px;
  border: none;
  background: #ff8a39;
  color: #050608;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== REVEAL ANIMATION ===== */

.fx-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.fx-reveal.fx-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 920px) {
  .fx-page {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-side {
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding-right: 56px;
  }

  .fx-side-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 0;
  }

  .fx-side-contact {
    display: none;
  }

  .fx-burger {
    display: block;
  }

  .fx-main {
    padding: 20px 18px 20px;
  }

  .fx-hero-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-strip {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-split {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-rail-row {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-project-row {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-contact-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .fx-directions-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

@media (max-width: 640px) {
  .fx-side-nav {
    display: none;
  }

  .fx-main {
    padding: 16px 14px 16px;
  }

  .fx-contact-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .fx-contact-inline {
    text-align: left;
  }

  #cookie-banner {
    right: 10px;
    left: 10px;
    max-width: none;
  }
}
