/* Custom overrides for logo row and gallery */

/* 1) Wiersz z logotypami */
.logo-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}
.logo-row img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Responsywność */
@media (max-width: 640px) {
  .logo-row img {
    height: 17px;
  }
}

/* 2) Wyłączenie hover w galerii style2 (jeśli używana) i ciaśniejsze kafelki */
.gallery.style2 article .caption {
  opacity: 0 !important;
  pointer-events: none !important;
}
.gallery.style2 article:hover .caption {
  opacity: 0 !important;
}
.gallery.style2 article {
  width: 12rem !important;
}

/* 3) Smooth scrolling for in-page anchors */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Floating animation dla obrazków */
.floating-img {
  animation: floating 6s ease-in-out infinite;
}

/* Usunięcie szarego tła pod zdjęciami we wrapperach banner i spotlight */
.banner .image,
.spotlight .image {
  background-color: #fff !important;
}

/* Sekcja Praktyka */
#praktyka-section,
#praktyka-section .image {
  background-color: #fff !important;
}

#praktyka-section .content {
  background-color: #007491 !important;
  color: #fff !important;
}

#praktyka-section .content h1,
#praktyka-section .content p.major {
  color: #fff !important;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* ----------------------------------------------------
   DELIKATNE TŁA PUNKTOWE (GLOW) generalne
---------------------------------------------------- */
.spotlight {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.spotlight:nth-child(odd)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.12) 0%,
    transparent 60%
  );
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 8s ease-in-out infinite;
}

.spotlight:nth-child(even)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 0.12) 0%,
    transparent 60%
  );
  transform: translateY(-50%);
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 10s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.6;
    transform: translateY(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
  }
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
/* Usunięcie linii oddzielającej przy sekcji hero oraz banner (praktyka) */
#wrapper.divided > .hero,
#wrapper.divided > .hero + section,
#wrapper.divided > .banner,
#wrapper.divided > .banner + section,
#wrapper.divided > .banner + br + br + section,
#wrapper.divided > br,
#wrapper.divided > br + section {
  box-shadow: none !important;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #fff;
  position: relative;
  padding: 2rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../../images/7.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  color: #333;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 2rem;
  border-radius: 8px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #111;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #444;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

/* Poświata na sekcję z trzema kartami */
#cards-section {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
#cards-section::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  width: 1000px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(125, 211, 252, 0.08) 0%,
    transparent 65%
  );
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
  animation: pulse-glow 12s ease-in-out infinite;
}

/* ----------------------------------------------------
   BORDER RADIUS NA ZDJĘCIACH (SPOTLIGHT/BANNER)
---------------------------------------------------- */
.spotlight .image {
  overflow: hidden !important;
  border-radius: 20px !important;
}

.spotlight .image img {
  border-radius: 20px !important;
  display: block;
  width: 100%;
}

.banner:not(.fullscreen) .image {
  overflow: hidden !important;
  border-radius: 20px !important;
}

.banner:not(.fullscreen) .image img {
  border-radius: 20px !important;
  display: block;
  width: 100%;
}

.border-radius-25 {
  border-radius: 25px !important;
}

.border-radius-bottom-25 {
  border-radius: 0 0 25px 25px !important;
}

.margin-top-25 {
  margin-top: 25px !important;
}

.margin-top-50 {
  margin-top: 50px !important;
}
/* ----------------------------------------------------
   TYPOGRAFIA - OVERRIDE GLOBALNY (INTER / OUTFIT)
---------------------------------------------------- */
body,
input,
select,
textarea,
.lead,
.display,
.caption,
p,
a,
div,
span,
li,
button {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand,
.eyebrow {
  font-family:
    "Outfit",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif !important;
  letter-spacing: -0.02em !important;
}

h1.counter {
  font-family: "Outfit", sans-serif !important;
  font-weight: 800 !important;
}

/* ----------------------------------------------------
   GLASSMORPHISM - KARTY / INFO SEKCJE
---------------------------------------------------- */
.glass-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(24px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  border-radius: 20px !important;
  padding: 2.5rem 2rem !important;
  transition:
    transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1),
    background 0.4s ease !important;
  color: var(--text) !important;
}

.glass-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.65) !important;
}

