:root {
  --primary-color: #2c2c2c;
  --secondary-color: #f8f8f8;
  --accent-color: #e8e8e8;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #999999;
  --white: #ffffff;
  
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 16px 60px rgba(0, 0, 0, 0.15);
}

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

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

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0;
  line-height: 1.6;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.brand-title {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: var(--transition);
  position: relative;
}

.nav-menu a:hover {
  color: var(--text-secondary);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--white) 0%, var(--secondary-color) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 0.9;
  margin-bottom: 16px;
}

.title-primary {
  color: var(--text-primary);
  display: block;
}

.title-secondary {
  color: var(--text-secondary);
  display: block;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-heavy);
}

.image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  z-index: -1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-full {
  width: 100%;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Services */
.services {
  background: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  margin-bottom: 80px;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 32px;
  }
  
  .service-card:nth-child(1) {
    grid-row: 1 / 3;
  }
  
  .service-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }
  
  .service-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }
  
  .service-card:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
  }
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.service-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
}

.service-card.consultation {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3a3a3a 100%);
  color: var(--white);
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  gap: 16px;
}

.service-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}

.service-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
}

.consultation .service-price {
  color: var(--white);
}

.service-content {
  flex: 1;
  margin-bottom: 24px;
}

.service-footer {
  margin-top: auto;
}

.service-features h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 10px 0;
  color: var(--text-primary);
}

.consultation .service-features h4 {
  color: var(--white);
}

.service-features ul {
  list-style: none;
  margin-bottom: 20px;
}

.service-features li {
  padding: 6px 0;
  position: relative;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.consultation .service-features li {
  color: rgba(255, 255, 255, 0.9);
}

.service-features li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.consultation .service-features li::before {
  color: var(--white);
}

.service-delivery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--accent-color);
}

.delivery-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.delivery-item p {
  font-size: 14px;
  color: var(--text-secondary);
}

.consultation-description {
  font-size: 15px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.consultation-duration {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Additional Services */
.additional-services {
  margin-top: 80px;
  padding-top: 80px;
  border-top: 1px solid var(--accent-color);
}

.additional-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

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

.additional-item {
  background: var(--white);
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.additional-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.additional-item h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.additional-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.additional-price {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

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

.portfolio-item {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-heavy);
}

.portfolio-image {
  height: 280px;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.portfolio-content {
  padding: 32px;
}

.portfolio-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.portfolio-content p {
  color: var(--text-secondary);
  font-size: 16px;
}

/* Contact */
.contact {
  background: var(--secondary-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-description {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 48px;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.contact-method:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.method-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: var(--transition);
}

.method-icon svg {
  width: 32px;
  height: 32px;
}

.method-icon.telegram-color {
  background: #0088cc;
  color: white;
}

.method-icon.instagram-color {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.method-icon.whatsapp-color {
  background: #25d366;
  color: white;
}

.method-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.method-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

/* Form */
.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid var(--accent-color);
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-primary);
  transition: var(--transition);
  background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(44, 44, 44, 0.1);
}

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

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 60px 0 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand .brand-name {
  color: var(--white);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .nav {
    padding: 16px;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-medium);
    gap: 16px;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    padding: 100px 0 60px;
    text-align: center;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image img {
    max-width: 320px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .service-card.featured {
    transform: none;
  }
  
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .service-delivery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .additional-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-form {
    padding: 32px 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .footer-links {
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero-description {
    font-size: 18px;
  }
  
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .service-card {
    padding: 24px;
  }
  
  .additional-item {
    padding: 24px;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  .footer {
    padding: 40px 0 16px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-text > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text > *:nth-child(2) {
  animation-delay: 0.1s;
}

.hero-text > *:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-text > *:nth-child(4) {
  animation-delay: 0.3s;
}

.hero-image {
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

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

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

::-webkit-scrollbar-thumb {
  background: var(--text-light);
  border-radius: 4px;
}

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

/* Floating Social Buttons */
.floating-social {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  display: none;
}

.floating-social-toggle {
  width: 56px;
  height: 56px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-heavy);
  transition: var(--transition);
  position: relative;
  z-index: 1001;
}

.floating-social-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.3);
}

.floating-social-toggle.active {
  transform: rotate(45deg);
  background: var(--text-secondary);
}

.toggle-icon {
  width: 24px;
  height: 24px;
  color: white;
  transition: var(--transition);
}

.floating-social-menu {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.floating-social-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 28px;
  text-decoration: none;
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  white-space: nowrap;
  min-width: 140px;
  transform: scale(0.8);
  opacity: 0;
}

.floating-social-menu.active .floating-btn {
  transform: scale(1);
  opacity: 1;
}

.floating-social-menu.active .floating-btn:nth-child(1) {
  transition-delay: 0.1s;
}

.floating-social-menu.active .floating-btn:nth-child(2) {
  transition-delay: 0.15s;
}

.floating-social-menu.active .floating-btn:nth-child(3) {
  transition-delay: 0.2s;
}

.floating-btn:hover {
  transform: translateX(-8px) scale(1.05);
  box-shadow: var(--shadow-heavy);
}

.floating-btn .icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.floating-btn .icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.floating-btn .label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.floating-btn.instagram .icon {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.floating-btn.telegram .icon {
  background: #0088cc;
}

.floating-btn.whatsapp .icon {
  background: #25d366;
}

.floating-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.floating-btn.instagram:hover .label {
  color: var(--white);
}

.floating-btn.telegram:hover {
  background: #0088cc;
}

.floating-btn.telegram:hover .label {
  color: var(--white);
}

.floating-btn.whatsapp:hover {
  background: #25d366;
}

.floating-btn.whatsapp:hover .label {
  color: var(--white);
}

/* Show floating buttons only on mobile */
@media (max-width: 768px) {
  .floating-social {
    display: block;
  }
}

@media (max-width: 480px) {
  .floating-social {
    bottom: 20px;
    right: 20px;
  }
  
  .floating-social-toggle {
    width: 52px;
    height: 52px;
  }
  
  .toggle-icon {
    width: 22px;
    height: 22px;
  }
  
  .floating-btn {
    min-width: 120px;
    padding: 10px 14px;
  }
  
  .floating-btn .icon {
    width: 28px;
    height: 28px;
  }
  
  .floating-btn .icon svg {
    width: 16px;
    height: 16px;
  }
  
  .floating-btn .label {
    font-size: 13px;
  }
}