/* =========================================================
   18arts Studio — Premium Design Agency Stylesheet
   Author: 18arts Studio
   Theme: Luxury / Minimal / Creative / Modern Dark
   ========================================================= */

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

:root {
  --black: #090909;
  --bg: #0b0b0b;
  --bg-2: #111111;
  --red: #e72424;
  --red-soft: rgba(231, 36, 36, .18);
  --gray-d: #1a1a1a;
  --gray-m: #2a2a2a;
  --gray: #8a8a8a;
  --gray-l: #d6d6d6;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  --container: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-h: 'Montserrat', system-ui, sans-serif;
  --font-b: 'Poppins', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--gray-l);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease);
}

a:hover {
  color: var(--red);
}

button {
  font: inherit;
  cursor: none;
}

ul {
  list-style: none;
}

section {
  padding: 120px 0;
  position: relative;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-h);
  color: var(--white);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.7rem);
}

p {
  color: var(--gray-l);
}

.container {
  width: 92%;
  max-width: var(--container);
  margin: 0 auto;
}

/* ---------- Custom Cursor ---------- */
.cursor-dot,
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  transition: transform .15s var(--ease);
}

.cursor-glow {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--red);
  background: rgba(231, 36, 36, .06);
  transition: transform .25s var(--ease), width .25s var(--ease), height .25s var(--ease);
}

.cursor-glow.hover {
  width: 80px;
  height: 80px;
  background: rgba(231, 36, 36, .18);
}

@media (hover: none) {

  .cursor-dot,
  .cursor-glow {
    display: none;
  }

  body,
  a,
  button {
    cursor: auto;
  }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .6s var(--ease), visibility .6s;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.loader-bar {
  position: absolute;
  bottom: -28px;
  left: 0;
  height: 2px;
  background: var(--red);
  width: 0;
  animation: load 1.6s var(--ease) forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* ---------- Scroll Progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--red), #ff6464);
  z-index: 1000;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 22px 0;
  transition: all .4s var(--ease);
  backdrop-filter: blur(0);
}

.site-header.scrolled {
  background: rgba(9, 9, 9, .78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: 14px 0;
}

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

.logo {
  font-family: var(--font-h);
  font-weight: 800;
  color: var(--white);
  font-size: 1.5rem;
  letter-spacing: .14em;
}

.logo span {
  color: var(--red);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

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

.nav-links a:not(.btn) {
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-l);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--red);
  transition: width .35s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .04em;
  border: none;
  transition: all .35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: #ff3a3a;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -8px var(--red-soft);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--white);
  background: rgba(231, 36, 36, .08);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle i {
  font-size: 1.4rem;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 30%;
    background: rgba(9, 9, 9, .96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 100px 40px;
    transform: translateX(100%);
    transition: transform .5s var(--ease);
    align-items: flex-start;
    gap: 24px;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(231, 36, 36, .18), transparent 60%),
    radial-gradient(700px 400px at 10% 80%, rgba(231, 36, 36, .12), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-content {
  position: relative;
  max-width: 1100px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray-l);
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .03);
}

.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
}

.hero h1 {
  margin: 28px 0 24px;
}

.hero h1 .accent {
  color: var(--red);
  font-style: italic;
  font-weight: 300;
}

.hero h1 .outline {
  -webkit-text-stroke: 1.5px var(--white);
  color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--gray-l);
  max-width: 620px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: .75rem;
  letter-spacing: .3em;
}

.scroll-indicator .line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--red), transparent);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: .3
  }

  50% {
    opacity: 1
  }
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .5;
}

.floating-shape.s1 {
  width: 350px;
  height: 350px;
  background: var(--red);
  top: 10%;
  right: -100px;
  animation: float 12s ease-in-out infinite;
}

.floating-shape.s2 {
  width: 280px;
  height: 280px;
  background: #ff4040;
  bottom: 10%;
  left: -80px;
  animation: float 16s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0)
  }

  50% {
    transform: translate(40px, -40px)
  }
}

/* ---------- Section Heading ---------- */
.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.sec-head .label {
  font-family: var(--font-h);
  font-size: .78rem;
  letter-spacing: .4em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}

.sec-head h2 .accent {
  color: var(--red);
}

