/* ================================================================
   Khoozo — css/style.css
   Core design system: variables, typography, layout, components.
   Breakpoint overrides live in responsive.css.
   Keyframes / motion-only rules live in animation.css.
   ================================================================ */

/* ================================================================
   1. DESIGN TOKENS
   ================================================================ */
:root {
  /* --- brand palette (brief-specified) --- */
  --red: #A61C1C;
  --red-deep: #6E1212;
  --orange: #D1550F;
  --orange-deep: #9B3A0A;

  /* --- neutrals --- */
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --tint: #F5F7FA;
  --border: #E3E8F1;
  --ink: #241414;        /* dark warm charcoal, never pure black */
  --ink-soft: #6B5050;

  /* --- soft tints derived from brand --- */
  --red-soft: #FBE7E2;
  --orange-soft: #FDEEE2;

  /* --- glass surfaces --- */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* --- elevation --- */
  --shadow-sm: 0 2px 10px rgba(36, 20, 20, 0.06);
  --shadow-md: 0 14px 34px rgba(36, 20, 20, 0.10);
  --shadow-lg: 0 26px 60px rgba(36, 20, 20, 0.16);

  /* --- shape --- */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;

  /* --- type --- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* --- motion --- */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --orbit-radius: 150px;
}

/* --- dark theme overrides (toggled via [data-theme="dark"] on <html>) --- */
[data-theme="dark"] {
  --bg: #1A0E0E;
  --surface: #241414;
  --tint: #1E1212;
  --border: #4A2626;
  --ink: #FBEAE6;
  --ink-soft: #CBABA0;
  --red-soft: #3A1818;
  --orange-soft: #3A2210;
  --glass-bg: rgba(36, 20, 20, 0.55);
  --glass-border: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, 0.5);
}

/* ================================================================
   2. RESET & BASE
   ================================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.16; letter-spacing: -0.01em; }

/* Bangla toggle — Fraunces/Inter don't cover Bengali glyphs, so switch
   the whole page to Hind Siliguri while lang-bn is active. */
.lang-bn body, .lang-bn { font-family: "Hind Siliguri", var(--font-body); }
.lang-bn h1, .lang-bn h2, .lang-bn h3, .lang-bn h4,
.lang-bn .brand-name, .lang-bn .hub-mark { font-family: "Hind Siliguri", var(--font-display); letter-spacing: 0; }
p { color: var(--ink-soft); }
a { color: var(--red); text-decoration: none; }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* accessibility */
.skip-link {
  position: absolute; left: -999px; top: 10px; z-index: 200;
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 10px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px;
}

.eyebrow {
  font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange-deep);
  margin-bottom: 14px; display: inline-block;
}
[data-theme="dark"] .eyebrow { color: var(--orange); }

/* ================================================================
   3. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.96rem;
  transition: transform 0.16s var(--ease), background 0.16s var(--ease), border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  color: #fff; box-shadow: 0 10px 26px rgba(166, 28, 28, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 32px rgba(166, 28, 28, 0.42); }
.btn-outline { background: var(--surface); border: 1.5px solid var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-block { width: 100%; justify-content: center; }

/* ================================================================
   4. HEADER / NAVIGATION
   ================================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: transparent; border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border); box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-mark {
  display: block; width: 42px; height: 42px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: flex; flex-direction: column; line-height: 1.05; }
.brand-name em {
  font-style: normal; font-family: var(--font-mono); font-weight: 500; font-size: 0.56rem;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--orange-deep); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 0.92rem; position: relative; }
.nav a:hover { color: var(--ink); }
.nav a.is-active { color: var(--red); }
[data-theme="dark"] .nav a.is-active { color: var(--orange); }
.nav a.is-active:not(.nav-contact)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2.5px;
  border-radius: 999px; background: linear-gradient(90deg, var(--red), var(--orange));
}
.nav-contact { color: #fff !important; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.theme-toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--tint); border: 1px solid var(--border); color: var(--ink); cursor: pointer;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); }
.theme-toggle .fa-sun { display: none; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }
[data-theme="dark"] .theme-toggle .fa-sun { display: block; color: #ffce54; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  background: var(--tint); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; cursor: pointer;
}
.burger span { width: 20px; height: 2.2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), opacity 0.2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7.2px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.2px) rotate(-45deg); }

/* ================================================================
   5. HERO
   ================================================================ */
