@font-face { font-family: 'Mrs Saint Delafield'; font-style: normal; font-weight: 400; font-display: swap; src: url(mrs-saint-delafield-latin-400.woff2) format('woff2'); }

#lf-eventos {
  --paper: #f7f5ef;
  --ink: #282b25;
  --olive: #5c6e1f; /* verde de la marca (#a1bc3c) oscurecido, mismo tono */
  --lime: #a1bc3c; /* verde de la marca */
  --muted: #6f7168;
  --white: #fff;
}
#lf-eventos * { box-sizing: border-box; }
#lf-eventos { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Montserrat', Arial, sans-serif; }
#lf-eventos .events-section { padding: clamp(58px, 8vw, 104px) 24px clamp(64px, 8vw, 100px); }
#lf-eventos .lf-ev-container { width: min(1180px, 100%); margin: 0 auto; }
#lf-eventos .section-head { max-width: 730px; margin: 0 auto 42px; text-align: center; }
#lf-eventos .kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 17px;
  color: var(--olive); font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
#lf-eventos .kicker::before, #lf-eventos .kicker::after { content: ''; width: 28px; height: 1px; background: #9ba27f; }
#lf-eventos h2 {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(42px, 5.3vw, 66px); line-height: .98; letter-spacing: -.025em;
}
#lf-eventos .intro { max-width: 570px; margin: 18px auto 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
#lf-eventos .events-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
#lf-eventos .event-card {
  position: relative; isolation: isolate; min-height: 410px; aspect-ratio: 3 / 4;
  overflow: hidden; border-radius: 5px; background: #d7d5cb;
  box-shadow: 0 8px 26px rgb(37 40 31 / 9%); perspective: 1200px;
}
#lf-eventos .event-card-inner {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.2,.7,.2,1);
}
#lf-eventos .event-card:hover .event-card-inner, #lf-eventos .event-card:focus-within .event-card-inner { transform: rotateY(180deg); }
#lf-eventos .card-front, #lf-eventos .card-back {
  position: absolute; inset: 0; overflow: hidden;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
#lf-eventos .card-front { background: #d7d5cb; }
#lf-eventos .card-back {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 27px 23px; color: white; background: var(--olive);
  transform: rotateY(180deg);
}
#lf-eventos .card-back::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 100% 0%, rgb(255 255 255 / 12%), transparent 45%);
}
#lf-eventos .card-back .card-eyebrow, #lf-eventos .card-back h3, #lf-eventos .card-back p, #lf-eventos .card-back .ev-link {
  position: relative;
}
#lf-eventos .card-back h3 { font-size: clamp(28px, 2.5vw, 36px); }
#lf-eventos .card-back p { color: rgb(255 255 255 / 88%); }
#lf-eventos .event-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.65,.25,1); z-index: -2;
}
#lf-eventos .card-gradient {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgb(16 20 15 / 2%) 20%, rgb(16 20 15 / 23%) 48%, rgb(16 20 15 / 88%) 100%);
  transition: background .35s ease;
}
#lf-eventos .card-content {
  position: absolute; inset: auto 0 0; padding: 26px 23px 25px; color: white;
  transform: translateY(9px); transition: transform .35s ease;
}
#lf-eventos .card-eyebrow { display: block; margin-bottom: 10px; font-size: 9px; font-weight: 600; letter-spacing: .16em; line-height: 1.5; }
#lf-eventos .event-card h3 {
  margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(27px, 2.5vw, 35px);
  font-weight: 500; line-height: 1.03;
}
#lf-eventos .event-card p { max-width: 270px; margin: 12px 0 18px; color: rgb(255 255 255 / 88%); font-size: 11px; line-height: 1.8; }
#lf-eventos .ev-link {
  display: inline-flex; align-items: center; gap: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--lime);
  color: white; text-decoration: none; font-size: 10px; font-weight: 700; letter-spacing: .04em;
}
#lf-eventos .ev-link span { color: var(--lime); font-size: 16px; transition: transform .25s ease; }
#lf-eventos .event-card:hover .event-photo, #lf-eventos .event-card:focus-within .event-photo { transform: scale(1.055); }
#lf-eventos .event-card:hover .card-content, #lf-eventos .event-card:focus-within .card-content { transform: translateY(0); }
#lf-eventos .event-card:hover .ev-link span, #lf-eventos .event-card:focus-within .ev-link span { transform: translate(3px, -2px); }
#lf-eventos .ev-link:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
#lf-eventos .bottom-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  margin-top: 36px; padding: 27px 30px; background: #eae9df;
}
#lf-eventos .bottom-cta p { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(23px, 3vw, 31px); line-height: 1.1; }
#lf-eventos .bottom-cta p span { color: var(--olive); font-style: italic; }
#lf-eventos .main-button {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 18px;
  min-height: 48px; padding: 0 22px; background: var(--olive); color: white; text-decoration: none;
  font-size: 10px; font-weight: 700; letter-spacing: .06em; transition: background .2s ease;
}
#lf-eventos .main-button:hover { background: #4a5918; }
@media (max-width: 1050px) {
#lf-eventos .events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
#lf-eventos .event-card { min-height: 430px; }
#lf-eventos .event-card h3 { font-size: 34px; }

}
@media (hover: none) {
#lf-eventos .event-card-inner { transform: none !important; }
#lf-eventos .card-back { display: none; }
#lf-eventos .card-front .card-content { transform: none; }

}
@media (max-width: 600px) {
#lf-eventos .events-section { padding: 55px 17px 58px; }
#lf-eventos .section-head { margin-bottom: 29px; }
#lf-eventos .events-grid { grid-template-columns: 1fr; gap: 14px; }
#lf-eventos .event-card { min-height: 0; aspect-ratio: 5 / 4; }
#lf-eventos .card-content { padding: 22px 22px 21px; transform: none; }
#lf-eventos .event-card h3 { font-size: 34px; }
#lf-eventos .event-card p { margin: 9px 0 13px; }
#lf-eventos .bottom-cta { align-items: flex-start; flex-direction: column; padding: 24px 21px; gap: 18px; }

}
@media (prefers-reduced-motion: reduce) {
#lf-eventos *, #lf-eventos *::before, #lf-eventos *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }

}


