@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;0,900;1,400&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --ice-white: #F8FAFC;
  --frost-blue: #E2E8F0;
  --glacial-gray: #CBD5E1;
  --deep-navy: #0F172A;
  --steel-gray: #475569;
  --cool-teal: #14B8A6;
  --sky-cyan: #0EA5E9;
  --deep-teal: #0284C7;
  --light-slate: #94A3B8;
  --slate-700: #334155;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 18px;
  line-height: 1.8;
  color: var(--steel-gray);
  background: var(--ice-white);
  overflow-x: hidden;
}

strong, b {
  color: inherit;
  font-weight: 700;
}

p {
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--deep-navy);
}

h1 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.022em;
  line-height: 0.92;
}

h2 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  font-style: italic;
  color: var(--sky-cyan);
}

h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

.technical-data {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--cool-teal);
}

.mesh-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.mesh-layer {
  position: absolute;
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.12;
  background: radial-gradient(circle, var(--ice-white) 0%, var(--frost-blue) 25%, var(--glacial-gray) 50%, #A8DADC 75%, var(--sky-cyan) 100%);
  animation: drift 65s ease-in-out infinite alternate;
}

.mesh-layer:nth-child(1) { top: -20%; left: -10%; animation-delay: 0s; }
.mesh-layer:nth-child(2) { top: 30%; left: 50%; animation-delay: -8s; animation-duration: 70s; }
.mesh-layer:nth-child(3) { top: 60%; left: -20%; animation-delay: -16s; animation-duration: 60s; }
.mesh-layer:nth-child(4) { top: 10%; left: 70%; animation-delay: -24s; animation-duration: 75s; }
.mesh-layer:nth-child(5) { top: 80%; left: 40%; animation-delay: -32s; animation-duration: 55s; }

@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(56px, -56px) rotate(0.28deg); }
}

.sidebar-navigation {
  position: fixed;
  left: 0;
  top: 0;
  width: 88px;
  height: 100vh;
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,250,252,0.97) 100%);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border-right: 3px solid rgba(14, 165, 233, 0.35);
  box-shadow: 16px 0 80px rgba(14, 165, 233, 0.18);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0;
}

.sidebar-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.sidebar-logo svg {
  width: 52px;
  height: 52px;
  stroke: var(--cool-teal);
  stroke-width: 3;
  fill: none;
  margin-bottom: 8px;
}

.sidebar-logo-text {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--deep-navy);
  letter-spacing: -0.015em;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  max-height: 80px;
  overflow: hidden;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.sidebar-nav a {
  font-family: 'Lora', Georgia, serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--steel-gray);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transition: all 0.35s ease;
  position: relative;
  padding: 5px 4px;
}

.sidebar-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--sky-cyan);
  transition: all 0.35s ease;
  transform: translateX(-50%);
}

.sidebar-nav a:hover {
  color: var(--sky-cyan);
  transform: translateY(-3px);
}

.sidebar-nav a:hover::after {
  width: 100%;
}

.sidebar-cta {
  margin-top: auto;
  padding: 24px 12px;
  width: 100%;
}

.sidebar-cta a {
  display: block;
  padding: 16px 8px;
  background: linear-gradient(135deg, var(--sky-cyan), var(--deep-teal));
  color: white;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 44px;
  text-align: center;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  box-shadow: 0 20px 88px rgba(14, 165, 233, 0.45);
  transition: all 0.35s ease;
}

.sidebar-cta a:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.55);
}

.main-content {
  margin-left: 88px;
}

.mobile-menu-trigger {
  display: none;
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border: 3px solid rgba(14, 165, 233, 0.35);
  border-radius: 50%;
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.25);
  z-index: 9998;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  transition: all 0.35s ease;
}

.mobile-menu-trigger:hover {
  transform: scale(1.16);
}

.mobile-menu-trigger svg {
  width: 32px;
  height: 32px;
  stroke: var(--sky-cyan);
  stroke-width: 3;
  fill: none;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.99);
  backdrop-filter: blur(56px);
  -webkit-backdrop-filter: blur(56px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 120px;
  gap: 40px;
  transform: scale(0.92);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-nav-overlay.active {
  transform: scale(1);
  opacity: 1;
  visibility: visible;
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-nav-close svg {
  width: 32px;
  height: 32px;
  stroke: var(--deep-navy);
  stroke-width: 3.5;
  fill: none;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: center;
}

.mobile-nav-links a {
  font-family: 'Lora', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--deep-navy);
  transition: all 0.35s ease;
  position: relative;
  padding: 8px 0;
}

.mobile-nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--sky-cyan), var(--deep-teal));
  border-radius: 2px;
}