.sec-head p {
  margin-top: 18px;
  color: var(--gray);
}

/* ---------- About preview ---------- */
.about-prev {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-prev .img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-prev .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 9, 9, .8));
}

.about-prev img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}

.about-prev .img-wrap:hover img {
  transform: scale(1.06);
}

.about-prev .badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  z-index: 2;
  background: var(--red);
  color: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-h);
  font-weight: 800;
}

.about-prev .badge span {
  font-size: 2rem;
  display: block;
}

.about-prev h2 {
  margin-bottom: 24px;
}

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

.stat-card {
  background: var(--gray-d);
  border: 1px solid rgba(255, 255, 255, .06);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: all .4s var(--ease);
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--red);
}

.stat-num {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
}

.stat-num::after {
  content: '+';
  color: var(--red);
}

.stat-label {
  font-size: .85rem;
  color: var(--gray);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 6px;
}

@media (max-width: 800px) {
  .about-prev {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  padding: 44px 32px;
  border-radius: var(--radius);
  background: var(--gray-d);
  border: 1px solid rgba(255, 255, 255, .06);
  overflow: hidden;
  transition: all .5s var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 50%), rgba(231, 36, 36, .15), transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
}

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

.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(231, 36, 36, .12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 26px;
  transition: all .4s var(--ease);
}

.service-card:hover .icon {
  background: var(--red);
  color: var(--white);
  transform: rotate(-8deg) scale(1.05);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  font-size: .95rem;
  color: var(--gray);
}

.service-card .arrow {
  margin-top: 22px;
  color: var(--red);
  font-size: .85rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Portfolio ---------- */
.filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .12);
  color: var(--gray-l);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: .85rem;
  letter-spacing: .05em;
  transition: all .3s var(--ease);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

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

.portfolio-item {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: none;
  background: var(--gray-d);
}

.portfolio-item.tall {
  aspect-ratio: 3 / 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-item .overlay {
  position: absolute;
  inset: 0;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 30%, rgba(9, 9, 9, .92));
  opacity: 0;
  transition: opacity .4s var(--ease);
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item .cat {
  color: var(--red);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.portfolio-item h3 {
  margin: 8px 0 6px;
}

.portfolio-item p {
  font-size: .9rem;
  color: var(--gray-l);
}

.portfolio-item .view {
  margin-top: 14px;
  color: var(--white);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Process ---------- */
.process-list {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.process-list::before {
  content: '';
  position: absolute;
  left: 32px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

.process-step {
  display: flex;
  gap: 30px;
  padding: 28px 0;
  align-items: flex-start;
  position: relative;
}

.process-step .num {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gray-d);
  border: 2px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 800;
  color: var(--white);
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
}

.process-step:hover .num {
  background: var(--red);
}

/* ---------- Why Choose Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  transition: all .4s var(--ease);
}

.why-card i {
  color: var(--red);
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.why-card:hover {
  background: rgba(231, 36, 36, .06);
  transform: translateY(-6px);
}

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

/* ---------- Testimonials ---------- */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial {
  padding: 36px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px);
  position: relative;
}

.testimonial .quote {
  color: var(--red);
  font-size: 2rem;
  opacity: .7;
}

.testimonial p {
  font-size: 1rem;
  margin: 16px 0 24px;
  color: var(--gray-l);
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial .who img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial .who h4 {
  color: var(--white);
  font-size: .95rem;
  margin: 0;
}

.testimonial .who span {
  color: var(--gray);
  font-size: .8rem;
}

.stars {
  color: #ffc107;
  font-size: .85rem;
  margin-bottom: 8px;
}

/* ---------- Insta Feed ---------- */
.insta-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.insta-strip a {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.insta-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.insta-strip a:hover img {
  transform: scale(1.15);
}

.insta-strip a::after {
  content: '\f16d';
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(231, 36, 36, .85);
  color: #fff;
  opacity: 0;
  transition: opacity .3s;
  font-size: 1.4rem;
}

.insta-strip a:hover::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .insta-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  padding: 90px 0;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #1a0606, var(--bg));
  border-top: 1px solid rgba(255, 255, 255, .06);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.cta-strip h2 {
  margin-bottom: 24px;
}

.cta-strip .cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #050505;
  padding: 90px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
}

.footer-grid h4 {
  font-family: var(--font-h);
  font-size: .9rem;
  color: var(--white);
  letter-spacing: .25em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.footer-grid ul li {
  margin-bottom: 12px;
  font-size: .92rem;
  color: var(--gray);
}

.footer-grid ul li a:hover {
  color: var(--red);
}

.footer-grid p {
  color: var(--gray);
  font-size: .92rem;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-d);
  color: var(--gray-l);
  transition: all .3s var(--ease);
}

.socials a:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: var(--gray);
}

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

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

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: 200px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, rgba(231, 36, 36, .18), transparent 60%);
}

.page-head .crumb {
  color: var(--gray);
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.page-head .crumb span {
  color: var(--red);
}

.page-head h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

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

.contact-info .info-card {
  background: var(--gray-d);
  padding: 24px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, .05);
  transition: all .3s var(--ease);
}

.contact-info .info-card:hover {
  border-color: var(--red);
  transform: translateX(6px);
}

.contact-info .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(231, 36, 36, .12);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info p {
  font-size: .9rem;
  color: var(--gray);
}

.contact-form {
  background: var(--gray-d);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .08);
  color: var(--white);
  font-family: var(--font-b);
  font-size: .95rem;
  transition: all .3s var(--ease);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--red);
  background: var(--bg-2);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin-top: 14px;
  font-size: .9rem;
  min-height: 22px;
}

