@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --dark: #272F34;
  --orange: #F2682C;
  --white: #FFFFFF;
  --yellow: #FEC31D;
  --pink: #FF85FC;
  --purple: #AA9EF5;
  --gradient: linear-gradient(135deg, var(--pink), var(--orange), var(--yellow), var(--purple));
  --gradient-text: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  --font-heading: 'Be Vietnam Pro', sans-serif;
  --font-body: 'Funnel Display', sans-serif;
  --font-text: 'Funnel Sans', sans-serif;
  --box-bg: rgba(39, 47, 52, 0.82);
  --box-border: rgba(255, 255, 255, 0.06);
  --box-radius: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-text);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #1a1a2e;
  background-image:
    linear-gradient(rgba(39, 47, 52, 0.3), rgba(39, 47, 52, 0.3)),
    url('../images/disait_taust-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background-color 0.3s, padding 0.3s, backdrop-filter 0.3s;
}

.header.scrolled {
  background-color: rgba(39, 47, 52, 0.9);
  backdrop-filter: blur(16px);
  padding: 1rem 0;
}

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

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
}

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

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

.nav a:hover {
  opacity: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== NAV DROPDOWN ===== */

.nav-item {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-dropdown-toggle .chevron {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  opacity: 0.65;
  transition: transform 0.22s ease;
}

.nav-item:hover .nav-dropdown-toggle .chevron,
.nav-item.open .nav-dropdown-toggle .chevron {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(22, 28, 33, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.5rem;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 500;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .nav-dropdown-menu,
.nav-item.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.nav-dropdown-menu a {
  font-family: var(--font-text) !important;
  font-size: 0.88rem !important;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  transition: background 0.18s, color 0.18s;
  letter-spacing: 0;
  display: block;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  opacity: 1;
}

.nav-dropdown-menu a::after {
  display: none !important;
}

.nav-dropdown-menu a.active {
  color: var(--orange) !important;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(39, 47, 52, 0.1) 0%,
    rgba(39, 47, 52, 0.2) 50%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding-top: 8rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero h1 .gradient-text {
  font-weight: 800;
  color: var(--dark);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--dark);
  background-clip: unset;
}

.hero p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(39, 47, 52, 0.7);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

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

.hero-process {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(39, 47, 52, 0.15);
}

.hero-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.75rem;
  background: rgba(39, 47, 52, 0.07);
  border: 1px solid rgba(39, 47, 52, 0.1);
  border-radius: 20px;
}

.hero-step-num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--pink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
}

.hero-step-desc {
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: rgba(39, 47, 52, 0.55);
  line-height: 1.4;
}

.hero-step-arrow {
  font-size: 1.6rem;
  color: rgba(39, 47, 52, 0.2);
  flex-shrink: 0;
  align-self: center;
}

/* ===== SERVICES FLOW BAR ===== */

.services-flow-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.sfb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  min-width: 110px;
  transition: background 0.25s, border-color 0.25s;
}

.sfb-step:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.sfb-step-extra {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}

.sfb-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--pink);
  letter-spacing: -0.02em;
  line-height: 1;
}

.sfb-label {
  font-family: var(--font-text);
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  line-height: 1.3;
}

.sfb-arrow {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.sfb-plus {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.5rem;
  font-weight: 300;
  padding: 0 0.25rem;
  flex-shrink: 0;
}

.services-order-note {
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 3rem;
  text-align: center;
}

.service-step-num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.85rem;
}

.service-step-extra {
  font-size: 1rem;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.3);
}

.service-card-extra {
  border: 1px dashed rgba(255, 255, 255, 0.15);
  background: transparent;
}

/* ===== MEESKOND ===== */

.team-photo-wrap {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--box-radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo-placeholder {
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-text);
  font-size: 0.88rem;
  text-align: center;
  padding: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 1;
}

.btn-primary {
  background: var(--gradient);
  color: var(--dark);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(242, 104, 44, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid rgba(39, 47, 52, 0.35);
}

.btn-outline:hover {
  border-color: var(--dark);
  box-shadow: 0 8px 30px rgba(39, 47, 52, 0.15);
}

.btn-arrow {
  width: 20px;
  height: 20px;
}

/* ===== FLOATING BOX SECTIONS ===== */

.section {
  padding: 5rem 0;
}

.section-dark {
  background: transparent;
}

.section-dark > .container {
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.section-header p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== VAHETEKST (INTERLUDE) — text directly on gradient ===== */

.interlude {
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

.interlude-bg {
  display: none;
}

.interlude .container {
  position: relative;
  z-index: 1;
}

.interlude h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--dark);
}

.interlude p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: rgba(39, 47, 52, 0.7);
  max-width: 500px;
  margin: 0 auto;
}

