/* ==========================================================================
   المورد التركي لخدمات السباكة والصيانة الصحية في الكويت
   Style Sheet - High Performance, RTL Arabic First, Clean & Modern
   ========================================================================== */

:root {
  --primary: #0066cc;
  --primary-dark: #004c99;
  --primary-light: #e6f0fa;
  --secondary: #ff6b00;
  --secondary-hover: #e65c00;
  --secondary-light: #fff3ea;
  --dark: #14213d;
  --dark-surface: #0e172a;
  --text: #2c3e50;
  --text-muted: #64748b;
  --light: #f8fafc;
  --light-card: #ffffff;
  --white: #ffffff;
  --border: #e2e8f0;
  --border-focus: #0066cc;
  --success: #10b981;
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb954;
  --phone-color: #0066cc;
  
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --container-width: 1240px;
  --header-height: 80px;
}

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

html {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--light);
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile fixed CTA bar */
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.15rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.5rem; }
}

p {
  margin-bottom: 1.25rem;
  color: var(--text);
  font-size: 1.05rem;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 4.5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-alt {
  background-color: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title-wrap {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.35rem 1.25rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255, 107, 0, 0.2);
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
  min-height: 48px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.45);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.45);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

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

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

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.95rem;
  min-height: 38px;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.2rem;
  min-height: 56px;
}

@media (max-width: 480px) {
  .btn-lg {
    width: 100%;
    padding: 1rem 1.25rem;
    font-size: 1.05rem;
    white-space: normal;
  }
}

/* Icons styling helper */
.icon {
  display: inline-block;
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
  fill: currentColor;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.top-bar {
  background-color: var(--dark-surface);
  color: #cbd5e1;
  font-size: 0.88rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #e2e8f0;
}

.top-bar-item a {
  color: #e2e8f0;
}

.top-bar-item a:hover {
  color: var(--secondary);
}

.badge-24h {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.15;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  padding: 0.5rem 0.25rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary);
  border-radius: var(--radius-pill);
  transition: width 0.25s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .btn {
  display: none;
}

@media (min-width: 992px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--dark);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 1050;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--dark);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item a {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
}

.mobile-nav-item a:hover, .mobile-nav-item a.active {
  background-color: var(--primary-light);
  color: var(--primary);
}

.mobile-drawer-cta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #071e3d 0%, #1f4287 100%);
  color: var(--white);
  padding: 4.5rem 0 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.25rem;
  color: #e2eafc;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-badge-pill {
  background-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
  }
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d7e3fc;
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-image-wrap {
  position: relative;
}

.hero-card-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.hero-floating-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background-color: var(--white);
  color: var(--dark);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  border-right: 5px solid var(--secondary);
}

.floating-badge-icon {
  font-size: 2rem;
  color: var(--secondary);
}

.floating-badge-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--dark);
}

.floating-badge-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Services Grid
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary-light);
}

.service-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0f172a;
}

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

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

.service-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(14, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.service-card-title a {
  color: var(--dark);
}

.service-card-title a:hover {
  color: var(--primary);
}

.service-card-text {
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
  line-height: 1.6;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ==========================================================================
   Why Choose Us (Features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
}

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

.feature-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.feature-card:nth-child(2) .feature-icon-box {
  background-color: var(--secondary-light);
  color: var(--secondary);
}

.feature-card:nth-child(3) .feature-icon-box {
  background-color: #ecfdf5;
  color: var(--success);
}

.feature-card:nth-child(4) .feature-icon-box {
  background-color: #fef3c7;
  color: #d97706;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Areas / Coverage Section
   ========================================================================== */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.area-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.area-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateX(-4px);
}

.area-card-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.area-card-info h3 a {
  color: var(--dark);
}

.area-card-info h3 a:hover {
  color: var(--primary);
}

.area-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.area-call-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.area-call-link:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.25s ease;
}

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: right;
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  font-size: 1.35rem;
  color: var(--primary);
  transition: transform 0.3s ease;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem 1.5rem;
}

.faq-answer p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ==========================================================================
   CTA Banner Section
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0052a3 0%, #002e5c 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  border-radius: var(--radius-lg);
  margin: 3rem auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: #e0f2fe;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */
.breadcrumb-nav {
  background-color: var(--white);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 700;
}

.breadcrumb-separator {
  color: #cbd5e1;
}

/* ==========================================================================
   Inner Page Layout (Single Service & Area Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, #0a2540 0%, #153e75 100%);
  color: var(--white);
  padding: 3.5rem 0;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-hero-lead {
  color: #e2eafc;
  font-size: 1.15rem;
  max-width: 800px;
  margin-bottom: 1.5rem;
}

.page-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 992px) {
  .page-content-grid {
    grid-template-columns: 2.4fr 1fr;
  }
}

.article-body {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .article-body {
    padding: 3rem;
  }
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.article-body h2 {
  font-size: 1.6rem;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  color: var(--dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-light);
}

.article-body h3 {
  font-size: 1.3rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 1.05rem;
}

.highlight-box {
  background-color: var(--primary-light);
  border-right: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-sm);
  margin: 1.75rem 0;
}

.highlight-box p {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Sidebar */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.sidebar-widget {
  background-color: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.sidebar-widget-title {
  font-size: 1.2rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--secondary);
}

.sidebar-contact-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: var(--white);
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
}

.sidebar-contact-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.sidebar-contact-card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sidebar-menu-list li {
  margin-bottom: 0.5rem;
}

.sidebar-menu-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  background-color: var(--light);
}

.sidebar-menu-list a:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* ==========================================================================
   Gallery Grid
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  background-color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-info {
  padding: 1rem;
}

.gallery-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.gallery-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1.35fr;
  }
}

.contact-card-info {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

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

.contact-detail h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.contact-detail p, .contact-detail a {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-form-wrap {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

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

.form-label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  font-family: var(--font-main);
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  background-color: var(--light);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background-color: var(--white);
}

/* ==========================================================================
   Sitemap Page
   ========================================================================== */
.sitemap-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sitemap-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sitemap-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.sitemap-card h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.sitemap-card ul li {
  margin-bottom: 0.75rem;
}

.sitemap-card ul li a {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sitemap-card ul li a:hover {
  color: var(--primary);
  transform: translateX(-4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark-surface);
  color: #94a3b8;
  padding-top: 4.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  display: inline-block;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(-4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-contact-btn.whatsapp-btn {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.3);
  color: #4ade80;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* ==========================================================================
   Mobile Fixed Bottom CTA Bar
   ========================================================================== */
.mobile-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: var(--white);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0.5rem 1rem;
  z-index: 999;
  border-top: 1px solid var(--border);
}

@media (min-width: 769px) {
  .mobile-bottom-cta {
    display: none;
  }
}

.mobile-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 48px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  text-decoration: none;
}

.mobile-cta-call {
  background-color: var(--primary);
  margin-left: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.mobile-cta-whatsapp {
  background-color: var(--whatsapp);
  margin-right: 0.5rem;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: var(--shadow-md);
}

@media (min-width: 769px) {
  .back-to-top {
    bottom: 30px;
  }
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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