/* ============================================
   ClimaForge — Shared Stylesheet
   ============================================ */

:root {
  --bg-primary: #0B1628;
  --bg-card: #111F35;
  --bg-alt: #0F1A2E;
  --orange: #F4841A;
  --orange-hover: #FF9A35;
  --blue: #00A8E8;
  --text: #FFFFFF;
  --text-muted: #8FA8C8;
  --border: #1E3048;

  --serif: "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: clamp(22px, 2.4vw, 28px); }

p { color: var(--text-muted); font-size: 17px; }

a { color: inherit; text-decoration: none; transition: color 0.2s ease; }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--alt { background: var(--bg-alt); }
.section--card-bg { background: var(--bg-card); }

.section-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 18px;
}

.section-title {
  margin-bottom: 18px;
  max-width: 820px;
}

.section-lead {
  font-size: 18px;
  max-width: 640px;
  margin-bottom: 60px;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px 0;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(11, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 26px;
  white-space: nowrap;
}

.logo__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(244,132,26,0.18), rgba(0,168,232,0.18));
  border: 1px solid var(--border);
}

.logo__white { color: var(--text); }
.logo__orange { color: var(--orange); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav__link {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav__link:hover { color: var(--orange); }

.nav__link--active {
  color: var(--orange);
}

.nav__link--active::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav__cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav__phone {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.nav__phone:hover { color: var(--orange); }

.nav__phone svg {
  width: 16px; height: 16px;
  color: var(--orange);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.hamburger svg { width: 28px; height: 28px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--orange);
  color: #1a0f00;
  box-shadow: 0 10px 30px rgba(244, 132, 26, 0.25);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(244, 132, 26, 0.45);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(255,255,255,0.25);
}

.btn--outline:hover {
  border-color: var(--text);
  transform: scale(1.03);
  background: rgba(255,255,255,0.04);
}

.btn--ghost {
  background: transparent;
  color: var(--orange);
  padding: 0;
  font-weight: 500;
}

.btn--ghost:hover {
  color: var(--orange-hover);
  gap: 14px;
}

.btn--lg {
  padding: 18px 34px;
  font-size: 17px;
}

.btn--pulse {
  animation: pulseOnce 1.8s ease-out 0.6s 1;
}

@keyframes pulseOnce {
  0%   { box-shadow: 0 10px 30px rgba(244, 132, 26, 0.25), 0 0 0 0 rgba(244, 132, 26, 0.55); }
  60%  { box-shadow: 0 10px 30px rgba(244, 132, 26, 0.25), 0 0 0 22px rgba(244, 132, 26, 0); }
  100% { box-shadow: 0 10px 30px rgba(244, 132, 26, 0.25), 0 0 0 0 rgba(244, 132, 26, 0); }
}

/* ============================================
   HERO (Home)
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1631679706909-1844bbd07221?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,22,40,0.75) 0%, rgba(11,22,40,0.6) 40%, rgba(11,22,40,0.98) 100%),
    linear-gradient(90deg, rgba(11,22,40,0.85) 0%, rgba(11,22,40,0.3) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__title {
  font-size: clamp(40px, 6vw, 68px);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease-out 0.2s forwards;
}

.hero__title em {
  color: var(--orange);
  font-style: normal;
  background: linear-gradient(120deg, var(--orange) 0%, #FFB061 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__sub {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 620px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease-out 0.35s forwards;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease-out 0.5s forwards;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 48px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease-out 0.65s forwards;
}

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.trust-pill::before {
  content: "";
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 168, 232, 0.15);
  border: 1px solid rgba(0, 168, 232, 0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* hero side card */
.hero__card {
  display: none;
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  bottom: 80px;
  width: 320px;
  background: rgba(17, 31, 53, 0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  z-index: 2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease-out 0.9s forwards;
}

.hero__card h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 6px;
}

.hero__card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.hero__card .row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
}

.hero__card .row:last-child { padding-bottom: 0; }

.hero__card .row .icon {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(244, 132, 26, 0.12);
  color: var(--orange);
  flex: 0 0 auto;
}

.hero__card .row .meta {
  font-size: 13px;
  color: var(--text-muted);
}

.hero__card .row .meta strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

/* ============================================
   STATS
   ============================================ */
.stats {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat {
  text-align: left;
  padding-left: 24px;
  border-left: 2px solid var(--orange);
}

.stat__num {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 64px);
  color: var(--text);
  line-height: 1;
  margin-bottom: 10px;
}

.stat__label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(244, 132, 26, 0.15);
  border-color: rgba(244, 132, 26, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(244, 132, 26, 0.12);
  color: var(--orange);
  margin-bottom: 24px;
}

.service-card__icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--text);
}

