/* ============================================
   Sonia Pasten Planner - Sitio Oficial
   (c) 2025 Sonia Pasten Planner
   Todos los derechos reservados.
   ============================================ */

/* --- Reset & Base --- */
/* Google Fonts loaded via <link> in HTML for non-blocking rendering */

:root {
  --palette1: #000000;
  --palette2: #000000;
  --palette3: #111111;
  --palette4: #212121;
  --palette5: #333333;
  --palette6: #e5e5e5;
  --palette7: #ffffff;
  --palette8: #ffffff;
  --palette9: #ffffff;
  --btn-bg: #000000;
  --btn-color: #ffffff;
  --btn-bg-hover: #333333;
  --content-width: 1290px;
  --edge-padding: 1.5rem;
}

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

html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--palette1);
  background: var(--palette7);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-family: inherit; }
p { margin: 0 0 1em; }
a { color: var(--palette1); text-decoration: none; transition: all 0.2s ease; }
a:hover { color: var(--palette5); }
img { display: block; max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--edge-padding);
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.site-header.scrolled .header-inner .nav-link,
.site-header.scrolled .header-inner .logo-text,
.site-header.scrolled .search-bar input,
.site-header.scrolled .search-bar .search-icon {
  color: var(--palette1);
}

.site-header.scrolled .search-bar input {
  border-color: var(--palette6);
}

/* Logo: brightness filter for white on hero, normal on scroll */
.logo-center img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, height 0.3s ease;
}

.site-header.scrolled .logo-center img {
  filter: none;
}

.mobile-logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.site-header.scrolled .mobile-logo img {
  filter: none;
}

/* Pages with page-header (no hero): logo always normal */
body.has-page-header .logo-center img,
body.has-page-header .mobile-logo img {
  filter: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 120px;
  transition: min-height 0.3s ease;
}

.site-header.scrolled .header-inner {
  min-height: 90px;
}

/* Nav Left */
.nav-left { display: flex; align-items: center; }

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

.main-nav li { position: relative; }

