@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;500;600;700&family=Open+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --primary-color: #2c3e50;
  --secondary-color: #34495e;
  --accent-color: #f39c12;
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --bg-tertiary: #1e1e1e;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-muted: #888888;
  --border-color: rgba(255, 255, 255, 0.1);
  --glass-bg: rgba(42, 42, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), #e67e22);
  --gradient-glass: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 73, 94, 0.6));
  
  /* Typography */
  --font-heading: 'Roboto Slab', serif;
  --font-body: 'Open Sans', sans-serif;
  
  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 5rem 0;
  --grid-gap: 2rem;
  
  /* Shadows */
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 16px 64px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 8px 32px rgba(243, 156, 18, 0.3);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: #e67e22;
}

/* Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.section-title {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background: var(--glass-bg);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  margin-right: 2rem;
}

.nav-brand .brand-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(243, 156, 18, 0.4));
  transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-icon {
  filter: drop-shadow(0 3px 10px rgba(243, 156, 18, 0.6));
  transform: rotate(5deg) scale(1.05);
}

.brand-logo-text {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}

/* Footer logo */
.footer-logo {
  font-family: var(--font-heading);
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(243, 156, 18, 0.3));
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: var(--transition-smooth);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--accent-color);
  background: rgba(243, 156, 18, 0.08);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-smooth);
}

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

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

.nav-phone {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(44, 62, 80, 0.2) 0%, transparent 50%),
              var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--glass-bg);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--font-heading);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-visual {
  position: relative;
  height: 500px;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-shape {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-glass);
  border-radius: 2rem;
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  animation: float 6s ease-in-out infinite;
}

.hero-shape::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 20%;
  width: 60%;
  height: 60%;
  background: var(--gradient-accent);
  border-radius: 1rem;
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}

/* Services Section */
.services {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grid-gap);
  margin-bottom: 4rem;
}

