/* =============================================
   STALBUD – GŁÓWNY ARKUSZ STYLÓW
   ============================================= */

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

:root {
  --red: #E8261F;
  --red-dark: #c41d17;
  --black: #0f0f0f;
  --dark: #161616;
  --dark-2: #1e1e1e;
  --gray-1: #f7f7f7;
  --gray-2: #eeeeee;
  --gray-3: #aaaaaa;
  --gray-4: #666666;
  --white: #ffffff;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 6px;
  --radius-lg: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
h5 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-3); margin-bottom: 18px; }

.eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
  position: relative;
  padding-left: 20px;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 1.5px;
  background: var(--red);
}
.eyebrow--dark { color: var(--red); }

.text-red { color: var(--red); }

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}
.btn--red:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,38,31,0.3);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 0.9rem;
}

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */

.img-placeholder {
  background: #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.img-placeholder img + span {
  display: none;
}

.img-placeholder--hero {
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: 0;
  background: #1c1c1c;
}
.img-placeholder--hero img {
  filter: brightness(0.72) contrast(1.05);
}

.img-placeholder--project {
  width: 100%;
  height: 240px;
  border-radius: var(--radius);
  background: #2e2e2e;
}

.img-placeholder--blog {
  width: 100%;
  height: 200px;
  background: #c8c8c8;
  color: #888;
  border-radius: var(--radius) var(--radius) 0 0;
}

.img-placeholder--cta {
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  border-radius: 0;
  position: absolute;
  inset: 0;
}
.img-placeholder--cta img {
  filter: brightness(0.62) contrast(1.08);
}

/* =============================================
   TAGS
   ============================================= */

.tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.12);
}
.tag--light {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.1);
}

/* =============================================
   HEADER
   ============================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--black);
  text-decoration: none;
  flex-shrink: 0;
}
.logo--light { color: var(--white); }
.logo__mark {
  color: var(--red);
  font-size: 0.9rem;
}

.header__nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}
.header__nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-4);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.header__nav a:hover { color: var(--black); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: 16px;
}
.header__phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.header__phone:hover { color: var(--red); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 68px);
}

.hero__left {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 80px 60px 80px 80px;
}
.hero__left-content { max-width: 480px; }

.hero__left .eyebrow { color: rgba(255,255,255,0.45); }
.hero__left .eyebrow::before { background: rgba(255,255,255,0.45); }

.hero__heading {
  color: var(--white);
  margin-bottom: 22px;
}

.hero__desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 360px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  max-width: 320px;
}
.hero__badge-icon {
  width: 36px;
  height: 36px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.hero__badge-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}
.hero__badge-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

.hero__right {
  position: relative;
  overflow: hidden;
}

.hero__overlay-card {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  background: rgba(15,15,15,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
}
.hero__overlay-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.hero__overlay-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}
.hero__overlay-loc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   ABOUT
   ============================================= */

.about {
  padding: 100px 0;
  overflow: hidden;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__left { position: relative; }
.about__left h2 { margin-top: 4px; line-height: 1.15; }
.about__sketch {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 340px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}
.about__right { padding-top: 12px; }
.about__text {
  color: var(--gray-4);
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.75;
}
.about__right .btn { margin-bottom: 44px; }

.about__stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  flex: 1;
  padding: 22px 24px;
}
.stat__num {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 4px;
}
.stat__label {
  font-size: 0.72rem;
  color: var(--gray-3);
  font-weight: 500;
  line-height: 1.3;
}
.stat__divider {
  width: 1px;
  height: 50px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* =============================================
   PROJECTS
   ============================================= */

.projects { }
.projects__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 900px;
}

