/* ================================================
   GETXO EN PINTURAS — Main Stylesheet
   ================================================ */

/* --- Custom Properties --- */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C3E6B;
  --navy-dark: #0F1A2E;
  --gold: #C8A96E;
  --gold-light: #D4BC8A;
  --gold-dark: #A8894E;
  --cream: #F5F0E8;
  --cream-dark: #EDE6D8;
  --warm-white: #FAF8F4;
  --white: #FFFFFF;
  --text-dark: #1B2A4A;
  --text-body: #3A3A3A;
  --text-light: #6B6B6B;
  --shadow-soft: 0 4px 20px rgba(27, 42, 74, 0.1);
  --shadow-medium: 0 8px 30px rgba(27, 42, 74, 0.15);
  --shadow-strong: 0 12px 40px rgba(27, 42, 74, 0.2);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1280px;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text-body);
  background-color: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

.script-text {
  font-family: 'Great Vibes', cursive;
  color: var(--gold);
}

.section-label {
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--cream {
  background-color: var(--cream);
}

.section--navy {
  background-color: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--white);
}

.section--navy .section-label {
  color: var(--gold-light);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
  align-items: center;
}

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  height: 52px;
  line-height: 1;
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
  box-sizing: border-box;
}

.btn--primary {
  background-color: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}

.btn--primary:hover {
  background-color: var(--navy-light);
  border-color: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

.btn--outline:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--gold {
  background-color: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn--gold:hover {
  background-color: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn--white {
  background-color: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.btn--white:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.8rem;
  height: 38px;
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(27, 42, 74, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-medium);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 70px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.header__logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
}

.header__logo-sub {
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
}


.nav__list {
  display: flex;
  gap: 1.8rem;
}

.nav__link {
  font-family: 'Lora', serif;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

/* Dropdown Styles */
.nav__item--dropdown {
  position: relative;
}

.nav__link--parent {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav__dropdown-arrow {
  transition: transform var(--transition);
  flex-shrink: 0;
  transform: rotate(0deg);
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background: rgba(27, 42, 74, 0.98);
  border: 1px solid rgba(200, 169, 110, 0.2);
  border-radius: var(--radius-md);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition);
  list-style: none;
  z-index: 1001;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav__item--dropdown:hover .nav__submenu,
.nav__item--dropdown.open .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__link--sub {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  border-bottom: 1px solid rgba(200, 169, 110, 0.1);
  transition: background var(--transition);
}

.nav__link--sub:last-child {
  border-bottom: none;
}

.nav__link--sub:hover {
  background: rgba(200, 169, 110, 0.1);
  color: var(--white);
}

.nav__link--sub::after {
  display: none;
}

.header__social {
  display: flex;
  gap: 1rem;
}

.header__social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: color var(--transition);
}

.header__social a:hover {
  color: var(--gold);
}

/* Language Switcher */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 0.75rem;
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 50%;
  transition: all var(--transition);
}

.lang-switch__link .flag-icon {
  border-radius: 50%;
  overflow: hidden;
  display: block;
  opacity: 0.55;
  transition: all var(--transition);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lang-switch__link:hover .flag-icon {
  opacity: 0.85;
  transform: scale(1.08);
}

.lang-switch__link.is-active .flag-icon {
  opacity: 1;
  transform: scale(1.15);
  box-shadow: 0 0 0 2px var(--gold);
}

/* Mobile Menu Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px;
}

.hero--short {
  min-height: 85vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2C3E6B 0%, #4A6491 30%, #8BA4C4 50%, #C8A96E 70%, #E8D5B0 90%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 2rem;
}

.hero__content--right {
  margin-left: auto;
  margin-right: 5%;
}

.hero__content--center {
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero .script-text {
  font-size: clamp(1.8rem, 4vw, 3rem);
  display: block;
  margin-bottom: 1.2rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
  max-width: 420px;
}

.hero__content--center p {
  margin-left: auto;
  margin-right: auto;
}

.hero__content--center p {
  margin: 0 auto 2rem;
}

/* --- Map Section --- */
.map-section {
  position: relative;
  overflow: hidden;
}

.map-section__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
}

.map-section__info h2 {
  margin-bottom: 0.3rem;
}

.map-section__info h3 {
  color: var(--text-light);
  font-weight: 400;
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.map-section__info p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.map-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.map-container__image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #d4cfc5 0%, #c8c2b5 30%, #beb8a8 60%, #e0d9c8 100%);
  position: relative;
}

.map-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform var(--transition);
}

.map-marker:hover {
  transform: scale(1.1);
}

.map-marker__dot {
  width: 16px;
  height: 16px;
  background: var(--navy);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.map-marker__label {
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-top: 4px;
  white-space: nowrap;
  font-family: 'Lora', serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Featured Place / Lugar Destacado --- */
.featured-place {
  position: relative;
}

.featured-place__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.featured-place__nav-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
}

.featured-place__arrows {
  display: flex;
  gap: 0.5rem;
}

.featured-place__arrow {
  width: 40px;
  height: 40px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
}

.featured-place__arrow:hover {
  background: var(--navy);
  color: var(--white);
}

.featured-place__content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  background: var(--white);
}

.featured-place__image {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.featured-place__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-place__image:hover img {
  transform: scale(1.05);
}

.featured-place__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a5a8a 0%, #6a8ab4 40%, #c8a96e 80%, #e8d5b0 100%);
}

.featured-place__info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-place__title {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}

.featured-place__name {
  margin-bottom: 1rem;
}

.featured-place__desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.featured-place__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--cream);
}