.mobile-nav-links a:hover {
  color: var(--sky-cyan);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-bento {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 24px;
  position: relative;
  margin-left: -80px;
}

.bento-photo {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  z-index: 6;
}

.bento-photo img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 72px;
  filter: contrast(1.25);
  border: 2px solid var(--sky-cyan);
  position: relative;
  z-index: 2;
}

.bento-photo::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -24px;
  width: 120%;
  height: 120%;
  background: linear-gradient(135deg, var(--sky-cyan), var(--cool-teal));
  border-radius: 80px;
  z-index: 1;
  opacity: 0.3;
}

.bento-3d {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
  border-radius: 24px;
  border: 1.5px solid var(--sky-cyan);
  min-height: 140px;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.bento-3d svg {
  width: 64px;
  height: 64px;
  stroke: var(--sky-cyan);
  stroke-width: 1.5;
  fill: none;
  animation: rotate3d 8s linear infinite;
}

@keyframes rotate3d {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.bento-pattern {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.08), rgba(14, 165, 233, 0.08));
  border-radius: 88px;
  min-height: 140px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}

.bento-pattern svg {
  width: 80px;
  height: 80px;
  stroke: var(--deep-teal);
  stroke-width: 1.5;
  fill: none;
  animation: flowPattern 4s ease-in-out infinite;
}

@keyframes flowPattern {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
}

.bento-icons {
  grid-column: span 2;
  grid-row: span 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 3;
}

.bento-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(20, 184, 166, 0.1));
  border-radius: 16px;
  transition: all 0.35s ease;
}

.bento-icon:hover {
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 12px 48px rgba(14, 165, 233, 0.3);
}

.bento-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--sky-cyan);
  stroke-width: 3.5;
  fill: none;
}

.bento-tech {
  position: absolute;
  bottom: -40px;
  right: -20px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border: 2.5px solid var(--cool-teal);
  border-radius: 72px;
  padding: 20px 28px;
  z-index: 7;
}

.bento-tech .technical-data {
  font-size: 13px;
}

.hero-content {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px;
}

.hero-content h1 {
  margin-bottom: 24px;
  animation: editorialReveal 1.2s ease-out forwards;
}

@keyframes editorialReveal {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.82);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-content h2 {
  margin-bottom: 24px;
  animation: editorialReveal 1.2s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-content p {
  max-width: 580px;
  margin-bottom: 40px;
  animation: editorialReveal 1.2s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  animation: editorialReveal 1.2s ease-out 0.6s forwards;
  opacity: 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 48px;
  background: linear-gradient(135deg, var(--sky-cyan), var(--deep-teal));
  color: white;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: 72px;
  box-shadow: 0 80px 320px rgba(14, 165, 233, 0.55);
  transition: all 0.35s ease;
  white-space: nowrap;
  min-width: 200px;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.16);
  box-shadow: 0 96px 360px rgba(14, 165, 233, 0.65);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 44px;
  background: transparent;
  color: var(--sky-cyan);
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  border: 2px solid var(--sky-cyan);
  border-radius: 72px;
  transition: all 0.35s ease;
  white-space: nowrap;
  min-width: 160px;
}

.btn-secondary:hover {
  background: var(--sky-cyan);
  color: white;
  transform: translateY(-4px);
}

.section {
  padding: 120px 80px;
  position: relative;
  margin-bottom: -28px;
  z-index: 1;
}

.section-glass {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border: 3px solid rgba(14, 165, 233, 0.3);
  border-radius: 32px;
  box-shadow: 0 72px 288px rgba(14, 165, 233, 0.2);
}

.section-dark {
  background: linear-gradient(135deg, var(--deep-navy), var(--slate-700));
  color: white;
}

.section-dark h2,
.section-dark h3 {
  color: white;
}

.section-dark p {
  color: var(--frost-blue);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.section-header h2 {
  margin-bottom: 20px;
}

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

.service-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: var(--sky-cyan);
  box-shadow: 0 72px 288px rgba(14, 165, 233, 0.3);
  z-index: 88;
}

.service-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid var(--sky-cyan);
}

.service-card-content {
  padding: 32px;
}

.service-card-content h3 {
  margin-bottom: 12px;
  font-family: 'Lora', Georgia, serif;
  font-weight: 600;
}

.service-card-price {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--cool-teal);
  margin-bottom: 16px;
}

.service-card-content p {
  font-size: 16px;
  margin-bottom: 24px;
}