/* arreglos opción 2: foto visible y tarjetas sin encimarse */
#lf-eventos .card-front { isolation: isolate; }
/* tarjetas largas y pegadas, como en el original visto en la PC de Matías */
#lf-eventos .events-grid { gap: 0; border-radius: 5px; overflow: hidden; box-shadow: 0 12px 34px rgb(37 40 31 / 14%); }
#lf-eventos .event-card { min-height: 0; width: 100%; aspect-ratio: 9 / 16; border-radius: 0; box-shadow: none; }
#lf-eventos .event-card + .event-card { border-left: 1px solid rgb(255 255 255 / 18%); }
@media (max-width: 1050px) { #lf-eventos .event-card { min-height: 0; aspect-ratio: 3 / 4; } }
@media (max-width: 600px) { #lf-eventos .event-card { aspect-ratio: 4 / 5; } #lf-eventos .event-card + .event-card { border-left: 0; border-top: 1px solid rgb(255 255 255 / 18%); } }

/* opción 3: animación de la 1, altas como la 2, menos espacio, puntas redondeadas */
#opcion-3 .lf-grid { gap: 14px; }
#opcion-3 .lf-card { aspect-ratio: 9 / 16; }
@media (max-width: 1000px) { #opcion-3 .lf-card { aspect-ratio: 3 / 4; } }
@media (max-width: 600px) { #opcion-3 .lf-grid { gap: 12px; } #opcion-3 .lf-card { aspect-ratio: 4 / 5; } }

/* variantes de la opción 2 con el giro de la opción 1 */
.giro1 #lf-eventos .events-grid { overflow: visible; border-radius: 0; box-shadow: none; }
.giro1 #lf-eventos .event-card { overflow: visible; background: transparent; perspective: 1400px; }
.giro1 #lf-eventos .event-card:hover, .giro1 #lf-eventos .event-card:focus-within { z-index: 2; }
.giro1 #lf-eventos .event-card-inner { transition: transform .7s cubic-bezier(.45,.05,.25,1); }
.giro1 #lf-eventos .card-front, .giro1 #lf-eventos .card-back { box-shadow: 0 10px 28px rgb(37 40 31 / 16%); }
.giro1 #lf-eventos .event-card:first-child .card-front, .giro1 #lf-eventos .event-card:first-child .card-back { border-radius: 5px 0 0 5px; }
.giro1 #lf-eventos .event-card:last-child .card-front, .giro1 #lf-eventos .event-card:last-child .card-back { border-radius: 0 5px 5px 0; }
.sinzoom #lf-eventos .event-card:hover .event-photo, .sinzoom #lf-eventos .event-card:focus-within .event-photo { transform: none; }
@media (max-width: 1050px) { .giro1 #lf-eventos .event-card .card-front, .giro1 #lf-eventos .event-card .card-back { border-radius: 0; } }


/* v3: fotos provisorias aprobadas, degradado más fuerte y letras de 12 px o más */
.v3 #lf-eventos .card-gradient { background: linear-gradient(180deg, rgb(16 20 15 / 0%) 30%, rgb(16 20 15 / 55%) 55%, rgb(16 20 15 / 92%) 100%); }
.v3 #lf-eventos .card-eyebrow { font-size: 12px; letter-spacing: .14em; }
.v3 #lf-eventos .event-card p { font-size: 14px; line-height: 1.6; color: #fff; }
.v3 #lf-eventos .ev-link { font-size: 14px; }
.v3 #lf-eventos .intro { font-size: 15px; color: #5f6158; }
.v3 #lf-eventos .kicker { font-size: 12px; }
.v3 #lf-eventos .main-button { font-size: 13px; }
@media (max-width: 1050px) { .v3 #lf-eventos .event-card { aspect-ratio: 3 / 4; } }
@media (max-width: 600px) { .v3 #lf-eventos .event-card { aspect-ratio: 4 / 5; } .v3 #lf-eventos .event-card + .event-card { border-top: 1px solid rgb(255 255 255 / 18%); } }


/* v6: dorso con foto en la tarjeta de 15 */
#lf-eventos .card-back-foto { background: #10140f; isolation: isolate; }
#lf-eventos .card-back-foto::before { display: none; }
#lf-eventos .card-back-foto .ev-link { margin-top: 16px; }
#lf-eventos .back-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; z-index: -2; }
#lf-eventos .back-gradient { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(16 20 15 / 0%) 55%, rgb(16 20 15 / 70%) 72%, rgb(16 20 15 / 94%) 100%); }


/* firma manuscrita debajo de las tarjetas */
#lf-eventos .firma { margin: 46px auto 8px; text-align: center; color: #5c6e1f; }
#lf-eventos .firma-frase { margin: 0; font-family: 'Great Vibes', cursive; font-weight: 400; font-size: clamp(34px, 4.4vw, 52px); line-height: 1.15; text-wrap: balance; }
@media (max-width: 600px) { #lf-eventos .firma-frase { font-size: 31px; } #lf-eventos .firma-nombre { font-size: 42px; } }
#lf-eventos .firma-nombre { margin: 18px 0 0; font-family: 'Mrs Saint Delafield', cursive; font-size: clamp(40px, 4.6vw, 56px); line-height: 1; }
#lf-eventos .firma-cargo { margin: 6px 0 0; font-family: 'Montserrat', Arial, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #5f6158; }
#lf-eventos .firma + .bottom-cta { margin-top: 40px; }


/* v13: en compu la sección (título + tarjetas + firma) entra en una pantalla */
@media (min-width: 1051px) {
  #lf-eventos .events-section { padding-top: 40px; }
  #lf-eventos .section-head { max-width: 1000px; margin-bottom: 24px; }
  #lf-eventos .kicker { margin-bottom: 10px; }
  #lf-eventos .section-head h2 { font-size: clamp(40px, 3.4vw, 56px); line-height: 1.05; }
  #lf-eventos .section-head h2 br { display: none; }
  #lf-eventos .intro { max-width: 820px; margin-top: 10px; }
  .v3 #lf-eventos .event-card { aspect-ratio: auto; height: clamp(360px, calc(100svh - 400px), 600px); }
  #lf-eventos .firma { margin: 24px auto 0; }
  #lf-eventos .firma-frase { font-size: clamp(34px, 2.6vw, 44px); }
  #lf-eventos .firma-nombre { margin-top: 2px; font-size: clamp(38px, 2.8vw, 48px); }
  #lf-eventos .firma-cargo { margin-top: 2px; }
}


/* v14: frase en Montserrat, firma manuscrita, más aire */
.v3 #lf-eventos .intro, #lf-eventos .intro { font-family: 'Montserrat', Arial, sans-serif; font-size: 15px; line-height: 1.7; color: #5f6158; text-wrap: balance; }
#lf-eventos .firma, #lf-eventos .firma { margin: 24px auto 0; }
#lf-eventos .firma-frase, #lf-eventos .firma .firma-frase { font-family: 'Montserrat', Arial, sans-serif; font-style: normal; font-weight: 400; font-size: 17px; line-height: 1.6; color: #45483f; text-wrap: balance; }
#lf-eventos .firma .firma-nombre { margin-top: 14px; }
#lf-eventos .firma .firma-cargo { margin-top: 4px; color: #5f6158; }
#lf-eventos .firma + .bottom-cta, #lf-eventos .firma + .bottom-cta { margin-top: 30px; }
@media (min-width: 1051px) {
  #lf-eventos .section-head .intro { font-size: 16px; }
  #lf-eventos .firma .firma-frase { font-size: 18px; }
}



/* Franja independiente: todos los estilos quedan dentro de .lf-franja-firma. */
.lf-franja-firma{box-sizing:border-box;width:100%;max-width:1180px;margin:28px auto 0;padding:32px 24px 30px;background:#eae9df;text-align:center;color:#282b25}
.lf-franja-firma *{box-sizing:border-box}
.lf-franja-firma__frase{max-width:900px;margin:0 auto;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(28px,3vw,34px);font-weight:500;line-height:1.22;text-wrap:balance}
.lf-franja-firma__nombre{margin:18px 0 0;font-family:'Mrs Saint Delafield',cursive;font-size:54px;font-weight:400;line-height:1.15;color:#5c6e1f}
.lf-franja-firma__cargo{margin:7px 0 0;font-family:Montserrat,Arial,sans-serif;font-size:12px;font-weight:600;line-height:1.6;letter-spacing:.16em;text-transform:uppercase;color:#5f6158;overflow-wrap:anywhere}
@media(max-width:600px){.lf-franja-firma{margin-top:24px;padding:28px 20px 26px}.lf-franja-firma__frase{font-size:28px;line-height:1.25}.lf-franja-firma__nombre{font-size:48px;margin-top:16px}.lf-franja-firma__cargo{font-size:12px;letter-spacing:.12em}}


/* v15: cierre sin caja, sobre el fondo general; espacio tras la franja */
#lf-eventos .lf-franja-firma + .bottom-cta { margin-top: 32px; background: transparent; padding: 0; }
@media (min-width: 1051px) { .v3 #lf-eventos .event-card { height: clamp(360px, calc(100svh - 400px), 600px); } }


/* v16: estructura de texto uniforme en las 4 tarjetas (frente y dorso) */
@media (min-width: 601px) {
  #lf-eventos .event-card .card-eyebrow { min-height: 1.5em; }            /* 1 renglón */
  #lf-eventos .event-card h3 { min-height: 2.06em; }                      /* 2 renglones, texto arriba */
  #lf-eventos .event-card .card-front p { min-height: 3.2em; }            /* 2 renglones */
}
@media (min-width: 1051px) and (max-width: 1199px) {
  #lf-eventos .event-card .card-eyebrow { min-height: 3em; }              /* 2 renglones */
  #lf-eventos .event-card .card-front p { min-height: 4.8em; }            /* 3 renglones */
}
/* sin el bloque de cierre, aire al final de la sección */
#lf-eventos .lf-franja-firma { margin-bottom: 0; }

/* Integración en la web: la hoja del sitio fija Open Sans en p/span/a; recuperar las fuentes de la sección */
#lf-eventos p, #lf-eventos span, #lf-eventos a, #lf-eventos header, #lf-eventos div { font-family: 'Montserrat', Arial, sans-serif; }
#lf-eventos h2, #lf-eventos h3, #lf-eventos .lf-franja-firma__frase { font-family: 'Cormorant Garamond', Georgia, serif; }
#lf-eventos .lf-franja-firma__nombre { font-family: 'Mrs Saint Delafield', cursive; }
#lf-eventos .ev-link, #lf-eventos .ev-link:hover, #lf-eventos .ev-link:focus { color: #fff; text-decoration: none; }
