/* ===========================================================
   SYSTEMINFORMATIC - INFORMÁTICO A DOMICILIO (Diseño moderno)
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ⚠️ OVERRIDE: Anular el grid de WebSite X5 */
#imContent {
  display: block !important;
  grid-template: none !important;
  -ms-grid-columns: none !important;
  -ms-grid-rows: none !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#imContentGraphics {
  display: none !important;
}

/* === SMOOTH SCROLL === */
html {
  scroll-behavior: smooth;
}

/* === CONTENEDOR PRINCIPAL === */
#domicilio-content {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #2d3436;
  line-height: 1.6;
}

.dom-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.dom-section {
  padding: 80px 0;
}

/* ===========================================================
   HERO
   =========================================================== */
.dom-hero {
  position: relative;
  background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(26,42,74,0.85) 50%, rgba(26,58,107,0.85) 100%), url('../images/FONDO-WALLPAPER-SPAIN2025.png') center center / cover no-repeat;
  padding: 80px 0 60px;
  overflow: hidden;
}

.dom-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(26,115,232,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dom-hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
}

.dom-hero-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 10px;
}

.dom-hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: #4fc3f7;
  font-weight: 700;
  margin: 0 0 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===========================================================
   REGION GRID
   =========================================================== */
.dom-regions-wrapper {
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.25) 0%, transparent 70%);
  border-radius: 16px;
  padding: 24px 20px;
  backdrop-filter: blur(4px);
}

.dom-regions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.dom-region-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.dom-region-btn:hover {
  background: rgba(26,115,232,0.40);
  border-color: rgba(26,115,232,0.5);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 20px rgba(26,115,232,0.3);
}

/* ===========================================================
   PRICING SECTION
   =========================================================== */
.dom-pricing {
  background: #f8f9fa;
}

.dom-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dom-pricing-img {
  position: relative;
  display: inline-block;
}

.dom-pricing-watermark {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 120px;
  height: auto;
  opacity: 0.25;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.dom-pricing-img-main {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  filter: grayscale(100%);
}

.dom-pricing-info h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 20px;
  line-height: 1.2;
}

.dom-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.dom-pricing-list li {
  font-size: 15px;
  color: #2d3436;
  padding: 8px 0;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.dom-pricing-list li strong {
  color: #1a73e8;
  font-weight: 700;
}

.dom-pricing-note {
  font-size: 13px;
  color: #636e72;
  line-height: 1.6;
  margin: 0;
  padding: 16px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

/* ===========================================================
   SERVICE CARDS
   =========================================================== */
.dom-services {
  background: #ffffff;
}

.dom-section-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 48px;
  line-height: 1.2;
}

.dom-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dom-service-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.dom-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border-color: #1a73e8;
}

.dom-service-card-img {
  padding: 32px 24px 0;
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.dom-service-card-img img {
  max-width: 120px;
  height: auto;
  position: relative;
  z-index: 1;
}

.dom-service-card-body {
  padding: 20px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dom-service-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: #0a1628;
  margin: 0;
  line-height: 1.3;
}

.dom-service-card-body p {
  font-size: 14px;
  color: #636e72;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ===========================================================
   BUTTONS
   =========================================================== */
.dom-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
  justify-content: center;
}

.dom-btn-primary {
  background: #1a73e8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(26,115,232,0.35);
}

.dom-btn-primary:hover {
  background: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(26,115,232,0.4);
  color: #fff;
}

.dom-btn-phone {
  background: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}

.dom-btn-phone:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.4);
  color: #fff;
}

.dom-btn-outline {
  background: transparent;
  color: #1a73e8;
  border: 2px solid #1a73e8;
}

.dom-btn-outline:hover {
  background: #1a73e8;
  color: #fff;
  transform: translateY(-2px);
}

/* ===========================================================
   CTA FINAL
   =========================================================== */
.dom-final-cta {
  background: linear-gradient(135deg, #0a1628 0%, #1a2a4a 100%);
  text-align: center;
  padding: 70px 0;
  color: #fff;
}

.dom-final-cta h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.dom-final-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.dom-final-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dom-phone-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #ffc107;
  text-decoration: none;
  margin-bottom: 4px;
}

.dom-phone-number:hover {
  color: #ffd54f;
}

.dom-phone-label {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 768px) {
  .dom-section {
    padding: 60px 0;
  }
  .dom-hero {
    padding: 60px 0 50px;
  }
  .dom-regions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .dom-region-btn {
    padding: 12px 8px;
    font-size: 13px;
  }
  .dom-pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dom-services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .dom-container {
    padding: 0 16px;
  }
  .dom-regions-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .dom-region-btn {
    font-size: 12px;
    padding: 10px 6px;
  }
}
