/* Landing Regalo Oro - Oro Colombia campaign landing
   Replica del diseño Figma node 10:36
*/

/* ==== Animations (shared with all landings) ==== */
@keyframes lpReveal {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lpFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lpHeroIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lpPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5); }
  50%      { box-shadow: 0 0 0 14px rgba(0, 0, 0, 0); }
}
@keyframes lpGoldPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 227, 138, 0.55); }
  50%      { box-shadow: 0 0 0 16px rgba(247, 227, 138, 0); }
}
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.lp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
.lp-reveal.is-revealed { opacity: 1; transform: translateY(0); }
.lp-reveal-delay-1 { transition-delay: 0.1s; }
.lp-reveal-delay-2 { transition-delay: 0.2s; }
.lp-reveal-delay-3 { transition-delay: 0.3s; }
.lp-reveal-delay-4 { transition-delay: 0.4s; }

.lp-hero-in { animation: lpHeroIn 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.lp-pulse { animation: lpPulse 2.6s ease-in-out infinite; }
.lp-gold-pulse { animation: lpGoldPulse 2.6s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .lp-reveal, .lp-hero-in { opacity: 1 !important; transform: none !important; animation: none !important; }
  .lp-pulse, .lp-gold-pulse { animation: none !important; }
}

/* ==== Toast notifications ==== */
.lp-toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 32px);
}

@keyframes lpToastIn {
  from { opacity: 0; transform: translateX(40px) scale(0.96); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes lpToastOut {
  to { opacity: 0; transform: translateX(40px) scale(0.96); }
}
@keyframes lpToastCheck {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

.lp-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0a7d2c 0%, #0d9c38 100%);
  color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255,255,255,0.06) inset;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  pointer-events: auto;
  animation: lpToastIn 0.42s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  min-width: 280px;
  max-width: 380px;
}

.lp-toast.is-error {
  background: linear-gradient(135deg, #b80012 0%, #d6112a 100%);
}

.lp-toast.is-leaving { animation: lpToastOut 0.32s ease both; }

.lp-toast-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-toast-icon svg { width: 14px; height: 14px; display: block; }
.lp-toast-icon path {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: lpToastCheck 0.45s 0.12s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.lp-toast-msg { flex: 1; min-width: 0; }

.lp-toast-close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  border-radius: 6px;
  transition: background 140ms ease, color 140ms ease;
}
.lp-toast-close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

@media (max-width: 480px) {
  .lp-toast-container { bottom: 16px; right: 16px; left: 16px; }
  .lp-toast { min-width: 0; max-width: 100%; font-size: 14px; padding: 12px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-toast, .lp-toast.is-leaving { animation: none !important; }
  .lp-toast-icon path { animation: none !important; stroke-dashoffset: 0 !important; }
}


.lro-root,
.lro-root * {
  box-sizing: border-box;
}

.lro-root {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #070707;
  overflow: hidden;
  font-family: 'Inter Tight', 'Helvetica Now Display', system-ui, -apple-system, sans-serif;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ==== Background layers ==== */
.lro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.lro-bg-blend {
  position: absolute;
  inset: 0;
  background: #000;
  mix-blend-mode: color-dodge;
}

.lro-bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1440px;
  height: 852px;
  transform: translate(-50%, -50%);
  background-size: cover;
  background-position: center;
  opacity: 0.26;
}

.lro-bg-gold {
  position: absolute;
  inset: 0;
  background: linear-gradient(82.97deg, #f7e38a 26.8%, #f1d46c 42.37%, #be9b49 66.82%);
  mix-blend-mode: color-dodge;
  opacity: 0.20;
}

.lro-bg-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(175.44deg, #000 0.78%, rgba(0, 0, 0, 0) 99.85%);
}

.lro-ellipse-top {
  position: absolute;
  top: -325px;
  right: -416px;
  width: 1938px;
  height: 626px;
  max-width: none;
  pointer-events: none;
}

.lro-earrings {
  position: absolute;
  top: 597px;
  left: 1225px;
  width: 353px;
  height: 353px;
  transform: scaleY(-1);
  pointer-events: none;
  object-fit: cover;
}

.lro-ellipse-bottom {
  position: absolute;
  bottom: -621px;
  right: -669px;
  width: 932px;
  height: 954px;
  max-width: none;
  pointer-events: none;
}

/* ==== Content ==== */
.lro-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 68px 24px 64px;
  text-align: center;
}

.lro-title {
  margin: 0 auto;
  max-width: 826px;
  font-family: 'Inter Tight', 'Helvetica Now Display', sans-serif;
  font-weight: 600;
  font-size: 46px;
  line-height: 1.14;
  letter-spacing: -0.46px;
  color: #fff;
}

.lro-subtitle {
  margin: 17px auto 0;
  max-width: 682px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.64;
  color: #fff;
}

.lro-subtitle strong {
  font-weight: 700;
}

/* ==== Form Card ==== */
.lro-form {
  margin: 50px auto 0;
  width: 100%;
  max-width: 516px;
  padding: 56px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 2px 4px 94px 0 rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.lro-form-title {
  margin: 0;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 30px;
  color: #000;
  text-align: center;
}

.lro-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
}

.lro-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.lro-field label {
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  color: #1a1a1a;
}

.lro-field input {
  height: 44px;
  padding: 10px 14px;
  background: #fdfdfd;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  color: #000;
  outline: none;
  transition: border-color 160ms ease;
}

.lro-field input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.lro-field input:focus {
  border-color: #000;
}

.lro-phone-wrap {
  display: flex;
  align-items: stretch;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  background: #fdfdfd;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.lro-phone-wrap:focus-within {
  border-color: #000;
}

.lro-phone-prefix {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.55);
  flex-shrink: 0;
}

.lro-phone-wrap input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #000;
}

.lro-phone-wrap input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

/* ==== Submit ==== */
.lro-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 48px;
  padding: 8px 24px;
  background: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  letter-spacing: 0.16px;
  transition: background 160ms ease, transform 80ms ease;
}