.featured-place__meta-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.featured-place__meta-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

/* --- Book Section --- */
.book-section {
  position: relative;
  overflow: hidden;
}

.book-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.book-section__content {
  text-align: center;
}

.book-section__content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.book-section__content p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.book-section__image {
  position: relative;
}

.book-section__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(145deg, #2c3e6b 0%, #4a6491 30%, #c8a96e 60%, #f5f0e8 100%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

/* --- Gallery --- */
.gallery {
  display: grid;
  gap: 1.5rem;
}

.gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.gallery__item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-placeholder {
  width: 100%;
  aspect-ratio: 1;
}

.gallery__item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(27, 42, 74, 0.85));
  color: var(--white);
  transform: translateY(100%);
  transition: transform var(--transition);
}

.gallery__item:hover .gallery__item-overlay {
  transform: translateY(0);
}

.gallery__item-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.gallery__item-overlay p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- About / Artist Section --- */
.artist-section__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.artist-section__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.artist-section__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #8ba4c4 0%, #c8a96e 50%, #e8d5b0 100%);
}

.artist-section__content h2 {
  margin-bottom: 1rem;
}

.artist-section__content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.signature {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;
  color: var(--navy);
  margin-top: 1rem;
}

/* Nombre del autor del libro — fuente propia y distinta */
.signature--author {
  font-family: 'Parisienne', cursive;
  letter-spacing: 0.5px;
}

/* --- Process Steps --- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 1.5rem;
}

.process-step__image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-soft);
}

.process-step__image-placeholder {
  width: 100%;
  height: 100%;
}

.process-step__number {
  font-family: 'Playfair Display', serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* --- Quote Section --- */
.quote-section {
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.quote-section blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--navy);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
  position: relative;
  padding: 0 2rem;
}

.quote-section blockquote::before,
.quote-section blockquote::after {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  position: absolute;
  line-height: 1;
}

.quote-section blockquote::before {
  content: '\201C';
  top: -0.5rem;
  left: -1rem;
}

.quote-section blockquote::after {
  content: '\201D';
  bottom: -1.5rem;
  right: -1rem;
}

.quote-section .signature {
  margin-top: 1.5rem;
  text-align: center;
}

