/* ==========================================
   Northern Solutions - Main Stylesheet
   ========================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal: #6b7280;
  --teal-dark: #4b5563;
  --teal-light: #9ca3af;
  --dark: #1a2330;
  --dark-gray: #2c3e50;
  --mid-gray: #5a6a7a;
  --light-gray: #f5f7fa;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e0e6ed;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 0px;
  --radius-lg: 0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,114,128,0.4);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn-dark:hover {
  background: var(--dark-gray);
  border-color: var(--dark-gray);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}
.btn-link::after {
  content: '›';
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.btn-link:hover {
  color: var(--teal-dark);
}
.btn-link:hover::after {
  transform: translateX(3px);
}

/* ==========================================
   COOKIE BANNER
   ========================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e2d3d;
  color: var(--white);
  z-index: 9999;
  padding: 20px 24px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-content h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-right: 8px;
  white-space: nowrap;
}

.cookie-content p {
  font-size: 0.9rem;
  opacity: 0.85;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.btn-cookie-manage {
  background: transparent;
  color: #aac4d4;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: color var(--transition);
}
.btn-cookie-manage:hover { color: var(--white); }

.btn-cookie-deny {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 20px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.btn-cookie-deny:hover { border-color: var(--white); }

.btn-cookie-accept {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 10px 24px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-cookie-accept:hover { background: var(--teal-dark); }

/* ==========================================
   HEADER / NAVIGATION
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: all var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.99);
  box-shadow: 0 2px 30px rgba(0,0,0,0.12);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1;
}

.logo-dot {
  color: var(--teal);
  font-weight: 700;
}

/* Desktop Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  border-radius: 0;
  transition: all var(--transition);
  white-space: nowrap;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
  color: var(--teal);
  background: rgba(107,114,128,0.08);
}

.main-nav ul li .arrow {
  font-size: 0.75rem;
  vertical-align: middle;
  margin-left: 2px;
  display: inline-block;
  transition: transform 0.2s ease;
}

.lang-switch a {
  color: var(--teal) !important;
  font-weight: 700 !important;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  border-radius: var(--radius);
  min-width: 220px;
  z-index: 200;
  padding: 8px 0;
  border-top: 3px solid var(--teal);
  /* Invisible bridge above the dropdown covers the hover gap */
}
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 12px;
  display: none;
}
.has-dropdown:hover::after {
  display: block;
}

.has-dropdown:hover .dropdown {
  display: block;
  animation: fadeDown 0.2s ease;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown li a {
  padding: 10px 20px !important;
  font-size: 0.85rem !important;
  border-radius: 0 !important;
}

.nav-close {
  display: none;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 0;
  transition: all var(--transition);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 580px;
  max-height: 900px;
  overflow: hidden;
  margin-top: 75px;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 30, 50, 0.72) 0%,
    rgba(15, 55, 70, 0.55) 50%,
    rgba(20, 80, 80, 0.35) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 10% 0 8%;
  color: var(--white);
  z-index: 2;
}

.hero-pre {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.9;
  animation: fadeInUp 0.8s ease both;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.3s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.slider-dots .dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ==========================================
   INTRO SECTION
   ========================================== */
.intro-section {
  padding: 80px 0;
  background: var(--white);
  text-align: center;
}

.intro-text {
  max-width: 780px;
  margin: 0 auto;
}

.intro-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.intro-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 16px;
}

.intro-text p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ==========================================
   REFERENCES PREVIEW
   ========================================== */
.references-preview {
  padding: 0 0 80px;
  background: var(--white);
}

.ref-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.ref-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.ref-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ref-item:hover img {
  transform: scale(1.06);
}

.ref-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.ref-item:hover .ref-overlay {
  opacity: 1;
}

.ref-overlay span {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.ref-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-section {
  position: relative;
  padding: 100px 0;
  background: var(--light-gray);
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  top: 0;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(ellipse at center, rgba(107,114,128,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.service-card {
  background: transparent;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: none;
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  border-bottom-color: var(--teal);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.services-cta {
  text-align: center;
}

/* ==========================================
   TESTIMONIAL SECTION
   ========================================== */
.testimonial-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.testimonial-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.testimonial-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,40,60,0.88) 0%, rgba(25,80,80,0.78) 100%);
}

.testimonial-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-image-wrap {
  flex-shrink: 0;
}

.client-avatar {
  position: relative;
  width: 130px;
  height: 130px;
}

.client-avatar svg {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

.client-name-badge {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.testimonial-content {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.quote-mark {
  font-size: 6rem;
  line-height: 0.5;
  color: var(--teal-light);
  opacity: 0.5;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 1.25rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
}

.testimonial-text em {
  font-style: italic;
  opacity: 0.85;
  font-size: 1rem;
  display: block;
  margin-top: 8px;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonial-slider-dots {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonial-slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}

.testimonial-slider-dots .dot.active {
  background: var(--teal-light);
  transform: scale(1.3);
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
  padding: 100px 0;
  background: var(--white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 56px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--teal);
  margin: 16px auto 0;
  border-radius: 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.blog-card-img-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.06);
}

.blog-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  text-align: center;
  min-width: 50px;
  line-height: 1;
}

.blog-date-badge .day {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
}

.blog-date-badge .month {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
  opacity: 0.9;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body a {
  display: block;
  margin-bottom: 10px;
}

.blog-card-body h5 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  transition: color var(--transition);
}

.blog-card-body a:hover h5 {
  color: var(--teal);
}

.blog-card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   BOTTOM CTA SECTION
   ========================================== */
.bottom-cta-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.bottom-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.bottom-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,50,70,0.85) 0%, rgba(30,100,100,0.75) 100%);
}

.bottom-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  color: var(--white);
}

.nerot-badge {
  flex-shrink: 0;
  width: 180px;
}

.nerot-badge img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.bottom-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.bottom-text p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 28px;
  max-width: 500px;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: #0f1e2e;
  color: rgba(255,255,255,0.8);
}

.footer-top {
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--teal-light);
}

.footer-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.5) !important;
  margin-top: 12px !important;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.social-icon:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--teal);
  font-size: 1rem;
}

/* Footer Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.btn-submit {
  align-self: flex-start;
  padding: 12px 28px;
  font-size: 0.85rem;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: underline;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--teal-light);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .services-grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial-inner {
    gap: 36px;
  }

  .bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 36px;
  }

  .bottom-text p {
    margin: 0 auto 28px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  .nav-close {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    padding: 8px;
    position: absolute;
    top: 16px;
    right: 16px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    z-index: 2000;
    padding: 70px 24px 32px;
    transition: right var(--transition);
    overflow-y: auto;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .main-nav ul li {
    width: 100%;
  }

  .main-nav ul li a {
    display: block;
    padding: 12px 8px;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .has-dropdown::after {
    display: none !important;
  }

  .has-dropdown .dropdown {
    display: none;
    position: static;
    box-shadow: none;
    border-top: none;
    padding: 0;
    min-width: auto;
    background: var(--light-gray);
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.open .dropdown {
    display: block;
    max-height: 400px;
    margin: 4px 0;
  }

  .has-dropdown.open > a .arrow {
    transform: rotate(90deg);
  }

  .dropdown li a {
    padding: 10px 20px !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .ref-gallery {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-content {
    padding: 0 6% 0 6%;
    align-items: center;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .cookie-content {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }

  .hero-section {
    margin-top: 60px;
  }

  .intro-section,
  .services-section,
  .testimonial-section,
  .blog-section,
  .bottom-cta-section {
    padding: 60px 0;
  }

  .footer-top {
    padding: 48px 0;
  }
}
