/* ===========================
   Haribol - Estilos globales
   Paleta basada en el logo
   =========================== */

:root {
  --bg-main: #fdf9ff;
  --bg-section: #ffffff;
  --primary: #e7518f;        /* magenta */
  --primary-dark: #c13a76;
  --primary-soft: #fbe3f3;
  --accent-teal: #45b7c4;    /* turquesa */
  --accent-purple: #7255b8;  /* morado */
  --accent-gold: #f2b544;    /* dorado */
  --text-main: #3a3a4a;
  --text-muted: #6e6e80;
  --shadow-soft: 0 18px 40px rgba(41, 22, 63, 0.13);
  --radius-lg: 20px;
  --radius-xl: 26px;
  --max-width: 1120px;
  --transition-fast: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #fce9ff 0%, #fdf9ff 40%, #ffffff 100%);
  color: var(--text-main);
}

/* Layout base */

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

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

/* Header / navegación */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(35, 16, 53, 0.08);
}

.site-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(45, 17, 70, 0.3);
  border: 2px solid #ffffff;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-purple);
}

.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent-teal));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition-fast);
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  color: #ffffff !important;
  font-weight: 500;
  box-shadow: 0 14px 28px rgba(191, 31, 102, 0.45);
  border: 1px solid rgba(247, 244, 250, 0.9);
}

@media (max-width: 720px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hero genérico */

.hero {
  padding: 48px 0 34px;
}

.hero-grid {
  display: grid;
  gap: 26px;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
    align-items: center;
  }
}

.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.hero-title {
  font-size: 32px;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 38px;
  }
}

.hero-title span {
  background: linear-gradient(120deg, var(--primary), var(--accent-teal));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 14px 30px rgba(190, 30, 100, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 40px rgba(138, 17, 74, 0.6);
}

.btn-secondary {
  background: rgba(255,255,255,0.9);
  border: 1px solid #e4d8f5;
  color: var(--accent-purple);
}

/* Hero panel lateral */

.hero-panel {
  background: var(--bg-section);
  border-radius: var(--radius-xl);
  border: 1px solid #f1dff9;
  box-shadow: var(--shadow-soft);
  padding: 20px 18px;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 15% 10%, rgba(231, 81, 143, 0.18), transparent 60%),
              radial-gradient(circle at 80% 85%, rgba(69, 183, 196, 0.18), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-panel-inner {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--text-muted);
}

.hero-panel-inner h2 {
  font-size: 15px;
  color: var(--accent-purple);
  margin-bottom: 8px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(229, 206, 255, 0.9);
  color: var(--text-muted);
}

/* Secciones genéricas */

.section {
  padding: 26px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 18px;
}

.section-kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.section-intro {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* Tarjetas de servicios */

.cards-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  border: 1px solid #f1dff9;
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  font-size: 17px;
  color: var(--primary);
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Listados */

.list-check {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.list-check li {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.list-check li::before {
  content: "✦";
  color: var(--accent-gold);
  margin-right: 6px;
  font-size: 11px;
}

/* Páginas internas */

.page-hero {
  padding: 38px 0 22px;
}

.page-title {
  font-size: 30px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.page-intro {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 640px;
}

.page-section {
  padding: 18px 0 30px;
}

.page-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  border: 1px solid #f1dff9;
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
}

/* Servicios detallados */

.service-layout {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .service-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.service-group-title {
  font-size: 18px;
  color: var(--accent-purple);
  margin-bottom: 10px;
}

/* Contacto */

.contact-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

.contact-item {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-label {
  font-weight: 600;
  color: var(--accent-purple);
}

.whatsapp-link {
  color: var(--primary-dark);
  text-decoration: none;
}

.whatsapp-link:hover {
  text-decoration: underline;
}

.map-card {
  font-size: 13px;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid #ead9fa;
  background: #ffffff;
  padding: 14px 0 18px;
  margin-top: 16px;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
}

.footer-credit {
  font-size: 11px;
  color: #a2a2b6;
}