/* --- CTA Section --- */
.cta-section {
  padding: 4rem 0;
  text-align: center;
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  overflow: hidden;
  position: relative;
}

.cta-section__content {
  text-align: left;
  color: var(--white);
}

.cta-section__content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section__content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-section__image {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cta-section__image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2c3e6b, #c8a96e);
  border-radius: var(--radius-md);
}

/* --- Contact / Expositions --- */
.contact-section__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.contact-card h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Book Features List --- */
.book-features {
  margin: 2rem 0;
}

.book-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.book-feature__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

.book-feature p {
  font-size: 0.95rem;
  color: var(--text-body);
}

.book-feature strong {
  color: var(--navy);
}

/* --- Comparison Slider --- */
.comparison {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  aspect-ratio: 16/9;
}

.comparison__before,
.comparison__after {
  position: absolute;
  inset: 0;
}

.comparison__before-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a5a8a 0%, #6a8ab4 50%, #8ba4c4 100%);
}

.comparison__after-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #88a4c0 0%, #b0c4d8 50%, #d4dce4 100%);
}

.comparison__label {
  position: absolute;
  bottom: 1rem;
  background: rgba(27, 42, 74, 0.8);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.comparison__label--left {
  left: 1rem;
}

.comparison__label--right {
  right: 1rem;
}

/* --- Inspiration Grid --- */
.inspiration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.inspiration-grid__text h3 {
  margin-bottom: 1rem;
}

.inspiration-grid__text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.inspiration-grid__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.inspiration-grid__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.inspiration-grid__image-placeholder {
  width: 100%;
  aspect-ratio: 1;
}

/* --- Footer --- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 1.5rem;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand .header__logo {
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  max-width: 250px;
  line-height: 1.6;
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer__col ul li {
  margin-bottom: 0.6rem;
}

.footer__col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer__col ul li a:hover {
  color: var(--gold);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200, 169, 110, 0.1);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Watercolor Decorative Elements --- */
.watercolor-edge {
  position: relative;
}

.watercolor-edge::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(200, 169, 110, 0.08) 30%,
    rgba(200, 169, 110, 0.15) 50%,
    rgba(200, 169, 110, 0.08) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.watercolor-divider {
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--gold-light) 20%,
    var(--gold) 50%,
    var(--gold-light) 80%,
    transparent 100%
  );
  margin: 0 auto;
  max-width: 200px;
  border-radius: 2px;
  opacity: 0.5;
}

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

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

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

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

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

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