.hero { position: relative; overflow: hidden; padding-top: 8px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.floating-shape {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35;
}
.shape-1 { width: 380px; height: 380px; background: var(--red); top: -120px; right: -80px; }
.shape-2 { width: 300px; height: 300px; background: var(--orange); bottom: -100px; left: -60px; }
.shape-3 { width: 220px; height: 220px; background: var(--red); top: 40%; left: 46%; opacity: 0.18; }

.hero-skyline { position: absolute; bottom: 0; left: 0; width: 100%; height: 160px; opacity: 0.05; }
.hero-skyline rect { fill: var(--ink); }

.hero-flightpath { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; }
.hero-flightpath path { stroke: var(--red); stroke-width: 2; }
.plane-icon {
  offset-distance: 0%;
  color: var(--orange-deep); font-size: 20px;
}

.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 96px 0 90px;
}
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 700; }
.hero .lede { margin-top: 22px; max-width: 54ch; font-size: 1.05rem; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.typing-text { color: var(--red); font-weight: 700; }
[data-theme="dark"] .typing-text { color: var(--orange); }
.typing-cursor { color: var(--orange-deep); font-weight: 300; }

.hero-stats { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 600; color: var(--red); }
[data-theme="dark"] .hero-stats strong { color: var(--orange); }
.hero-stats span { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }

.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: var(--ink-soft); font-size: 1.1rem; z-index: 1;
}

/* ---- signature hero visual: orbit system ---- */
.hero-visual { position: relative; display: grid; place-items: center; z-index: 1; }
.orbit-system { position: relative; width: 380px; height: 380px; --orbit-radius: 148px; }

.hub-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 148px; height: 148px; border-radius: 50%;
  background: var(--glass-bg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  z-index: 2; text-align: center;
}
.hub-mark { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; background: linear-gradient(120deg, var(--red), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-label { font-size: 0.66rem; font-weight: 600; color: var(--ink-soft); max-width: 90px; }

.orbit-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1.5px dashed var(--border);
}

.orbit-node {
  position: absolute; top: 50%; left: 50%;
  width: 96px; margin-left: -48px; margin-top: -34px;
  transform: rotate(var(--angle)) translate(var(--orbit-radius)) rotate(calc(-1 * var(--angle)));
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 8px; box-shadow: var(--shadow-sm);
}
.orbit-node i { font-size: 1.15rem; color: var(--red); }
[data-theme="dark"] .orbit-node i { color: var(--orange); }
.orbit-node span { font-size: 0.7rem; font-weight: 700; color: var(--ink); }
.orbit-node.node-travel i, .orbit-node.node-realestate i { color: var(--orange-deep); }
[data-theme="dark"] .orbit-node.node-travel i, [data-theme="dark"] .orbit-node.node-realestate i { color: var(--orange); }

/* ================================================================
   6. SHARED SECTION LAYOUT
   ================================================================ */
.section { padding: 96px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); }
.section-head p { margin-top: 12px; }
.section-cta { margin-top: 34px; }

/* ---- gradient-border hover micro-interaction ----
   Applied directly to content cards (all already position:relative). */
.service-card::before, .feature-card::before, .pillar-card::before,
.project-teaser::before, .quote-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.2s var(--ease); pointer-events: none;
}
.service-card:hover::before, .feature-card:hover::before, .pillar-card:hover::before,
.project-teaser:hover::before, .quote-card:hover::before { opacity: 1; }

/* ================================================================
   7. ABOUT
   ================================================================ */
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.about-copy h2 { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.about-copy p { margin-bottom: 16px; }

.pillar-stack { display: grid; gap: 18px; }
.pillar-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 26px;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.pillar-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pillar-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--red-soft); color: var(--red); margin-bottom: 14px; font-size: 1.1rem;
}
[data-theme="dark"] .pillar-icon { color: var(--orange); }
.pillar-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.pillar-card p { font-size: 0.92rem; }