.projects__left {
  background: var(--white);
  padding: 80px 60px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-light);
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  align-self: start;
}
.projects__left h2 { margin-bottom: 18px; line-height: 1.1; }
.projects__desc {
  color: var(--gray-4);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.projects__right {
  background: var(--dark);
  padding: 40px 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-card {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 36px 0;
  transition: background 0.2s;
  cursor: pointer;
}
.project-card:first-child { padding-top: 20px; }
.project-card:last-child { border-bottom: none; }
.project-card:hover .img-placeholder--project img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.project-card__year {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}

.project-card__info {
  margin-top: 14px;
}
.project-card__info h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.project-card__info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   SERVICES
   ============================================= */

.services {
  padding: 100px 0;
  background: var(--gray-1);
}
.services__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
  align-items: end;
}
.services__top-left h2 { line-height: 1.1; }
.services__top-right p {
  color: var(--gray-4);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--white);
  padding: 36px 28px;
  transition: background 0.25s;
}
.service-card:hover {
  background: var(--dark);
  color: var(--white);
}
.service-card:hover h4 { color: var(--white); }
.service-card:hover p { color: rgba(255,255,255,0.5); }
.service-card:hover .service-card__icon { color: var(--red); }

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--black);
  margin-bottom: 22px;
  transition: color 0.25s;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: -0.01em;
  transition: color 0.25s;
}
.service-card p {
  font-size: 0.83rem;
  color: var(--gray-4);
  line-height: 1.65;
  transition: color 0.25s;
}

/* =============================================
   TESTIMONIALS
   ============================================= */

.testimonials {
  background: var(--dark);
  padding: 100px 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}

.testimonials .eyebrow { color: rgba(255,255,255,0.4); }
.testimonials .eyebrow::before { background: rgba(255,255,255,0.4); }
.testimonials h2 { color: var(--white); }

.testimonials__avatars {
  display: flex;
  gap: -8px;
  margin: 32px 0 14px;
}
.testimonials__avatars .avatar {
  margin-right: -8px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid var(--dark);
  letter-spacing: 0;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.avatar--sm {
  width: 40px;
  height: 40px;
  font-size: 0.6rem;
  border: none;
  flex-shrink: 0;
}

.testimonials__count {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  padding-left: 2px;
}

.testimonial {
  display: none;
}
.testimonial.active { display: block; }

.testimonial__stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 24px;
}

.testimonials blockquote {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 32px;
  border-left: 2px solid var(--red);
  padding-left: 24px;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  line-height: 1.3;
}
.testimonial__author span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.testimonial__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.arrow-btn:hover {
  background: var(--red);
  border-color: var(--red);
}

.testimonial__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.2s;
  cursor: pointer;
}
.dot.active {
  background: var(--red);
  width: 20px;
  border-radius: 3px;
}

/* =============================================
   PARTNERS
   ============================================= */

.partners {
  padding: 100px 0;
  background: var(--white);
}
.partners__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 16px;
}
.partners__top-left h2 { line-height: 1.15; }
.partners__tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 40px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border-light);
  background: none;
  cursor: pointer;
  color: var(--gray-4);
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.partners__desc {
  color: var(--gray-4);
  font-size: 0.9rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.partners__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.partner-logo {
  min-height: 104px;
  padding: 18px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-4);
  background: var(--white);
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.partner-logo__img {
  width: auto;
  max-width: 145px;
  height: 38px;
  max-height: 38px;
  object-fit: contain;
  opacity: 0.92;
  transition: transform 0.2s, opacity 0.2s;
}
.partner-logo__img--tall {
  height: 46px;
  max-height: 46px;
}
.partner-logo span {
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-3);
  transition: color 0.2s;
}
.partner-logo:hover {
  border-color: var(--black);
  color: var(--gray-4);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.partner-logo:hover .partner-logo__img {
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
}
.partner-logo:hover span {
  color: var(--black);
}

/* =============================================
   BLOG
   ============================================= */

.blog {
  padding: 100px 0;
  background: var(--gray-1);
}
.blog__grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: center;
}
.blog__left h2 { margin-bottom: 16px; }
.blog__left p {
  color: var(--gray-4);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.blog__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.25s, transform 0.25s;
}
.blog-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.blog-card:hover .img-placeholder--blog img {
  transform: scale(1.035);
}

.blog-card__body {
  padding: 22px;
}
.blog-card__date {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-3);
  display: block;
  margin-bottom: 10px;
}
.blog-card__body h4 {
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--black);
}
.blog-card__link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: gap 0.2s;
}
.blog-card__link:hover { opacity: 0.8; }