.service-card .btn-secondary {
  padding: 14px 32px;
  font-size: 16px;
}

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

.about-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.95s ease;
}

.about-card:nth-child(1) { height: 480px; }
.about-card:nth-child(2) { height: 720px; margin-top: -120px; }
.about-card:nth-child(3) { height: 560px; margin-top: 40px; }
.about-card:nth-child(4) { height: 640px; margin-top: -80px; }

.about-card:hover {
  transform: scale(1.05) translateY(-8px);
  z-index: 88;
  box-shadow: 0 72px 288px rgba(14, 165, 233, 0.4);
}

.about-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  border: 2px solid var(--cool-teal);
}

.process-node-graph {
  position: relative;
  padding: 80px 0;
}

.node-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: rgba(14, 165, 233, 0.08);
  border: 4px solid var(--sky-cyan);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.node-central svg {
  width: 120px;
  height: 120px;
  stroke: var(--sky-cyan);
  stroke-width: 2;
  fill: none;
}

.process-nodes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.process-node {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 3px solid var(--sky-cyan);
  border-radius: 88px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  margin: -48px 0;
}

.process-node:hover {
  transform: scale(1.18);
  z-index: 88;
  box-shadow: 0 72px 288px rgba(14, 165, 233, 0.4);
  border-color: var(--cool-teal);
}

.process-node-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--sky-cyan), var(--cool-teal));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.35s ease;
}

.process-node:hover .process-node-icon {
  transform: scale(1.22);
}

.process-node-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}

.process-node h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--deep-navy);
}

.process-node p {
  font-size: 14px;
  color: var(--steel-gray);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 64px;
}

.advantage-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--glacial-gray);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.advantage-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='%2314B8A6' stroke-width='0.5' fill='none' opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity 0.35s ease;
}

.advantage-item:hover {
  flex-grow: 3.2;
  transform: scale(1.18);
  z-index: 88;
  border-color: var(--sky-cyan);
  box-shadow: 0 48px 192px rgba(14, 165, 233, 0.4);
}

.advantage-item:hover::before {
  opacity: 1;
}

.advantage-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(20, 184, 166, 0.1));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.advantage-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--cool-teal);
  stroke-width: 2;
  fill: none;
}

.advantage-item h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--deep-navy);
  position: relative;
  z-index: 1;
}

.advantage-item p {
  font-size: 14px;
  color: var(--steel-gray);
  position: relative;
  z-index: 1;
}

.reviews-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.review-item {
  background: rgba(255, 255, 255, 0.95);
  border-left: 10px solid var(--sky-cyan);
  border-radius: 0 24px 24px 0;
  margin-bottom: 24px;
  overflow: hidden;
  transition: all 0.95s ease;
}

.review-item:hover {
  transform: scale(1.02);
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.25);
}

.review-header {
  padding: 24px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s ease;
}

.review-header:hover {
  background: rgba(14, 165, 233, 0.05);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 20px;
}

.review-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cool-teal);
}

.review-author-info h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 4px;
}

.review-author-info .technical-data {
  font-size: 13px;
}

.review-toggle {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.35s ease;
}

.review-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--sky-cyan);
  stroke-width: 3;
  fill: none;
}

.review-item.active .review-toggle {
  transform: rotate(180deg);
}

.review-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.95s ease;
}

.review-item.active .review-content {
  max-height: 500px;
}

.review-body {
  padding: 0 32px 32px;
  display: flex;
  gap: 24px;
}

.review-body p {
  flex: 1;
  font-style: italic;
  font-size: 16px;
  line-height: 1.7;
}

.review-body img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
  border-top: 7px solid;
  border-image: linear-gradient(90deg, var(--sky-cyan), var(--cool-teal)) 1;
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.team-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 40px;
  text-align: center;
  transition: all 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.05);
  z-index: 88;
  border-color: var(--sky-cyan);
  box-shadow: 0 72px 288px rgba(14, 165, 233, 0.35);
}

.team-avatar {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--sky-cyan);
  transition: all 0.35s ease;
}

.team-card:hover .team-avatar {
  transform: scale(1.08);
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.4);
}

.team-card h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.team-card .technical-data {
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}

.team-card p {
  font-size: 15px;
}

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-left {
  position: sticky;
  top: 0;
  height: 100vh;
  background: linear-gradient(135deg, var(--deep-navy), var(--slate-700));
  color: white;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 5px solid rgba(14, 165, 233, 0.45);
  box-shadow: 40px 0 160px rgba(14, 165, 233, 0.3);
}