/* ================================================================
   7b. GET THE APP
   ================================================================ */
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.app-copy h2 { margin-bottom: 16px; font-size: clamp(1.6rem, 3vw, 2.15rem); }
.app-copy > p { margin-bottom: 8px; }

.app-features { display: grid; gap: 12px; margin: 22px 0 28px; }
.app-features li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--ink); }
.app-features i { color: var(--orange-deep); font-size: 0.85rem; }
[data-theme="dark"] .app-features i { color: var(--orange); }

.store-badges { display: flex; gap: 14px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #1A1A1A; color: #fff; padding: 11px 20px; border-radius: 12px;
  font-weight: 600; transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-badge i { font-size: 1.7rem; }
.store-badge .store-badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge small { font-size: 0.65rem; font-weight: 400; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.04em; }
.store-badge strong { font-size: 1rem; font-family: var(--font-display); }
.store-note { margin-top: 12px; font-size: 0.8rem; color: var(--ink-soft); }

.app-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 320px; }
.app-phone {
  width: 100%; max-width: 230px; border-radius: 26px; display: block;
  box-shadow: var(--shadow-lg); border: 6px solid var(--surface);
}
.app-phone-2 {
  position: absolute; right: 2%; bottom: -18px; width: 54%; max-width: 160px;
  border-radius: 20px; box-shadow: var(--shadow-md); border: 5px solid var(--surface);
  transform: rotate(5deg);
}

/* ================================================================
   8. SERVICES
   ================================================================ */
.service-group { margin-bottom: 46px; }
.service-group:last-child { margin-bottom: 0; }
.service-group-title {
  display: flex; align-items: center; gap: 12px;
  font-size: 1.1rem; margin-bottom: 20px; color: var(--red);
}
[data-theme="dark"] .service-group-title { color: var(--orange); }
.service-group-title i { font-size: 1rem; }

.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-grid-single { grid-template-columns: repeat(4, 1fr); }
.cards-grid-single .service-card { grid-column: span 1; }

.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 22px;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--orange-soft); color: var(--orange-deep); margin-bottom: 14px; font-size: 1.05rem;
}
[data-theme="dark"] .service-icon { color: var(--orange); }
.service-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.service-card p { font-size: 0.88rem; }

/* ================================================================
   9. WHY CHOOSE US
   ================================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px; text-align: left;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: linear-gradient(135deg, var(--red-soft), var(--orange-soft)); color: var(--red);
  margin-bottom: 16px; font-size: 1.2rem;
}
[data-theme="dark"] .feature-icon { color: var(--orange); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; }

/* ================================================================
   10. PROJECTS
   ================================================================ */
.project-feature {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md); margin-bottom: 28px;
}
.project-media { position: relative; background: var(--red-soft); display: flex; align-items: center; padding: 20px; }
.project-building { width: 100%; }
.project-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--orange); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px;
}
.project-body { padding: 36px 40px; }
.project-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.project-location { display: flex; align-items: center; gap: 8px; color: var(--red); font-weight: 600; font-size: 0.9rem; margin-bottom: 16px; }
[data-theme="dark"] .project-location { color: var(--orange); }
.project-desc { margin-bottom: 22px; }

.project-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.project-specs div { padding: 12px 16px; background: var(--tint); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.project-specs dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 3px; }
.project-specs dd { font-size: 0.92rem; font-weight: 600; }

.project-features-title { font-size: 1rem; margin-bottom: 12px; }
.project-features { display: grid; gap: 9px; margin-bottom: 26px; }
.project-features li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: var(--ink); }
.project-features i { color: var(--orange-deep); font-size: 0.85rem; }
[data-theme="dark"] .project-features i { color: var(--orange); }

