@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-background-primary: #FFFFFF;
  --color-background-secondary: #FAFAF8;
  --color-border-primary: #1A1512;
  --color-border-secondary: #8A7355;
  --color-border-tertiary: rgba(138, 115, 85, 0.15);
  --color-text-primary: #1A1512;
  --color-text-secondary: #5C5550;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Cormorant Garamond', Georgia, serif;
  
  --border-radius-lg: 16px;
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 17.5px; /* Increased base font size for a larger visual scale */
  background-color: var(--color-background-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-background-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for Page */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #F3F3F0;
}
::-webkit-scrollbar-thumb {
  background: var(--color-border-secondary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #665239;
}

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

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px; /* Slightly reduced padding to offset larger logo */
  border-bottom: 0.5px solid var(--color-border-tertiary);
  background: var(--color-background-primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 86px; /* Increased to fit the 66px logo comfortably */
}

/* Page Wrapper for Desktop Centering */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 86px 0 0; /* Add top padding to account for fixed navigation */
  min-height: 100vh;
}

/* Main Container Frame */
.page {
  width: 100%;
  max-width: 100%;
  background: var(--color-background-primary);
  border: none;
  box-shadow: none;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 0;
  }
  .page {
    max-width: 1100px;
    margin: 0 auto;
    border-left: none;
    border-right: none;
    box-shadow: none;
  }
}

/* Fade-In Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}



.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20px;
  height: 12px;
  z-index: 102;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background-color: var(--color-text-primary);
  transition: var(--transition-fast);
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.logo-img {
  height: 66px; /* 66px logo height on mobile */
  width: auto;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.nav-logo {
  display: block; /* Show text logo on mobile */
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--color-text-primary);
  font-weight: 500;
  text-transform: uppercase;
}

.nav-links {
  display: none; /* Hide nav links on mobile */
}



.nav-spacer {
  width: 20px; /* Exact same width as the toggle button to balance centering on mobile */
  height: 1px;
  display: block;
  color: var(--color-background-primary);
}

.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-block {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
  padding: 36px 28px;
  border-bottom: 0.5px solid var(--color-border-tertiary);
  text-align: center;
}

.hero-block:last-of-type {
  border-bottom: none;
}

.hero-block-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.hero-title em {
  font-style: italic;
  color: var(--color-border-secondary);
}

.hero-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 420px;
  margin: 0 auto;
  letter-spacing: 0.02em;
}

.hero-block-media {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.hero-block-img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 10px solid #ffffff; /* Thick white frame */
  box-shadow: 0 15px 35px rgba(26, 21, 18, 0.08); /* Soft drop shadow */
  transition: var(--transition-smooth);
}

/* Alternate slight rotations */
.img-rot-right {
  transform: rotate(2.5deg);
}

.img-rot-left {
  transform: rotate(-2.5deg);
}

.img-rot-right-accent {
  transform: rotate(1.5deg);
}

/* Hover effect: correct rotation slightly and scale */
.hero-block-img:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 45px rgba(26, 21, 18, 0.12);
}



/* STRIP DE VALORES */
.strip {
  display: flex;
  padding: 24px 0;
}

.strip-item {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  border-right: 0.5px solid var(--color-border-tertiary);
}

.strip-item:last-child {
  border-right: none;
}

.strip-icon {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--color-border-secondary);
  display: flex;
  justify-content: center;
  align-items: center;
}

.strip-label {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  line-height: 1.2;
}

/* Alternating Section Backgrounds for Differentiation */
.strip,
#galeria-section,
.gallery-filters,
.galeria,
#ubicacion-section,
.ubicacion {
  background-color: var(--color-background-secondary);
}

/* SECTION HEADER & TYPOGRAPHY */
.section-header {
  text-align: center;
  padding: 16px 28px 16px; /* Homogeneous padding for headers */
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-border-secondary);
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.section-line {
  width: 28px;
  height: 0.5px;
  background: var(--color-border-secondary);
  margin: 0 auto 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 26px; /* Larger font size as requested */
  font-weight: 400;
  color: var(--color-text-primary);
  text-align: center;
  letter-spacing: 0.04em;
  margin-bottom: 8px; /* Less spacing below */
}

.section-subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