.glass-card h3 {
  color: var(--text) !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
}

/* ----------------------------------------------------
   FABRICA HERO SECTION
---------------------------------------------------- */
.fabrica-hero-wrapper {
  padding: 0 0.5rem 0.5rem 0.5rem;
  background-color: #f5f5f5;
}

.fabrica-hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 4rem);
  border-radius: 1.5rem;
  overflow: hidden;
  background-color: #0d0d0d;
  display: flex;
  flex-direction: column;
}

.fabrica-hero .hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
  filter: grayscale(100%) contrast(1.1);
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-crosshairs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero-crosshairs span {
  position: absolute;
  color: rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: lighter;
}

.ch-1 {
  top: 65%;
  left: 5%;
}
.ch-2 {
  top: 65%;
  left: 25%;
}
.ch-3 {
  top: 65%;
  left: 73%;
}

.fabrica-hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  padding: clamp(2rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem);
  min-height: inherit;
}

.hero-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-title-area {
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  color: #fff !important;
  line-height: 0.85;
  letter-spacing: -0.05em;
  margin: 0;
  white-space: nowrap;
}

.hero-title-reg {
  font-size: clamp(1.5rem, 4vw, 4.5rem);
  vertical-align: top;
  position: relative;
  top: -0.1em;
  margin-left: 0.05em;
  font-weight: 600;
  line-height: 1;
}

.hero-title-sub {
  display: inline-block;
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  margin-left: 52%;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-services-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-top: clamp(3rem, 8vw, 10rem);
}

@media (max-width: 980px) {
  .hero-services-list {
    margin-top: 2rem;
  }
  .hero-title-sub {
    margin-left: 30%;
  }
}

.hero-services-list li {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.hero-bottom-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 4rem;
}

.hero-desc-area p {
  color: rgba(255, 255, 255, 0.85);
  font-family: "Inter", sans-serif;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
  max-width: 500px;
}

/* ----------------------------------------------------
   FABRICA HEADER
---------------------------------------------------- */
.fabrica-header {
  width: 100%;
  background-color: #f5f5f5;
  padding: 0.85rem 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fabrica-header-logo {
  font-family: "Outfit", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #111 !important;
  text-decoration: none;
  letter-spacing: -0.03em;
  border-bottom: none !important;
}

.fabrica-header-logo sup {
  font-size: 0.55rem;
  font-weight: 600;
  position: relative;
  top: -0.6em;
  left: 0.05em;
}

.fabrica-header-center {
  display: flex;
  align-items: center;
  gap: 10vw;
}

.fabrica-header-center a,
.fabrica-header-center span {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #111 !important;
  text-decoration: none;
  border-bottom: none !important;
  cursor: pointer;
  letter-spacing: 0;
  transition: opacity 0.2s ease;
}

.fabrica-header-center a:hover {
  opacity: 0.6;
}

.fabrica-header-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  align-items: flex-end;
}

.fabrica-header-hamburger span {
  display: block;
  height: 1.5px;
  background-color: #111;
  border-radius: 2px;
  width: 28px;
}

@media (max-width: 980px) {
  .fabrica-header {
    flex-wrap: wrap;
  }
  .fabrica-header-center {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .fabrica-header-center.is-active {
    display: flex;
  }
}

.fabrica-header-hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  transition: transform 0.3s;
}
.fabrica-header-hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transition: opacity 0.3s;
}
.fabrica-header-hamburger span {
  transition: transform 0.3s, opacity 0.3s;
}

/* ----------------------------------------------------
   WHY CHOOSE US SECTION
---------------------------------------------------- */
.why-section {
  background-color: #f5f5f5;
  padding: 6rem 5vw 5rem;
}

.why-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 1.5rem;
}

.why-section-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #111;
  display: inline-block;
}

.why-section-heading {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: #111 !important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 650px;
  margin: 0 0 4rem 0;
}

.why-section-heading span {
  color: #888;
}

.why-body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: start;
}

.why-portrait {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 1.2rem;
  display: block;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  max-width: 520px;
}

.why-text strong {
  color: #111;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-stat-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1rem;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
}

.why-stat-number {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #111 !important;
  line-height: 1;
  margin: 0;
}