.map-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--tint); border: 1.5px dashed var(--border); border-radius: var(--radius);
  padding: 34px 20px; text-align: center; color: var(--ink-soft); margin-bottom: 26px;
}
.map-placeholder i { font-size: 1.8rem; color: var(--red); }
[data-theme="dark"] .map-placeholder i { color: var(--orange); }
.map-placeholder span { font-size: 0.9rem; font-weight: 600; }
.map-placeholder small { font-weight: 400; opacity: 0.7; }
.map-placeholder-sm { padding: 24px 16px; margin-top: 22px; margin-bottom: 0; }

.project-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-teaser {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; opacity: 0.9;
}
.project-teaser h3 { font-size: 1.05rem; margin: 10px 0 6px; }
.project-teaser p { font-size: 0.88rem; }
.offer-type {
  width: fit-content; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.t-upcoming { background: var(--red-soft); color: var(--red); }
[data-theme="dark"] .t-upcoming { color: var(--orange); }

/* Portfolio grid of project cards */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px;
}
.pcard {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.pcard-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--red-soft); }
.pcard-svg { width: 100%; height: 100%; display: block; transition: transform .5s ease; }
.pcard:hover .pcard-svg { transform: scale(1.06); }
.pcard-badge {
  position: absolute; top: 14px; left: 14px; color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}
