/* ==========================================================================
   DISECOR - CORPORATIVO CON SOLUCIONES INTEGRALES (HTML5 WPO)
   ========================================================================== */
:root {
  --font-main: 'Segoe UI', system-ui, -apple-system, Roboto, Ubuntu, sans-serif;
  --color-primary: #0d3b66;      /* Azul corporativo formal */
  --color-primary-dark: #07233d;
  --color-accent: #f4a261;       /* Dorado / naranja elegante */
  --color-accent-hover: #e76f51;
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-text: #1e293b;
  --color-text-muted: #64748b;
  --border-light: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --max-w: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a:hover {
  color: var(--color-accent);
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
}

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

.btn-header-cta {
  background-color: #25d366;
  color: #fff !important;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-primary);
  cursor: pointer;
}

@media (max-width: 992px) {
  .mobile-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--border-light);
    gap: 16px;
  }
  .nav-menu.open { display: flex; }
}

/* ==================== HERO SECTIONS ==================== */
.hero-block {
  padding: 64px 0 48px;
  background: linear-gradient(135deg, #0d3b66 0%, #07233d 100%);
  color: #ffffff;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  color: var(--color-accent);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #07233d !important;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #ffffff !important;
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  transform: translateY(-2px);
}

/* ==================== SERVICES GRID ==================== */
.services-section {
  padding: 80px 0;
}

.section-head {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-title {
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 800;
  margin-bottom: 16px;
}

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

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.card-service {
  background-color: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.card-service-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-service-title {
  font-size: 1.35rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 12px;
}

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

.card-service-link {
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==================== DETALLES DE SERVICIO ==================== */
.service-details {
  padding: 60px 0 80px;
}

.service-grid-2col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.service-item-box {
  background: #ffffff;
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-item-box img {
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
}

.service-item-box h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-item-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--color-primary-dark);
  color: #e2e8f0;
  padding: 64px 0 32px;
  border-top: 4px solid var(--color-accent);
}

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

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.floating-whatsapp svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}