.lro-submit:hover {
  background: #1a1a1a;
}

.lro-submit:active {
  transform: scale(0.99);
}

.lro-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.lro-submit img {
  width: 14.5px;
  height: auto;
}

.lro-feedback {
  min-height: 18px;
  font-size: 13px;
  color: #000;
  text-align: center;
}

.lro-feedback.is-error { color: #b80012; }
.lro-feedback.is-success { color: #0a7d2c; }

/* ==== Responsive ==== */
@media (max-width: 768px) {
  .lro-root { min-height: 100vh; }
  .lro-ellipse-top { top: -200px; right: -200px; width: 700px; height: 300px; }
  .lro-earrings { left: auto; right: -120px; top: auto; bottom: -80px; width: 220px; height: 220px; }
  .lro-ellipse-bottom { display: none; }
  .lro-content { padding: 48px 16px; }
  .lro-title { font-size: 30px; line-height: 1.15; }
  .lro-subtitle { font-size: 16px; }
  .lro-form { padding: 32px 24px; margin-top: 32px; }
  .lro-form-title { font-size: 22px; line-height: 26px; }
}

@media (max-width: 480px) {
  .lro-title { font-size: 26px; }
  .lro-earrings { width: 180px; height: 180px; right: -90px; bottom: -60px; }
}

/* ==== Theme override guards (Elementor / Hello theme reset button & inputs) ==== */
.lro-root .lro-submit {
  background: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  height: 48px !important;
  width: 100% !important;
  font-family: 'Inter Tight', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-transform: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.lro-root .lro-submit span {
  flex: 1;
  text-align: center;
}

.lro-root .lro-submit img {
  width: 18px !important;
  height: 16px !important;
  flex-shrink: 0;
  object-fit: contain;
}

.lro-root .lro-submit:hover {
  background: #1a1a1a !important;
  color: #fff !important;
  border: none !important;
}

.lro-root .lro-field input,
.lro-root .lro-phone-wrap input {
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  background: #fdfdfd !important;
  color: #000 !important;
  height: 44px !important;
  font-size: 14px !important;
  outline: none !important;
  box-shadow: none !important;
}

.lro-root .lro-phone-wrap {
  border: 1px solid #e8e8e8 !important;
  border-radius: 8px !important;
  background: #fdfdfd !important;
  height: 44px !important;
  padding: 0 14px !important;
}

.lro-root .lro-phone-wrap input {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  height: 100% !important;
}

.lro-root .lro-field input:focus,
.lro-root .lro-phone-wrap:focus-within {
  border-color: #000 !important;
}

.lro-root .lro-form {
  background: #ffffff !important;
  border-radius: 6px !important;
}