.service-card p {
  font-size: 15px;
  margin-bottom: 24px;
  color: var(--text-muted);
}

.service-card .btn--ghost {
  font-size: 14px;
  font-weight: 600;
}

/* ============================================
   PROCESS STEPS
   ============================================ */
.process {
  position: relative;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process__grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
  z-index: 0;
}

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

.process-step__num {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 24px;
  display: inline-block;
  background: var(--bg-primary);
  padding-right: 18px;
}

.section--alt .process-step__num,
.section--card-bg .process-step__num {
  background: var(--bg-alt);
}

.process-step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  color: var(--orange);
  margin-bottom: 18px;
}

.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }

.testimonial__quote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
  margin-bottom: 24px;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #FFB061);
  display: grid;
  place-items: center;
  color: #1a0f00;
  font-weight: 600;
  font-size: 16px;
  font-family: var(--sans);
}

.testimonial__name {
  font-weight: 600;
  color: var(--text);
  font-size: 15px;
}

.testimonial__loc {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   BRANDS
   ============================================ */
.brands {
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.brands__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}

.brand {
  font-family: var(--serif);
  font-size: 24px;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.3s ease, color 0.3s ease;
  letter-spacing: 0.02em;
}

.brand:hover {
  opacity: 1;
  color: var(--text);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--bg-card);
  border-top: 3px solid var(--orange);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244, 132, 26, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 12px;
}

.cta-banner p {
  font-size: 17px;
  max-width: 460px;
}

.cta-banner .btn {
  flex: 0 0 auto;
}

/* ============================================
   PAGE HERO (interior pages)
   ============================================ */
.page-hero {
  padding: 180px 0 80px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(244, 132, 26, 0.08), transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(0, 168, 232, 0.06), transparent 50%);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a:hover { color: var(--orange); }

.breadcrumb .sep { color: var(--border); }

.page-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  max-width: 800px;
  margin-bottom: 18px;
}

.page-hero p {
  font-size: 19px;
  max-width: 640px;
}

/* ============================================
   DETAILED SERVICE BLOCKS (Services page)
   ============================================ */
.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 36px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.service-block:last-child { border-bottom: none; }

.service-block__icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(244, 132, 26, 0.12);
  color: var(--orange);
  border: 1px solid rgba(244, 132, 26, 0.25);
}

.service-block__icon svg { width: 30px; height: 30px; }

.service-block h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-block__desc {
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 720px;
}

.service-block__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 30px;
  margin-bottom: 28px;
  max-width: 720px;
}

.service-block__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.service-block__list li::before {
  content: "";
  flex: 0 0 auto;
  width: 18px; height: 18px;
  margin-top: 3px;
  border-radius: 50%;
  background: rgba(0,168,232,0.15);
  border: 1px solid rgba(0,168,232,0.4);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A8E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 11px 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================
   PROJECT GRID (Projects page)
   ============================================ */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}