/* --- Image Placeholder Colors (for demo) --- */
.placeholder--1 { background: linear-gradient(135deg, #2c3e6b 0%, #6a8ab4 50%, #c8a96e 100%); }
.placeholder--2 { background: linear-gradient(135deg, #8ba4c4 0%, #c8a96e 50%, #e8d5b0 100%); }
.placeholder--3 { background: linear-gradient(135deg, #3a5a8a 0%, #a8c4e0 50%, #f5f0e8 100%); }
.placeholder--4 { background: linear-gradient(135deg, #c8a96e 0%, #e8d5b0 50%, #f5f0e8 100%); }
.placeholder--5 { background: linear-gradient(135deg, #1b2a4a 0%, #4a6491 50%, #8ba4c4 100%); }
.placeholder--6 { background: linear-gradient(145deg, #4a6491 0%, #8ba4c4 30%, #c8a96e 70%, #e8d5b0 100%); }
.placeholder--7 { background: linear-gradient(160deg, #2c3e6b 0%, #6a8ab4 40%, #d4bc8a 100%); }
.placeholder--8 { background: linear-gradient(120deg, #5a7a9a 0%, #8ba4c4 50%, #c8a96e 100%); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .map-section__inner { grid-template-columns: 1fr; }
  .book-section__inner { grid-template-columns: 1fr; }
  .artist-section__inner { grid-template-columns: 1fr; }
  .featured-place__content { grid-template-columns: 1fr; }
  .inspiration-grid { grid-template-columns: 1fr; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .contact-section__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    padding: 5rem 2rem 2rem;
    transition: right var(--transition);
    z-index: 999;
  }

  .nav.open {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 1.2rem;
  }

  .nav__link {
    font-size: 0.9rem;
  }

  .header__social { display: none; }

  .hero { min-height: 80vh; }
  .hero--short { min-height: 60vh; }
  .hero__content { padding: 0 1.5rem; }

  .section { padding: 3.5rem 0; }
  .container { padding: 0 1.2rem; }

  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }

  .gallery--4,
  .gallery--3 { grid-template-columns: repeat(2, 1fr); }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }

  .featured-place__info { padding: 1.5rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  .cta-section__inner { padding: 2rem; }

  .quote-section blockquote { padding: 0 1rem; }
}

@media (max-width: 480px) {
  html { font-size: 15px; }

  .gallery--4,
  .gallery--3 { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  .inspiration-grid__images { grid-template-columns: 1fr; }

  .btn { padding: 0.75rem 1.5rem; font-size: 0.8rem; }
}

/* --- Book page hero variant --- */
.hero--libro .hero__content {
  max-width: 500px;
}

.hero--libro .hero__bg-placeholder {
  background: linear-gradient(135deg, #1b2a4a 0%, #2c3e6b 30%, #4a6491 60%, #c8a96e 100%);
}

/* --- About page hero variant --- */
.hero--about .hero__bg-placeholder {
  background: linear-gradient(135deg, #c8a96e 0%, #d4bc8a 30%, #e8d5b0 50%, #8ba4c4 80%, #4a6491 100%);
}

.hero--about .hero__content {
  max-width: 550px;
}

/* --- Book Preview Grid --- */
.book-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.book-preview-grid__item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.book-preview-grid__item-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
}

/* --- Sobre el libro grid --- */
.about-book__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* --- Obras Destacadas --- */
.obras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.obra-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
}

.obra-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.obra-card__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.obra-card__image-placeholder {
  width: 100%;
  height: 100%;
}

.obra-card__info {
  padding: 1rem;
}

.obra-card__info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.obra-card__info p {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 1024px) {
  .obras-grid { grid-template-columns: repeat(2, 1fr); }
  .about-book__inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .obras-grid { grid-template-columns: 1fr; }
  .book-preview-grid { grid-template-columns: 1fr; }
}

/* --- Nav Overlay for Mobile --- */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
}

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

/* --- Blog --- */
.section {
  position: relative;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.blog-card__image {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-light) 100%);
  flex-shrink: 0;
}

.blog-card__image img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.08);
}

.blog-card__video-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(200, 169, 110, 0.95);
  color: var(--navy-dark);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 10;
}

.blog-card__video-badge svg {
  width: 14px;
  height: 14px;
}

.blog-card__content {
  padding: 1.6rem 1.8rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.blog-card__meta a {
  color: var(--gold);
  font-weight: 600;
}

.blog-card__meta a:hover {
  color: var(--gold-dark);
}

.blog-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  line-height: 1.35;
  font-family: 'Lora', serif;
  font-weight: 700;
}

.blog-card__title a {
  color: var(--navy);
}

.blog-card__title a:hover {
  color: var(--gold);
}

.blog-card__excerpt {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card__btn-wrapper {
  margin-top: auto;
}

.page-content {
  display: flow-root;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.page-content p {
  margin-bottom: 1.2rem;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.page-content blockquote {
  border-left: 4px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-light);
}

@media (max-width: 600px) {
  .page-content img {
    float: none !important;
    margin: 1rem auto !important;
    display: block;
  }
}

/* --- Screen Reader Text (WordPress Accessibility) --- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* --- Pagination Styles --- */
.navigation.pagination {
  margin: 2rem 0 1rem;
}

.navigation.pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.8rem;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(27, 42, 74, 0.08);
  box-shadow: var(--shadow-soft);
  transition: all var(--transition);
  text-decoration: none;
}

.navigation.pagination .page-numbers:hover {
  color: var(--gold-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
}

.navigation.pagination .page-numbers.current {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.navigation.pagination .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: var(--text-light);
  cursor: default;
}

.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
  border-radius: var(--radius-md);
  min-width: auto;
  padding: 0 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* --- Leaflet Map --- */
#gepMap { position: relative; }
.gep-map-pin { background: none !important; border: none !important; }
.gep-popup .leaflet-popup-content-wrapper {
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(27,42,74,0.2);
  padding: 4px;
}
.gep-popup .leaflet-popup-tip { border-top-color: #fff; }
.gep-popup .leaflet-popup-content { margin: 8px; }

/* --- Mobile Centering & Button Equalization --- */
@media (max-width: 768px) {
  /* Center text, headers, and labels in stacked layout blocks */
  .hero__content,
  .about-book__inner,
  .inspiration-grid__text,
  .artist-section__content,
  .cta-section__content,
  .book-section__content,
  .contact-card,
  .section-label {
    text-align: center !important;
  }

  /* Center the signature graphics */
  .signature {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Center horizontal layouts that act as button containers */
  .hero__content div[style*="display: flex"],
  .artist-section__content div[style*="display: flex"],
  .cta-section__content div[style*="display: flex"],
  .book-section__content div[style*="display: flex"],
  .featured-place__info div[style*="display: flex"],
  .about-book__inner div[style*="display: flex"] {
    justify-content: center !important;
    align-items: center !important;
    width: 100%;
  }

  /* Unify button sizes and styles to prevent small/large visual mismatches */
  .btn {
    display: inline-flex !important;
    width: auto !important;
    min-width: 220px;
    justify-content: center;
    align-self: center !important;
    padding: 0.85rem 2rem !important;
    font-size: 0.9rem !important;
  }
}

@media (max-width: 480px) {
  /* Stack buttons vertically on small mobile devices and make them full width */
  .hero__content div[style*="display: flex"],
  .artist-section__content div[style*="display: flex"],
  .cta-section__content div[style*="display: flex"],
  .book-section__content div[style*="display: flex"],
  .featured-place__info div[style*="display: flex"],
  .about-book__inner div[style*="display: flex"] {
    flex-direction: column !important;
    gap: 0.8rem !important;
  }

  .btn {
    width: 100% !important;
    min-width: 100% !important;
  }
}

/* --- Modal Details Popup --- */
.gep-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.gep-modal.active {
  display: flex;
}

.gep-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 26, 46, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gep-modal__content {
  position: relative;
  z-index: 10;
  background: var(--white);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: modalFadeIn 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.gep-modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.2rem;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 12;
  line-height: 1;
  transition: color var(--transition);
}

.gep-modal__close:hover {
  color: var(--gold);
}

.gep-modal__body {
  padding: 3rem 2.5rem;
}

.gep-modal__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.gep-modal__image-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.gep-modal__image-wrap img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.gep-modal__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
}

.gep-modal__text p {
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .gep-modal {
    padding: 1rem;
  }
  .gep-modal__body {
    padding: 2rem 1.5rem;
  }
  .gep-modal__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Amazon Logo Image Styles --- */
.amazon-logo-img {
  height: 20px;
  width: auto;
  vertical-align: middle;
  margin-left: 8px;
  display: inline-block;
  flex-shrink: 0;
  transition: transform var(--transition);
}

.btn:hover .amazon-logo-img {
  transform: scale(1.05);
}

.btn--gold .amazon-logo-img {
  /* Invert to pure white logo to contrast against gold background */
  filter: brightness(0) invert(1);
}

.btn--white .amazon-logo-img {
  /* Keep default brand colors (black text + orange smile) */
}

/* --- Toast Notification --- */
.gep-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  box-shadow: var(--shadow-strong);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: 1px solid var(--gold);
}

.gep-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --- Collaborators Page --- */
.hero--colaboradores {
  min-height: 60vh;
}

.hero--colaboradores .hero__overlay {
  background: rgba(15, 26, 46, 0.85);
}

.hero__decorative-elements {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  opacity: 0.05;
  border-radius: 50%;
}

.hero__shape--1 {
  width: 300px;
  height: 300px;
  background: var(--gold);
  top: -100px;
  right: -50px;
  animation: float 8s ease-in-out infinite;
}

.hero__shape--2 {
  width: 200px;
  height: 200px;
  background: var(--gold-light);
  bottom: -50px;
  left: 5%;
  animation: float 10s ease-in-out infinite 2s;
}

.hero__shape--3 {
  width: 150px;
  height: 150px;
  background: var(--gold);
  top: 50%;
  left: -30px;
  animation: float 12s ease-in-out infinite 4s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(30px); }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.colab-grid {
  max-width: 960px;
  margin: 0 auto;
  gap: 2.5rem;
}

.colab-card {
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrar elementos horizontalmente */
  text-align: center; /* Centrar textos */
  justify-content: space-between;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1), box-shadow 0.4s ease, border-color 0.4s ease, background-color 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.colab-card--gold {
  border: 1px solid rgba(200, 169, 110, 0.3);
}

.colab-card--navy {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.colab-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.colab-card--gold:hover {
  background-color: rgba(200, 169, 110, 0.08);
  border-color: var(--gold);
}

.colab-card--navy:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.colab-card__icon-wrapper {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.18) 0%, rgba(200, 169, 110, 0.03) 100%);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.1);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.colab-card:hover .colab-card__icon-wrapper {
  transform: scale(1.12);
  background: radial-gradient(circle, rgba(200, 169, 110, 0.3) 0%, rgba(200, 169, 110, 0.08) 100%);
}

.colab-card h3 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1.6rem;
  font-family: 'Playfair Display', serif;
}

.colab-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.colab-card__features {
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  text-align: left;
}

.colab-card__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.colab-card__features span.check {
  color: var(--gold);
  font-weight: bold;
}

/* --- Benefits Section --- */
.colab-benefits-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 2px solid rgba(200, 169, 110, 0.2);
}

.colab-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.benefit-item {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03); /* Transparente oscuro profesional */
  border: 1px solid rgba(255, 255, 255, 0.08); /* Borde sutil */
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(255, 255, 255, 0.15);
}

.benefit-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.18) 0%, rgba(200, 169, 110, 0.03) 100%);
  color: var(--gold);
  border: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: 0 8px 24px rgba(200, 169, 110, 0.1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.08);
  background: radial-gradient(circle, rgba(200, 169, 110, 0.3) 0%, rgba(200, 169, 110, 0.08) 100%);
}

.benefit-item h4 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.benefit-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --- Testimonials Section --- */
.section--formulario {
  background: var(--warm-white);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonio-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.testimonio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.testimonio-card:hover::before {
  transform: scaleX(1);
}

.testimonio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.05);
}

.testimonio-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonio-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.8;
}

.testimonio-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.testimonio-author strong {
  color: var(--white);
  font-weight: 600;
}

.testimonio-author span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Form section styling */
.colab-form-container {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4rem 3.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.colab-form-container:hover {
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.15);
}

.colab-form-enhanced {
  background: transparent;
}

.form-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.form-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.colab-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.colab-field-group {
  margin-bottom: 1.5rem;
}

.colab-field-row .colab-field-group {
  margin-bottom: 0;
}

.colab-field-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.colab-input,
.colab-select,
.colab-textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  position: relative;
}

.colab-input::placeholder,
.colab-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-family: sans-serif;
  font-size: 0.9rem;
  opacity: 0.6;
}

.colab-input:focus,
.colab-select:focus,
.colab-textarea:focus {
  outline: none;
  background: rgba(0, 0, 0, 0.4);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 169, 110, 0.2);
  transform: translateY(-2px);
}

.colab-input:hover,
.colab-select:hover,
.colab-textarea:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.3);
}