.contact-left h2 {
  color: white;
  margin-bottom: 40px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-item svg {
  width: 28px;
  height: 28px;
  stroke: var(--cool-teal);
  stroke-width: 2.5;
  fill: none;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-info-item p {
  font-size: 16px;
  line-height: 1.6;
}

.contact-right {
  padding: 80px 60px;
  overflow-y: auto;
}

.contact-form {
  max-width: 600px;
}

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

.form-group label {
  display: block;
  font-family: 'Lora', Georgia, serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 16px 20px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 16px;
  color: var(--deep-navy);
  background: white;
  border: 2px solid var(--glacial-gray);
  border-radius: 12px;
  transition: all 0.35s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky-cyan);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--light-slate);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 20px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 60px 40px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 24px;
  border: 2px solid var(--cool-teal);
}

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

.form-success h3 {
  font-family: 'Lora', Georgia, serif;
  font-size: 28px;
  color: var(--cool-teal);
  margin-bottom: 16px;
}

.form-success p {
  font-size: 18px;
  color: var(--steel-gray);
}

.faq-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding-left: 60px;
}

.faq-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: var(--sky-cyan);
  border-radius: 3px;
}

.faq-item {
  position: relative;
  margin-bottom: 32px;
  width: calc(100% - 72px);
}

.faq-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 24px;
  width: 20px;
  height: 20px;
  background: var(--sky-cyan);
  border-radius: 50%;
  border: 4px solid var(--ice-white);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
  transition: all 0.35s ease;
}

.faq-item:hover::before {
  transform: scale(1.3);
}

.faq-question {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border: 3px solid var(--cool-teal);
  border-radius: 88px;
  padding: 28px 36px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.95s ease;
}

.faq-question:hover {
  transform: scale(1.02);
  border-color: var(--sky-cyan);
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.25);
}

.faq-question h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--deep-navy);
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--sky-cyan), var(--cool-teal));
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq-icon svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 3;
  fill: none;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.95s ease;
  margin-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  margin-top: 20px;
}

.faq-answer p {
  padding: 24px 32px;
  background: rgba(14, 165, 233, 0.05);
  border-radius: 20px;
  font-size: 16px;
  line-height: 1.7;
}

.footer {
  background: linear-gradient(135deg, var(--deep-navy), var(--slate-700));
  color: white;
  padding: 80px 120px 40px;
  margin-left: 88px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-section h4 {
  font-family: 'Lora', Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  font-size: 15px;
  color: var(--frost-blue);
  line-height: 1.8;
  display: block;
  margin-bottom: 8px;
  transition: color 0.35s ease;
}

.footer-section a:hover {
  color: var(--sky-cyan);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--light-slate);
}

.footer-legal-links {
  display: flex;
  gap: 24px;
}

.footer-legal-links a {
  font-size: 14px;
  color: var(--light-slate);
  transition: color 0.35s ease;
}

.footer-legal-links a:hover {
  color: var(--sky-cyan);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 104px;
  right: 24px;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(52px);
  -webkit-backdrop-filter: blur(52px);
  border: 3px solid rgba(14, 165, 233, 0.4);
  border-radius: 24px;
  padding: 28px 32px;
  box-shadow: 0 24px 96px rgba(14, 165, 233, 0.3);
  z-index: 9000;
  display: block;
}

