/* ==========================================================================
   Digidan.co — Diseño Minimalista, Elegante y Profesional (Tema Claro)
   ========================================================================== */

:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --surface-subtle: #F3F4F6;
  --surface-accent: #F0F4F9;
  --text: #111111;
  --text-secondary: #4B5262;
  --text-muted: #767E8F;
  --border: #E4E6EB;
  --border-strong: #CBD0DA;
  --accent: #1F3A5F;
  --accent-hover: #152945;
  --accent-soft: rgba(31, 58, 95, 0.08);
  --whatsapp: #1D8348;
  --whatsapp-hover: #166838;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.03);
  --shadow-md: 0 12px 32px rgba(17, 17, 17, 0.06);
  --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-display-geo: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1120px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
   Utilidades de Contenedor y Tipografía
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.title-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}

/* ==========================================================================
   Barra de Navegación Superior
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display-geo);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand-link svg {
  width: 30px;
  height: 29px;
  color: var(--accent);
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--accent-soft);
}

.nav-cta {
  margin-left: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  background: var(--accent);
  padding: 0.52rem 1.05rem;
  border-radius: var(--radius-sm);
}

.nav-cta:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  color: var(--text);
  cursor: pointer;
}

/* ==========================================================================
   Portada Principal (Landing Page /)
   ========================================================================== */

.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 0 4.5rem;
}

.hero-brand {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 300px;
  max-height: 300px;
  height: auto;
   object-fit: contain;
  margin: 0 auto 1.25rem;
  background: transparent;
  border: none;
  box-shadow: none;
}

.hero-slogan {
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: -0.005em;
}

.question-block {
  text-align: center;
  margin-bottom: 2rem;
}

.question-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  color: var(--text);
}

.question-divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: 2px;
  opacity: 0.45;
}

/* Tres Botones / Tarjetas de la Portada */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.area-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.9rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

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

.area-card-top {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.area-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--surface-accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.area-number {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.area-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.area-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.area-desc strong {
  color: var(--text);
  font-weight: 600;
}

.area-cta {
  margin-top: 1.8rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
}

.area-cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.area-card:hover .area-cta svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Encabezados y Secciones de Subpáginas
   ========================================================================== */

.page-main {
  flex: 1;
  padding: 3.25rem 0 5rem;
}

.page-hero {
  max-width: 780px;
  margin-bottom: 3.25rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.back-link:hover {
  color: var(--accent);
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin-bottom: 0.9rem;
}

.page-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.section-block {
  margin-top: 4rem;
}

.section-header {
  margin-bottom: 2rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Etiquetas / Chips de Especialidades */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.tag-pill {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.87rem;
  font-weight: 500;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}

/* ==========================================================================
   Sección Fotografía: Paquetes, Cubrimiento de Eventos y Ten en Cuenta
   ========================================================================== */

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.package-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.package-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.package-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--surface-accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.package-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.package-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.1;
}

.package-session-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.package-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.package-price-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.price-old-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.price-old {
  text-decoration: line-through;
  color: #9AA1B1;
  font-weight: 500;
}

.price-current {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}

.price-current small {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.feature-item strong {
  color: var(--text);
  font-weight: 600;
}

/* Bloque Destacado: Cubrimiento de Eventos por Hora */
.event-banner {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.event-price-highlight {
  background: var(--surface-accent);
  border: 1px solid rgba(31, 58, 95, 0.16);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.event-price-highlight .amount {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.15;
  margin: 0.25rem 0;
}

/* Bloque "Psss! Ten en cuenta lo siguiente" */
.notes-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 2rem;
  margin-top: 1.35rem;
}

.note-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--border);
}

.note-bullet {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-accent);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.note-item strong {
  color: var(--text);
  font-weight: 600;
}

/* ==========================================================================
   Sección Diseño Web: Plataformas y Soluciones a la Medida
   ========================================================================== */

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.platform-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.platform-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.platform-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.platform-name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--text);
}

.platform-category {
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent);
  background: var(--surface-accent);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.platform-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.platform-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.module-chip {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.other-platforms-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mini-platform {
  padding: 1.15rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.mini-platform h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.mini-platform p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Sección Gráficos: Catálogo y Proceso
   ========================================================================== */

.graphics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.graphic-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.graphic-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin: 0.9rem 0 0.45rem;
}

.graphic-card p {
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Botones y Llamados a la Acción (CTA)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.82rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #FFFFFF;
}

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

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

.cta-banner {
  margin-top: 4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
}

.cta-banner-text h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  margin-bottom: 0.4rem;
}

.cta-banner-text p {
  color: var(--text-secondary);
  font-size: 0.98rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Pie de Página (Footer) y Redes Sociales
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.5rem 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-brand-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.1rem;
}

.footer-brand-title svg {
  width: 22px;
  height: 21px;
  color: var(--accent);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
}

.social-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.social-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface-accent);
}

/* Botón Flotante Discreto de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #FFFFFF;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(31, 58, 95, 0.24);
}

.whatsapp-float:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Adaptación Responsiva (Móvil y Tableta)
   ========================================================================== */

@media (max-width: 960px) {
  .area-grid,
  .packages-grid,
  .graphics-grid,
  .other-platforms-box {
    grid-template-columns: 1fr;
  }

  .platforms-grid,
  .notes-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .event-banner {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.35rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    box-shadow: var(--shadow-md);
  }

  .site-nav.open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.35rem;
    text-align: center;
  }

  .home-main {
    padding: 2.25rem 0 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.85rem;
  }
}