/* COLECCIONES */
.colecciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.col-card {
  padding: 24px 20px;
  border-right: 0.5px solid var(--color-border-tertiary);
  border-bottom: 0.5px solid var(--color-border-tertiary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.col-card:hover {
  background-color: var(--color-background-secondary);
}

.col-card:nth-child(even) {
  border-right: none;
}

.col-card:nth-child(3), .col-card:nth-child(4) {
  border-bottom: none;
}

.col-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  background: var(--color-background-secondary);
  border: 0.5px solid var(--color-border-tertiary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  color: var(--color-border-secondary);
  transition: var(--transition-smooth);
}

.col-card-img svg {
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.col-card:hover .col-card-img svg {
  transform: scale(1.08);
}

.col-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.col-badge {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-border-secondary);
  margin-bottom: 6px;
  font-weight: 500;
}

.col-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.col-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.col-arrow {
  font-size: 13px;
  color: var(--color-border-secondary);
  margin-top: 10px;
  letter-spacing: 0.1em;
  transition: var(--transition-fast);
}

.col-card:hover .col-arrow {
  padding-left: 4px;
}

/* PROCESO */
.proceso {
  padding: 0 0 36px 0;
}


.proceso-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 16px;
}

.proceso-cards .col-card {
  border-bottom: 0.5px solid var(--color-border-tertiary);
}

.proceso-cards .col-card:last-child {
  border-bottom: none;
}

/* TESTIMONIO */
.testimonios {
  padding: 40px 28px;
  border-bottom: 0.5px solid var(--color-border-tertiary);
  background: var(--color-background-secondary);
  text-align: center;
}

.cita {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-primary);
  max-width: 420px;
  margin: 0 auto 12px;
}

.cita-autor {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.cita-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-border-tertiary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dot.active, .dot:hover {
  background: var(--color-border-secondary);
}

/* GALERÍA PREVIEW - Interactive layout using real screenshots */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 0 28px 16px;
}

.gallery-filter-btn {
  background: transparent;
  border: none;
  font-family: var(--font-sans);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-secondary);
  cursor: pointer;
  padding: 6px 12px;
  border: 0.5px solid transparent;
  transition: var(--transition-fast);
}

.gallery-filter-btn.active, .gallery-filter-btn:hover {
  color: var(--color-text-primary);
  border-color: var(--color-border-tertiary);
}

.galeria {
  padding: 12px 28px 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gal-item-wrapper {
  aspect-ratio: 1;
  background: var(--color-background-secondary);
  border: 0.5px solid var(--color-border-tertiary);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  transition: var(--transition-smooth);
}

.gal-item-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gal-item-wrapper:hover {
  border-color: var(--color-border-secondary);
}

.gal-item-wrapper:hover img {
  transform: scale(1.08);
}

.gal-item-wrapper.hidden {
  display: none;
}

/* FORMULARIO */
.contacto {
  padding: 0 28px 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.field input, .field textarea, .field select {
  background: var(--color-background-secondary);
  border: 0.5px solid var(--color-border-tertiary);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--color-text-primary);
  font-family: inherit;
  resize: none;
  outline: none;
  transition: var(--transition-fast);
}

.field select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a7355' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--color-border-secondary);
  background: var(--color-background-primary);
}

.wap-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #128C7E; /* Custom emerald green */
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 12px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(18, 140, 126, 0.15);
}

.wap-btn svg {
  fill: currentColor;
}

.wap-btn:hover {
  background: #0E6F63;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(18, 140, 126, 0.25);
}

/* MAPA Y DATOS */
.ubicacion {
  padding: 0 28px 36px;
}

.ubic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding-top: 16px;
}

@media (min-width: 576px) {
  .ubic-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.map-placeholder {
  background: var(--color-background-primary);
  border: 0.5px solid var(--color-border-tertiary);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.map-placeholder:hover {
  border-color: var(--color-border-secondary);
  background: var(--color-background-secondary);
}

.map-icon {
  font-size: 24px;
  color: var(--color-border-secondary);
  opacity: 0.75;
  transition: var(--transition-fast);
}

.map-placeholder:hover .map-icon {
  transform: translateY(-3px);
}

.map-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  font-weight: 500;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-icon {
  font-size: 15px;
  color: var(--color-border-secondary);
  margin-top: 1px;
  flex-shrink: 0;
}

.info-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.info-text strong {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

/* FOOTER */
.footer {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-text-primary);
}

/* Fullscreen Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 21, 18, 0.96);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 24px;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Add scale/fade-in animation for content when opened */
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px;
}

.lightbox.open .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  max-width: calc(100vw - 64px); /* Subtract outer padding to guarantee side spacing */
  max-height: 75vh;
  object-fit: contain;
  border: 4px solid #FFFFFF;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.lightbox-caption {
  color: #FFFFFF;
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  text-align: center;
  letter-spacing: 0.05em;
}