.nav-link {
  display: block;
  padding: 0.6em 1.2em;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
  color: var(--palette9);
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-link:hover { color: var(--palette6); }

/* Dropdown */
.has-dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 13px rgba(0,0,0,0.1);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.has-dropdown:hover .dropdown {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.8em 1em;
  font-size: 14px;
  color: var(--palette4);
  border-bottom: 1px solid var(--palette6);
}

.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { color: var(--palette1); background: #f9f9f9; }

/* Logo Center */
.logo-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-center img {
  height: 70px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo-center img {
  height: 55px;
}

/* Search Right */
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.search-bar {
  position: relative;
}

.search-bar input {
  padding: 8px 45px 8px 12px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0;
  background: transparent;
  color: var(--palette9);
  font-size: 14px;
  width: 200px;
  outline: none;
  transition: border-color 0.2s;
}

.search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.site-header.scrolled .search-bar input::placeholder { color: var(--palette6); }

.search-bar input:focus { border-color: var(--palette1); }

.search-bar .search-icon {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--palette9);
  pointer-events: none;
}

.site-header.scrolled .search-bar .search-icon { color: var(--palette5); }

.search-bar .search-icon svg { width: 16px; height: 16px; }

/* Mobile Header */
.mobile-header { display: none; }

.mobile-toggle {
  background: transparent;
  border: 0;
  color: var(--palette9);
  font-size: 24px;
  padding: 0.5em;
  display: flex;
  align-items: center;
}

.site-header.scrolled .mobile-toggle { color: var(--palette1); }

.hamburger-icon {
  width: 24px; height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-icon span {
  display: block;
  width: 100%; height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0; right: -100%; bottom: 0;
  width: 90%; max-width: 400px;
  background: #090c10;
  color: #fff;
  z-index: 10000;
  transition: right 0.3s cubic-bezier(0.77, 0.2, 0.05, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-drawer.active { right: 0; }

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active { opacity: 1; pointer-events: auto; }

.drawer-header {
  display: flex;
  justify-content: flex-end;
  padding: 1em 1.5em;
}

.drawer-close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.drawer-content { padding: 0 1.5em 1.5em; }

.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }

.mobile-nav a {
  display: block;
  padding: 0.8em 0;
  color: #fff;
  font-size: 15px;
}

.mobile-nav .sub-menu { padding-left: 1em; }
.mobile-nav .sub-menu a { font-size: 14px; color: rgba(255,255,255,0.7); }

/* --- Hero Slider --- */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
  z-index: 0;
}

.hero-slider .slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider .slide img,
.hero-slider .slide .slide-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  animation: slowZoom 10s ease-in-out infinite alternate;
}

.hero-slider .slide .slide-video {
  animation: none;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 2;
}

.slide-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 5.5px;
  text-transform: uppercase;
  margin-bottom: 1em;
}

.slide-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(35px, 7vw, 90px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 0.5em;
}

.slide-btn {
  display: inline-block;
  padding: 12px 45px;
  border: 1px solid #fff;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.slide-btn:hover {
  background: #fff;
  color: #000;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
  position: relative;
}
.slider-dot::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  transition: background 0.3s;
}
.slider-dot.active::after { background: #fff; }



/* --- Section Common --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--palette4);
  color: var(--palette9);
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0.5em;
  color: var(--palette5);
}

.section-dark .section-label { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(28px, 4vw, 42px);
  text-align: center;
  margin-bottom: 1.5em;
  font-weight: 400;
}

.section-dark .section-title { color: #fff; }

/* --- Cards Grid (Special Occasion) --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.card {
  text-align: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  padding-bottom: 24px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.card-image {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  margin-bottom: 20px;
}

.card-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

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

.card-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 400;
  padding: 0 16px;
}

.card-desc {
  font-size: 14px;
  color: var(--palette5);
  margin-bottom: 15px;
  padding: 0 16px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 10px 30px;
  background: var(--btn-bg);
  color: var(--btn-color);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--btn-bg);
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
  background: transparent;
  color: var(--btn-bg);
  border: 2px solid var(--btn-bg);
}

.btn-outline:hover {
  background: var(--btn-bg);
  color: var(--btn-color);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline-white:hover {
  background: #fff;
  color: #000;
}

.btn-sm { padding: 8px 24px; font-size: 12px; }

/* --- Workshop (Alternating Image+Text) --- */
.workshop-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.workshop-row:last-child { margin-bottom: 0; }

.workshop-row.reverse .workshop-image { order: 2; }
.workshop-row.reverse .workshop-content { order: 1; }

.workshop-image {
  overflow: hidden;
  border-radius: 10px;
  position: relative;
}

.workshop-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.workshop-image:hover img { transform: scale(1.05); }

/* Shine effect */
.workshop-image::before {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  z-index: 2;
  width: 50%; height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  opacity: 0;
  pointer-events: none;
}

.workshop-image:hover::before {
  animation: shine 0.75s;
  opacity: 1;
}

@keyframes shine {
  100% { left: 125%; }
}

.workshop-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--palette5);
  margin-bottom: 0.5em;
}

.workshop-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 0.5em;
  font-weight: 400;
}

.workshop-text {
  font-size: 15px;
  color: var(--palette5);
  line-height: 1.7;
  margin-bottom: 1.5em;
}

/* --- Testimonials --- */
.testimonials-section {
  padding: 80px 0;
  background: var(--palette4);
  color: #fff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  text-align: center;
  padding: 30px 20px;
}

.testimonial-name {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-text {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin-bottom: 15px;
}

.testimonial-icon {
  font-size: 24px;
  color: rgba(255,255,255,0.3);
}

/* --- Team / Planners --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.team-card { text-align: center; }

.team-image {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
  position: relative;
}

.team-image img {
  width: 100%;
  transition: transform 0.5s ease;
}

.team-card:hover .team-image img { transform: scale(1.03); }

.team-social {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: all 0.5s ease;
}

.team-card:hover .team-social {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.team-social a {
  width: 48px; height: 48px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--palette1);
  font-size: 14px;
}

.team-name {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 4px;
  font-weight: 400;
}

.team-role {
  font-size: 13px;
  color: var(--palette5);
  text-transform: capitalize;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 120px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.cta-banner-bg {
  background-image: url('/site/images/slider-01.jpg');
}

@media screen and (max-width: 768px) {
  .cta-banner-bg {
    background-image: url('/site/images/slider-01-800w.webp');
  }
}

@media screen and (min-width: 1025px) {
  .cta-banner { background-attachment: fixed; }
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.cta-banner .container { position: relative; z-index: 2; }

.cta-banner .section-label { color: rgba(255,255,255,0.7); }
.cta-banner .section-title { color: #fff; }

/* --- Counters / Stats --- */
.stats-section {
  padding: 80px 0;
  background: var(--palette4);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.7);
}