.filter-tab {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-tab:hover {
  color: var(--text);
  border-color: var(--orange);
}

.filter-tab.active {
  background: var(--orange);
  color: #1a0f00;
  border-color: var(--orange);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-card__img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-card__img img {
  transform: scale(1.07);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(11,22,40,0.95) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__overlay-content {
  color: var(--text);
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.project-card:hover .project-card__overlay-content {
  transform: translateY(0);
}

.project-card__overlay-content strong {
  display: block;
  font-size: 14px;
  color: var(--orange);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

.project-card__overlay-content p {
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.project-card__body {
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
}

.project-card__loc {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.project-card__loc svg {
  width: 14px; height: 14px; color: var(--orange);
}

.project-card__model {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  background: rgba(0,168,232,0.1);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
}

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

.story__text h2 {
  margin-bottom: 24px;
}

.story__text p {
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.7;
}

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

.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(244, 132, 26, 0.4);
}

.why-card__icon {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(244, 132, 26, 0.12);
  color: var(--orange);
}

.why-card__icon svg { width: 26px; height: 26px; }

.why-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
}

.mission {
  text-align: center;
  padding: 100px 0;
}

.mission__quote {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.3;
  max-width: 880px;
  margin: 0 auto 30px;
  color: var(--text);
}

.mission__quote span {
  color: var(--orange);
  font-style: italic;
}

.mission__attr {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.team-card:hover { transform: translateY(-6px); }

.team-card__photo {
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.team-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.team-card__body {
  padding: 24px;
}

.team-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 14px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.certs {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.cert-badge svg {
  width: 18px; height: 18px;
  color: var(--orange);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info__phone {
  font-family: var(--serif);
  font-size: 46px;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 8px;
  line-height: 1;
}

.contact-info__phone:hover { color: var(--orange-hover); }

.contact-info__phone-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.contact-info__row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.contact-info__row:last-child { border-bottom: 1px solid var(--border); }

.contact-info__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(244, 132, 26, 0.12);
  color: var(--orange);
  flex: 0 0 auto;
}

.contact-info__icon svg { width: 18px; height: 18px; }

.contact-info__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-info__value {
  font-size: 16px;
  color: var(--text);
  line-height: 1.5;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.contact-form > p {
  font-size: 15px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 10px;
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--bg-primary);
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-error {
  display: none;
  color: #ff6b6b;
  font-size: 13px;
  margin-top: 6px;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ff6b6b;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success {
  display: none;
  background: rgba(0, 168, 232, 0.1);
  border: 1px solid rgba(0, 168, 232, 0.3);
  color: var(--blue);
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
}

.form-success.show { display: block; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 60px;
  height: 420px;
  position: relative;
}

.map-wrap iframe {
  width: 100%; height: 100%; border: none;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.6);
}

.viber-banner {
  margin-top: 50px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(244, 132, 26, 0.12), rgba(0, 168, 232, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.viber-banner h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.viber-banner p {
  max-width: 540px;
  font-size: 15px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: #060E1B;
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer__col h4 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  margin-bottom: 22px;
}

.footer__tagline {
  font-size: 15px;
  margin: 18px 0 14px;
  color: var(--text-muted);
  font-style: italic;
}

.footer__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__links a {
  font-size: 15px;
  color: var(--text-muted);
}

.footer__links a:hover { color: var(--orange); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer__contact strong {
  color: var(--text);
  font-weight: 500;
}

.footer__contact a:hover { color: var(--orange); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .nav__phone { display: none; }
  .nav__links { gap: 24px; }
  .nav { gap: 24px; }
}

@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__card { display: none; }
  .story { grid-template-columns: 1fr; gap: 40px; }
  .story__img { max-height: 500px; aspect-ratio: 16/10; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .nav__links { display: none; }
  .hamburger { display: block; }
  .nav__cta .btn { display: none; }

  .nav__links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    padding: 30px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.35s ease-out;
  }

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

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav__links,
  .nav__phone { display: none; }
  .hamburger { display: block; }

  .nav__links.mobile-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(11, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    padding: 30px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    animation: slideDown 0.35s ease-out;
  }

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

  .nav__cta .btn { display: none; }
  .service-grid,
  .testimonials__grid,
  .project-grid,
  .team-grid,
  .why-grid,
  .process__grid,
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .footer__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .service-block { grid-template-columns: 1fr; gap: 20px; }
  .service-block__list { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; align-items: flex-start; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 60px; }
  .hero__trust { gap: 14px; }
  .page-hero { padding: 140px 0 60px; }
  .contact-form { padding: 28px 22px; }
  .viber-banner { padding: 28px; }
  .contact-info__phone { font-size: 36px; }
  .brands__row { justify-content: center; }
}
