/* ========================================
   RUSHITI — Component Styles
   ======================================== */

/* ──── NAVBAR ──── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.98);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-secondary);
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.nav-logo-icon svg {
  width: 24px;
  height: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(37,99,235,0.06);
}

/* Services dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--color-border-light);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: rgba(37,99,235,0.06);
  color: var(--color-primary);
}

.nav-dropdown-menu a svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.nav-cta {
  margin-left: var(--space-4);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-secondary);
  transition: all var(--transition-base);
  border-radius: 2px;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navbar Overlay Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* ──── HERO ──── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,58,138,0.75) 50%, rgba(37,99,235,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-20) 0;
}

.hero h1 {
  color: var(--color-text-white);
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
  animation: fadeInUp 0.8s ease;
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
  max-width: 560px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-12);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-text-white);
  display: block;
}

.hero-stat-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
}

/* Service page hero (shorter) */
.hero-service {
  min-height: 60vh;
}

.hero-service h1 {
  font-size: var(--text-5xl);
}

/* ──── FOOTER ──── */
.footer {
  background: var(--color-bg-dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  line-height: 1.8;
}


.footer h4 {
  color: var(--color-text-white);
  font-size: var(--text-base);
  margin-bottom: var(--space-5);
}

.footer-links a {
  display: block;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: all var(--transition-base);
}

.footer-links a:hover {
  color: var(--color-primary-light);
  padding-left: var(--space-2);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-6) 0;
  margin-top: var(--space-16);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-sm);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-base);
}

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

/* ──── SERVICE CARDS ──── */
.service-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  border: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

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

.service-card-img {
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.08);
}

.service-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.service-card p {
  font-size: var(--text-sm);
  flex: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-primary);
  margin-top: var(--space-4);
  transition: gap var(--transition-base);
}

.service-card-link:hover {
  gap: var(--space-3);
}

.service-card-link svg {
  width: 16px;
  height: 16px;
}

/* ──── REVIEW CARDS ──── */
.review-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
}

.review-stars svg {
  width: 18px;
  height: 18px;
  color: var(--color-star);
  fill: var(--color-star);
}

.review-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: var(--text-sm);
}

.review-author-info h4 {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0;
}

.review-author-info span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.review-quote {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 32px;
  height: 32px;
  color: rgba(37,99,235,0.12);
}

/* Google review style */
.google-review-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-8);
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-light);
  margin-bottom: var(--space-8);
}

.google-logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-primary);
}

.google-rating-number {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1;
}

.google-rating-info {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ──── FAQ ACCORDION ──── */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  background: transparent;
  transition: all var(--transition-base);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
  background: rgba(37,99,235,0.04);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: rgba(37,99,235,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

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

.faq-item.active .faq-icon svg {
  color: white;
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

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

.faq-answer-inner {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-light);
  font-size: var(--text-sm);
  line-height: 1.8;
}

/* ──── CONTACT FORM ──── */
.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--color-text);
  background: var(--color-bg);
  transition: all var(--transition-base);
  outline: none;
}

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

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

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

/* ──── WHATSAPP WIDGET ──── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  position: relative;
  z-index: 2;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

.whatsapp-pulse {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--color-whatsapp);
  animation: pulse-ring 2s infinite;
  z-index: 1;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* WhatsApp Chat Popup */
.whatsapp-chat {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 380px;
  max-height: 520px;
  background: var(--color-bg);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  z-index: 9998;
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  transform-origin: bottom right;
}

.whatsapp-chat.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  visibility: visible;
}

.whatsapp-chat-header {
  background: linear-gradient(135deg, #128C7E, #075E54);
  color: white;
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.whatsapp-chat-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-chat-avatar svg {
  width: 24px;
  height: 24px;
}

.whatsapp-chat-name {
  font-weight: 700;
  font-size: var(--text-base);
}

.whatsapp-chat-status {
  font-size: var(--text-xs);
  opacity: 0.8;
}

.whatsapp-chat-close {
  margin-left: auto;
  color: white;
  cursor: pointer;
  padding: var(--space-1);
}

.whatsapp-chat-close svg {
  width: 20px;
  height: 20px;
}

.whatsapp-chat-body {
  padding: var(--space-6);
  background: #ECE5DD;
  min-height: 200px;
}

.whatsapp-message {
  background: white;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border-top-left-radius: 0;
  max-width: 85%;
  font-size: var(--text-sm);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.whatsapp-message-time {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-align: right;
  margin-top: var(--space-1);
}

.whatsapp-quick-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.whatsapp-quick-btn {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: white;
  border: 1.5px solid var(--color-whatsapp);
  border-radius: var(--radius-full);
  color: var(--color-whatsapp);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-align: center;
}

.whatsapp-quick-btn:hover {
  background: var(--color-whatsapp);
  color: white;
}

/* ──── HOW IT WORKS ──── */
.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 0;
}

.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  margin: 0 auto var(--space-6);
  box-shadow: var(--shadow-blue);
}

.step-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-3);
}

.step-card p {
  font-size: var(--text-sm);
}

/* ──── WHY CHOOSE US ──── */
.feature-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(30,58,138,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.feature-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* ──── ABOUT SECTION (Homepage) ──── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--color-primary);
  color: white;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-xl);
}

.about-image-badge span {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
}

.about-image-badge small {
  font-size: var(--text-xs);
  opacity: 0.9;
}

/* ──── CHECKLIST STYLE ──── */
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin: var(--space-6) 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

.checklist-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-success);
  flex-shrink: 0;
}

/* ──── SERVICE PAGE CONTENT ──── */
.service-content-section {
  padding: var(--space-20) 0;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.service-content-grid.reverse {
  direction: rtl;
}

.service-content-grid.reverse > * {
  direction: ltr;
}

.service-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Advantages list */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.advantage-card {
  text-align: center;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-light);
  transition: all var(--transition-base);
}

