@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* =========================
   RESET BASE
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* Cursor custom solo en desktop con mouse real */
@media (hover: hover) and (pointer: fine) {
  html {
    cursor: none;
  }
}

/* Scroll suave solo si el usuario no lo ha desactivado */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

html,
body {
  overflow-x: hidden;
}

/* =========================
   BASE GLOBAL
========================= */

body {
  font-family: 'Montserrat', sans-serif;
  color: #111111;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  color: #111111;
  font-weight: 700;
  line-height: 1.1;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555555;
}

/* =========================
   LAYOUT
========================= */

:root {
  --container-max: 1200px;
  --container-width: 90%;
}

.container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* =========================
   SCALING & ULTRA-WIDE (4K/TVs)
========================= */

@media (min-width: 1440px) {
  :root {
    --container-max: 1400px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1600px; /* Ancho seguro y elegante */
    --container-width: 85%;
  }
  html {
    /* Tope de seguridad: crece un poco para verse bien, pero no rompe las cajas en px */
    font-size: 18px;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-max: 1800px; /* Mantenemos el contenido centrado y legible en 4K */
    --container-width: 80%;
  }
  html {
    /* Tope máximo de fuente en 4K */
    font-size: 20px;
  }
}

.site-main {
  padding: 0;
}

.site-footer {
  padding: 24px 0;
  margin-top: 40px;
  border-top: 1px solid #eeeeee;
}

/* =========================
   UTILITIES
========================= */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================
   RESPONSIVE
========================= */

/* Admin bar WordPress — 32px desktop, 46px mobile */
@media (max-width: 768px) {
  body.admin-bar {
    padding-top: 46px;
  }
}

/* =========================
   CURSOR CUSTOM
   Solo visible en dispositivos con mouse real.
   Oculto en touch / mobile.
========================= */

#custom-cursor,
#cursor-ring,
#cursor-glow {
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

/* Ocultar en touch  */
@media (hover: none),
(pointer: coarse) {

  #custom-cursor,
  #cursor-ring,
  #cursor-glow {
    display: none !important;
  }
}

#custom-cursor {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(180, 160, 120, 0.9);
  z-index: 9999;
  transition:
    width 0.2s ease,
    height 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#cursor-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(180, 160, 120, 0.5);
  z-index: 9998;
  transition:
    width 0.35s cubic-bezier(0.17, 0.67, 0.35, 1.2),
    height 0.35s cubic-bezier(0.17, 0.67, 0.35, 1.2),
    border-color 0.2s ease;
}

#cursor-glow {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  z-index: 9997;
  background: radial-gradient(circle,
      rgba(180, 150, 90, 0.35) 0%,
      rgba(180, 150, 90, 0.08) 50%,
      transparent 70%);
  opacity: 0;
  transition:
    opacity 0.3s ease,
    width 0.3s ease,
    height 0.3s ease;
}