/* =============================================
   CTA
   ============================================= */

.cta {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
}
.cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.92) 50%, rgba(10,10,10,0.6) 100%);
  z-index: 1;
}
.cta__content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.cta__content h2 {
  color: var(--white);
  margin-bottom: 18px;
  max-width: 580px;
  line-height: 1.1;
}
.cta__content p {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  margin-bottom: 36px;
  max-width: 420px;
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: var(--black);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__grid {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__col--brand .logo {
  margin-bottom: 18px;
  display: inline-flex;
}
.footer__col--brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 14px;
}
.footer__address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25) !important;
}

.footer__col h5 { color: rgba(255,255,255,0.25); }
.footer__col ul { list-style: none; }
.footer__col ul li {
  margin-bottom: 12px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.footer__col ul a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--white); }

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.social {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: all 0.2s;
  flex-shrink: 0;
}
.social svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
}
.social:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  gap: 20px;
}
.footer__bottom-links {
  display: flex;
  gap: 24px;
}
.footer__bottom-links a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: var(--white); }

.footer__credit {
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.footer__credit strong {
  color: rgba(255,255,255,0.62);
  font-weight: 700;
}


/* =============================================
   SCROLL ANIMATIONS
   ============================================= */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1100px) {
  .container { padding: 0 28px; }
  .projects__grid { grid-template-columns: 300px 1fr; }
  .projects__left { padding: 60px 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .partners__logos { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  .header__nav { display: none; }
  .header__phone { display: none; }
  .hamburger { display: flex; }

  .header__nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 40px 32px;
    gap: 28px;
    z-index: 99;
    border-top: 1px solid var(--border-light);
  }
  .header__nav.open a {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
  }

  .hero { grid-template-columns: 1fr; }
  .hero__left { padding: 60px 28px; }
  .hero__right { min-height: 380px; }
  .hero__left-content { max-width: 100%; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__sketch { display: none; }

  .projects__grid { grid-template-columns: 1fr; }
  .projects__left {
    position: static;
    height: auto;
    padding: 60px 28px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }
  .projects__right { padding: 28px; }

  .services__top { grid-template-columns: 1fr; gap: 24px; }
  .services__grid { grid-template-columns: 1fr 1fr; }

  .testimonials__grid { grid-template-columns: 1fr; gap: 48px; }

  .partners__top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .partners__logos { grid-template-columns: repeat(3, 1fr); }

  .blog__grid { grid-template-columns: 1fr; gap: 48px; }
  .blog__right { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; text-align: center; gap: 10px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }

  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.75rem; }

  .hero__left { padding: 48px 20px 56px; }
  .hero__overlay-card { left: 16px; right: 16px; bottom: 20px; }

  .about { padding: 72px 0; }
  .about__grid { gap: 32px; }

  .services { padding: 72px 0; }
  .services__grid { grid-template-columns: 1fr; }

  .testimonials { padding: 72px 0; }
  .partners { padding: 72px 0; }
  .partners__logos { grid-template-columns: repeat(2, 1fr); }
  .partners__tabs { flex-wrap: wrap; }

  .blog { padding: 72px 0; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { padding: 24px 20px; }

  .about__stats { flex-direction: column; }
  .stat__divider { width: 100%; height: 1px; }
  .stat { padding: 18px 24px; }
}
/* ===== CONTACT FORM ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  text-align: left;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.10);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .2s, background .2s;
  box-sizing: border-box;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.45);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.15);
}
.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}
.contact-form .btn {
  align-self: flex-start;
  cursor: pointer;
  border: none;
}

@media (max-width: 540px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ===== CONTACT SUCCESS MESSAGE ===== */
.contact-success {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 560px;
  color: #fff;
  animation: fadeInUp .5s ease both;
}
.contact-success.visible {
  display: flex;
}
.contact-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  flex-shrink: 0;
}
.contact-success h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}
.contact-success p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  max-width: 400px;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}