
--lila: #c084fc;
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #4b5563;
  --primary: #ffffff;       /* blanco para botones */
  --primary-strong: #f3f4f6;/* gris muy claro al hover */
  --alt: #f8fafc;
  --card: #ffffff;
  --border: #e5e7eb;
}


* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.hero-logo {
  max-width: 120px;
  margin-bottom: 20px;
}

.card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  display: block;
}



/* Contenedor general */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--lila);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.nav ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav a:hover {
  background: rgba(255,255,255,0.2);
}

/* Responsive header */
@media (max-width: 600px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 10px;
  }
}

/* Hero banner */
.hero-banner {
  background: var(--lila);   /* fondo lila */
  text-align: center;
  padding: 60px 20px;
}

.hero-banner h1 {
  font-size: 3.5rem;         /* título grande */
  font-weight: 800;          /* más grueso */
  color: #4c1d95;            /* violeta oscuro */
  margin-bottom: 10px;
  line-height: 1.2;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #fff;               /* subtítulo en blanco */
}

/* Botones del hero */
.menu-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.menu-btn {
  background: var(--primary);
  color: var(--lila);
  padding: 14px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: background 0.3s, transform 0.2s;
}

.menu-btn:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
}

/* Redes sociales */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff; /* círculo blanco para contraste */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.3s, box-shadow 0.3s;
}

.social-icons a:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.social-icons img {
  width: 24px;
  height: 24px;
  filter: none;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section.alt {
  background: var(--alt);
}

.section h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
}

.section p {
  color: var(--muted);
}

/* Grid */
.grid {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 800px) {
  .grid.two, .grid.three {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.cards .card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.cards .card h3 {
  margin-top: 0;
}

/* Gallery */
.gallery .ph {
  overflow: hidden;
  border-radius: 12px;
}

.gallery .ph img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Contact form */
.contact-form {
  display: grid;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
}

.contact-form label span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
}

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Buttons generales */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  background: var(--lila);
  color: white;
  border: none;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #a855f7; /* tono más fuerte de lila */
  transform: translateY(-2px);
}

.btn.primary {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn.primary:hover {
  background: var(--alt);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.social {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  text-decoration: none;
  color: var(--text);
}

.social a:hover {
  text-decoration: underline;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
}