.cookie-banner h5 {
  font-family: 'Lora', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.cookie-banner p {
  font-size: 14px;
  color: var(--steel-gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons button {
  padding: 12px 24px;
  font-family: 'Merriweather', Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: 24px;
  cursor: pointer;
  transition: all 0.35s ease;
  border: none;
  min-width: 120px;
}

.cookie-accept {
  background: linear-gradient(135deg, var(--sky-cyan), var(--deep-teal));
  color: white;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
}

.cookie-decline {
  background: transparent;
  color: var(--steel-gray);
  border: 2px solid var(--glacial-gray);
}

.cookie-decline:hover {
  border-color: var(--sky-cyan);
  color: var(--sky-cyan);
}

.cookie-banner.hidden {
  display: none;
}

.internal-hero {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 120px;
  position: relative;
  overflow: hidden;
}

.breadcrumbs {
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  color: var(--cool-teal);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.breadcrumbs a {
  color: var(--cool-teal);
  transition: color 0.35s ease;
}

.breadcrumbs a:hover {
  color: var(--sky-cyan);
}

.internal-hero h1 {
  display: flex;
  align-items: center;
  gap: 20px;
}

.internal-hero h1 svg {
  width: 64px;
  height: 64px;
  stroke: var(--sky-cyan);
  stroke-width: 3;
  fill: none;
  transition: transform 0.35s ease;
}

.internal-hero h1:hover svg {
  transform: rotate(15deg) scale(1.1);
}

.teal-capsules {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.teal-capsule {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--sky-cyan);
  border-radius: 6px;
  opacity: 0.6;
  animation: pulseCapsule 2.8s ease-in-out infinite;
}

.teal-capsule:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.teal-capsule:nth-child(2) { top: 40%; left: 25%; animation-delay: 0.2s; }
.teal-capsule:nth-child(3) { top: 60%; left: 15%; animation-delay: 0.4s; }
.teal-capsule:nth-child(4) { top: 30%; left: 80%; animation-delay: 0.6s; }
.teal-capsule:nth-child(5) { top: 70%; left: 85%; animation-delay: 0.8s; }
.teal-capsule:nth-child(6) { top: 15%; left: 60%; animation-delay: 1s; }
.teal-capsule:nth-child(7) { top: 80%; left: 45%; animation-delay: 1.2s; }
.teal-capsule:nth-child(8) { top: 50%; left: 90%; animation-delay: 1.4s; }
.teal-capsule:nth-child(9) { top: 25%; left: 40%; animation-delay: 1.6s; }
.teal-capsule:nth-child(10) { top: 85%; left: 70%; animation-delay: 1.8s; }

@keyframes pulseCapsule {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}

.map-container {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  border: 3px solid var(--cool-teal);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

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

.gallery-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 165, 233, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.gallery-item:hover::after {
  opacity: 1;
}

.thank-you-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 40px;
}

.thank-you-section h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--cool-teal);
  margin-bottom: 24px;
}

.thank-you-section p {
  max-width: 600px;
  font-size: 20px;
  margin-bottom: 48px;
}

.reveal-fade {
  opacity: 0;
  transition: opacity 0.85s ease-out;
}

.reveal-fade.visible {
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(88px);
  transition: all 0.95s ease-out;
}

.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.82);
  transition: all 0.95s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.custom-scrollbar {
  width: 12px;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 12px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: var(--frost-blue);
  border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--sky-cyan), var(--cool-teal));
  border-radius: 6px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  opacity: 0.9;
}

@media (max-width: 1200px) {
  .hero-grid {
    gap: 48px;
  }
  
  .hero-bento {
    margin-left: -40px;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .sidebar-navigation {
    display: none;
  }
  
  .mobile-menu-trigger {
    display: flex;
  }
  
  .main-content {
    margin-left: 0;
  }
  
  .footer {
    margin-left: 0;
  }
  
  .hero-section {
    padding: 60px 40px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-bento {
    grid-column: span 1;
    margin-left: 0;
    order: 2;
  }
  
  .hero-content {
    grid-column: span 1;
    padding-left: 0;
    order: 1;
  }
  
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .about-card:nth-child(1),
  .about-card:nth-child(2),
  .about-card:nth-child(3),
  .about-card:nth-child(4) {
    height: 300px;
    margin-top: 0;
  }
  
  .contact-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .contact-left {
    position: relative;
    height: auto;
    padding: 60px 40px;
    border-right: none;
    border-bottom: 5px solid rgba(14, 165, 233, 0.45);
    box-shadow: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
  
  .section {
    padding: 80px 24px;
  }
  
  .hero-section {
    padding: 40px 24px;
    min-height: auto;
  }
  
  .hero-bento {
    grid-template-columns: 1fr;
  }
  
  .bento-photo {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .bento-photo img {
    height: 280px;
  }
  
  .bento-icons {
    grid-column: span 1;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .advantage-item:hover {
    flex-grow: 1;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .process-nodes {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .node-central {
    display: none;
  }
  
  .process-node {
    margin: 0;
  }
  
  .footer {
    padding: 60px 24px 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  
  .internal-hero {
    padding: 40px 24px;
    min-height: 300px;
  }
  
  .faq-timeline {
    padding-left: 40px;
  }
  
  .faq-timeline::before {
    left: 10px;
  }
  
  .faq-item {
    width: 100%;
    margin-left: 0;
  }
  
  .faq-item::before {
    left: -42px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 350px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  
  .bento-tech {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
  }
  
  .mobile-menu-trigger {
    width: 64px;
    height: 64px;
    bottom: 24px;
    left: 24px;
  }
  
  .contact-left,
  .contact-right {
    padding: 40px 24px;
  }
}