.colab-select {
  cursor: pointer;
  appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C8A96E' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

.colab-submit-btn {
  width: 100%;
  padding: 1.1rem;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-top: 1rem;
  background: var(--gold);
  color: var(--navy);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
  border: none;
}

.colab-submit-btn:hover {
  transform: translateY(-3px);
  background: var(--gold-light);
  box-shadow: 0 12px 30px rgba(200, 169, 110, 0.3);
}

@media (max-width: 1024px) {
  .colab-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .colab-card {
    padding: 2.5rem 1.8rem;
  }
  .colab-form-container {
    padding: 3rem 2rem;
  }
  .colab-field-row {
    grid-template-columns: 1fr;
  }
  .colab-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .testimonios-grid {
    grid-template-columns: 1fr;
  }
  .hero__shape {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero--colaboradores {
    min-height: 50vh;
  }
  .colab-card {
    padding: 2rem 1.5rem;
  }
  .colab-submit-btn {
    padding: 0.9rem;
    font-size: 0.85rem;
  }
}

/* --- Language Switch Dropdown --- */
.lang-switch-dropdown {
  position: relative;
  display: inline-block;
  z-index: 100;
  margin-left: 1rem;
}

.lang-switch-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all var(--transition);
}

.lang-switch-trigger:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
}