.why-stat-index {
  position: absolute;
  top: 1.8rem;
  right: 1.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: #aaa;
}

.why-stat-label {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1rem;
  margin-top: 1rem;
}

.why-stat-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #777;
  line-height: 1.5;
  margin-top: auto;
}

.why-stat-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: auto;
}

.why-stat-logos img {
  height: 18px;
  opacity: 0.5;
  filter: grayscale(100%);
}

@media (max-width: 980px) {
  .why-body {
    grid-template-columns: 1fr;
  }
  .why-stats-grid {
    grid-template-columns: 1fr;
  }
  .why-portrait {
    max-width: 100%;
    aspect-ratio: 4 / 3;
  }
}

/* ----------------------------------------------------
   SERVICES SECTION (DARK ACCORDION)
---------------------------------------------------- */
.services-section {
  background-color: #0d0d0d;
  padding: 6rem 5vw 5rem;
  border-radius: 2rem;
  margin: 0 0.5rem;
}

.services-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.services-section-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  display: inline-block;
}

.services-heading {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0 0 4rem;
  line-height: 1;
}

.services-heading sup {
  font-size: 0.35em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  vertical-align: top;
  position: relative;
  top: 0.3em;
  margin-left: 0.15em;
}

/* --- Accordion rows --- */
.services-list {
  max-width: 1100px;
  margin: 0 auto;
}

.service-row {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.service-row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.service-row-header {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  padding: 1.6rem 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.service-row-header:hover {
  opacity: 0.7;
}

.service-row-index {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

.service-row-title {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  font-weight: 600;
  color: #fff !important;
  margin: 0;
}

.service-row-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 300;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  background: transparent;
  flex-shrink: 0;
}

.service-row.open .service-row-toggle {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.1);
}

/* --- Expanded content --- */
.service-row-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0 0 80px;
}

.service-row.open .service-row-body {
  max-height: 500px;
  padding: 0 0 2rem 80px;
}

.service-row-content {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.service-row-thumbs {
  display: flex;
  gap: 0.5rem;
}

.service-row-thumbs img {
  width: 48px;
  height: 48px;
  border-radius: 0.6rem;
  object-fit: cover;
}

.service-row-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 380px;
}

.service-row-desc strong {
  color: #fff;
  font-weight: 600;
}

.service-categories-label {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.6rem;
  display: block;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  white-space: nowrap;
}

.service-tag.count {
  background: rgba(255, 255, 255, 0.1);
}

/* --- CTA button --- */
.services-cta {
  text-align: center;
  margin-top: 3.5rem;
}

.services-cta a {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111 !important;
  background: #fff;
  border: none;
  border-radius: 3rem;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  border-bottom: none !important;
}

.services-cta a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
  .service-row-content {
    grid-template-columns: 1fr;
  }
  .service-row-header {
    grid-template-columns: 50px 1fr auto;
  }
  .service-row-body {
    padding-left: 50px;
  }
  .service-row.open .service-row-body {
    padding-left: 50px;
  }
}

/* ----------------------------------------------------
   CONTACT FORM SECTION
---------------------------------------------------- */
.contact-section {
  background-color: transparent;
  padding: 6rem 5vw 5rem;
}

.contact-heading {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: #111 !important;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 4rem;
}

.contact-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-left-text {
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  color: #666;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.contact-left-text strong {
  color: #111;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-person-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #555;
}

.contact-person-info {
  display: flex;
  flex-direction: column;
}

.contact-person-name {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}

.contact-person-role {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: #888;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-input-group {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.contact-input-group input,
.contact-input-group textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #111;
  resize: none;
  padding: 0;
}

.contact-input-group input::placeholder,
.contact-input-group textarea::placeholder {
  color: #999;
  font-weight: 400;
}

.contact-input-group input:focus,
.contact-input-group textarea:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent;
}

.contact-input-group textarea {
  min-height: 120px;
  line-height: 1.6;
}

.contact-submit {
  margin-top: 2rem;
  align-self: flex-start;
}

.contact-submit button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #fff;
  background: #222;
  border: none;
  border-radius: 3rem;
  padding: 0.45rem 0.55rem 0.45rem 0.9rem;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.contact-submit button::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.contact-submit button:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

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

