:root {
  --primary: #7a1530;
  --primary-dark: #4c0b1c;
  --primary-soft: #f7e8ed;
  --accent: #d6b16b;
  --text: #1f2430;
  --muted: #5b6270;
  --white: #ffffff;
  --border: #ebd7de;
  --shadow: 0 22px 50px rgba(76, 11, 28, 0.12);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: #fffdfd;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.info-strip {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

.info-strip-content {
  display: flex;
  gap: 1rem 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}

.site-header {
  color: var(--white);
  background: #4c0b1c;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-shield {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}

.brand-text,
.hero-stats article,
.info-points article {
  display: flex;
  flex-direction: column;
}

.brand-text strong,
.brand-text small,
.main-nav a,
.eyebrow,
.btn,
.section-tag,
.news-badge,
.highlight-label {
  font-family: "Montserrat", sans-serif;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text small {
  opacity: 0.9;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.94;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  padding: 0.75rem;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero-grid,
.contact-grid,
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  align-items: center;
}

.eyebrow,
.section-tag,
.highlight-label,
.news-badge {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.eyebrow {
  color: #f8de9d;
  margin-bottom: 0.6rem;
}

.hero h1,
.section-heading h2,
.hero-panel-card h2 {
  font-family: "Montserrat", sans-serif;
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero-actions,
.footer-content,
.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #fff7f9 0%, #ffffff 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-tag {
  color: var(--primary);
  margin-bottom: 0.6rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.section-heading p {
  color: var(--muted);
}

.about-grid,
.news-grid {
  display: grid;
  gap: 1.4rem;
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
}

.card,
.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.06);
  padding: 1.6rem;
}

.card h3,
.news-card h3,
.contact-card h3,
.map-card h3,
.community-form h3,
.community-info h3 {
  margin-top: 0;
  font-family: "Montserrat", sans-serif;
}

.featured {
  background: linear-gradient(135deg, var(--primary), #992244);
  color: var(--white);
  border: none;
}

.featured .news-badge {
  background: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
}

.news-badge {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.community-form,
.community-info,
.contact-card,
.map-card {
  height: 100%;
}

.community-form {
  display: grid;
  gap: 0.8rem;
}

.community-form input,
.community-form textarea,
.community-form select {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid #d9dde6;
  background: #fff;
}

.community-form input:focus,
.community-form textarea:focus,
.community-form select:focus {
  outline: 2px solid rgba(122, 21, 48, 0.18);
  border-color: var(--primary);
}

.info-points {
  display: grid;
  gap: 1rem;
}

.info-points article {
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 18px;
  background: #fcf6f8;
  border: 1px solid #f0e3e7;
  text-align: justify;
}

.info-points p {
  margin: 0;
  color: var(--muted);
}

.form-status {
  min-height: 1.5rem;
  margin: 0.25rem 0 0;
  font-weight: 600;
}

.form-status.success {
  color: #0f6d39;
}

.form-status.error {
  color: #9b1c1c;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.6rem;
  display: grid;
  gap: 0.9rem;
}

.social-links a {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary-soft);
  color: var(--primary);
  transition: transform 0.2s ease, background 0.2s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  background: #efdae1;
}

.social-links svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.map-frame {
  margin-top: 1rem;
  min-height: 340px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.map-frame iframe {
  width: 100%;
  min-height: 340px;
  border: 0;
}

.map-link {
  margin-top: 1rem;
}

.btn {
  border: none;
  cursor: pointer;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--accent);
  color: #342007;
  box-shadow: 0 16px 28px rgba(214, 177, 107, 0.22);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer {
  background: #260811;
  color: rgba(255, 255, 255, 0.88);
  padding: 1.6rem 0;
}

.footer-content {
  justify-content: space-between;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.hero-copy,
.hero-panel-card,
.hero-stats article {
  opacity: 0;
  transform: translateY(28px);
}

body.site-ready .hero-copy {
  animation: heroReveal 0.9s ease forwards;
}

body.site-ready .hero-panel-card {
  animation: heroReveal 1s ease 0.18s forwards, floatingPanel 6s ease-in-out 1.3s infinite;
}

body.site-ready .hero-stats article:nth-child(1) {
  animation: heroReveal 0.8s ease 0.22s forwards;
}

body.site-ready .hero-stats article:nth-child(2) {
  animation: heroReveal 0.8s ease 0.34s forwards;
}

body.site-ready .hero-stats article:nth-child(3) {
  animation: heroReveal 0.8s ease 0.46s forwards;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -120%;
  width: 50%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s ease;
}

.btn:hover::after {
  left: 140%;
}

.card,
.news-card,
.portfolio-card,
.community-form,
.community-info,
.contact-card,
.map-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.35s ease;
}

.card:hover,
.news-card:hover,
.community-info:hover,
.contact-card:hover,
.map-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(76, 11, 28, 0.12);
  border-color: #dec2cb;
}

.section-heading,
.about-grid .card,
.portfolio-card,
.news-card,
.community-form,
.community-info,
.contact-card,
.map-card,
.modern-gallery {
  opacity: 0;
  transform: translateY(34px);
}

.reveal-up {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(88%, 980px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(122, 21, 48, 0.12), transparent);
}

.map-card:hover .map-frame iframe {
  transform: scale(1.015);
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatingPanel {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-copy,
  .hero-panel-card,
  .hero-stats article,
  .section-heading,
  .about-grid .card,
  .portfolio-card,
  .news-card,
  .community-form,
  .community-info,
  .contact-card,
  .map-card,
  .modern-gallery {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 1100px) {

  .hero-grid,
  .contact-grid,
  .community-grid,
  .about-grid,
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .topbar {
    position: relative;
  }

  .menu-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(76, 11, 28, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

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

  .hero-grid,
  .contact-grid,
  .community-grid,
  .about-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-content: stretch;
  }

  .hero {
    min-height: auto;
    padding: 6rem 0 4rem;
  }

  .glass-stats {
    flex-direction: column;
  }

  .modern-glass-card {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding: 4rem 0;
  }

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

/* =========================================
   Estilos del Modal (Galería)
   ========================================= */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 36, 48, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.show {
  display: block;
  opacity: 1;
}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 2rem;
  width: 90%;
  max-width: 800px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-title {
  margin-bottom: 1rem;
  color: var(--primary-dark);
  font-family: "Montserrat", sans-serif;
}

.modal-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-container img {
  width: 100%;
  border-radius: 12px;
  max-height: 60vh;
  object-fit: cover;
  border: 1px solid var(--border);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 25px;
  color: var(--muted);
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
  line-height: 1;
}

.close-modal:hover {
  color: var(--primary);
}

.modal-prev,
.modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  color: white;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.2rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.modal-prev {
  left: -25px;
}

.modal-next {
  right: -25px;
}

/* =========================================
   Estilos de Acordeón para Avisos
   ========================================= */
.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-top: 15px;
  font-family: "Montserrat", sans-serif;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.read-more-btn:hover {
  border-color: var(--primary);
}

.news-details {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 0.95rem;
}

/* =========================================
   Galería Institucional Moderna (Animada)
   ========================================= */
.modern-gallery {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.modern-gallery .carousel-window {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(76, 11, 28, 0.2);
  aspect-ratio: 16 / 9;
  background: var(--text);
}

.modern-gallery .carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  transform: none !important;
}

.modern-gallery .carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.8s ease, transform 1.2s ease-out;
  border: none;
  background: transparent;
  box-shadow: none;
  visibility: hidden;
}

.modern-gallery .carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
  visibility: visible;
}

.modern-gallery .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
}

.carousel-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 4rem 2.5rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  color: white;
  text-align: left;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.6s ease 0.4s;
}

.modern-gallery .carousel-slide.active .carousel-caption-overlay {
  transform: translateY(0);
  opacity: 1;
}

.carousel-caption-overlay h3 {
  color: #f8de9d;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

.carousel-caption-overlay p {
  margin: 0;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.95);
  max-width: 80%;
}

.modern-gallery .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-bottom: 5px;
}

.modern-gallery .carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.modern-gallery .prev-btn {
  left: 20px;
}

.modern-gallery .next-btn {
  right: 20px;
}

.modern-gallery .carousel-dots {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.65rem;
}

.modern-gallery .carousel-dot {
  background: rgba(122, 21, 48, 0.25);
  border: none;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modern-gallery .carousel-dot.active {
  background: var(--primary);
  transform: scale(1.5);
}

@media (max-width: 768px) {
  .modern-gallery .carousel-window {
    aspect-ratio: 4 / 3;
  }

  .modern-gallery .carousel-btn {
    display: none;
  }

  .carousel-caption-overlay {
    padding: 3rem 1.5rem 1.5rem;
  }

  .carousel-caption-overlay p {
    max-width: 100%;
  }
}

/* =========================================
   Hero Section Mejorado (Banner Principal)
   ========================================= */
.hero {
  position: relative;
  padding: 4rem 0 7rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 90vh;
  background: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/talleres/patio2.webp") center/cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 25s alternate infinite ease-in-out;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 100%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.relative-z {
  position: relative;
  z-index: 2;
}

.eyebrow-badge {
  display: inline-block;
  background: rgba(214, 177, 107, 0.15);
  color: #f8de9d;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(214, 177, 107, 0.3);
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.hero-title span {
  background: linear-gradient(to right, #f8de9d, #d6b16b, #f8de9d);
  background-size: 200% auto;
  background-clip: text;
  color: transparent;
  animation: shineText 5s linear infinite;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

.btn-glow {
  background: var(--accent);
  color: #342007;
  box-shadow: 0 0 20px rgba(214, 177, 107, 0.3);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(214, 177, 107, 0.6);
  transform: translateY(-3px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
}

.btn-outline .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 5px;
}

.btn-outline:hover .arrow {
  transform: translateX(5px);
}

.glass-stats {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.glass-stats article {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 16px;
  flex: 1;
  min-width: 120px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.glass-stats article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.glass-stats strong {
  color: #f8de9d;
  font-size: 2rem;
  display: block;
  margin-bottom: 0.2rem;
}

.modern-glass-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.modern-glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d6b16b, #f8de9d);
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
  transform: rotate(30deg);
  pointer-events: none;
}

.pulse-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #d6b16b;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 10px #d6b16b;
  animation: pulse 2s infinite;
}

.modern-glass-card .highlight-label {
  display: inline-flex;
  align-items: center;
  color: #f8de9d;
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.custom-check-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.custom-check-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.custom-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #d6b16b;
  font-weight: bold;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.15);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(214, 177, 107, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(214, 177, 107, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(214, 177, 107, 0);
  }
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

/* =========================================
   Portafolio Interactivo de Talleres
   ========================================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid var(--border);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(122, 21, 48, 0.15);
  border-color: var(--primary);
}

.portfolio-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-image img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(76, 11, 28, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.overlay-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-overlay span:last-child {
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.1s;
}

.portfolio-card:hover .overlay-icon,
.portfolio-card:hover .portfolio-overlay span:last-child {
  transform: translateY(0);
}

.portfolio-content {
  padding: 2rem 1.8rem 1.8rem;
  position: relative;
}

.portfolio-badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--accent);
  color: #342007;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(214, 177, 107, 0.4);
}

.portfolio-content h3 {
  color: var(--primary-dark);
  margin-top: 0;
  font-size: 1.3rem;
}

.portfolio-content p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0;
}