/* --- Contact Form --- */
.form-section { padding: 80px 0; }

.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--palette6);
  border-radius: 0;
  background: var(--palette7);
  color: var(--palette1);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus { border-color: var(--palette1); }

.form-group textarea { min-height: 150px; resize: vertical; }

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--palette6); }

/* --- FAQ --- */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.accordion-item {
  border: 1px solid var(--palette6);
  margin-bottom: 15px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--palette1);
}

.accordion-header::after {
  content: '+';
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-body-inner {
  padding: 0 20px 15px;
  font-size: 14px;
  color: var(--palette5);
  line-height: 1.7;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
}

/* Video play button */
.play-button-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
}

.play-button {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--palette1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s;
  background: transparent;
  cursor: pointer;
}

.play-button:hover { transform: scale(1.1); }

.play-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--palette1);
  animation: btnRipple 2s cubic-bezier(0.23, 1, 0.32, 1) both infinite;
}

@keyframes btnRipple {
  0% { border-width: 4px; transform: scale(1); }
  80% { border-width: 1px; transform: scale(1.35); }
  100% { opacity: 0; }
}

.play-button svg { width: 20px; height: 20px; fill: var(--palette1); }

/* --- Blog Grid --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card { }

.blog-card-image {
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 15px;
}

.blog-card-image img {
  width: 100%;
  aspect-ratio: 16/5;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.05); }

.blog-card-meta {
  font-size: 12px;
  color: var(--palette5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.blog-card-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

.blog-card-title a { color: var(--palette1); }
.blog-card-title a:hover { color: var(--palette5); }

.blog-card-excerpt {
  font-size: 14px;
  color: var(--palette5);
  line-height: 1.6;
  margin-bottom: 15px;
}

.read-more {
  font-size: 13px;
  text-transform: uppercase;
  text-decoration: underline;
  color: var(--palette1);
  letter-spacing: 1px;
}

.read-more:hover { color: var(--palette5); }

/* --- Google Map --- */
.map-section iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
}

/* --- Icon Box (Services) --- */
.icon-box {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.icon-box-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  background: var(--palette4);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
}

.icon-box-content h3 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 400;
}

.icon-box-content p {
  font-size: 14px;
  color: var(--palette5);
  line-height: 1.6;
}

/* --- Page Header / Breadcrumb --- */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--palette4);
  color: #fff;
}

.page-header .page-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: #fff; }

/* --- Single Blog Post --- */
.post-featured-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.post-featured-image img {
  width: 100%;
  aspect-ratio: 16/5;
  object-fit: cover;
}

.post-content {
  max-width: 800px;
  margin: 0 auto;
}

.post-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--palette5);
  margin-bottom: 1.5em;
}

.post-meta {
  font-size: 13px;
  color: var(--palette5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.post-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 20px;
  font-weight: 400;
}

/* --- Sidebar --- */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.sidebar .widget {
  margin-bottom: 30px;
}

.sidebar .widget-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 400;
}

.sidebar .search-widget input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--palette6);
  font-size: 14px;
}

.sidebar ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--palette6);
}

.sidebar ul li a {
  font-size: 14px;
  color: var(--palette5);
}

.sidebar ul li a:hover { color: var(--palette1); }

/* --- Pagination --- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; height: 48px;
  padding: 0 12px;
  border: 1px solid var(--palette6);
  font-size: 14px;
  transition: all 0.2s;
}

.pagination a:hover, .pagination .current {
  background: var(--palette1);
  color: #fff;
  border-color: var(--palette1);
}

/* --- Footer --- */
.site-footer {
  background: var(--palette4);
  color: var(--palette9);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-widget h4 {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 400;
}

.footer-widget p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.footer-widget ul li {
  margin-bottom: 8px;
}

.footer-widget ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}

.footer-widget ul li a:hover { color: #fff; }

/* Footer gallery */
.footer-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer-gallery img {
  border-radius: 5px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: all 0.3s ease;
}

.footer-gallery img:hover { transform: scale(1.05); opacity: 0.9; }

/* Newsletter */
.newsletter-form {
  display: flex;
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 50px;
}

.newsletter-form input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 14px;
  padding: 0 40px 0 0;
  outline: none;
}

.newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,0.5); }

.newsletter-form button {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0 10px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: all 0.2s;
  font-size: 16px;
}