.interlude .formula {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.interlude .formula-left {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--orange);
  background: none;
  -webkit-text-fill-color: var(--orange);
}

.interlude .formula-eq {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
}

.interlude .formula-right {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  border-left: 3px solid var(--orange);
  padding-left: 1rem;
}

/* ===== TEENUSED (SERVICES) ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: rgba(39, 47, 52, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--box-radius);
  padding: 2.5rem;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  background: rgba(39, 47, 52, 0.92);
  border-color: rgba(255, 255, 255, 0.12);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
}

.service-card p {
  font-family: var(--font-text);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-card p strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
}

.service-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.service-link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--orange);
  transition: gap 0.3s;
}

.service-link:hover {
  gap: 0.7rem;
  opacity: 1;
}

.service-link.portfolio-link {
  color: var(--pink);
}

.service-link svg {
  width: 16px;
  height: 16px;
}

/* ===== PAGE HERO (subpages) ===== */

.page-hero {
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  display: none;
}

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

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.page-hero p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 650px;
  line-height: 1.8;
}

/* ===== SERVICE DETAIL PAGE ===== */

.service-detail {
  padding: 4rem 0;
}

.service-detail-content {
  max-width: 750px;
}

.service-detail-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.service-detail-content p {
  font-family: var(--font-text);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.service-detail-content ul {
  list-style: none;
  margin-bottom: 2rem;
}

.service-detail-content ul li {
  font-family: var(--font-text);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-detail-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

/* ===== MEIST (ABOUT) ===== */

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* ===== MEIST — redesigned layout ===== */

.about-lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  max-width: 760px;
  margin: 0 auto 4rem;
}

.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.about-col p {
  font-family: var(--font-text);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.about-col p:last-child {
  margin-bottom: 0;
}

.about-quote {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--white);
  background-clip: unset;
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-family: var(--font-text);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.value-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 1.5rem;
}

.value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--dark);
  background-clip: unset;
}

.value-card p {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ===== PORTFOOLIO ===== */

.portfolio-filters {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.portfolio-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(39, 47, 52, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

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

.portfolio-item-info h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
}

.portfolio-item-info span {
  font-family: var(--font-text);
  font-size: 0.85rem;
  color: var(--orange);
}

/* ===== BLOGI ===== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-meta {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.blog-card-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-content p {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.footer {
  background: #1a1f23;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

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

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

.footer-logo img {
  height: 28px;
  width: auto;
}

.footer-tagline {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

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

.footer-contact-info a {
  font-family: var(--font-text);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-info a:hover {
  color: var(--white);
  opacity: 1;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.3s, border-color 0.3s;
}

.footer-socials a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

/* Footer contact form */

.footer-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-text);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--orange);
}

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

.form-submit {
  grid-column: span 2;
  display: flex;
  justify-content: flex-start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== KONTAKT PAGE ===== */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-info-grid .contact-block {
  background: var(--box-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--box-radius);
  padding: 2rem;
}

.contact-block h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.contact-block p,
.contact-block a {
  font-family: var(--font-text);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

/* ===== TAGASISIDE (TESTIMONIALS) ===== */

.testimonials-section {
  padding: 4rem 0 2rem;
}

.testimonials-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--box-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--box-radius);
  padding: 2rem;
}

.testimonial-card blockquote {
  font-family: var(--font-text);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.25rem;
  border-left: 3px solid var(--orange);
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.testimonial-role {
  font-family: var(--font-text);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.2rem;
}

/* ===== GRID PATTERN OVERLAY ===== */

.grid-pattern {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(39,47,52,0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39,47,52,0.2) 1px, transparent 1px);
  background-size: 120px 120px;
}

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

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 968px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .form-group.full-width,
  .form-submit {
    grid-column: span 1;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .service-card {
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(39, 47, 52, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    font-size: 1.5rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
  }

  .nav-dropdown-toggle {
    font-size: 1.5rem;
    justify-content: center;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0.4rem 0;
    min-width: unset;
    width: 100%;
    border-radius: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    margin-top: 0.25rem;
    gap: 0;
  }

  .nav-item.open .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown-menu a {
    font-size: 1rem !important;
    color: rgba(255, 255, 255, 0.5) !important;
    padding: 0.35rem 0;
    text-align: center;
    border-radius: 0;
    white-space: normal;
  }

  .nav-dropdown-menu a:hover,
  .nav-dropdown-menu a.active {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .service-card {
    border-radius: 12px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .hero-process {
    flex-direction: column;
    gap: 0.5rem;
  }

  .hero-step-arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .hero-step {
    width: 100%;
    padding: 1.25rem 1.5rem;
  }

  .services-flow-bar {
    gap: 0.5rem;
  }

  .sfb-step {
    min-width: 90px;
    padding: 1rem 1.1rem;
  }

  .sfb-num {
    font-size: 1.4rem;
  }
}