.lang-switch-trigger .flag-icon {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.lang-switch-current-label {
  letter-spacing: 0.5px;
}

.dropdown-arrow {
  transition: transform var(--transition);
}

.lang-switch-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.lang-switch-options {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #1B2A4A; /* matching the dark header */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-strong);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
  min-width: 140px;
  overflow: hidden;
}

.lang-switch-dropdown:hover .lang-switch-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.7rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  font-family: 'Playfair Display', serif;
  text-decoration: none;
  transition: all var(--transition);
}

.lang-switch-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
}

.lang-switch-option .flag-icon {
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.lang-switch-option .lang-label {
  font-weight: 500;
}

/* --- Mobile Navigation Social Icons --- */
.nav__social-mobile {
  display: none;
}

@media (max-width: 768px) {
  .nav__social-mobile {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
  }
  .nav__social-mobile a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition);
  }
  .nav__social-mobile a:hover {
    color: var(--gold);
  }
}

/* --- Visitor Counter --- */
.footer__visitor-counter {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
  .footer__visitor-counter {
    margin-top: 0;
  }
}

.visitor-counter__badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(200, 169, 110, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
}

.visitor-counter__badge:hover {
  background: rgba(250, 248, 244, 0.1);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(200, 169, 110, 0.15);
}