.form-status.ok {
  color: #5cd49a;
}

.form-status.err {
  color: #ff6b6b;
}

.map-wrap {
  margin-top: 50px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  filter: grayscale(.6) contrast(1.1) invert(.92);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

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

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Floating WhatsApp & Back to top ---------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 400;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
  transition: transform .3s var(--ease);
}

.fab:hover {
  transform: scale(1.08);
  color: #fff;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 90px;
  z-index: 400;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all .3s var(--ease);
  transform: translateY(20px);
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 540px;
  background: rgba(20, 20, 20, .96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius);
  padding: 20px 22px;
  z-index: 600;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  transform: translateY(150%);
  transition: transform .5s var(--ease);
}

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

.cookie-banner p {
  font-size: .88rem;
  color: var(--gray-l);
  flex: 1 1 220px;
  margin: 0;
}

.cookie-banner .btn {
  padding: 10px 20px;
  font-size: .85rem;
}

/* ---------- 404 ---------- */
.err-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.err-big {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: clamp(8rem, 22vw, 18rem);
  background: linear-gradient(180deg, var(--red), transparent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: .9;
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal][data-delay="1"] {
  transition-delay: .1s;
}

[data-reveal][data-delay="2"] {
  transition-delay: .2s;
}

[data-reveal][data-delay="3"] {
  transition-delay: .3s;
}

[data-reveal][data-delay="4"] {
  transition-delay: .4s;
}

/* ---------- Selection ---------- */
::selection {
  background: var(--red);
  color: var(--white);
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-m);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--red);
}

.client-logos{
    padding:90px 0;
    overflow:hidden;
}

.logo-marquee{
    overflow:hidden;
    position:relative;
}

.logo-track{
    display:flex;
    align-items:center;
    gap:80px;
    width:max-content;
    animation:logoScroll 40s linear infinite;
}

.logo-track img{
    height:125px;
    width:auto;
    opacity:.7;
    filter:grayscale(100%);
    transition:.35s ease;
}

.logo-track img:hover{
    opacity:1;
    filter:none;
    transform:scale(1.05);
}

@keyframes logoScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* Contact Form Messages */

.form-success,
.form-error {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  margin-bottom: 25px;
  border-radius: 8px;
  font-size: .95rem;
  animation: fadeUp .4s ease;
}

.form-success {
  background: #102316;
  border: 1px solid #2fbf5f;
  color: #c7ffd5;
}

.form-success i {
  font-size: 28px;
  color: #2fbf5f;
}

.form-error {
  background: #2b1414;
  border: 1px solid #e72424;
  color: #ffd3d3;
}

.form-error i {
  font-size: 28px;
  color: #ff4c4c;
}