/* ================================
   1. CSS VARIABLES
================================ */
:root {
  --container-max: 1240px;
  --container-padding: clamp(16px, 4vw, 32px);

  --color-primary: #005ffb;
  --color-text: #1a1a1a;
  --color-bg: #ffffff;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont;
  --font-headings: inherit;
}

/* ================================
   2. RESET BÁSICO
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* ================================
   3. LAYOUT GLOBAL
================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* ===============================
   3.1 Logo site
================================ */
.site-logo img {
  max-height: 76px;
  width: auto;
  display: block;
}
.site-logo {
  display: flex;
  align-items: center;
}

/* ================================
   4. HEADER
================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
}

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

/* ================================
   5. MENÚ
================================ */
.menu {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text);
}

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

/* ================================
   MENU FOOTER (VERTICAL)
================================ */

.site-footer .menu {
  display: block; /* anula flex */
}

.site-footer .menu li {
  margin-bottom: 12px;
}

.site-footer .menu li a {
  display: inline-block;
  text-decoration: none;
  color: #fff;
}

.site-footer .menu li a:hover {
  text-decoration: underline;
}
button.secondary {
  background: var(--color-secondary);
}

.site-footer a:hover {
  color: var(--color-secondary);
}

/* ================================
   6. CONTENIDO PRINCIPAL
================================ */

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

/* ================================
   7. FOOTER
================================ */
/* ================================
   STICKY FOOTER LAYOUT
================================ */
html, body {
  height: 100%;
}

#site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* El contenido crece y empuja el footer */
#content {
  flex: 1;
}
.site-footer { z-index: 1; height:100%;background-size: cover;background-position: center;background-repeat: no-repeat; background-image: url('https://malicanine.online/wp-content/uploads/2026/05/ChatGPT-Image-24-may-2026-16_10_13.png'); color: #fff; padding-block: 80px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

/* ================================
   REDES SOCIALES MENU
================================= */
/* REDES SOCIALES */
.social-icons{
    display:flex;
    align-items:center;
    gap:15px;
}

.social-icons a{
    display:flex;
    align-items:center;
}

.social-icons img{
    width:32px;
    height:32px;
    object-fit:contain;
	text-decoration: none !important;
}

/* ================================
   MENU TOGGLE (MOBILE)
================================ */

/* Botón hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  margin: 5px 0;
  transition: 0.3s;
}

/* Mobile & Tablet */
@media (max-width: 1024px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    display: none;
    border-top: 1px solid #eee;
  }

  .main-nav.active {
    display: block;
  }

  .menu {
    flex-direction: column;
    gap: 0;
  }

  .menu li {
    border-bottom: 1px solid #eee;
  }

  .menu li a {
    padding: 16px 32px;
    display: block;
  }
}


/* ================================
   8. RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer { height:100%; background-size: cover;background-position: center;background-repeat: no-repeat;background-image: url('https://malicanine.online/wp-content/uploads/2026/05/ChatGPT-Image-24-may-2026-16_10_13.png'); color: #fff; padding-block: 80px; }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