.visitor-counter__icon {
  color: var(--gold);
}

.visitor-counter__label {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.visitor-counter__count {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.9rem;
}

/* --- Pagination --- */
.wp-pagenavi,
.navigation.pagination,
.posts-navigation {
  text-align: center;
  margin-top: 4rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Playfair Display', serif;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(200, 169, 110, 0.2);
  color: var(--navy);
  background: transparent;
}

.page-numbers a {
  color: var(--navy);
  border-color: rgba(200, 169, 110, 0.2);
}

.page-numbers a:hover {
  background: rgba(200, 169, 110, 0.1);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 169, 110, 0.15);
}

.page-numbers.current {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--navy-dark);
  border-color: var(--gold);
  font-weight: 700;
  min-width: 42px;
  cursor: default;
  box-shadow: 0 4px 15px rgba(200, 169, 110, 0.25);
}

.page-numbers.current:hover {
  transform: none;
}

.page-numbers.dots {
  border: none;
  color: var(--text-light);
  cursor: default;
}

.page-numbers.dots:hover {
  background: transparent;
  border: none;
  transform: none;
  box-shadow: none;
}

.page-numbers.prev,
.page-numbers.next {
  min-width: auto;
  padding: 0 1rem;
  font-size: 1.1rem;
}

.page-numbers.prev:before {
  content: '‹ ';
  margin-right: 0.5rem;
}