/* ----------------------------------------------------
   FABRICA FOOTER
---------------------------------------------------- */
.fabrica-footer {
  background-color: #f5f5f5;
  padding: 4rem 5vw 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-phone {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: #666;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  border-bottom: 1.5px solid #111;
  padding-bottom: 2px;
  width: fit-content;
}

.footer-email:hover {
  opacity: 0.7;
}

.footer-col-label {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: #999;
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}

.footer-col-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-col-links li a,
.footer-col-links li span {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-bottom: none !important;
  transition: opacity 0.2s ease;
}

.footer-col-links li a:hover {
  opacity: 0.6;
}

.footer-col-links li a .arrow {
  font-size: 0.7rem;
  vertical-align: super;
  margin-left: 2px;
  color: #888;
}

.footer-brand {
  text-align: right;
  margin-top: 2rem;
}

.footer-brand-name {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  color: #111 !important;
  line-height: 0.85;
  letter-spacing: -0.05em;
}

.footer-brand-name sup {
  font-size: 0.3em;
  vertical-align: top;
  position: relative;
  top: 0.2em;
}

.footer-brand-sub {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #111 !important;
  letter-spacing: -0.03em;
  display: block;
  text-align: right;
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-brand-sub {
    text-align: center;
  }
}

/* ----------------------------------------------------
   PROJECTS / EXPERIENCES SECTION
---------------------------------------------------- */
.projects-section {
  background-color: #f5f5f5;
  padding: 5rem 5vw 4rem;
}

.projects-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 1.5rem;
}

.projects-section-label .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #111;
  display: inline-block;
}

.projects-heading {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  color: #111 !important;
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
  line-height: 1;
}

.projects-heading-year {
  font-family: "Outfit", sans-serif !important;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  color: #888 !important;
  text-align: center;
  margin: 0.5rem 0 3rem;
}

/* --- Bento grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

/* Left stats column */
.proj-stats-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.2rem;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.proj-rating-big {
  font-family: "Outfit", sans-serif !important;
  font-size: 3.5rem;
  font-weight: 700;
  color: #111 !important;
  line-height: 1;
  margin: 0;
}

.proj-rating-big sub {
  font-size: 0.4em;
  font-weight: 500;
  color: #888;
  vertical-align: baseline;
}

.proj-rating-text {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
  margin-top: 1rem;
}

.proj-rating-text strong {
  color: #111;
}

.proj-brand-label {
  font-family: "Outfit", sans-serif !important;
  font-size: 0.9rem;
  font-weight: 700;
  color: #111 !important;
  margin-top: auto;
  padding-top: 2rem;
}

.proj-trusted-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.proj-trusted-number {
  font-family: "Outfit", sans-serif !important;
  font-size: 3rem;
  font-weight: 700;
  color: #111 !important;
  line-height: 1;
}

.proj-trusted-text {
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  color: #888;
  line-height: 1.4;
}

.proj-trusted-text strong {
  color: #111;
  display: block;
}

/* Project cards */
.proj-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 1.2rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
  position: relative;
}

.proj-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.proj-card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  color: #666;
  flex-shrink: 0;
}

.proj-card-company-name {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
  line-height: 1.2;
}

.proj-card-company-role {
  font-family: "Inter", sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  color: #888;
}

.proj-card-stars {
  font-size: 0.7rem;
  color: #f5a623;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.proj-card-text {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #111;
  line-height: 1.5;
  flex-grow: 1;
}

.proj-card-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1rem;
}

.proj-card-link a {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: #111 !important;
  text-decoration: none;
  border-bottom: none !important;
  background: #f0f0f0;
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  transition: background 0.2s ease;
}

.proj-card-link a:hover {
  background: #e0e0e0;
}

/* Plus icon in top-right */
.proj-card-plus {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #999;
}