.service-card {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.service-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

.service-description {
  margin-bottom: 1.5rem;
}

.service-link {
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Advantages */
.advantages {
  background: var(--bg-tertiary);
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
}

.advantages-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.advantage-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 0.5rem;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.advantage-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

/* About Section */
.about {
  padding: var(--section-padding);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  gap: 2rem;
}

.feature-item {
  padding: 1.5rem;
  background: var(--glass-bg);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.feature-title {
  color: var(--accent-color);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-circle {
  width: 150px;
  height: 150px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.stat-text {
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0.9;
}

/* Testimonials Section */
.testimonials {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.testimonial-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.25rem;
}

.author-name {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FAQ Section */
.faq {
  padding: var(--section-padding);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  background: rgba(243, 156, 18, 0.1);
}

.faq-question svg {
  transition: var(--transition-smooth);
  color: var(--accent-color);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  margin-bottom: 0;
}

/* CTA Section */
.cta {
  padding: var(--section-padding);
  background: var(--bg-tertiary);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.cta-title {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-benefits {
  list-style: none;
}

.cta-benefits li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.cta-benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Forms */
.cta-form, .modal-form {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.2);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-muted);
}

.form-submit {
  width: 100%;
  margin-bottom: 1rem;
}

.form-privacy {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 0;
}

/* Contact Section */
.contact {
  padding: var(--section-padding);
  background: var(--bg-secondary);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.contact-details a {
  color: var(--accent-color);
  font-weight: 600;
}

.contact-details p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

.contact-map {
  background: var(--glass-bg);
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.map-placeholder svg {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.map-placeholder p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-slogan {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.footer-column a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: var(--bg-secondary);
  border-radius: 1rem;
  border: 1px solid var(--accent-color);
  padding: 2.5rem;
  width: 90%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(243, 156, 18, 0.1);
  animation: modalSlideIn 0.35s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.5rem;
  transition: var(--transition-smooth);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
}

.modal-header {
  margin-bottom: 2rem;
  text-align: center;
}

.modal-header h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.modal-header p {
  color: var(--text-secondary);
  margin-bottom: 0;
  font-size: 1rem;
}

.modal-form .form-group {
  margin-bottom: 1.25rem;
}

.modal-form .form-input,
.modal-form .form-textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.modal-form .form-input:focus,
.modal-form .form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.modal-form .form-input::placeholder,
.modal-form .form-textarea::placeholder {
  color: var(--text-muted);
}

.modal-form .btn-primary,
.modal-form .btn-large {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

/* Calculator */
.calculator {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  margin-top: 2rem;
}

.calculator-title {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 2rem;
}

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

.calculator-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.calculator-select {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-primary);
  font-family: inherit;
}

.calculator-result {
  text-align: center;
  padding: 2rem;
  background: rgba(243, 156, 18, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(243, 156, 18, 0.2);
}

.result-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.result-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Contacts page hero override - don't make it full height */
#contacts-hero.hero {
  min-height: auto;
  padding: 8rem 0 3rem;
}

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: var(--transition-smooth);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }

  /* Fix: add top padding so content is not hidden behind fixed navbar */
  body {
    padding-top: 0;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-secondary);
    padding: 0.75rem 0;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }
  
  .nav-list {
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 0.75rem;
  }

  .nav-list li {
    list-style: none;
  }

  .nav-list li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-list li:last-child a {
    border-bottom: none;
  }

  .nav-actions {
    display: none;
  }
  
  .nav-toggle {
    display: block;
  }

  /* Fix hero section overlap with fixed navbar */
  .hero {
    padding-top: 80px;
    min-height: calc(100vh - 0px);
  }

  .services-hero,
  .portfolio-hero {
    padding-top: 100px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 1.8rem;
  }

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

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

  .stat-item {
    padding: 1rem;
  }

  .stat-value {
    font-size: 1.8rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .advantages-list {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .stat-item {
    padding: 0.75rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

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

  .portfolio-filters {
    gap: 0.5rem;
  }

  .portfolio-filter {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .services-hero,
  .portfolio-hero {
    padding-top: 80px;
    padding-bottom: 2rem;
  }
}

/* Hero Content */
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Stat Cards */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(243, 156, 18, 0.4), transparent);
  transition: left 0.5s ease;
}

.stat-card:hover::before {
  left: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(243, 156, 18, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Roboto Slab', serif;
}

.stat-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-primary:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

/* Section Styling */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: #1a1a1a;
  position: relative;
}

.section-gray::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Services Hero */
.services-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 6rem 0 4rem;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
}

/* Service Features */
.service-features ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

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

/* Service Specs */
.service-specs {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin: 1.5rem 0;
  border-left: 3px solid var(--accent-color);
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.spec-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.spec-value {
  color: var(--accent-color);
  font-weight: 600;
}

/* Service CTA */
.service-cta {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

/* Portfolio Hero */
.portfolio-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 6rem 0;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portfolio-hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(135deg, transparent 40%, var(--bg-dark) 60%);
  z-index: 1;
}

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

.portfolio-filter {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.portfolio-filter:hover,
.portfolio-filter.active {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

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

/* Portfolio Cards */
.portfolio-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 1;
  transform: scale(1);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* Portfolio Image */
.portfolio-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* SVG placeholder for missing portfolio images */
.portfolio-image .img-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c3e50 0%, #1a1a1a 100%);
}

.portfolio-image .img-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--accent-color);
  opacity: 0.5;
}

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

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

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

/* Portfolio Zoom */
.portfolio-zoom {
  background: var(--accent-color);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.portfolio-zoom:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.4);
}

/* Portfolio Content */
.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-family: 'Roboto Slab', serif;
}

.portfolio-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.portfolio-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec {
  background: rgba(243, 156, 18, 0.2);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Contacts Grid */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Contacts Info */
.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contacts-card {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 0;
}

.contact-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-icon {
  background: linear-gradient(135deg, var(--accent-color), #e67e22);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info h3 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-family: 'Roboto Slab', serif;
}

.contact-info a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #e67e22;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0.25rem 0 0 0;
  font-size: 0.9rem;
}

/* Contacts Stats */
.contacts-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

/* Contacts Form */
.contacts-form .service-card {
  height: 100%;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Form Fields */
.form-field {
  position: relative;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.1);
  background: rgba(255, 255, 255, 0.08);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-field-full {
  grid-column: 1 / -1;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  align-items: center;
}

/* Form Note */
.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
  line-height: 1.4;
}

/* Checkbox Styling */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s ease;
}

.checkmark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  opacity: 1;
}

.checkbox-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.checkbox-text a {
  color: var(--accent-color);
  text-decoration: none;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* Calculator Specific */
.services-calculator {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calculator-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calculator-field label {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
}

.calculator-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.result-display {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
  border: 1px solid var(--accent-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
}

.result-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-label {
  color: rgba(255, 255, 255, 0.8);
}

.result-value {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Pricing Components */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.pricing-category {
  background: var(--card-bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.pricing-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: var(--accent-color);
}

.pricing-title {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-family: 'Roboto Slab', serif;
  text-align: center;
}

.pricing-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-service {
  color: rgba(255, 255, 255, 0.8);
  flex: 1;
}

.pricing-price {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.pricing-notes {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-cta {
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
}

/* CTA Sections */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
}

.cta-text {
  position: relative;
  z-index: 1;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.cta-feature {
  text-align: center;
}

.cta-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.cta-feature:hover .cta-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.cta-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* Map Components */
.map-container {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 400px;
  position: relative;
}

.map-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
}

.map-icon {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.map-icon:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.05);
}

/* Directions */
.directions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.direction-item {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.direction-item:hover {
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.direction-info {
  padding: 1.5rem;
}

.direction-info h4 {
  color: white;
  margin: 0 0 0.5rem 0;
  font-family: 'Roboto Slab', serif;
}

.direction-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

/* FAQ Icon */
.faq-icon {
  color: var(--accent-color);
  margin-right: 1rem;
  flex-shrink: 0;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand h3 {
  color: white;
  font-family: 'Roboto Slab', serif;
  margin: 0;
}

/* Navigation CTA */
.nav-cta {
  margin-left: auto;
}

.nav-item {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-item:hover {
  color: var(--accent-color);
}

/* Testimonial Rating */
.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-rating svg {
  fill: var(--accent-color);
  color: var(--accent-color);
}

/* Contacts Actions */
.contacts-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contacts-cta {
  flex: 1;
}

/* Contacts Directions */
.contacts-directions {
  margin-top: 2rem;
}

.contacts-map {
  margin-top: 2rem;
}

/* Responsive Design - Portfolio/Contacts Pages */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contacts-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn {
    padding: 0.875rem 1.5rem;
  }
  
  .pricing-table {
    grid-template-columns: 1fr;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .cta-form-container {
    margin-top: 1rem;
  }
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes slideUp {
  from { 
    opacity: 0; 
    transform: translateY(30px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.portfolio-card,
.service-card,
.stat-card {
  animation: slideUp 0.6s ease forwards;
}

.portfolio-card:nth-child(even) {
  animation-delay: 0.2s;
}

.portfolio-card:nth-child(3n) {
  animation-delay: 0.4s;
}

/* ===== ENHANCED: Calculator Styling ===== */
.services-calculator {
  background: var(--bg-secondary);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calculator-field label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.calculator-field select,
.calculator-field input[type="number"],
.calculator-field input[type="text"] {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.calculator-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f39c12' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.calculator-field select:focus,
.calculator-field input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

.calculator-field select option {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0.5rem;
}

.calculator-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-color);
  cursor: pointer;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.calculator-result {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.08), rgba(243, 156, 18, 0.03));
  border-radius: 12px;
  border: 1px solid rgba(243, 156, 18, 0.2);
  margin-top: 1.5rem;
}

.result-display {
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.12), rgba(243, 156, 18, 0.04));
  border: 1px solid rgba(243, 156, 18, 0.3);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 0;
}

.result-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  font-family: var(--font-heading);
  margin-bottom: 0.25rem;
}

.result-note {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 1rem 0 0;
  font-style: italic;
}

.calculator-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

/* ===== ENHANCED: Contact Form Styling ===== */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f39c12' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.contact-form select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
  background: rgba(26, 26, 26, 0.9);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

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

.contact-form .form-group {
  margin-bottom: 1.25rem;
}

.contact-form .btn {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 10px;
  margin-top: 0.5rem;
}

.contact-form .form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1rem;
}

/* Contacts form card enhanced */
.contacts-form .service-card {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.contacts-form .service-card h3 {
  color: var(--text-primary);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-family: var(--font-heading);
}

.contacts-form .service-card > p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

/* ===== ENHANCED: Map Container (Yandex Maps) ===== */
.map-container {
  background: var(--bg-secondary);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 450px;
  position: relative;
}

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

/* CTA form on index.html enhanced */
.cta-form {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.cta-form .form-input,
.cta-form .form-textarea {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
}

.cta-form .form-submit {
  border-radius: 10px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
}