.page-numbers.next:after {
  content: ' ›';
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .page-numbers {
    gap: 0.3rem;
  }

  .page-numbers a,
  .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 0.85rem;
    padding: 0 0.3rem;
  }
}

/* ========================
   Page Views Counter Popup
   ======================== */
.page-views-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, rgba(27, 42, 74, 0.95) 100%);
  border: 1px solid rgba(200, 169, 110, 0.3);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  z-index: 999;
  animation: slideUp 0.5s ease-out;
  color: white;
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.page-views-popup__content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
}

.page-views-popup__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(200, 169, 110, 0.15);
  border-radius: 6px;
  color: var(--gold);
  flex-shrink: 0;
}

.page-views-popup__icon svg {
  width: 16px;
  height: 16px;
}

.page-views-popup__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.page-views-popup__number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.page-views-popup__label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-views-popup__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.page-views-popup__close:hover {
  color: white;
}

.page-views-popup__close svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1024px) {
  .page-views-popup {
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.7rem 0.9rem;
  }

  .page-views-popup__number {
    font-size: 1.15rem;
  }

  .page-views-popup__label {
    font-size: 0.62rem;
  }
}

@media (max-width: 768px) {
  .page-views-popup {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 0.75rem;
    max-width: 90px;
  }

  .page-views-popup__content {
    gap: 0.5rem;
  }

  .page-views-popup__icon {
    width: 26px;
    height: 26px;
  }

  .page-views-popup__icon svg {
    width: 13px;
    height: 13px;
  }

  .page-views-popup__info {
    gap: 0.1rem;
  }

  .page-views-popup__number {
    font-size: 1rem;
  }

  .page-views-popup__label {
    font-size: 0.55rem;
    white-space: nowrap;
  }

  .page-views-popup__close {
    padding: 0.3rem;
    margin-left: 0.3rem;
  }

  .page-views-popup__close svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .page-views-popup {
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.5rem 0.6rem;
    max-width: 80px;
  }

  .page-views-popup__content {
    gap: 0.4rem;
  }

  .page-views-popup__icon {
    width: 24px;
    height: 24px;
  }

  .page-views-popup__icon svg {
    width: 12px;
    height: 12px;
  }

  .page-views-popup__number {
    font-size: 0.9rem;
  }

  .page-views-popup__label {
    font-size: 0.5rem;
  }

  .page-views-popup__close {
    padding: 0.25rem;
    margin-left: 0.2rem;
  }

  .page-views-popup__close svg {
    width: 10px;
    height: 10px;
  }
}

/* ========================
   Post Content Images
   ======================== */
.post-content img,
.the-content img,
.entry-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  height: auto;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
}

/* Single post content styling */
.single .post-content img,
.single .the-content img {
  max-width: 90%;
}

@media (max-width: 768px) {
  .post-content img,
  .the-content img,
  .entry-content img {
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* ========================
   Blog Sidebar Layout
   ======================== */
.blog-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.blog-sidebar {
  position: sticky;
  top: 20px;
}

.blog-sidebar__widget {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
  margin-top: 0;
  font-family: 'Playfair Display', serif;
}

.blog-sidebar__widget p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
  margin: 0.5rem 0;
}

.blog-sidebar__widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.blog-sidebar__widget li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

@media (max-width: 1200px) {
  .blog-wrapper {
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .blog-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .blog-sidebar {
    position: static;
  }

  .blog-sidebar__widget {
    padding: 1.2rem;
  }
}

