/* ========================================
   WEMELT — Global Stylesheet
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
  /* Colors */
  --bg-primary: #0a0a0a;
  --bg-card: #111111;
  --bg-card-alt: #1a1a1a;
  --accent-gradient: linear-gradient(135deg, #e85a1b, #f5a623);
  --accent-start: #e85a1b;
  --accent-end: #f5a623;
  --text-primary: #ffffff;
  --text-secondary: #888888;
  --border-dark: #1e1e1e;
  --border-light: #2a2a2a;
  --success: #4caf50;

  /* Fonts */
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-sub: 'Questrial', sans-serif;
  --font-meta: 'Roboto', sans-serif;

  /* Spacing */
  --section-pad: 100px 0;
  --container-max: 1200px;
  --gap: 30px;

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

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* --- Utility --- */
.container {
  width: 90%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-eyebrow {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-start);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
  font-size: 1rem;
}

.section-center { text-align: center; }
.section-center .section-desc { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232, 90, 27, 0.3);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(232, 90, 27, 0.5); }

.btn-outline {
  border: 2px solid var(--border-light);
  color: var(--text-primary);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--accent-start);
  color: var(--accent-start);
}

.btn-sm { padding: 10px 24px; font-size: 0.85rem; }

/* ========================================
   HEADER / NAV
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

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

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.logo span { color: var(--accent-start); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.social-icons a:hover {
  border-color: var(--accent-start);
  background: rgba(232, 90, 27, 0.1);
}
.social-icons a svg { width: 16px; height: 16px; fill: var(--text-secondary); transition: fill 0.3s; }
.social-icons a:hover svg { fill: var(--accent-start); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1100;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; right: -100%;
  width: 300px; height: 100vh;
  background: var(--bg-card);
  z-index: 1050;
  padding: 100px 40px 40px;
  transition: right 0.4s var(--ease);
  border-left: 1px solid var(--border-dark);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  display: block;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav a:hover,
.mobile-nav a.active { color: var(--text-primary); padding-left: 8px; }
.mobile-nav .btn { margin-top: 24px; width: 100%; justify-content: center; }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.mobile-overlay.active { opacity: 1; }

/* ========================================
   PAGE HERO (inner pages)
   ======================================== */
.page-hero {
  padding: 140px 0 60px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-dark);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
}
.breadcrumb {
  font-family: var(--font-meta);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
}
.breadcrumb a { color: var(--accent-start); }
.breadcrumb span { margin: 0 8px; }

/* ========================================
   HOME — HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}

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

.hero-content { z-index: 2; }

.hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.stat-pills {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 50px;
}
.stat-pill .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-pill .stat-label {
  font-family: var(--font-meta);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Hero Carousel */
.hero-visual {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
}