.advantage-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.advantage-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.advantage-card h3 {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.advantage-card p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* What we clean list */
.clean-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

.clean-list-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: all var(--transition-base);
}

.clean-list-item:hover {
  background: rgba(37,99,235,0.06);
  transform: translateX(4px);
}

.clean-list-item svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* ──── CTA SECTION ──── */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  padding: var(--space-20) 0;
  text-align: center;
}

.cta-section h2 {
  color: white;
  margin-bottom: var(--space-4);
}

.cta-section p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto var(--space-8);
}

/* ──── LEGAL PAGES ──── */
.legal-content {
  padding: calc(var(--nav-height) + var(--space-16)) 0 var(--space-16);
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h1 {
  margin-bottom: var(--space-8);
}

.legal-content h2 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.legal-content p,
.legal-content li {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.9;
}

.legal-content ul {
  list-style: disc;
  padding-left: var(--space-6);
  margin-bottom: var(--space-6);
}

.legal-content li {
  margin-bottom: var(--space-2);
}

/* ──── RESPONSIVE OVERRIDES ──── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
  .steps-container::before { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .service-content-grid { grid-template-columns: 1fr; }
  .service-content-grid.reverse { direction: ltr; }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ──── SERVICE PAGE LAYOUT ──── */
.service-page-wrapper {
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
}

.service-page-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-12);
  align-items: start;
}

.service-main-content .section {
  padding: 0;
  margin-bottom: var(--space-16);
}

.service-main-content .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

/* ──── SIDEBAR ──── */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-8));
}

.sidebar-widget {
  background: var(--color-secondary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: white;
}

.sidebar-widget h3 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  letter-spacing: 1px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all var(--transition-base);
}

.sidebar-links li:last-child a {
  border-bottom: none;
}

.sidebar-links li a:hover {
  color: white;
  padding-left: var(--space-2);
}

.sidebar-links li a svg {
  opacity: 0.5;
  transition: transform var(--transition-base);
}

.sidebar-links li a:hover svg {
  opacity: 1;
  transform: translateX(4px);
}

.sidebar-cta {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  color: white;
  text-align: center;
}

.sidebar-cta h2, .sidebar-cta h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-4);
  color: white;
}

.sidebar-cta p {
  margin-bottom: var(--space-6);
  opacity: 0.9;
  font-size: var(--text-sm);
}

/* ──── PROFESSIONAL WHATSAPP CHAT ──── */
.whatsapp-chat {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 360px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.whatsapp-chat.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.whatsapp-chat-header {
  background: #075E54;
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-chat-avatar {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #075E54;
  position: relative;
}

.whatsapp-chat-avatar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #4AD964;
  border: 2px solid white;
  border-radius: 50%;
}

.whatsapp-chat-name {
  font-weight: 600;
  font-size: 16px;
}

.whatsapp-chat-status {
  font-size: 13px;
  opacity: 0.8;
}

.whatsapp-chat-close {
  margin-left: auto;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.whatsapp-chat-close:hover { opacity: 1; }

.whatsapp-chat-body {
  padding: 20px;
  background: #E5DDD5;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  max-height: 400px;
  overflow-y: auto;
}

.whatsapp-message {
  background: white;
  padding: 12px 15px;
  border-radius: 0 15px 15px 15px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  max-width: 90%;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: relative;
}

.whatsapp-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10px;
  border: 10px solid transparent;
  border-top-color: white;
  border-right-color: white;
}

.whatsapp-message-time {
  display: block;
  font-size: 11px;
  color: #999;
  margin-top: 5px;
  text-align: right;
}

.whatsapp-quick-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.whatsapp-quick-btn {
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 13px;
  color: #075E54;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whatsapp-quick-btn:hover {
  background: white;
  border-color: #075E54;
  transform: translateX(5px);
}

.whatsapp-quick-btn::after {
  content: '→';
  opacity: 0.5;
}


@media (max-width: 768px) {
  .nav-links { 
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: calc(var(--nav-height) + var(--space-10)) var(--space-4) var(--space-8);
    gap: var(--space-1);
    z-index: 1001;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: var(--text-base);
    padding: var(--space-4);
    width: 100%;
    border-radius: var(--radius-lg);
    color: var(--color-secondary) !important;
    display: block;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-link.active {
    background: rgba(37,99,235,0.08);
    color: var(--color-primary) !important;
  }

  .nav-toggle { 
    display: flex; 
    z-index: 1002;
  }
  
  .nav-cta { 
    margin-left: 0; 
    width: 100%; 
    margin-top: var(--space-4);
    padding: 0 var(--space-4);
  }
  
  .nav-cta .btn { 
    width: 100%; 
    justify-content: center; 
    padding: var(--space-4);
  }

  .nav-dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    padding: 0;
    margin: 0;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    display: block;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px;
    margin-top: var(--space-2);
    margin-bottom: var(--space-4);
  }

  .nav-dropdown-menu a {
    padding: var(--space-3) var(--space-8);
    background: rgba(37,99,235,0.03);
    margin-bottom: 2px;
  }

  .nav-dropdown .nav-link svg {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.open > .nav-link svg {
    transform: rotate(180deg);
  }

  .hero h1 { font-size: var(--text-3xl); }
  .hero-stats { flex-direction: column; gap: var(--space-6); }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-4); text-align: center; }

  .steps-container { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .clean-list { grid-template-columns: 1fr; }

  .whatsapp-chat {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 90px;
  }

  .hero-service h1 { font-size: var(--text-3xl); }
  .hero-service { min-height: 50vh; }

  /* Sidebar Stack */
  .service-page-layout {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .service-sidebar {
    position: static;
    order: 2;
  }
}
