/*
Theme Name: Universal Modern Theme
Theme URI: https://example.com
Author: Universal Theme
Author URI: https://example.com
Description: Універсальна WordPress тема з адмін-панеллю, Claude AI, SEO, Schema.org (reviews, FAQ, services), 10 кольорових схем, robots meta
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: universal-theme
*/

/* === CSS VARIABLES === */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #10b981;
  --accent: #f59e0b;
  --text: #1f2937;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --border: #e5e7eb;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --header-height: 80px;
}

[data-theme="dark"] {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --secondary: #34d399;
  --accent: #fbbf24;
  --text: #f9fafb;
  --text-light: #d1d5db;
  --bg: #111827;
  --bg-alt: #1f2937;
  --border: #374151;
  --shadow: rgba(0, 0, 0, 0.3);
  --shadow-lg: rgba(0, 0, 0, 0.4);
}

/* === 10 COLOR SCHEMES === */
[data-scheme="blue"] { --primary: #2563eb; --primary-dark: #1d4ed8; --secondary: #10b981; --accent: #f59e0b; }
[data-scheme="purple"] { --primary: #7c3aed; --primary-dark: #6d28d9; --secondary: #ec4899; --accent: #f97316; }
[data-scheme="green"] { --primary: #059669; --primary-dark: #047857; --secondary: #0891b2; --accent: #f59e0b; }
[data-scheme="red"] { --primary: #dc2626; --primary-dark: #b91c1c; --secondary: #f59e0b; --accent: #0891b2; }
[data-scheme="orange"] { --primary: #ea580c; --primary-dark: #c2410c; --secondary: #eab308; --accent: #06b6d4; }
[data-scheme="teal"] { --primary: #0d9488; --primary-dark: #0f766e; --secondary: #06b6d4; --accent: #8b5cf6; }
[data-scheme="indigo"] { --primary: #4f46e5; --primary-dark: #4338ca; --secondary: #ec4899; --accent: #f59e0b; }
[data-scheme="pink"] { --primary: #db2777; --primary-dark: #be185d; --secondary: #8b5cf6; --accent: #06b6d4; }
[data-scheme="cyan"] { --primary: #0891b2; --primary-dark: #0e7490; --secondary: #10b981; --accent: #f59e0b; }
[data-scheme="amber"] { --primary: #d97706; --primary-dark: #b45309; --secondary: #dc2626; --accent: #059669; }

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color var(--transition), color var(--transition);
}

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

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

a:hover {
  color: var(--primary-dark);
}

/* === SKELETON LOADING === */
.skeleton {
  background: linear-gradient(90deg, var(--bg-alt) 25%, var(--border) 50%, var(--bg-alt) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* === LAZY LOADING === */
img[data-src] {
  opacity: 0;
  transition: opacity 0.5s;
}

img.loaded {
  opacity: 1;
}

/* === CONTAINER === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s, background-color var(--transition);
  height: var(--header-height);
}

.site-header.scrolled {
  box-shadow: 0 4px 12px var(--shadow);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.site-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-nav a {
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 8px 0;
}

.main-nav a:hover {
  color: var(--primary);
}

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

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

/* Dropdown Menu */
.main-nav li {
  position: relative;
}

.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  box-shadow: 0 4px 12px var(--shadow);
  padding: 8px 0;
  flex-direction: column;
  gap: 0;
}

.main-nav li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .sub-menu a {
  padding: 12px 20px;
  display: block;
}

.main-nav .sub-menu a::after {
  display: none;
}

.main-nav .sub-menu a:hover {
  background: var(--bg-alt);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.header-phone {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  font-size: 14px;
}

.header-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
}

.header-phones .header-phone {
  line-height: 1.2;
}

.theme-toggle {
  background: var(--bg-alt);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
}

.theme-toggle:hover {
  background: var(--primary);
  color: white;
  transform: rotate(20deg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

/* === HERO SECTION === */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--text-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-size: 16px;
  text-align: center;
  justify-content: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px var(--shadow-lg);
}

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

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

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

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

/* === SECTIONS === */
.section {
  padding: 80px 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: var(--bg-alt);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-light);
  line-height: 1.7;
}

/* === SERVICES === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  box-shadow: 0 12px 24px var(--shadow-lg);
  transform: translateY(-4px);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.service-content {
  padding: 30px;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-text {
  color: var(--text-light);
  margin-bottom: 20px;
}

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

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 30px;
}

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

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

.portfolio-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

/* === TESTIMONIALS === */
.testimonials-slider {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--bg-alt);
  padding: 50px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-role {
  color: var(--text-light);
  font-size: 0.9rem;
}

.slider-dots {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  padding: 0;
}

.slider-dot.active {
  background: var(--primary);
  width: 32px;
  border-radius: 6px;
}

/* === FAQ === */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--bg);
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* === CONTACT FORM === */
.contact-section {
  background: var(--bg-alt);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

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

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

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-details p {
  color: var(--text-light);
}

.contact-form {
  background: var(--bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-label.required::after {
  content: '*';
  color: #ef4444;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
  transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-error {
  color: #ef4444;
  font-size: 0.9rem;
  margin-top: 4px;
  display: none;
}

.form-group.error .form-error {
  display: block;
}

.form-group.error .form-input,
.form-group.error .form-textarea {
  border-color: #ef4444;
}

.form-message {
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #10b981;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #ef4444;
  display: block;
}

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s;
  padding: 40px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-alt);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* === CHAT WIDGET === */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 16px var(--shadow-lg);
  transition: all var(--transition);
}

.chat-button:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 24px var(--shadow-lg);
}

.chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  height: 500px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px var(--shadow-lg);
  border: 1px solid var(--border);
  display: none;
  flex-direction: column;
  animation: slideUp 0.3s;
}

.chat-window.active {
  display: flex;
}

.chat-header {
  padding: 20px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: 1.2rem;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition);
}

.chat-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  padding: 12px 16px;
  border-radius: var(--radius);
  max-width: 80%;
  word-wrap: break-word;
}

.chat-message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
}

.chat-message.assistant {
  background: var(--bg-alt);
  color: var(--text);
  align-self: flex-start;
}

.chat-typing {
  display: none;
  align-self: flex-start;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.chat-typing.active {
  display: block;
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}

.chat-send {
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition);
}

.chat-send:hover {
  background: var(--primary-dark);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: all var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* === FOOTER === */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section a {
  color: var(--text-light);
  transition: color var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 20px;
    box-shadow: 0 8px 16px var(--shadow);
  }
  
  .main-nav.active {
    display: block;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    display: block;
    padding: 12px 0;
  }
  
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--primary);
    margin-left: 16px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .social-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 60px 20px;
  }
  
  .features-grid,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    padding: 30px 20px;
  }
  
  .chat-window {
    width: calc(100vw - 40px);
    height: 70vh;
    right: 20px;
    bottom: 80px;
  }
  
  .header-phone {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .modal-content {
    padding: 24px;
  }
  
  .contact-form {
    padding: 24px;
  }
}

/* === PRINT STYLES === */
@media print {
  .site-header,
  .chat-widget,
  .back-to-top,
  .modal {
    display: none !important;
  }
}