.b-completed { background: var(--orange-deep, #1e8449); }
.b-ongoing   { background: var(--orange, #D1550F); }
.b-handover  { background: var(--red, #A61C1C); }
.pcard-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.pcard-body .project-location { margin-bottom: 12px; }
.pcard-desc { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.pcard-meta {
  list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 8px;
  border-top: 1px solid var(--border); margin-top: auto;
}
.pcard-meta li { display: flex; justify-content: space-between; font-size: 0.88rem; font-weight: 600; }
.pcard-meta li span {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-soft);
}
.pcard-btn { margin-top: 18px; width: 100%; justify-content: center; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ================================================================
   10b. PROJECT DETAILS MODAL
   ================================================================ */
.pmodal {
  position: fixed; inset: 0; z-index: 1200;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .28s ease, visibility .28s ease;
}
.pmodal.is-open { opacity: 1; visibility: visible; }
.pmodal-overlay {
  position: absolute; inset: 0; background: rgba(7, 20, 48, 0.62);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pmodal-dialog {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 90vh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: translateY(20px) scale(0.98); transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.pmodal.is-open .pmodal-dialog { transform: translateY(0) scale(1); }
.pmodal-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,0.9); color: var(--red); font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, background .2s ease;
}
.pmodal-close:hover { transform: rotate(90deg); background: #fff; }
.pmodal-media { position: relative; min-height: 240px; background: var(--red-soft); overflow: hidden; }
.pmodal-image { position: absolute; inset: 0; }
.pmodal-image svg { width: 100%; height: 100%; display: block; }
.pmodal-media .pcard-badge { top: 18px; left: 18px; }
.pmodal-body { padding: 34px 36px; overflow-y: auto; max-height: 90vh; }
.pmodal-body h3 { font-size: 1.5rem; margin-bottom: 8px; }
.pmodal-body .project-location { margin-bottom: 16px; }
.pmodal-desc { margin-bottom: 22px; color: var(--ink-soft); }
.pmodal-body .project-specs { margin-bottom: 24px; }
.pmodal-body .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
  .pmodal-dialog { grid-template-columns: 1fr; }
  .pmodal-media { min-height: 180px; max-height: 200px; }
}

/* ================================================================
   10c. SOFTWARE CLIENTS
   ================================================================ */
.client-stats {
  list-style: none; margin: 0 0 34px; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.client-stats li {
  text-align: center; padding: 22px 14px; background: var(--tint);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.client-stats strong { display: block; font-family: var(--font-display, inherit); font-size: 1.9rem; color: var(--red); line-height: 1; }
[data-theme="dark"] .client-stats strong { color: var(--orange); }
.client-stats span { font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }

.clients-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px;
}
.client-card {
  display: flex; flex-direction: column; padding: 26px 26px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--orange); }
.client-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.client-head .flag { font-size: 1.9rem; line-height: 1; flex-shrink: 0; }
.client-head > div { flex: 1; min-width: 0; }
.client-head h3 { font-size: 1.15rem; margin-bottom: 2px; }
.client-country { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.client-desc { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 16px; }

.client-tech { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.client-tech li {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 6px;
  background: var(--tint); border: 1px solid var(--border); color: var(--ink);
}
.client-role {
  display: flex; align-items: center; gap: 8px; font-size: 0.84rem; font-weight: 600;
  padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto;
}
.client-role i { color: var(--orange-deep); }
[data-theme="dark"] .client-role i { color: var(--orange); }

.chip {
  flex-shrink: 0; align-self: flex-start; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px;
  background: var(--red-soft); color: var(--red);
}
[data-theme="dark"] .chip { color: var(--orange); }
.chip-fintech  { background: rgba(166, 28, 28, 0.12); color: var(--red); }
.chip-backend  { background: rgba(209, 85, 15, 0.14); color: var(--orange-deep); }
.chip-energy   { background: rgba(240, 173, 78, 0.16); color: #b8730f; }
.chip-merchant { background: rgba(142, 68, 173, 0.14); color: #7d3c98; }
.chip-jobs     { background: rgba(209, 85, 15, 0.12); color: var(--orange-deep); }
[data-theme="dark"] .chip-fintech { color: #7fa8e6; }
[data-theme="dark"] .chip-backend, [data-theme="dark"] .chip-jobs { color: var(--orange); }
[data-theme="dark"] .chip-energy { color: #f0ad4e; }
[data-theme="dark"] .chip-merchant { color: #c39bd3; }

/* ================================================================
   11. CHAIRMAN
   ================================================================ */
.chairman-card {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start;
  background: linear-gradient(150deg, var(--red-deep), var(--red));
  color: #fff; border-radius: var(--radius-lg); padding: 48px 50px;
  box-shadow: var(--shadow-lg);
}
.chairman-media { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.chairman-avatar {
  position: relative; width: 190px; height: 190px; border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--red-soft));
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(255,255,255,0.12), var(--shadow-lg);
}
.chairman-avatar::before {
  content: attr(data-initials); font-family: var(--font-display); font-weight: 700;
  font-size: 3.2rem; color: #fff;
}
.chairman-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chairman-badges li {
  font-size: 0.72rem; font-weight: 700; color: #fff;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px; padding: 5px 13px;
}
.chairman-title { color: #9fc0f0; font-weight: 600; font-size: 0.92rem; margin-bottom: 18px; }
.chairman-body h3 { font-size: 1.7rem; margin-bottom: 6px; }
.chairman-bio { color: #cdd9ef; font-size: 0.97rem; margin-bottom: 20px; }
.chairman-quote {
  font-family: var(--font-display); font-size: 1.15rem; color: #fff;
  border-left: 3px solid var(--orange); padding-left: 18px; margin-bottom: 24px;
}
.chairman-card .social-row a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.chairman-card .social-row a:hover { background: var(--orange); transform: translateY(-2px); }
.social-row { display: flex; gap: 12px; }

/* ================================================================
   12. COUNTER BAND
   ================================================================ */
.counter-band {
  padding: 64px 0; background: linear-gradient(120deg, var(--red), var(--orange-deep));
}
.counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.counter-item { display: flex; flex-direction: column; gap: 4px; color: #fff; }
.counter-item strong { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 600; }
.counter-item span { font-size: 0.86rem; font-weight: 600; color: rgba(255,255,255,0.85); }

/* ================================================================
   13. TESTIMONIALS
   ================================================================ */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 30px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.quote-stars { color: #f5b942; font-size: 0.85rem; display: flex; gap: 3px; }
.quote-card blockquote { font-family: var(--font-display); font-size: 1.06rem; color: var(--ink); }
.quote-card figcaption { display: flex; flex-direction: column; margin-top: auto; }
.quote-card figcaption strong { font-size: 0.94rem; }
.quote-card figcaption span { font-size: 0.8rem; color: var(--ink-soft); }

/* ================================================================
   14. CONTACT
   ================================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 4px 0 12px; }
.contact-cards { display: grid; gap: 12px; margin-top: 26px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 13px;
  padding: 15px 20px; color: var(--ink);
  transition: border-color 0.15s var(--ease), transform 0.14s var(--ease);
}
a.contact-card:hover { border-color: var(--red); transform: translateY(-2px); }
.cc-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px; background: var(--red-soft); color: var(--red);
}
[data-theme="dark"] .cc-icon { color: var(--orange); }
.cc-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card strong { font-size: 0.94rem; }

.contact-form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 36px 34px; display: grid; gap: 20px; box-shadow: var(--shadow-md);
}
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 0.96rem; color: var(--ink);
  background: var(--tint); border: 1.5px solid var(--border); border-radius: 11px;
  padding: 22px 16px 10px; transition: border-color 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 110px; }
.field label {
  position: absolute; left: 16px; top: 16px; pointer-events: none;
  color: var(--ink-soft); font-size: 0.95rem;
  transition: transform 0.16s var(--ease), font-size 0.16s var(--ease), color 0.16s var(--ease);
  transform-origin: left top;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--red); outline: none; }
.field input:focus ~ label,
.field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label,
.field textarea:not(:placeholder-shown) ~ label,
.field select:focus ~ label,
.field select:valid ~ label {
  transform: translateY(-9px); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red);
}
[data-theme="dark"] .field input:focus ~ label,
[data-theme="dark"] .field input:not(:placeholder-shown) ~ label,
[data-theme="dark"] .field textarea:focus ~ label,
[data-theme="dark"] .field textarea:not(:placeholder-shown) ~ label,
[data-theme="dark"] .field select:focus ~ label,
[data-theme="dark"] .field select:valid ~ label { color: var(--orange); }
.field-error { display: none; font-size: 0.78rem; font-weight: 600; color: #d64550; margin-top: 5px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d64550; }
.field.has-error .field-error { display: block; }
.form-status { font-size: 0.88rem; font-weight: 600; color: var(--orange-deep); min-height: 1.2em; }
[data-theme="dark"] .form-status { color: var(--orange); }

/* ================================================================
   15. FOOTER
   ================================================================ */
.footer { background: var(--red-deep); color: #cdd9ef; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand .brand-name em { color: var(--orange); }
.footer-brand p { color: #a9bade; font-size: 0.9rem; margin-bottom: 18px; }
.footer .social-row a {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #fff;
  transition: background 0.16s var(--ease), transform 0.16s var(--ease);
}
.footer .social-row a:hover { background: var(--orange); transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col span { color: #a9bade; font-size: 0.9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0;
}
.footer-bottom p { color: #92a4cb; font-size: 0.82rem; }
.to-top { display: inline-flex; align-items: center; gap: 7px; color: #cdd9ef; font-weight: 600; font-size: 0.86rem; }
.to-top:hover { color: #fff; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; padding: 3px;
}
.lang-toggle button {
  border: 0; background: transparent; color: #cdd9ef; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.8rem;
  padding: 6px 14px; border-radius: 999px; transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.lang-toggle button.is-active { background: linear-gradient(120deg, var(--red), var(--orange)); color: #fff; }
.lang-toggle button:not(.is-active):hover { color: #fff; }

.footer-controls { display: flex; align-items: center; gap: 12px; }
.footer .theme-toggle {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); color: #cdd9ef;
}
.footer .theme-toggle:hover { color: #fff; }
.footer .theme-toggle .fa-sun { color: #ffce54; }

/* ================================================================
   16. FLOATING ACTION BUTTONS & BACK-TO-TOP
   ================================================================ */
.fab-stack {
  position: fixed; right: 22px; bottom: 90px; z-index: 55;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  color: #fff; font-size: 1.15rem; box-shadow: var(--shadow-md);
  transition: transform 0.16s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.05); }
.fab-whatsapp { background: #25d366; }
.fab-messenger { background: #0084ff; }
.fab-call { background: var(--red); }
.fab-email { background: var(--orange-deep); }

.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 55;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #1A1A1A; color: #fff; font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ================================================================
   LEGAL PAGES (Terms / Privacy — simple readable prose)
   ================================================================ */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; line-height: 1.75; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal strong { color: var(--ink); }
.legal .updated { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 30px; }