/* CTA button */
.projects-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.projects-cta a {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff !important;
  background: #111;
  border: none;
  border-radius: 3rem;
  padding: 0.8rem 2rem;
  text-decoration: none;
  border-bottom: none !important;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.projects-cta a:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

@media (max-width: 980px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------------------
   CLIENTS SECTION
---------------------------------------------------- */
.clients-section {
  background-color: #f5f5f5;
  padding: 4rem 5vw;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.clients-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4rem;
}

.clients-title {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clients-year {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #111;
}

.clients-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.clients-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.client-card {
  flex: 1 1 0;
  min-width: 140px;
  height: 120px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.2);
}

@media (max-width: 980px) {
  .client-card {
    flex: 0 0 auto;
    width: 130px;
    min-width: 130px;
    height: 80px;
    padding: 1.2rem;
  }
  .client-card img {
    max-width: 50%;
    max-height: 50%;
  }
}

/* ----------------------------------------------------
   CASE STUDY - NEW LAYOUT
---------------------------------------------------- */
.case-study-container {
  width: 100%;
  padding: 8rem 5vw 4rem;
  background-color: #f5f5f5;
  color: #111;
}

.case-study-hero {
  margin: 0 auto 6rem auto;
}

.case-study-main-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  color: #111 !important;
  letter-spacing: -0.05em;
  margin: 0;
  line-height: 0.9;
}

.case-study-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.case-study-block:first-of-type {
  border-top: none;
}

.case-study-left {
  position: relative;
}

.case-study-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #111;
}

.plus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.case-study-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study-lead {
  font-family: "Inter", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 500;
  color: #111;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
}

.case-study-text {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.case-study-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.case-study-list li {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
}

.case-study-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #111;
  font-weight: bold;
}

.case-study-list li strong {
  color: #111;
  font-weight: 600;
}

.case-study-details-table {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.cs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.cs-row:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.cs-col-key {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
}

.cs-col-val {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #111;
  text-align: right;
}

.case-study-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background-color: #111 !important;
  color: #fff !important;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: none !important;
  border-radius: 3rem;
  padding: 0.7rem 1.2rem 0.7rem 1.8rem;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.case-study-back-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.case-study-back-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
}

@media (max-width: 980px) {
  .case-study-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 3rem 0;
  }

  .case-study-container {
    padding-top: 6rem;
  }
}

@media (max-width: 768px) {
  .clients-header {
    gap: 1.5rem;
    justify-content: space-between;
  }
  .client-card {
    width: 100px;
    min-width: 100px;
    height: 65px;
    padding: 0.8rem;
  }
  .client-card img {
    max-width: 50%;
    max-height: 50%;
  }
}

/* ----------------------------------------------------
   SELECTED WORKS MASONRY GRID (case-study-new.html)
---------------------------------------------------- */
.sw-section {
  position: relative;
  padding: 10rem 5vw;
  background-color: #fdfdfd;
  overflow: hidden;
  min-height: 100vh;
}

.sw-bg-text {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: 18vw;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.04);
  white-space: nowrap;
  z-index: 0;
  pointer-events: none;
  line-height: 1;
  letter-spacing: -0.03em;
}

.sw-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4vw;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.sw-card {
  display: block;
  background: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  border-bottom: none !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
  overflow: hidden;
  border-radius: 4px;
}

.sw-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.sw-offset-1 {
  margin-top: 15vw;
}

.sw-offset-2 {
  margin-top: 10vw;
}

.sw-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #eee;
}

.sw-img-wrap img {
  width: 100%;
  display: block;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.sw-card:hover .sw-img-wrap img {
  transform: scale(1.03);
}

.sw-corner-tr, .sw-corner-bl {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  z-index: 2;
  transition: border-color 0.3s ease;
}

.sw-corner-tr {
  top: 20px;
  right: 20px;
  border-bottom: none;
  border-left: none;
}

.sw-corner-bl {
  bottom: 20px;
  left: 20px;
  border-top: none;
  border-right: none;
}

.sw-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.8rem 2rem;
  background: #fff;
}

.sw-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sw-title {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.4rem;
  font-weight: 600;
  color: #111 !important;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.sw-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.sw-year {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  background: #f5f5f5;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  margin-top: 0.2rem;
}

@media (max-width: 980px) {
  .sw-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .sw-offset-1, .sw-offset-2 {
    margin-top: 0;
  }
  .sw-bg-text {
    font-size: 24vw;
    top: 20%;
  }
}

@media (max-width: 600px) {
  .sw-info {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  .sw-year {
    align-self: flex-start;
    margin-top: 0;
  }
}