.carousel {
  position: relative;
  width: 100%; height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  border-radius: 20px;
  overflow: hidden;
}
.carousel-slide.active { opacity: 1; }
.carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features-strip {
  padding: var(--section-pad);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.feature-card {
  padding: 40px 30px;
  background: linear-gradient(145deg, var(--bg-card), var(--bg-card-alt));
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  text-align: center;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.feature-icon {
  width: 60px; height: 60px;
  background: var(--accent-gradient);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.feature-icon svg { width: 28px; height: 28px; fill: #fff; }

.feature-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */
.about-preview { padding: var(--section-pad); }

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

.skill-bars { margin: 32px 0; }

.skill-bar-item { margin-bottom: 20px; }
.skill-bar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-sub);
  font-size: 0.9rem;
}
.skill-bar-label span:last-child {
  font-family: var(--font-meta);
  color: var(--accent-start);
}
.skill-bar-track {
  height: 6px;
  background: var(--bg-card-alt);
  border-radius: 3px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  width: 0;
  transition: width 1.5s var(--ease);
}

.vision-mission-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.vm-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}
.vm-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.vm-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.quote-block {
  border-left: 3px solid var(--accent-start);
  padding: 16px 24px;
  margin-top: 24px;
  font-style: italic;
  color: var(--text-secondary);
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; min-height: 500px; }

/* ========================================
   SERVICES PREVIEW
   ======================================== */
.services-preview {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.service-card {
  padding: 36px 28px;
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-start);
  box-shadow: 0 8px 30px rgba(232, 90, 27, 0.15);
}

.service-card .service-icon {
  width: 50px; height: 50px;
  background: rgba(232, 90, 27, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card .service-icon svg { width: 24px; height: 24px; fill: var(--accent-start); }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.service-card .link-arrow {
  font-size: 0.85rem;
  color: var(--accent-start);
  font-weight: 500;
  transition: gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card:hover .link-arrow { gap: 12px; }

/* ========================================
   STATS / TRUST
   ======================================== */
.stats-section {
  padding: var(--section-pad);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  margin-bottom: 60px;
}

.stat-item {
  text-align: center;
}
.stat-item .stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-text {
  font-family: var(--font-sub);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.logo-carousel {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  opacity: 0.4;
}
.logo-carousel img {
  height: 32px;
  filter: grayscale(1) brightness(2);
}

.client-avatars {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.client-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent-start);
  overflow: hidden;
  background: var(--bg-card-alt);
}
.client-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  padding: 36px;
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg { width: 18px; height: 18px; fill: var(--accent-end); }

.testimonial-card blockquote {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}
.testimonial-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-role {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ========================================
   PROJECTS PREVIEW
   ======================================== */
.projects-preview { padding: var(--section-pad); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(232, 90, 27, 0.1);
}

.project-card-img {
  height: 220px;
  overflow: hidden;
  background: var(--bg-card-alt);
}
.project-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.project-card:hover .project-card-img img { transform: scale(1.05); }

.project-card-body { padding: 28px; }

.project-tag {
  display: inline-block;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-start);
  background: rgba(232, 90, 27, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.project-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}
.project-card-body p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ========================================
   FAQ
   ======================================== */
.faq-section { padding: var(--section-pad); background: var(--bg-card); border-top: 1px solid var(--border-dark); }

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border-dark);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-align: left;
  color: var(--text-primary);
  transition: color 0.3s;
}
.faq-question:hover { color: var(--accent-start); }

.faq-chevron {
  width: 24px; height: 24px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-chevron svg { width: 24px; height: 24px; fill: var(--accent-start); }
.faq-item.active .faq-chevron { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   CONTACT CTA STRIP
   ======================================== */
.cta-strip {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(232,90,27,0.08), rgba(245,166,35,0.05));
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.cta-strip h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 24px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  padding: 80px 0 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo { margin-bottom: 12px; display: inline-block; }
.footer-brand p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.3s, padding-left 0.3s;
}
.footer-col ul a:hover { color: var(--text-primary); padding-left: 4px; }

.footer-contact li {
  font-family: var(--font-meta);
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}
.footer-contact li svg { width: 16px; height: 16px; fill: var(--accent-start); flex-shrink: 0; margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-family: var(--font-meta);
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-family: var(--font-meta);
  font-size: 0.8rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ========================================
   ABOUT PAGE
   ======================================== */
.about-story {
  padding: var(--section-pad);
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-story-grid img {
  border-radius: 16px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.values-section {
  padding: var(--section-pad);
  background: var(--bg-card);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.value-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  transition: transform 0.3s var(--ease);
}
.value-card:hover { transform: translateY(-4px); }
.value-card .value-icon {
  width: 56px; height: 56px;
  background: rgba(232, 90, 27, 0.1);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.value-card .value-icon svg { width: 24px; height: 24px; fill: var(--accent-start); }
.value-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.value-card p { font-size: 0.85rem; color: var(--text-secondary); }

.why-choose {
  padding: var(--section-pad);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.why-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  transition: border-color 0.3s var(--ease);
}
.why-card:hover { border-color: var(--accent-start); }
.why-card h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  margin-bottom: 8px;
}
.why-card p { font-size: 0.88rem; color: var(--text-secondary); }

/* ========================================
   SERVICES PAGE
   ======================================== */
.service-detail {
  padding: var(--section-pad);
}
.service-detail:nth-child(even) {
  background: var(--bg-card);
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
}
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-grid { direction: rtl; }
.service-detail:nth-child(even) .service-detail-grid > * { direction: ltr; }

.service-detail-img {
  border-radius: 16px;
  overflow: hidden;
  height: 360px;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }

.service-detail-content h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}
.service-detail-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(232, 90, 27, 0.1);
  color: var(--accent-start);
  border: 1px solid rgba(232, 90, 27, 0.2);
}
.tag-code {
  font-family: 'Roboto Mono', monospace;
  background: var(--bg-card-alt);
  color: var(--text-secondary);
  border-color: var(--border-light);
}

.materials-section {
  padding: 80px 0;
  text-align: center;
}

/* ========================================
   PROJECTS PAGE
   ======================================== */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
  transition: all 0.3s var(--ease);
}
.filter-tab:hover,
.filter-tab.active {
  color: #fff;
  background: var(--accent-gradient);
  border-color: transparent;
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.projects-full-grid .project-card.hidden {
  display: none;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section { padding: var(--section-pad); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form { }

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text-secondary);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.3s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-start);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group select { cursor: pointer; -webkit-appearance: none; appearance: none; }

.form-group .error-msg {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 6px;
  display: none;
}
.form-group.error input,
.form-group.error textarea { border-color: #e74c3c; }
.form-group.error .error-msg { display: block; }

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: border-color 0.3s;
}
.file-upload-label:hover { border-color: var(--accent-start); }
.file-upload-label input { display: none; }

.form-success {
  display: none;
  padding: 20px;
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid var(--success);
  border-radius: 10px;
  color: var(--success);
  font-weight: 500;
  text-align: center;
  margin-top: 20px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.contact-detail-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  font-family: var(--font-meta);
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.contact-detail-list li svg {
  width: 20px; height: 20px;
  fill: var(--accent-start);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-placeholder {
  margin-top: 30px;
  height: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  overflow: hidden;
}
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 16px;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.anim.anim-left { transform: translateX(-40px); }
.anim.anim-right { transform: translateX(40px); }
.anim.visible {
  opacity: 1;
  transform: translate(0);
}

/* stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

@media (prefers-reduced-motion: reduce) {
  .anim { transition: none; opacity: 1; transform: none; }
  .skill-bar-fill { transition: none; }
  .carousel-slide { transition: none; }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 350px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .testimonials-track { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-story-grid { grid-template-columns: 1fr; }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-grid { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; }
  .projects-full-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .header-right .social-icons, .header-right .btn { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  .hero { min-height: auto; padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-visual { height: 280px; }

  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
  .projects-full-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .vision-mission-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  .section-heading { font-size: clamp(1.5rem, 6vw, 2rem); }
  .stat-pills { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .filter-tabs { gap: 8px; }
  .filter-tab { padding: 8px 16px; font-size: 0.8rem; }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-actions .btn { width: 100%; justify-content: center; }
}

/* ========================================
   LEGAL / POLICY PAGES
   ======================================== */
.legal-content {
  padding: var(--section-pad);
}

.legal-body {
  max-width: 800px;
  margin: 0 auto;
}

.legal-updated {
  font-family: var(--font-meta);
  font-size: 0.85rem;
  color: var(--accent-start);
  margin-bottom: 32px;
}

.legal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 40px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}

.legal-body h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-body h3 {
  font-family: var(--font-sub);
  font-size: 1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.legal-body p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-body ul li {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 8px;
  list-style: disc;
}

.legal-body a {
  color: var(--accent-start);
  transition: color 0.3s;
}
.legal-body a:hover {
  color: var(--accent-end);
}

.legal-info-block {
  background: var(--bg-card);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 16px 0;
}

.legal-info-block p {
  margin-bottom: 0;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.88rem;
}

.legal-table th,
.legal-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.legal-table th {
  font-family: var(--font-sub);
  color: var(--text-primary);
  background: var(--bg-card);
  font-weight: 400;
}

.legal-table td {
  color: var(--text-secondary);
}

/* ========================================
   COOKIE CONSENT BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 24px 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner-text p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner-text a {
  color: var(--accent-start);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ========================================
   GDPR CONSENT CHECKBOX
   ======================================== */
.form-group-checkbox {
  margin-bottom: 20px;
}

.form-group-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.form-group-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--accent-start);
  cursor: pointer;
}

.form-group-checkbox a {
  color: var(--accent-start);
}

.form-group-checkbox .error-msg {
  font-family: var(--font-meta);
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 6px;
  display: none;
  margin-left: 28px;
}

.form-group-checkbox.error .error-msg {
  display: block;
}

/* ========================================
   PROJECT DETAIL MODAL
   ======================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.project-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow-y: auto;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s var(--ease);
}

.project-modal.active .project-modal-content {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.project-modal-close:hover {
  background: var(--accent-start);
  border-color: var(--accent-start);
}

.project-modal-img {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.project-modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal-body {
  padding: 36px 40px 40px;
}

.project-modal-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  margin-bottom: 20px;
  margin-top: 12px;
}

.project-modal-body .project-detail-section {
  margin-bottom: 20px;
}

.project-modal-body .project-detail-section h3 {
  font-family: var(--font-sub);
  font-size: 0.95rem;
  color: var(--accent-start);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-modal-body .project-detail-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.project-modal-body .project-detail-section ul {
  padding-left: 18px;
  margin-top: 6px;
}

.project-modal-body .project-detail-section ul li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  list-style: disc;
  margin-bottom: 4px;
}

.project-modal-body .project-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.project-modal-body .project-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
}

.project-modal-body .project-stat .stat-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-modal-body .project-stat .stat-lbl {
  font-family: var(--font-meta);
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.project-modal-body .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .project-modal-img { height: 200px; }
  .project-modal-body { padding: 24px 20px 28px; }
  .project-modal-body .project-stats { grid-template-columns: 1fr; }
}