@media (max-width: 576px) {
  .lightbox {
    padding: 32px 16px !important;
  }
  .lightbox-content {
    padding: 0 !important;
    width: 100% !important;
  }
  .lightbox-img {
    width: auto !important;
    max-width: calc(100vw - 48px) !important; /* Forces 24px margin on each side */
    max-height: 65vh !important; /* Shortens height to prevent screen clipping */
    border: 4px solid #FFFFFF !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
  }
  .lightbox-caption {
    display: none !important;
  }
}

.lightbox-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
}

@media (max-width: 576px) {
  .lightbox-close {
    top: -48px;
    right: 8px;
  }
}

/* MOBILE FULLSCREEN MENU OVERLAY */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  transition: var(--transition-fast);
}

.mobile-link:hover {
  color: var(--color-border-secondary);
}



.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  font-size: 36px;
  font-weight: 300;
  color: var(--color-text-primary);
  cursor: pointer;
  line-height: 1;
}

/* WIDESCREEN DESKTOP OPTIMIZATIONS */
@media (min-width: 768px) {
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 18px 28px;
    position: sticky;
  }
  
  .nav-toggle {
    display: none; /* Hide hamburger on desktop */
  }
  
  .nav-spacer {
    display: none; /* Hide spacer on desktop */
  }
  
  .nav-brand {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
  }
  
  .logo-img {
    height: 48px; /* Balanced height for inline navigation */
  }
  
  .nav-logo {
    display: block; /* Show text next to logo on desktop */
    font-family: var(--font-serif);
    font-size: 18px; /* Slightly larger text on desktop */
    letter-spacing: 0.22em;
    color: var(--color-text-primary);
    font-weight: 500;
    text-transform: uppercase;
  }
  
  .nav-links {
    display: flex; /* Show desktop links on desktop */
    gap: 32px;
    margin-left: auto;
  }
  
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  
  .nav-links a:hover, .nav-links a.active {
    color: var(--color-text-primary);
  }
  
  .mobile-menu-overlay {
    display: none; /* Disable mobile overlay on desktop */
  }
  
  .proceso-cards {
    grid-template-columns: repeat(3, 1fr);
    border: none;
    gap: 0;
  }
  
  .proceso-cards .col-card {
    border-right: 0.5px solid var(--color-border-tertiary);
    border-bottom: none;
  }
  
  .proceso-cards .col-card:last-child {
    border-right: none;
  }
  
  .galeria {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .ubic-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Desktop Stacked Blocks Layout */
  .hero-block {
    flex-direction: row;
    gap: 48px;
    align-items: center;
    text-align: left;
    padding: 44px 28px;
  }
  
  .hero-block:nth-child(even) {
    flex-direction: row-reverse;
  }
  
  .hero-block-text {
    align-items: flex-start;
    flex: 1.1;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-sub {
    margin-left: 0;
    font-size: 15px;
    max-width: 440px;
  }
  
  .hero-block-media {
    flex: 0.9;
    justify-content: center;
  }
  
  .hero-block-img {
    max-width: 100%;
    aspect-ratio: 4/3;
  }
  
  .section-subtitle,
  .col-desc,
  .info-text,
  .field input,
  .field textarea,
  .field select {
    font-size: 15px;
  }
  
  .col-title {
    font-size: 21px;
  }
}

/* LEGAL PAGES CUSTOM STYLING */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px 28px 80px;
}

.legal-title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: 24px;
}

.legal-body {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.legal-body h2 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text-primary);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-body p {
  margin-bottom: 16px;
}

.legal-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
  list-style-type: disc;
}

.legal-body li {
  margin-bottom: 8px;
}

.legal-body a {
  text-decoration: underline;
  color: var(--color-border-secondary);
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid var(--color-border-secondary);
  padding: 18px 24px;
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(26, 21, 18, 0.08);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

@media (min-width: 768px) {
  .cookie-banner {
    max-width: 450px;
    left: auto;
    right: 24px;
    bottom: 24px;
  }
}

.cookie-banner.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.cookie-content p {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin: 0;
}

.cookie-content a {
  text-decoration: underline;
  color: var(--color-text-primary);
  font-weight: 500;
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
}

.cookie-btn-accept {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--color-text-primary);
  color: var(--color-background-primary);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cookie-btn-accept:hover {
  background: var(--color-border-secondary);
}