.footer-social a:hover {
  color: #fff;
  border-color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* --- Coming Soon --- */
.coming-soon-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.coming-soon-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.coming-soon-page .container { position: relative; z-index: 2; color: #fff; }

/* --- Error 404 --- */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page img { max-width: 400px; margin: 0 auto 30px; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Icon bounce */
.bounce-icon {
  animation: mover 1s infinite alternate;
}

@keyframes mover {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-30 { margin-bottom: 30px; }
.mb-60 { margin-bottom: 60px; }

/* --- Events page --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.event-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover img { transform: scale(1.05); }

.event-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
}

.event-card-title {
  font-family: 'Nanum Myeongjo', serif;
  font-size: 20px;
  font-weight: 400;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
  .desktop-header { display: none; }
  .mobile-header { display: block; }

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

  .mobile-logo img { height: 50px; width: auto; }

  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .workshop-row { gap: 30px; }
  .faq-layout { grid-template-columns: 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
  .workshop-row { grid-template-columns: 1fr; }
  .workshop-row.reverse .workshop-image { order: 0; }
  .workshop-row.reverse .workshop-content { order: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .hero-slider .slide { min-height: 70vh; }
  .hero-slider .slide img,
  .hero-slider .slide .slide-video { height: 70vh; }

  .section { padding: 50px 0; }
  .page-header { padding: 120px 0 50px; }
}

@media screen and (max-width: 480px) {
  .slide-subtitle { font-size: 11px; letter-spacing: 3px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}


/* --- Language Switcher (minimalist) --- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 8px 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
  min-width: 32px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover { opacity: 1; }

.lang-btn.active {
  font-weight: 600;
}

.lang-divider {
  font-size: 11px;
  font-weight: 300;
  user-select: none;
}

/* Desktop - hero (dark bg): gold tones */
.lang-switcher-desktop { margin-right: 14px; }
.lang-switcher-desktop .lang-btn { color: #c8a97e; }
.lang-switcher-desktop .lang-btn.active { color: #e2c9a0; }
.lang-switcher-desktop .lang-divider { color: #9e8a6e; }

/* Desktop - scrolled (light bg): dark tones */
.site-header.scrolled .lang-switcher-desktop .lang-btn { color: #666; }
.site-header.scrolled .lang-switcher-desktop .lang-btn.active { color: #000; }
.site-header.scrolled .lang-switcher-desktop .lang-divider { color: #999; }

/* Desktop - page-header pages (light bg): dark tones */
body.has-page-header .lang-switcher-desktop .lang-btn { color: #666; }
body.has-page-header .lang-switcher-desktop .lang-btn.active { color: #000; }
body.has-page-header .lang-switcher-desktop .lang-divider { color: #999; }

/* Mobile header - hero (dark bg): gold tones */
.lang-switcher-mobile { margin-right: 8px; }
.lang-switcher-mobile .lang-btn { color: #c8a97e; font-size: 10px; }
.lang-switcher-mobile .lang-btn.active { color: #e2c9a0; }
.lang-switcher-mobile .lang-divider { color: #9e8a6e; font-size: 10px; }

/* Mobile header - scrolled (light bg): dark tones */
.site-header.scrolled .lang-switcher-mobile .lang-btn { color: #666; }
.site-header.scrolled .lang-switcher-mobile .lang-btn.active { color: #000; }
.site-header.scrolled .lang-switcher-mobile .lang-divider { color: #999; }

/* Mobile header - page-header pages (light bg): dark tones */
body.has-page-header .lang-switcher-mobile .lang-btn { color: #666; }
body.has-page-header .lang-switcher-mobile .lang-btn.active { color: #000; }
body.has-page-header .lang-switcher-mobile .lang-divider { color: #999; }

/* Drawer (dark bg): gold tones */
.lang-switcher-drawer {
  justify-content: center;
  padding: 1.5em 0 0;
  margin-top: 1em;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.lang-switcher-drawer .lang-btn { color: #c8a97e; font-size: 12px; }
.lang-switcher-drawer .lang-btn.active { color: #e2c9a0; }
.lang-switcher-drawer .lang-divider { color: #9e8a6e; font-size: 12px; }

/* Instagram gallery hover overlay */
a[href*="instagram"]:hover > div[style*="opacity:0"] { opacity: 1 !important; }

/* (c) 2025 Sonia Pasten Planner - Todos los derechos reservados */
